From 6b7f6c9fa661f88bf8cf8332d3c201f847165051 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Fri, 31 Jan 2020 02:12:22 -0500 Subject: [PATCH 01/38] chore: Swap EOL 8 in example for 12 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61d93040..52e1a681 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-16.04 strategy: matrix: - node: [ '10', '8' ] + node: [ '10', '12' ] name: Node ${{ matrix.node }} sample steps: - uses: actions/checkout@v1 From 52eb8a7524a4ebaa667d55fd45c539dc235b3ba4 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Thu, 16 Apr 2020 10:45:55 -0400 Subject: [PATCH 02/38] Log node and npm version --- dist/index.js | 17 +++++++++++++++-- src/setup-node.ts | 12 ++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 214ec571..405263d4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4487,7 +4487,7 @@ module.exports = require("https"); /***/ 215: /***/ (function(module) { -module.exports = {"name":"@octokit/rest","version":"16.38.1","publishConfig":{"access":"public"},"description":"GitHub REST API client for Node.js","keywords":["octokit","github","rest","api-client"],"author":"Gregor Martynus (https://github.com/gr2m)","contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"repository":"https://github.com/octokit/rest.js","dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^3.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^16.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"types":"index.d.ts","scripts":{"coverage":"nyc report --reporter=html && open coverage/index.html","lint":"prettier --check '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","lint:fix":"prettier --write '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","pretest":"npm run -s lint","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","build":"npm-run-all build:*","build:ts":"npm run -s update-endpoints:typescript","prebuild:browser":"mkdirp dist/","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:code":"node scripts/update-endpoints/code","update-endpoints:typescript":"node scripts/update-endpoints/typescript","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},"license":"MIT","files":["index.js","index.d.ts","lib","plugins"],"nyc":{"ignore":["test"]},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.38.1.tgz","_integrity":"sha512-zyNFx+/Bd1EXt7LQjfrc6H4wryBQ/oDuZeZhGMBSFr1eMPFDmpEweFQR3R25zjKwBQpDY7L5GQO6A3XSaOfV1w==","_from":"@octokit/rest@16.38.1"}; +module.exports = {"_args":[["@octokit/rest@16.38.1","/Users/joshmgross/actions/setup-node"]],"_from":"@octokit/rest@16.38.1","_id":"@octokit/rest@16.38.1","_inBundle":false,"_integrity":"sha512-zyNFx+/Bd1EXt7LQjfrc6H4wryBQ/oDuZeZhGMBSFr1eMPFDmpEweFQR3R25zjKwBQpDY7L5GQO6A3XSaOfV1w==","_location":"/@octokit/rest","_phantomChildren":{"os-name":"3.1.0"},"_requested":{"type":"version","registry":true,"raw":"@octokit/rest@16.38.1","name":"@octokit/rest","escapedName":"@octokit%2frest","scope":"@octokit","rawSpec":"16.38.1","saveSpec":null,"fetchSpec":"16.38.1"},"_requiredBy":["/@actions/github"],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.38.1.tgz","_spec":"16.38.1","_where":"/Users/joshmgross/actions/setup-node","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/rest.js/issues"},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"description":"GitHub REST API client for Node.js","devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^3.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^16.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"files":["index.js","index.d.ts","lib","plugins"],"homepage":"https://github.com/octokit/rest.js#readme","keywords":["octokit","github","rest","api-client"],"license":"MIT","name":"@octokit/rest","nyc":{"ignore":["test"]},"publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/rest.js.git"},"scripts":{"build":"npm-run-all build:*","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","build:ts":"npm run -s update-endpoints:typescript","coverage":"nyc report --reporter=html && open coverage/index.html","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","lint":"prettier --check '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","lint:fix":"prettier --write '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","prebuild:browser":"mkdirp dist/","pretest":"npm run -s lint","prevalidate:ts":"npm run -s build:ts","start-fixtures-server":"octokit-fixtures-server","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:code":"node scripts/update-endpoints/code","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:typescript":"node scripts/update-endpoints/typescript","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts"},"types":"index.d.ts","version":"16.38.1"}; /***/ }), @@ -6637,7 +6637,7 @@ function normalizePaginatedListResponse(octokit, url, response) { /***/ 314: /***/ (function(module) { -module.exports = {"name":"@octokit/graphql","version":"2.1.3","publishConfig":{"access":"public"},"description":"GitHub GraphQL API client for browsers and Node","main":"index.js","scripts":{"prebuild":"mkdirp dist/","build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"repository":{"type":"git","url":"https://github.com/octokit/graphql.js.git"},"keywords":["octokit","github","api","graphql"],"author":"Gregor Martynus (https://github.com/gr2m)","license":"MIT","bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"homepage":"https://github.com/octokit/graphql.js#readme","dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"files":["lib"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_from":"@octokit/graphql@2.1.3"}; +module.exports = {"_args":[["@octokit/graphql@2.1.3","/Users/joshmgross/actions/setup-node"]],"_from":"@octokit/graphql@2.1.3","_id":"@octokit/graphql@2.1.3","_inBundle":false,"_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_location":"/@octokit/graphql","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"@octokit/graphql@2.1.3","name":"@octokit/graphql","escapedName":"@octokit%2fgraphql","scope":"@octokit","rawSpec":"2.1.3","saveSpec":null,"fetchSpec":"2.1.3"},"_requiredBy":["/@actions/github"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_spec":"2.1.3","_where":"/Users/joshmgross/actions/setup-node","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"description":"GitHub GraphQL API client for browsers and Node","devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"files":["lib"],"homepage":"https://github.com/octokit/graphql.js#readme","keywords":["octokit","github","api","graphql"],"license":"MIT","main":"index.js","name":"@octokit/graphql","publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/graphql.js.git"},"scripts":{"build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","prebuild":"mkdirp dist/","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"version":"2.1.3"}; /***/ }), @@ -15199,11 +15199,16 @@ var __importStar = (this && this.__importStar) || function (mod) { result["default"] = mod; return result; }; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); const core = __importStar(__webpack_require__(470)); +const io = __importStar(__webpack_require__(1)); const installer = __importStar(__webpack_require__(749)); const auth = __importStar(__webpack_require__(202)); const path = __importStar(__webpack_require__(622)); +const child_process_1 = __importDefault(__webpack_require__(129)); function run() { return __awaiter(this, void 0, void 0, function* () { try { @@ -15218,6 +15223,14 @@ function run() { if (version) { yield installer.getNode(version); } + // Output version of node and npm that are being used + console.log(`Installed Node version '${version}.`); + const nodePath = yield io.which('node'); + const nodeVersion = child_process_1.default.execSync(`${nodePath} --version`); + console.log(`Node Version: ${nodeVersion}`); + const npmPath = yield io.which('npm'); + const npmVersion = child_process_1.default.execSync(`${npmPath} --version`); + console.log(`npm Version: ${npmVersion}`); const registryUrl = core.getInput('registry-url'); const alwaysAuth = core.getInput('always-auth'); if (registryUrl) { diff --git a/src/setup-node.ts b/src/setup-node.ts index 8f61c6fc..a31a7a7a 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -1,7 +1,9 @@ import * as core from '@actions/core'; +import * as io from '@actions/io'; import * as installer from './installer'; import * as auth from './authutil'; import * as path from 'path'; +import cp from 'child_process'; async function run() { try { @@ -17,6 +19,16 @@ async function run() { await installer.getNode(version); } + // Output version of node and npm that are being used + console.log(`Installed Node version '${version}.`); + const nodePath = await io.which('node'); + const nodeVersion = cp.execSync(`${nodePath} --version`); + console.log(`Node Version: ${nodeVersion}`); + + const npmPath = await io.which('npm'); + const npmVersion = cp.execSync(`${npmPath} --version`); + console.log(`npm Version: ${npmVersion}`); + const registryUrl: string = core.getInput('registry-url'); const alwaysAuth: string = core.getInput('always-auth'); if (registryUrl) { From 0dc69b3a7158ac7aa34c525d3a29cf7fa7d43a5e Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Thu, 16 Apr 2020 10:56:07 -0400 Subject: [PATCH 03/38] Remove extra version logging --- dist/index.js | 1 - src/setup-node.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 405263d4..6cbd395d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15224,7 +15224,6 @@ function run() { yield installer.getNode(version); } // Output version of node and npm that are being used - console.log(`Installed Node version '${version}.`); const nodePath = yield io.which('node'); const nodeVersion = child_process_1.default.execSync(`${nodePath} --version`); console.log(`Node Version: ${nodeVersion}`); diff --git a/src/setup-node.ts b/src/setup-node.ts index a31a7a7a..28c106eb 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -20,7 +20,6 @@ async function run() { } // Output version of node and npm that are being used - console.log(`Installed Node version '${version}.`); const nodePath = await io.which('node'); const nodeVersion = cp.execSync(`${nodePath} --version`); console.log(`Node Version: ${nodeVersion}`); From e99a7e62b257e30419c503fb7d33c8d88610d824 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Thu, 16 Apr 2020 11:47:45 -0400 Subject: [PATCH 04/38] Add dist changes --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6cbd395d..0aeaf5e9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4487,7 +4487,7 @@ module.exports = require("https"); /***/ 215: /***/ (function(module) { -module.exports = {"_args":[["@octokit/rest@16.38.1","/Users/joshmgross/actions/setup-node"]],"_from":"@octokit/rest@16.38.1","_id":"@octokit/rest@16.38.1","_inBundle":false,"_integrity":"sha512-zyNFx+/Bd1EXt7LQjfrc6H4wryBQ/oDuZeZhGMBSFr1eMPFDmpEweFQR3R25zjKwBQpDY7L5GQO6A3XSaOfV1w==","_location":"/@octokit/rest","_phantomChildren":{"os-name":"3.1.0"},"_requested":{"type":"version","registry":true,"raw":"@octokit/rest@16.38.1","name":"@octokit/rest","escapedName":"@octokit%2frest","scope":"@octokit","rawSpec":"16.38.1","saveSpec":null,"fetchSpec":"16.38.1"},"_requiredBy":["/@actions/github"],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.38.1.tgz","_spec":"16.38.1","_where":"/Users/joshmgross/actions/setup-node","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/rest.js/issues"},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"description":"GitHub REST API client for Node.js","devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^3.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^16.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"files":["index.js","index.d.ts","lib","plugins"],"homepage":"https://github.com/octokit/rest.js#readme","keywords":["octokit","github","rest","api-client"],"license":"MIT","name":"@octokit/rest","nyc":{"ignore":["test"]},"publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/rest.js.git"},"scripts":{"build":"npm-run-all build:*","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","build:ts":"npm run -s update-endpoints:typescript","coverage":"nyc report --reporter=html && open coverage/index.html","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","lint":"prettier --check '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","lint:fix":"prettier --write '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","prebuild:browser":"mkdirp dist/","pretest":"npm run -s lint","prevalidate:ts":"npm run -s build:ts","start-fixtures-server":"octokit-fixtures-server","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:code":"node scripts/update-endpoints/code","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:typescript":"node scripts/update-endpoints/typescript","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts"},"types":"index.d.ts","version":"16.38.1"}; +module.exports = {"name":"@octokit/rest","version":"16.38.1","publishConfig":{"access":"public"},"description":"GitHub REST API client for Node.js","keywords":["octokit","github","rest","api-client"],"author":"Gregor Martynus (https://github.com/gr2m)","contributors":[{"name":"Mike de Boer","email":"info@mikedeboer.nl"},{"name":"Fabian Jakobs","email":"fabian@c9.io"},{"name":"Joe Gallo","email":"joe@brassafrax.com"},{"name":"Gregor Martynus","url":"https://github.com/gr2m"}],"repository":"https://github.com/octokit/rest.js","dependencies":{"@octokit/auth-token":"^2.4.0","@octokit/request":"^5.2.0","@octokit/request-error":"^1.0.2","atob-lite":"^2.0.0","before-after-hook":"^2.0.0","btoa-lite":"^1.0.0","deprecation":"^2.0.0","lodash.get":"^4.4.2","lodash.set":"^4.3.2","lodash.uniq":"^4.5.0","octokit-pagination-methods":"^1.1.0","once":"^1.4.0","universal-user-agent":"^4.0.0"},"devDependencies":{"@gimenete/type-writer":"^0.1.3","@octokit/auth":"^1.1.1","@octokit/fixtures-server":"^5.0.6","@octokit/graphql":"^4.2.0","@types/node":"^13.1.0","bundlesize":"^0.18.0","chai":"^4.1.2","compression-webpack-plugin":"^3.1.0","cypress":"^3.0.0","glob":"^7.1.2","http-proxy-agent":"^3.0.0","lodash.camelcase":"^4.3.0","lodash.merge":"^4.6.1","lodash.upperfirst":"^4.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","mustache":"^4.0.0","nock":"^11.3.3","npm-run-all":"^4.1.2","nyc":"^15.0.0","prettier":"^1.14.2","proxy":"^1.0.0","semantic-release":"^16.0.0","sinon":"^8.0.0","sinon-chai":"^3.0.0","sort-keys":"^4.0.0","string-to-arraybuffer":"^1.0.0","string-to-jsdoc-comment":"^1.0.0","typescript":"^3.3.1","webpack":"^4.0.0","webpack-bundle-analyzer":"^3.0.0","webpack-cli":"^3.0.0"},"types":"index.d.ts","scripts":{"coverage":"nyc report --reporter=html && open coverage/index.html","lint":"prettier --check '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","lint:fix":"prettier --write '{lib,plugins,scripts,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' index.js README.md package.json","pretest":"npm run -s lint","test":"nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"","test:browser":"cypress run --browser chrome","build":"npm-run-all build:*","build:ts":"npm run -s update-endpoints:typescript","prebuild:browser":"mkdirp dist/","build:browser":"npm-run-all build:browser:*","build:browser:development":"webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-rest.js --profile --json > dist/bundle-stats.json","build:browser:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-rest.min.js --devtool source-map","generate-bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","update-endpoints":"npm-run-all update-endpoints:*","update-endpoints:fetch-json":"node scripts/update-endpoints/fetch-json","update-endpoints:code":"node scripts/update-endpoints/code","update-endpoints:typescript":"node scripts/update-endpoints/typescript","prevalidate:ts":"npm run -s build:ts","validate:ts":"tsc --target es6 --noImplicitAny index.d.ts","postvalidate:ts":"tsc --noEmit --target es6 test/typescript-validate.ts","start-fixtures-server":"octokit-fixtures-server"},"license":"MIT","files":["index.js","index.d.ts","lib","plugins"],"nyc":{"ignore":["test"]},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"bundlesize":[{"path":"./dist/octokit-rest.min.js.gz","maxSize":"33 kB"}],"_resolved":"https://registry.npmjs.org/@octokit/rest/-/rest-16.38.1.tgz","_integrity":"sha512-zyNFx+/Bd1EXt7LQjfrc6H4wryBQ/oDuZeZhGMBSFr1eMPFDmpEweFQR3R25zjKwBQpDY7L5GQO6A3XSaOfV1w==","_from":"@octokit/rest@16.38.1"}; /***/ }), @@ -6637,7 +6637,7 @@ function normalizePaginatedListResponse(octokit, url, response) { /***/ 314: /***/ (function(module) { -module.exports = {"_args":[["@octokit/graphql@2.1.3","/Users/joshmgross/actions/setup-node"]],"_from":"@octokit/graphql@2.1.3","_id":"@octokit/graphql@2.1.3","_inBundle":false,"_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_location":"/@octokit/graphql","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"@octokit/graphql@2.1.3","name":"@octokit/graphql","escapedName":"@octokit%2fgraphql","scope":"@octokit","rawSpec":"2.1.3","saveSpec":null,"fetchSpec":"2.1.3"},"_requiredBy":["/@actions/github"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_spec":"2.1.3","_where":"/Users/joshmgross/actions/setup-node","author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"description":"GitHub GraphQL API client for browsers and Node","devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"files":["lib"],"homepage":"https://github.com/octokit/graphql.js#readme","keywords":["octokit","github","api","graphql"],"license":"MIT","main":"index.js","name":"@octokit/graphql","publishConfig":{"access":"public"},"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"repository":{"type":"git","url":"git+https://github.com/octokit/graphql.js.git"},"scripts":{"build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","prebuild":"mkdirp dist/","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"version":"2.1.3"}; +module.exports = {"name":"@octokit/graphql","version":"2.1.3","publishConfig":{"access":"public"},"description":"GitHub GraphQL API client for browsers and Node","main":"index.js","scripts":{"prebuild":"mkdirp dist/","build":"npm-run-all build:*","build:development":"webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json","build:production":"webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.min.js --devtool source-map","bundle-report":"webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html","coverage":"nyc report --reporter=html && open coverage/index.html","coverage:upload":"nyc report --reporter=text-lcov | coveralls","pretest":"standard","test":"nyc mocha test/*-test.js","test:browser":"cypress run --browser chrome"},"repository":{"type":"git","url":"https://github.com/octokit/graphql.js.git"},"keywords":["octokit","github","api","graphql"],"author":"Gregor Martynus (https://github.com/gr2m)","license":"MIT","bugs":{"url":"https://github.com/octokit/graphql.js/issues"},"homepage":"https://github.com/octokit/graphql.js#readme","dependencies":{"@octokit/request":"^5.0.0","universal-user-agent":"^2.0.3"},"devDependencies":{"chai":"^4.2.0","compression-webpack-plugin":"^2.0.0","coveralls":"^3.0.3","cypress":"^3.1.5","fetch-mock":"^7.3.1","mkdirp":"^0.5.1","mocha":"^6.0.0","npm-run-all":"^4.1.3","nyc":"^14.0.0","semantic-release":"^15.13.3","simple-mock":"^0.8.0","standard":"^12.0.1","webpack":"^4.29.6","webpack-bundle-analyzer":"^3.1.0","webpack-cli":"^3.2.3"},"bundlesize":[{"path":"./dist/octokit-graphql.min.js.gz","maxSize":"5KB"}],"release":{"publish":["@semantic-release/npm",{"path":"@semantic-release/github","assets":["dist/*","!dist/*.map.gz"]}]},"standard":{"globals":["describe","before","beforeEach","afterEach","after","it","expect"]},"files":["lib"],"_resolved":"https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz","_integrity":"sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==","_from":"@octokit/graphql@2.1.3"}; /***/ }), From 641e88986e07a7d5ed7d014b0998971a3162ad88 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Thu, 16 Apr 2020 14:00:00 -0400 Subject: [PATCH 05/38] add code of conduct --- CONDUCT | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 CONDUCT diff --git a/CONDUCT b/CONDUCT new file mode 100644 index 00000000..517657b8 --- /dev/null +++ b/CONDUCT @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to make participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies within all project spaces, and it also applies when +an individual is representing the project or its community in public spaces. +Examples of representing a project or community include using an official +project e-mail address, posting via an official social media account, or acting +as an appointed representative at an online or offline event. Representation of +a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at opensource@github.com. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq \ No newline at end of file From 339aa41a8d72adcf661974ca2a947fa1e144530e Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Thu, 16 Apr 2020 18:43:02 -0400 Subject: [PATCH 06/38] Readme update --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 176fd1fa..5a54e52b 100644 --- a/README.md +++ b/README.md @@ -108,3 +108,7 @@ The scripts and documentation in this project are released under the [MIT Licens # Contributions Contributions are welcome! See [Contributor's Guide](docs/contributors.md) + +## Code of Conduct + +:wave: Be nice. See [our code of conduct](CONDUCT) From 0cc027b656d6ae8fe546c0d59b4b60a0c3f13e18 Mon Sep 17 00:00:00 2001 From: Charlie Fish Date: Mon, 20 Apr 2020 17:36:56 -0600 Subject: [PATCH 07/38] Changing node-version default to be latest LTS (12.x) --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 03910a44..bc1d5f40 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: default: 'false' node-version: description: 'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0' - default: '10.x' + default: '12.x' registry-url: description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN' scope: From ffde5387817e21e1d9cde5fef7e8269953c9768b Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 11:21:23 -0400 Subject: [PATCH 08/38] Only include npm version if npm exists --- dist/index.js | 7 +++++-- src/setup-node.ts | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0aeaf5e9..394eb35e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15228,8 +15228,11 @@ function run() { const nodeVersion = child_process_1.default.execSync(`${nodePath} --version`); console.log(`Node Version: ${nodeVersion}`); const npmPath = yield io.which('npm'); - const npmVersion = child_process_1.default.execSync(`${npmPath} --version`); - console.log(`npm Version: ${npmVersion}`); + // Older versions of Node don't include npm + if (npmPath) { + const npmVersion = child_process_1.default.execSync(`${npmPath} --version`); + console.log(`npm Version: ${npmVersion}`); + } const registryUrl = core.getInput('registry-url'); const alwaysAuth = core.getInput('always-auth'); if (registryUrl) { diff --git a/src/setup-node.ts b/src/setup-node.ts index 28c106eb..b9544937 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -25,8 +25,11 @@ async function run() { console.log(`Node Version: ${nodeVersion}`); const npmPath = await io.which('npm'); - const npmVersion = cp.execSync(`${npmPath} --version`); - console.log(`npm Version: ${npmVersion}`); + // Older versions of Node don't include npm + if (npmPath) { + const npmVersion = cp.execSync(`${npmPath} --version`); + console.log(`npm Version: ${npmVersion}`); + } const registryUrl: string = core.getInput('registry-url'); const alwaysAuth: string = core.getInput('always-auth'); From 1e163ded3119750eca6967d816eebbb99fe0b197 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 11:40:45 -0400 Subject: [PATCH 09/38] Quote exec parameters --- dist/index.js | 4 ++-- src/setup-node.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 394eb35e..4e803010 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15225,12 +15225,12 @@ function run() { } // Output version of node and npm that are being used const nodePath = yield io.which('node'); - const nodeVersion = child_process_1.default.execSync(`${nodePath} --version`); + const nodeVersion = child_process_1.default.execSync(`"${nodePath}" --version`); console.log(`Node Version: ${nodeVersion}`); const npmPath = yield io.which('npm'); // Older versions of Node don't include npm if (npmPath) { - const npmVersion = child_process_1.default.execSync(`${npmPath} --version`); + const npmVersion = child_process_1.default.execSync(`"${npmPath}" --version`); console.log(`npm Version: ${npmVersion}`); } const registryUrl = core.getInput('registry-url'); diff --git a/src/setup-node.ts b/src/setup-node.ts index b9544937..4573cf26 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -21,13 +21,13 @@ async function run() { // Output version of node and npm that are being used const nodePath = await io.which('node'); - const nodeVersion = cp.execSync(`${nodePath} --version`); + const nodeVersion = cp.execSync(`"${nodePath}" --version`); console.log(`Node Version: ${nodeVersion}`); const npmPath = await io.which('npm'); // Older versions of Node don't include npm if (npmPath) { - const npmVersion = cp.execSync(`${npmPath} --version`); + const npmVersion = cp.execSync(`"${npmPath}" --version`); console.log(`npm Version: ${npmVersion}`); } From 2d53d29868b330a2fb43cea5e23ccf8f5a3dd0fb Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 14:03:26 -0400 Subject: [PATCH 10/38] Use actions/exec for getting version --- dist/index.js | 20 ++++++-------------- package.json | 1 + src/setup-node.ts | 16 ++++++---------- 3 files changed, 13 insertions(+), 24 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4e803010..28a33e76 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15199,16 +15199,12 @@ var __importStar = (this && this.__importStar) || function (mod) { result["default"] = mod; return result; }; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); const core = __importStar(__webpack_require__(470)); -const io = __importStar(__webpack_require__(1)); +const exec = __importStar(__webpack_require__(986)); const installer = __importStar(__webpack_require__(749)); const auth = __importStar(__webpack_require__(202)); const path = __importStar(__webpack_require__(622)); -const child_process_1 = __importDefault(__webpack_require__(129)); function run() { return __awaiter(this, void 0, void 0, function* () { try { @@ -15224,15 +15220,11 @@ function run() { yield installer.getNode(version); } // Output version of node and npm that are being used - const nodePath = yield io.which('node'); - const nodeVersion = child_process_1.default.execSync(`"${nodePath}" --version`); - console.log(`Node Version: ${nodeVersion}`); - const npmPath = yield io.which('npm'); - // Older versions of Node don't include npm - if (npmPath) { - const npmVersion = child_process_1.default.execSync(`"${npmPath}" --version`); - console.log(`npm Version: ${npmVersion}`); - } + const nodeVersion = exec.exec(`"$ --version`); + // Older versions of Node don't include npm, so don't let this call fail + const npmVersion = exec.exec(`npm --version`, undefined, { + ignoreReturnCode: true + }); const registryUrl = core.getInput('registry-url'); const alwaysAuth = core.getInput('always-auth'); if (registryUrl) { diff --git a/package.json b/package.json index 0321d497..9607e46d 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "license": "MIT", "dependencies": { "@actions/core": "^1.2.2", + "@actions/exec": "^1.0.3", "@actions/github": "^1.1.0", "@actions/http-client": "^1.0.6", "@actions/io": "^1.0.2", diff --git a/src/setup-node.ts b/src/setup-node.ts index 4573cf26..5fa89d77 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -1,9 +1,9 @@ import * as core from '@actions/core'; +import * as exec from '@actions/exec'; import * as io from '@actions/io'; import * as installer from './installer'; import * as auth from './authutil'; import * as path from 'path'; -import cp from 'child_process'; async function run() { try { @@ -20,16 +20,12 @@ async function run() { } // Output version of node and npm that are being used - const nodePath = await io.which('node'); - const nodeVersion = cp.execSync(`"${nodePath}" --version`); - console.log(`Node Version: ${nodeVersion}`); + const nodeVersion = exec.exec(`"$ --version`); - const npmPath = await io.which('npm'); - // Older versions of Node don't include npm - if (npmPath) { - const npmVersion = cp.execSync(`"${npmPath}" --version`); - console.log(`npm Version: ${npmVersion}`); - } + // Older versions of Node don't include npm, so don't let this call fail + const npmVersion = exec.exec(`npm --version`, undefined, { + ignoreReturnCode: true + }); const registryUrl: string = core.getInput('registry-url'); const alwaysAuth: string = core.getInput('always-auth'); From 28505ad4d30321d06afa20151cade02534cdb9d5 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 14:13:03 -0400 Subject: [PATCH 11/38] Move version to args --- dist/index.js | 4 ++-- src/setup-node.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 28a33e76..f14d4707 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15220,9 +15220,9 @@ function run() { yield installer.getNode(version); } // Output version of node and npm that are being used - const nodeVersion = exec.exec(`"$ --version`); + exec.exec('node', ['--version']); // Older versions of Node don't include npm, so don't let this call fail - const npmVersion = exec.exec(`npm --version`, undefined, { + exec.exec('npm', ['--version'], { ignoreReturnCode: true }); const registryUrl = core.getInput('registry-url'); diff --git a/src/setup-node.ts b/src/setup-node.ts index 5fa89d77..1f194191 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -20,10 +20,10 @@ async function run() { } // Output version of node and npm that are being used - const nodeVersion = exec.exec(`"$ --version`); + exec.exec('node', ['--version']); // Older versions of Node don't include npm, so don't let this call fail - const npmVersion = exec.exec(`npm --version`, undefined, { + exec.exec('npm', ['--version'], { ignoreReturnCode: true }); From 46903d1fb12ef202fe9110cee5fdb79310e215de Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 14:17:29 -0400 Subject: [PATCH 12/38] Await exec calls to ensure proper version ordering --- dist/index.js | 4 ++-- src/setup-node.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index f14d4707..b22d2b9f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15220,9 +15220,9 @@ function run() { yield installer.getNode(version); } // Output version of node and npm that are being used - exec.exec('node', ['--version']); + yield exec.exec('node', ['--version']); // Older versions of Node don't include npm, so don't let this call fail - exec.exec('npm', ['--version'], { + yield exec.exec('npm', ['--version'], { ignoreReturnCode: true }); const registryUrl = core.getInput('registry-url'); diff --git a/src/setup-node.ts b/src/setup-node.ts index 1f194191..f3b09c56 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -20,10 +20,10 @@ async function run() { } // Output version of node and npm that are being used - exec.exec('node', ['--version']); + await exec.exec('node', ['--version']); // Older versions of Node don't include npm, so don't let this call fail - exec.exec('npm', ['--version'], { + await exec.exec('npm', ['--version'], { ignoreReturnCode: true }); From 55897e37f356bc925b79068028a466fc6e776256 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 14:37:49 -0400 Subject: [PATCH 13/38] Run test job on windows-latest --- .github/workflows/workflow.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5f4a24ec..dd52136c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,7 +28,10 @@ jobs: run: __tests__/verify-no-unstaged-changes.sh test: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, windows-latest] + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 - name: Clear tool cache From b1f2e78536cb03a8e969e4a181d21cc3e0024877 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 21 Apr 2020 14:43:21 -0400 Subject: [PATCH 14/38] Use matrix for workflow --- .github/workflows/workflow.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index dd52136c..b97bd541 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,7 +28,10 @@ jobs: run: __tests__/verify-no-unstaged-changes.sh test: - runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest, windows-latest] defaults: run: shell: bash From 7c6182c745c344a5266b2f3e6e59dbf9572245ed Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Wed, 6 May 2020 09:58:52 -0400 Subject: [PATCH 15/38] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2bd29bed..f1c7006a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ This action sets by node environment for use in actions by: - optionally downloading and caching a version of node - npm by version spec and add to PATH -- registering problem matchers for error output +- registering problem matchers for error output +- configuring authentication for GPR or npm # Usage @@ -19,7 +20,7 @@ steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '12' - run: npm install - run: npm test ``` From e434342e4e324065b1b19b24586c710a1a68d2d7 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Tue, 19 May 2020 09:25:54 -0400 Subject: [PATCH 16/38] download from node-versions and fallback to node dist (#147) * download LTS versions from releases * support upcoiming ghes Co-authored-by: eric sciple --- .github/workflows/build-test.yml | 32 + .github/workflows/proxy.yml | 56 + .github/workflows/versions.yml | 47 + .github/workflows/workflow.yml | 100 - .gitignore | 3 + .vscode/launch.json | 21 + __tests__/__snapshots__/authutil.test.ts.snap | 31 - __tests__/authutil.test.ts | 108 +- __tests__/data/node-dist-index.json | 770 ++++ __tests__/data/versions-manifest.json | 152 + __tests__/installer.test.ts | 431 +- action.yml | 10 +- dist/index.js | 1625 ++++++- package-lock.json | 3877 ++++++++++++++--- package.json | 12 +- src/installer.ts | 286 +- src/main.ts | 50 + src/setup-node.ts | 48 +- tsconfig.json | 1 + validate/test.sh | 22 + 20 files changed, 6445 insertions(+), 1237 deletions(-) create mode 100644 .github/workflows/build-test.yml create mode 100644 .github/workflows/proxy.yml create mode 100644 .github/workflows/versions.yml delete mode 100644 .github/workflows/workflow.yml create mode 100644 .vscode/launch.json delete mode 100644 __tests__/__snapshots__/authutil.test.ts.snap create mode 100644 __tests__/data/node-dist-index.json create mode 100644 __tests__/data/versions-manifest.json create mode 100644 src/main.ts create mode 100755 validate/test.sh diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 00000000..5de6abfa --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,32 @@ +name: build-test + +on: + pull_request: + paths-ignore: + - '**.md' + push: + branches: + - master + - releases/* + paths-ignore: + - '**.md' + +jobs: + build: + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest, windows-latest] + steps: + - uses: actions/checkout@v2 + - name: Setup node 12 + uses: actions/setup-node@v1 + with: + node-version: 12.x + - run: npm ci + - run: npm run build + - run: npm run format-check + - run: npm test + - name: Verify no unstaged changes + if: runner.os != 'windows' + run: __tests__/verify-no-unstaged-changes.sh diff --git a/.github/workflows/proxy.yml b/.github/workflows/proxy.yml new file mode 100644 index 00000000..6eaa1570 --- /dev/null +++ b/.github/workflows/proxy.yml @@ -0,0 +1,56 @@ +name: proxy + +on: + pull_request: + paths-ignore: + - '**.md' + push: + branches: + - master + - releases/* + paths-ignore: + - '**.md' + +jobs: + test-proxy: + runs-on: ubuntu-latest + strategy: + fail-fast: false + container: + image: ubuntu:latest + options: --dns 127.0.0.1 + services: + squid-proxy: + image: datadog/squid:latest + ports: + - 3128:3128 + env: + https_proxy: http://squid-proxy:3128 + steps: + - uses: actions/checkout@v2 + - name: Clear tool cache + run: rm -rf $RUNNER_TOOL_CACHE/* + - name: Setup node 10 + uses: ./ + with: + node-version: 10.x + - name: Verify node and npm + run: __tests__/verify-node.sh 10 + + test-bypass-proxy: + runs-on: ubuntu-latest + strategy: + fail-fast: false + env: + https_proxy: http://no-such-proxy:3128 + no_proxy: api.github.com,github.com,nodejs.org,registry.npmjs.org,*.s3.amazonaws.com,s3.amazonaws.com + steps: + - uses: actions/checkout@v2 + - name: Clear tool cache + run: rm -rf $RUNNER_TOOL_CACHE/* + - name: Setup node 11 + uses: ./ + with: + node-version: 11 + - name: Verify node and npm + run: __tests__/verify-node.sh 11 diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml new file mode 100644 index 00000000..0042abe3 --- /dev/null +++ b/.github/workflows/versions.yml @@ -0,0 +1,47 @@ +name: versions + +on: + pull_request: + paths-ignore: + - '**.md' + push: + branches: + - master + - releases/* + paths-ignore: + - '**.md' + +jobs: + versions: + runs-on: ${{ matrix.operating-system }} + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, windows-latest] + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v2 + # test version that falls through to node dist + - name: Setup node 11 from dist + uses: ./ + with: + node-version: 11 + - name: Verify node and npm + run: __tests__/verify-node.sh 11 + # test old versions which didn't have npm and layout different + - name: Setup node 0.12.18 from dist + uses: ./ + with: + node-version: 0.12.18 + - name: Verify node + shell: bash + run: __tests__/verify-node.sh 0.12.18 SKIP_NPM + # test version from node manifest + - name: Setup node 12.16.2 from manifest + uses: ./ + with: + node-version: 12.16.2 + - name: Verify node and npm + run: __tests__/verify-node.sh 12 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml deleted file mode 100644 index b97bd541..00000000 --- a/.github/workflows/workflow.yml +++ /dev/null @@ -1,100 +0,0 @@ -name: Main workflow - -on: - pull_request: - push: - branches: - - master - - releases/* - -jobs: - build: - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: [ubuntu-latest, windows-latest] - steps: - - uses: actions/checkout@v2 - - name: Setup node 12 - uses: actions/setup-node@v1 - with: - node-version: 12.x - - run: npm ci - - run: npm run build - - run: npm run format-check - - run: npm test - - name: Verify no unstaged changes - if: runner.os != 'windows' - run: __tests__/verify-no-unstaged-changes.sh - - test: - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: [ubuntu-latest, windows-latest] - defaults: - run: - shell: bash - steps: - - uses: actions/checkout@v2 - - name: Clear tool cache - run: rm -rf $RUNNER_TOOL_CACHE/* - - name: Setup node 10 - uses: ./ - with: - node-version: 10.x - - name: Verify node and npm - run: __tests__/verify-node.sh 10 - - test-fallback: - runs-on: windows-latest - steps: - - uses: actions/checkout@v2 - - name: Clear tool cache - run: mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old" - - name: Setup node 0.12.18 # For non LTS versions of Node, the zip is not always available - uses: ./ # and falls back to downloading node.exe and node.lib - with: - node-version: 0.12.18 - - name: Verify node - shell: bash - run: __tests__/verify-node.sh 0.12.18 SKIP_NPM - - test-proxy: - runs-on: ubuntu-latest - container: - image: ubuntu:latest - options: --dns 127.0.0.1 - services: - squid-proxy: - image: datadog/squid:latest - ports: - - 3128:3128 - env: - https_proxy: http://squid-proxy:3128 - steps: - - uses: actions/checkout@v2 - - name: Clear tool cache - run: rm -rf $RUNNER_TOOL_CACHE/* - - name: Setup node 10 - uses: ./ - with: - node-version: 10.x - - name: Verify node and npm - run: __tests__/verify-node.sh 10 - - test-bypass-proxy: - runs-on: ubuntu-latest - env: - https_proxy: http://no-such-proxy:3128 - no_proxy: github.com,nodejs.org,registry.npmjs.org - steps: - - uses: actions/checkout@v2 - - name: Clear tool cache - run: rm -rf $RUNNER_TOOL_CACHE/* - - name: Setup node 10 - uses: ./ - with: - node-version: 10.x - - name: Verify node and npm - run: __tests__/verify-node.sh 10 diff --git a/.gitignore b/.gitignore index f5235b82..cdfee2d3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ node_modules/ lib/ __tests__/runner/* +validate/temp +validate/node + # Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore # Logs logs diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..01362e34 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Debug Jest Tests on Nix", + "type": "node", + "request": "launch", + "runtimeArgs": [ + "--inspect-brk", + "${workspaceRoot}/node_modules/.bin/jest", + "--runInBand" + ], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "port": 9229 + } + ] +} \ No newline at end of file diff --git a/__tests__/__snapshots__/authutil.test.ts.snap b/__tests__/__snapshots__/authutil.test.ts.snap deleted file mode 100644 index c142cf4a..00000000 --- a/__tests__/__snapshots__/authutil.test.ts.snap +++ /dev/null @@ -1,31 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`installer tests Appends trailing slash to registry 1`] = ` -"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN} -registry=https://registry.npmjs.org/ -always-auth=false" -`; - -exports[`installer tests Automatically configures GPR scope 1`] = ` -"npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN} -@ownername:registry=npm.pkg.github.com/ -always-auth=false" -`; - -exports[`installer tests Configures scoped npm registries 1`] = ` -"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN} -@myscope:registry=https://registry.npmjs.org/ -always-auth=false" -`; - -exports[`installer tests Sets up npmrc for always-auth true 1`] = ` -"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN} -registry=https://registry.npmjs.org/ -always-auth=true" -`; - -exports[`installer tests Sets up npmrc for npmjs 1`] = ` -"//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN} -registry=https://registry.npmjs.org/ -always-auth=false" -`; diff --git a/__tests__/authutil.test.ts b/__tests__/authutil.test.ts index 9f46b510..85dcb313 100644 --- a/__tests__/authutil.test.ts +++ b/__tests__/authutil.test.ts @@ -1,22 +1,26 @@ -import * as io from '@actions/io'; +import os = require('os'); import * as fs from 'fs'; import * as path from 'path'; +import * as core from '@actions/core'; +import * as io from '@actions/io'; import * as auth from '../src/authutil'; let rcFile: string; -describe('installer tests', () => { +describe('authutil tests', () => { + const _runnerDir = path.join(__dirname, 'runner'); + + let cnSpy: jest.SpyInstance; + let logSpy: jest.SpyInstance; + let dbgSpy: jest.SpyInstance; + beforeAll(async () => { - const tempDir = path.join( - __dirname, - 'runner', - path.join( - Math.random() - .toString(36) - .substring(7) - ), - 'temp' + const randPath = path.join( + Math.random() + .toString(36) + .substring(7) ); + const tempDir = path.join(_runnerDir, randPath, 'temp'); await io.rmRF(tempDir); await io.mkdirP(tempDir); process.env['GITHUB_REPOSITORY'] = 'OwnerName/repo'; @@ -24,44 +28,96 @@ describe('installer tests', () => { rcFile = path.join(tempDir, '.npmrc'); }, 100000); - beforeEach(() => { - if (fs.existsSync(rcFile)) { - fs.unlinkSync(rcFile); - } + beforeEach(async () => { + await io.rmRF(rcFile); + // if (fs.existsSync(rcFile)) { + // fs.unlinkSync(rcFile); + // } process.env['INPUT_SCOPE'] = ''; - }); + + // writes + cnSpy = jest.spyOn(process.stdout, 'write'); + logSpy = jest.spyOn(console, 'log'); + dbgSpy = jest.spyOn(core, 'debug'); + cnSpy.mockImplementation(line => { + // uncomment to debug + // process.stderr.write('write:' + line + '\n'); + }); + logSpy.mockImplementation(line => { + // uncomment to debug + // process.stderr.write('log:' + line + '\n'); + }); + dbgSpy.mockImplementation(msg => { + // uncomment to see debug output + // process.stderr.write(msg + '\n'); + }); + }, 100000); + + function dbg(message: string) { + process.stderr.write('dbg::' + message + '::\n'); + } + + afterAll(async () => { + if (_runnerDir) { + await io.rmRF(_runnerDir); + } + }, 100000); + + function readRcFile(rcFile: string) { + let rc = {}; + let contents = fs.readFileSync(rcFile, {encoding: 'utf8'}); + for (const line of contents.split(os.EOL)) { + let parts = line.split('='); + if (parts.length == 2) { + rc[parts[0].trim()] = parts[1].trim(); + } + } + return rc; + } it('Sets up npmrc for npmjs', async () => { await auth.configAuthentication('https://registry.npmjs.org/', 'false'); - expect(fs.existsSync(rcFile)).toBe(true); - expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot(); + + expect(fs.statSync(rcFile)).toBeDefined(); + let contents = fs.readFileSync(rcFile, {encoding: 'utf8'}); + let rc = readRcFile(rcFile); + expect(rc['registry']).toBe('https://registry.npmjs.org/'); + expect(rc['always-auth']).toBe('false'); }); it('Appends trailing slash to registry', async () => { await auth.configAuthentication('https://registry.npmjs.org', 'false'); - expect(fs.existsSync(rcFile)).toBe(true); - expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot(); + expect(fs.statSync(rcFile)).toBeDefined(); + let rc = readRcFile(rcFile); + expect(rc['registry']).toBe('https://registry.npmjs.org/'); + expect(rc['always-auth']).toBe('false'); }); it('Configures scoped npm registries', async () => { process.env['INPUT_SCOPE'] = 'myScope'; await auth.configAuthentication('https://registry.npmjs.org', 'false'); - expect(fs.existsSync(rcFile)).toBe(true); - expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot(); + expect(fs.statSync(rcFile)).toBeDefined(); + let rc = readRcFile(rcFile); + expect(rc['@myscope:registry']).toBe('https://registry.npmjs.org/'); + expect(rc['always-auth']).toBe('false'); }); it('Automatically configures GPR scope', async () => { await auth.configAuthentication('npm.pkg.github.com', 'false'); - expect(fs.existsSync(rcFile)).toBe(true); - expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot(); + expect(fs.statSync(rcFile)).toBeDefined(); + let rc = readRcFile(rcFile); + expect(rc['@ownername:registry']).toBe('npm.pkg.github.com/'); + expect(rc['always-auth']).toBe('false'); }); it('Sets up npmrc for always-auth true', async () => { await auth.configAuthentication('https://registry.npmjs.org/', 'true'); - expect(fs.existsSync(rcFile)).toBe(true); - expect(fs.readFileSync(rcFile, {encoding: 'utf8'})).toMatchSnapshot(); + expect(fs.statSync(rcFile)).toBeDefined(); + let rc = readRcFile(rcFile); + expect(rc['registry']).toBe('https://registry.npmjs.org/'); + expect(rc['always-auth']).toBe('true'); }); }); diff --git a/__tests__/data/node-dist-index.json b/__tests__/data/node-dist-index.json new file mode 100644 index 00000000..09cca7ca --- /dev/null +++ b/__tests__/data/node-dist-index.json @@ -0,0 +1,770 @@ +[ + { + "version": "v14.1.0", + "date": "2020-04-29", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "8.1.307.31", + "uv": "1.37.0", + "zlib": "1.2.11", + "openssl": "1.1.1g", + "modules": "83", + "lts": false, + "security": false + }, + { + "version": "v14.0.0", + "date": "2020-04-21", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "8.1.307.30", + "uv": "1.37.0", + "zlib": "1.2.11", + "openssl": "1.1.1f", + "modules": "83", + "lts": false, + "security": false + }, + { + "version": "v13.14.0", + "date": "2020-04-28", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "7.9.317.25", + "uv": "1.37.0", + "zlib": "1.2.11", + "openssl": "1.1.1g", + "modules": "79", + "lts": false, + "security": false + }, + { + "version": "v13.13.0", + "date": "2020-04-14", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "7.9.317.25", + "uv": "1.35.0", + "zlib": "1.2.11", + "openssl": "1.1.1f", + "modules": "79", + "lts": false, + "security": false + }, + { + "version": "v12.16.3", + "date": "2020-04-28", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "7.8.279.23", + "uv": "1.34.2", + "zlib": "1.2.11", + "openssl": "1.1.1g", + "modules": "72", + "lts": "Erbium", + "security": false + }, + { + "version": "v12.16.2", + "date": "2020-04-08", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "7.8.279.23", + "uv": "1.34.2", + "zlib": "1.2.11", + "openssl": "1.1.1e", + "modules": "72", + "lts": "Erbium", + "security": false + }, + { + "version": "v12.1.0", + "date": "2019-04-29", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.9.0", + "v8": "7.4.288.21", + "uv": "1.28.0", + "zlib": "1.2.11", + "openssl": "1.1.1b", + "modules": "72", + "lts": false, + "security": false + }, + { + "version": "v11.15.0", + "date": "2019-04-30", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.7.0", + "v8": "7.0.276.38", + "uv": "1.27.0", + "zlib": "1.2.11", + "openssl": "1.1.1b", + "modules": "67", + "lts": false, + "security": false + }, + { + "version": "v10.20.1", + "date": "2020-04-10", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "6.8.275.32", + "uv": "1.34.2", + "zlib": "1.2.11", + "openssl": "1.1.1e", + "modules": "64", + "lts": "Dubnium", + "security": false + }, + { + "version": "v10.20.0", + "date": "2020-03-24", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.14.4", + "v8": "6.8.275.32", + "uv": "1.34.2", + "zlib": "1.2.11", + "openssl": "1.1.1e", + "modules": "64", + "lts": "Dubnium", + "security": false + }, + { + "version": "v9.11.2", + "date": "2018-06-12", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "5.6.0", + "v8": "6.2.414.46", + "uv": "1.19.2", + "zlib": "1.2.11", + "openssl": "1.0.2o", + "modules": "59", + "lts": false, + "security": false + }, + { + "version": "v9.11.1", + "date": "2018-04-05", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "5.6.0", + "v8": "6.2.414.46", + "uv": "1.19.2", + "zlib": "1.2.11", + "openssl": "1.0.2o", + "modules": "59", + "lts": false, + "security": false + }, + { + "version": "v8.17.0", + "date": "2019-12-17", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.13.4", + "v8": "6.2.414.78", + "uv": "1.23.2", + "zlib": "1.2.11", + "openssl": "1.0.2s", + "modules": "57", + "lts": "Carbon", + "security": true + }, + { + "version": "v8.16.2", + "date": "2019-10-08", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "6.4.1", + "v8": "6.2.414.78", + "uv": "1.23.2", + "zlib": "1.2.11", + "openssl": "1.0.2s", + "modules": "57", + "lts": "Carbon", + "security": false + }, + { + "version": "v7.10.1", + "date": "2017-07-11", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "4.2.0", + "v8": "5.5.372.43", + "uv": "1.11.0", + "zlib": "1.2.11", + "openssl": "1.0.2k", + "modules": "51", + "lts": false, + "security": true + }, + { + "version": "v7.10.0", + "date": "2017-05-02", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "4.2.0", + "v8": "5.5.372.43", + "uv": "1.11.0", + "zlib": "1.2.11", + "openssl": "1.0.2k", + "modules": "51", + "lts": false, + "security": false + }, + { + "version": "v6.17.1", + "date": "2019-04-03", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "3.10.10", + "v8": "5.1.281.111", + "uv": "1.16.1", + "zlib": "1.2.11", + "openssl": "1.0.2r", + "modules": "48", + "lts": "Boron", + "security": false + }, + { + "version": "v6.17.0", + "date": "2019-02-28", + "files": [ + "aix-ppc64", + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-s390x", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "3.10.10", + "v8": "5.1.281.111", + "uv": "1.16.1", + "zlib": "1.2.11", + "openssl": "1.0.2r", + "modules": "48", + "lts": "Boron", + "security": true + }, + { + "version": "v5.12.0", + "date": "2016-06-23", + "files": [ + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-exe", + "win-x64-msi", + "win-x86-exe", + "win-x86-msi" + ], + "npm": "3.8.6", + "v8": "4.6.85.32", + "uv": "1.8.0", + "zlib": "1.2.8", + "openssl": "1.0.2h", + "modules": "47", + "lts": false, + "security": false + }, + { + "version": "v4.9.1", + "date": "2018-03-29", + "files": [ + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "2.15.11", + "v8": "4.5.103.53", + "uv": "1.9.1", + "zlib": "1.2.11", + "openssl": "1.0.2o", + "modules": "46", + "lts": "Argon", + "security": false + }, + { + "version": "v4.9.0", + "date": "2018-03-28", + "files": [ + "headers", + "linux-arm64", + "linux-armv6l", + "linux-armv7l", + "linux-ppc64le", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-7z", + "win-x64-exe", + "win-x64-msi", + "win-x64-zip", + "win-x86-7z", + "win-x86-exe", + "win-x86-msi", + "win-x86-zip" + ], + "npm": "2.15.11", + "v8": "4.5.103.53", + "uv": "1.9.1", + "zlib": "1.2.11", + "openssl": "1.0.2o", + "modules": "46", + "lts": "Argon", + "security": true + }, + { + "version": "v0.12.18", + "date": "2017-02-22", + "files": [ + "headers", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "osx-x86-tar", + "src", + "sunos-x86", + "win-x64-exe", + "win-x86-exe", + "win-x86-msi" + ], + "npm": "2.15.11", + "v8": "3.28.71.20", + "uv": "1.6.1", + "zlib": "1.2.8", + "openssl": "1.0.1u", + "modules": "14", + "lts": false, + "security": false + }, + { + "version": "v0.12.17", + "date": "2016-10-18", + "files": [ + "headers", + "linux-x64", + "linux-x86", + "osx-x64-pkg", + "osx-x64-tar", + "osx-x86-tar", + "src", + "sunos-x64", + "sunos-x86", + "win-x64-exe", + "win-x86-exe", + "win-x86-msi" + ], + "npm": "2.15.1", + "v8": "3.28.71.19", + "uv": "1.6.1", + "zlib": "1.2.8", + "openssl": "1.0.1u", + "modules": "14", + "lts": false, + "security": true + } +] \ No newline at end of file diff --git a/__tests__/data/versions-manifest.json b/__tests__/data/versions-manifest.json new file mode 100644 index 00000000..d313b16b --- /dev/null +++ b/__tests__/data/versions-manifest.json @@ -0,0 +1,152 @@ +[ + { + "version": "14.0.0", + "stable": true, + "release_url": "https://github.com/actions/node-versions/releases/tag/14.0.0-20200423.30", + "files": [ + { + "filename": "node-14.0.0-darwin-x64.tar.gz", + "arch": "x64", + "platform": "darwin", + "download_url": "https://github.com/actions/node-versions/releases/download/14.0.0-20200423.30/node-14.0.0-darwin-x64.tar.gz" + }, + { + "filename": "node-14.0.0-linux-x64.tar.gz", + "arch": "x64", + "platform": "linux", + "download_url": "https://github.com/actions/node-versions/releases/download/14.0.0-20200423.30/node-14.0.0-linux-x64.tar.gz" + }, + { + "filename": "node-14.0.0-win32-x64.zip", + "arch": "x64", + "platform": "win32", + "download_url": "https://github.com/actions/node-versions/releases/download/14.0.0-20200423.30/node-14.0.0-win32-x64.zip" + } + ] + }, + { + "version": "13.13.0", + "stable": true, + "release_url": "https://github.com/actions/node-versions/releases/tag/13.13.0-20200423.29", + "files": [ + { + "filename": "node-13.13.0-darwin-x64.tar.gz", + "arch": "x64", + "platform": "darwin", + "download_url": "https://github.com/actions/node-versions/releases/download/13.13.0-20200423.29/node-13.13.0-darwin-x64.tar.gz" + }, + { + "filename": "node-13.13.0-linux-x64.tar.gz", + "arch": "x64", + "platform": "linux", + "download_url": "https://github.com/actions/node-versions/releases/download/13.13.0-20200423.29/node-13.13.0-linux-x64.tar.gz" + }, + { + "filename": "node-13.13.0-win32-x64.zip", + "arch": "x64", + "platform": "win32", + "download_url": "https://github.com/actions/node-versions/releases/download/13.13.0-20200423.29/node-13.13.0-win32-x64.zip" + } + ] + }, + { + "version": "12.16.2", + "stable": true, + "release_url": "https://github.com/actions/node-versions/releases/tag/12.16.2-20200423.28", + "files": [ + { + "filename": "node-12.16.2-darwin-x64.tar.gz", + "arch": "x64", + "platform": "darwin", + "download_url": "https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-darwin-x64.tar.gz" + }, + { + "filename": "node-12.16.2-linux-x64.tar.gz", + "arch": "x64", + "platform": "linux", + "download_url": "https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz" + }, + { + "filename": "node-12.16.2-win32-x64.zip", + "arch": "x64", + "platform": "win32", + "download_url": "https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-win32-x64.zip" + } + ] + }, + { + "version": "10.20.1", + "stable": true, + "release_url": "https://github.com/actions/node-versions/releases/tag/10.20.1-20200423.27", + "files": [ + { + "filename": "node-10.20.1-darwin-x64.tar.gz", + "arch": "x64", + "platform": "darwin", + "download_url": "https://github.com/actions/node-versions/releases/download/10.20.1-20200423.27/node-10.20.1-darwin-x64.tar.gz" + }, + { + "filename": "node-10.20.1-linux-x64.tar.gz", + "arch": "x64", + "platform": "linux", + "download_url": "https://github.com/actions/node-versions/releases/download/10.20.1-20200423.27/node-10.20.1-linux-x64.tar.gz" + }, + { + "filename": "node-10.20.1-win32-x64.zip", + "arch": "x64", + "platform": "win32", + "download_url": "https://github.com/actions/node-versions/releases/download/10.20.1-20200423.27/node-10.20.1-win32-x64.zip" + } + ] + }, + { + "version": "8.17.0", + "stable": true, + "release_url": "https://github.com/actions/node-versions/releases/tag/8.17.0-20200423.26", + "files": [ + { + "filename": "node-8.17.0-darwin-x64.tar.gz", + "arch": "x64", + "platform": "darwin", + "download_url": "https://github.com/actions/node-versions/releases/download/8.17.0-20200423.26/node-8.17.0-darwin-x64.tar.gz" + }, + { + "filename": "node-8.17.0-linux-x64.tar.gz", + "arch": "x64", + "platform": "linux", + "download_url": "https://github.com/actions/node-versions/releases/download/8.17.0-20200423.26/node-8.17.0-linux-x64.tar.gz" + }, + { + "filename": "node-8.17.0-win32-x64.zip", + "arch": "x64", + "platform": "win32", + "download_url": "https://github.com/actions/node-versions/releases/download/8.17.0-20200423.26/node-8.17.0-win32-x64.zip" + } + ] + }, + { + "version": "6.17.1", + "stable": true, + "release_url": "https://github.com/actions/node-versions/releases/tag/6.17.1-20200423.25", + "files": [ + { + "filename": "node-6.17.1-darwin-x64.tar.gz", + "arch": "x64", + "platform": "darwin", + "download_url": "https://github.com/actions/node-versions/releases/download/6.17.1-20200423.25/node-6.17.1-darwin-x64.tar.gz" + }, + { + "filename": "node-6.17.1-linux-x64.tar.gz", + "arch": "x64", + "platform": "linux", + "download_url": "https://github.com/actions/node-versions/releases/download/6.17.1-20200423.25/node-6.17.1-linux-x64.tar.gz" + }, + { + "filename": "node-6.17.1-win32-x64.zip", + "arch": "x64", + "platform": "win32", + "download_url": "https://github.com/actions/node-versions/releases/download/6.17.1-20200423.25/node-6.17.1-win32-x64.zip" + } + ] + } + ] \ No newline at end of file diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 7f76aebc..52b675e2 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -1,123 +1,336 @@ +import * as core from '@actions/core'; import * as io from '@actions/io'; import * as tc from '@actions/tool-cache'; -import * as fs from 'fs'; -import * as os from 'os'; -import * as path from 'path'; -import * as installer from '../src/installer'; +import fs from 'fs'; +import cp from 'child_process'; +import osm = require('os'); +import path from 'path'; +import * as main from '../src/main'; +import * as im from '../src/installer'; +import * as auth from '../src/authutil'; -const isWindows = process.platform === 'win32'; -let toolDir: string; +let nodeTestManifest = require('./data/versions-manifest.json'); +let nodeTestDist = require('./data/node-dist-index.json'); -describe('installer tests', () => { - beforeAll(async () => { - toolDir = path.join( - __dirname, - 'runner', - path.join( - Math.random() - .toString(36) - .substring(7) - ), - 'tools' +// let matchers = require('../matchers.json'); +// let matcherPattern = matchers.problemMatcher[0].pattern[0]; +// let matcherRegExp = new RegExp(matcherPattern.regexp); + +describe('setup-node', () => { + let inputs = {} as any; + let os = {} as any; + + let inSpy: jest.SpyInstance; + let findSpy: jest.SpyInstance; + let cnSpy: jest.SpyInstance; + let logSpy: jest.SpyInstance; + let getManifestSpy: jest.SpyInstance; + let getDistSpy: jest.SpyInstance; + let platSpy: jest.SpyInstance; + let archSpy: jest.SpyInstance; + let dlSpy: jest.SpyInstance; + let exSpy: jest.SpyInstance; + let cacheSpy: jest.SpyInstance; + let dbgSpy: jest.SpyInstance; + let whichSpy: jest.SpyInstance; + let existsSpy: jest.SpyInstance; + let mkdirpSpy: jest.SpyInstance; + let execSpy: jest.SpyInstance; + let authSpy: jest.SpyInstance; + + beforeEach(() => { + // @actions/core + inputs = {}; + inSpy = jest.spyOn(core, 'getInput'); + inSpy.mockImplementation(name => inputs[name]); + + // node + os = {}; + platSpy = jest.spyOn(osm, 'platform'); + platSpy.mockImplementation(() => os['platform']); + archSpy = jest.spyOn(osm, 'arch'); + archSpy.mockImplementation(() => os['arch']); + execSpy = jest.spyOn(cp, 'execSync'); + + // @actions/tool-cache + findSpy = jest.spyOn(tc, 'find'); + dlSpy = jest.spyOn(tc, 'downloadTool'); + exSpy = jest.spyOn(tc, 'extractTar'); + cacheSpy = jest.spyOn(tc, 'cacheDir'); + getManifestSpy = jest.spyOn(tc, 'getManifestFromRepo'); + getDistSpy = jest.spyOn(im, 'getVersionsFromDist'); + + // io + whichSpy = jest.spyOn(io, 'which'); + existsSpy = jest.spyOn(fs, 'existsSync'); + mkdirpSpy = jest.spyOn(io, 'mkdirP'); + + // disable authentication portion for installer tests + authSpy = jest.spyOn(auth, 'configAuthentication'); + authSpy.mockImplementation(() => {}); + + // gets + getManifestSpy.mockImplementation( + () => nodeTestManifest ); - const tempDir = path.join( - __dirname, - 'runner', - path.join( - Math.random() - .toString(36) - .substring(7) - ), - 'temp' + getDistSpy.mockImplementation(() => nodeTestDist); + + // writes + cnSpy = jest.spyOn(process.stdout, 'write'); + logSpy = jest.spyOn(console, 'log'); + dbgSpy = jest.spyOn(core, 'debug'); + cnSpy.mockImplementation(line => { + // uncomment to debug + // process.stderr.write('write:' + line + '\n'); + }); + logSpy.mockImplementation(line => { + // uncomment to debug + // process.stderr.write('log:' + line + '\n'); + }); + dbgSpy.mockImplementation(msg => { + // uncomment to see debug output + // process.stderr.write(msg + '\n'); + }); + }); + + afterEach(() => { + jest.resetAllMocks(); + jest.clearAllMocks(); + //jest.restoreAllMocks(); + }); + + afterAll(async () => {}, 100000); + + //-------------------------------------------------- + // Manifest find tests + //-------------------------------------------------- + it('can mock manifest versions', async () => { + let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo( + 'actions', + 'node-versions', + 'mocktoken' ); - await io.rmRF(toolDir); - await io.rmRF(tempDir); - process.env['RUNNER_TOOL_CACHE'] = toolDir; - process.env['RUNNER_TEMP'] = tempDir; - }, 100000); - - it('Acquires version of node if no matching version is installed', async () => { - await installer.getNode('10.16.0'); - const nodeDir = path.join(toolDir, 'node', '10.16.0', os.arch()); - - expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true); - if (isWindows) { - expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true); - } else { - expect(fs.existsSync(path.join(nodeDir, 'bin', 'node'))).toBe(true); - } - }, 100000); - - if (isWindows) { - it('Falls back to backup location if first one doesnt contain correct version', async () => { - await installer.getNode('5.10.1'); - const nodeDir = path.join(toolDir, 'node', '5.10.1', os.arch()); - - expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true); - expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true); - }, 100000); - - it('Falls back to third location if second one doesnt contain correct version', async () => { - await installer.getNode('0.12.18'); - const nodeDir = path.join(toolDir, 'node', '0.12.18', os.arch()); - - expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true); - expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true); - }, 100000); - } - - it('Throws if no location contains correct node version', async () => { - let thrown = false; - try { - await installer.getNode('1000'); - } catch { - thrown = true; - } - expect(thrown).toBe(true); + expect(versions).toBeDefined(); + expect(versions?.length).toBe(6); }); - it('Acquires version of node with long paths', async () => { - const toolpath = await installer.getNode('8.8.1'); - const nodeDir = path.join(toolDir, 'node', '8.8.1', os.arch()); - - expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true); - if (isWindows) { - expect(fs.existsSync(path.join(nodeDir, 'node.exe'))).toBe(true); - } else { - expect(fs.existsSync(path.join(nodeDir, 'bin', 'node'))).toBe(true); - } - }, 100000); - - it('Uses version of node installed in cache', async () => { - const nodeDir: string = path.join(toolDir, 'node', '250.0.0', os.arch()); - await io.mkdirP(nodeDir); - fs.writeFileSync(`${nodeDir}.complete`, 'hello'); - // This will throw if it doesn't find it in the cache (because no such version exists) - await installer.getNode('250.0.0'); - return; + it('can mock dist versions', async () => { + let versions: im.INodeVersion[] = await im.getVersionsFromDist(); + expect(versions).toBeDefined(); + expect(versions?.length).toBe(23); }); - it('Doesnt use version of node that was only partially installed in cache', async () => { - const nodeDir: string = path.join(toolDir, 'node', '251.0.0', os.arch()); - await io.mkdirP(nodeDir); - let thrown = false; - try { - // This will throw if it doesn't find it in the cache (because no such version exists) - await installer.getNode('251.0.0'); - } catch { - thrown = true; - } - expect(thrown).toBe(true); - return; + it('can find 12.16.2 from manifest on osx', async () => { + os.platform = 'darwin'; + os.arch = 'x64'; + let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo( + 'actions', + 'node-versions', + 'mocktoken' + ); + expect(versions).toBeDefined(); + let match = await tc.findFromManifest('12.16.2', true, versions); + expect(match).toBeDefined(); + expect(match?.version).toBe('12.16.2'); }); - it('Resolves semantic versions of node installed in cache', async () => { - const nodeDir: string = path.join(toolDir, 'node', '252.0.0', os.arch()); - await io.mkdirP(nodeDir); - fs.writeFileSync(`${nodeDir}.complete`, 'hello'); - // These will throw if it doesn't find it in the cache (because no such version exists) - await installer.getNode('252.0.0'); - await installer.getNode('252'); - await installer.getNode('252.0'); + it('can find 12 from manifest on linux', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo( + 'actions', + 'node-versions', + 'mocktoken' + ); + expect(versions).toBeDefined(); + let match = await tc.findFromManifest('12.16.2', true, versions); + expect(match).toBeDefined(); + expect(match?.version).toBe('12.16.2'); + }); + + it('can find 10 from manifest on windows', async () => { + os.platform = 'win32'; + os.arch = 'x64'; + let versions: tc.IToolRelease[] | null = await tc.getManifestFromRepo( + 'actions', + 'node-versions', + 'mocktoken' + ); + expect(versions).toBeDefined(); + let match = await tc.findFromManifest('10', true, versions); + expect(match).toBeDefined(); + expect(match?.version).toBe('10.20.1'); + }); + + //-------------------------------------------------- + // Found in cache tests + //-------------------------------------------------- + + it('finds version in cache with stable true', async () => { + inputs['node-version'] = '12'; + inputs.stable = 'true'; + + let toolPath = path.normalize('/cache/node/12.16.1/x64'); + findSpy.mockImplementation(() => toolPath); + await main.run(); + + expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`); + }); + + it('finds version in cache with stable not supplied', async () => { + inputs['node-version'] = '12'; + + inSpy.mockImplementation(name => inputs[name]); + + let toolPath = path.normalize('/cache/node/12.16.1/x64'); + findSpy.mockImplementation(() => toolPath); + await main.run(); + + expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`); + }); + + it('finds version in cache and adds it to the path', async () => { + inputs['node-version'] = '12'; + + inSpy.mockImplementation(name => inputs[name]); + + let toolPath = path.normalize('/cache/node/12.16.1/x64'); + findSpy.mockImplementation(() => toolPath); + await main.run(); + + let expPath = path.join(toolPath, 'bin'); + expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`); + }); + + it('handles unhandled find error and reports error', async () => { + let errMsg = 'unhandled error message'; + inputs['node-version'] = '12'; + + findSpy.mockImplementation(() => { + throw new Error(errMsg); + }); + + await main.run(); + + expect(cnSpy).toHaveBeenCalledWith('::error::' + errMsg + osm.EOL); + }); + + it('downloads a version from a manifest match', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + // a version which is in the manifest + let versionSpec = '12.16.2'; + let resolvedVersion = versionSpec; + + inputs['node-version'] = versionSpec; + inputs['always-auth'] = false; + inputs['token'] = 'faketoken'; + + let expectedUrl = + 'https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz'; + + // ... but not in the local cache + findSpy.mockImplementation(() => ''); + + dlSpy.mockImplementation(async () => '/some/temp/path'); + let toolPath = path.normalize('/cache/node/12.16.2/x64'); + exSpy.mockImplementation(async () => '/some/other/temp/path'); + cacheSpy.mockImplementation(async () => toolPath); + + await main.run(); + + let expPath = path.join(toolPath, 'bin'); + + expect(dlSpy).toHaveBeenCalled(); + expect(exSpy).toHaveBeenCalled(); + expect(logSpy).toHaveBeenCalledWith( + `Acquiring ${resolvedVersion} from ${expectedUrl}` + ); + expect(logSpy).toHaveBeenCalledWith( + `Attempting to download ${versionSpec}...` + ); + expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`); + }); + + it('falls back to a version from node dist', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + // a version which is not in the manifest but is in node dist + let versionSpec = '11.15.0'; + let resolvedVersion = versionSpec; + + inputs['node-version'] = versionSpec; + inputs['always-auth'] = false; + inputs['token'] = 'faketoken'; + + let expectedUrl = + 'https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz'; + + // ... but not in the local cache + findSpy.mockImplementation(() => ''); + + dlSpy.mockImplementation(async () => '/some/temp/path'); + let toolPath = path.normalize('/cache/node/11.11.0/x64'); + exSpy.mockImplementation(async () => '/some/other/temp/path'); + cacheSpy.mockImplementation(async () => toolPath); + + await main.run(); + + let expPath = path.join(toolPath, 'bin'); + + expect(dlSpy).toHaveBeenCalled(); + expect(exSpy).toHaveBeenCalled(); + expect(logSpy).toHaveBeenCalledWith( + 'Not found in manifest. Falling back to download directly from Node' + ); + expect(logSpy).toHaveBeenCalledWith( + `Attempting to download ${versionSpec}...` + ); + expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`); + }); + + it('does not find a version that does not exist', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + let versionSpec = '9.99.9'; + inputs['node-version'] = versionSpec; + + findSpy.mockImplementation(() => ''); + await main.run(); + + expect(logSpy).toHaveBeenCalledWith( + 'Not found in manifest. Falling back to download directly from Node' + ); + expect(logSpy).toHaveBeenCalledWith( + `Attempting to download ${versionSpec}...` + ); + expect(cnSpy).toHaveBeenCalledWith( + `::error::Unable to find Node version '${versionSpec}' for platform ${os.platform} and architecture ${os.arch}.${osm.EOL}` + ); + }); + + it('reports a failed download', async () => { + let errMsg = 'unhandled download message'; + os.platform = 'linux'; + os.arch = 'x64'; + + // a version which is in the manifest + let versionSpec = '12.16.2'; + let resolvedVersion = versionSpec; + + inputs['node-version'] = versionSpec; + inputs['always-auth'] = false; + inputs['token'] = 'faketoken'; + + findSpy.mockImplementation(() => ''); + dlSpy.mockImplementation(() => { + throw new Error(errMsg); + }); + await main.run(); + + expect(cnSpy).toHaveBeenCalledWith(`::error::${errMsg}${osm.EOL}`); }); }); diff --git a/action.yml b/action.yml index bc1d5f40..b7c78607 100644 --- a/action.yml +++ b/action.yml @@ -1,17 +1,21 @@ name: 'Setup Node.js environment' -description: 'Setup a Node.js environment and add it to the PATH, additionally providing proxy support' +description: 'Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH' author: 'GitHub' inputs: always-auth: description: 'Set always-auth in npmrc' default: 'false' node-version: - description: 'Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0' - default: '12.x' + description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0' registry-url: description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN' scope: description: 'Optional scope for authenticating against scoped registries' + token: + description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. + default: ${{ github.token }} +# TODO: add input to control forcing to pull from cloud or dist. +# escape valve for someone having issues or needing the absolute latest which isn't cached yet # Deprecated option, do not use. Will not be supported after October 1, 2019 version: description: 'Deprecated. Use node-version instead. Will not be supported after October 1, 2019' diff --git a/dist/index.js b/dist/index.js index b22d2b9f..87ce6f0c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -563,13 +563,20 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); -const os = __webpack_require__(87); -const events = __webpack_require__(614); -const child = __webpack_require__(129); -const path = __webpack_require__(622); -const io = __webpack_require__(1); -const ioUtil = __webpack_require__(672); +const os = __importStar(__webpack_require__(87)); +const events = __importStar(__webpack_require__(614)); +const child = __importStar(__webpack_require__(129)); +const path = __importStar(__webpack_require__(622)); +const io = __importStar(__webpack_require__(1)); +const ioUtil = __importStar(__webpack_require__(672)); /* eslint-disable @typescript-eslint/unbound-method */ const IS_WINDOWS = process.platform === 'win32'; /* @@ -1013,6 +1020,12 @@ class ToolRunner extends events.EventEmitter { resolve(exitCode); } }); + if (this.options.input) { + if (!cp.stdin) { + throw new Error('child process missing stdin'); + } + cp.stdin.end(this.options.input); + } }); }); } @@ -1237,49 +1250,181 @@ function authenticationPlugin(octokit, options) { /***/ }), /***/ 20: -/***/ (function(module, __unusedexports, __webpack_require__) { +/***/ (function(__unusedmodule, exports, __webpack_require__) { "use strict"; - -const cp = __webpack_require__(129); -const parse = __webpack_require__(568); -const enoent = __webpack_require__(881); - -function spawn(command, args, options) { - // Parse the arguments - const parsed = parse(command, args, options); - - // Spawn the child process - const spawned = cp.spawn(parsed.command, parsed.args, parsed.options); - - // Hook into child process "exit" event to emit an error if the command - // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 - enoent.hookChildProcess(spawned, parsed); - - return spawned; +Object.defineProperty(exports, "__esModule", { value: true }); +const url = __webpack_require__(835); +function getProxyUrl(reqUrl) { + let usingSsl = reqUrl.protocol === 'https:'; + let proxyUrl; + if (checkBypass(reqUrl)) { + return proxyUrl; + } + let proxyVar; + if (usingSsl) { + proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + if (proxyVar) { + proxyUrl = url.parse(proxyVar); + } + return proxyUrl; } +exports.getProxyUrl = getProxyUrl; +function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; + } + let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } + else if (reqUrl.protocol === 'http:') { + reqPort = 80; + } + else if (reqUrl.protocol === 'https:') { + reqPort = 443; + } + // Format the request hostname and hostname with port + let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === 'number') { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (let upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { + if (upperReqHosts.some(x => x === upperNoProxyItem)) { + return true; + } + } + return false; +} +exports.checkBypass = checkBypass; -function spawnSync(command, args, options) { - // Parse the arguments - const parsed = parse(command, args, options); - // Spawn the child process - const result = cp.spawnSync(parsed.command, parsed.args, parsed.options); +/***/ }), - // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 - result.error = result.error || enoent.verifyENOENTSync(result.status, parsed); +/***/ 31: +/***/ (function(module, exports, __webpack_require__) { +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const semver = __importStar(__webpack_require__(280)); +const core_1 = __webpack_require__(902); +// needs to be require for core node modules to be mocked +/* eslint @typescript-eslint/no-require-imports: 0 */ +const os = __webpack_require__(87); +const cp = __webpack_require__(129); +const fs = __webpack_require__(747); +function _findMatch(versionSpec, stable, candidates, archFilter) { + return __awaiter(this, void 0, void 0, function* () { + const platFilter = os.platform(); + let result; + let match; + let file; + for (const candidate of candidates) { + const version = candidate.version; + core_1.debug(`check ${version} satisfies ${versionSpec}`); + if (semver.satisfies(version, versionSpec) && + (!stable || candidate.stable === stable)) { + file = candidate.files.find(item => { + core_1.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`); + let chk = item.arch === archFilter && item.platform === platFilter; + if (chk && item.platform_version) { + const osVersion = module.exports._getOsVersion(); + if (osVersion === item.platform_version) { + chk = true; + } + else { + chk = semver.satisfies(osVersion, item.platform_version); + } + } + return chk; + }); + if (file) { + core_1.debug(`matched ${candidate.version}`); + match = candidate; + break; + } + } + } + if (match && file) { + // clone since we're mutating the file list to be only the file that matches + result = Object.assign({}, match); + result.files = [file]; + } + return result; + }); } - -module.exports = spawn; -module.exports.spawn = spawn; -module.exports.sync = spawnSync; - -module.exports._parse = parse; -module.exports._enoent = enoent; - +exports._findMatch = _findMatch; +function _getOsVersion() { + // TODO: add windows and other linux, arm variants + // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python) + const plat = os.platform(); + let version = ''; + if (plat === 'darwin') { + version = cp.execSync('sw_vers -productVersion').toString(); + } + else if (plat === 'linux') { + // lsb_release process not in some containers, readfile + // Run cat /etc/lsb-release + // DISTRIB_ID=Ubuntu + // DISTRIB_RELEASE=18.04 + // DISTRIB_CODENAME=bionic + // DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" + const lsbContents = module.exports._readLinuxVersionFile(); + if (lsbContents) { + const lines = lsbContents.split('\n'); + for (const line of lines) { + const parts = line.split('='); + if (parts.length === 2 && parts[0].trim() === 'DISTRIB_RELEASE') { + version = parts[1].trim(); + break; + } + } + } + } + return version; +} +exports._getOsVersion = _getOsVersion; +function _readLinuxVersionFile() { + const lsbFile = '/etc/lsb-release'; + let contents = ''; + if (fs.existsSync(lsbFile)) { + contents = fs.readFileSync(lsbFile).toString(); + } + return contents; +} +exports._readLinuxVersionFile = _readLinuxVersionFile; +//# sourceMappingURL=manifest.js.map /***/ }), @@ -2890,6 +3035,53 @@ module.exports = windowsRelease; module.exports = require("os"); +/***/ }), + +/***/ 108: +/***/ (function(module, __unusedexports, __webpack_require__) { + +"use strict"; + + +const cp = __webpack_require__(129); +const parse = __webpack_require__(568); +const enoent = __webpack_require__(881); + +function spawn(command, args, options) { + // Parse the arguments + const parsed = parse(command, args, options); + + // Spawn the child process + const spawned = cp.spawn(parsed.command, parsed.args, parsed.options); + + // Hook into child process "exit" event to emit an error if the command + // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 + enoent.hookChildProcess(spawned, parsed); + + return spawned; +} + +function spawnSync(command, args, options) { + // Parse the arguments + const parsed = parse(command, args, options); + + // Spawn the child process + const result = cp.spawnSync(parsed.command, parsed.args, parsed.options); + + // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 + result.error = result.error || enoent.verifyENOENTSync(result.status, parsed); + + return result; +} + +module.exports = spawn; +module.exports.spawn = spawn; +module.exports.sync = spawnSync; + +module.exports._parse = parse; +module.exports._enoent = enoent; + + /***/ }), /***/ 118: @@ -4411,6 +4603,75 @@ function checkMode (stat, options) { } +/***/ }), + +/***/ 198: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const core = __importStar(__webpack_require__(470)); +const installer = __importStar(__webpack_require__(749)); +const auth = __importStar(__webpack_require__(202)); +const path = __importStar(__webpack_require__(622)); +const url_1 = __webpack_require__(835); +function run() { + return __awaiter(this, void 0, void 0, function* () { + try { + // + // Version is optional. If supplied, install / use from the tool cache + // If not supplied then task is still used to setup proxy, auth, etc... + // + let version = core.getInput('node-version'); + if (!version) { + version = core.getInput('version'); + } + console.log(`version: ${version}`); + if (version) { + let token = core.getInput('token'); + let auth = !token || isGhes() ? undefined : `token ${token}`; + let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE'; + yield installer.getNode(version, stable, auth); + } + const registryUrl = core.getInput('registry-url'); + const alwaysAuth = core.getInput('always-auth'); + if (registryUrl) { + auth.configAuthentication(registryUrl, alwaysAuth); + } + const matchersPath = path.join(__dirname, '..', '.github'); + console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); + console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`); + console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`); + } + catch (error) { + core.setFailed(error.message); + } + }); +} +exports.run = run; +function isGhes() { + const ghUrl = new url_1.URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); + return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; +} +//# sourceMappingURL=main.js.map + /***/ }), /***/ 202: @@ -4473,7 +4734,7 @@ function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth) { // Export empty node_auth_token so npm doesn't complain about not being able to find it core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX'); } - +//# sourceMappingURL=authutil.js.map /***/ }), @@ -7504,6 +7765,545 @@ function Octokit(plugins, options) { } +/***/ }), + +/***/ 403: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +const url = __webpack_require__(835); +const http = __webpack_require__(605); +const https = __webpack_require__(211); +const pm = __webpack_require__(20); +let tunnel; +var HttpCodes; +(function (HttpCodes) { + HttpCodes[HttpCodes["OK"] = 200] = "OK"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); +var Headers; +(function (Headers) { + Headers["Accept"] = "accept"; + Headers["ContentType"] = "content-type"; +})(Headers = exports.Headers || (exports.Headers = {})); +var MediaTypes; +(function (MediaTypes) { + MediaTypes["ApplicationJson"] = "application/json"; +})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); +/** + * Returns the proxy URL, depending upon the supplied url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ +function getProxyUrl(serverUrl) { + let proxyUrl = pm.getProxyUrl(url.parse(serverUrl)); + return proxyUrl ? proxyUrl.href : ''; +} +exports.getProxyUrl = getProxyUrl; +const HttpRedirectCodes = [ + HttpCodes.MovedPermanently, + HttpCodes.ResourceMoved, + HttpCodes.SeeOther, + HttpCodes.TemporaryRedirect, + HttpCodes.PermanentRedirect +]; +const HttpResponseRetryCodes = [ + HttpCodes.BadGateway, + HttpCodes.ServiceUnavailable, + HttpCodes.GatewayTimeout +]; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return new Promise(async (resolve, reject) => { + let output = Buffer.alloc(0); + this.message.on('data', (chunk) => { + output = Buffer.concat([output, chunk]); + }); + this.message.on('end', () => { + resolve(output.toString()); + }); + }); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + let parsedUrl = url.parse(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + } + get(requestUrl, additionalHeaders) { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + } + del(requestUrl, additionalHeaders) { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + } + post(requestUrl, data, additionalHeaders) { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + } + patch(requestUrl, data, additionalHeaders) { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + } + put(requestUrl, data, additionalHeaders) { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + } + head(requestUrl, additionalHeaders) { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return this.request(verb, requestUrl, stream, additionalHeaders); + } + /** + * Gets a typed object from an endpoint + * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise + */ + async getJson(requestUrl, additionalHeaders = {}) { + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + let res = await this.get(requestUrl, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async postJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.post(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async putJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.put(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async patchJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.patch(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + async request(verb, requestUrl, data, headers) { + if (this._disposed) { + throw new Error('Client has already been disposed.'); + } + let parsedUrl = url.parse(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 + ? this._maxRetries + 1 + : 1; + let numTries = 0; + let response; + while (numTries < maxTries) { + response = await this.requestRaw(info, data); + // Check if it's an authentication challenge + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (let i = 0; i < this.handlers.length; i++) { + if (this.handlers[i].canHandleAuthentication(response)) { + authenticationHandler = this.handlers[i]; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + let parsedRedirectUrl = url.parse(redirectUrl); + if (parsedUrl.protocol == 'https:' && + parsedUrl.protocol != parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + await response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (let header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } + } + } + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = await this.requestRaw(info, data); + redirectsRemaining--; + } + if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + await response.readBody(); + await this._performExponentialBackoff(numTries); + } + } + return response; + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return new Promise((resolve, reject) => { + let callbackForResult = function (err, res) { + if (err) { + reject(err); + } + resolve(res); + }; + this.requestRawWithCallback(info, data, callbackForResult); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + let socket; + if (typeof data === 'string') { + info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + let handleResult = (err, res) => { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + }; + let req = info.httpModule.request(info.options, (msg) => { + let res = new HttpClientResponse(msg); + handleResult(null, res); + }); + req.on('socket', sock => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.end(); + } + handleResult(new Error('Request timeout: ' + info.options.path), null); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err, null); + }); + if (data && typeof data === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof data !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + /** + * Gets an http agent. This function is useful when you need an http agent that handles + * routing through a proxy server - depending upon the url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ + getAgent(serverUrl) { + let parsedUrl = url.parse(serverUrl); + return this._getAgent(parsedUrl); + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port + ? parseInt(info.parsedUrl.port) + : defaultPort; + info.options.path = + (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers['user-agent'] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers) { + this.handlers.forEach(handler => { + handler.prepareRequest(info.options); + }); + } + return info; + } + _mergeHeaders(headers) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); + } + return lowercaseKeys(headers || {}); + } + _getExistingOrDefaultHeader(additionalHeaders, header, _default) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); + let clientHeader; + if (this.requestOptions && this.requestOptions.headers) { + clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; + } + return additionalHeaders[header] || clientHeader || _default; + } + _getAgent(parsedUrl) { + let agent; + let proxyUrl = pm.getProxyUrl(parsedUrl); + let useProxy = proxyUrl && proxyUrl.hostname; + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (this._keepAlive && !useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (!!agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (!!this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + if (useProxy) { + // If using proxy, need tunnel + if (!tunnel) { + tunnel = __webpack_require__(413); + } + const agentOptions = { + maxSockets: maxSockets, + keepAlive: this._keepAlive, + proxy: { + proxyAuth: proxyUrl.auth, + host: proxyUrl.hostname, + port: proxyUrl.port + } + }; + let tunnelAgent; + const overHttps = proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { + const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { + rejectUnauthorized: false + }); + } + return agent; + } + _performExponentialBackoff(retryNumber) { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + } + static dateTimeDeserializer(key, value) { + if (typeof value === 'string') { + let a = new Date(value); + if (!isNaN(a.valueOf())) { + return a; + } + } + return value; + } + async _processResponse(res, options) { + return new Promise(async (resolve, reject) => { + const statusCode = res.message.statusCode; + const response = { + statusCode: statusCode, + result: null, + headers: {} + }; + // not found leads to null obj returned + if (statusCode == HttpCodes.NotFound) { + resolve(response); + } + let obj; + let contents; + // get the result from the body + try { + contents = await res.readBody(); + if (contents && contents.length > 0) { + if (options && options.deserializeDates) { + obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); + } + else { + obj = JSON.parse(contents); + } + response.result = obj; + } + response.headers = res.message.headers; + } + catch (err) { + // Invalid resource (contents not json); leaving result obj null + } + // note that 3xx redirects are handled by the http layer. + if (statusCode > 299) { + let msg; + // if exception/error in body, attempt to get better error + if (obj && obj.message) { + msg = obj.message; + } + else if (contents && contents.length > 0) { + // it may be the case that the exception is in the body message as string + msg = contents; + } + else { + msg = 'Failed request: (' + statusCode + ')'; + } + let err = new Error(msg); + // attach statusCode and body obj (if available) to the error object + err['statusCode'] = statusCode; + if (response.result) { + err['result'] = response.result; + } + reject(err); + } + else { + resolve(response); + } + }); + } +} +exports.HttpClient = HttpClient; + + /***/ }), /***/ 413: @@ -10089,12 +10889,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -const core = __importStar(__webpack_require__(470)); +const core = __importStar(__webpack_require__(902)); const io = __importStar(__webpack_require__(1)); const fs = __importStar(__webpack_require__(747)); +const mm = __importStar(__webpack_require__(31)); const os = __importStar(__webpack_require__(87)); const path = __importStar(__webpack_require__(622)); -const httpm = __importStar(__webpack_require__(539)); +const httpm = __importStar(__webpack_require__(403)); const semver = __importStar(__webpack_require__(280)); const stream = __importStar(__webpack_require__(794)); const util = __importStar(__webpack_require__(669)); @@ -10117,9 +10918,10 @@ const userAgent = 'actions/tool-cache'; * * @param url url of tool to download * @param dest path to download tool + * @param auth authorization header * @returns path to downloaded tool */ -function downloadTool(url, dest) { +function downloadTool(url, dest, auth) { return __awaiter(this, void 0, void 0, function* () { dest = dest || path.join(_getTempDirectory(), v4_1.default()); yield io.mkdirP(path.dirname(dest)); @@ -10130,7 +10932,7 @@ function downloadTool(url, dest) { const maxSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS', 20); const retryHelper = new retry_helper_1.RetryHelper(maxAttempts, minSeconds, maxSeconds); return yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () { - return yield downloadToolAttempt(url, dest || ''); + return yield downloadToolAttempt(url, dest || '', auth); }), (err) => { if (err instanceof HTTPError && err.httpStatusCode) { // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests @@ -10146,7 +10948,7 @@ function downloadTool(url, dest) { }); } exports.downloadTool = downloadTool; -function downloadToolAttempt(url, dest) { +function downloadToolAttempt(url, dest, auth) { return __awaiter(this, void 0, void 0, function* () { if (fs.existsSync(dest)) { throw new Error(`Destination file path ${dest} already exists`); @@ -10155,7 +10957,14 @@ function downloadToolAttempt(url, dest) { const http = new httpm.HttpClient(userAgent, [], { allowRetries: false }); - const response = yield http.get(url); + let headers; + if (auth) { + core.debug('set auth'); + headers = { + authorization: auth + }; + } + const response = yield http.get(url, headers); if (response.message.statusCode !== 200) { const err = new HTTPError(response.message.statusCode); core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`); @@ -10210,9 +11019,10 @@ function extract7z(file, dest, _7zPath) { process.chdir(dest); if (_7zPath) { try { + const logLevel = core.isDebug() ? '-bb1' : '-bb0'; const args = [ 'x', - '-bb1', + logLevel, '-bd', '-sccUTF-8', file @@ -10288,7 +11098,16 @@ function extractTar(file, dest, flags = 'xz') { core.debug(versionOutput.trim()); const isGnuTar = versionOutput.toUpperCase().includes('GNU TAR'); // Initialize args - const args = [flags]; + let args; + if (flags instanceof Array) { + args = flags; + } + else { + args = [flags]; + } + if (core.isDebug() && !flags.includes('v')) { + args.push('-v'); + } let destArg = dest; let fileArg = file; if (IS_WINDOWS && isGnuTar) { @@ -10338,7 +11157,7 @@ function extractZipWin(file, dest) { const escapedDest = dest.replace(/'/g, "''").replace(/"|\n|\r/g, ''); const command = `$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}')`; // run powershell - const powershellPath = yield io.which('powershell'); + const powershellPath = yield io.which('powershell', true); const args = [ '-NoLogo', '-Sta', @@ -10354,8 +11173,12 @@ function extractZipWin(file, dest) { } function extractZipNix(file, dest) { return __awaiter(this, void 0, void 0, function* () { - const unzipPath = yield io.which('unzip'); - yield exec_1.exec(`"${unzipPath}"`, [file], { cwd: dest }); + const unzipPath = yield io.which('unzip', true); + const args = [file]; + if (!core.isDebug()) { + args.unshift('-q'); + } + yield exec_1.exec(`"${unzipPath}"`, args, { cwd: dest }); }); } /** @@ -10483,6 +11306,51 @@ function findAllVersions(toolName, arch) { return versions; } exports.findAllVersions = findAllVersions; +function getManifestFromRepo(owner, repo, auth, branch = 'master') { + return __awaiter(this, void 0, void 0, function* () { + let releases = []; + const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`; + const http = new httpm.HttpClient('tool-cache'); + const headers = {}; + if (auth) { + core.debug('set auth'); + headers.authorization = auth; + } + const response = yield http.getJson(treeUrl, headers); + if (!response.result) { + return releases; + } + let manifestUrl = ''; + for (const item of response.result.tree) { + if (item.path === 'versions-manifest.json') { + manifestUrl = item.url; + break; + } + } + headers['accept'] = 'application/vnd.github.VERSION.raw'; + let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody(); + if (versionsRaw) { + // shouldn't be needed but protects against invalid json saved with BOM + versionsRaw = versionsRaw.replace(/^\uFEFF/, ''); + try { + releases = JSON.parse(versionsRaw); + } + catch (_a) { + core.debug('Invalid json'); + } + } + return releases; + }); +} +exports.getManifestFromRepo = getManifestFromRepo; +function findFromManifest(versionSpec, stable, manifest, archFilter = os.arch()) { + return __awaiter(this, void 0, void 0, function* () { + // wrap the internal impl + const match = yield mm._findMatch(versionSpec, stable, manifest, archFilter); + return match; + }); +} +exports.findFromManifest = findFromManifest; function _createExtractFolder(dest) { return __awaiter(this, void 0, void 0, function* () { if (!dest) { @@ -12096,15 +12964,16 @@ module.exports = require("fs"); /***/ }), /***/ 749: -/***/ (function(__unusedmodule, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; @@ -12116,43 +12985,102 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); +const os = __webpack_require__(87); const assert = __importStar(__webpack_require__(357)); const core = __importStar(__webpack_require__(470)); const hc = __importStar(__webpack_require__(539)); const io = __importStar(__webpack_require__(1)); const tc = __importStar(__webpack_require__(533)); -const os = __importStar(__webpack_require__(87)); const path = __importStar(__webpack_require__(622)); const semver = __importStar(__webpack_require__(280)); -let osPlat = os.platform(); -let osArch = translateArchToDistUrl(os.arch()); -function getNode(versionSpec) { +const fs = __webpack_require__(747); +function getNode(versionSpec, stable, auth) { return __awaiter(this, void 0, void 0, function* () { + let osPlat = os.platform(); + let osArch = translateArchToDistUrl(os.arch()); // check cache let toolPath; toolPath = tc.find('node', versionSpec); // If not found in cache, download - if (!toolPath) { - let version; - const c = semver.clean(versionSpec) || ''; - // If explicit version - if (semver.valid(c) != null) { - // version to download - version = versionSpec; + if (toolPath) { + console.log(`Found in cache @ ${toolPath}`); + } + else { + console.log(`Attempting to download ${versionSpec}...`); + let downloadPath = ''; + let info = null; + // + // Try download from internal distribution (popular versions only) + // + try { + info = yield getInfoFromManifest(versionSpec, stable, auth); + if (info) { + console.log(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); + downloadPath = yield tc.downloadTool(info.downloadUrl, undefined, auth); + } + else { + console.log('Not found in manifest. Falling back to download directly from Node'); + } } - else { - // query nodejs.org for a matching version - version = yield queryLatestMatch(versionSpec); - if (!version) { + catch (err) { + // Rate limit? + if (err instanceof tc.HTTPError && + (err.httpStatusCode === 403 || err.httpStatusCode === 429)) { + console.log(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`); + } + else { + console.log(err.message); + } + core.debug(err.stack); + console.log('Falling back to download directly from Node'); + } + // + // Download from nodejs.org + // + if (!downloadPath) { + info = yield getInfoFromDist(versionSpec); + if (!info) { throw new Error(`Unable to find Node version '${versionSpec}' for platform ${osPlat} and architecture ${osArch}.`); } - // check cache - toolPath = tc.find('node', version); + console.log(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); + try { + downloadPath = yield tc.downloadTool(info.downloadUrl); + } + catch (err) { + if (err instanceof tc.HTTPError && err.httpStatusCode == 404) { + return yield acquireNodeFromFallbackLocation(info.resolvedVersion); + } + throw err; + } } - if (!toolPath) { - // download, extract, cache - toolPath = yield acquireNode(version); + // + // Extract + // + console.log('Extracting ...'); + let extPath; + info = info || {}; // satisfy compiler, never null when reaches here + if (osPlat == 'win32') { + let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe'); + extPath = yield tc.extract7z(downloadPath, undefined, _7zPath); + // 7z extracts to folder matching file name + let nestedPath = path.join(extPath, path.basename(info.fileName, '.7z')); + if (fs.existsSync(nestedPath)) { + extPath = nestedPath; + } } + else { + extPath = yield tc.extractTar(downloadPath, undefined, [ + 'xz', + '--strip', + '1' + ]); + } + // + // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded + // + console.log('Adding to the cache ...'); + toolPath = yield tc.cacheDir(extPath, 'node', info.resolvedVersion); + console.log('Done'); } // // a tool installer initimately knows details about the layout of that tool @@ -12168,40 +13096,44 @@ function getNode(versionSpec) { }); } exports.getNode = getNode; -function queryLatestMatch(versionSpec) { +function getInfoFromManifest(versionSpec, stable, auth) { return __awaiter(this, void 0, void 0, function* () { - // node offers a json list of versions - let dataFileName; - switch (osPlat) { - case 'linux': - dataFileName = `linux-${osArch}`; - break; - case 'darwin': - dataFileName = `osx-${osArch}-tar`; - break; - case 'win32': - dataFileName = `win-${osArch}-exe`; - break; - default: - throw new Error(`Unexpected OS '${osPlat}'`); + let info = null; + const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth); + console.log(`matching ${versionSpec}...`); + const rel = yield tc.findFromManifest(versionSpec, stable, releases); + if (rel && rel.files.length > 0) { + info = {}; + info.resolvedVersion = rel.version; + info.downloadUrl = rel.files[0].download_url; + info.fileName = rel.files[0].filename; } - let versions = []; - let dataUrl = 'https://nodejs.org/dist/index.json'; - let httpClient = new hc.HttpClient('setup-node', [], { - allowRetries: true, - maxRetries: 3 - }); - let response = yield httpClient.getJson(dataUrl); - let nodeVersions = response.result || []; - nodeVersions.forEach((nodeVersion) => { - // ensure this version supports your os and platform - if (nodeVersion.files.indexOf(dataFileName) >= 0) { - versions.push(nodeVersion.version); - } - }); - // get the latest version that matches the version spec - let version = evaluateVersions(versions, versionSpec); - return version; + return info; + }); +} +function getInfoFromDist(versionSpec) { + return __awaiter(this, void 0, void 0, function* () { + let osPlat = os.platform(); + let osArch = translateArchToDistUrl(os.arch()); + let version; + version = yield queryDistForMatch(versionSpec); + if (!version) { + return null; + } + // + // Download - a tool installer intimately knows how to get the tool (and construct urls) + // + version = semver.clean(version) || ''; + let fileName = osPlat == 'win32' + ? `node-v${version}-win-${osArch}` + : `node-v${version}-${osPlat}-${osArch}`; + let urlFileName = osPlat == 'win32' ? `${fileName}.7z` : `${fileName}.tar.gz`; + let url = `https://nodejs.org/dist/v${version}/${urlFileName}`; + return { + downloadUrl: url, + resolvedVersion: version, + fileName: fileName + }; }); } // TODO - should we just export this from @actions/tool-cache? Lifted directly from there @@ -12230,45 +13162,50 @@ function evaluateVersions(versions, versionSpec) { } return version; } -function acquireNode(version) { +function queryDistForMatch(versionSpec) { return __awaiter(this, void 0, void 0, function* () { - // - // Download - a tool installer intimately knows how to get the tool (and construct urls) - // - version = semver.clean(version) || ''; - let fileName = osPlat == 'win32' - ? `node-v${version}-win-${osArch}` - : `node-v${version}-${osPlat}-${osArch}`; - let urlFileName = osPlat == 'win32' ? `${fileName}.7z` : `${fileName}.tar.gz`; - let downloadUrl = `https://nodejs.org/dist/v${version}/${urlFileName}`; - let downloadPath; - try { - downloadPath = yield tc.downloadTool(downloadUrl); + let osPlat = os.platform(); + let osArch = translateArchToDistUrl(os.arch()); + // node offers a json list of versions + let dataFileName; + switch (osPlat) { + case 'linux': + dataFileName = `linux-${osArch}`; + break; + case 'darwin': + dataFileName = `osx-${osArch}-tar`; + break; + case 'win32': + dataFileName = `win-${osArch}-exe`; + break; + default: + throw new Error(`Unexpected OS '${osPlat}'`); } - catch (err) { - if (err instanceof tc.HTTPError && err.httpStatusCode == 404) { - return yield acquireNodeFromFallbackLocation(version); + let versions = []; + let nodeVersions = yield module.exports.getVersionsFromDist(); + nodeVersions.forEach((nodeVersion) => { + // ensure this version supports your os and platform + if (nodeVersion.files.indexOf(dataFileName) >= 0) { + versions.push(nodeVersion.version); } - throw err; - } - // - // Extract - // - let extPath; - if (osPlat == 'win32') { - let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe'); - extPath = yield tc.extract7z(downloadPath, undefined, _7zPath); - } - else { - extPath = yield tc.extractTar(downloadPath); - } - // - // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded - // - let toolRoot = path.join(extPath, fileName); - return yield tc.cacheDir(toolRoot, 'node', version); + }); + // get the latest version that matches the version spec + let version = evaluateVersions(versions, versionSpec); + return version; }); } +function getVersionsFromDist() { + return __awaiter(this, void 0, void 0, function* () { + let dataUrl = 'https://nodejs.org/dist/index.json'; + let httpClient = new hc.HttpClient('setup-node', [], { + allowRetries: true, + maxRetries: 3 + }); + let response = yield httpClient.getJson(dataUrl); + return response.result || []; + }); +} +exports.getVersionsFromDist = getVersionsFromDist; // For non LTS versions of Node, the files we need (for Windows) are sometimes located // in a different folder than they normally are for other versions. // Normally the format is similar to: https://nodejs.org/dist/v5.10.1/node-v5.10.1-win-x64.7z @@ -12283,6 +13220,8 @@ function acquireNode(version) { // and lib file in a folder, not zipped. function acquireNodeFromFallbackLocation(version) { return __awaiter(this, void 0, void 0, function* () { + let osPlat = os.platform(); + let osArch = translateArchToDistUrl(os.arch()); // Create temporary folder to download in to const tempDownloadFolder = 'temp_' + Math.floor(Math.random() * 2000000000); const tempDirectory = process.env['RUNNER_TEMP'] || ''; @@ -12294,6 +13233,7 @@ function acquireNodeFromFallbackLocation(version) { try { exeUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.exe`; libUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.lib`; + console.log(`Downloading only node binary from ${exeUrl}`); const exePath = yield tc.downloadTool(exeUrl); yield io.cp(exePath, path.join(tempDir, 'node.exe')); const libPath = yield tc.downloadTool(libUrl); @@ -12312,7 +13252,9 @@ function acquireNodeFromFallbackLocation(version) { throw err; } } - return yield tc.cacheDir(tempDir, 'node', version); + let toolPath = yield tc.cacheDir(tempDir, 'node', version); + core.addPath(toolPath); + return toolPath; }); } // os.arch does not always match the relative download url, e.g. @@ -12328,7 +13270,7 @@ function translateArchToDistUrl(arch) { return arch; } } - +//# sourceMappingURL=installer.js.map /***/ }), @@ -15056,6 +15998,105 @@ function set(object, path, value) { module.exports = set; +/***/ }), + +/***/ 888: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const os = __importStar(__webpack_require__(87)); +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message = '') { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_STRING = '::'; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_STRING + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + let first = true; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + if (first) { + first = false; + } + else { + cmdStr += ','; + } + cmdStr += `${key}=${escapeProperty(val)}`; + } + } + } + } + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; + return cmdStr; + } +} +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; +function escapeData(s) { + return toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); +} +function escapeProperty(s) { + return toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); +} +//# sourceMappingURL=command.js.map + /***/ }), /***/ 899: @@ -15161,6 +16202,235 @@ function patchForDeprecation(octokit, apiOptions, method, methodName) { } +/***/ }), + +/***/ 902: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const command_1 = __webpack_require__(888); +const os = __importStar(__webpack_require__(87)); +const path = __importStar(__webpack_require__(622)); +/** + * The code to exit an action + */ +var ExitCode; +(function (ExitCode) { + /** + * A code indicating that the action was successful + */ + ExitCode[ExitCode["Success"] = 0] = "Success"; + /** + * A code indicating that the action was a failure + */ + ExitCode[ExitCode["Failure"] = 1] = "Failure"; +})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); +//----------------------------------------------------------------------- +// Variables +//----------------------------------------------------------------------- +/** + * Sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function exportVariable(name, val) { + const convertedVal = command_1.toCommandValue(val); + process.env[name] = convertedVal; + command_1.issueCommand('set-env', { name }, convertedVal); +} +exports.exportVariable = exportVariable; +/** + * Registers a secret which will get masked from logs + * @param secret value of the secret + */ +function setSecret(secret) { + command_1.issueCommand('add-mask', {}, secret); +} +exports.setSecret = setSecret; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +function addPath(inputPath) { + command_1.issueCommand('add-path', {}, inputPath); + process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; +} +exports.addPath = addPath; +/** + * Gets the value of an input. The value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +function getInput(name, options) { + const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; + if (options && options.required && !val) { + throw new Error(`Input required and not supplied: ${name}`); + } + return val.trim(); +} +exports.getInput = getInput; +/** + * Sets the value of an output. + * + * @param name name of the output to set + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function setOutput(name, value) { + command_1.issueCommand('set-output', { name }, value); +} +exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + command_1.issue('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; +//----------------------------------------------------------------------- +// Results +//----------------------------------------------------------------------- +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +function setFailed(message) { + process.exitCode = ExitCode.Failure; + error(message); +} +exports.setFailed = setFailed; +//----------------------------------------------------------------------- +// Logging Commands +//----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; +/** + * Writes debug message to user log + * @param message debug message + */ +function debug(message) { + command_1.issueCommand('debug', {}, message); +} +exports.debug = debug; +/** + * Adds an error issue + * @param message error issue message. Errors will be converted to string via toString() + */ +function error(message) { + command_1.issue('error', message instanceof Error ? message.toString() : message); +} +exports.error = error; +/** + * Adds an warning issue + * @param message warning issue message. Errors will be converted to string via toString() + */ +function warning(message) { + command_1.issue('warning', message instanceof Error ? message.toString() : message); +} +exports.warning = warning; +/** + * Writes info to log with console.log. + * @param message info message + */ +function info(message) { + process.stdout.write(message + os.EOL); +} +exports.info = info; +/** + * Begin an output group. + * + * Output until the next `groupEnd` will be foldable in this group + * + * @param name The name of the output group + */ +function startGroup(name) { + command_1.issue('group', name); +} +exports.startGroup = startGroup; +/** + * End an output group. + */ +function endGroup() { + command_1.issue('endgroup'); +} +exports.endGroup = endGroup; +/** + * Wrap an asynchronous function call in a group. + * + * Returns the same type as the function itself. + * + * @param name The name of the group + * @param fn The function to wrap in the group + */ +function group(name, fn) { + return __awaiter(this, void 0, void 0, function* () { + startGroup(name); + let result; + try { + result = yield fn(); + } + finally { + endGroup(); + } + return result; + }); +} +exports.group = group; +//----------------------------------------------------------------------- +// Wrapper action state +//----------------------------------------------------------------------- +/** + * Saves state for current action, the state can only be retrieved by this action's post job execution. + * + * @param name name of the state to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function saveState(name, value) { + command_1.issueCommand('save-state', { name }, value); +} +exports.saveState = saveState; +/** + * Gets the value of an state set by this action's main execution. + * + * @param name name of the state to get + * @returns string + */ +function getState(name) { + return process.env[`STATE_${name}`] || ''; +} +exports.getState = getState; +//# sourceMappingURL=core.js.map + /***/ }), /***/ 929: @@ -15184,64 +16454,10 @@ function hasNextPage (link) { "use strict"; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const core = __importStar(__webpack_require__(470)); -const exec = __importStar(__webpack_require__(986)); -const installer = __importStar(__webpack_require__(749)); -const auth = __importStar(__webpack_require__(202)); -const path = __importStar(__webpack_require__(622)); -function run() { - return __awaiter(this, void 0, void 0, function* () { - try { - // - // Version is optional. If supplied, install / use from the tool cache - // If not supplied then task is still used to setup proxy, auth, etc... - // - let version = core.getInput('version'); - if (!version) { - version = core.getInput('node-version'); - } - if (version) { - yield installer.getNode(version); - } - // Output version of node and npm that are being used - yield exec.exec('node', ['--version']); - // Older versions of Node don't include npm, so don't let this call fail - yield exec.exec('npm', ['--version'], { - ignoreReturnCode: true - }); - const registryUrl = core.getInput('registry-url'); - const alwaysAuth = core.getInput('always-auth'); - if (registryUrl) { - auth.configAuthentication(registryUrl, alwaysAuth); - } - const matchersPath = path.join(__dirname, '..', '.github'); - console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); - console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}`); - console.log(`##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}`); - } - catch (error) { - core.setFailed(error.message); - } - }); -} -run(); - +const main_1 = __webpack_require__(198); +main_1.run(); +//# sourceMappingURL=setup-node.js.map /***/ }), @@ -15364,7 +16580,7 @@ function validateAuth(auth) { const path = __webpack_require__(622); const childProcess = __webpack_require__(129); -const crossSpawn = __webpack_require__(20); +const crossSpawn = __webpack_require__(108); const stripEof = __webpack_require__(768); const npmRunPath = __webpack_require__(621); const isStream = __webpack_require__(323); @@ -15856,7 +17072,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -const core = __importStar(__webpack_require__(470)); +const core = __importStar(__webpack_require__(902)); /** * Internal class for retries */ @@ -15925,8 +17141,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); -const tr = __webpack_require__(9); +const tr = __importStar(__webpack_require__(9)); /** * Exec a command. * Output will be streamed to the live console. diff --git a/package-lock.json b/package-lock.json index a4b0fc81..be7fec2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "setup-node", - "version": "1.0.0", + "version": "2.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -10,9 +10,9 @@ "integrity": "sha512-IbCx7oefq+Gi6FWbSs2Fnw8VkEI6Y4gvjrYprY3RV//ksq/KPMlClOerJ4jRosyal6zkUIc8R9fS/cpRMlGClg==" }, "@actions/exec": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.3.tgz", - "integrity": "sha512-TogJGnueOmM7ntCi0ASTUj4LapRRtDfj57Ja4IhPmg2fls28uVOPbAn8N+JifaOumN2UG3oEO/Ixek2A4NcYSA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.0.4.tgz", + "integrity": "sha512-4DPChWow9yc9W3WqEbUj8Nr86xkpyE29ZzWjXucHItclLbEW6jr80Zx4nqv18QL6KK65+cifiQZXvnqgTV6oHw==", "requires": { "@actions/io": "^1.0.1" } @@ -40,16 +40,31 @@ "integrity": "sha512-J8KuFqVPr3p6U8W93DOXlXW6zFvrQAJANdS+vw0YhusLIq+bszW8zmK2Fh1C2kDPX8FMvwIl1OUcFgvJoXLbAg==" }, "@actions/tool-cache": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.3.3.tgz", - "integrity": "sha512-AFVyTLcIxusDVI1gMhbZW8m/On7YNJG+xYaxorV+qic+f7lO7h37aT2mfzxqAq7mwHxtP1YlVFNrXe9QDf/bPg==", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-1.5.4.tgz", + "integrity": "sha512-72ijIBM0s/dx2D0eYYxaxaeKWeVatOK8OHPNctJ5cyKjZp1j12egX+nW/N+tnQRNMVxTp9WjudZO5wizUBxC/w==", "requires": { - "@actions/core": "^1.2.0", + "@actions/core": "^1.2.3", "@actions/exec": "^1.0.0", - "@actions/http-client": "^1.0.3", + "@actions/http-client": "^1.0.8", "@actions/io": "^1.0.1", "semver": "^6.1.0", "uuid": "^3.3.2" + }, + "dependencies": { + "@actions/core": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz", + "integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg==" + }, + "@actions/http-client": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.8.tgz", + "integrity": "sha512-G4JjJ6f9Hb3Zvejj+ewLLKLf99ZC+9v+yCxoYf9vSyH+WkzPLB2LuUtRMGNkooMqdugGBFStIKXOuvH1W+EctA==", + "requires": { + "tunnel": "0.0.6" + } + } } }, "@babel/code-frame": { @@ -154,9 +169,9 @@ } }, "@babel/helper-plugin-utils": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", - "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==", + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", "dev": true }, "@babel/helper-split-export-declaration": { @@ -197,12 +212,12 @@ "dev": true }, "@babel/plugin-syntax-object-rest-spread": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz", - "integrity": "sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==", + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "^7.8.0" } }, "@babel/template": { @@ -291,38 +306,358 @@ } }, "@jest/core": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-24.8.0.tgz", - "integrity": "sha512-R9rhAJwCBQzaRnrRgAdVfnglUuATXdwTRsYqs6NMdVcAl5euG8LtWDe+fVkN27YfKVBW61IojVsXKaOmSnqd/A==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz", + "integrity": "sha512-Fogg3s4wlAr1VX7q+rhV9RVnUv5tD7VuWfYy1+whMiWUrvl7U3QJSJyWcDio9Lq2prqYsZaeTv2Rz24pWGkJ2A==", "dev": true, "requires": { "@jest/console": "^24.7.1", - "@jest/reporters": "^24.8.0", - "@jest/test-result": "^24.8.0", - "@jest/transform": "^24.8.0", - "@jest/types": "^24.8.0", + "@jest/reporters": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", "ansi-escapes": "^3.0.0", "chalk": "^2.0.1", "exit": "^0.1.2", "graceful-fs": "^4.1.15", - "jest-changed-files": "^24.8.0", - "jest-config": "^24.8.0", - "jest-haste-map": "^24.8.0", - "jest-message-util": "^24.8.0", + "jest-changed-files": "^24.9.0", + "jest-config": "^24.9.0", + "jest-haste-map": "^24.9.0", + "jest-message-util": "^24.9.0", "jest-regex-util": "^24.3.0", - "jest-resolve-dependencies": "^24.8.0", - "jest-runner": "^24.8.0", - "jest-runtime": "^24.8.0", - "jest-snapshot": "^24.8.0", - "jest-util": "^24.8.0", - "jest-validate": "^24.8.0", - "jest-watcher": "^24.8.0", + "jest-resolve": "^24.9.0", + "jest-resolve-dependencies": "^24.9.0", + "jest-runner": "^24.9.0", + "jest-runtime": "^24.9.0", + "jest-snapshot": "^24.9.0", + "jest-util": "^24.9.0", + "jest-validate": "^24.9.0", + "jest-watcher": "^24.9.0", "micromatch": "^3.1.10", "p-each-series": "^1.0.0", - "pirates": "^4.0.1", "realpath-native": "^1.1.0", "rimraf": "^2.5.4", + "slash": "^2.0.0", "strip-ansi": "^5.0.0" + }, + "dependencies": { + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + } + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + }, + "dependencies": { + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + } + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "diff-sequences": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", + "integrity": "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==", + "dev": true + }, + "expect": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", + "integrity": "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-styles": "^3.2.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-regex-util": "^24.9.0" + }, + "dependencies": { + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + } + } + }, + "jest-diff": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", + "integrity": "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "diff-sequences": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-matcher-utils": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", + "integrity": "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-snapshot": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", + "integrity": "sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^24.9.0", + "chalk": "^2.0.1", + "expect": "^24.9.0", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-resolve": "^24.9.0", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^24.9.0", + "semver": "^6.2.0" + } + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + } + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@jest/environment": { @@ -349,15 +684,15 @@ } }, "@jest/reporters": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-24.8.0.tgz", - "integrity": "sha512-eZ9TyUYpyIIXfYCrw0UHUWUvE35vx5I92HGMgS93Pv7du+GHIzl+/vh8Qj9MCWFK/4TqyttVBPakWMOfZRIfxw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-24.9.0.tgz", + "integrity": "sha512-mu4X0yjaHrffOsWmVLzitKmmmWSQ3GGuefgNscUSWNiUNcEOSEQk9k3pERKEQVBb0Cnn88+UESIsZEMH3o88Gw==", "dev": true, "requires": { - "@jest/environment": "^24.8.0", - "@jest/test-result": "^24.8.0", - "@jest/transform": "^24.8.0", - "@jest/types": "^24.8.0", + "@jest/environment": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", "chalk": "^2.0.1", "exit": "^0.1.2", "glob": "^7.1.2", @@ -365,23 +700,234 @@ "istanbul-lib-instrument": "^3.0.1", "istanbul-lib-report": "^2.0.4", "istanbul-lib-source-maps": "^3.0.1", - "istanbul-reports": "^2.1.1", - "jest-haste-map": "^24.8.0", - "jest-resolve": "^24.8.0", - "jest-runtime": "^24.8.0", - "jest-util": "^24.8.0", + "istanbul-reports": "^2.2.6", + "jest-haste-map": "^24.9.0", + "jest-resolve": "^24.9.0", + "jest-runtime": "^24.9.0", + "jest-util": "^24.9.0", "jest-worker": "^24.6.0", - "node-notifier": "^5.2.1", + "node-notifier": "^5.4.2", "slash": "^2.0.0", "source-map": "^0.6.0", "string-length": "^2.0.0" }, "dependencies": { - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/environment": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", + "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "dev": true, + "requires": { + "@jest/fake-timers": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + }, + "dependencies": { + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + } + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", "dev": true + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -416,15 +962,177 @@ } }, "@jest/test-sequencer": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.8.0.tgz", - "integrity": "sha512-OzL/2yHyPdCHXEzhoBuq37CE99nkme15eHkAzXRVqthreWZamEMA0WoetwstsQBCXABhczpK03JNbc4L01vvLg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz", + "integrity": "sha512-6qqsU4o0kW1dvA95qfNog8v8gkRN9ph6Lz7r96IvZpHdNipP2cBcb07J1Z45mz/VIS01OHJ3pY8T5fUY38tg4A==", "dev": true, "requires": { - "@jest/test-result": "^24.8.0", - "jest-haste-map": "^24.8.0", - "jest-runner": "^24.8.0", - "jest-runtime": "^24.8.0" + "@jest/test-result": "^24.9.0", + "jest-haste-map": "^24.9.0", + "jest-runner": "^24.9.0", + "jest-runtime": "^24.9.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@jest/transform": { @@ -606,9 +1314,9 @@ } }, "@types/babel__core": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.2.tgz", - "integrity": "sha512-cfCCrFmiGY/yq0NuKNxIQvZFy9kY/1immpSpTngOnyIbD4+eJOG5mxphhHDv3CHL9GltO4GcKr54kGBg3RNdbg==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.7.tgz", + "integrity": "sha512-RL62NqSFPCDK2FM1pSDH0scHpJvsXtZNiYlMB73DgPBaG1E38ZYVL+ei5EkWRbr+KC4YNiAUNBnRj+bgwpgjMw==", "dev": true, "requires": { "@babel/parser": "^7.1.0", @@ -619,9 +1327,9 @@ } }, "@types/babel__generator": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.0.2.tgz", - "integrity": "sha512-NHcOfab3Zw4q5sEE2COkpfXjoE7o+PmqD9DQW4koUT3roNxwziUdXGnRndMat/LJNUtePwn1TlP4do3uoe3KZQ==", + "version": "7.6.1", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz", + "integrity": "sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew==", "dev": true, "requires": { "@babel/types": "^7.0.0" @@ -638,9 +1346,9 @@ } }, "@types/babel__traverse": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.7.tgz", - "integrity": "sha512-CeBpmX1J8kWLcDEnI3Cl2Eo6RfbGvzUctA+CjZUhOKDFbLfcr7fc4usEqLNWetrlJd7RhAkyYe2czXop4fICpw==", + "version": "7.0.11", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.11.tgz", + "integrity": "sha512-ddHK5icION5U6q11+tV2f9Mo6CZVuT8GJKld2q9LqHSZbvLbH34Kcu2yFGckZut453+eQU6btIA3RihmnRgI+Q==", "dev": true, "requires": { "@babel/types": "^7.3.0" @@ -709,6 +1417,12 @@ "integrity": "sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw==", "dev": true }, + "@types/yargs-parser": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-15.0.0.tgz", + "integrity": "sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw==", + "dev": true + }, "@zeit/ncc": { "version": "0.21.0", "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.21.0.tgz", @@ -716,21 +1430,21 @@ "dev": true }, "abab": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz", - "integrity": "sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", + "integrity": "sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==", "dev": true }, "acorn": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", - "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", + "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", "dev": true }, "acorn-globals": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.2.tgz", - "integrity": "sha512-BbzvZhVtZP+Bs1J1HcwrQe8ycfO0wStkSGxuul3He3GkHOIZ6eTqOkPuw9IP1X3+IkOo4wiJmwkobzXYz4wewQ==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", + "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==", "dev": true, "requires": { "acorn": "^6.0.1", @@ -746,18 +1460,18 @@ } }, "acorn-walk": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.1.tgz", - "integrity": "sha512-OtUw6JUTgxA2QoqqmrmQ7F2NYqiBPi/L2jqHyFtllhOUvXYQXf0Z1CYUinIfyT4bTCGmrA7gX9FvHA81uzCoVw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", + "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==", "dev": true }, "ajv": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz", - "integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==", + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", "dev": true, "requires": { - "fast-deep-equal": "^2.0.1", + "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" @@ -852,9 +1566,9 @@ "dev": true }, "async-limiter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", - "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", "dev": true }, "asynckit": { @@ -881,31 +1595,215 @@ "dev": true }, "aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz", + "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==", "dev": true }, "babel-jest": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.8.0.tgz", - "integrity": "sha512-+5/kaZt4I9efoXzPlZASyK/lN9qdRKmmUav9smVc0ruPQD7IsfucQ87gpOE8mn2jbDuS6M/YOW6n3v9ZoIfgnw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz", + "integrity": "sha512-ntuddfyiN+EhMw58PTNL1ph4C9rECiQXjI4nMMBKBaNjXvqLdkXpPRcMSr4iyBrJg/+wz9brFUD6RhOAT6r4Iw==", "dev": true, "requires": { - "@jest/transform": "^24.8.0", - "@jest/types": "^24.8.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", "@types/babel__core": "^7.1.0", "babel-plugin-istanbul": "^5.1.0", - "babel-preset-jest": "^24.6.0", + "babel-preset-jest": "^24.9.0", "chalk": "^2.4.2", "slash": "^2.0.0" }, "dependencies": { - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", "dev": true + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -921,22 +1819,22 @@ } }, "babel-plugin-jest-hoist": { - "version": "24.6.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.6.0.tgz", - "integrity": "sha512-3pKNH6hMt9SbOv0F3WVmy5CWQ4uogS3k0GY5XLyQHJ9EGpAT9XWkFd2ZiXXtkwFHdAHa5j7w7kfxSP5lAIwu7w==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz", + "integrity": "sha512-2EMA2P8Vp7lG0RAzr4HXqtYwacfMErOuv1U3wrvxHX6rD1sV6xS3WXG3r8TRQ2r6w8OhvSdWt+z41hQNwNm3Xw==", "dev": true, "requires": { "@types/babel__traverse": "^7.0.6" } }, "babel-preset-jest": { - "version": "24.6.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz", - "integrity": "sha512-pdZqLEdmy1ZK5kyRUfvBb2IfTPb2BUvIJczlPspS8fWmBQslNNDBqVfh7BW5leOVJMDZKzjD8XEyABTk6gQ5yw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz", + "integrity": "sha512-izTUuhE4TMfTRPF92fFwD2QfdXaZW08qvWTFCI51V8rW5x00UuPgc3ajRoWofXOuxjfcOM5zzSYsQS3H8KGCAg==", "dev": true, "requires": { "@babel/plugin-syntax-object-rest-spread": "^7.0.0", - "babel-plugin-jest-hoist": "^24.6.0" + "babel-plugin-jest-hoist": "^24.9.0" } }, "balanced-match": { @@ -1054,9 +1952,9 @@ } }, "browser-process-hrtime": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==", "dev": true }, "browser-resolve": { @@ -1122,6 +2020,12 @@ "unset-value": "^1.0.0" } }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", @@ -1184,31 +2088,14 @@ } }, "cliui": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", "dev": true, "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" } }, "co": { @@ -1217,12 +2104,6 @@ "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", "dev": true }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true - }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -1257,13 +2138,6 @@ "delayed-stream": "~1.0.0" } }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "optional": true - }, "component-emitter": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", @@ -1317,15 +2191,15 @@ } }, "cssom": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.6.tgz", - "integrity": "sha512-DtUeseGk9/GBW0hl0vVPpU22iHL6YB5BUX7ml1hB+GMpo0NX5G4voX3kdWiMSEguFtcW3Vh3djqNF4aIe6ne0A==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", "dev": true }, "cssstyle": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.2.2.tgz", - "integrity": "sha512-43wY3kl1CVQSvL7wUY1qXkxVGkStjpkDmVjiIKX8R97uhajy8Bybay78uOtqvh7Q5GK75dNPfW0geWjE6qQQow==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz", + "integrity": "sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA==", "dev": true, "requires": { "cssom": "0.3.x" @@ -1352,9 +2226,9 @@ }, "dependencies": { "whatwg-url": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz", - "integrity": "sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", "dev": true, "requires": { "lodash.sortby": "^4.7.0", @@ -1483,6 +2357,12 @@ "safer-buffer": "^2.1.0" } }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, "end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", @@ -1532,30 +2412,28 @@ "dev": true }, "escodegen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.1.tgz", - "integrity": "sha512-JwiqFD9KdGVVpeuRa68yU3zZnBEOcPs0nKW7wZzXky8Z7tffdYUHbe11bPCV5jYlK6DVdKLWLm0f5I/QlL0Kmw==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.1.tgz", + "integrity": "sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ==", "dev": true, "requires": { - "esprima": "^3.1.3", + "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", "optionator": "^0.8.1", "source-map": "~0.6.1" - }, - "dependencies": { - "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", - "dev": true - } } }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, "estraverse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true }, "esutils": { @@ -1738,9 +2616,9 @@ "dev": true }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", "dev": true }, "fast-json-stable-stringify": { @@ -2389,9 +3267,9 @@ "dev": true }, "get-caller-file": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, "get-stream": { @@ -2449,18 +3327,6 @@ "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", "dev": true }, - "handlebars": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.3.tgz", - "integrity": "sha512-SRGwSYuNfx8DwHD/6InAPzD6RgeruWLT+B8e8a7gGs8FWgHzlExpTFMEq2IA6QpAfOClpKHy6+8IqTjeBCu6Kg==", - "dev": true, - "requires": { - "neo-async": "^2.6.0", - "optimist": "^0.6.1", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4" - } - }, "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", @@ -2545,6 +3411,12 @@ "whatwg-encoding": "^1.0.1" } }, + "html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -2573,17 +3445,6 @@ "requires": { "pkg-dir": "^3.0.0", "resolve-cwd": "^2.0.0" - }, - "dependencies": { - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - } } }, "imurmurhash": { @@ -2617,12 +3478,6 @@ "loose-envify": "^1.0.0" } }, - "invert-kv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", - "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", - "dev": true - }, "is-accessor-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", @@ -2900,56 +3755,187 @@ } }, "istanbul-reports": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.6.tgz", - "integrity": "sha512-SKi4rnMyLBKe0Jy2uUdx28h8oG7ph2PPuQPvIAh31d+Ci+lSiEu4C+h3oBPuJ9+mPKhOyW0M8gY4U5NM1WLeXA==", + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.7.tgz", + "integrity": "sha512-uu1F/L1o5Y6LzPVSVZXNOoD/KXpJue9aeLRd0sM9uMXfZvzomB0WxVamWb5ue8kA2vVWEmW7EG+A5n3f1kqHKg==", "dev": true, "requires": { - "handlebars": "^4.1.2" + "html-escaper": "^2.0.0" } }, "jest": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-24.8.0.tgz", - "integrity": "sha512-o0HM90RKFRNWmAWvlyV8i5jGZ97pFwkeVoGvPW1EtLTgJc2+jcuqcbbqcSZLE/3f2S5pt0y2ZBETuhpWNl1Reg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-24.9.0.tgz", + "integrity": "sha512-YvkBL1Zm7d2B1+h5fHEOdyjCG+sGMz4f8D86/0HiqJ6MB4MnDc8FgP5vdWsGnemOQro7lnYo8UakZ3+5A0jxGw==", "dev": true, "requires": { "import-local": "^2.0.0", - "jest-cli": "^24.8.0" + "jest-cli": "^24.9.0" }, "dependencies": { - "jest-cli": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-24.8.0.tgz", - "integrity": "sha512-+p6J00jSMPQ116ZLlHJJvdf8wbjNbZdeSX9ptfHX06/MSNaXmKihQzx5vQcw0q2G6JsdVkUIdWbOWtSnaYs3yA==", + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", "dev": true, "requires": { - "@jest/core": "^24.8.0", - "@jest/test-result": "^24.8.0", - "@jest/types": "^24.8.0", + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-cli": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-24.9.0.tgz", + "integrity": "sha512-+VLRKyitT3BWoMeSUIHRxV/2g8y9gw91Jh5z2UmXZzkZKpbC08CSehVxgHUwTpy+HwGcns/tqafQDJW7imYvGg==", + "dev": true, + "requires": { + "@jest/core": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", "chalk": "^2.0.1", "exit": "^0.1.2", "import-local": "^2.0.0", "is-ci": "^2.0.0", - "jest-config": "^24.8.0", - "jest-util": "^24.8.0", - "jest-validate": "^24.8.0", + "jest-config": "^24.9.0", + "jest-util": "^24.9.0", + "jest-validate": "^24.9.0", "prompts": "^2.0.1", "realpath-native": "^1.1.0", - "yargs": "^12.0.2" + "yargs": "^13.3.0" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" } } } }, "jest-changed-files": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.8.0.tgz", - "integrity": "sha512-qgANC1Yrivsq+UrLXsvJefBKVoCsKB0Hv+mBb6NMjjZ90wwxCDmU3hsCXBya30cH+LnPYjwgcU65i6yJ5Nfuug==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.9.0.tgz", + "integrity": "sha512-6aTWpe2mHF0DhL28WjdkO8LyGjs3zItPET4bMSeXU6T3ub4FPMw+mcOcbdGXQOAfmLcxofD23/5Bl9Z4AkFwqg==", "dev": true, "requires": { - "@jest/types": "^24.8.0", + "@jest/types": "^24.9.0", "execa": "^1.0.0", "throat": "^4.0.0" + }, + "dependencies": { + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + } } }, "jest-circus": { @@ -2977,28 +3963,170 @@ } }, "jest-config": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-24.8.0.tgz", - "integrity": "sha512-Czl3Nn2uEzVGsOeaewGWoDPD8GStxCpAe0zOYs2x2l0fZAgPbCr3uwUkgNKV3LwE13VXythM946cd5rdGkkBZw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-24.9.0.tgz", + "integrity": "sha512-RATtQJtVYQrp7fvWg6f5y3pEFj9I+H8sWw4aKxnDZ96mob5i5SD6ZEGWgMLXQ4LE8UurrjbdlLWdUeo+28QpfQ==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^24.8.0", - "@jest/types": "^24.8.0", - "babel-jest": "^24.8.0", + "@jest/test-sequencer": "^24.9.0", + "@jest/types": "^24.9.0", + "babel-jest": "^24.9.0", "chalk": "^2.0.1", "glob": "^7.1.1", - "jest-environment-jsdom": "^24.8.0", - "jest-environment-node": "^24.8.0", - "jest-get-type": "^24.8.0", - "jest-jasmine2": "^24.8.0", + "jest-environment-jsdom": "^24.9.0", + "jest-environment-node": "^24.9.0", + "jest-get-type": "^24.9.0", + "jest-jasmine2": "^24.9.0", "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.8.0", - "jest-util": "^24.8.0", - "jest-validate": "^24.8.0", + "jest-resolve": "^24.9.0", + "jest-util": "^24.9.0", + "jest-validate": "^24.9.0", "micromatch": "^3.1.10", - "pretty-format": "^24.8.0", + "pretty-format": "^24.9.0", "realpath-native": "^1.1.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + } } }, "jest-diff": { @@ -3014,9 +4142,9 @@ } }, "jest-docblock": { - "version": "24.3.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.3.0.tgz", - "integrity": "sha512-nlANmF9Yq1dufhFlKG9rasfQlrY7wINJbo3q01tu56Jv5eBU5jirylhF2O5ZBnLxzOVBGRDz/9NAwNyBtG4Nyg==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz", + "integrity": "sha512-F1DjdpDMJMA1cN6He0FNYNZlo3yYmOtRUnktrT9Q37njYzC5WEaDdmbynIgy0L/IvXvvgsG8OsqhLPXTpfmZAA==", "dev": true, "requires": { "detect-newline": "^2.1.0" @@ -3036,30 +4164,438 @@ } }, "jest-environment-jsdom": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.8.0.tgz", - "integrity": "sha512-qbvgLmR7PpwjoFjM/sbuqHJt/NCkviuq9vus9NBn/76hhSidO+Z6Bn9tU8friecegbJL8gzZQEMZBQlFWDCwAQ==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz", + "integrity": "sha512-Zv9FV9NBRzLuALXjvRijO2351DRQeLYXtpD4xNvfoVFw21IOKNhZAEUKcbiEtjTkm2GsJ3boMVgkaR7rN8qetA==", "dev": true, "requires": { - "@jest/environment": "^24.8.0", - "@jest/fake-timers": "^24.8.0", - "@jest/types": "^24.8.0", - "jest-mock": "^24.8.0", - "jest-util": "^24.8.0", + "@jest/environment": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0", + "jest-util": "^24.9.0", "jsdom": "^11.5.1" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/environment": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", + "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "dev": true, + "requires": { + "@jest/fake-timers": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "jest-environment-node": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.8.0.tgz", - "integrity": "sha512-vIGUEScd1cdDgR6sqn2M08sJTRLQp6Dk/eIkCeO4PFHxZMOgy+uYLPMC4ix3PEfM5Au/x3uQ/5Tl0DpXXZsJ/Q==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.9.0.tgz", + "integrity": "sha512-6d4V2f4nxzIzwendo27Tr0aFm+IXWa0XEUnaH6nU0FMaozxovt+sfRvh4J47wL1OvF83I3SSTu0XK+i4Bqe7uA==", "dev": true, "requires": { - "@jest/environment": "^24.8.0", - "@jest/fake-timers": "^24.8.0", - "@jest/types": "^24.8.0", - "jest-mock": "^24.8.0", - "jest-util": "^24.8.0" + "@jest/environment": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0", + "jest-util": "^24.9.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/environment": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", + "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "dev": true, + "requires": { + "@jest/fake-timers": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "jest-get-type": { @@ -3089,36 +4625,396 @@ } }, "jest-jasmine2": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.8.0.tgz", - "integrity": "sha512-cEky88npEE5LKd5jPpTdDCLvKkdyklnaRycBXL6GNmpxe41F0WN44+i7lpQKa/hcbXaQ+rc9RMaM4dsebrYong==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz", + "integrity": "sha512-Cq7vkAgaYKp+PsX+2/JbTarrk0DmNhsEtqBXNwUHkdlbrTBLtMJINADf2mf5FkowNsq8evbPc07/qFO0AdKTzw==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", - "@jest/environment": "^24.8.0", - "@jest/test-result": "^24.8.0", - "@jest/types": "^24.8.0", + "@jest/environment": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", "chalk": "^2.0.1", "co": "^4.6.0", - "expect": "^24.8.0", + "expect": "^24.9.0", "is-generator-fn": "^2.0.0", - "jest-each": "^24.8.0", - "jest-matcher-utils": "^24.8.0", - "jest-message-util": "^24.8.0", - "jest-runtime": "^24.8.0", - "jest-snapshot": "^24.8.0", - "jest-util": "^24.8.0", - "pretty-format": "^24.8.0", + "jest-each": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-runtime": "^24.9.0", + "jest-snapshot": "^24.9.0", + "jest-util": "^24.9.0", + "pretty-format": "^24.9.0", "throat": "^4.0.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/environment": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", + "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "dev": true, + "requires": { + "@jest/fake-timers": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "diff-sequences": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", + "integrity": "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==", + "dev": true + }, + "expect": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", + "integrity": "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-styles": "^3.2.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-regex-util": "^24.9.0" + } + }, + "jest-diff": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", + "integrity": "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "diff-sequences": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-each": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz", + "integrity": "sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "chalk": "^2.0.1", + "jest-get-type": "^24.9.0", + "jest-util": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-matcher-utils": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", + "integrity": "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-snapshot": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", + "integrity": "sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^24.9.0", + "chalk": "^2.0.1", + "expect": "^24.9.0", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-resolve": "^24.9.0", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^24.9.0", + "semver": "^6.2.0" + } + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "jest-leak-detector": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.8.0.tgz", - "integrity": "sha512-cG0yRSK8A831LN8lIHxI3AblB40uhv0z+SsQdW3GoMMVcK+sJwrIIyax5tu3eHHNJ8Fu6IMDpnLda2jhn2pD/g==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz", + "integrity": "sha512-tYkFIDsiKTGwb2FG1w8hX9V0aUb2ot8zY/2nFg087dUageonw1zrLMP4W6zsRO59dPkTSKie+D4rhMuP9nRmrA==", "dev": true, "requires": { - "pretty-format": "^24.8.0" + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + }, + "dependencies": { + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + } } }, "jest-matcher-utils": { @@ -3192,79 +5088,828 @@ } }, "jest-resolve-dependencies": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.8.0.tgz", - "integrity": "sha512-hyK1qfIf/krV+fSNyhyJeq3elVMhK9Eijlwy+j5jqmZ9QsxwKBiP6qukQxaHtK8k6zql/KYWwCTQ+fDGTIJauw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz", + "integrity": "sha512-Fm7b6AlWnYhT0BXy4hXpactHIqER7erNgIsIozDXWl5dVm+k8XdGVe1oTg1JyaFnOxarMEbax3wyRJqGP2Pq+g==", "dev": true, "requires": { - "@jest/types": "^24.8.0", + "@jest/types": "^24.9.0", "jest-regex-util": "^24.3.0", - "jest-snapshot": "^24.8.0" + "jest-snapshot": "^24.9.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "diff-sequences": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", + "integrity": "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==", + "dev": true + }, + "expect": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", + "integrity": "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-styles": "^3.2.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-regex-util": "^24.9.0" + }, + "dependencies": { + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + } + } + }, + "jest-diff": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", + "integrity": "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "diff-sequences": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "jest-matcher-utils": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", + "integrity": "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-snapshot": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", + "integrity": "sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^24.9.0", + "chalk": "^2.0.1", + "expect": "^24.9.0", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-resolve": "^24.9.0", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^24.9.0", + "semver": "^6.2.0" + } + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } } }, "jest-runner": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-24.8.0.tgz", - "integrity": "sha512-utFqC5BaA3JmznbissSs95X1ZF+d+4WuOWwpM9+Ak356YtMhHE/GXUondZdcyAAOTBEsRGAgH/0TwLzfI9h7ow==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-24.9.0.tgz", + "integrity": "sha512-KksJQyI3/0mhcfspnxxEOBueGrd5E4vV7ADQLT9ESaCzz02WnbdbKWIf5Mkaucoaj7obQckYPVX6JJhgUcoWWg==", "dev": true, "requires": { "@jest/console": "^24.7.1", - "@jest/environment": "^24.8.0", - "@jest/test-result": "^24.8.0", - "@jest/types": "^24.8.0", + "@jest/environment": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", "chalk": "^2.4.2", "exit": "^0.1.2", "graceful-fs": "^4.1.15", - "jest-config": "^24.8.0", + "jest-config": "^24.9.0", "jest-docblock": "^24.3.0", - "jest-haste-map": "^24.8.0", - "jest-jasmine2": "^24.8.0", - "jest-leak-detector": "^24.8.0", - "jest-message-util": "^24.8.0", - "jest-resolve": "^24.8.0", - "jest-runtime": "^24.8.0", - "jest-util": "^24.8.0", + "jest-haste-map": "^24.9.0", + "jest-jasmine2": "^24.9.0", + "jest-leak-detector": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-resolve": "^24.9.0", + "jest-runtime": "^24.9.0", + "jest-util": "^24.9.0", "jest-worker": "^24.6.0", "source-map-support": "^0.5.6", "throat": "^4.0.0" + }, + "dependencies": { + "@jest/environment": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", + "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "dev": true, + "requires": { + "@jest/fake-timers": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + } + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + }, + "dependencies": { + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + } + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + } + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "jest-runtime": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.8.0.tgz", - "integrity": "sha512-Mq0aIXhvO/3bX44ccT+czU1/57IgOMyy80oM0XR/nyD5zgBcesF84BPabZi39pJVA6UXw+fY2Q1N+4BiVUBWOA==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.9.0.tgz", + "integrity": "sha512-8oNqgnmF3v2J6PVRM2Jfuj8oX3syKmaynlDMMKQ4iyzbQzIG6th5ub/lM2bCMTmoTKM3ykcUYI2Pw9xwNtjMnw==", "dev": true, "requires": { "@jest/console": "^24.7.1", - "@jest/environment": "^24.8.0", + "@jest/environment": "^24.9.0", "@jest/source-map": "^24.3.0", - "@jest/transform": "^24.8.0", - "@jest/types": "^24.8.0", - "@types/yargs": "^12.0.2", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/yargs": "^13.0.0", "chalk": "^2.0.1", "exit": "^0.1.2", "glob": "^7.1.3", "graceful-fs": "^4.1.15", - "jest-config": "^24.8.0", - "jest-haste-map": "^24.8.0", - "jest-message-util": "^24.8.0", - "jest-mock": "^24.8.0", + "jest-config": "^24.9.0", + "jest-haste-map": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0", "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.8.0", - "jest-snapshot": "^24.8.0", - "jest-util": "^24.8.0", - "jest-validate": "^24.8.0", + "jest-resolve": "^24.9.0", + "jest-snapshot": "^24.9.0", + "jest-util": "^24.9.0", + "jest-validate": "^24.9.0", "realpath-native": "^1.1.0", "slash": "^2.0.0", "strip-bom": "^3.0.0", - "yargs": "^12.0.2" + "yargs": "^13.3.0" }, "dependencies": { - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "@jest/environment": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", + "integrity": "sha512-5A1QluTPhvdIPFYnO3sZC3smkNeXPVELz7ikPbhUj0bQjB07EoE9qtLrem14ZUYWdVayYbsjVwIiL4WBIMV4aQ==", + "dev": true, + "requires": { + "@jest/fake-timers": "^24.9.0", + "@jest/transform": "^24.9.0", + "@jest/types": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + } + } + }, + "@jest/transform": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", + "integrity": "sha512-TcQUmyNRxV94S0QpMOnZl0++6RMiqpbH/ZMccFB/amku6Uwvyb1cjYX7xkp5nGNkbX4QPH/FcB6q1HBTHynLmQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^24.9.0", + "babel-plugin-istanbul": "^5.1.0", + "chalk": "^2.0.1", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.1.15", + "jest-haste-map": "^24.9.0", + "jest-regex-util": "^24.9.0", + "jest-util": "^24.9.0", + "micromatch": "^3.1.10", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^2.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "2.4.1" + }, + "dependencies": { + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + } + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "diff-sequences": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", + "integrity": "sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew==", "dev": true + }, + "expect": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", + "integrity": "sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-styles": "^3.2.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-regex-util": "^24.9.0" + }, + "dependencies": { + "jest-regex-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", + "integrity": "sha512-05Cmb6CuxaA+Ys6fjr3PhvV3bGQmO+2p2La4hFbU+W5uOc479f7FdLXUWXw4pYMAhhSZIuKHwSXSu6CsSBAXQA==", + "dev": true + } + } + }, + "jest-diff": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", + "integrity": "sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "diff-sequences": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "jest-haste-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", + "integrity": "sha512-kfVFmsuWui2Sj1Rp1AJ4D9HqJwE4uwTlS/vO+eRUaMmd54BFpli2XhMQnPC2k4cHFVbB2Q2C+jtI1AGLgEnCjQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "anymatch": "^2.0.0", + "fb-watchman": "^2.0.0", + "fsevents": "^1.2.7", + "graceful-fs": "^4.1.15", + "invariant": "^2.2.4", + "jest-serializer": "^24.9.0", + "jest-util": "^24.9.0", + "jest-worker": "^24.9.0", + "micromatch": "^3.1.10", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-matcher-utils": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", + "integrity": "sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "pretty-format": "^24.9.0" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-resolve": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", + "integrity": "sha512-TaLeLVL1l08YFZAt3zaPtjiVvyy4oSA6CRe+0AFPPVX3Q/VI0giIWWoAvoS5L96vj9Dqxj4fB5p2qrHCmTU/MQ==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "browser-resolve": "^1.11.3", + "chalk": "^2.0.1", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } + }, + "jest-serializer": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", + "integrity": "sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==", + "dev": true + }, + "jest-snapshot": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", + "integrity": "sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^24.9.0", + "chalk": "^2.0.1", + "expect": "^24.9.0", + "jest-diff": "^24.9.0", + "jest-get-type": "^24.9.0", + "jest-matcher-utils": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-resolve": "^24.9.0", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^24.9.0", + "semver": "^6.2.0" + } + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + } + } + }, + "jest-worker": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", + "integrity": "sha512-51PE4haMSXcHohnSMdM42anbvZANYTqMrr52tVKPqqsPJMzoP6FYYDVqahX/HrAoKEKz3uUPzSvKs9A3qR4iVw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^6.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -3337,32 +5982,183 @@ } }, "jest-validate": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-24.8.0.tgz", - "integrity": "sha512-+/N7VOEMW1Vzsrk3UWBDYTExTPwf68tavEPKDnJzrC6UlHtUDU/fuEdXqFoHzv9XnQ+zW6X3qMZhJ3YexfeLDA==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-24.9.0.tgz", + "integrity": "sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ==", "dev": true, "requires": { - "@jest/types": "^24.8.0", - "camelcase": "^5.0.0", + "@jest/types": "^24.9.0", + "camelcase": "^5.3.1", "chalk": "^2.0.1", - "jest-get-type": "^24.8.0", - "leven": "^2.1.0", - "pretty-format": "^24.8.0" + "jest-get-type": "^24.9.0", + "leven": "^3.1.0", + "pretty-format": "^24.9.0" + }, + "dependencies": { + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-get-type": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", + "integrity": "sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==", + "dev": true + }, + "pretty-format": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", + "integrity": "sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "ansi-regex": "^4.0.0", + "ansi-styles": "^3.2.0", + "react-is": "^16.8.4" + } + } } }, "jest-watcher": { - "version": "24.8.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.8.0.tgz", - "integrity": "sha512-SBjwHt5NedQoVu54M5GEx7cl7IGEFFznvd/HNT8ier7cCAx/Qgu9ZMlaTQkvK22G1YOpcWBLQPFSImmxdn3DAw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.9.0.tgz", + "integrity": "sha512-+/fLOfKPXXYJDYlks62/4R4GoT+GU1tYZed99JSCOsmzkkF7727RqKrjNAxtfO4YpGv11wybgRvCjR73lK2GZw==", "dev": true, "requires": { - "@jest/test-result": "^24.8.0", - "@jest/types": "^24.8.0", - "@types/yargs": "^12.0.9", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/yargs": "^13.0.0", "ansi-escapes": "^3.0.0", "chalk": "^2.0.1", - "jest-util": "^24.8.0", + "jest-util": "^24.9.0", "string-length": "^2.0.0" + }, + "dependencies": { + "@jest/console": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", + "integrity": "sha512-Zuj6b8TnKXi3q4ymac8EQfc3ea/uhLeCGThFqXeC8H9/raaH8ARPUTdId+XyGd03Z4In0/VjD2OYFcBF09fNLQ==", + "dev": true, + "requires": { + "@jest/source-map": "^24.9.0", + "chalk": "^2.0.1", + "slash": "^2.0.0" + } + }, + "@jest/fake-timers": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", + "integrity": "sha512-eWQcNa2YSwzXWIMC5KufBh3oWRIijrQFROsIqt6v/NS9Io/gknw1jsAC9c+ih/RQX4A3O7SeWAhQeN0goKhT9A==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0", + "jest-message-util": "^24.9.0", + "jest-mock": "^24.9.0" + } + }, + "@jest/source-map": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", + "integrity": "sha512-/Xw7xGlsZb4MJzNDgB7PW5crou5JqWiBQaz6xyPd3ArOg2nfn/PunV8+olXbbEZzNl591o5rWKE9BRDaFAuIBg==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.1.15", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", + "integrity": "sha512-XEFrHbBonBJ8dGp2JmF8kP/nQI/ImPpygKHwQ/SY+es59Z3L5PI4Qb9TQQMAEeYsThG1xF0k6tmG0tIKATNiiA==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/istanbul-lib-coverage": "^2.0.0" + } + }, + "@jest/types": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", + "integrity": "sha512-XKK7ze1apu5JWQ5eZjHITP66AX+QsLlbaJRBGYr8pNzwcAE2JVkwnf0yqjHTsDRcjR0mujy/NmZMXw5kl+kGBw==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^13.0.0" + } + }, + "@types/yargs": { + "version": "13.0.8", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.8.tgz", + "integrity": "sha512-XAvHLwG7UQ+8M4caKIH0ZozIOYay5fQkAgyIXegXT9jPtdIGdhga+sUEdAr1CiG46aB+c64xQEYyEzlwWVTNzA==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "jest-message-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", + "integrity": "sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^2.0.1", + "micromatch": "^3.1.10", + "slash": "^2.0.0", + "stack-utils": "^1.0.1" + } + }, + "jest-mock": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", + "integrity": "sha512-3BEYN5WbSq9wd+SyLDES7AHnjH9A/ROBwmz7l2y+ol+NtSFO8DYiEBzoO1CeFc9a8DYy10EO4dDFVv/wN3zl1w==", + "dev": true, + "requires": { + "@jest/types": "^24.9.0" + } + }, + "jest-util": { + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", + "integrity": "sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==", + "dev": true, + "requires": { + "@jest/console": "^24.9.0", + "@jest/fake-timers": "^24.9.0", + "@jest/source-map": "^24.9.0", + "@jest/test-result": "^24.9.0", + "@jest/types": "^24.9.0", + "callsites": "^3.0.0", + "chalk": "^2.0.1", + "graceful-fs": "^4.1.15", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1", + "slash": "^2.0.0", + "source-map": "^0.6.0" + } + } } }, "jest-worker": { @@ -3495,15 +6291,6 @@ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true }, - "lcid": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", - "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", - "dev": true, - "requires": { - "invert-kv": "^2.0.0" - } - }, "left-pad": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", @@ -3511,9 +6298,9 @@ "dev": true }, "leven": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", - "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true }, "levn": { @@ -3559,6 +6346,12 @@ "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, "lodash.set": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/lodash.set/-/lodash.set-4.3.2.tgz", @@ -3606,17 +6399,17 @@ "dev": true }, "semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true } } }, "make-error": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz", - "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", "dev": true }, "makeerror": { @@ -3628,15 +6421,6 @@ "tmpl": "1.0.x" } }, - "map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dev": true, - "requires": { - "p-defer": "^1.0.0" - } - }, "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -3652,17 +6436,6 @@ "object-visit": "^1.0.0" } }, - "mem": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz", - "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", - "dev": true, - "requires": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" - } - }, "merge-stream": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz", @@ -3694,26 +6467,20 @@ } }, "mime-db": { - "version": "1.40.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", - "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", "dev": true }, "mime-types": { - "version": "2.1.24", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", - "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", + "version": "2.1.27", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", "dev": true, "requires": { - "mime-db": "1.40.0" + "mime-db": "1.44.0" } }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -3805,12 +6572,6 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "neo-async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", - "dev": true - }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", @@ -3834,9 +6595,9 @@ "dev": true }, "node-notifier": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.0.tgz", - "integrity": "sha512-SUDEb+o71XR5lXSTyivXd9J7fCloE3SyP4lSgt3lU2oSANiox+SxlNRGPjDKrwU1YN3ix2KN/VGGCg0t01rttQ==", + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz", + "integrity": "sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q==", "dev": true, "requires": { "growly": "^1.3.0", @@ -3847,9 +6608,9 @@ }, "dependencies": { "semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true } } @@ -3891,16 +6652,10 @@ "path-key": "^2.0.0" } }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, "nwsapi": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.1.4.tgz", - "integrity": "sha512-iGfd9Y6SFdTNldEy2L0GUhcarIutFmk+MPWIn9dmj8NMIup03G08uUF2KGbbmv/Ux4RT0VZJoP/sVbWA6d/VIw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", + "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", "dev": true }, "oauth-sign": { @@ -3987,55 +6742,18 @@ "wrappy": "1" } }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "dev": true, - "requires": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - }, - "dependencies": { - "minimist": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", - "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", - "dev": true - } - } - }, "optionator": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, "requires": { "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", + "fast-levenshtein": "~2.0.6", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", - "wordwrap": "~1.0.0" - }, - "dependencies": { - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true - } - } - }, - "os-locale": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", - "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", - "dev": true, - "requires": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" + "word-wrap": "~1.2.3" } }, "os-name": { @@ -4047,12 +6765,6 @@ "windows-release": "^3.1.0" } }, - "p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "dev": true - }, "p-each-series": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz", @@ -4067,12 +6779,6 @@ "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" }, - "p-is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", - "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", - "dev": true - }, "p-limit": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz", @@ -4178,6 +6884,15 @@ "node-modules-regexp": "^1.0.0" } }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, "pn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", @@ -4197,9 +6912,9 @@ "dev": true }, "prettier": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", - "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", + "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", "dev": true }, "pretty-format": { @@ -4221,19 +6936,19 @@ "dev": true }, "prompts": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.1.0.tgz", - "integrity": "sha512-+x5TozgqYdOwWsQFZizE/Tra3fKvAoy037kOyU6cgz84n8f6zxngLOV4O32kTwt9FcLCxAqw0P/c8rOr9y+Gfg==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.2.tgz", + "integrity": "sha512-Q06uKs2CkNYVID0VqwfAl9mipo99zkBv/n2JtWY89Yxa3ZabWSrs0e2KTudKVa3peLUvYXMefDqIleLPVUBZMA==", "dev": true, "requires": { - "kleur": "^3.0.2", - "sisteransi": "^1.0.0" + "kleur": "^3.0.3", + "sisteransi": "^1.0.4" } }, "psl": { - "version": "1.1.33", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.33.tgz", - "integrity": "sha512-LTDP2uSrsc7XCb5lO7A8BI1qYxRe/8EqlRvMeEl6rsnYAqDOl8xHR+8lSAIVfrNaSAlTPTNOCgNjWcoUL3AZsw==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", "dev": true }, "pump": { @@ -4339,9 +7054,9 @@ "dev": true }, "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", "dev": true, "requires": { "aws-sign2": "~0.7.0", @@ -4351,7 +7066,7 @@ "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", - "har-validator": "~5.1.0", + "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", @@ -4361,45 +7076,27 @@ "performance-now": "^2.1.0", "qs": "~6.5.2", "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", + "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" - }, - "dependencies": { - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true - }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "dev": true, - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - } } }, "request-promise-core": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz", - "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz", + "integrity": "sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==", "dev": true, "requires": { - "lodash": "^4.17.11" + "lodash": "^4.17.15" } }, "request-promise-native": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz", - "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz", + "integrity": "sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ==", "dev": true, "requires": { - "request-promise-core": "1.1.2", + "request-promise-core": "1.1.3", "stealthy-require": "^1.1.1", "tough-cookie": "^2.3.3" } @@ -4453,9 +7150,9 @@ "dev": true }, "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dev": true, "requires": { "glob": "^7.1.3" @@ -4570,9 +7267,15 @@ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, "sisteransi": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.0.tgz", - "integrity": "sha512-N+z4pHB4AmUv0SjveWRd6q1Nj5w62m5jodv+GD8lvmbY/83T/rpbJGZOnK5T149OldDj4Db07BSv9xY4K6NTPQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true + }, + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", "dev": true }, "snapdragon": { @@ -4708,9 +7411,9 @@ } }, "source-map-support": { - "version": "0.5.12", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz", - "integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ==", + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -4842,30 +7545,14 @@ } }, "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "dev": true, "requires": { + "emoji-regex": "^7.0.1", "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } + "strip-ansi": "^5.1.0" } }, "string_decoder": { @@ -5010,15 +7697,16 @@ "dev": true }, "ts-jest": { - "version": "24.0.2", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-24.0.2.tgz", - "integrity": "sha512-h6ZCZiA1EQgjczxq+uGLXQlNgeg02WWJBbeT8j6nyIBRQdglqbvzDoHahTEIiS6Eor6x8mK6PfZ7brQ9Q6tzHw==", + "version": "24.3.0", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-24.3.0.tgz", + "integrity": "sha512-Hb94C/+QRIgjVZlJyiWwouYUF+siNJHJHknyspaOcZ+OQAIdFG/UrdQVXw/0B8Z3No34xkUXZJpOTy9alOWdVQ==", "dev": true, "requires": { "bs-logger": "0.x", "buffer-from": "1.x", "fast-json-stable-stringify": "2.x", "json5": "2.x", + "lodash.memoize": "4.x", "make-error": "1.x", "mkdirp": "0.x", "resolve": "1.x", @@ -5033,9 +7721,9 @@ "dev": true }, "semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true }, "yargs-parser": { @@ -5079,22 +7767,11 @@ } }, "typescript": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.2.tgz", - "integrity": "sha512-7KxJovlYhTX5RaRbUdkAXN1KUZ8PwWlTzQdHV6xNqvuFOs7+WBo10TQUqT19Q/Jz2hk5v9TQDIhyLhhJY4p5AA==", + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz", + "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==", "dev": true }, - "uglify-js": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.7.tgz", - "integrity": "sha512-FeSU+hi7ULYy6mn8PKio/tXsdSXN35lm4KgV2asx00kzrLU9Pi3oAslcJT70Jdj7PHX29gGUPOT6+lXGBbemhA==", - "dev": true, - "optional": true, - "requires": { - "commander": "~2.20.3", - "source-map": "~0.6.1" - } - }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -5219,12 +7896,12 @@ } }, "w3c-hr-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz", - "integrity": "sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", "dev": true, "requires": { - "browser-process-hrtime": "^0.1.2" + "browser-process-hrtime": "^1.0.0" } }, "walker": { @@ -5290,57 +7967,21 @@ "execa": "^1.0.0" } }, - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", "dev": true, "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - } + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" } }, "wrappy": { @@ -5381,37 +8022,27 @@ "dev": true }, "yargs": { - "version": "12.0.5", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.5.tgz", - "integrity": "sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw==", + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", "dev": true, "requires": { - "cliui": "^4.0.0", - "decamelize": "^1.2.0", + "cliui": "^5.0.0", "find-up": "^3.0.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.0.0", + "get-caller-file": "^2.0.1", "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", + "require-main-filename": "^2.0.0", "set-blocking": "^2.0.0", - "string-width": "^2.0.0", + "string-width": "^3.0.0", "which-module": "^2.0.0", - "y18n": "^3.2.1 || ^4.0.0", - "yargs-parser": "^11.1.1" - }, - "dependencies": { - "require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", - "dev": true - } + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" } }, "yargs-parser": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-11.1.1.tgz", - "integrity": "sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", "dev": true, "requires": { "camelcase": "^5.0.0", diff --git a/package.json b/package.json index 9607e46d..9a3f1c57 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-node", - "version": "1.0.0", + "version": "2.0.0", "private": true, "description": "setup node action", "main": "lib/setup-node.js", @@ -28,7 +28,7 @@ "@actions/github": "^1.1.0", "@actions/http-client": "^1.0.6", "@actions/io": "^1.0.2", - "@actions/tool-cache": "^1.3.3", + "@actions/tool-cache": "^1.5.4", "semver": "^6.1.1" }, "devDependencies": { @@ -36,10 +36,10 @@ "@types/node": "^12.0.4", "@types/semver": "^6.0.0", "@zeit/ncc": "^0.21.0", - "jest": "^24.8.0", + "jest": "^24.9.0", "jest-circus": "^24.7.1", - "prettier": "^1.17.1", - "ts-jest": "^24.0.2", - "typescript": "^3.5.1" + "prettier": "^1.19.1", + "ts-jest": "^24.3.0", + "typescript": "^3.8.3" } } diff --git a/src/installer.ts b/src/installer.ts index 1265ed85..ee96bda4 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -1,54 +1,130 @@ +import os = require('os'); import * as assert from 'assert'; import * as core from '@actions/core'; import * as hc from '@actions/http-client'; import * as io from '@actions/io'; import * as tc from '@actions/tool-cache'; -import * as os from 'os'; import * as path from 'path'; import * as semver from 'semver'; - -let osPlat: string = os.platform(); -let osArch: string = translateArchToDistUrl(os.arch()); +import fs = require('fs'); // // Node versions interface // see https://nodejs.org/dist/index.json // -interface INodeVersion { +export interface INodeVersion { version: string; files: string[]; } -export async function getNode(versionSpec: string) { +interface INodeVersionInfo { + downloadUrl: string; + resolvedVersion: string; + fileName: string; +} + +export async function getNode( + versionSpec: string, + stable: boolean, + auth: string | undefined +) { + let osPlat: string = os.platform(); + let osArch: string = translateArchToDistUrl(os.arch()); + // check cache let toolPath: string; toolPath = tc.find('node', versionSpec); // If not found in cache, download - if (!toolPath) { - let version: string; - const c = semver.clean(versionSpec) || ''; - // If explicit version - if (semver.valid(c) != null) { - // version to download - version = versionSpec; - } else { - // query nodejs.org for a matching version - version = await queryLatestMatch(versionSpec); - if (!version) { + if (toolPath) { + console.log(`Found in cache @ ${toolPath}`); + } else { + console.log(`Attempting to download ${versionSpec}...`); + let downloadPath = ''; + let info: INodeVersionInfo | null = null; + + // + // Try download from internal distribution (popular versions only) + // + try { + info = await getInfoFromManifest(versionSpec, stable, auth); + if (info) { + console.log( + `Acquiring ${info.resolvedVersion} from ${info.downloadUrl}` + ); + downloadPath = await tc.downloadTool(info.downloadUrl, undefined, auth); + } else { + console.log( + 'Not found in manifest. Falling back to download directly from Node' + ); + } + } catch (err) { + // Rate limit? + if ( + err instanceof tc.HTTPError && + (err.httpStatusCode === 403 || err.httpStatusCode === 429) + ) { + console.log( + `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded` + ); + } else { + console.log(err.message); + } + core.debug(err.stack); + console.log('Falling back to download directly from Node'); + } + + // + // Download from nodejs.org + // + if (!downloadPath) { + info = await getInfoFromDist(versionSpec); + if (!info) { throw new Error( `Unable to find Node version '${versionSpec}' for platform ${osPlat} and architecture ${osArch}.` ); } - // check cache - toolPath = tc.find('node', version); + console.log(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); + try { + downloadPath = await tc.downloadTool(info.downloadUrl); + } catch (err) { + if (err instanceof tc.HTTPError && err.httpStatusCode == 404) { + return await acquireNodeFromFallbackLocation(info.resolvedVersion); + } + + throw err; + } } - if (!toolPath) { - // download, extract, cache - toolPath = await acquireNode(version); + // + // Extract + // + console.log('Extracting ...'); + let extPath: string; + info = info || ({} as INodeVersionInfo); // satisfy compiler, never null when reaches here + if (osPlat == 'win32') { + let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe'); + extPath = await tc.extract7z(downloadPath, undefined, _7zPath); + // 7z extracts to folder matching file name + let nestedPath = path.join(extPath, path.basename(info.fileName, '.7z')); + if (fs.existsSync(nestedPath)) { + extPath = nestedPath; + } + } else { + extPath = await tc.extractTar(downloadPath, undefined, [ + 'xz', + '--strip', + '1' + ]); } + + // + // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded + // + console.log('Adding to the cache ...'); + toolPath = await tc.cacheDir(extPath, 'node', info.resolvedVersion); + console.log('Done'); } // @@ -65,41 +141,60 @@ export async function getNode(versionSpec: string) { core.addPath(toolPath); } -async function queryLatestMatch(versionSpec: string): Promise { - // node offers a json list of versions - let dataFileName: string; - switch (osPlat) { - case 'linux': - dataFileName = `linux-${osArch}`; - break; - case 'darwin': - dataFileName = `osx-${osArch}-tar`; - break; - case 'win32': - dataFileName = `win-${osArch}-exe`; - break; - default: - throw new Error(`Unexpected OS '${osPlat}'`); +async function getInfoFromManifest( + versionSpec: string, + stable: boolean, + auth: string | undefined +): Promise { + let info: INodeVersionInfo | null = null; + const releases = await tc.getManifestFromRepo( + 'actions', + 'node-versions', + auth + ); + console.log(`matching ${versionSpec}...`); + const rel = await tc.findFromManifest(versionSpec, stable, releases); + + if (rel && rel.files.length > 0) { + info = {}; + info.resolvedVersion = rel.version; + info.downloadUrl = rel.files[0].download_url; + info.fileName = rel.files[0].filename; } - let versions: string[] = []; - let dataUrl = 'https://nodejs.org/dist/index.json'; - let httpClient = new hc.HttpClient('setup-node', [], { - allowRetries: true, - maxRetries: 3 - }); - let response = await httpClient.getJson(dataUrl); - let nodeVersions = response.result || []; - nodeVersions.forEach((nodeVersion: INodeVersion) => { - // ensure this version supports your os and platform - if (nodeVersion.files.indexOf(dataFileName) >= 0) { - versions.push(nodeVersion.version); - } - }); + return info; +} - // get the latest version that matches the version spec - let version: string = evaluateVersions(versions, versionSpec); - return version; +async function getInfoFromDist( + versionSpec: string +): Promise { + let osPlat: string = os.platform(); + let osArch: string = translateArchToDistUrl(os.arch()); + + let version: string; + + version = await queryDistForMatch(versionSpec); + if (!version) { + return null; + } + + // + // Download - a tool installer intimately knows how to get the tool (and construct urls) + // + version = semver.clean(version) || ''; + let fileName: string = + osPlat == 'win32' + ? `node-v${version}-win-${osArch}` + : `node-v${version}-${osPlat}-${osArch}`; + let urlFileName: string = + osPlat == 'win32' ? `${fileName}.7z` : `${fileName}.tar.gz`; + let url = `https://nodejs.org/dist/v${version}/${urlFileName}`; + + return { + downloadUrl: url, + resolvedVersion: version, + fileName: fileName + }; } // TODO - should we just export this from @actions/tool-cache? Lifted directly from there @@ -130,47 +225,49 @@ function evaluateVersions(versions: string[], versionSpec: string): string { return version; } -async function acquireNode(version: string): Promise { - // - // Download - a tool installer intimately knows how to get the tool (and construct urls) - // - version = semver.clean(version) || ''; - let fileName: string = - osPlat == 'win32' - ? `node-v${version}-win-${osArch}` - : `node-v${version}-${osPlat}-${osArch}`; - let urlFileName: string = - osPlat == 'win32' ? `${fileName}.7z` : `${fileName}.tar.gz`; - let downloadUrl = `https://nodejs.org/dist/v${version}/${urlFileName}`; +async function queryDistForMatch(versionSpec: string): Promise { + let osPlat: string = os.platform(); + let osArch: string = translateArchToDistUrl(os.arch()); - let downloadPath: string; + // node offers a json list of versions + let dataFileName: string; + switch (osPlat) { + case 'linux': + dataFileName = `linux-${osArch}`; + break; + case 'darwin': + dataFileName = `osx-${osArch}-tar`; + break; + case 'win32': + dataFileName = `win-${osArch}-exe`; + break; + default: + throw new Error(`Unexpected OS '${osPlat}'`); + } - try { - downloadPath = await tc.downloadTool(downloadUrl); - } catch (err) { - if (err instanceof tc.HTTPError && err.httpStatusCode == 404) { - return await acquireNodeFromFallbackLocation(version); + let versions: string[] = []; + let nodeVersions = await module.exports.getVersionsFromDist(); + + nodeVersions.forEach((nodeVersion: INodeVersion) => { + // ensure this version supports your os and platform + if (nodeVersion.files.indexOf(dataFileName) >= 0) { + versions.push(nodeVersion.version); } + }); - throw err; - } + // get the latest version that matches the version spec + let version: string = evaluateVersions(versions, versionSpec); + return version; +} - // - // Extract - // - let extPath: string; - if (osPlat == 'win32') { - let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe'); - extPath = await tc.extract7z(downloadPath, undefined, _7zPath); - } else { - extPath = await tc.extractTar(downloadPath); - } - - // - // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded - // - let toolRoot = path.join(extPath, fileName); - return await tc.cacheDir(toolRoot, 'node', version); +export async function getVersionsFromDist(): Promise { + let dataUrl = 'https://nodejs.org/dist/index.json'; + let httpClient = new hc.HttpClient('setup-node', [], { + allowRetries: true, + maxRetries: 3 + }); + let response = await httpClient.getJson(dataUrl); + return response.result || []; } // For non LTS versions of Node, the files we need (for Windows) are sometimes located @@ -188,6 +285,9 @@ async function acquireNode(version: string): Promise { async function acquireNodeFromFallbackLocation( version: string ): Promise { + let osPlat: string = os.platform(); + let osArch: string = translateArchToDistUrl(os.arch()); + // Create temporary folder to download in to const tempDownloadFolder: string = 'temp_' + Math.floor(Math.random() * 2000000000); @@ -201,6 +301,8 @@ async function acquireNodeFromFallbackLocation( exeUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.exe`; libUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.lib`; + console.log(`Downloading only node binary from ${exeUrl}`); + const exePath = await tc.downloadTool(exeUrl); await io.cp(exePath, path.join(tempDir, 'node.exe')); const libPath = await tc.downloadTool(libUrl); @@ -218,7 +320,9 @@ async function acquireNodeFromFallbackLocation( throw err; } } - return await tc.cacheDir(tempDir, 'node', version); + let toolPath = await tc.cacheDir(tempDir, 'node', version); + core.addPath(toolPath); + return toolPath; } // os.arch does not always match the relative download url, e.g. diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 00000000..ab89421f --- /dev/null +++ b/src/main.ts @@ -0,0 +1,50 @@ +import * as core from '@actions/core'; +import * as installer from './installer'; +import * as auth from './authutil'; +import * as path from 'path'; +import {URL} from 'url'; + +export async function run() { + try { + // + // Version is optional. If supplied, install / use from the tool cache + // If not supplied then task is still used to setup proxy, auth, etc... + // + let version = core.getInput('node-version'); + if (!version) { + version = core.getInput('version'); + } + + console.log(`version: ${version}`); + if (version) { + let token = core.getInput('token'); + let auth = !token || isGhes() ? undefined : `token ${token}`; + let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE'; + await installer.getNode(version, stable, auth); + } + + const registryUrl: string = core.getInput('registry-url'); + const alwaysAuth: string = core.getInput('always-auth'); + if (registryUrl) { + auth.configAuthentication(registryUrl, alwaysAuth); + } + + const matchersPath = path.join(__dirname, '..', '.github'); + console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); + console.log( + `##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}` + ); + console.log( + `##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}` + ); + } catch (error) { + core.setFailed(error.message); + } +} + +function isGhes(): boolean { + const ghUrl = new URL( + process.env['GITHUB_SERVER_URL'] || 'https://github.com' + ); + return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; +} diff --git a/src/setup-node.ts b/src/setup-node.ts index f3b09c56..e2a31b46 100644 --- a/src/setup-node.ts +++ b/src/setup-node.ts @@ -1,49 +1,3 @@ -import * as core from '@actions/core'; -import * as exec from '@actions/exec'; -import * as io from '@actions/io'; -import * as installer from './installer'; -import * as auth from './authutil'; -import * as path from 'path'; - -async function run() { - try { - // - // Version is optional. If supplied, install / use from the tool cache - // If not supplied then task is still used to setup proxy, auth, etc... - // - let version = core.getInput('version'); - if (!version) { - version = core.getInput('node-version'); - } - if (version) { - await installer.getNode(version); - } - - // Output version of node and npm that are being used - await exec.exec('node', ['--version']); - - // Older versions of Node don't include npm, so don't let this call fail - await exec.exec('npm', ['--version'], { - ignoreReturnCode: true - }); - - const registryUrl: string = core.getInput('registry-url'); - const alwaysAuth: string = core.getInput('always-auth'); - if (registryUrl) { - auth.configAuthentication(registryUrl, alwaysAuth); - } - - const matchersPath = path.join(__dirname, '..', '.github'); - console.log(`##[add-matcher]${path.join(matchersPath, 'tsc.json')}`); - console.log( - `##[add-matcher]${path.join(matchersPath, 'eslint-stylish.json')}` - ); - console.log( - `##[add-matcher]${path.join(matchersPath, 'eslint-compact.json')}` - ); - } catch (error) { - core.setFailed(error.message); - } -} +import {run} from './main'; run(); diff --git a/tsconfig.json b/tsconfig.json index cc50f16b..234fd9cb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ ], "outDir": "./lib", /* Redirect output structure to the directory. */ "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ + "sourceMap": true, "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ diff --git a/validate/test.sh b/validate/test.sh new file mode 100755 index 00000000..f066edb8 --- /dev/null +++ b/validate/test.sh @@ -0,0 +1,22 @@ + +#/bin/bash + +set -e + +rm -rf ./temp +rm -rf ./node + +# uncomment to use charles proxy or other debugging proxy +# export NODE_TLS_REJECT_UNAUTHORIZED=0 +# export https_proxy=http://127.0.0.1:8888 + +export RUNNER_TOOL_CACHE=$(pwd) +export RUNNER_TEMP="${RUNNER_TOOL_CACHE}/temp" +export INPUT_STABLE=true +export INPUT_VERSION="12" #"0.12.7" #"12" #"11.15.0" +# export your PAT with repo scope before running +export INPUT_TOKEN=$GITHUB_TOKEN + +echo "Getting ${INPUT_VERSION} ($INPUT_STABLE) with ${INPUT_TOKEN}..." + +node ../dist/index.js From 0e2f9cde8b1740c5eedd6ced657166adc3d41c98 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Tue, 19 May 2020 09:57:20 -0400 Subject: [PATCH 17/38] announce v2-beta --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f1c7006a..0e8d6e7f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # setup-node

- GitHub Actions status + build-test status versions status proxy status

This action sets by node environment for use in actions by: @@ -10,6 +10,22 @@ This action sets by node environment for use in actions by: - registering problem matchers for error output - configuring authentication for GPR or npm +# v2-beta + +A beta release which adds reliability for pulling node distributions from a cache of node releases is available by referencing the `v2-beta` tag. + +```yaml +steps: +- uses: actions/checkout@v2 +- uses: actions/setup-node@v2-beta + with: + node-version: '12' +``` + +It will first check the local cache for a semver match. The hosted images have been updated with the latest of each LTS from v8, v10, v12, and v14. `self-hosted` machines will benefit from the cache as well only downloading once. It will pull LTS versions from [node-versions releases](https://github.com/actions/node-versions/releases) and on miss or failure, it will fall back to the previous behavior of download directly from [node dist](https://nodejs.org/dist/). + +The `node-version` input is optional. If not supplied, node which is in your PATH will be used. However, this action will still register problem matchers and support auth features. So setting up the node environment is still a valid scenario without downloading and caching versions. + # Usage See [action.yml](action.yml) From 1ae8f4b1fd89676f69b55d3dd6932b6df089ff7b Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Mon, 29 Jun 2020 21:56:37 +0300 Subject: [PATCH 18/38] Implement "check-latest" flag to check if pre-cached version is latest one (#165) --- .github/workflows/build-test.yml | 2 +- .github/workflows/versions.yml | 92 ++++++++++++++---- README.md | 14 +++ __tests__/installer.test.ts | 155 ++++++++++++++++++++++++++++++- action.yml | 3 + dist/index.js | 54 +++++++---- src/installer.ts | 57 +++++++++--- src/main.ts | 5 +- 8 files changed, 327 insertions(+), 55 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 5de6abfa..5d7c6c13 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.operating-system }} strategy: matrix: - operating-system: [ubuntu-latest, windows-latest] + operating-system: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v2 - name: Setup node 12 diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 0042abe3..38017ef0 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -12,36 +12,88 @@ on: - '**.md' jobs: - versions: + local-cache: runs-on: ${{ matrix.operating-system }} strategy: fail-fast: false matrix: - operating-system: [ubuntu-latest, windows-latest] - defaults: - run: - shell: bash + operating-system: [ubuntu-latest, windows-latest, macos-latest] + node-version: [10, 12, 14] steps: - uses: actions/checkout@v2 - # test version that falls through to node dist - - name: Setup node 11 from dist + - name: Setup Node uses: ./ with: - node-version: 11 + node-version: ${{ matrix.node-version }} - name: Verify node and npm - run: __tests__/verify-node.sh 11 - # test old versions which didn't have npm and layout different + run: __tests__/verify-node.sh "${{ matrix.node-version }}" + shell: bash + + manifest: + runs-on: ${{ matrix.operating-system }} + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, windows-latest, macos-latest] + node-version: [10.15, 12.16.0, 14.2.0] + steps: + - uses: actions/checkout@v2 + - name: Setup Node + uses: ./ + with: + node-version: ${{ matrix.node-version }} + - name: Verify node and npm + run: __tests__/verify-node.sh "${{ matrix.node-version }}" + shell: bash + + check-latest: + runs-on: ${{ matrix.operating-system }} + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, windows-latest, macos-latest] + node-version: [10, 11, 12, 14] + steps: + - uses: actions/checkout@v2 + - name: Setup Node and check latest + uses: ./ + with: + node-version: ${{ matrix.node-version }} + check-latest: true + - name: Verify node and npm + run: __tests__/verify-node.sh "${{ matrix.node-version }}" + shell: bash + + node-dist: + runs-on: ${{ matrix.operating-system }} + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, windows-latest, macos-latest] + node-version: [11, 13] + steps: + - uses: actions/checkout@v2 + - name: Setup Node from dist + uses: ./ + with: + node-version: ${{ matrix.node-version }} + - name: Verify node and npm + run: __tests__/verify-node.sh "${{ matrix.node-version }}" + shell: bash + + old-versions: + runs-on: ${{ matrix.operating-system }} + strategy: + fail-fast: false + matrix: + operating-system: [ubuntu-latest, windows-latest, macos-latest] + steps: + - uses: actions/checkout@v2 + # test old versions which didn't have npm and layout different - name: Setup node 0.12.18 from dist - uses: ./ + uses: ./ with: node-version: 0.12.18 - name: Verify node - shell: bash - run: __tests__/verify-node.sh 0.12.18 SKIP_NPM - # test version from node manifest - - name: Setup node 12.16.2 from manifest - uses: ./ - with: - node-version: 12.16.2 - - name: Verify node and npm - run: __tests__/verify-node.sh 12 + run: __tests__/verify-node.sh 0.12.18 SKIP_NPM + shell: bash \ No newline at end of file diff --git a/README.md b/README.md index 0e8d6e7f..744c492f 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,20 @@ steps: - run: npm test ``` +Check latest version: +> In basic example, without `check-latest` flag, the action tries to resolve version from local cache firstly and download only if it is not found. Local cache on image is updated with a couple of weeks latency. +`check-latest` flag forces the action to check if the cached version is the latest one. It reduces latency significantly but it is much more likely to incur version downloading. +```yaml +steps: +- uses: actions/checkout@v2 +- uses: actions/setup-node@v2 + with: + node-version: '12' + check-latest: true +- run: npm install +- run: npm test +``` + Matrix Testing: ```yaml jobs: diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 52b675e2..6f3a411e 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -8,6 +8,7 @@ import path from 'path'; import * as main from '../src/main'; import * as im from '../src/installer'; import * as auth from '../src/authutil'; +import {context} from '@actions/github'; let nodeTestManifest = require('./data/versions-manifest.json'); let nodeTestDist = require('./data/node-dist-index.json'); @@ -24,6 +25,7 @@ describe('setup-node', () => { let findSpy: jest.SpyInstance; let cnSpy: jest.SpyInstance; let logSpy: jest.SpyInstance; + let warningSpy: jest.SpyInstance; let getManifestSpy: jest.SpyInstance; let getDistSpy: jest.SpyInstance; let platSpy: jest.SpyInstance; @@ -77,8 +79,9 @@ describe('setup-node', () => { // writes cnSpy = jest.spyOn(process.stdout, 'write'); - logSpy = jest.spyOn(console, 'log'); + logSpy = jest.spyOn(core, 'info'); dbgSpy = jest.spyOn(core, 'debug'); + warningSpy = jest.spyOn(core, 'warning'); cnSpy.mockImplementation(line => { // uncomment to debug // process.stderr.write('write:' + line + '\n'); @@ -333,4 +336,154 @@ describe('setup-node', () => { expect(cnSpy).toHaveBeenCalledWith(`::error::${errMsg}${osm.EOL}`); }); + + describe('check-latest flag', () => { + it('use local version and dont check manifest if check-latest is not specified', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + inputs['node-version'] = '12'; + inputs['check-latest'] = 'false'; + + const toolPath = path.normalize('/cache/node/12.16.1/x64'); + findSpy.mockReturnValue(toolPath); + await main.run(); + + expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`); + expect(logSpy).not.toHaveBeenCalledWith( + 'Attempt to resolve the latest version from manifest...' + ); + }); + + it('check latest version and resolve it from local cache', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + inputs['node-version'] = '12'; + inputs['check-latest'] = 'true'; + + const toolPath = path.normalize('/cache/node/12.16.2/x64'); + findSpy.mockReturnValue(toolPath); + dlSpy.mockImplementation(async () => '/some/temp/path'); + exSpy.mockImplementation(async () => '/some/other/temp/path'); + cacheSpy.mockImplementation(async () => toolPath); + + await main.run(); + + expect(logSpy).toHaveBeenCalledWith( + 'Attempt to resolve the latest version from manifest...' + ); + expect(logSpy).toHaveBeenCalledWith("Resolved as '12.16.2'"); + expect(logSpy).toHaveBeenCalledWith(`Found in cache @ ${toolPath}`); + }); + + it('check latest version and install it from manifest', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + inputs['node-version'] = '12'; + inputs['check-latest'] = 'true'; + + findSpy.mockImplementation(() => ''); + dlSpy.mockImplementation(async () => '/some/temp/path'); + const toolPath = path.normalize('/cache/node/12.16.2/x64'); + exSpy.mockImplementation(async () => '/some/other/temp/path'); + cacheSpy.mockImplementation(async () => toolPath); + const expectedUrl = + 'https://github.com/actions/node-versions/releases/download/12.16.2-20200423.28/node-12.16.2-linux-x64.tar.gz'; + + await main.run(); + + expect(logSpy).toHaveBeenCalledWith( + 'Attempt to resolve the latest version from manifest...' + ); + expect(logSpy).toHaveBeenCalledWith("Resolved as '12.16.2'"); + expect(logSpy).toHaveBeenCalledWith( + `Acquiring 12.16.2 from ${expectedUrl}` + ); + expect(logSpy).toHaveBeenCalledWith('Extracting ...'); + }); + + it('fallback to dist if version if not found in manifest', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + // a version which is not in the manifest but is in node dist + let versionSpec = '11'; + + inputs['node-version'] = versionSpec; + inputs['check-latest'] = 'true'; + inputs['always-auth'] = false; + inputs['token'] = 'faketoken'; + + // ... but not in the local cache + findSpy.mockImplementation(() => ''); + + dlSpy.mockImplementation(async () => '/some/temp/path'); + let toolPath = path.normalize('/cache/node/11.11.0/x64'); + exSpy.mockImplementation(async () => '/some/other/temp/path'); + cacheSpy.mockImplementation(async () => toolPath); + + await main.run(); + + let expPath = path.join(toolPath, 'bin'); + + expect(dlSpy).toHaveBeenCalled(); + expect(exSpy).toHaveBeenCalled(); + expect(logSpy).toHaveBeenCalledWith( + 'Attempt to resolve the latest version from manifest...' + ); + expect(logSpy).toHaveBeenCalledWith( + `Failed to resolve version ${versionSpec} from manifest` + ); + expect(logSpy).toHaveBeenCalledWith( + `Attempting to download ${versionSpec}...` + ); + expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`); + }); + + it('fallback to dist if manifest is not available', async () => { + os.platform = 'linux'; + os.arch = 'x64'; + + // a version which is not in the manifest but is in node dist + let versionSpec = '12'; + + inputs['node-version'] = versionSpec; + inputs['check-latest'] = 'true'; + inputs['always-auth'] = false; + inputs['token'] = 'faketoken'; + + // ... but not in the local cache + findSpy.mockImplementation(() => ''); + getManifestSpy.mockImplementation(() => { + throw new Error('Unable to download manifest'); + }); + + dlSpy.mockImplementation(async () => '/some/temp/path'); + let toolPath = path.normalize('/cache/node/12.11.0/x64'); + exSpy.mockImplementation(async () => '/some/other/temp/path'); + cacheSpy.mockImplementation(async () => toolPath); + + await main.run(); + + let expPath = path.join(toolPath, 'bin'); + + expect(dlSpy).toHaveBeenCalled(); + expect(exSpy).toHaveBeenCalled(); + expect(logSpy).toHaveBeenCalledWith( + 'Attempt to resolve the latest version from manifest...' + ); + expect(logSpy).toHaveBeenCalledWith( + 'Unable to resolve version from manifest...' + ); + expect(logSpy).toHaveBeenCalledWith( + `Failed to resolve version ${versionSpec} from manifest` + ); + expect(logSpy).toHaveBeenCalledWith( + `Attempting to download ${versionSpec}...` + ); + expect(cnSpy).toHaveBeenCalledWith(`::add-path::${expPath}${osm.EOL}`); + }); + }); }); diff --git a/action.yml b/action.yml index b7c78607..e5b901fc 100644 --- a/action.yml +++ b/action.yml @@ -7,6 +7,9 @@ inputs: default: 'false' node-version: description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0' + check-latest: + description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec' + default: false registry-url: description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN' scope: diff --git a/dist/index.js b/dist/index.js index 87ce6f0c..93c2d649 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4643,12 +4643,12 @@ function run() { if (!version) { version = core.getInput('version'); } - console.log(`version: ${version}`); if (version) { let token = core.getInput('token'); let auth = !token || isGhes() ? undefined : `token ${token}`; let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE'; - yield installer.getNode(version, stable, auth); + const checkLatest = (core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE'; + yield installer.getNode(version, stable, checkLatest, auth); } const registryUrl = core.getInput('registry-url'); const alwaysAuth = core.getInput('always-auth'); @@ -12994,19 +12994,30 @@ const tc = __importStar(__webpack_require__(533)); const path = __importStar(__webpack_require__(622)); const semver = __importStar(__webpack_require__(280)); const fs = __webpack_require__(747); -function getNode(versionSpec, stable, auth) { +function getNode(versionSpec, stable, checkLatest, auth) { return __awaiter(this, void 0, void 0, function* () { let osPlat = os.platform(); let osArch = translateArchToDistUrl(os.arch()); + if (checkLatest) { + core.info('Attempt to resolve the latest version from manifest...'); + const resolvedVersion = yield resolveVersionFromManifest(versionSpec, stable, auth); + if (resolvedVersion) { + versionSpec = resolvedVersion; + core.info(`Resolved as '${versionSpec}'`); + } + else { + core.info(`Failed to resolve version ${versionSpec} from manifest`); + } + } // check cache let toolPath; toolPath = tc.find('node', versionSpec); // If not found in cache, download if (toolPath) { - console.log(`Found in cache @ ${toolPath}`); + core.info(`Found in cache @ ${toolPath}`); } else { - console.log(`Attempting to download ${versionSpec}...`); + core.info(`Attempting to download ${versionSpec}...`); let downloadPath = ''; let info = null; // @@ -13015,24 +13026,24 @@ function getNode(versionSpec, stable, auth) { try { info = yield getInfoFromManifest(versionSpec, stable, auth); if (info) { - console.log(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); + core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); downloadPath = yield tc.downloadTool(info.downloadUrl, undefined, auth); } else { - console.log('Not found in manifest. Falling back to download directly from Node'); + core.info('Not found in manifest. Falling back to download directly from Node'); } } catch (err) { // Rate limit? if (err instanceof tc.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) { - console.log(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`); + core.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`); } else { - console.log(err.message); + core.info(err.message); } core.debug(err.stack); - console.log('Falling back to download directly from Node'); + core.info('Falling back to download directly from Node'); } // // Download from nodejs.org @@ -13042,7 +13053,7 @@ function getNode(versionSpec, stable, auth) { if (!info) { throw new Error(`Unable to find Node version '${versionSpec}' for platform ${osPlat} and architecture ${osArch}.`); } - console.log(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); + core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); try { downloadPath = yield tc.downloadTool(info.downloadUrl); } @@ -13056,7 +13067,7 @@ function getNode(versionSpec, stable, auth) { // // Extract // - console.log('Extracting ...'); + core.info('Extracting ...'); let extPath; info = info || {}; // satisfy compiler, never null when reaches here if (osPlat == 'win32') { @@ -13078,9 +13089,9 @@ function getNode(versionSpec, stable, auth) { // // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded // - console.log('Adding to the cache ...'); + core.info('Adding to the cache ...'); toolPath = yield tc.cacheDir(extPath, 'node', info.resolvedVersion); - console.log('Done'); + core.info('Done'); } // // a tool installer initimately knows details about the layout of that tool @@ -13100,7 +13111,6 @@ function getInfoFromManifest(versionSpec, stable, auth) { return __awaiter(this, void 0, void 0, function* () { let info = null; const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth); - console.log(`matching ${versionSpec}...`); const rel = yield tc.findFromManifest(versionSpec, stable, releases); if (rel && rel.files.length > 0) { info = {}; @@ -13136,6 +13146,18 @@ function getInfoFromDist(versionSpec) { }; }); } +function resolveVersionFromManifest(versionSpec, stable, auth) { + return __awaiter(this, void 0, void 0, function* () { + try { + const info = yield getInfoFromManifest(versionSpec, stable, auth); + return info === null || info === void 0 ? void 0 : info.resolvedVersion; + } + catch (err) { + core.info('Unable to resolve version from manifest...'); + core.debug(err.message); + } + }); +} // TODO - should we just export this from @actions/tool-cache? Lifted directly from there function evaluateVersions(versions, versionSpec) { let version = ''; @@ -13233,7 +13255,7 @@ function acquireNodeFromFallbackLocation(version) { try { exeUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.exe`; libUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.lib`; - console.log(`Downloading only node binary from ${exeUrl}`); + core.info(`Downloading only node binary from ${exeUrl}`); const exePath = yield tc.downloadTool(exeUrl); yield io.cp(exePath, path.join(tempDir, 'node.exe')); const libPath = yield tc.downloadTool(libUrl); diff --git a/src/installer.ts b/src/installer.ts index ee96bda4..d9c3f9e6 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -26,20 +26,36 @@ interface INodeVersionInfo { export async function getNode( versionSpec: string, stable: boolean, + checkLatest: boolean, auth: string | undefined ) { let osPlat: string = os.platform(); let osArch: string = translateArchToDistUrl(os.arch()); + if (checkLatest) { + core.info('Attempt to resolve the latest version from manifest...'); + const resolvedVersion = await resolveVersionFromManifest( + versionSpec, + stable, + auth + ); + if (resolvedVersion) { + versionSpec = resolvedVersion; + core.info(`Resolved as '${versionSpec}'`); + } else { + core.info(`Failed to resolve version ${versionSpec} from manifest`); + } + } + // check cache let toolPath: string; toolPath = tc.find('node', versionSpec); // If not found in cache, download if (toolPath) { - console.log(`Found in cache @ ${toolPath}`); + core.info(`Found in cache @ ${toolPath}`); } else { - console.log(`Attempting to download ${versionSpec}...`); + core.info(`Attempting to download ${versionSpec}...`); let downloadPath = ''; let info: INodeVersionInfo | null = null; @@ -49,12 +65,10 @@ export async function getNode( try { info = await getInfoFromManifest(versionSpec, stable, auth); if (info) { - console.log( - `Acquiring ${info.resolvedVersion} from ${info.downloadUrl}` - ); + core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); downloadPath = await tc.downloadTool(info.downloadUrl, undefined, auth); } else { - console.log( + core.info( 'Not found in manifest. Falling back to download directly from Node' ); } @@ -64,14 +78,14 @@ export async function getNode( err instanceof tc.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429) ) { - console.log( + core.info( `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded` ); } else { - console.log(err.message); + core.info(err.message); } core.debug(err.stack); - console.log('Falling back to download directly from Node'); + core.info('Falling back to download directly from Node'); } // @@ -85,7 +99,7 @@ export async function getNode( ); } - console.log(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); + core.info(`Acquiring ${info.resolvedVersion} from ${info.downloadUrl}`); try { downloadPath = await tc.downloadTool(info.downloadUrl); } catch (err) { @@ -100,7 +114,7 @@ export async function getNode( // // Extract // - console.log('Extracting ...'); + core.info('Extracting ...'); let extPath: string; info = info || ({} as INodeVersionInfo); // satisfy compiler, never null when reaches here if (osPlat == 'win32') { @@ -122,9 +136,9 @@ export async function getNode( // // Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded // - console.log('Adding to the cache ...'); + core.info('Adding to the cache ...'); toolPath = await tc.cacheDir(extPath, 'node', info.resolvedVersion); - console.log('Done'); + core.info('Done'); } // @@ -152,7 +166,6 @@ async function getInfoFromManifest( 'node-versions', auth ); - console.log(`matching ${versionSpec}...`); const rel = await tc.findFromManifest(versionSpec, stable, releases); if (rel && rel.files.length > 0) { @@ -197,6 +210,20 @@ async function getInfoFromDist( }; } +async function resolveVersionFromManifest( + versionSpec: string, + stable: boolean, + auth: string | undefined +): Promise { + try { + const info = await getInfoFromManifest(versionSpec, stable, auth); + return info?.resolvedVersion; + } catch (err) { + core.info('Unable to resolve version from manifest...'); + core.debug(err.message); + } +} + // TODO - should we just export this from @actions/tool-cache? Lifted directly from there function evaluateVersions(versions: string[], versionSpec: string): string { let version = ''; @@ -301,7 +328,7 @@ async function acquireNodeFromFallbackLocation( exeUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.exe`; libUrl = `https://nodejs.org/dist/v${version}/win-${osArch}/node.lib`; - console.log(`Downloading only node binary from ${exeUrl}`); + core.info(`Downloading only node binary from ${exeUrl}`); const exePath = await tc.downloadTool(exeUrl); await io.cp(exePath, path.join(tempDir, 'node.exe')); diff --git a/src/main.ts b/src/main.ts index ab89421f..328db0d2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,12 +15,13 @@ export async function run() { version = core.getInput('version'); } - console.log(`version: ${version}`); if (version) { let token = core.getInput('token'); let auth = !token || isGhes() ? undefined : `token ${token}`; let stable = (core.getInput('stable') || 'true').toUpperCase() === 'TRUE'; - await installer.getNode(version, stable, auth); + const checkLatest = + (core.getInput('check-latest') || 'false').toUpperCase() === 'TRUE'; + await installer.getNode(version, stable, checkLatest, auth); } const registryUrl: string = core.getInput('registry-url'); From 321b6ccb03083caa2ad22b27dc4b45335212e824 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Mon, 20 Jul 2020 19:50:59 +0300 Subject: [PATCH 19/38] Switch from "master" to "main" branch (#171) * Switch from "master" to "main" branch * Update README.md --- README.md | 2 +- dist/index.js | 2 +- src/installer.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 744c492f..0bd60db7 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ steps: node-version: '12' ``` -It will first check the local cache for a semver match. The hosted images have been updated with the latest of each LTS from v8, v10, v12, and v14. `self-hosted` machines will benefit from the cache as well only downloading once. It will pull LTS versions from [node-versions releases](https://github.com/actions/node-versions/releases) and on miss or failure, it will fall back to the previous behavior of download directly from [node dist](https://nodejs.org/dist/). +It will first check the local cache for a semver match. The hosted images have been updated with the latest of each LTS from v8, v10, v12, and v14. `self-hosted` machines will benefit from the cache as well only downloading once. It will pull LTS versions from `main` branch of [node-versions](https://github.com/actions/node-versions/blob/main/versions-manifest.json) repository and on miss or failure, it will fall back to the previous behavior of download directly from [node dist](https://nodejs.org/dist/). The `node-version` input is optional. If not supplied, node which is in your PATH will be used. However, this action will still register problem matchers and support auth features. So setting up the node environment is still a valid scenario without downloading and caching versions. diff --git a/dist/index.js b/dist/index.js index 93c2d649..481183ea 100644 --- a/dist/index.js +++ b/dist/index.js @@ -13110,7 +13110,7 @@ exports.getNode = getNode; function getInfoFromManifest(versionSpec, stable, auth) { return __awaiter(this, void 0, void 0, function* () { let info = null; - const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth); + const releases = yield tc.getManifestFromRepo('actions', 'node-versions', auth, 'main'); const rel = yield tc.findFromManifest(versionSpec, stable, releases); if (rel && rel.files.length > 0) { info = {}; diff --git a/src/installer.ts b/src/installer.ts index d9c3f9e6..feb8349c 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -164,7 +164,8 @@ async function getInfoFromManifest( const releases = await tc.getManifestFromRepo( 'actions', 'node-versions', - auth + auth, + 'main' ); const rel = await tc.findFromManifest(versionSpec, stable, releases); From 59e61b89511ed136a0b17773f07c349fa5c01e8b Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Wed, 22 Jul 2020 08:12:24 -0400 Subject: [PATCH 20/38] main workflow references --- .github/workflows/build-test.yml | 2 +- .github/workflows/versions.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 5d7c6c13..0b132aa5 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -6,7 +6,7 @@ on: - '**.md' push: branches: - - master + - main - releases/* paths-ignore: - '**.md' diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 38017ef0..3beb1f71 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -6,7 +6,7 @@ on: - '**.md' push: branches: - - master + - main - releases/* paths-ignore: - '**.md' From c211e95e60c2a8db273e122ba1845305b1943494 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Thu, 10 Sep 2020 09:23:54 -0400 Subject: [PATCH 21/38] Add `Licensed` To Help Verify Prod Licenses (#180) * add licensed workflow and config files * manual dependency verification * Hide generated license files in pr --- .gitattributes | 1 + .github/workflows/licensed.yml | 20 ++++++++++++++++++ .licensed.yml | 14 ++++++++++++ .licenses/npm/@actions/core-1.2.2.dep.yml | Bin 0 -> 1336 bytes .licenses/npm/@actions/core-1.2.4.dep.yml | Bin 0 -> 1336 bytes .licenses/npm/@actions/exec.dep.yml | Bin 0 -> 1336 bytes .licenses/npm/@actions/github.dep.yml | Bin 0 -> 1284 bytes .../npm/@actions/http-client-1.0.6.dep.yml | Bin 0 -> 1386 bytes .../npm/@actions/http-client-1.0.8.dep.yml | Bin 0 -> 1386 bytes .licenses/npm/@actions/io.dep.yml | Bin 0 -> 1330 bytes .licenses/npm/@actions/tool-cache.dep.yml | Bin 0 -> 1354 bytes .licenses/npm/@octokit/auth-token.dep.yml | Bin 0 -> 1440 bytes .licenses/npm/@octokit/endpoint.dep.yml | Bin 0 -> 1433 bytes .licenses/npm/@octokit/graphql.dep.yml | Bin 0 -> 1425 bytes .licenses/npm/@octokit/request-error.dep.yml | Bin 0 -> 1428 bytes .licenses/npm/@octokit/request.dep.yml | Bin 0 -> 1470 bytes .licenses/npm/@octokit/rest.dep.yml | Bin 0 -> 1468 bytes .licenses/npm/@octokit/types.dep.yml | Bin 0 -> 1398 bytes .licenses/npm/@types/node.dep.yml | Bin 0 -> 1519 bytes .licenses/npm/atob-lite.dep.yml | Bin 0 -> 1506 bytes .licenses/npm/before-after-hook.dep.yml | Bin 0 -> 12356 bytes .licenses/npm/btoa-lite.dep.yml | Bin 0 -> 1506 bytes .licenses/npm/cross-spawn.dep.yml | Bin 0 -> 1528 bytes .licenses/npm/deprecation.dep.yml | Bin 0 -> 1066 bytes .licenses/npm/end-of-stream.dep.yml | Bin 0 -> 1436 bytes .licenses/npm/execa.dep.yml | Bin 0 -> 1401 bytes .licenses/npm/get-stream.dep.yml | Bin 0 -> 1429 bytes .licenses/npm/is-plain-object.dep.yml | Bin 0 -> 1703 bytes .licenses/npm/is-stream.dep.yml | Bin 0 -> 1481 bytes .licenses/npm/isexe.dep.yml | Bin 0 -> 1025 bytes .licenses/npm/isobject.dep.yml | Bin 0 -> 1688 bytes .licenses/npm/lodash.get.dep.yml | Bin 0 -> 2288 bytes .licenses/npm/lodash.set.dep.yml | Bin 0 -> 2288 bytes .licenses/npm/lodash.uniq.dep.yml | Bin 0 -> 2290 bytes .licenses/npm/macos-release.dep.yml | Bin 0 -> 1460 bytes .licenses/npm/nice-try.dep.yml | Bin 0 -> 1377 bytes .licenses/npm/node-fetch.dep.yml | Bin 0 -> 2489 bytes .licenses/npm/npm-run-path.dep.yml | Bin 0 -> 1504 bytes .../npm/octokit-pagination-methods.dep.yml | Bin 0 -> 1501 bytes .licenses/npm/once.dep.yml | Bin 0 -> 1006 bytes .licenses/npm/os-name.dep.yml | Bin 0 -> 1450 bytes .licenses/npm/p-finally.dep.yml | Bin 0 -> 1535 bytes .licenses/npm/path-key.dep.yml | Bin 0 -> 1493 bytes .licenses/npm/pump.dep.yml | Bin 0 -> 1411 bytes .licenses/npm/semver-5.7.0.dep.yml | Bin 0 -> 1021 bytes .licenses/npm/semver-6.1.2.dep.yml | Bin 0 -> 1021 bytes .licenses/npm/shebang-command.dep.yml | Bin 0 -> 1486 bytes .licenses/npm/shebang-regex.dep.yml | Bin 0 -> 1491 bytes .licenses/npm/signal-exit.dep.yml | Bin 0 -> 1033 bytes .licenses/npm/strip-eof.dep.yml | Bin 0 -> 1500 bytes .licenses/npm/tunnel.dep.yml | Bin 0 -> 1488 bytes .../npm/universal-user-agent-2.1.0.dep.yml | Bin 0 -> 1118 bytes .../npm/universal-user-agent-4.0.0.dep.yml | Bin 0 -> 1118 bytes .licenses/npm/uuid.dep.yml | Bin 0 -> 1595 bytes .licenses/npm/which.dep.yml | Bin 0 -> 1065 bytes .licenses/npm/windows-release.dep.yml | Bin 0 -> 1479 bytes .licenses/npm/wrappy.dep.yml | Bin 0 -> 994 bytes 57 files changed, 35 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/workflows/licensed.yml create mode 100644 .licensed.yml create mode 100644 .licenses/npm/@actions/core-1.2.2.dep.yml create mode 100644 .licenses/npm/@actions/core-1.2.4.dep.yml create mode 100644 .licenses/npm/@actions/exec.dep.yml create mode 100644 .licenses/npm/@actions/github.dep.yml create mode 100644 .licenses/npm/@actions/http-client-1.0.6.dep.yml create mode 100644 .licenses/npm/@actions/http-client-1.0.8.dep.yml create mode 100644 .licenses/npm/@actions/io.dep.yml create mode 100644 .licenses/npm/@actions/tool-cache.dep.yml create mode 100644 .licenses/npm/@octokit/auth-token.dep.yml create mode 100644 .licenses/npm/@octokit/endpoint.dep.yml create mode 100644 .licenses/npm/@octokit/graphql.dep.yml create mode 100644 .licenses/npm/@octokit/request-error.dep.yml create mode 100644 .licenses/npm/@octokit/request.dep.yml create mode 100644 .licenses/npm/@octokit/rest.dep.yml create mode 100644 .licenses/npm/@octokit/types.dep.yml create mode 100644 .licenses/npm/@types/node.dep.yml create mode 100644 .licenses/npm/atob-lite.dep.yml create mode 100644 .licenses/npm/before-after-hook.dep.yml create mode 100644 .licenses/npm/btoa-lite.dep.yml create mode 100644 .licenses/npm/cross-spawn.dep.yml create mode 100644 .licenses/npm/deprecation.dep.yml create mode 100644 .licenses/npm/end-of-stream.dep.yml create mode 100644 .licenses/npm/execa.dep.yml create mode 100644 .licenses/npm/get-stream.dep.yml create mode 100644 .licenses/npm/is-plain-object.dep.yml create mode 100644 .licenses/npm/is-stream.dep.yml create mode 100644 .licenses/npm/isexe.dep.yml create mode 100644 .licenses/npm/isobject.dep.yml create mode 100644 .licenses/npm/lodash.get.dep.yml create mode 100644 .licenses/npm/lodash.set.dep.yml create mode 100644 .licenses/npm/lodash.uniq.dep.yml create mode 100644 .licenses/npm/macos-release.dep.yml create mode 100644 .licenses/npm/nice-try.dep.yml create mode 100644 .licenses/npm/node-fetch.dep.yml create mode 100644 .licenses/npm/npm-run-path.dep.yml create mode 100644 .licenses/npm/octokit-pagination-methods.dep.yml create mode 100644 .licenses/npm/once.dep.yml create mode 100644 .licenses/npm/os-name.dep.yml create mode 100644 .licenses/npm/p-finally.dep.yml create mode 100644 .licenses/npm/path-key.dep.yml create mode 100644 .licenses/npm/pump.dep.yml create mode 100644 .licenses/npm/semver-5.7.0.dep.yml create mode 100644 .licenses/npm/semver-6.1.2.dep.yml create mode 100644 .licenses/npm/shebang-command.dep.yml create mode 100644 .licenses/npm/shebang-regex.dep.yml create mode 100644 .licenses/npm/signal-exit.dep.yml create mode 100644 .licenses/npm/strip-eof.dep.yml create mode 100644 .licenses/npm/tunnel.dep.yml create mode 100644 .licenses/npm/universal-user-agent-2.1.0.dep.yml create mode 100644 .licenses/npm/universal-user-agent-4.0.0.dep.yml create mode 100644 .licenses/npm/uuid.dep.yml create mode 100644 .licenses/npm/which.dep.yml create mode 100644 .licenses/npm/windows-release.dep.yml create mode 100644 .licenses/npm/wrappy.dep.yml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..f6ac05f4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.licenses/** -diff linguist-generated=true diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml new file mode 100644 index 00000000..ae62613f --- /dev/null +++ b/.github/workflows/licensed.yml @@ -0,0 +1,20 @@ +name: Licensed + +on: + push: {branches: main} + pull_request: {branches: main} + +jobs: + test: + runs-on: ubuntu-latest + name: Check licenses + steps: + - uses: actions/checkout@v2 + - run: npm ci + - name: Install licensed + run: | + cd $RUNNER_TEMP + curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz + sudo tar -xzf licensed.tar.gz + sudo mv licensed /usr/local/bin/licensed + - run: licensed status \ No newline at end of file diff --git a/.licensed.yml b/.licensed.yml new file mode 100644 index 00000000..15f61982 --- /dev/null +++ b/.licensed.yml @@ -0,0 +1,14 @@ +sources: + npm: true + +allowed: + - apache-2.0 + - bsd-2-clause + - bsd-3-clause + - isc + - mit + - cc0-1.0 + - unlicense + +reviewed: + npm: \ No newline at end of file diff --git a/.licenses/npm/@actions/core-1.2.2.dep.yml b/.licenses/npm/@actions/core-1.2.2.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..92b8b024fbaca7f1c6ecc523a6ad3f7aa09bb71e GIT binary patch literal 1336 zcmZ8hU60~66n)RHxZ=Ue%yR=~P2UQG!1VkyC%Wh{D%~{=qK_*U5Yxg~CaV zy|&&RX-lmdRduK9CLr(O+C`he-8J7wu7*D6{RkBP<4fv8ck3y69EqN3+DeIQ6P zIU1F9qYlBxq=&kj8n5Mf-DzYtv-t5*Ut4DbAY4oqZoKB0dei8O|5m}`ZK^tL+n5^d z;j77^)B0ivHTHhiW+bb+SsqX{JOtnWstkQTFJuKBkI1aAeBf>T*O8ueU8ZpWHMWSZ z#vsDL{FkbouXq<1({<*<+pNvd=}@RuGmF#LU}%T-jE3 z9aZWPAh;1XN+GDHHMpHB>+mSF?C563!25s8tA~yQry|>zZ!G5|3OeQ4SFz(eTCf7= zMNDs^JY?sR(2=vWe5Y(rEPbcnM7oQK|9;AOQBal#4dQr81V>$@+vL0x=_|cpHqA;( z1YSFU%Zy5pKHvn$?4FK1-yVR@UPL0w_c(yXt71&53s zpi`0Vb1?BEPsmaZ(_0+4uNgps>bf+x+;95nC;xV!KF%UIMb^%cjKveX+rVj*Z zCP$;PZqy<8nDkJ0Q{%NfuRD#*W)?p_>TBz40ECOl!j0D)Q*Ro5@!u*~yiHZ7Z5vag zJ$yAebXs2wp~l|N+KgmXH_HQxhKJz$UzMTH=Y_1G;}Mzll@Gj)|2opMuFEtIpvD%_ z)fhw=nEz6>^A+#nV!F8u8XX?#X5M6pYgw6ZD)^PhC5n~E00K#m_XCxng2<&r9Xz>A_5x`Ru?Kn$-hn1zDcAo>QXnsBT`}yO~ F=pRW=q$U6W literal 0 HcmV?d00001 diff --git a/.licenses/npm/@actions/exec.dep.yml b/.licenses/npm/@actions/exec.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..b1effd3d3a24dd8a8a5e7131bc61c9b98ba242ca GIT binary patch literal 1336 zcmZ8hUys^25P#3781dAT0<=<}c&Zo7VqHj(W4gCG^}$ID@imDf+vygmAHHJ;_H-v9 zfyXnye`B#+E|Wp_Y6FWevi8~xZmoW*dXfB4*5PpjpH?4NpA&x@v1u6l#7%uK?QH{O z?uXD1ovxDB^lFq>>}$Or-DbVMYTr)Psy6-lf$ojzzH7hsR;hI_omX}}%KAIb&D2S! zYc)7T>9v0x+$LFqGn1{AL*~hw>sMa6w^UE>O49UR4U-fE;cxVjehPDlhe*hbu^^&3KD|*zH?{ za^~XSq*XZ3fOO8(Itpw|J@snvG6W14-6;nje5+tl-X|7+M50E?E+Xmy5fwbH;SGZ{ zlLxDuw>k!&f*$H_YJ!%>b*C}2nI(){eQmvqfaqd!=q6}Rp*M}bgl`osj#JfX*QU_u z0AEcWJ6$NoP}AUNZ7ev|&GHaMqlf7GUzM>hphl;+UT^Ni<*>MGNDN)S4?faE$ zW!FKa?g1h<#*L*I)WaIOohs+?QE1u0Xl&&Dzvb0k$ALmw?8OV=6j%u-UVLRcx`PEN z@w`akg^5FP7Jwa`NOQ45W~>4IiU%kUB+CL_#3N^P!h=@W7N=Lvo(}>JMYf|@e4?n3JY{sI zLxbCluwx24awN||C5Hl$W}l&TRthf%8p?r};AbmXkq1lLA{QKwDLUrjef))$GzG$0 z8N%7~;y9ZP5#toHAP~;xbVdsC$H3mVge@V!GY0U`1UpJH#KV>4?{*&pt7LvX`1kYo Gx8yejX`~nc literal 0 HcmV?d00001 diff --git a/.licenses/npm/@actions/github.dep.yml b/.licenses/npm/@actions/github.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..d3204169121599cd556b647aa041f7bc8ad8711b GIT binary patch literal 1284 zcmZ8hUys^25P#3781d9f0lN2gJe@a~#k!Cn$8@`@`rssn_%?~7*y$cpKm3gy*wa=* z0*_~Y|HfjuTt>a@)CLxR$;xTd+x11eW-1raPc>RBY~W$_u=*0Y>wsbA#QiZ*Z&1bn82VGp2pjZtX^;)}6FYjq5>HuQ+$7k6K-+ z-Xcz?-Th!U(Gskg#!A@@q%5IXL04TJ0XX%q+rY0S{sc(Oa2@rfaq!2Nhd<#-yZux~ z;p(WyPFwE_w1q~Es=UHwl)Y1R3}+Ms<_uLM$BT-=8Ib)I22276OzEWVb$5uHnI2|NNOcp&^@9lxL?5= z?!inBMrGZoL)0-gRqa%J4fpF-V?r~79}m8*S3X&E;C05(nOdLyw+gm~scf}vVyLx; zE+>bb))zzOvG=hyBUsh89zmn-;ProXp~tgeHpqXADDb}F8~Er1BRWrGkCYe+&eR4Y z3ylA$%K3^{el~4u-n_NS^tBF;aWijC;I%BxPZj*ktL=?Lxgqkfgdk+z?Cr`n67`qr z78-J6#J+U5gbt_DI$XZS{0B1z&fl%BZW{I!ihL)Y38%mcIP&}}+tMv8NP*`?49`sL z^OFGV;3N|-knezGFYq_ZwlUCeM^1|Zat`cpOc})*%aZi8W!V!v;#`&seAEXf5LDzK zknje@D9-KRKzXu9Wb(*TCSGFLF_C%99fA@#5-wPBN(qPKi68TVBK;O&GnVZ*vd{y~ z#0pul2J|Z)pxBc%4OHZW>Uq$Y zjzf-ud1$+-d*0JfLOz0@M6f*bHj+FO9FH-&jP=^x z4|Wwjk~Py*!PcnVz-V zPRE$UP%q|t)^!x_Ese^m@l7?io1G{rou$pKdo}jj`d~;~YSpNYS2~Z?;8YXSX;g~L ziR!i*&nhNos2Z+xL6jIUM_1`V4`-^Vh9uwVTEJLya_`ls(A)&Um9?hU6)>qW_0(e_ zm0uB^bf+wRa;>6=;x_g0IS@6f>PQbjRCK?hcZ6>y=WV%BhkeC?K@W8|HD1fTrPGLh zX7LcWJm6rmaN_mG)SE`1{HF@`F4M8owvDOL9{xBvbXs2w%bc0uX^Dkcg^+=wp+ETk zS7q#d`>c=?G~D8{zVeRu^j}Aa>oko6Xb}!N8iV*|CNO_fwewZ);AFbaynBna85$j) z_-fu_iREFPkg^XC{D|9^?zZ4^I$DRvps|aK z83X74?cSbNx#d)3oAQO_oJ2wUJo_rvd`(|if%BJ`UPQUg4ke)@XR>^yY(q@G((gj9 zW8#18b6ymbr~(w1Gvn{liuJ2$Lxl7JWsYjXHOy( z=oveL3AG4W`%+1Wy?cZ zNa!J!lp>SfPLjzo$1#T6y!;q{5e1Kl<)ZN6Z1M~gK3Yup{G^|gd`9uHd*y-WV?${3 e;T;gbho&`WDe$l^87}Y5i)el^_}BXLujn8CT(koK literal 0 HcmV?d00001 diff --git a/.licenses/npm/@actions/http-client-1.0.8.dep.yml b/.licenses/npm/@actions/http-client-1.0.8.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..d18a24ff96c5b636388ec3743aacd15d45d64961 GIT binary patch literal 1386 zcmZux&yV6Z6u#%Lc$!{zR~cw;6{mWF8LS2eC1Izds)vvm;#Cr(*qJHP{_*|nz*MdF z1b%++`}GWukB`w%^=d^Azg4xke5Sg+mv zU{}#2Su>5bvMWkO!ezlDBB%a#EBcOa^dk*)G9yXTsKqxMg{H(@uA@G;jy~0&=~=t& zbc{(1^G(x|K&-&AwE*@=?US=!vXS7WcO4~Dd*R*mX-rSn(~PBk%|My1G{ zsBWwAtYUJ8s^Ll(M2P`&bd?_TaHfiCNb;So1&lQ(_g;+(%}o$oS!-%t0h1b2Pdye= z`4!PgcgoTy*D87_Zc`7R15u-@j`RRTMfWRuNBCxP-j*A6*jF4F^iX$G{*ImN)R(|`gUd83LcIMDf{rikGOs5ZVN7_qjh);8oRid zF>wCh?(J!nTTVr`DPLI5Nffltv#(;!*Yt%IIDd)hMU>m@P!c+FCd*gKHpJvB{VwD> zCjQ4h=S4wTPGYxD1xHQDBt5K!e5NPN$*c^!P6eJZfXj?L=?zYB%x-AM^JEKj_9RkK zzQ(i>rS!NP05jUNycEeHWjXB+`93Q+B&-1~h1}#|;yW(O1(*Ys%!q$Qfr>3l(?G`# zaFGX{Nw$B@#q+kLZI-S%iccKBYxb1#nGWWXl!;wTYqn$0USUodMCYMxRv3t0wmg)D zgdSo^DKhEpB$+I89Ami6%a8FFQSg{pE(#ycCeJ|Oqs4^JPx?8@XA~d1R~~piHiR}G e-T?u8Xj*fY0uSqw;qu*AHZGO!rm$wYN&Gd+EHg>rvKUaW2p%ovzj3 z5Tn=rad4Yt3C>KmRt{MwZ1 z|0b=%fd-^=rq)qlW9q3_gO?#%xadwf_~2Uwi}F6P_#+ZEN_G)Z4~VGXaSd-6qnSKd z<-FA~^c3_^cT*FzJgz&9nawO=-0ExVT?9lIlS4N_a|*p_^d)?&XmOmXPP;aRMhEz6 z^4RG@F@~B3KWk&bscx2sC>lLP-#=BxzK|DYg*xt$xlnn-m+`A3J?pwmc0g*}B6c+f zBaF;nRP940xVV_EGjG9WZH7k2=ee0TDeziW=9`MXqFoq_N7-=&aVb&EyzTpyYh~9# zrS1VDH^z;n7}UcWx}7TL@lj~m!Dwvc{oV5FuH!(VEcW7sa0;x16E8lo9o@l#lz3jG z@WRBQI19iIPIB=I#U4oh3jeTtmjeBK;IGoP>RFo8D><~I< z`JN*aJCoUd zBkY*MjvUEzP|2Y{q}gX^ot47NfrfJ6CHUD2R^-9bw#Ws?V~UQscpraZB~5{FR)%o) zyg1HgL&P|REC__NIh~P0{4uciEn!Ot@QeXGG{KIN4DoPf`Mcf6z$%$v5B~l9`(N?{ DlBJ=q literal 0 HcmV?d00001 diff --git a/.licenses/npm/@actions/tool-cache.dep.yml b/.licenses/npm/@actions/tool-cache.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..42a121489e5f34745ab9907de701deddcd5d660f GIT binary patch literal 1354 zcmZ8h!H(ND5WVXw20k@_Y$HH=@u^&!UK5oigQBxt1U*m^Z84EVfuyoE(2wtsvNve} z12%{A-n{pQ@N&6K2HC3(EdG$S*Jf~QZ%ntWW!U(K#8z3_ZexRV!RnnSXjq-}!t@oqbtk+lV+o@XBreFU&>6`XzZZf-{q?l|vPiH_NLUl$BmJaAX2iL=brOk53?eZQx)01@StY zuaj6fDcfrooPu`HDyym+T&*0CEQJfo19O48mG-JqvaS(Sg32Ja)QJjG?B%&)QgUs+;8@i$)L8_Yak^FXV+;p^kfGE>zy|h5X-iR zdE56Z*UGMgO5Fp**%&vLVo(oj=ys}{$48-M2cxlZ?yr_tcO3@`Ww948gi~N8oOtn> z?dT2`q{Q6c#aRG$aFUBxDE2_|SNN0VyAnz`9=N-$R z;R&&MAs}P;+L2fkAaLlNj#0$!;Yj)Rfb8UnWlX%Lk!;UI9=P`f2LdO;1>2r8!r^r0 zr=p}NV~5l^%l8~7(Id^p3MXR?=x01Yc_3L9#zj7IMkhRIg>7+qF@%q95Q3RdL7(zeJ2$770)xp;@a zu#%=gI4eUqdtMx8vms(c;S?l7Y))sU5PuBpeM{I90z6{?4^6P6Btt%2S^jSK0azvT M>%qUDFMlWh0T2GF%K!iX literal 0 HcmV?d00001 diff --git a/.licenses/npm/@octokit/auth-token.dep.yml b/.licenses/npm/@octokit/auth-token.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..2295d0ed5514202323363e61633ab554bd491324 GIT binary patch literal 1440 zcmZWpU9aLc5Pi?D7}1w|r2yMiU&>Q+!Cb6{1UX@EuU7kz4@107ViY?|k^19%?7;R* zLLwf|oH^&r$n*I;=!;ISX!eV)to~iuWii@jj!)Uof^Tv#O7|=JxcF)DA+Wa#Qu|96 zn6c}M;kKezWp`sq(Seh%Ay+PYtE$4Hl1_S{a?n=;Br5uv5?#y1R}(b4lb7NQyvEv# zSuK}mWt*{FRJvRKp9@NU7-Ug*GH6vLdxOGG*~h`Gf;kyI4wW=3iusx)84HN4{KKy3 zPka&Ojif!#DW2*BA6)CpZBXaN(o^+JA3yx~Go_OeRO#LhsvNBz%#?hPL#K>$gp{F1 z4zj$_c_?}->yS=^l%!8oHN|k2A^d>g8(p9r1-i6_>Q#TH0?3z}?~ZKS0Lti-y%vM? z4i(1eN)^DQT32HSH}77mRvLPOzckD46|-mGsFp?R5mgUFNsnu~!c;w48l-`k%FQGs z)mQCUJ1&pwR>91vi!1kz7!L>)qk$U7Iiyb4>g4{Vmv|Y=R+%QGS~+-lg-qjueng?u zv&04%*-rF;qM*U+{+p%GbAG`q@VHxMT;z&9`L`l9@j8t|kJc~=S+$0RzVlaESr>6C zPP%RN)yc#tYvr_KPrRxe*F~wnNv~^KfL>#3rxEy}crw$p?^mWN+LlUrHxRv5@8Mkd zAq{HB(pW5oDq6be!T0^Iokz zsNK?@iS-WX(F>1x{vLX;Ezc8&y-fv0bcjUG*T*;#bU2DbnlaGW06O8xR-hBxvm{@j zGh)O(;Xv6gieuN#<3&d(5soXZ)5E*que+RfX}nzz0{lzYOYJTe>Un>CZpj{zd8J0F}D4gF22@4`xc<%b``qnL)}>EeCnL z(0M32E31%BgOsFCRMy3CmLWlU(OsyAeJIdJTc}QTXDWc)Uwn6D+Zs?tpX_TfNEB35 z7^6#70Fx?Rj;-u$;T)rrYNVk%3mvoUS~0u#jVf6*9#M5blytkMS6He?3-b-clny7v zSjuLs9GBa5qhRLL#g%(Uj0c2@(Ljyk98#+*b#mX*OYFyEqf8xAr5rrGLZ)#+Kcdj- zS?Ga`Y$kd@QPALZ|6=L$oL}$?Jg$}*7kR~&{9lopc%86wXbqE)RcTo0JAaX-brGlH zq?<;+I+++{rTo?{r%C3xE{^)E^tz@6=(GiGKLS4#PiC6-^~%&m)6h{~4McC%d6QiD zCJk!Gqp?^DRW#J=!T0@L^8CtU%P31X`Ew)~@r?E&{lM33O|vM&c^1+$&$sCzCuE2y z$zLelP?WsT-#l4|#6Irvx63FMo(JFUW6lug$tpgqdGbV$s7+FAJ;&|?I8P}@(<>Zj zsNK+xiPaY9(Iby}{t|ky4bKyYy-5W{w2ws2SBE$fv_FV_nlaE=13KZ!MxYbhu_T|P zGh)O(;6T|nieuN#<3$H35soXZ(*29zPurZfX}o3#J~A+j9%DAOgTPfB@m)ykXcs*> zmV#0sO*&ob#FU=5%!OUw2%lBX)5J+yrAaPu453)$Kg*wa#zKk&&zw0Mk?tn3&SF%d z3xH6YunEc8?+yDoC8Rh54=~`yiPkKNfrpVLUaCvD70mzpG6@!~cWmBPNSofK*(c29 T^WF8yx}OEpuHhB?^f~weC7HnO literal 0 HcmV?d00001 diff --git a/.licenses/npm/@octokit/graphql.dep.yml b/.licenses/npm/@octokit/graphql.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..6b8f545d4aa48c85f129a993f0bc0d7e532d12bb GIT binary patch literal 1425 zcmZ8hOOM+&5WeeI4BX2uptY0qQuq|DP1{6e$(7`67eNks&=wO(R7EPTf&BP( zuz;7NneR0OpPrt)E^oz>X75#L)E8+M=OORwf0~*1RSa6HZb|RvZ|A>z=GvpL>swEc zZJQ6*C2ghIjRkG(#9tu=2To-pMQ7-w1}X-1(ZHa*t0+>H@M_hHK0gDdHm29h#o{bY zJr?s)wToZ)=b!a&gUG8^c#SMYr!mz^b3f>%_e5HaLn-ujJz{f1TP0Su0Q6=)mA<7Pjg6^N`f<)D5Xb>7^N{i!@?8;`W ztd{%dMk36K#g4l~v;%~TQNxYZ>{F{Md9uI4S?tH6k-GM&k`^9Wp;OzUTaj=5EUlRVhU1m_Lis*ot*=Qca^S z)+Sb2N$VZ=#JS4wIWN>#;e1UOpi>62-3r`NoS13bw@`k0dK!+g7`05x22_25fAx;@&tN|VIXp?}6?OBw~!HgQQ z4>(Y|3&POSIlSNqCyCWctN8Gm@a-<6T^z0%iq8xRgXfS zq{*jkos`ncj@h#14e+a+DJ95=;Pwk;zMAs7jzGo zJ}_h7SNggl<{GK)Dr4w`r)&bE8xVOQ6SS%qm+Fk^*4m3%Eth9$+wr)lRlodS^2Imv zlNMFei=dOW7z}26Y40y)70k(~QP;w(DB&?n3l0e%D;9!D@LNtb=zwZjQX4s|y+PRspsClThv;>LX< z#sk8|XyC?a4yjj-Jh^}2EndcBCruktBON@lLZ@*>zoO9jS>hNN(M|GzBH_XN{#&K* zb9o^v=(t5@T;&Z%<=>9vr0X>50n`WyU5!G7p81=ot*bZ}C)IW8&Dq2%8|l2`oOo9y zK37NeU3g#90T`5pY`+4(6fb7l_U)5ttFEJ?xCIDqIe0i%zFULa@n|d#g{(TdDD8Rw zYk6_gv1L?boAM>f8S#SldG?vF*_viif%jQRFTC7lhmz2dM``&=*@mL@m44;vIwbbn zK4(QiS?+c4-9F(Ab)Lq_Va?NLdctg);nZ`SeE^pkl_0&rafaCq?N}affgU~agqN?O z2ix#6b=aFMr-=4ZUh?>mL^ZbH-WvJ zP}iTjz>HldhRcF-+1GRu0}!kn)St4ZYque*=~>y$Sbq8Yv!Q6m4V{&3$jIKPvXxZJ zgBV+DNcB_>`fNZK5D7pgx|TtsJ9!dEa5mPS%;NF!i2kvhSGs%rM(q59`EHP+?qtxa z3JmD#l)ZhJMesmIk3%KRf?~d8NzTA!rSh}n3 z>4)#%{7mT-6IHsmgDOX>A=?-4kK{*R4XB6N_v2iMUxIK~1B9 z8>cy>PS@(-ex6Fz2nl_)MueXEgRHDOaV`$JZS~pN#3*a!ykk$is{+@e)E}ky zH7!7|EoA!<_@Q_))3mQwrV(vRrMw0RZq<7@cYL!3w_|B6mO_b^PI~aX-&&qub!-^r z>AHA{GDbY7U6#J(E4HFpl;e9A(hDy(>AoOTWKmMQQo5!nd8J=@vI>d)w#!(aQ<`}l ze7lP|!#Piu@qWdVXL>?!l49#Qb|1h+N(D%-aGarcOz{AKAZ`Bpt8s`6fnKBlwwrt+jD4X7<**nbT{oVD+x}OEpuHhAX_dfUsAJNYh literal 0 HcmV?d00001 diff --git a/.licenses/npm/@octokit/rest.dep.yml b/.licenses/npm/@octokit/rest.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..c49637cbfa1ac06fe0780b96169f4971e265c173 GIT binary patch literal 1468 zcmZuxTaTkQ6n^Jd9HlQa5=lB+somzOgg6tcTp}Pl9j*3(fD^n6IKpP9k^1BN*(BR- zRcWLQhjYH$F`m!oUSD=%MYG>jWz-jGmV?k{=6w}|ma1RT)6a{a-Y=d!bG@LgzjU4+ zyRICrD|(h@Hy$Ztc|pORQ`Jh*8#<|h5><=EXYDnr6PNOg$;OzAUM-hrX`1o4s8qN7 zo)OJI45F+%;kB|7y~ao<&HX{Iyg6w#4wcX=ig?J9oOwh>{ApJ77yctE8bL8HD4OOy zR}9tVI>>Wl=%IR~cRxP8qp($D{VVYe^NIJ>f*xY|MNlnht;F#7|6{+*G5em7swatvArbZ0nc%}1D_D0k`odzLDov3Qc;VgVIipu^<7o>~SEKsal@w zuW%MGx@u`*;9$BGN+oD^qZ~ZKBRJ3R(c|eiy;C%n1()HQAkQH>?BGb0=hST+L zM{?428iyX#2nk)aLWGX_v#5-%SQjVNw(8B=#42lPz2l5IR|Q^|NA*=WU(?~~m4R%x z0=E<=X4>}cm2S$mrK7k72yWRsI9tA3gWK__4Gx7YTe_&h@&4EH;-+KAC{MS=OOP?* zIqkFb0}kzmWUN-sNR%a%95Us&)ov6jL#DKb3z zaGVw2#$R}jDaAU literal 0 HcmV?d00001 diff --git a/.licenses/npm/@octokit/types.dep.yml b/.licenses/npm/@octokit/types.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..55e5b6ed21a1295a1990e65a12d2e2037b000ae2 GIT binary patch literal 1398 zcmZ8h!EWO=5WVXw2JR&R6ua45eX3&9F;Q7ED0#ENVh^%JTWlp!AgRq7=*Ra_a=gs~ z24oIr-n{o_z=wy2petIrq}iXkbow9V7VgqZI}5%`W0mff^lAP$e++zdNnPItc4*te zT$Ys8g^?BIxXDVRdPkK!sZKeRSvqM$=>$o=(SOU**`U^~?29vyYUg^pTrAGY)x&XK z>UQygz}(s2j4Y~F28}9ZXHnBC_kOU;;DM|jOeyV>V!mQY#sVTIf4C+6i+@Bro>M&4 z(n|Liqt3OXyYiks{r>pJja;caXVh_U+Sp($+)L9c>(!I8R7)d|7do4wbFvEQWTYg0 zq7w4YG9;&|=q}X5FBIsbE8szQrh-Z|^_i{)jMXRi2E&kCQDLnvRRKJzbUC!LbA`8! zPO6cX?p!TtmR&1m_hXYv77eKmXp-Kq=neMi!I6;`B1(@DBB^YK%5!+XZWO$mI{5O@ z3G0~;779GikXl`-lmE(5RzDmYW$TbC<)PsZGOZ7e(+Ite1!inz(|800-lNu^?8Y45 z1>T_l)uOTQ8#dvi5?FK^Oox^*1vQn1Wn)LbIzHl=pLEmcH!lritEN?3PE*TqT^#jy zIqI2)-DwB9qvhieMk3Q>uUB_J&GPsi_J{hy6c~43-;=Ei$UDlbr=W%j_|Usz7%&{I z!)_>yr`KlM{$HG!Uny=GW$7k=i3B5_(O#sV`I@b17G*fkLVDr(Ha+Bo3=t*yE2SHX zl2`hRC+m>dm%U(FMyVja+sB+C#*9IQ48bP`X329hV)S+- z;te}M^o`4!MKQ22p5#OF{QvKdV9|QV=52L*fo5MZgKu}&hv|M6OzVcX>g%`QKbn%l A)Bpeg literal 0 HcmV?d00001 diff --git a/.licenses/npm/@types/node.dep.yml b/.licenses/npm/@types/node.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..a8fc69c13d623dbe78cff7d2f04988ba4c797bf1 GIT binary patch literal 1519 zcmZ8h!H%Oi5WVvirR-%!qSG^b%xUT1bgU&10h!*`W)B3M;1S@+Hr<=QpJx+#cP0vo zC|A9D?^QVu4-dgm^)jX29eT2vT1D@`dtmfua#s$N{H3o2V{uV(f5c#*apPs>{MkMUF_x|>64 zetrKm2G(8*d11`xfp^NU#p4`kG+YhhND@HI;d77$tSuZ0xCXU9uQrqZK64(@T` zwYuK4ytI}+)t_l6YpskrTg3HM>B>o1Qq*lqH4I&6}GCugQ}CQ;Ms7YifWLW38KihKy<9$D=kph zP-Tp&Wd&$zR6X`$u%0TNWhV@MvaRr-$3<~3J1#!^u8pX=8Cnj27Br{OJ7%Fq>-1SI zYo|RVIn>?QI9~T-58O$(KecoalQ}ak#Ek|bos5ur)yT8^6<+yuJay8vAvMxM+4&Oy>UBt;ctFBY;PJ69}X4>bKt9Q?2FxH_&W_40;!V8|3X;2ng{H*-+JiTc< z?nkDruvI5HzC zbe$Yxo<7qPAkqvsjN_i6Lz$6da7X0~5F6UDe7!}J=!qx1d<|#J4KGu4@iaGCP7&>+ zyyWXc66Lf% z&)br=SrW6npeF{t(Nn_6cZKS867gL~akPt`9p{`f0Dg#f*%Nio^<~T4sbdl0yDoW_ zI-Tn*Epxnvupuu$P+oY!LW*);IL9`5w)=1Z6Yz*AMo-`YB4rbxn~*ni9;Zuj<{se6 h%#dOhC4j|P)7b-$c*N-ELTAh(nD!5UlYjpc`~V({-bDZa literal 0 HcmV?d00001 diff --git a/.licenses/npm/atob-lite.dep.yml b/.licenses/npm/atob-lite.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..3a1356f04e07b07ba1cc3c02672cf3e0c354d9f2 GIT binary patch literal 1506 zcmaJ>OK;;g5WeeI407596noL5Z;DOFL}kgKq(N4rC4HjVs_`69>7ramwZ>1TTS?W}Qf>6bN~2EKsMCX-sxvq` z=O(*aF3*Uc>qVo7WjCKY``7YAT(25AS_A`5n&|dwSJ5L`J)1__6{UR5vVtv!HX?HJ zZ?~d<@I+L0$|CIKE|rmlXCr%AS=rJ&w$czFY0pb~Cy7GVL7G9qo*sP)SY>^sv#CZW z+n7#9O7FMnDsz@GISqqXnovX}=-O3k43(fpPgg_+O!rBNuSjLBZd3(KYIQRYa&(pR zoF|0}(-*Jpp}1*(_!@{>S@opG8=|E5>rin$JNUECsK(>O2yFVf^;&#G{B^Gebz|}H zMx8rn;UECc7H+)emTS5NZ8k=uPZ9ywrxQ?0b)(p#Sds zLuH8b^+K(n<5n`yPZtbD=*Ha8XA+p4ERqJ0e_zHGu)DE)4P==-iF>l?zUD*!PPBjK56cGGsBpe0EcYAO<*VbVu z6nZjg6L|e#cuns%7B?L`Mn%3YUlPHH7jzK$cfMg8dPoYqKg9IH%Uymf2@xX6%2&#_ zlw_~;JI^*Tu|E!i6$RxYXyE%p${EgiwoZ>5o;}kOa;~eUmw#%(BUW!dBGrK1L%xrTLC7vXIZ%bGtP*8 z#|ss^BuxWda)b+U*SXFQuYy1CO4{Y=hT-CgL1FTgG75AsxK0zkk7<+alV`6|P!8cD zgxyrW?3h1#vz|c@CF_#snYXmgvr^zShGS9Q(_eVOVoC%rd~voS2Zb*$GQhyIfQ8(Q zy&?JX2M6~qAhyvU-ZCH{54=u|+1uy=)j08(I`%k+F9a&I;t?}byQT_blm*4;I lzGdC(dO1|qNwfS&{Tjrd@V&JX%ci%B=xuPZ34i>I{soRq-J$>h literal 0 HcmV?d00001 diff --git a/.licenses/npm/before-after-hook.dep.yml b/.licenses/npm/before-after-hook.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..440fd2fa798ea6caa932a45876dd077ef88eb0b9 GIT binary patch literal 12356 zcmds7TXWmS6@J&R*s{~9G(%C2n_i+mDVChDwIz=v$IW#5umqMQYFt<>AX>fr_kQ2m z1#ke;PGSpQrm+qx>N)<*&tuCA;4LdY1B@dk8FR)TD4bF*&Cqybf% zXU+4;wkq7tZa{b2G&_HJak0soZM#||RdKPYUltb!Z2hu!HZ9yqo+YmIc+>7|vUTS# z!D9T*U!I&BU$u4O{H1xbe06jCaC2fz<32T)=HD;z=g;`>O6Zz5;hdj(=ZByy=<3DX z{K=Lr6l7k$c=7cYU!>F!dcWT>U|kN3-O-}9TE$X5$HmB;cRJ|t%J(y!W&zrCaKCayeS54y_=ib?dmFR#h~+!SCHfLY37?cTeUn4Krtzg zcBxrCn+GRvc=Hv`sH=9fHQ$(OjSm@~tCF^GWpj+bsy<*asdmqGw%InO+Lx|2z#3i# zwv26?ZB=Lglrt4`6l?lcv$c)E;hWmx<#HpkN1aRCtijNA6L}oMRaUxiNlAF59=f>7#Qap&=P+vx>yeoZc;Mf2(^Mw000f^? zEQOy%Bef}P2|uS{dA@IxZPd)%?6*!-0c6P8P#owhLZYdCM#SOV(+nJmvHdpNk=i<2 z!`?dwe+T)~-@f=29>9@^XVDm%Sljpp0HtjJ_S*T5D#)%}38f?%OguV4@jHgYk5xM} zr#Nhezv|hU_8+(qb@Y^_E$P+fjlz!N$bACmnI}V#p~yU=Zp3167;%iFaD0#`H=|1y z`fM?H?be9KAR)gp3>Wqzk147&gP2wVfi`|tCV4BWf#aI8YD}ILSpyQVv9H$6o)8S7 z6~;=}QNuA1SH8*P$F;F0s7pxBVH_o_;(Q`DTx|!AQ&S0(QS1$n0(tQDNC8@z zQSz8Z;o+4DK3}*rvxfO}qJ|Gu{qZ2E?C~XG9O4-~w#@ga28pirjuC5frb9<#mC*^x1eh9Bov=pqTu@chM zC?ztuNCLEcPLKh6R0zrlmcse7qU75ZLT-$?!D^sK1d4eGGWuN4CKS!T2S=66r3m6p zI`x;bkuH`P>4gRQ#mb=`Tth92-jUM|5g0VddTyvP%&eDfrs%QQWQ`d^Jxt(oWCOGn zSu!`U%*vu7f)x9jdMP1lQJ~Zc`ODB-6txJqUUAf0Nt88E*A@O=Y{DlLLVsoji!_KhpN#yisja(s(WTH8eOaeOKuh#59iOLQU;TpNM_ z(jll9ln9||Vx30=paxG`loQ}lPAw$v;uD`EQs)MFUP1QXbl9 zW`nM4#9K&q$R_SET8>l1u3h1MXcmCpn8NETP#7rar2E07tGV;%v*#)_kRnc0& zpj(S7jTNVclgtXLHJTA=BV3Mf?&bek0XJc-1B3N3B$Vy)bQh)+q|hz01z`i(oo;u# zoGo-!0wUrs=yN+3liX$)VT5NV@Pt1IAr)AL7+k{Zy|;BH9=)y+y`YH@zcSsP_HRQo zr~V9WepRxx;Ijy$sD}Cu1Yt6(2e%9_XyHQl9t$Ff5{k|-lku26&C}Hi3$t7sc(kIG zl^%1Dw&^v2iCeY_tk?~TIu8pYSh5H~`+Pbi#8LfUSKgnC5-CzrwXEa9XQ0BG-0ppw zH55B{s8E?)PzQAxMlpof$Km~pfs!dS3VQD!3#Nsi<4;?^zjl+4^_ohP_`FdgQ z(LW4RvW2iv*ykZaP9quOsQ_K7R3*kwRh@KTDuSJ7i=thoM6d_{twt5VsMrmT`MHS5 z@EzMYQP3EEg>wM~>ncZ2M_|BWv2ecBdHvL$1<6|=a>F){tcE@bsW*ejB`Ub6-6*OO zp0nJ8Fm7?$4pib)F$U;AQlX=>SL*CA#1cJ8dj?#{tb*uBY)zP<<-rsa5kGXp8cJk? z;j(uD0*Ye_h7G!d&^qKGQ5@8+fn%~bl{eJ5f|8K4sh|@*bcSH24BmmD%!zKFiD5N~ z-EfZ@ahf%pn0Z17{e0J9b+Srhe2lNo*LBRNHil{vC__Y!Is*v=h_vEo)*lp^DyDd- z23QbHnBf6a!4DOgo-qh^%rLlMmW8xnQCi+TVhb>n4S?8zxh_F!^euRMfW6-K5k z1VL!#{skmIpm;(qaso!UyO7>_04LCXMAZy#P>V|^q+&HG2_Xn2;-KE^EBDXpdP3^B z=0$%~K?RVoS?(-c6xnS;D!S(2=_t}<_Y&E)Ci2P+Owj+Jv8jm4GRN&6iSoyhgXo-0 z_>Bj1CR-2jiYa>2&B~8qtE#79?nMFTtU=8%0Sq<40YafQ`s`FbDPYjmh7^HZQ>W*I zBIYGBVe|MGGfWHxu-e)=TQAHbL?t2^2al^>VL`S8VO+qv zn~&7i$Kg;~%R(d+A6!_dvHZkDBoxyv33lv5J$MJTGILT_4l!}T4jyWS}g z_n2_R*dwkuj+l^Q*cPoG7@CIbCYXJxAT)WrBGYw*>@6f29dObaS9J*}twY&QoGD^_ zbf`3@9ZU!6z6kiOG;ML~LZM&5(Yn;<7v_D5ZG{(Ox=%PT$=KpcUoQD&EHsuAq6;JP80CLzChzOuLD3D!!kCbl%s+GFV=Q8u2-m zT88lUd)y_!aFM+=G8vxyfchB2tmocgdX@oUY0zah#CCBULd3$-fPwWmC7ch2jB$h8 zh{!TlNvVvtlw`eqgL=7J!iEY>L;nLJ3tDr8HKdZ+)q`0+%*?k}56cIw@DIz!@9*9} znh#g^_gA-%%bN#-I~MB7#ocRMulUjYd3k${k_(7~@Q4an*}#xGFk-NQkwnVEDNa-e zkCT#-PJt`;rDN@?#;XR_wVi=ZbEhsTiu*n9LTbRt}?=l znId)cP}~}k&R(ZyShcQp*nR;mqJT9J$j9&&u-Y{s9jto1Sq#4mY4Q|jb>?wZ2tQTW zzH{Ux{w&EN?#E@9k7&{_$h+7#IPHMXKP&(ttWmgW_;ocMTi8?p z1{xT$`42&Bu(W6x*$Y${7#NQs6J|2O$SOuFQi4Ebyd!rUI_`-492(~Vo2tSv979V* zYR@Gs;_i;O*J$}-hkS%J9acgu=973GC46_;O#ne@2{%;siclDHaNEL5AX-0x0p|fM zVwKH=V51Ldqkz*dD{P8IG(ZqFgDXGqWkEi_5(-hs!CSsrn5%>%U;1hn$tlCtP-!X$ z`mn_$YvSTcq&`xEz(GyOkcoZnyswTEToUBfAzY4N9jlcr*-f?$s3X@-;t@ioaBAUl zL7-h2A;&0+-2kxZ3fyuV`7n41swUK;B=C{gAS4X2a#8}u z5@BJ!$DJs2ay&A!MFonEtAY3+tK4it`=w|hBT0~BOBI)`6ubM{WBosbWZ|1j7&hVY zaZM|@RFG4_B$U)L9S4Y5PfDPm&ZDl@BVA!-i&iVVh5H8~+YYG|dV*03DU0bR1a_}g z#SX$iE7yX457$T)Bs+TfH6PcJ* zg=qp#qI9-?CTcM{@1_L{b9!BszwYmYD28}$cgQc!ASph}P{(7A45XkX>G@&0#Lucs zP=qAn!M|{WxUrw&ls(Ky`2k~#h53M&bI*lgc$#BWOrdmk;7pZf2euHbS$<254J9z* z8QcWG=~m+4E~GQYN8wI!Z|z zAu1RKJho1@m~X2N+Y+QfAQ$BNtpLJp=lcof5KjEP-8>iP!p$4IAI z$xK(z;QNOG`QFtyrTd91(DC-RT<`AKjV<{Xswf76RX!ly(OO+Q%0SD{Qf}eyCK{=7(*mR@PmqG7JlDlBkkiRH^c((A s#)ZBre}8jz{q|;2@YQfxe)iXhC){iQ+i5h$+3Y0v0dCj-^=~Kt1vW>mp#T5? literal 0 HcmV?d00001 diff --git a/.licenses/npm/btoa-lite.dep.yml b/.licenses/npm/btoa-lite.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..5a6d56fed1d7df7aee8bb7a126ff892d1f7debdc GIT binary patch literal 1506 zcmaJ>O_QTG5WVv&y5_W7#n_vxZ;UOERl(pAcqda^dk`QSC4eX-)^SySe4aEOPv(+~ z4N~{}=x+M)@i7`?uU1q!BOg2MRP;+tR-0i(zb(EkzD4dj;(8eS$j*H)r|XJ}UUr?b zZfSKt`Ue_~wYusQ^-2zw%!y{JhjT!si*_wl20xi;6v?5XYBCqACVjd_t?AV$&){gC z8|`YjJR^Rt7PaY@?R;+SU&{}1ovzhj5ezsrMYmVGiXO?Dd8(CNQOegWE7+oMA|j{$ zb}RY^Pef&_Ey7OjA}2+7o>Zr#RSnHUqb33*?RiP>BvHsZsHxYmX9k}FR#jc;JjubS zCZ^M*l=oY=ayqM+oPohBjVK}#Oy#5=d?h5+X1pRYV7gCAd_|DuGO2&}ug@mhRC{B@^$ePi+P zlRmf3!a)F>E!=p`G4-ZFr|_?W#c{4WZQGa{?cuB0A=3K8(3{wIcxfiGs_Q(0hW@+n z50xR#*9*0Rj$6q*KV2{sp&NHcsQhW32GF8Fh-eHN83&kJ5?B%P(bkOfp8Qc-|fNeTv>;q z(CEo%roih5!)toCvAF5jF)H$H`H~1myr6@~zw-^-&_hz-{UN3oUheW^Nr(_hR=!fc zr6hZ$-+8u)iT!a9tSBfKK?C0(QqFMBvvqph@a&nMkelTtJ_XD(fXkdpklx@pL++OL zOssc6Po8+n%h#B;yv%?bK)1P|gbs-)`TCe9f(}P<$O{G;8$f3~+X^tTJRC21Pyk|SJ*yUulfcoqD4SJEy|Hw+g~3<{H{lu@9A!F8JOeN3BVpFDe&f^rBK zA?&8|Wyk!{oAnHOC|Q?0&%C8|o|OWxF&vBXp8moM7E>a4;fu2sIVgO2kpTvt1uW!d z>giui|XeWzx@7x l_bsc=RLfpkr>5mc>enFtgzv3UST>zqL~nzOP59$y^e>2$-Jt*g literal 0 HcmV?d00001 diff --git a/.licenses/npm/cross-spawn.dep.yml b/.licenses/npm/cross-spawn.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..0552e4ff393ca8662a4014363d197bad1f1c5ed3 GIT binary patch literal 1528 zcmZux?~CI$5dH4IV%UD!1;@D-T1qHKy^gXG^^YJsms^gbD7F%-*p`vx%LV$!cO)lw z+frD_YBclay*KhK7K>ouy;wo5l`#u5^2-o>5!y&Ktl*dEUG#HcuOlW5V;`8Q@43FN zAaU6+cHEwn?xAjF*ZetZRSRQ&@F2j4=Ktd5b*O_@^5 zS6{EjPK{K{K{aCWmRTojF&M1tr44QevkDeq)TFWb3R0Soyd(jD6<_TN{>J|Rs#ZWo zD@f;hc*Mg~;I9%jUbQ^879Q&-`03q`ze2_v0S9CRS@H1|(uTutt>`-SyW<2t;rU>; zZ4t_-lf7^)yph}(RZEVT(5QOq#bCL0Jx{U|1|BWydnj)e4^O^PBY5W#<$#C+?$>ZZ zWoojZg|S-J4krXT)E#<`T<+JMM3d((uH1WMJRqu=461RQL+Di_PwrQEiQ{zaq-jHF zq=P?B7Bh_t`q70>&r)eHXsAa+6p0$V?(Zypp7RU6LLN8EjEh|G`TSdvoOzulJz#4z z39}l77W&SAiQ2k|Q*lx_#*33#tD%ujJH8*!qrz)`R9}SGH9v_#S)}bp;D_SL%+tPI znU;4Q9L3E*>@5cm=fZbssCGIUi;qI`4o0PY-~UREZalUG%3@O;Vn%?Luw%ssx+ZIQ zh)X;_gm9qMw%AvI87$7LS12|R=dbVw&DSB2k2^-n5(?&d&}^4df^nKB>3&V~7kI|n zyuh!4;%9)sRRI+?y}?m}wHwF?OSXs}Khu;}ub~Iq&?n}R_MyO>op*{3ms-Jb1= zk|2#WLgzH!FziG!l2;LS#u$(fcz|*nr>Se_@!~xyVU8;##qO2Smu&^xB3%;{io9ZY3{f$wzLg(n zNkWJjEuA?VR%EkSXE9b`7X-rEoXkkhes9>fDPf8;aE}JuIl-F5DdOSCaxc{-+zX<& z8;g;6osp<-Fm2vhOmu=9d`i>M2<_kPr#IW{^P}6ExHK=9OQc3zh<^D+N}reaow&qr VW^p@2V>>=Y!TexxMSl7m`~%?^l=SCU01 zangI@Vlr7MvZrrHU;LnXi zzN7!GtcD{ls_qg2`oZ?bUAuzwp*v>qaMT(D!dY8=xWLJ(&g*&#y)_?At!s2t9v>Ri z!F=dw6(Gheo$(kl;>XJU7xCv(-)m)|=|H`|2mD66`4~@bDTs0{p9!bfFxc_(iLK}g zCPd(P0;E_$*hKbnTXI-oQ!~PH0VK-+Rh$%(Q4yJ*ncM=W8^Tdjq6`hc%!@SJuUN5( zN|x_3hGo7Spj=0jobq&wrsR=jOuj^bHIoGuVh*f;q6GRx3khNy5N_BWDgF%PF{7|9 zdGsR13y2*}8Of%I&S@&A=<)f5dD0U9ou7O3!#%JfIoVJFxDce*;h1epq$sg6$An^^ z$&h5t%N(*&pkfVsL9qytB*?Lk2rZ`Yyrqc9134*1s8q7D2nsANISEV!-DGS-iF39sDiTk;PGxjzg5 literal 0 HcmV?d00001 diff --git a/.licenses/npm/end-of-stream.dep.yml b/.licenses/npm/end-of-stream.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..71cb82915762d7c0979d89b07e7e6637d178de05 GIT binary patch literal 1436 zcmZ8hO^>5E5WVv&N`2~eQ*MMf9cu|hK&H2~nu7yQ@Gjs8o5@6)AHUBgncZ0_ z5^+)WzRF@Yn+3h->x!Ke3OGwx?j@k{PX-Zu(u0Z`b!s>vFpTeTT(3A zmIPIJ97XjvT^rfsjOkh&Te-Ln%KAU`cxmN#nt-VhhAQ2mWMxfypp#Iotmi?aJ9!aj z&@|Rw%yO|fE8C36Il32}IH}%h(=2|K*{VwR1~Z+q!Tn&C!HkR^hf10yB|K(n!2%*H zzuP7KnBgx`*+|;)l9CC4o^f~y{Hs`BZi6~EmY%B@`t8%}XW9wdCZ`L^>AqIZJFba$RpPZc>TlBfnik({3)y}JekoqewC(#V)41z@l=lF^ zt$GjV$`5OBJ06Y2rBI@!iyl1h|1Hn&I<}08Y*W5RIU`=sKF_}JHCxkDRN(v+(mOA= z*`XwK! znAnb`R5dW^HIAmWEK(X7e#xRVr>6n--8I;^KD2kSnXp4g+3MAFkz+R}Y(I@MX zQnF+N0ysL}{r-`-+uPfy7oA*z{4OgIeUrv2-LK&N;@#q1R*h=wFN4vQwDxP%=uQsejQx#sgIz6`XXTo)TvWPSTGiJ^T5X!qE(6tXMvA(V zQL8H1Tb$~Yd;YMi=oYLV4I-~#?uY=K{O(rp5B>+RX9XnFY!nJ>JzR`BHx90=8^{A8 zf6f2rxf81Ovi^YU*9X3IGl3nX>6GlTpL7$*%ggMI? zoCeWfV8HNjK$lLaUiD`XP@yQ_=^BKw`sAL3k=R^=uvS+}ARg4Z8avrL;XL0-wbH`1 zYb0Fd^TgFnAgQHjLG_3x(b)|4gemLM0mkc$sys%FO;tPAUc>Wot1#e+!H>Ozla!EBI! zjwtXx;e&bW1S2|)rbkK)1!roFkp;%TW#xRuD?jPB)lc49rTbcWzxZCl6DaUll=_DdxG982r)@)hPkXcIX9YjrVe*ip!{ zZSg=j1(w5sXCK&xZs3aK_kDgBrP5x+X6`+;V+hMVxS)noaQ-X9N7Ml zFp4#nu9M@2rT1`$b7_VzpW*vQ&?18Z31=uqac&EH%GWzYCU-1h#bXRxR-_(ti=YG! zgcodmObCa=ksq?0BK-zoQx9Iy*dacE2lN zmn9pD#XE}1$X!AwDm1lD2;0Z7A$xM~)p5vBFb{3Bx`!PNCFCRcw=P(gdK>F3EjWJ0 z=#m#NqYo^nF%ZsjAIO$x2=C*>37=W&=TbVM_^5;Gmm9$rAJ`F1zi8P|k{}jdPx_{L n@p=nQ>uS-}FMG&upr1eB)0`G3V$z0$G2#-nx|e5h0z&KD*)HzyPs+99VP5P0-m0N7 z(rVL=_WrwqA0VUYWz?x!4i=@oa<2!wh-PHU*3!O?bHj^d2PSa?fVNKx|_gu()7xDhe%m!rICjVos1Zq zY+^bZDM=rxZiP9?n4BgtT<8o>QJ@b_r~yvFvKpd%rfUIX_0hcuBaz&|QLAeufJcq4 z$6gLjIL~)fowRi8T1hwMwc_S3kTgOziZfj8j4S`>I+Ff|`LfknsB44{N5sA)7T3ygot+WClAe$-v3Uwmt|9vbEQ z#k_inuG*H)l*V1;w9~h{1acX72PBy&NneV@oJOrD?&z*WYsg}Yf7?b`kiO1 znAjh?f|VuZ1@Y}JNEz|vqXOHxNx-7@!bId@NG=1WScyCbp_=RT!gf%x~B~bA@C*m zEi0a9zKvy`RRxYQx-6=<(kEWBn395*-jH>X1K!(-3h!Cw>oPW>c&mfzw--T*H*All z-?Xe)k^&3QlYK~@zu!XBx|;XR+aB^8=%2so^M_UQ<@R+2{(rMf^M;M~`AhUKZyL}@ literal 0 HcmV?d00001 diff --git a/.licenses/npm/is-plain-object.dep.yml b/.licenses/npm/is-plain-object.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..5494d43d162b64372c257ec03c916ea2ab30b688 GIT binary patch literal 1703 zcmah~QI6X-5dGIF2K(h*$g-OjNa{bWOt0C>l0nJYE*6VKmS~HqBnl+8u7O^t*XYSQ zr0hi!1SnwGB02Nsy~ojbI-Po5(eecdJ?)!9bW^$i!b{`5a;1gr7VvX059XdZ_ZZam zt*3{!E!24djGIAq8jKn^hyxTIjJa?sG?a=LhF7pZgQ+=uP95xLC}pQHqcl{jp_AbHaiMa5Bs2$?d%IimUSb#Ke;lq@A);NweXb$n14-;J6dhRHa{aJ})ZD3N~!n^rTzfAG#y$`?14zf2Y z!5F>esukLLgx*2T6-TK@RdlG@hlAoANBd-HC zB9_K>!>CH4g|4z~WV>Tk9AwkTla+}bSP82g+r_D}Em7>{D|foa4(Oyo+U^S6r8qL< zZC{RbT{I2svGtvSSX*=s&Te0&q1s`u4K{@+8tA2Rb-$N<>8N~7AWK*IW5@{547M!& zNS9;@H(`eB8y_BNzD{>JU<3=3{0Y((gvk^9PLrh%QSq3R{Jm_W{Q-b?6iQ?Uo zCJ%6rxk-x6PqFI}I8VVAy}(g|xhvQZ7OfFIyr(hEpL_?lqIqJmS1E%Kwjs-Dw2MOq z+a24c89^FLgidI(Vpxf6NRkIw8TWvE#06yQFph0GhZpWp3A0=wO1DppKCE+Cr}2{D z<~>1%;eAZTawss0L%Q){8E(P{%aTEgNTW_0Ix>aFHL=^aZit^Kr)gp(MQM^VT>7Y( z_-VWtX}8AhhXjl&a<#rqJeiGd?z^g}1Q7u^5= literal 0 HcmV?d00001 diff --git a/.licenses/npm/is-stream.dep.yml b/.licenses/npm/is-stream.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..5d3afd7d24115a92ba8c791d13d9282d6b0970f1 GIT binary patch literal 1481 zcmZWp-HzHg6u##vj%IHdDZus?Rn=y|3|2#elF;d>>V-)Raht>_b~=l+FSM_*Pqv?( zFrDs7NZ{jhzCRn!X0u5v8o4B8X2y0>G?O2)GfKBhdN+SJ|9xVw7i_neW@7rL5#4o3 zt4bE%Nu9{(M%qfXXN;4eSeJ7C&Cm!`VfP}=n69k7nB`(|R<`Po^FlWZquR2QMt4d=iK5uHBS7tu)!lq8JNg%ZG| zQWt$ATPv*NJgHh5np(KM%f^YjdrwqKQF}zy0#U-@2>62Rb#Dow+fEe@Cm_`pbzeFy zx9wUX@`1&T`^1a~gp1z5jnf=Zqf2#i-_l#W^v7D6Dxgw1_+xL;XFJuKBV`RovUT~d$b)*Jer@m`JjgZh)YDDOnzsbV7igR(&b**2V z%|f@Oa^7*9ysI4B;;4T}?`yaqt+tTukH8;_7c-ppxMeC)*L0L)fZ$fGhjZndHMs4M z#^O>aQPV|tp7+0&=cA4-qb%9vPhrZ4XS7d~PkhbRbQfk=-v#u<^KEj-2_0z|=g*XE zD2$)!BahbsvCsRIWf>)@*THxDh%?lAyowHM9zW6pX5$3^4URtrfb)cMkdAPiVRl11 zmaeuy4`jtVNc%9&`RWjbDeVvGKFJtltN|VKc$0#O?O2@8!HgQQ zPgqd44Wr1>dA#rdC#lm)t7QM2^2cpX+ay{u6dxEAh7S=N=wNUag?ty#I^2biPGw37 zkOrTwbx=xATjt7+H^gU^^CWhbR!N+vSO##M=C9*VJYxZcDbHLun>5)CW?jUX0tZr+q=8(uK?ZvFE&efi~S U`Z~S6o&SG{hP#Nj@XOc9znsg}`v3p{ literal 0 HcmV?d00001 diff --git a/.licenses/npm/isexe.dep.yml b/.licenses/npm/isexe.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..a69a541e0f902190e1cca799b7d82240e6fb8882 GIT binary patch literal 1025 zcmY+DUvJwW6vf~DDXzAcO-h_W41#W7jEnTf)xtrc+nw>}kAe z2o{=FH^0H0LBZMJlJS66%^1}2s`IS1ogUN$ecBKPzg#RXCbZ)*Z)~?PUa7|8fQrvf zt5c`5t7&xa6H@a&@yl!u-j1%(ehDQjXeDR{5cF$U!XJDCkgWzL3MeOimKF;;+?=_z z0lqX}fyHw0BL~s6*HH)UK=mgmY#*FCj=?%V$@bcH#>ZB~grnCpXwYdEW1BOMC|g(u zC*vn2cA~}L-k!sYavILKsrp-D7)Cc(ui*uA1Fpx>jsea(HLKN5A8&ARst@`!gTdKn zbJ8btQ~@6v)X_fcWECN%IK2&+GvTMo!w2#E)-Y)0!1SQ5*NAVl&!>2DOF`6Y`A9g$ zp242i4{SwO@QDbVe*#jiARZzIxve>@u&*UyI{~CD0act-l2MVE9+}(%ryIgiQ=<$G zKg_G5Jgiu?NlLccmki5%I6%ElCOgWDEt-;hRxko%Ity5`A?R8JuGv|yy1Av&jpoT1128|Eo$yguI#=!a)uMRsIE1>i=MzD=iW zTOvh`l{qF9hf>BQYhLf5tOY98a1a!W5J{pO`-sqD29H~ch&+;$YJw^xtE;HM;*yid zRMAbzHnb{e6xT^1YmNsG*y$vg0pU!pefKl=GA`wL&BGCKeO literal 0 HcmV?d00001 diff --git a/.licenses/npm/isobject.dep.yml b/.licenses/npm/isobject.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..3172bef2883701dc050a6e4c886a853e7dc76955 GIT binary patch literal 1688 zcmah~QEuZl5dGIF2Kh=BvYaj!=+=LVO~-6y$)My-gCJPY5^ZrSkp@X6HP8$78a-Ku zlpSn}1qv9pNY1=@?{PGqOeT@yy_kWtdiPD#E_xBhO08z_DY;EIDsXF$N9r~V| z(+rq!gHaZo83f2ZxK_Xm@BG37S1RufA0dZUBj&?Sk z9;9oBT~h0Q`b{fax1Cgf2;-)2v^rS}Wih3fE;=vlESiATgQgs10QdH`ZU3>pJVt{D=6PcBxCeOm|j}% zjn~-!BCQap!C9WhX3Ld$X^~bH>$8DAWkv1w^UBWn7No6>Zgn10$?6 zvi3MJNL6=3akdQGOT#O6%6mm}{#Ww3qpB5wvRGCRDI-8j*s$UYU62J_r6sPf zVtAm{s@PV55iHHCM<|w%=8y0j%@;9{-#3huB@`_1pzBRW3GUN;o^2O2zlS@_%?oUP zid~PuRRO-}8IBUnUBa5M`3lj~JDSnzF%Do$TIC*lSujXpld_7=w^_D94`Ub<^&8Yd?Ao}NTKZkya;pzPhdcOX@QF)Vu;!JdcTWrojHNu29;pw~a_k4XG zlNcW2KYaKwK76hGEb>zZUb%&XP{M>Ugj4Pb{}gtU%htpQ-t^*!lzgDJV)~;599A#4 f$>-!Y2ApT<(Z~)yevX6S7o}+&OGT0Hj literal 0 HcmV?d00001 diff --git a/.licenses/npm/lodash.get.dep.yml b/.licenses/npm/lodash.get.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..6a6543cb1aa5eee8f08f504c36ce13acdf3130ab GIT binary patch literal 2288 zcmZ8jU2o$y5PbKqSmdE-0Y$zR_vC&6iY%YiI+82Pmj*>~M@zKDR1$S0Wk*GSe20{r zG#3Q0C6YTkv%5pz-rmky*6;<@vShmQPu$GTTxlWO1-@7M`pDq}jmn9nD;LN@bREehUh zEH=ViAM|2&OIr4-;CexuIE<2AG$S(n*(~T^d?N~FHz;wc3_bncb2ZRP_HD@wawpc7 zBu&K?6|yx-9C{;_rk}3(Phac_U#ipmmzj%p$28K$(S2J&fI=$nKWPu=uPDEA#hZZw zUH#2lragCTDT}`0tqE({gEe5|_RO^rCnR#_lyN5ru)m?G6t7u81Y|oQJ?a0al2<~5 z{Lx&P;+B9G+GvtTI?K9m4QlX83v4wttmJeU@YxP7Ezy?ZEXtnM+J`O*g<*wxbBch1 zbOw(!=LD@t@w2d%zpl7Q?94>X4mBrcUdne8rs@yAE#Fwl>0^}Aw#QM{wY-S-L{oW* zbzLpECL@W}HFZploXi`x{JG$rLHjuHa#9zSIdH^Vi~v95Z~V69su9{H4b4z*4i!#{ zwdg^Qjta~mTTwA};+}(U2kM|YSjvN8qD6`$PgiNX`)xwDq)cmB2xj~Gn$g&1M^S^( zw-C?8xY$n?+)?cMLoIYQHfMYiFRdF%h$e%N52YGgf?B(v|I}!&rh*NaO(7?dvN&uJKARH$9Nen=_c6W`NpG%IA5pxoUkJclKhd<6$Qy7{T3(7QTynRZ5Hiz zlx7s)Z#QwY^e9fk&3+jtALtHelQf63-N!is=PBg?ox;Tt&aIsG_fZzEfe_rqn>c^; zXcgy)jk`kNfVM%F$KiexWVGF9+jJKpjio!8q)D8tGN48GQIh*W2P8!w@j$zEu-Q1s zU=Jpl%QH;3k6HX-ozptqEF-+Uvz|-HGPv7BBP2+Mn;^dTXc^oGA8e)>rAR(=+omiZ z){%P!%mDvk9;b;51)ah)$uqq2z&gucjz7e^$fF>OcUGWPmIA^`j1yMF#GXr{*GRSm zj=@W%u+56NhX^k@Eu&zAcqm))X7g0(S0@QyeBMsH;Eodu&XeCN~7tvix#4<@4IN6})By$sQd<9#+pz-V?g8?b1Hee#G-N$m{lYAA2q zW=a`g<2{NSq)^;lGce)?W8^Lo=Kw`18<^YtAFky5d;i`1YvWuw=c;AlXioSoxP2Ng zZDb4?&b%!_y%Y*VER{71OC6UmS1l-wmyJcTRthq;I4I`!!J=T=!&h#4sYFpx#W3RF zC=|&{>m-}JN&iR}dl6Yez@|a=cw(@WiZ?JNxQ{yq{Kj5;19Ceaam^pq=twTuxayq5 OpN%eoUlD))HTw^6?&ul- literal 0 HcmV?d00001 diff --git a/.licenses/npm/lodash.set.dep.yml b/.licenses/npm/lodash.set.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..d6b2724854080663e26a770c56ea71082c19e7e4 GIT binary patch literal 2288 zcmZ8jU2o$y5PbKqSmdE-0Y$!kJh>l$BFksBj^xVnr9n~L(GqPjl|&s$*-_CS-ytO@ z%>@B$iR8}C?C#LFx3{yFHGDy}ESau+&CTr0l@_vH&=3Ci{&zDobXae@W~Te5VQN@V zUh(MwHQZFPq)#91(NDymJE;sWiD_cg$g;1wKdWTJJ9a{t%9u_s=JN@zkj;Eni-NZr zi;XbX2fdixl9s(HxL(jE4x?lj&4>(tHVgU}--trl4N9CULr=f=Tn)66eOoev+=;a% zNmFq}g=~!yhu%n~>8C6H(`S3am+CbCW#*#YF^#lwbl;W`ppc6DPuj!zE6T52@n)bv zSAX-CY0n*7%A#+0Yr4}SxFw*4Hk#y-&a&=XgBrZj0$WWDD>)qoe71v2OSGjpi?V06_MwYHVOU|_oFbqg zoxvl`IYBE@{48wcuPZJRJ2O$UL(Peqm-3y2srrL&%QseX`WU6O?QxWKEia-y(Ntby zT~`aP$w*>#O&wDsC-a6ae=c}u&^`{loYX~S4jl0oBf!u28^3M2YJ_%4Lo?KyLxq!K zEqc(SqXIL?R#Z%#xaXkTfjX!TmhxbjXp!Q`(^cB;ew&ajDbrdOg4w>lW;C|hQPg1c zHN)`@#vq6@T>y@A>qjak@s^{}a^`|_I0bxSQU5+jnUk8O4* zV6VZ(cBW@%OdRbecNDw+Pzzm+%~_(tuJ^H9+XXjho^8`PdO~y50a0vK9B)q7EZrXH zKEc}h7zr*LtEb1SF)eUyc3AOv^uCe9x{ zTE%%{&t@(k1MV-~+(=d?~Y%Lp&;tmhK44DL432nmwmCW!AnS_b#Qdz)!SDU#3JwkgYp zb>ve%P80&9?F)y**sPH)k(q^pSKgQcyD(`gNZ2lQMA}&FGKX=c%O|CFq&P>1}xfPpFE;dQai)C8p<2D znNkMWc#q-+DHM0t42-zJ7`aQtIY3d$2Ie;ZhbuY%)_*tu(l}SnxoTNBniGBtZXd@> z8yQ1}GjB^!FNMMoOJ$A1QpY9CRSQbvWn+=7m4Zwy4vM*buqc@J@P(URDp6EaF^o7k z3PtkLI>{z)(m&G0UPP7ZefZUEpT=PdYI+6=Et~w|2 OXQNBtSHz!x&He*AQRp!M literal 0 HcmV?d00001 diff --git a/.licenses/npm/lodash.uniq.dep.yml b/.licenses/npm/lodash.uniq.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..eb769ca1ea091893b60444bbc14006eee4ae13fb GIT binary patch literal 2290 zcmZ8j(Qe~55PbJnEb>safFfUk_Qls0P;B|E){$IUzBDL`J6fVGrV^ zGb(C6o}iZ7T2=Jyn!pt&@42ZsQ4&<TvMr})neaUr49Xb#ee$ZPJ~Jyr@u^mv^!>yHjeIO1qDi_dH7@koWG*{$~A8< z6q)*OE}04Zv4tx8mPk>)4iN`GDPk=TiehV2_p%)XTGC~V#DLs!0`lHbbF(Qdx;U=?Q#3F*bXF3}mNPN*T*%x z7qB;A<2o~NGbRr1lY5F?zi))8hvuwMVc+}MZQOz%w7|9L6g^=$>VPP&DxNo|YnFZw z^zyWz7xEZo^Y~{>^jlU?|Ilj*Xo!RoR|*~MQJ**(Z;a$vymkgU8x!Fgc&w{y9JW^& zo7bt6$|7w)S-vnnnW5t2lBr!k?S~Q!LLvvq?p|N%fo;Dx7L6fL6E~B7aK54)jt#tu zX`3yJhbWIJ+0rJ@J|>HJK{wGB&o==*B*iM*6@(pmlopSaEh$PL>9-_Z4BE$kZ1Q-! zr7Wl9ezQ*EML%bF`6k=ONMqqordgV#%N%I&eVi5{&;d#DM?BDW6|L7E zGTMPj?(>{yo5wu)uqtSktrsy~-Z{@DWEtJ9;{g&R=j$lB4`>nHM;~0KIb}#b_uIxS zA6Bt{16^`CrC*(7{^Ij);x%vlxcmDBt?j0TwH;irRIpm- z%V!3EujnKg&FAkz+WK`*((l1URQw<$_PEOsy*S)wLj;Uw*RTr~-LQ`y(P?G8VO|gn&&K)#Hi5Qfl79l;A%881P$n?Ol-D;ec!Ypa)0t!G=}u PB;jOm3H*xq^RLN&6=UfW literal 0 HcmV?d00001 diff --git a/.licenses/npm/macos-release.dep.yml b/.licenses/npm/macos-release.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..b32051c980426aaad5182a2c7d86181f24950f4a GIT binary patch literal 1460 zcmZWp(Qe~55Pa8HEYg<*knN&jf$Or3=i^ zbzEPU^dv0VMv$u}-q$phkU9}}XjwrM8lAN2eDa#>SJ~fEgGP1Y!q0$iti71!VsVzX z8IJQxbqgc=S_`9eGnmB(bw6mq>rMo%tVC~|c4==PW*N-Ls6ki4ENRLJh^+Y2F6l4) zN3>%lC1Y*i11oj8YI$xf-B%A(cw#C%GyU>j$ES10W$WbqO84&{T`T>&#i>PBZDjVP8p|sFzCSP45?GKJh@-t+qw+LR+=WHS~}?CV3BED(2p#18?#WF zjA&bjAfem$`dyvRaV+o#{F6nV_Z5rtu@hKy8gvgzn1Y&G!7|VIhp4cq%BP=H+bS&J z8I*l3UBB2DzXBy1<45&P_B%%4`j28V4cxHUg>EgO!{KNw zhA-j&MQP9Z-&W_7hHXqmwke;ZJSJAqKF>b0b-bp#sKEDKNYAX?W`~lHkw~#1v|(lHFgE~=XdmSzTOE=pr~M({XGIM9HDFVgZgQ~1yErZ9U`34L&-kEX z8zqUSiVjepdwr{H|B|z(ZAsfKS;q)I#!wbLChW|-J2WGV^ zA%U-b&)2eRzeetQ@wb;gvSZ&@=DH+dl(ghD z$zQS_ourCR<4`+vQ8hHwC|g&iu{c~w8lw%lwsNHFdNej_buTZ~8K|vu7rR_6&dRmp zabD|wAv;++X_OxA;zLpgZG%NauUvFH*kv>$t4C8yyQGw_SXQ!#$jM)BNx$)nNVJl6 zTu?go(<2T~QMg*^%hjlJ>*%q5qA#C5eC_+#ta$BOKv{iq@0CGvh^w+z*Qx?0 zHM$;qIk+lhc~Tv6espm0P~JKoo&r%Lt1cj_0f>_B*Yu7k_2|e*>x>FBiAfE0H#T0& z{kl_#a$@oAAqg7*;bOFK<2A?B>qedYw+t39iyCe$%mKROTD;niPz9N&6!I!Pjg}4@rshLrkw+Z1aO4yeN`PyivZP zBzvRpJX^=a{@53+EGaL74!+x`oT1LMReD(S?1i4uo8{Pfj%5e1$Vq_o2FDqCH?(8L zY76w_nWtR5#Q|)?MdqOw7TI8nGWZ zP`ORg)YApL{S$6CdCK0o*mwnk6alFtRLI^$+e1^Jv;0{44$WSM(31E3WYX literal 0 HcmV?d00001 diff --git a/.licenses/npm/node-fetch.dep.yml b/.licenses/npm/node-fetch.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..109c6d07ba8c1f0dc04fb7b56d253090019e3cd2 GIT binary patch literal 2489 zcmbVOQE%He5PtWsIHWHrW=UNi`e0xf6kCpk*^(j2&4QpPD2cY%QlubK@lx!^??}q2 z-E0d`z<@3C?z`{%NZr}=w_4ZU(&E%2xib*kp_x=a}-9$fiX1{AEYG_;1 zKg}Qn&JKT zo1ye8*#;%kOo-r&3TG7+3Zq-5C*y;fO*~L?=qsvbu#V?Zl1F}9PXILiOV8l%U+^bD z(NNgL1*{zgT;s#riQSsZ?y0xbudBE4{@t%1U_l;P4a=U0uP$aw`<5wV1TX~+?P>W0 z2i(`Rp2EJT6yzSNhV%zIH4=$d&a4PYmFkV@-gG;tu0hj!Yv{bh)ChIji&2H4jOu@bk8b-GX*9p zKGcTGX`3^2(^WC))(B+*QN^H8jo~~s$IABRn_7w8P;#c4Db&osmxIPgWftujO^u#F z_Mj+t^bm!i2CMr!OB-kWLa&g=XqhrAN4y=EikRcIA9{hM(IkwjC0b}Jf1#B&D@Mg$ zaxU@K9gw`J@ghlq7saY7aGR9!ky>5u+=bLg+a7^E6iddP_PC`Q!a0<5G!Sc}-MC~S zPts8BP%4d=f)Ng#>}}m2CHo_fRRnpuEbhWAf;fk5mVS&E(E_f*9G|bIa2FS=bXNdI zWMNX=L%M`8xraaEWHE*4&utdvIi#885O22YIKuTfnXh+?IJt!z%uQ0f@-g0Z1TIo2 zu;>UEN0_^WO_a@7h#ua=>$td|TCinYBnEq#X83k*!>owsyLFhsc9(6_JVF`^gihjQ znPH`96D5U@m2nNCkN5!jDqOEkIg1zWP)TOE!aUvHXYuW-fK|F)M7VepA;a)y9l3HS zaJ~-X%@h{lCcHH)Ge{B1=`^8^Dcr3hvux^y_?Z`Rnixs*G$}HCoTB2acuv2I^JofT z7U#yCWtMK7SYt6}VHE_z+$3^H#(rzq^C@A7F>r?loH)TE3fG8-N0vOxJtg2tpY^6J z3KyHp*5p}t@O0djc)+&mu@)QRr|%tc&x!U+QXi=B1=Rt@1dr!k(R4SPIrRK2?|3}= z82d%pX4;YJE8@P$(>-=N^=eTU_Af2j79T+_>yL{S^JRbdugnVPOeG&*tv|*E)i@wt z;sq^Hn)cSvhZF22qjA+|GB`9Z5nL)0_yTk8DfW%NN^5krYh=ktFs8on_yY2h(glDo za7L;oz=l0={d@P@+32%AA917}4{k1>owOaRzUpY@y9n#JlY>|t_CAy%n0__q%_-bO zI{?d}r=%t&Kfjh{9q*PoThg%rX8{?eYL8p$hJ38HC$7Sh-Zk%{I0ihy5AS|NVgoN-oRsq6E*$4lByC rH1n_%F3juvlbA0+9QJN|n}v(WyWL@f|4HZ{F(z&>;eVcoPm_ND7QHJM literal 0 HcmV?d00001 diff --git a/.licenses/npm/npm-run-path.dep.yml b/.licenses/npm/npm-run-path.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..be3c2bf3bc08b595c94e0618349dc2ee15deab70 GIT binary patch literal 1504 zcmZWp(T>|T5Pa8HEUqtifNU3eG>W1+TRsz&B}0;PIRtr-CE8*kkpfBOY9K$<-{_Zh zNZEmt0tcMA+?}17rFJ%(1+wb-lH}0O^eAUTW!vB@*G4G0q!067=N|%l8K#WDjD26} z%aUHWrHdLh?W1x_gXRO54R7dO*p@m~S6z1@A&tckgpWd2T5uDzs^>#>23%|HV3v!; z85QGkUaNj#glsf7O1Gm~+!Ojm^Q!52(21H$gW_J;+rcb@85vNixmnURBOtQ;Z@Z*# z_(fEqr=Cx#q_UopmKGZ$dh0&Pko9ZYzD}Az4M0ywCu%QJ{{t5>m)BRaAqNXNPRt z0?Me9eXle}K|_@>sumS6sZsUVb7?Ei6C3JF9Gg;zi~ zFg03&?^cW2;e;4m-Hnaoa=Y#XET6i#a_^Y&fKV|SsBxS_>Qy67?mzbuhw<16(}vUt z2Y(zbGK~xRL55DxLTNI*o9F=r&&0WO&(h~Pzu*;kTrD#$@{SkvLoS^6yiTK*XbqE) z)hJl#JO9ON>mm;Rq`FSMJDIhTjd0rWntXMM>*}b!a<6N8AW~V-_9O5^@noiHU$0Dy z=T1j{H4wdp^l&bGlLocp5g&%MqUvZ++V}lg^8CtU8&i>O%GW55i50ZZvyW^YujwHw zaDE8sm6hA=W$U`mU|v-w@+A%I7?T_Va?JPdPZ%U z;oD&NC;(h$RHEq>j>V|m&@RqbTcAhJEMeta=)pFuOda+n%PGPl$V;|5BvDTLL%z?7 z7&O*^PFcFi(J9`=X*ow{#3=rV0~OmSNnAUR7agD^cU)Z$=NJs5 z=OmumLEtKh*e;}Xw2NLG%bYSGO*&ob#FSpQu?xGt5&l*s%Tgz4m8E5lV+h50`Mvy= z6>&&W&I)JFCeL=0SZ6V+&;>xKP2&m4+3yYeJ|(0$0}n9Z#);N(lmHJSOTAQ=a4VSK n@2_dm&HDyv(*|>U>)(Iq^AD@(%j0c*{(loqZxOrj^OxX1p7q}N literal 0 HcmV?d00001 diff --git a/.licenses/npm/octokit-pagination-methods.dep.yml b/.licenses/npm/octokit-pagination-methods.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..b4c8a78fa79baaeb2b69d7ceaec67cc750fe7940 GIT binary patch literal 1501 zcmZ`(VUOZA5dEHCF`{2~r2w}pRc-kef?2E!2};84txoqLB!>7diBatA7O6kJ&kpRh zRZl_!k7wSz_h#^PI`z7u6$?_OQQxJRo{N+03L{lFZH1{-rM*|tYn&JKFngGN@XY0m z{O;U(dT86Czbq&cr=q-2GGfpV47y^_u~#jZqwmhe3 ztoK|nROd@CPqm@D@}3?)JUmj^sG<6U_=@?&yK+W%Tlrm3C1|NcfB*kwzfDp5`@09F z>P#;WgHgR68|_5jN^PAasi_vdI9%w|7o8E64}*jtb)>Q``jha<~MTOR?lm#%UQsvN!&bVpPQ8q%;oq-3F>{>Coca17h zG!9XAKooSlrZbJTgVX(krOUH^!7K2%TBdE}4cqo_ zMRMeI9QqEeVG^<`1q)s0Z=y6dVpSYf)2KHq6Qiu8)s7u=s&ZTx2lXnPu5o!fWkB1F zzzxNb8K-@{(sj`^bP!hq(OY&7&W3N&pmsQDgQbu~Lub{yzWHBh8v&fm7Uwf`MvT}e94OlaQDoaWykHL{spU#xvU^GS(b;|mGY;RddiJ;NP^@*3V2uBst3m*v8C8pfOj`iKYRzgt8Fi_ zG4tO1-azK_dDd5*S%K|qlRX>fTidVT+v5A;YZh(;?({>K`LXLNcUyrRd#K<%_I1EQ zFt1e|t~XR02yJJw#&%|?E+}h482oCvytJVikBi!N%hp#_?U%9DCugb?)?eG&^d8Gw zU%xN>Dw~71qpOWyLBVp$70m#Gc?~Q0gKq%3F~C#~#iY;D$J`D#*It?cpX)EcVmJ7? z097~F(FEh5>Q9i{KDhQc2J8GJI~dosJ_d(iVf1DOH9F0pv#0iqPn0dKgH!7#C1!0} zkBH~+QaJ->+^qUrVi-m@Sa0A3V*`GVPdf%U8-p34G0q%saB)>1%xMOLv(N3xoY1if z_+y|t+GmrjBE%G@w*hk|{M32)Ab#H(22(j`@pP`&h~FB&nBwUj1tm86kw}U&gM$ssJ~l^ldq1+Yzk zm4%K;Hd5@N5DFC=C>6yfM3X4TIU=;0!Q+l1qKxE(Pf)pLf=2~5*OEjgPPYZyQl8T& z7D=In#KICModh!=lBw8Llsc;4GNLj1aEumR(-Fj(AWh<+5{I!T$$9htku0+5e&GM; H*YE5vS;s4> literal 0 HcmV?d00001 diff --git a/.licenses/npm/os-name.dep.yml b/.licenses/npm/os-name.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..9be0e25fe23231f2d5ccf7b41b89d7eecf3f66b2 GIT binary patch literal 1450 zcmZWp(Qe~55PbJnEYgQd0NHNQH=`)3*mO)(mJCV0G&tM?EzuSWNi<06at8WC{f&NE zhqN3dEnvXna(8BSxY+4*I_X6x7o_dfe@wnfW0md~^z-be*^d)3X)DYOJO7_;{DR(>A#bioW52liKL1V^* z$jR?+L4V^frEO!kUf{^RWj#su3(0`DlY2b#% zK6Gmd9S#TU@c0V;pS1~`|7~?PYS=I;vUT|!=ZttkyFB~MS8PRhae?z)M9;k3Wc!kk zk;iHILfM+)^o4%s=_(@j$1Z0@L0L|GyGuAjjHkzw5708B5`-fZ zXQ*4#mgUP0kmE<5@bV?1H7`?-xdv!VyErfTa-YOG?e_UDD;VfkfK7S2&cVXAEG=hX zMU2>I9H`jDNfM~yJ=Etx-!j|1(JJ1?PhMS4 z83gAcZB+NXVIc&*7{6u7v(&e-%+fN)F+!Jl`BwVO3l>qF^THdl&NIM!J5k|1OMP9+ zt|;E>p!)4akm3#7qv~X-}L3fs`+|<+kgMx NEZ2F%M*H%0@-IPY*Ny-H literal 0 HcmV?d00001 diff --git a/.licenses/npm/p-finally.dep.yml b/.licenses/npm/p-finally.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..2b41f2408cf2330fa8b1a41b30862748dba5ad7c GIT binary patch literal 1535 zcmZWp-EP}96u#F}9Jn_QAlvP&F$_~|IVL7ch9ox&iUO4-+F~b(0!hU+&==Zk?8)|# zvV&{`f+Qr*`Th>Y*=*)@Ma!4e&rYH%n&#@ga;1grmh@@q#^X&4_ic@=spTrRE)(no~cPlhCBOF%8ZXKNqTMxYiz# zJdqqsDO*1AYW(htGdOEwdc9mM&cf8gagO7K7G0&dmZ~1~;!W}g#fz%tUL#80X>_*2 z+!uQ3%}C2Zm0U0BRsl-Gf0!lx#D7FNB<@&F(b!K@EFL^}w37W*iF0jeT0T(b=qYpj z^vioSzn$AcG*;xVG<|p_2ZKs&H{Bq8>t`VqE=@Da1B!qL=bK{=qit7bnUEE9 z+#=I<=Ys3xuHd~E$va)AL3N-;NT{kLB6Q5(d1>s9b#anSBQMrwDZ5Ho@3>8_+uoSs zC||krHC~WT8pw7da6@ro#%bS0fbg96LAvPaFC=4E>aHNC5RTQwDPwQY8JXw_~B|sW|+R{-eJ#Rz1 zZFvLyta6sb*3v48^At-Tj??_D{h4KMQ9Jdy(ja>x#zO;9Dj$|`wJhsf*pkE zrS+bHw9pD8stcSAS57oBoQx2lPf)kqoJ9;y16LOq&}A&pmE%%Lbp{SKk_zlF+qDQ~ z^~t?)Be0+WZmq5*M@(pRJ$k>n^F2?p6BcHEAa}*J;_f~)Y6R~BqEumEw`+Jq>-FdW zJ$FXd9w!E=>TYa2m)mtG(ekN_hYya~0Ej9^i)uXQ7<%2vlm8Y$;xJa7v~3KH^zhZ_ zFw^>A7-a1AEVThEx``g5NYoH?3!K9wJLGx4&@1F|waog+8@{IR70HR$X*3F3qe+<6 zXtXeN{!7&OWOXPx>8{gnUS_RTBfWNfO+l4^F}%{RBIuePh|&&ehY^IK1TxdKuUEF^ zT?du88i>863UEGrlZI-?$~t@$l6Np@6Z-xrd2!{jBT(eq@;PAyXaNV7KhX`@z+F<{ z`7VZMTJG{=37El>tbBod3rY3@pJ=v;f&6)3q$nU~fd}0mQc5sRvvqph(CiT&ur|x_ zzd`X&fxu-BB{sdnQG&Hw*b}ziA$syaQ(C^n0c=al%wunJ1_`bJR?_t`O&A=G?2s1( zX>1TWquG{WC$cA5xxmgC1M-9iD0WGj`gQ>?IieEgxxzX>yfFH>D`A(X8-l?Hf((;~ zluYeV;5tp{K88)QPaZu>200>4I(_QI6rOj)hkf4!KkJg_nU}QAvy$O4M#ZfBR{l&2 z5<|jh;mz5yd_Rfx7Go85K_INn$b{tW4~Bi45~g?qk7&S+6KqJ5A|8$`3sQZ;tzhwf ne@%;S(KnbjZ7{#L{`(g`f47>x%x?b literal 0 HcmV?d00001 diff --git a/.licenses/npm/pump.dep.yml b/.licenses/npm/pump.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..02c5cf6983f005bf701f03462fa3b0632d1caaed GIT binary patch literal 1411 zcmZ8hU2n5C6u#$I9CbIXM3U~~Dt9C}jWq%hkhiO*T{z$bPk<3NZx?AleveI3ZIddc zw$FLK&Jl~nBIrdY*ECGs5PX-TQMzB#&&${4YhZ5!UizU6%+z&ayrE1Dl8hat=nPqX zm9~*1iN2<))kczNThbT8ZAa=tx|d%^UtoepcXAL{05{eSX1!Wnm2IZ;veMnE6BpH6 zZJL$S^8;w=P6n;2WN*;XDf>8>b+90#r?HY|O$pz!v|s^|m4Dea{k_1yL}erCz)MPI z0D8vZCGbyMJ={ihZ7e-kFZ9#vkH64C*hUFMn`tt0(NT__GApHB#Z}yi^;%^(;QN#YjttI(pwy+bE`}fQmq{Pd9tW9?$S>vbbeNPBqQ5d9#9lK z%q#Jw($~4XkQH>?BXbKypV*K8I#RQ)%QW_&Mo6ftH6rxPf6B_b8|UJp+g5)%o0aZs z<-B7}ysHw=;;g?*?`s}>uPtQz5n%9U7Bf%#{$v`r&u4iL5ZtQwaPInH4Q{8iu~-Tv zS{n4|dH-*DdDpRLRAjsIJ<1vJf{uCijmIper>MaBDWrE^?z2-#sK}$V{Ge<{QTjo@ z@-z;K{dUY*QBan99sF=iIKw?px5+8y=^Jg(n`YQ~j%5dMnNbPSI~-@|-O+*N+da^u z4NrLa5qhv4FH?uT%W{h780973o{}i1<0(I81%r$j&?!%MIhfdirR5ULxFhxr2P*ba zk~lh#7oFfFcUozi9Y1pZwl8U)B{9S0hCyMpN!UyWgWDwHhmhjv5WP8-Ib}eaeY(ALjDQ8i9V9TyX+5Bn3RDyZE@ZI|TkKiA% Cthi(V literal 0 HcmV?d00001 diff --git a/.licenses/npm/semver-5.7.0.dep.yml b/.licenses/npm/semver-5.7.0.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..a07ada5ddd664a5c8f9eb25d67802883e2d83ab5 GIT binary patch literal 1021 zcmY+DL64g-5QXpjicx!MrG)fSRm#mvoWv3_Tie;yw(7wFCm;okY_r=){qY@}U2S_v zzXMXB??QUyOt%=2Y2we@Y zaV=9oFy%?;t@jSwK1Kv-GgA_b$gvmKwLdEP}m{3?lcAK{4BdSuJ3%D0t6c)EucoH1@yM*&Ui)H$~tH|KPwG{ zw)2R14lmjnIOC=sZi!)>+-SXl7mN=0JYMY-;A{+Lgw{BN^SU@3r)d^2I{Vx;IKk77UHMQ<2&)&);JpNpc_D6uMxj9KA+>MJq1~9)guuUn1p*# zJ+KYkzy~66{Q(HyKrA9hwXXzhaIPg`2MMGs0ab!<#i&e7k4)`B&>az|sZfT7@8-NH zj~m8!Ny!fPCBruF4p42A$$^SukEY~~l}tS)fGty;N|^)Wz$>5+lq-O$B}ioAbXT$+ zBdTKO2|f&v$lM!?*lP{xu7?5%-3%&-~Q)+TGTmS`&-)5V{&( z%VE^c8wZm&4V-RKkY}y!&8RP^Z$lXUdbPTAp`A{7ZTl5gtOnbd<=pq9GrH+bcI|32 zc$9R$ep~o;wghh{R~x^Ek`-IXCfVg^Sps+)5-DwKe`B`>vT;KUP1qe1qT0o6X3+Qdro$-pYm37c`epVU? zZRZj39A30DaK=qN+!Dh$xzTz9FBl#0dA!;wz}Xng2(57j=XG&7PSY%4boRMxaEPJR z0sjo>lYKVHDniV028*-DEyPcq$9Lklt#LHkK{tTDUL$^Id_KohdkV7Jsz)LyFbVgf zdSDy6fe%FD`U4QYfmlS2YF`Q1;9N_>4iZRN0;&Yzicy)E9+}#MpgST^Q=tqE-_3bZ z9yg5dl9C8@lu z$_pCBRZ^%*VBrxbodgRYg2~vmI;yCC&4|Y6!!cTPO|Kx%1Zffn6*!CoNzU8KT^5&$~(3e85Xv*-2jQDC+^e281eH2&O(Vq7PeYEQ67x0lCWKDq&=a$RHGX0fi?`cnv2hq1uTaQR;szon~8=ZUJ z8BzH#LkLnQDr?@Kg-=Ei?{0K~t0+)~;j)w68Ge6IHI{q?$&( zS(&BkDrvRjO*vKe-S9$P?Nh!#lTI1Xb|Y{@ab(76PglC;O+$s43`B3)IXD}>OM}{> z&<2k}@`f&|cYWVWUQ9f8A!W%ne+kl%SVo65`NTHih8}_p=Ler&SiVb+IUyqr;{278 zEd}u_ePr>*r|`E!8fF!ZW1dR=#V-{~ybPD%joG;KB zF$zE7K-n&cBHPa41xF}JEmvA6hu4%n?{eBD(I!OjDFnmdDGJAS5V(#4w)bfh?1N{^ zGNlAaqfVPTGNqSYXv4N|fX_N-No*yplQ>Ut^r1M-zn8zTEc7WzS!T`IrpbO3Yb{0< zx&R2ZaX2Db`<-Fmr-T%1;1LGgIngEzBH&?Uv6E^O?gfi~Z?SRRE!qlc;~uly>+iql Z^ZNz$WoCEi|E$nQZ+wl|iJ!lC-vGh%*I57n literal 0 HcmV?d00001 diff --git a/.licenses/npm/shebang-regex.dep.yml b/.licenses/npm/shebang-regex.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..bfed9cf1d6638ca090d07e0afc998d85e3830aa2 GIT binary patch literal 1491 zcmZWp!H(ND5WVXw2HT4lknQwp1VObny(TJ41|?^^2y&n#T4EuI0!d}pKz=B{kuU3z zlGEK5Fko{y^X9!b^emUlpy!>~fN4a*`+BKGEnb6fLK~_24g9|Pu=)_#>wqc!&;@4f zIQa~u%ozcI6|Z&!-|-hf-Uv9-9O9`S z7I?T1{MA+sS1s$t!lJx~%u|5ObAXR;8U0arT(*wrCs@3_aG@FOBy=Yy1EhgQXi;3D z*1Wf(3gM!K0Cj<~;kp(fSOvVl!hrswW2&%R_LE&DlJe{@+cpSg)WyDVEwG>hZj34= zM@*+qLrozp^^^17%gTR7xaS+ot`y5 z6(ib-9->Ip;C27Y(&st9&@1FITV`D31)tP=MRMYG8Fi1X(Im{O6k6yz|1C=EB2L9c zwXJ$_GE3E0(rL%n6Jy=egu9fp3F4u`N}lBZJ`jef!JI29?pet z(opSK7>kcW@)icAec%5|Ud=oX1hRCWKShiH&EUk+&vZw2a2I8Gz6;@r=7;p017@%& z$)6$JLzFzjpETKpK>j*0l4X!G&x0OMF(nwM$u>UkXz~aTSevBy-=O%XK;S%u9GlK? zlwj>1j)ZLwh#o!AnC8!+2iwy;aoGEmK?J9W<#cdYr^M zi?Is3AQ09jWI}TGd&7QB2~(VbXEfl(33eok5f4X}c&RSoRMBf|HkjL6 cKYzfNcdO~^!tGC7pZ{M((^JG%_~mQx54~^Nl>h($ literal 0 HcmV?d00001 diff --git a/.licenses/npm/signal-exit.dep.yml b/.licenses/npm/signal-exit.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..d3219beb77de433bb363de7043cff196a455003d GIT binary patch literal 1033 zcmZ8g!H(K66ujpvp7zvA0k&K9!p#H&mO?^fv#V9rg8@TakvOs)SfqY@pB<{*R*IC^ znVB~;PDZ0q(#l3n!Rb>g&m;AweR5IOY12;O>-cf}l=xeRfVOKA*Efx{w<%m})xyp6 zaFwkGZ{Vn{0@;GPDBNfbG}3!zp*B~L&{?xr&OuOjf{MUYwtTZolH*J*Zpq1 zH_gP$?w6Za1H%&(1Om9(l3OUPY!Rgq)`2@hLH$R2n_yizo1&n8q z4;o3_%uIK)`c!-PwEqlGk6*r}keSw7z3aWPZa{66ZL|wTgn+$MDeRG$LSqj4h`0qrXb4;;176WP5|Ix1Dhct{4<>FWgP<;iweGf?8R%yTQp~o$8Q= z!Y=xt4pGC`55%J04y|y6ie7E$9~H`5f3<;TgnNVnuIUuVdgePsEZ@#qv5ZW%-sB9&{HIVZU`?xRg`#A}awcA*fdvx<<$MgRfT9HYObY>g z6)b%4Hlxu+&d4mMut2w@cm=+p86$a$)+?Hc6gB=nAtEdBtNFe~J;cDAtjY2o=1#wF z!OMyWUgG2m6Y^~?LXt&Qt|2cu2QK~kF<*dOX|^vgO! z*+I4i4A>mbym{{pJ3t!h22tr{C6tv20c*YAXWGEy{y40=_|(PHJG-2GrT!4j;VOfBsOZW#f9lYhAl ze8*n^CGtG*5|X(d7I=6J{MA-pu11|Z2aEa<3f~?I-yeSY$mX~6AXHBze}%=z3ku!9 zj?xUul69agbkfM`3TGomCz}x6kP>w3{W;4JoCYyo;euvkfv%iTqZ-d>SdFASJIr<+ zLRsCqH(?|eG$5?iwGxO4jjpFbj!ro0+2RZ=ENChZ#jWDu(Kl+O=sltu{nYN)@P^*& z$pM;#y?X-MK_s(NL+5E@1B z)#NZ}Dd-0olAg6TU}ZnkLllJ?yl#nem}UDs@(aB}9yiM@Mc(i^{isOIyxPf(*cwg3 ztVW}SzVn~5b`&8Mt?qmMMlx$XHj1?4Yx1h-#fVCOlU~>SKt}D5wjY5XiYGHq`*vkJ z(f3fvn}OI{jUJA|cWJ10s;t9Dp+pZCZG7MVN?zS~>=_hUT)sp(175%}&pz`V+rdLr z;Q1kh7hdkOQwf-nM``&ASqxG73cvGo7Xtg^n6sjQEcZP4;h1oSah`6I(~hUl@PxH# zhW`zYe+mRHGbpj?4URLcjp4xZ?H7i z!H~udp;Mm5Id)N)l@4@uCwd$%!j$v*T;dpZ6u~vt-9G_{5N5 z^pvo<9SYng5kG{miw@BXp&a=ZTmMq39?1Dg8o3a^+?DvMfPYF}Vz!Ms9=L9z}{j%MYvR>w!5UHjH`tUoX8`r#fI4@o>) z+sk#(=hnl0{Qw`H{`vqPBQ^e1@+w`cr^168dhLRL&<s6TC~PkuWl2wQmv1*^_^lgTjUeq;s~`5;38%_1I&4(g)6y z?v#Ujk52B&x#R935;aP85m6gNRB$_ncZ}1H9tP$7pzDB>f;M$GHbKknxYHQt#1h(L z8ZH8&i_xK*pgD!!Hu@BPRkU~+t4_N%g+>SXYV=s?!e$&&8vHDA@J@A;JVe2Sy|hn)a_vR!B2gU#BSMhEYB zQ)0KkV_Dg6D*Bp+Z>&ezaRhNFQOq>$`N*}h>!4C|fXJ;)gbUj@Yv^{YoX1O{Wd|2K zMBYCwFJ>J(3T3esuY^-zB^-G1iEZcx?nsI2yA)oT*cC?sSiwmy-k{h5$=~23%Qq>| ze-50MB@{gBVEaSHDDJa-ogFtUe}QN0%?rHu3@|7k zTN=T(OymK3TW}z7AY8EZF(VufM}8&rmukh1VSo z+kuzhXDwKf2TSWB7aW%sd(^;a8ih|JUd+!psW12c h^FgdSTP=I(yc(AC%l8m9%>RRnWV*cgFn<1${0Avl(wzVR literal 0 HcmV?d00001 diff --git a/.licenses/npm/universal-user-agent-2.1.0.dep.yml b/.licenses/npm/universal-user-agent-2.1.0.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..5858b9dab4922ef3454c759ed6251a5972695077 GIT binary patch literal 1118 zcmZuw%Wk7E6y5U`SM8>i2x+?-v2%%&SmKefokmsF1qlv83K-d@ok;WXb4{9QI~pkh z4Ci%E?8#&jbY-hz7`o<78CxDFgH>iy)~a)Xf79qLhKJ}rx(nQ?M`YKxfgRemG^ZFA z%0UU90wV>iGfh`R)4^7|18j|cA3t^#bh=W(LAR<$XbcDEdK*utb>j}hHrnZSTAPP< z`oARCMwL~of@8B&okcQgD|1=eIGBLdgV`w?L&_4G3mUam0N~Uw7sGFS0=R}3CK5=` z8m~8(0Jg7wMcUNU4|O|5*ljR!65XFnQy(1M>~7)V?*2yz3!`dnAS;bKb%TY!LjO$i zA+b`XZLIGRoc2|PutU`lT3t1Jyq8@yMZK!=-E9Y_z#STk1MS^=X%y`7W7(acA55>U zf_E$o@SVTw!NFcBKs*+rwkN1f**R5(&>Q{MRH{O?(&0rxxz%rKG(V5jX@^~S|FdKN zne_6h?^S91zgZrSp4liHotu$M3Zj_H4dE1+fE6#E*o@BLiU?d^0m*0JL1ZnL1&0}y zni7@?AZZH7;v|=h3fM5Y1Wp%(BfdZiihT;_NxGh~d@-_Ewn`aVd|?-J$S6;iC`KMx z%H;ECJZCbeLPWrF$P1uPG?yTj-ug?XM~b_JJf;-pn2_YpAXYSCBn>exr-=-ae|bVg zQsBn=xkfF-z>H*MfdhO{FU!r6NKv38$En0Rl|KEP7a635K=d5ef}#PD#8a_13@bv| zEGb6gJ~6>xB3Y4pG@43|%Mfz9NZEqs3H8KcM9YFBaE+~wgb)a4!aEjg>DdTGLDa}` z9IrUm?K{8}qd(<1d`3pq`S<#xujh(WGRwXlt1Ew=UT;1R-0f9x-Z*#+UtWVhS&vs{ literal 0 HcmV?d00001 diff --git a/.licenses/npm/universal-user-agent-4.0.0.dep.yml b/.licenses/npm/universal-user-agent-4.0.0.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..10611b3bf8bd09aeec21cb51a1d48230b0cd6f06 GIT binary patch literal 1118 zcmZuwTW^~%6n^Jd9JMd4L`YZdVdBjtPGX5mW;>0lst+VM1Sw!-n|6`*<9AG&wVftK zfZ@BHFZN_I3A(aXF$`Vvs*EjEej7h_6?D2%!9lmGM`#QO=Xx7Yr*-2F!#3LKc3PYJ zcKW|0*G839tAb;*Q=LUJYAbVD+Blei)q~k78$-$xnhP4WRRG}BFBijad;++JXC@Lz z&l)c`mjJe}enr~U(|2_{Mc8dHauVI2Oj92m-0W`Q{_fk45Ee$&+CWwscj^WUe}(>; zz5=8#dIEK!U+ zu$0NC(Rj{ePKAho<&YOZA89T@EWP!oOb--y3wcN>%rPO!pFpf=!blooTuu`iBLDJ) zh@`-c^>d9{h=Cc&$N~p=r(TwuC6S^)M~+j8bt--OIWICu3xVi4tOZ2_B8jJBZx~jD zuvt=!#(iRfzeKVk_h>Yg9G4;Fbdj2&V+X?*3z>Ph=Qn* z<2YV%tlM{hDMo+Farlgks`Ib)N1x9Xr(~9WIaXKxJiXj}9Jt%7;Jk707(TxQe*j&_ BS7!hK literal 0 HcmV?d00001 diff --git a/.licenses/npm/uuid.dep.yml b/.licenses/npm/uuid.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..b3703bccb8aa42eb3a7f70d6f5b5a2bebc09002b GIT binary patch literal 1595 zcmZ8hTW{Mo6n^)wILKZSKz5q6D+a?DqR4d2R+bD(PL@YnqAa$OD3Fvh5Bu>ur0jGp z5IDS?^W8{sI-O2B-ikR4gDfXUp^a4C96ruI&h97n)ZTwG^!$KbwY9yO-`*ait%v=rQ0?t^(TML>9&bBUim4;~ zO$%POV$#S$bOyUxX)hBqpG?81K^MZzA*K;YGBRt+34j%U+d2G;BY?aXu%S7`BLrOI zNopdk4zaI4V?UwcHO@X){7>g>I#B znSeBaHDZ5)gXWzTWdM~H0#pS>&GkV9U=@O$pvM%kLG3MJW(ll;}Kh_!GabB z%@htN0NEAIP&zG_?M7nOBa3VIIT;U#E(U{coaO*pRm#f!7v5q&>>Fw707~iLF)OSz zZqc8hzYn)cgAvUr4^bp~@VVOFT)9GP(mzTqAE*^wM|RfF!38biXWQelLi z`I{)LTX8Nb)imnO*~FtPrSp#0$h*pMoA1?8cwghS=#)j-{s{b`croK?pSMiSn+Epc z93XOI+_>Z+FV@iQus0Sjh2#zNN_*a4Eziz6)&#P2mA{0H0L@^_(r3CPOSlR%oL>d- zLi2UH%KVZA=NS(U_)56M)dHJ#x#EoJlKlniNju{3_{q3ET_>f4jF8BY@22TWh@ao zp~;FN6WNd?pCL1@0eQv=Wa}`F9i7Jucj$yUtq`T#S4N-KIjqxoNpSIzpu+GmCL<*XBSgkq{ij;yw)#tjzc IJo-Q2f4vd%ZvX%Q literal 0 HcmV?d00001 diff --git a/.licenses/npm/which.dep.yml b/.licenses/npm/which.dep.yml new file mode 100644 index 0000000000000000000000000000000000000000..699ce668f8ffd318ee4132e3769d98f6882022f9 GIT binary patch literal 1065 zcmY*Y(Qexy6n*zsTx~C{lsKyPmN)9)7|F3SAg#J-4~|W0w8U6|+eX^Q?}A%(dopnE zIrp3cUM`o(&|K6SUVGj4$&0d1n_&%i>9_PQ@z)Vc!+1&Dbh$M4x`tB!R&(>s-7QRm zeuLIvZRk?S_0WOu6`Ztn9`xXRGqeiK37P@an`$TD9M1|Xp)CQ}6IrB5Z!T(Vo^e#~ z{pi-K)wA~fbWD+XrCrmsZZ()rEu+Y5L!68Vy_G9DL$r7BIY^xkMsa8j62CupWjMlv9PKCr9A7gKh<|U*GQN(O#FdltI`Em02 zsraKbj;gWYPMY&MAhmMoY)=*xM4ih=!YO73dtN`V4c)*OB5?l&NVS2`L=Lj3IczZ3 zlCYfsQkH-yPAbW$h?*XmEP&H3;fSdbhJ>HwRaPE0tlCB-+wDt+V?G(6&Lhc=@~l8o za?eU8pQ3=A$%+b*0;`~^fj-bmf+&K7f3)3Gd=KQlq>$GmsAAJGQCTu1dA-46fyfeVv5-VVq&79s?;fDH z=rwwjo}`bI93)#HfWy(udvD$hW-^(0ZQh6(J-YG?Gr^!@bC zGv^bM+Ee4{zG?FAJfn9H!jP#1SpZT8%4s)%&{#}|PBkuNM5VTG_M)57(}(Hz)Av8# z-96F2fBxkWJ$>3dz4I#7h*N$9Q)SFa&u(vz(p3F^TBzn$1H2Pjbycr#zmfZ0C-Slp zUM&mJYScH$$*Ooz9&+R)(&N8%iBD zrH-3^dadM_W0T9;3jCR_Uw^Qnn*nSix<+biCrM3}=*0d^$1ZP;D1DeDoP9-=cSqrq zQIxl5I$;1PPR_JpP9V9YTx(Ux9C%c!qHjcNa%1@pvKE@I z?U=68vEu5+k(45@Nw#i2mrqy&Q>oq%j5eJtEQXJyqV7wp;qtkbFnD0F(9S7smG>GQ zSe-sKs+0%&D_mQreqT#n`BX{^z3&Y&wGFzF`L>T+)sYr;Z4o4NyIuu+A6j)emIdB` zf3(Q)K4W#>b^?nIeb<5#rl6)&u*@<3CJHRBa_I+E*9yyY1Z7)F+b{OTtw4sx^1b>h zTtCAyw8}uPv)m2A2^l6ke$rJA{d+N*25wkvLzkA&VZYY~!?q&mm>ZL8B!!-`QF zFSA{cFybj~lK3NEumxQODc)B;?Rd6|w;3TL38L(g;w1&qBmK&wg-`6$CShqxaYB5( z2{}WINAqyI;L!u!qb`cE`5gNX&@845gd-GZs9VySCG!=KgL@wG?9rzs&mxPt1ZY5; zAj$ZA8wLq&w#g<=8R!>)jd-+7z{1un%BEmNjMzs!C|w0%=%|7%)F)2gJl;Ge{9%>R zDh?M6!FvW}!F|XEDl|0@1HSfY5v+p;t1h7!f)kfEs@tuY3xO}d-#p`SWZRg>QI_E8 zqst_FDc$ju`4l8PwT3K{81U9kR9MdDH{^)#+ilWiQ5g+jlGYviQ9CnuXhdYu(Uher#LqZY#+3^?KCxuZghT z1;${nHr%qNZ_S`D2s9xKezja)Y-q;gqVC%zYAo+HuC_Lv$8FZv*?r_j~372RXYP`T-4ny zc^F1F^xnWL#s&Ny$9@cOHU=|7W1KnO;No-_%xMOL>tF22oKR5*d>GKj{>3DzXkv=f z^#OAx`>FEq?)YtK7>sscJHR7}_O0=YDW2L$09HcDfj-hwf!sw4|9E?#cpu0^L1Dv1(jw(E$OFw8 zDQ0M0&|J+>s7_9Q89{y&mMHr)^WkAD2j{sNaIC@TN} literal 0 HcmV?d00001 From c6fd00ceb9747fb23ffdf72987450a2664414867 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Thu, 1 Oct 2020 12:03:22 -0400 Subject: [PATCH 22/38] Swap to env files (#200) * Swap to env files * revert to old method for tests * disable executing of commands during tests * bump package.json @actions/core version --- .licenses/npm/@actions/core-1.2.2.dep.yml | Bin 1336 -> 0 bytes .licenses/npm/@actions/core-1.2.6.dep.yml | Bin 0 -> 1303 bytes __tests__/authutil.test.ts | 3 + __tests__/installer.test.ts | 6 +- dist/index.js | 123 +++++++++++++++++++--- package-lock.json | 6 +- package.json | 2 +- 7 files changed, 123 insertions(+), 17 deletions(-) delete mode 100644 .licenses/npm/@actions/core-1.2.2.dep.yml create mode 100644 .licenses/npm/@actions/core-1.2.6.dep.yml diff --git a/.licenses/npm/@actions/core-1.2.2.dep.yml b/.licenses/npm/@actions/core-1.2.2.dep.yml deleted file mode 100644 index 92b8b024fbaca7f1c6ecc523a6ad3f7aa09bb71e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1336 zcmZ8hU60~66n)RHxZ=Ue%yR=~P2UQG!1VkyC%Wh{D%~{=qK_*U5Yxg~CaV zy|&&RX-lmdRduK9CLr(O+C`he-8J7wu7*D6{RkBP<4fv8ck3y69EqN3+DeIQ6P zIU1F9qYlBxq=&kj8n5Mf-DzYtv-t5*Ut4DbAY4oqZoKB0dei8O|5m}`ZK^tL+n5^d z;j77^)B0ivHTHhiW+bb+SsqX{JOtnWstkQTFJuKBkI1aAeBf>T*O8ueU8ZpWHMWSZ z#vsDL{FkbouXq<1({<*<+pNvd=}@RuGmF#LU}%T-jE3 z9aZWPAh;1XN+GDHHMpHB>+mSF?C563!25s8tA~yQry|>zZ!G5|3OeQ4SFz(eTCf7= zMNDs^JY?sR(2=vWe5Y(rEPbcnM7oQK|9;AOQBal#4dQr81V>$@+vL0x=_|cpHqA;( z1YSFU%Zy5pKHvn$?4FK1-yVR@UPL0w_c(yXt71&53s zpi`0Vb1?BEPsY3~@J!quALgQh$6uJ22H& zLINM3^WBcca=8rpqLUk1{9aU6>E5g>J<3J!LyiW=4SiaDUi})_+kmEi=mIl!T`}G^ z#O8i-{nV;5Xmlrs;)=e;+QDqr>#MTORIV!Btsm%C>-M{{YdcE0?h4hfhobt9shK!v zRV8}^j856d!EAyh89j}aG#iSaSEFhvDWrZ37siFZQiKFhyTeVT`U+0X(X8HFdJLh0B^Qs+ER5Sm<74 z_ld(&LKWkf)w3jnddr`TRpPRqa$e4Ug+qA-tKvjeFn5DW41+IGrJN zx>gtWExoN_DqCfmkZR?i%gLhCxT0T2=zOg8NJh4;Lr~D|z5b`p_c#`01O9tNp7#w; z<7X#`=rWBxC=m)~YK_P|<6p9}uHuwmbld7TXRXqGt^E7k%v;NGU6lHV^nT{m_S!`a{IKkoebA%Cn4;l*I8A367eGx6yeg z;%9ooT%6!F3p`_h<_YB>yh90&xjh|ux;+4yJ&8!s$E|S>U*d}qF;uykZn!k^}h>VBC zQjxhp_Gtom7bhlMX0e-#`HbSC_Nw1Ef)*Fp8K&R0>^O^nh4sWgHLrsCh2a0?+n>R| DJSCt> literal 0 HcmV?d00001 diff --git a/__tests__/authutil.test.ts b/__tests__/authutil.test.ts index 85dcb313..a57a3171 100644 --- a/__tests__/authutil.test.ts +++ b/__tests__/authutil.test.ts @@ -20,6 +20,8 @@ describe('authutil tests', () => { .toString(36) .substring(7) ); + console.log('::stop-commands::stoptoken'); // Disable executing of runner commands when running tests in actions + process.env['GITHUB_ENV'] = ''; // Stub out Environment file functionality so we can verify it writes to standard out (toolkit is backwards compatible) const tempDir = path.join(_runnerDir, randPath, 'temp'); await io.rmRF(tempDir); await io.mkdirP(tempDir); @@ -61,6 +63,7 @@ describe('authutil tests', () => { if (_runnerDir) { await io.rmRF(_runnerDir); } + console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions }, 100000); function readRcFile(rcFile: string) { diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 6f3a411e..dbbc4b44 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -42,6 +42,8 @@ describe('setup-node', () => { beforeEach(() => { // @actions/core + console.log('::stop-commands::stoptoken'); // Disable executing of runner commands when running tests in actions + process.env['GITHUB_PATH'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out inputs = {}; inSpy = jest.spyOn(core, 'getInput'); inSpy.mockImplementation(name => inputs[name]); @@ -102,7 +104,9 @@ describe('setup-node', () => { //jest.restoreAllMocks(); }); - afterAll(async () => {}, 100000); + afterAll(async () => { + console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions + }, 100000); //-------------------------------------------------- // Manifest find tests diff --git a/dist/index.js b/dist/index.js index 481183ea..e0e73c55 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3028,6 +3028,32 @@ const windowsRelease = release => { module.exports = windowsRelease; +/***/ }), + +/***/ 82: +/***/ (function(__unusedmodule, exports) { + +"use strict"; + +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; +//# sourceMappingURL=utils.js.map + /***/ }), /***/ 87: @@ -3037,6 +3063,42 @@ module.exports = require("os"); /***/ }), +/***/ 102: +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + +// For internal use, subject to change. +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +const fs = __importStar(__webpack_require__(747)); +const os = __importStar(__webpack_require__(87)); +const utils_1 = __webpack_require__(82); +function issueCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error(`Unable to find environment variable for file command ${command}`); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { + encoding: 'utf8' + }); +} +exports.issueCommand = issueCommand; +//# sourceMappingURL=file-command.js.map + +/***/ }), + /***/ 108: /***/ (function(module, __unusedexports, __webpack_require__) { @@ -8396,6 +8458,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const os = __importStar(__webpack_require__(87)); +const utils_1 = __webpack_require__(82); /** * Commands * @@ -8450,13 +8513,13 @@ class Command { } } function escapeData(s) { - return (s || '') + return utils_1.toCommandValue(s) .replace(/%/g, '%25') .replace(/\r/g, '%0D') .replace(/\n/g, '%0A'); } function escapeProperty(s) { - return (s || '') + return utils_1.toCommandValue(s) .replace(/%/g, '%25') .replace(/\r/g, '%0D') .replace(/\n/g, '%0A') @@ -10381,6 +10444,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); const command_1 = __webpack_require__(431); +const file_command_1 = __webpack_require__(102); +const utils_1 = __webpack_require__(82); const os = __importStar(__webpack_require__(87)); const path = __importStar(__webpack_require__(622)); /** @@ -10403,11 +10468,21 @@ var ExitCode; /** * Sets env variable for this action and future actions in the job * @param name the name of the variable to set - * @param val the value of the variable + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any function exportVariable(name, val) { - process.env[name] = val; - command_1.issueCommand('set-env', { name }, val); + const convertedVal = utils_1.toCommandValue(val); + process.env[name] = convertedVal; + const filePath = process.env['GITHUB_ENV'] || ''; + if (filePath) { + const delimiter = '_GitHubActionsFileCommandDelimeter_'; + const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; + file_command_1.issueCommand('ENV', commandValue); + } + else { + command_1.issueCommand('set-env', { name }, convertedVal); + } } exports.exportVariable = exportVariable; /** @@ -10423,7 +10498,13 @@ exports.setSecret = setSecret; * @param inputPath */ function addPath(inputPath) { - command_1.issueCommand('add-path', {}, inputPath); + const filePath = process.env['GITHUB_PATH'] || ''; + if (filePath) { + file_command_1.issueCommand('PATH', inputPath); + } + else { + command_1.issueCommand('add-path', {}, inputPath); + } process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; } exports.addPath = addPath; @@ -10446,12 +10527,22 @@ exports.getInput = getInput; * Sets the value of an output. * * @param name name of the output to set - * @param value value to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any function setOutput(name, value) { command_1.issueCommand('set-output', { name }, value); } exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + command_1.issue('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; //----------------------------------------------------------------------- // Results //----------------------------------------------------------------------- @@ -10468,6 +10559,13 @@ exports.setFailed = setFailed; //----------------------------------------------------------------------- // Logging Commands //----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; /** * Writes debug message to user log * @param message debug message @@ -10478,18 +10576,18 @@ function debug(message) { exports.debug = debug; /** * Adds an error issue - * @param message error issue message + * @param message error issue message. Errors will be converted to string via toString() */ function error(message) { - command_1.issue('error', message); + command_1.issue('error', message instanceof Error ? message.toString() : message); } exports.error = error; /** * Adds an warning issue - * @param message warning issue message + * @param message warning issue message. Errors will be converted to string via toString() */ function warning(message) { - command_1.issue('warning', message); + command_1.issue('warning', message instanceof Error ? message.toString() : message); } exports.warning = warning; /** @@ -10547,8 +10645,9 @@ exports.group = group; * Saves state for current action, the state can only be retrieved by this action's post job execution. * * @param name name of the state to store - * @param value value to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any function saveState(name, value) { command_1.issueCommand('save-state', { name }, value); } diff --git a/package-lock.json b/package-lock.json index be7fec2d..10f7faa1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/core": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.2.tgz", - "integrity": "sha512-IbCx7oefq+Gi6FWbSs2Fnw8VkEI6Y4gvjrYprY3RV//ksq/KPMlClOerJ4jRosyal6zkUIc8R9fS/cpRMlGClg==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.6.tgz", + "integrity": "sha512-ZQYitnqiyBc3D+k7LsgSBmMDVkOVidaagDG7j3fOym77jNunWRuYx7VSHa9GNfFZh+zh61xsCjRj4JxMZlDqTA==" }, "@actions/exec": { "version": "1.0.4", diff --git a/package.json b/package.json index 9a3f1c57..44f8dda6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "author": "GitHub", "license": "MIT", "dependencies": { - "@actions/core": "^1.2.2", + "@actions/core": "^1.2.6", "@actions/exec": "^1.0.3", "@actions/github": "^1.1.0", "@actions/http-client": "^1.0.6", From 3000c8418e4d1f87e637456a07120e5ac03421ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 09:14:47 +0000 Subject: [PATCH 23/38] Bump @actions/http-client from 1.0.6 to 1.0.8 Bumps [@actions/http-client](https://github.com/actions/http-client) from 1.0.6 to 1.0.8. - [Release notes](https://github.com/actions/http-client/releases) - [Changelog](https://github.com/actions/http-client/blob/main/RELEASES.md) - [Commits](https://github.com/actions/http-client/commits) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10f7faa1..3de5bf5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,9 +27,9 @@ } }, "@actions/http-client": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.6.tgz", - "integrity": "sha512-LGmio4w98UyGX33b/W6V6Nx/sQHRXZ859YlMkn36wPsXPB82u8xTVlA/Dq2DXrm6lEq9RVmisRJa1c+HETAIJA==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.8.tgz", + "integrity": "sha512-G4JjJ6f9Hb3Zvejj+ewLLKLf99ZC+9v+yCxoYf9vSyH+WkzPLB2LuUtRMGNkooMqdugGBFStIKXOuvH1W+EctA==", "requires": { "tunnel": "0.0.6" } diff --git a/package.json b/package.json index 44f8dda6..911b8ae4 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@actions/core": "^1.2.6", "@actions/exec": "^1.0.3", "@actions/github": "^1.1.0", - "@actions/http-client": "^1.0.6", + "@actions/http-client": "^1.0.8", "@actions/io": "^1.0.2", "@actions/tool-cache": "^1.5.4", "semver": "^6.1.1" From 7306310a99f4898c8750888997f7868a3e863524 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 09:14:58 +0000 Subject: [PATCH 24/38] Bump node-fetch from 2.6.0 to 2.6.1 Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10f7faa1..212a7cd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6578,9 +6578,9 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "node-int64": { "version": "0.4.0", From 849cc5ca30ceec679fb84843a7600413f072d17b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 09:14:58 +0000 Subject: [PATCH 25/38] Bump lodash from 4.17.15 to 4.17.20 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10f7faa1..4b92acc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6336,9 +6336,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "lodash.get": { From 942dff4669aaa40c29228216e8310fa6c8a74b6b Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Mon, 2 Nov 2020 04:54:29 -0500 Subject: [PATCH 26/38] Revert "dependabot/npm_and_yarn/node-fetch-2.6.1Bump node-fetch from 2.6.0 to 2.6.1" --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 212a7cd4..10f7faa1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6578,9 +6578,9 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", + "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" }, "node-int64": { "version": "0.4.0", From 6d1ba523420d1329872f929493cc68fffb0b2732 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 10:19:39 +0000 Subject: [PATCH 27/38] Bump node-fetch from 2.6.0 to 2.6.1 Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10f7faa1..212a7cd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6578,9 +6578,9 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "node-int64": { "version": "0.4.0", From 03c6611269128f7a8eed55afa0bc7341f9439fbf Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Mon, 2 Nov 2020 05:38:56 -0500 Subject: [PATCH 28/38] Create deno.yml --- .github/workflows/deno.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/deno.yml diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml new file mode 100644 index 00000000..39a46b8e --- /dev/null +++ b/.github/workflows/deno.yml @@ -0,0 +1,39 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow will install Deno and run tests across stable and nightly builds on Windows, Ubuntu and macOS. +# For more information see: https://github.com/denolib/setup-deno + +name: Deno + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS + + strategy: + matrix: + deno: ["v1.x", "nightly"] + os: [macOS-latest, windows-latest, ubuntu-latest] + + steps: + - name: Setup repo + uses: actions/checkout@v2 + + - name: Setup Deno + uses: denolib/setup-deno@c7d7968ad4a59c159a777f79adddad6872ee8d96 + with: + deno-version: ${{ matrix.deno }} # tests across multiple Deno versions + + - name: Cache Dependencies + run: deno cache deps.ts + + - name: Run Tests + run: deno test -A --unstable From ac13d0c1a6c5d8dd0626ced3b8bf5351038fc5d8 Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Sat, 7 Nov 2020 07:00:07 -0500 Subject: [PATCH 29/38] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0bd60db7..fcf3b5cd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# setup-node +# node

build-test status versions status proxy status @@ -116,7 +116,7 @@ steps: Use private packages: ```yaml -steps: +steps:git clone https://github.com/XYOracleNetwork/sdk-core-nodejs - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: From c473a65fc60cdb606f7dd99652e681d4173c2311 Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Sat, 7 Nov 2020 07:07:06 -0500 Subject: [PATCH 30/38] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e5b901fc..2acc8196 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: 'Setup Node.js environment' +name: theomart77 description: 'Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH' author: 'GitHub' inputs: From b1a600ab68617badd5d925750f25d7a65ffd666c Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Fri, 8 Jan 2021 13:38:12 -0500 Subject: [PATCH 31/38] Update build-test.yml --- .github/workflows/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 0b132aa5..07d320ec 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -1,5 +1,5 @@ name: build-test - +versions-manifest.json on: pull_request: paths-ignore: From e44916ab4360e5b1b11f6a4b67225c13ca2d0653 Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Fri, 8 Jan 2021 14:28:50 -0500 Subject: [PATCH 32/38] Set up CI with Azure Pipelines1.2 [skip ci] --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..b07ced4c --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +# Node.js with Angular +# Build a Node.js project that uses Angular. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: +- main + +pool: + vmImage: 'ubuntu-latest' + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + +- script: | + npm install -g @angular/cli + npm install + ng build --prod + displayName: 'npm install and build' From 9d349ee9dd7318c7b49ca2a23994ebbfb1bd911d Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Fri, 8 Jan 2021 14:35:10 -0500 Subject: [PATCH 33/38] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-1.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml new file mode 100644 index 00000000..ac078ef2 --- /dev/null +++ b/azure-pipelines-1.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- main + +pool: + vmImage: 'ubuntu-latest' + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' From a0fb93134ba102f0c6f25c02ddacb227b6941cdc Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Sun, 24 Jan 2021 23:28:37 -0500 Subject: [PATCH 34/38] Create FUNDING.yml --- .github/FUNDING.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..4b16f597 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] From 92b045a73a0a90f2192102586be450fb721aa568 Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Mon, 25 Jan 2021 00:22:58 -0500 Subject: [PATCH 35/38] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index fcf3b5cd..faf7ce78 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ The `node-version` input is optional. If not supplied, node which is in your PA # Usage See [action.yml](action.yml) +- name: Setup Node.js environment + uses: actions/setup-node@v2.1.4 Basic: ```yaml From 348f90175f7a7bff9b01b035a066a947c57c2b5d Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Mon, 25 Jan 2021 00:23:59 -0500 Subject: [PATCH 36/38] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2acc8196..6c6f22ea 100644 --- a/action.yml +++ b/action.yml @@ -9,7 +9,7 @@ inputs: description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0' check-latest: description: 'Set this option if you want the action to check for the latest available version that satisfies the version spec' - default: false + default: true registry-url: description: 'Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN' scope: From bca312cd49871847476e68ca47174ec6403365b1 Mon Sep 17 00:00:00 2001 From: theomart77 <69779428+theomart77@users.noreply.github.com> Date: Mon, 25 Jan 2021 01:45:54 -0500 Subject: [PATCH 37/38] Update versions.yml --- .github/workflows/versions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 3beb1f71..694e406e 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -13,7 +13,7 @@ on: jobs: local-cache: - runs-on: ${{ matrix.operating-system }} + runs no:action.yml strategy: fail-fast: false matrix: @@ -96,4 +96,4 @@ jobs: node-version: 0.12.18 - name: Verify node run: __tests__/verify-node.sh 0.12.18 SKIP_NPM - shell: bash \ No newline at end of file + shell: bash From 7f7ffb2d8c8767baa18e1f999d3e59e096a1b92a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Apr 2021 07:54:02 +0000 Subject: [PATCH 38/38] Bump y18n from 4.0.0 to 4.0.1 Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 33e96c56..119171ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8016,9 +8016,9 @@ "dev": true }, "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", "dev": true }, "yargs": {