diff --git a/packages/ci-api/.pnp.cjs b/packages/ci-api/.pnp.cjs index f33402c8a2..86920332b3 100755 --- a/packages/ci-api/.pnp.cjs +++ b/packages/ci-api/.pnp.cjs @@ -38,11 +38,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@octokit/rest", "npm:18.12.0"], ["@rollup/plugin-commonjs", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:18.1.0"], ["@rollup/plugin-node-resolve", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:10.0.0"], - ["@types/node", "npm:16.11.4"], - ["rollup", "npm:2.58.1"], + ["@types/node", "npm:17.0.19"], + ["rollup", "npm:2.66.1"], ["rollup-plugin-terser", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:7.0.2"], - ["rollup-plugin-typescript2", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.30.0"], - ["serverless", "npm:2.64.1"], + ["rollup-plugin-typescript2", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.31.2"], + ["serverless", "npm:2.72.2"], ["ts-node", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:10.4.0"] ], "linkType": "SOFT", @@ -494,8 +494,8 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["glob", "npm:7.1.7"], ["is-reference", "npm:1.2.1"], ["magic-string", "npm:0.25.7"], - ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff"], - ["rollup", "npm:2.58.1"] + ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=07638b"], + ["rollup", "npm:2.66.1"] ], "packagePeers": [ "@types/rollup", @@ -522,8 +522,8 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["builtin-modules", "npm:3.2.0"], ["deepmerge", "npm:4.2.2"], ["is-module", "npm:1.0.0"], - ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff"], - ["rollup", "npm:2.58.1"] + ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=07638b"], + ["rollup", "npm:2.66.1"] ], "packagePeers": [ "@types/rollup", @@ -540,12 +540,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "SOFT", }], - ["npm:4.1.0", { - "packageLocation": "../../.yarn/cache/@rollup-pluginutils-npm-4.1.0-d00c3a42d6-5ef767b4e5.zip/node_modules/@rollup/pluginutils/", + ["npm:4.1.2", { + "packageLocation": "../../.yarn/cache/@rollup-pluginutils-npm-4.1.2-10299b48a2-498d67e7b4.zip/node_modules/@rollup/pluginutils/", "packageDependencies": [ - ["@rollup/pluginutils", "npm:4.1.0"] + ["@rollup/pluginutils", "npm:4.1.2"], + ["estree-walker", "npm:2.0.2"], + ["picomatch", "npm:2.3.0"] ], - "linkType": "SOFT", + "linkType": "HARD", }], ["virtual:128d732486f8ccaefb96f6a83cf090412124f651b9e4fb2391a5b169f32b07b36b34686953c7f758ad6325808c06743f64e7268d1288c694b496fc1f39104756#npm:3.1.0", { "packageLocation": "./.yarn/__virtual__/@rollup-pluginutils-virtual-ab3c673dca/3/.yarn/cache/@rollup-pluginutils-npm-3.1.0-b44b222e7d-8be16e2786.zip/node_modules/@rollup/pluginutils/", @@ -555,22 +557,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/rollup", null], ["estree-walker", "npm:1.0.1"], ["picomatch", "npm:2.3.0"], - ["rollup", "npm:2.58.1"] - ], - "packagePeers": [ - "@types/rollup", - "rollup" - ], - "linkType": "HARD", - }], - ["virtual:94b5ce1f13a82d6b9c88b7c1f2bc3229eb59f181a64691a106bcf03874624a9d4c0d526640fd49bbab9c749860b2fa3a012be996cb6508e7b8da84dd118201bd#npm:4.1.0", { - "packageLocation": "./.yarn/__virtual__/@rollup-pluginutils-virtual-6c48d94770/3/.yarn/cache/@rollup-pluginutils-npm-4.1.0-d00c3a42d6-5ef767b4e5.zip/node_modules/@rollup/pluginutils/", - "packageDependencies": [ - ["@rollup/pluginutils", "virtual:94b5ce1f13a82d6b9c88b7c1f2bc3229eb59f181a64691a106bcf03874624a9d4c0d526640fd49bbab9c749860b2fa3a012be996cb6508e7b8da84dd118201bd#npm:4.1.0"], - ["@types/rollup", null], - ["estree-walker", "npm:2.0.2"], - ["picomatch", "npm:2.3.0"], - ["rollup", "npm:2.58.1"] + ["rollup", "npm:2.66.1"] ], "packagePeers": [ "@types/rollup", @@ -580,10 +567,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@serverless/cli", [ - ["npm:1.5.2", { - "packageLocation": "../../.yarn/cache/@serverless-cli-npm-1.5.2-dcf588416a-a5e1dd12df.zip/node_modules/@serverless/cli/", + ["npm:1.6.0", { + "packageLocation": "../../.yarn/cache/@serverless-cli-npm-1.6.0-125220578d-da52576f60.zip/node_modules/@serverless/cli/", "packageDependencies": [ - ["@serverless/cli", "npm:1.5.2"], + ["@serverless/cli", "npm:1.6.0"], ["@serverless/core", "npm:1.1.2"], ["@serverless/template", "npm:1.1.4"], ["@serverless/utils", "npm:1.2.0"], @@ -594,7 +581,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["figures", "npm:3.2.0"], ["minimist", "npm:1.2.5"], ["prettyoutput", "npm:1.2.0"], - ["strip-ansi", "npm:5.2.0"] + ["strip-ansi", "npm:6.0.1"] ], "linkType": "HARD", }] @@ -611,10 +598,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@serverless/components", [ - ["npm:3.17.1", { - "packageLocation": "../../.yarn/cache/@serverless-components-npm-3.17.1-88e1b7f210-78e324e8e0.zip/node_modules/@serverless/components/", + ["npm:3.18.2", { + "packageLocation": "../../.yarn/cache/@serverless-components-npm-3.18.2-3fd19b2460-f0117afe43.zip/node_modules/@serverless/components/", "packageDependencies": [ - ["@serverless/components", "npm:3.17.1"], + ["@serverless/components", "npm:3.18.2"], ["@serverless/platform-client", "npm:4.2.3"], ["@serverless/platform-client-china", "npm:2.2.7"], ["@serverless/utils", "npm:4.1.0"], @@ -632,7 +619,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["got", "npm:11.8.2"], ["graphlib", "npm:2.1.8"], ["https-proxy-agent", "npm:5.0.0"], - ["inquirer-autocomplete-prompt", "virtual:88e1b7f210280699cf9448f14186252a1aad9775f923c71bf144c5183277760f7950b973699e8572bdc7695bc436d66779bc7ee7ee1818f1a1842578eea93670#npm:1.4.0"], + ["inquirer-autocomplete-prompt", "virtual:3fd19b246023ea7f68ad1e6886e9b4017de386ce3d2cf9a330166b21eae2cd7d33e3d07d77ae702701e3613092adad815428d2c6c8a2ce31ebbe02aa31b4703f#npm:1.4.0"], ["js-yaml", "npm:3.14.1"], ["memoizee", "npm:0.4.15"], ["minimist", "npm:1.2.5"], @@ -663,29 +650,29 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["@serverless/dashboard-plugin", [ - ["npm:5.5.0", { - "packageLocation": "../../.yarn/cache/@serverless-dashboard-plugin-npm-5.5.0-6721b56e5a-2b4d7f0ae7.zip/node_modules/@serverless/dashboard-plugin/", + ["npm:5.5.4", { + "packageLocation": "../../.yarn/cache/@serverless-dashboard-plugin-npm-5.5.4-4099eff2f5-eee18d42d8.zip/node_modules/@serverless/dashboard-plugin/", "packageDependencies": [ - ["@serverless/dashboard-plugin", "npm:5.5.0"], + ["@serverless/dashboard-plugin", "npm:5.5.4"], ["@serverless/event-mocks", "npm:1.1.1"], ["@serverless/platform-client", "npm:4.3.0"], - ["@serverless/utils", "npm:5.19.0"], + ["@serverless/utils", "npm:5.20.3"], ["chalk", "npm:4.1.2"], ["child-process-ext", "npm:2.1.1"], - ["chokidar", "npm:3.5.2"], + ["chokidar", "npm:3.5.3"], ["cli-color", "npm:2.0.1"], ["flat", "npm:5.0.2"], ["fs-extra", "npm:9.1.0"], ["js-yaml", "npm:4.1.0"], - ["jszip", "npm:3.7.1"], + ["jszip", "npm:3.10.1"], ["lodash", "npm:4.17.21"], ["memoizee", "npm:0.4.15"], ["ncjsm", "npm:4.2.0"], ["node-dir", "npm:0.1.17"], - ["node-fetch", "npm:2.6.5"], + ["node-fetch", "virtual:4099eff2f5c8177389fe2040a4a9bebdc5490a1ee1afd0189d8d8683c919f5225f65cb9e5f49bf6772598292e6830a34dd092409f681bc0d12c1e62e7b7c29ce#npm:2.6.7"], ["open", "npm:7.4.2"], ["semver", "npm:7.3.5"], - ["simple-git", "npm:2.47.0"], + ["simple-git", "npm:2.48.0"], ["uuid", "npm:8.3.2"], ["yamljs", "npm:0.3.0"] ], @@ -818,15 +805,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:5.19.0", { - "packageLocation": "../../.yarn/cache/@serverless-utils-npm-5.19.0-17f5ac9059-75530af200.zip/node_modules/@serverless/utils/", + ["npm:5.20.3", { + "packageLocation": "../../.yarn/cache/@serverless-utils-npm-5.20.3-21ee0212e0-9b8075d995.zip/node_modules/@serverless/utils/", "packageDependencies": [ - ["@serverless/utils", "npm:5.19.0"], + ["@serverless/utils", "npm:5.20.3"], ["archive-type", "npm:4.0.0"], ["chalk", "npm:4.1.2"], - ["ci-info", "npm:3.2.0"], - ["cli-progress-footer", "npm:2.1.1"], - ["content-disposition", "npm:0.5.3"], + ["ci-info", "npm:3.3.0"], + ["cli-progress-footer", "npm:2.3.0"], + ["content-disposition", "npm:0.5.4"], ["d", "npm:1.0.1"], ["decompress", "npm:4.2.1"], ["event-emitter", "npm:0.3.5"], @@ -835,13 +822,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["file-type", "npm:16.5.3"], ["filenamify", "npm:4.3.0"], ["get-stream", "npm:6.0.1"], - ["got", "npm:11.8.2"], + ["got", "npm:11.8.3"], ["inquirer", "npm:7.3.3"], ["js-yaml", "npm:4.1.0"], ["jwt-decode", "npm:3.1.2"], ["lodash", "npm:4.17.21"], ["log", "npm:6.3.1"], - ["log-node", "virtual:17f5ac905945df163f0a43537d297a766d5e2cf0b233bc5a23a04d799907b710353af19a24d85d397a0b5fd9c0ab491b122dc984817c66b4aadfc7659efd0313#npm:8.0.2"], + ["log-node", "virtual:21ee0212e0fa40c601947fdfbaa8185a18cdb0b048c1ddc89a477155bbe18014e2b4b6ce27b9ae40ee56c45527d65d18288b6deb0792346738bab3131c4ae2e3#npm:8.0.3"], ["make-dir", "npm:3.1.0"], ["memoizee", "npm:0.4.15"], ["ncjsm", "npm:4.2.0"], @@ -941,6 +928,34 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["@ts-type/package-dts", [ + ["npm:1.0.58", { + "packageLocation": "../../.yarn/cache/@ts-type-package-dts-npm-1.0.58-b00ebc3b37-efd31bbf1c.zip/node_modules/@ts-type/package-dts/", + "packageDependencies": [ + ["@ts-type/package-dts", "npm:1.0.58"] + ], + "linkType": "SOFT", + }], + ["virtual:1141992e48f33af04520ac4a258aa5fb9513d4d4a3656e99734a7fe9a01e53646fe176b3290e49650a0037c8d26df6772fdc63e70a6e6941fbf3164b940b5d56#npm:1.0.58", { + "packageLocation": "./.yarn/__virtual__/@ts-type-package-dts-virtual-354b7d1130/3/.yarn/cache/@ts-type-package-dts-npm-1.0.58-b00ebc3b37-efd31bbf1c.zip/node_modules/@ts-type/package-dts/", + "packageDependencies": [ + ["@ts-type/package-dts", "virtual:1141992e48f33af04520ac4a258aa5fb9513d4d4a3656e99734a7fe9a01e53646fe176b3290e49650a0037c8d26df6772fdc63e70a6e6941fbf3164b940b5d56#npm:1.0.58"], + ["@types/bluebird", null], + ["@types/node", null], + ["@types/semver", "npm:7.3.9"], + ["@types/ts-toolbelt", null], + ["ts-toolbelt", null], + ["ts-type", "virtual:354b7d11306f05b9a510a811edbcb1e0e2fecdd48ddce4fbd189879b63fad0c1cf3d0c0681c32dd7a4f625cda3a724e0e3263b3cc4da4a0ca4e3adc7973f3bb9#npm:2.1.4"] + ], + "packagePeers": [ + "@types/bluebird", + "@types/node", + "@types/ts-toolbelt", + "ts-toolbelt" + ], + "linkType": "HARD", + }] + ]], ["@tsconfig/node10", [ ["npm:1.0.8", { "packageLocation": "../../.yarn/cache/@tsconfig-node10-npm-1.0.8-90a8cce25d-b8d5fffbc6.zip/node_modules/@tsconfig/node10/", @@ -1068,10 +1083,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:16.11.4", { - "packageLocation": "../../.yarn/cache/@types-node-npm-16.11.4-f4c998d94a-96e08c0f8b.zip/node_modules/@types/node/", + ["npm:17.0.19", { + "packageLocation": "../../.yarn/cache/@types-node-npm-17.0.19-6c96c4528c-6bbd35bfc2.zip/node_modules/@types/node/", "packageDependencies": [ - ["@types/node", "npm:16.11.4"] + ["@types/node", "npm:17.0.19"] ], "linkType": "HARD", }] @@ -1130,6 +1145,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["@types/semver", [ + ["npm:7.3.9", { + "packageLocation": "../../.yarn/cache/@types-semver-npm-7.3.9-eb0d8b7243-60bfcfdfa7.zip/node_modules/@types/semver/", + "packageDependencies": [ + ["@types/semver", "npm:7.3.9"] + ], + "linkType": "HARD", + }] + ]], ["@types/tough-cookie", [ ["npm:4.0.0", { "packageLocation": "../../.yarn/cache/@types-tough-cookie-npm-4.0.0-c29cd799b9-454fa8d4d6.zip/node_modules/@types/tough-cookie/", @@ -1139,6 +1163,30 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["@yarn-tool/resolve-package", [ + ["npm:1.0.42", { + "packageLocation": "../../.yarn/cache/@yarn-tool-resolve-package-npm-1.0.42-310e315a66-438b4c327c.zip/node_modules/@yarn-tool/resolve-package/", + "packageDependencies": [ + ["@yarn-tool/resolve-package", "npm:1.0.42"] + ], + "linkType": "SOFT", + }], + ["virtual:a8546f792c5e87232da2a1d4f6e92b43f7821eb5257d5bedf027cda5ac51660b4c40aa513859d726a4b1dbe1f0888e5ba0d916a40ffddadd9e92fe2a567d191a#npm:1.0.42", { + "packageLocation": "./.yarn/__virtual__/@yarn-tool-resolve-package-virtual-1141992e48/3/.yarn/cache/@yarn-tool-resolve-package-npm-1.0.42-310e315a66-438b4c327c.zip/node_modules/@yarn-tool/resolve-package/", + "packageDependencies": [ + ["@yarn-tool/resolve-package", "virtual:a8546f792c5e87232da2a1d4f6e92b43f7821eb5257d5bedf027cda5ac51660b4c40aa513859d726a4b1dbe1f0888e5ba0d916a40ffddadd9e92fe2a567d191a#npm:1.0.42"], + ["@ts-type/package-dts", "virtual:1141992e48f33af04520ac4a258aa5fb9513d4d4a3656e99734a7fe9a01e53646fe176b3290e49650a0037c8d26df6772fdc63e70a6e6941fbf3164b940b5d56#npm:1.0.58"], + ["@types/node", null], + ["pkg-dir", "npm:5.0.0"], + ["tslib", "npm:2.3.1"], + ["upath2", "virtual:1141992e48f33af04520ac4a258aa5fb9513d4d4a3656e99734a7fe9a01e53646fe176b3290e49650a0037c8d26df6772fdc63e70a6e6941fbf3164b940b5d56#npm:3.1.12"] + ], + "packagePeers": [ + "@types/node" + ], + "linkType": "HARD", + }] + ]], ["abbrev", [ ["npm:1.1.1", { "packageLocation": "../../.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip/node_modules/abbrev/", @@ -1252,10 +1300,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "SOFT", }], - ["virtual:d24eb7033ae6ea14c51a679d431194d922a7069acb86368ff2b07cc85e6a4321856b74b0eb70cf89b57f4e0ce77c19d86aae69b27c13fba38ccf9a6687415d52#npm:3.5.2", { - "packageLocation": "./.yarn/__virtual__/ajv-keywords-virtual-09bce387d4/3/.yarn/cache/ajv-keywords-npm-3.5.2-0e391b70e2-7dc5e59316.zip/node_modules/ajv-keywords/", + ["virtual:908cd75ac9762c0f9ff65996676d4c45d0f75b9120debfa8527e41de8348a6259b70e4ffa71fdcd5331fa56d316ca9f5cbf78510a4c3439f1219c4aec1806c9a#npm:3.5.2", { + "packageLocation": "./.yarn/__virtual__/ajv-keywords-virtual-d9502ddafc/3/.yarn/cache/ajv-keywords-npm-3.5.2-0e391b70e2-7dc5e59316.zip/node_modules/ajv-keywords/", "packageDependencies": [ - ["ajv-keywords", "virtual:d24eb7033ae6ea14c51a679d431194d922a7069acb86368ff2b07cc85e6a4321856b74b0eb70cf89b57f4e0ce77c19d86aae69b27c13fba38ccf9a6687415d52#npm:3.5.2"], + ["ajv-keywords", "virtual:908cd75ac9762c0f9ff65996676d4c45d0f75b9120debfa8527e41de8348a6259b70e4ffa71fdcd5331fa56d316ca9f5cbf78510a4c3439f1219c4aec1806c9a#npm:3.5.2"], ["@types/ajv", null], ["ajv", "npm:6.12.6"] ], @@ -1523,14 +1571,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["aws-sdk", [ - ["npm:2.1013.0", { - "packageLocation": "./.yarn/unplugged/aws-sdk-npm-2.1013.0-4753f5320f/node_modules/aws-sdk/", + ["npm:2.1062.0", { + "packageLocation": "../../.yarn/cache/aws-sdk-npm-2.1062.0-eef9716695-84efd4cfd2.zip/node_modules/aws-sdk/", "packageDependencies": [ - ["aws-sdk", "npm:2.1013.0"], + ["aws-sdk", "npm:2.1062.0"], ["buffer", "npm:4.9.2"], ["events", "npm:1.1.1"], ["ieee754", "npm:1.1.13"], - ["jmespath", "npm:0.15.0"], + ["jmespath", "npm:0.16.0"], ["querystring", "npm:0.2.0"], ["sax", "npm:1.2.1"], ["url", "npm:0.10.3"], @@ -2009,7 +2057,22 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["chokidar", "npm:3.5.2"], ["anymatch", "npm:3.1.2"], ["braces", "npm:3.0.2"], - ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=1cc4b2"], + ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7"], + ["glob-parent", "npm:5.1.2"], + ["is-binary-path", "npm:2.1.0"], + ["is-glob", "npm:4.0.1"], + ["normalize-path", "npm:3.0.0"], + ["readdirp", "npm:3.6.0"] + ], + "linkType": "HARD", + }], + ["npm:3.5.3", { + "packageLocation": "../../.yarn/cache/chokidar-npm-3.5.3-c5f9b0a56a-b49fcde401.zip/node_modules/chokidar/", + "packageDependencies": [ + ["chokidar", "npm:3.5.3"], + ["anymatch", "npm:3.1.2"], + ["braces", "npm:3.0.2"], + ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7"], ["glob-parent", "npm:5.1.2"], ["is-binary-path", "npm:2.1.0"], ["is-glob", "npm:4.0.1"], @@ -2043,11 +2106,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@octokit/rest", "npm:18.12.0"], ["@rollup/plugin-commonjs", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:18.1.0"], ["@rollup/plugin-node-resolve", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:10.0.0"], - ["@types/node", "npm:16.11.4"], - ["rollup", "npm:2.58.1"], + ["@types/node", "npm:17.0.19"], + ["rollup", "npm:2.66.1"], ["rollup-plugin-terser", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:7.0.2"], - ["rollup-plugin-typescript2", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.30.0"], - ["serverless", "npm:2.64.1"], + ["rollup-plugin-typescript2", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.31.2"], + ["serverless", "npm:2.72.2"], ["ts-node", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:10.4.0"] ], "linkType": "SOFT", @@ -2060,6 +2123,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["ci-info", "npm:3.2.0"] ], "linkType": "HARD", + }], + ["npm:3.3.0", { + "packageLocation": "../../.yarn/cache/ci-info-npm-3.3.0-bc2aaaca96-c3d86fe374.zip/node_modules/ci-info/", + "packageDependencies": [ + ["ci-info", "npm:3.3.0"] + ], + "linkType": "HARD", }] ]], ["clean-stack", [ @@ -2081,32 +2151,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["cli-color", [ - ["npm:1.4.0", { - "packageLocation": "../../.yarn/cache/cli-color-npm-1.4.0-31bf8ce231-5e840cf68c.zip/node_modules/cli-color/", - "packageDependencies": [ - ["cli-color", "npm:1.4.0"], - ["ansi-regex", "npm:2.1.1"], - ["d", "npm:1.0.1"], - ["es5-ext", "npm:0.10.53"], - ["es6-iterator", "npm:2.0.3"], - ["memoizee", "npm:0.4.15"], - ["timers-ext", "npm:0.1.7"] - ], - "linkType": "HARD", - }], - ["npm:2.0.0", { - "packageLocation": "../../.yarn/cache/cli-color-npm-2.0.0-9f10b21e11-1cea606bc6.zip/node_modules/cli-color/", - "packageDependencies": [ - ["cli-color", "npm:2.0.0"], - ["ansi-regex", "npm:2.1.1"], - ["d", "npm:1.0.1"], - ["es5-ext", "npm:0.10.53"], - ["es6-iterator", "npm:2.0.3"], - ["memoizee", "npm:0.4.15"], - ["timers-ext", "npm:0.1.7"] - ], - "linkType": "HARD", - }], ["npm:2.0.1", { "packageLocation": "../../.yarn/cache/cli-color-npm-2.0.1-fb5ad6e02c-d79c118a09.zip/node_modules/cli-color/", "packageDependencies": [ @@ -2139,13 +2183,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["cli-progress-footer", [ - ["npm:2.1.1", { - "packageLocation": "../../.yarn/cache/cli-progress-footer-npm-2.1.1-283e15349d-81a62afb7e.zip/node_modules/cli-progress-footer/", + ["npm:2.3.0", { + "packageLocation": "../../.yarn/cache/cli-progress-footer-npm-2.3.0-e9ac7a1ac4-ffc246c3b7.zip/node_modules/cli-progress-footer/", "packageDependencies": [ - ["cli-progress-footer", "npm:2.1.1"], - ["cli-color", "npm:2.0.0"], + ["cli-progress-footer", "npm:2.3.0"], + ["cli-color", "npm:2.0.1"], ["d", "npm:1.0.1"], ["es5-ext", "npm:0.10.53"], + ["mute-stream", "npm:0.0.8"], ["process-utils", "npm:4.0.0"], ["timers-ext", "npm:0.1.7"], ["type", "npm:2.5.0"] @@ -2154,14 +2199,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["cli-sprintf-format", [ - ["npm:1.1.0", { - "packageLocation": "../../.yarn/cache/cli-sprintf-format-npm-1.1.0-661e12a755-017ba2281a.zip/node_modules/cli-sprintf-format/", + ["npm:1.1.1", { + "packageLocation": "../../.yarn/cache/cli-sprintf-format-npm-1.1.1-9c15074b67-d02360b421.zip/node_modules/cli-sprintf-format/", "packageDependencies": [ - ["cli-sprintf-format", "npm:1.1.0"], - ["cli-color", "npm:1.4.0"], + ["cli-sprintf-format", "npm:1.1.1"], + ["cli-color", "npm:2.0.1"], ["es5-ext", "npm:0.10.53"], ["sprintf-kit", "npm:2.0.1"], - ["supports-color", "npm:5.5.0"] + ["supports-color", "npm:6.1.0"] ], "linkType": "HARD", }] @@ -2394,11 +2439,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["content-disposition", [ - ["npm:0.5.3", { - "packageLocation": "../../.yarn/cache/content-disposition-npm-0.5.3-9a9a567e17-95bf164c0b.zip/node_modules/content-disposition/", + ["npm:0.5.4", { + "packageLocation": "../../.yarn/cache/content-disposition-npm-0.5.4-2d93678616-afb9d545e2.zip/node_modules/content-disposition/", "packageDependencies": [ - ["content-disposition", "npm:0.5.3"], - ["safe-buffer", "npm:5.1.2"] + ["content-disposition", "npm:0.5.4"], + ["safe-buffer", "npm:5.2.1"] ], "linkType": "HARD", }] @@ -2543,10 +2588,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/debug-virtual-75f3e5b18c/3/.yarn/cache/debug-npm-3.1.0-9f0accb99b-0b52718ab9.zip/node_modules/debug/", "packageDependencies": [ ["debug", "virtual:05cee90a2850af8c1e5fe07e18103ff7ebeaa1e5fe2949ab66519290410d68d984daf762f125ecc342acdf5166f33455a467875faca30ccd5d55f61e5662138e#npm:3.1.0"], + ["@types/supports-color", null], ["ms", "npm:2.0.0"], ["supports-color", null] ], "packagePeers": [ + "@types/supports-color", "supports-color" ], "linkType": "HARD", @@ -2555,10 +2602,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/debug-virtual-874453f4f8/3/.yarn/cache/debug-npm-4.3.1-22e08d605e-2c3352e37d.zip/node_modules/debug/", "packageDependencies": [ ["debug", "virtual:428f325a939c2653ad822eb3d75efb02ac311523dd0d4f9645afc39ea00bd86eceac35a9d59c9b6977d76b670a4ef0ae057ea572338a44729aa592711a8c05a3#npm:4.3.1"], + ["@types/supports-color", null], ["ms", "npm:2.1.2"], ["supports-color", null] ], "packagePeers": [ + "@types/supports-color", "supports-color" ], "linkType": "HARD", @@ -2567,10 +2616,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/debug-virtual-e152771b72/3/.yarn/cache/debug-npm-4.3.2-f0148b6afe-820ea160e2.zip/node_modules/debug/", "packageDependencies": [ ["debug", "virtual:4d5b41b4c144bc0f7c0e4c4c2164d0bc5d527811557a2fd7f2ec3307b1cf1ca97f42a730a90b32caada41091b3e922a1e5a2d8c6ff2841b6857305532c68aca8#npm:4.3.2"], + ["@types/supports-color", null], ["ms", "npm:2.1.2"], ["supports-color", null] ], "packagePeers": [ + "@types/supports-color", "supports-color" ], "linkType": "HARD", @@ -2579,10 +2630,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/debug-virtual-2769557a9c/3/.yarn/cache/debug-npm-3.2.7-754e818c7a-b3d8c59407.zip/node_modules/debug/", "packageDependencies": [ ["debug", "virtual:8bdf672d54f36156a0f721b1434bbc1348d0f0fc5e805c421e22316652d3adb4ab5ec9db167a289ec9115ad44ae048edb781152c06b39311b623662569c1a6c3#npm:3.2.7"], + ["@types/supports-color", null], ["ms", "npm:2.1.3"], ["supports-color", null] ], "packagePeers": [ + "@types/supports-color", "supports-color" ], "linkType": "HARD", @@ -2591,10 +2644,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/debug-virtual-374776ef67/3/.yarn/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip/node_modules/debug/", "packageDependencies": [ ["debug", "virtual:a4051453531124d4e4a72b98f69049d2976f5adbe5673a601205b4e3a869eb5275a77ee94bef4598131bcf9e6e932770b860771166c6bd68dac79c278d232583#npm:2.6.9"], + ["@types/supports-color", null], ["ms", "npm:2.0.0"], ["supports-color", null] ], "packagePeers": [ + "@types/supports-color", "supports-color" ], "linkType": "HARD", @@ -3123,10 +3178,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["essentials", [ - ["npm:1.1.1", { - "packageLocation": "../../.yarn/cache/essentials-npm-1.1.1-8bc3b0e07a-b5790e3df3.zip/node_modules/essentials/", + ["npm:1.2.0", { + "packageLocation": "../../.yarn/cache/essentials-npm-1.2.0-152268e999-da93546cda.zip/node_modules/essentials/", "packageDependencies": [ - ["essentials", "npm:1.1.1"] + ["essentials", "npm:1.2.0"], + ["uni-global", "npm:1.0.0"] ], "linkType": "HARD", }] @@ -3271,6 +3327,18 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["fast-glob", [ + ["npm:3.2.11", { + "packageLocation": "../../.yarn/cache/fast-glob-npm-3.2.11-bc01135fef-f473105324.zip/node_modules/fast-glob/", + "packageDependencies": [ + ["fast-glob", "npm:3.2.11"], + ["@nodelib/fs.stat", "npm:2.0.5"], + ["@nodelib/fs.walk", "npm:1.2.7"], + ["glob-parent", "npm:5.1.2"], + ["merge2", "npm:1.4.1"], + ["micromatch", "npm:4.0.4"] + ], + "linkType": "HARD", + }], ["npm:3.2.6", { "packageLocation": "../../.yarn/cache/fast-glob-npm-3.2.6-79d890d25c-5cd4fb7b3d.zip/node_modules/fast-glob/", "packageDependencies": [ @@ -3441,10 +3509,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["filesize", [ - ["npm:8.0.3", { - "packageLocation": "../../.yarn/cache/filesize-npm-8.0.3-095c00bb9b-0ce128184b.zip/node_modules/filesize/", + ["npm:8.0.7", { + "packageLocation": "../../.yarn/cache/filesize-npm-8.0.7-4070ceca66-8603d27c52.zip/node_modules/filesize/", "packageDependencies": [ - ["filesize", "npm:8.0.3"] + ["filesize", "npm:8.0.7"] ], "linkType": "HARD", }] @@ -3460,10 +3528,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["find-cache-dir", [ - ["npm:3.3.1", { - "packageLocation": "../../.yarn/cache/find-cache-dir-npm-3.3.1-66916b4b23-0f7c22b65e.zip/node_modules/find-cache-dir/", + ["npm:3.3.2", { + "packageLocation": "../../.yarn/cache/find-cache-dir-npm-3.3.2-836e68dd83-1e61c2e64f.zip/node_modules/find-cache-dir/", "packageDependencies": [ - ["find-cache-dir", "npm:3.3.1"], + ["find-cache-dir", "npm:3.3.2"], ["commondir", "npm:1.0.1"], ["make-dir", "npm:3.1.0"], ["pkg-dir", "npm:4.2.0"] @@ -3491,6 +3559,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["path-exists", "npm:4.0.0"] ], "linkType": "HARD", + }], + ["npm:5.0.0", { + "packageLocation": "../../.yarn/cache/find-up-npm-5.0.0-e03e9b796d-07955e3573.zip/node_modules/find-up/", + "packageDependencies": [ + ["find-up", "npm:5.0.0"], + ["locate-path", "npm:6.0.0"], + ["path-exists", "npm:4.0.0"] + ], + "linkType": "HARD", }] ]], ["flat", [ @@ -3514,9 +3591,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/follow-redirects-virtual-0c4ea90a75/3/.yarn/cache/follow-redirects-npm-1.14.1-e6bdc0f8e5-7381a55bdc.zip/node_modules/follow-redirects/", "packageDependencies": [ ["follow-redirects", "virtual:d192f6b3b31cd5d11a443145a3883a70c04cbd7c813c53085dbaf50263735f1162f10fdbddd53c24e162ec3bc37b90966413084323739b7cf942b8bfb4da8831#npm:1.14.1"], + ["@types/debug", null], ["debug", null] ], "packagePeers": [ + "@types/debug", "debug" ], "linkType": "HARD", @@ -3572,20 +3651,20 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["fs-extra", [ - ["npm:7.0.1", { - "packageLocation": "../../.yarn/cache/fs-extra-npm-7.0.1-b33a5e53e9-141b9dccb2.zip/node_modules/fs-extra/", + ["npm:10.0.0", { + "packageLocation": "../../.yarn/cache/fs-extra-npm-10.0.0-4f8c704115-5285a3d8f3.zip/node_modules/fs-extra/", "packageDependencies": [ - ["fs-extra", "npm:7.0.1"], + ["fs-extra", "npm:10.0.0"], ["graceful-fs", "npm:4.2.6"], - ["jsonfile", "npm:4.0.0"], - ["universalify", "npm:0.1.2"] + ["jsonfile", "npm:6.1.0"], + ["universalify", "npm:2.0.0"] ], "linkType": "HARD", }], - ["npm:8.1.0", { - "packageLocation": "../../.yarn/cache/fs-extra-npm-8.1.0-197473387f-bf44f0e6ce.zip/node_modules/fs-extra/", + ["npm:7.0.1", { + "packageLocation": "../../.yarn/cache/fs-extra-npm-7.0.1-b33a5e53e9-141b9dccb2.zip/node_modules/fs-extra/", "packageDependencies": [ - ["fs-extra", "npm:8.1.0"], + ["fs-extra", "npm:7.0.1"], ["graceful-fs", "npm:4.2.6"], ["jsonfile", "npm:4.0.0"], ["universalify", "npm:0.1.2"] @@ -3640,10 +3719,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["fsevents", [ - ["patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=1cc4b2", { - "packageLocation": "./.yarn/unplugged/fsevents-patch-34a78773f2/node_modules/fsevents/", + ["patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7", { + "packageLocation": "./.yarn/unplugged/fsevents-patch-3340e2eb10/node_modules/fsevents/", "packageDependencies": [ - ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=1cc4b2"], + ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7"], ["node-gyp", "npm:8.3.0"] ], "linkType": "HARD", @@ -3788,14 +3867,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["globby", [ - ["npm:11.0.4", { - "packageLocation": "../../.yarn/cache/globby-npm-11.0.4-592ce71cca-d3e02d5e45.zip/node_modules/globby/", + ["npm:11.1.0", { + "packageLocation": "../../.yarn/cache/globby-npm-11.1.0-bdcdf20c71-b4be8885e0.zip/node_modules/globby/", "packageDependencies": [ - ["globby", "npm:11.0.4"], + ["globby", "npm:11.1.0"], ["array-union", "npm:2.1.0"], ["dir-glob", "npm:3.0.1"], - ["fast-glob", "npm:3.2.6"], - ["ignore", "npm:5.1.8"], + ["fast-glob", "npm:3.2.11"], + ["ignore", "npm:5.2.0"], ["merge2", "npm:1.4.1"], ["slash", "npm:3.0.0"] ], @@ -3821,6 +3900,24 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], + ["npm:11.8.3", { + "packageLocation": "../../.yarn/cache/got-npm-11.8.3-caf98d599b-3b6db107d9.zip/node_modules/got/", + "packageDependencies": [ + ["got", "npm:11.8.3"], + ["@sindresorhus/is", "npm:4.0.1"], + ["@szmarczak/http-timer", "npm:4.0.5"], + ["@types/cacheable-request", "npm:6.0.1"], + ["@types/responselike", "npm:1.0.0"], + ["cacheable-lookup", "npm:5.0.4"], + ["cacheable-request", "npm:7.0.2"], + ["decompress-response", "npm:6.0.0"], + ["http2-wrapper", "npm:1.0.3"], + ["lowercase-keys", "npm:2.0.0"], + ["p-cancelable", "npm:2.1.1"], + ["responselike", "npm:2.0.0"] + ], + "linkType": "HARD", + }], ["npm:9.6.0", { "packageLocation": "../../.yarn/cache/got-npm-9.6.0-80edc15fd0-941807bd97.zip/node_modules/got/", "packageDependencies": [ @@ -3850,10 +3947,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:4.2.8", { - "packageLocation": "../../.yarn/cache/graceful-fs-npm-4.2.8-37c16fc3d3-5d224c8969.zip/node_modules/graceful-fs/", + ["npm:4.2.9", { + "packageLocation": "../../.yarn/cache/graceful-fs-npm-4.2.9-ee48e00aaa-68ea4e07ff.zip/node_modules/graceful-fs/", "packageDependencies": [ - ["graceful-fs", "npm:4.2.8"] + ["graceful-fs", "npm:4.2.9"] ], "linkType": "HARD", }] @@ -4057,6 +4154,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["ignore", "npm:5.1.8"] ], "linkType": "HARD", + }], + ["npm:5.2.0", { + "packageLocation": "../../.yarn/cache/ignore-npm-5.2.0-fc4b58a4f3-6b1f926792.zip/node_modules/ignore/", + "packageDependencies": [ + ["ignore", "npm:5.2.0"] + ], + "linkType": "HARD", }] ]], ["immediate", [ @@ -4183,10 +4287,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "SOFT", }], - ["virtual:88e1b7f210280699cf9448f14186252a1aad9775f923c71bf144c5183277760f7950b973699e8572bdc7695bc436d66779bc7ee7ee1818f1a1842578eea93670#npm:1.4.0", { - "packageLocation": "./.yarn/__virtual__/inquirer-autocomplete-prompt-virtual-b427f9dc91/3/.yarn/cache/inquirer-autocomplete-prompt-npm-1.4.0-25e0001216-863d60d6be.zip/node_modules/inquirer-autocomplete-prompt/", + ["virtual:3fd19b246023ea7f68ad1e6886e9b4017de386ce3d2cf9a330166b21eae2cd7d33e3d07d77ae702701e3613092adad815428d2c6c8a2ce31ebbe02aa31b4703f#npm:1.4.0", { + "packageLocation": "./.yarn/__virtual__/inquirer-autocomplete-prompt-virtual-1973d4c74e/3/.yarn/cache/inquirer-autocomplete-prompt-npm-1.4.0-25e0001216-863d60d6be.zip/node_modules/inquirer-autocomplete-prompt/", "packageDependencies": [ - ["inquirer-autocomplete-prompt", "virtual:88e1b7f210280699cf9448f14186252a1aad9775f923c71bf144c5183277760f7950b973699e8572bdc7695bc436d66779bc7ee7ee1818f1a1842578eea93670#npm:1.4.0"], + ["inquirer-autocomplete-prompt", "virtual:3fd19b246023ea7f68ad1e6886e9b4017de386ce3d2cf9a330166b21eae2cd7d33e3d07d77ae702701e3613092adad815428d2c6c8a2ce31ebbe02aa31b4703f#npm:1.4.0"], ["@types/inquirer", null], ["ansi-escapes", "npm:4.3.2"], ["chalk", "npm:4.1.1"], @@ -4238,6 +4342,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["has", "npm:1.0.3"] ], "linkType": "HARD", + }], + ["npm:2.8.1", { + "packageLocation": "../../.yarn/cache/is-core-module-npm-2.8.1-ce21740d1b-418b7bc107.zip/node_modules/is-core-module/", + "packageDependencies": [ + ["is-core-module", "npm:2.8.1"], + ["has", "npm:1.0.3"] + ], + "linkType": "HARD", }] ]], ["is-docker", [ @@ -4475,10 +4587,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["jmespath", [ - ["npm:0.15.0", { - "packageLocation": "../../.yarn/cache/jmespath-npm-0.15.0-df80ed6dd1-353bb9e69c.zip/node_modules/jmespath/", + ["npm:0.16.0", { + "packageLocation": "../../.yarn/cache/jmespath-npm-0.16.0-d47535c65a-2d602493a1.zip/node_modules/jmespath/", "packageDependencies": [ - ["jmespath", "npm:0.15.0"] + ["jmespath", "npm:0.16.0"] ], "linkType": "HARD", }] @@ -4622,14 +4734,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["jszip", [ - ["npm:3.7.1", { - "packageLocation": "../../.yarn/cache/jszip-npm-3.7.1-4ec3dbc6c4-67d737a82b.zip/node_modules/jszip/", + ["npm:3.10.1", { + "packageLocation": "../../.yarn/cache/jszip-npm-3.10.1-2862546cfb-abc77bfbe3.zip/node_modules/jszip/", "packageDependencies": [ - ["jszip", "npm:3.7.1"], + ["jszip", "npm:3.10.1"], ["lie", "npm:3.3.0"], ["pako", "npm:1.0.11"], ["readable-stream", "npm:2.3.7"], - ["set-immediate-shim", "npm:1.0.1"] + ["setimmediate", "npm:1.0.5"] ], "linkType": "HARD", }] @@ -4729,6 +4841,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["p-locate", "npm:4.1.0"] ], "linkType": "HARD", + }], + ["npm:6.0.0", { + "packageLocation": "../../.yarn/cache/locate-path-npm-6.0.0-06a1e4c528-72eb661788.zip/node_modules/locate-path/", + "packageDependencies": [ + ["locate-path", "npm:6.0.0"], + ["p-locate", "npm:5.0.0"] + ], + "linkType": "HARD", }] ]], ["lodash", [ @@ -4815,21 +4935,21 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["log-node", [ - ["npm:8.0.2", { - "packageLocation": "../../.yarn/cache/log-node-npm-8.0.2-d29ea19af6-e0403854fe.zip/node_modules/log-node/", + ["npm:8.0.3", { + "packageLocation": "../../.yarn/cache/log-node-npm-8.0.3-8ffe92f19a-d6e634e220.zip/node_modules/log-node/", "packageDependencies": [ - ["log-node", "npm:8.0.2"] + ["log-node", "npm:8.0.3"] ], "linkType": "SOFT", }], - ["virtual:17f5ac905945df163f0a43537d297a766d5e2cf0b233bc5a23a04d799907b710353af19a24d85d397a0b5fd9c0ab491b122dc984817c66b4aadfc7659efd0313#npm:8.0.2", { - "packageLocation": "./.yarn/__virtual__/log-node-virtual-022be223d4/3/.yarn/cache/log-node-npm-8.0.2-d29ea19af6-e0403854fe.zip/node_modules/log-node/", + ["virtual:21ee0212e0fa40c601947fdfbaa8185a18cdb0b048c1ddc89a477155bbe18014e2b4b6ce27b9ae40ee56c45527d65d18288b6deb0792346738bab3131c4ae2e3#npm:8.0.3", { + "packageLocation": "./.yarn/__virtual__/log-node-virtual-ed85e1d0ba/3/.yarn/cache/log-node-npm-8.0.3-8ffe92f19a-d6e634e220.zip/node_modules/log-node/", "packageDependencies": [ - ["log-node", "virtual:17f5ac905945df163f0a43537d297a766d5e2cf0b233bc5a23a04d799907b710353af19a24d85d397a0b5fd9c0ab491b122dc984817c66b4aadfc7659efd0313#npm:8.0.2"], + ["log-node", "virtual:21ee0212e0fa40c601947fdfbaa8185a18cdb0b048c1ddc89a477155bbe18014e2b4b6ce27b9ae40ee56c45527d65d18288b6deb0792346738bab3131c4ae2e3#npm:8.0.3"], ["@types/log", null], ["ansi-regex", "npm:5.0.1"], - ["cli-color", "npm:2.0.0"], - ["cli-sprintf-format", "npm:1.1.0"], + ["cli-color", "npm:2.0.1"], + ["cli-sprintf-format", "npm:1.1.1"], ["d", "npm:1.0.1"], ["es5-ext", "npm:0.10.53"], ["log", "npm:6.3.1"], @@ -4856,6 +4976,18 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["triple-beam", "npm:1.3.0"] ], "linkType": "HARD", + }], + ["npm:2.3.0", { + "packageLocation": "../../.yarn/cache/logform-npm-2.3.0-13155f7f21-a82d36823d.zip/node_modules/logform/", + "packageDependencies": [ + ["logform", "npm:2.3.0"], + ["colors", "npm:1.4.0"], + ["fecha", "npm:4.2.1"], + ["ms", "npm:2.1.3"], + ["safe-stable-stringify", "npm:1.1.1"], + ["triple-beam", "npm:1.3.0"] + ], + "linkType": "HARD", }] ]], ["long", [ @@ -5304,6 +5436,21 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["type", "npm:2.5.0"] ], "linkType": "HARD", + }], + ["npm:4.3.0", { + "packageLocation": "../../.yarn/cache/ncjsm-npm-4.3.0-89b0f511ab-ed9f872cf8.zip/node_modules/ncjsm/", + "packageDependencies": [ + ["ncjsm", "npm:4.3.0"], + ["builtin-modules", "npm:3.2.0"], + ["deferred", "npm:0.7.11"], + ["es5-ext", "npm:0.10.53"], + ["es6-set", "npm:0.1.5"], + ["ext", "npm:1.6.0"], + ["find-requires", "npm:1.0.0"], + ["fs2", "npm:0.3.9"], + ["type", "npm:2.5.0"] + ], + "linkType": "HARD", }] ]], ["negotiator", [ @@ -5377,12 +5524,25 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:2.6.5", { - "packageLocation": "../../.yarn/cache/node-fetch-npm-2.6.5-77aced0674-4e83db4507.zip/node_modules/node-fetch/", + ["npm:2.6.7", { + "packageLocation": "../../.yarn/cache/node-fetch-npm-2.6.7-777aa2a6df-8d816ffd1e.zip/node_modules/node-fetch/", "packageDependencies": [ - ["node-fetch", "npm:2.6.5"], + ["node-fetch", "npm:2.6.7"] + ], + "linkType": "SOFT", + }], + ["virtual:4099eff2f5c8177389fe2040a4a9bebdc5490a1ee1afd0189d8d8683c919f5225f65cb9e5f49bf6772598292e6830a34dd092409f681bc0d12c1e62e7b7c29ce#npm:2.6.7", { + "packageLocation": "./.yarn/__virtual__/node-fetch-virtual-78e5cfb203/3/.yarn/cache/node-fetch-npm-2.6.7-777aa2a6df-8d816ffd1e.zip/node_modules/node-fetch/", + "packageDependencies": [ + ["node-fetch", "virtual:4099eff2f5c8177389fe2040a4a9bebdc5490a1ee1afd0189d8d8683c919f5225f65cb9e5f49bf6772598292e6830a34dd092409f681bc0d12c1e62e7b7c29ce#npm:2.6.7"], + ["@types/encoding", null], + ["encoding", null], ["whatwg-url", "npm:5.0.0"] ], + "packagePeers": [ + "@types/encoding", + "encoding" + ], "linkType": "HARD", }] ]], @@ -5489,15 +5649,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["object-hash", [ - ["npm:2.2.0", { - "packageLocation": "../../.yarn/cache/object-hash-npm-2.2.0-d97a921cc1-55ba841e3a.zip/node_modules/object-hash/", - "packageDependencies": [ - ["object-hash", "npm:2.2.0"] - ], - "linkType": "HARD", - }] - ]], ["object-inspect", [ ["npm:1.10.3", { "packageLocation": "../../.yarn/cache/object-inspect-npm-1.10.3-5aa499f036-9a56db2e01.zip/node_modules/object-inspect/", @@ -5625,6 +5776,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["p-try", "npm:2.2.0"] ], "linkType": "HARD", + }], + ["npm:3.1.0", { + "packageLocation": "../../.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip/node_modules/p-limit/", + "packageDependencies": [ + ["p-limit", "npm:3.1.0"], + ["yocto-queue", "npm:0.1.0"] + ], + "linkType": "HARD", }] ]], ["p-locate", [ @@ -5635,6 +5794,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["p-limit", "npm:2.3.0"] ], "linkType": "HARD", + }], + ["npm:5.0.0", { + "packageLocation": "../../.yarn/cache/p-locate-npm-5.0.0-92cc7c7a3e-1623088f36.zip/node_modules/p-locate/", + "packageDependencies": [ + ["p-locate", "npm:5.0.0"], + ["p-limit", "npm:3.1.0"] + ], + "linkType": "HARD", }] ]], ["p-map", [ @@ -5724,6 +5891,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["path-is-network-drive", [ + ["npm:1.0.13", { + "packageLocation": "../../.yarn/cache/path-is-network-drive-npm-1.0.13-1a70ae700b-05a8d3ed32.zip/node_modules/path-is-network-drive/", + "packageDependencies": [ + ["path-is-network-drive", "npm:1.0.13"], + ["tslib", "npm:2.3.1"] + ], + "linkType": "HARD", + }] + ]], ["path-key", [ ["npm:2.0.1", { "packageLocation": "../../.yarn/cache/path-key-npm-2.0.1-b1a971833d-f7ab0ad42f.zip/node_modules/path-key/", @@ -5753,6 +5930,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["path-strip-sep", [ + ["npm:1.0.10", { + "packageLocation": "../../.yarn/cache/path-strip-sep-npm-1.0.10-5ceb8ab4cf-1553008356.zip/node_modules/path-strip-sep/", + "packageDependencies": [ + ["path-strip-sep", "npm:1.0.10"], + ["tslib", "npm:2.3.1"] + ], + "linkType": "HARD", + }] + ]], ["path-type", [ ["npm:4.0.0", { "packageLocation": "../../.yarn/cache/path-type-npm-4.0.0-10d47fc86a-5b1e2daa24.zip/node_modules/path-type/", @@ -5850,6 +6037,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["find-up", "npm:4.1.0"] ], "linkType": "HARD", + }], + ["npm:5.0.0", { + "packageLocation": "../../.yarn/cache/pkg-dir-npm-5.0.0-3ba6768b42-b167bb8dac.zip/node_modules/pkg-dir/", + "packageDependencies": [ + ["pkg-dir", "npm:5.0.0"], + ["find-up", "npm:5.0.0"] + ], + "linkType": "HARD", }] ]], ["prebuild-install", [ @@ -5941,9 +6136,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/__virtual__/promise-inflight-virtual-b427a57c8f/3/.yarn/cache/promise-inflight-npm-1.0.1-5bb925afac-2274948309.zip/node_modules/promise-inflight/", "packageDependencies": [ ["promise-inflight", "virtual:a7e5239c6ae68bf6359adfd3598326db000e94dbb349bc00a3852ed53a31712a0e2e787228c6e859d3e5cf2fbb872aba1ea4abe4995cef8086a77ef619ae1be6#npm:1.0.1"], + ["@types/bluebird", null], ["bluebird", null] ], "packagePeers": [ + "@types/bluebird", "bluebird" ], "linkType": "HARD", @@ -6308,14 +6505,24 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["resolve", [ - ["patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff", { - "packageLocation": "../../.yarn/cache/resolve-patch-da1bf0dd3c-bed00be983.zip/node_modules/resolve/", + ["patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=07638b", { + "packageLocation": "../../.yarn/cache/resolve-patch-b4a69197d3-a0dd7d16a8.zip/node_modules/resolve/", "packageDependencies": [ - ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff"], + ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=07638b"], ["is-core-module", "npm:2.4.0"], ["path-parse", "npm:1.0.7"] ], "linkType": "HARD", + }], + ["patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b", { + "packageLocation": "../../.yarn/cache/resolve-patch-bad885c6ea-c79ecaea36.zip/node_modules/resolve/", + "packageDependencies": [ + ["resolve", "patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b"], + ["is-core-module", "npm:2.8.1"], + ["path-parse", "npm:1.0.7"], + ["supports-preserve-symlinks-flag", "npm:1.0.0"] + ], + "linkType": "HARD", }] ]], ["resolve-alpn", [ @@ -6401,11 +6608,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["rollup", [ - ["npm:2.58.1", { - "packageLocation": "../../.yarn/cache/rollup-npm-2.58.1-4e96ba3e5b-66007faeda.zip/node_modules/rollup/", + ["npm:2.66.1", { + "packageLocation": "../../.yarn/cache/rollup-npm-2.66.1-9340aadcc4-ecd7917dee.zip/node_modules/rollup/", "packageDependencies": [ - ["rollup", "npm:2.58.1"], - ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=1cc4b2"] + ["rollup", "npm:2.66.1"], + ["fsevents", "patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7"] ], "linkType": "HARD", }] @@ -6425,7 +6632,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@babel/code-frame", "npm:7.14.5"], ["@types/rollup", null], ["jest-worker", "npm:26.6.2"], - ["rollup", "npm:2.58.1"], + ["rollup", "npm:2.66.1"], ["serialize-javascript", "npm:4.0.0"], ["terser", "npm:5.7.1"] ], @@ -6437,25 +6644,26 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["rollup-plugin-typescript2", [ - ["npm:0.30.0", { - "packageLocation": "../../.yarn/cache/rollup-plugin-typescript2-npm-0.30.0-f985b92bb6-e3097bb25c.zip/node_modules/rollup-plugin-typescript2/", + ["npm:0.31.2", { + "packageLocation": "../../.yarn/cache/rollup-plugin-typescript2-npm-0.31.2-160eface40-ceebc68619.zip/node_modules/rollup-plugin-typescript2/", "packageDependencies": [ - ["rollup-plugin-typescript2", "npm:0.30.0"] + ["rollup-plugin-typescript2", "npm:0.31.2"] ], "linkType": "SOFT", }], - ["virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.30.0", { - "packageLocation": "./.yarn/__virtual__/rollup-plugin-typescript2-virtual-94b5ce1f13/3/.yarn/cache/rollup-plugin-typescript2-npm-0.30.0-f985b92bb6-e3097bb25c.zip/node_modules/rollup-plugin-typescript2/", + ["virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.31.2", { + "packageLocation": "./.yarn/__virtual__/rollup-plugin-typescript2-virtual-a8546f792c/3/.yarn/cache/rollup-plugin-typescript2-npm-0.31.2-160eface40-ceebc68619.zip/node_modules/rollup-plugin-typescript2/", "packageDependencies": [ - ["rollup-plugin-typescript2", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.30.0"], - ["@rollup/pluginutils", "virtual:94b5ce1f13a82d6b9c88b7c1f2bc3229eb59f181a64691a106bcf03874624a9d4c0d526640fd49bbab9c749860b2fa3a012be996cb6508e7b8da84dd118201bd#npm:4.1.0"], + ["rollup-plugin-typescript2", "virtual:083a866b5da33c310d7eb31754244c3da78d1b0fd46b2fc98b2ed59dd1b7d5b0f800eb04c7af2b5e44d9de181a6b9655c3817224490995944996cb86344fe273#npm:0.31.2"], + ["@rollup/pluginutils", "npm:4.1.2"], ["@types/rollup", null], ["@types/typescript", null], - ["find-cache-dir", "npm:3.3.1"], - ["fs-extra", "npm:8.1.0"], - ["resolve", "patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff"], - ["rollup", "npm:2.58.1"], - ["tslib", "npm:2.1.0"], + ["@yarn-tool/resolve-package", "virtual:a8546f792c5e87232da2a1d4f6e92b43f7821eb5257d5bedf027cda5ac51660b4c40aa513859d726a4b1dbe1f0888e5ba0d916a40ffddadd9e92fe2a567d191a#npm:1.0.42"], + ["find-cache-dir", "npm:3.3.2"], + ["fs-extra", "npm:10.0.0"], + ["resolve", "patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b"], + ["rollup", "npm:2.66.1"], + ["tslib", "npm:2.3.1"], ["typescript", null] ], "packagePeers": [ @@ -6522,6 +6730,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["safe-stable-stringify", [ + ["npm:1.1.1", { + "packageLocation": "../../.yarn/cache/safe-stable-stringify-npm-1.1.1-1c282e1c55-e32a30720e.zip/node_modules/safe-stable-stringify/", + "packageDependencies": [ + ["safe-stable-stringify", "npm:1.1.1"] + ], + "linkType": "HARD", + }] + ]], ["safer-buffer", [ ["npm:2.1.2", { "packageLocation": "../../.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip/node_modules/safer-buffer/", @@ -6592,58 +6809,57 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["serverless", [ - ["npm:2.64.1", { - "packageLocation": "./.yarn/unplugged/serverless-npm-2.64.1-d24eb7033a/node_modules/serverless/", + ["npm:2.72.2", { + "packageLocation": "./.yarn/unplugged/serverless-npm-2.72.2-908cd75ac9/node_modules/serverless/", "packageDependencies": [ - ["serverless", "npm:2.64.1"], - ["@serverless/cli", "npm:1.5.2"], - ["@serverless/components", "npm:3.17.1"], - ["@serverless/dashboard-plugin", "npm:5.5.0"], + ["serverless", "npm:2.72.2"], + ["@serverless/cli", "npm:1.6.0"], + ["@serverless/components", "npm:3.18.2"], + ["@serverless/dashboard-plugin", "npm:5.5.4"], ["@serverless/platform-client", "npm:4.3.0"], - ["@serverless/utils", "npm:5.19.0"], + ["@serverless/utils", "npm:5.20.3"], ["ajv", "npm:6.12.6"], - ["ajv-keywords", "virtual:d24eb7033ae6ea14c51a679d431194d922a7069acb86368ff2b07cc85e6a4321856b74b0eb70cf89b57f4e0ce77c19d86aae69b27c13fba38ccf9a6687415d52#npm:3.5.2"], + ["ajv-keywords", "virtual:908cd75ac9762c0f9ff65996676d4c45d0f75b9120debfa8527e41de8348a6259b70e4ffa71fdcd5331fa56d316ca9f5cbf78510a4c3439f1219c4aec1806c9a#npm:3.5.2"], ["archiver", "npm:5.3.0"], - ["aws-sdk", "npm:2.1013.0"], + ["aws-sdk", "npm:2.1062.0"], ["bluebird", "npm:3.7.2"], ["boxen", "npm:5.1.2"], ["cachedir", "npm:2.3.0"], ["chalk", "npm:4.1.2"], ["child-process-ext", "npm:2.1.1"], - ["ci-info", "npm:3.2.0"], - ["cli-progress-footer", "npm:2.1.1"], + ["ci-info", "npm:3.3.0"], + ["cli-progress-footer", "npm:2.3.0"], ["d", "npm:1.0.1"], ["dayjs", "npm:1.10.7"], ["decompress", "npm:4.2.1"], ["dotenv", "npm:10.0.0"], ["dotenv-expand", "npm:5.1.0"], - ["essentials", "npm:1.1.1"], + ["essentials", "npm:1.2.0"], ["ext", "npm:1.6.0"], ["fastest-levenshtein", "npm:1.0.12"], - ["filesize", "npm:8.0.3"], + ["filesize", "npm:8.0.7"], ["fs-extra", "npm:9.1.0"], ["get-stdin", "npm:8.0.0"], - ["globby", "npm:11.0.4"], - ["got", "npm:11.8.2"], - ["graceful-fs", "npm:4.2.8"], + ["globby", "npm:11.1.0"], + ["got", "npm:11.8.3"], + ["graceful-fs", "npm:4.2.9"], ["https-proxy-agent", "npm:5.0.0"], ["is-docker", "npm:2.2.1"], - ["is-wsl", "npm:2.2.0"], ["js-yaml", "npm:4.1.0"], ["json-cycle", "npm:1.3.0"], ["json-refs", "npm:3.0.15"], ["lodash", "npm:4.17.21"], ["memoizee", "npm:0.4.15"], ["micromatch", "npm:4.0.4"], - ["ncjsm", "npm:4.2.0"], - ["node-fetch", "npm:2.6.5"], - ["object-hash", "npm:2.2.0"], + ["ncjsm", "npm:4.3.0"], + ["node-fetch", "virtual:4099eff2f5c8177389fe2040a4a9bebdc5490a1ee1afd0189d8d8683c919f5225f65cb9e5f49bf6772598292e6830a34dd092409f681bc0d12c1e62e7b7c29ce#npm:2.6.7"], + ["open", "npm:7.4.2"], ["path2", "npm:0.1.0"], ["process-utils", "npm:4.0.0"], ["promise-queue", "npm:2.2.5"], ["replaceall", "npm:0.1.6"], ["semver", "npm:7.3.5"], - ["signal-exit", "npm:3.0.5"], + ["signal-exit", "npm:3.0.6"], ["strip-ansi", "npm:6.0.1"], ["tabtab", "npm:3.0.2"], ["tar", "npm:6.1.11"], @@ -6665,11 +6881,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["set-immediate-shim", [ - ["npm:1.0.1", { - "packageLocation": "../../.yarn/cache/set-immediate-shim-npm-1.0.1-f1ac810b1a-5085c84039.zip/node_modules/set-immediate-shim/", + ["setimmediate", [ + ["npm:1.0.5", { + "packageLocation": "../../.yarn/cache/setimmediate-npm-1.0.5-54587459b6-c9a6f2c5b5.zip/node_modules/setimmediate/", "packageDependencies": [ - ["set-immediate-shim", "npm:1.0.1"] + ["setimmediate", "npm:1.0.5"] ], "linkType": "HARD", }] @@ -6723,10 +6939,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:3.0.5", { - "packageLocation": "../../.yarn/cache/signal-exit-npm-3.0.5-dd7570d7b8-a1d3d0d63f.zip/node_modules/signal-exit/", + ["npm:3.0.6", { + "packageLocation": "../../.yarn/cache/signal-exit-npm-3.0.6-66fc2466b6-b819ac81ba.zip/node_modules/signal-exit/", "packageDependencies": [ - ["signal-exit", "npm:3.0.5"] + ["signal-exit", "npm:3.0.6"] ], "linkType": "HARD", }] @@ -6753,10 +6969,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["simple-git", [ - ["npm:2.47.0", { - "packageLocation": "../../.yarn/cache/simple-git-npm-2.47.0-774ac2dc47-0fefd12a2a.zip/node_modules/simple-git/", + ["npm:2.48.0", { + "packageLocation": "../../.yarn/cache/simple-git-npm-2.48.0-80eeca8aa4-ba84b942ad.zip/node_modules/simple-git/", "packageDependencies": [ - ["simple-git", "npm:2.47.0"], + ["simple-git", "npm:2.48.0"], ["@kwsites/file-exists", "npm:1.1.1"], ["@kwsites/promise-deferred", "npm:1.1.1"], ["debug", "virtual:4d5b41b4c144bc0f7c0e4c4c2164d0bc5d527811557a2fd7f2ec3307b1cf1ca97f42a730a90b32caada41091b3e922a1e5a2d8c6ff2841b6857305532c68aca8#npm:4.3.2"] @@ -7191,6 +7407,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], + ["npm:6.1.0", { + "packageLocation": "../../.yarn/cache/supports-color-npm-6.1.0-7d19cd7f55-74358f9535.zip/node_modules/supports-color/", + "packageDependencies": [ + ["supports-color", "npm:6.1.0"], + ["has-flag", "npm:3.0.0"] + ], + "linkType": "HARD", + }], ["npm:7.2.0", { "packageLocation": "../../.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip/node_modules/supports-color/", "packageDependencies": [ @@ -7208,6 +7432,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["supports-preserve-symlinks-flag", [ + ["npm:1.0.0", { + "packageLocation": "../../.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip/node_modules/supports-preserve-symlinks-flag/", + "packageDependencies": [ + ["supports-preserve-symlinks-flag", "npm:1.0.0"] + ], + "linkType": "HARD", + }] + ]], ["tabtab", [ ["npm:3.0.2", { "packageLocation": "../../.yarn/cache/tabtab-npm-3.0.2-2dd689680e-993fdd78af.zip/node_modules/tabtab/", @@ -7471,7 +7704,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@tsconfig/node12", "npm:1.0.9"], ["@tsconfig/node14", "npm:1.0.1"], ["@tsconfig/node16", "npm:1.0.2"], - ["@types/node", "npm:16.11.4"], + ["@types/node", "npm:17.0.19"], ["@types/swc__core", null], ["@types/swc__wasm", null], ["@types/typescript", null], @@ -7496,6 +7729,34 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["ts-type", [ + ["npm:2.1.4", { + "packageLocation": "../../.yarn/cache/ts-type-npm-2.1.4-98506d086b-d05f846a9c.zip/node_modules/ts-type/", + "packageDependencies": [ + ["ts-type", "npm:2.1.4"] + ], + "linkType": "SOFT", + }], + ["virtual:354b7d11306f05b9a510a811edbcb1e0e2fecdd48ddce4fbd189879b63fad0c1cf3d0c0681c32dd7a4f625cda3a724e0e3263b3cc4da4a0ca4e3adc7973f3bb9#npm:2.1.4", { + "packageLocation": "./.yarn/__virtual__/ts-type-virtual-e95037d58a/3/.yarn/cache/ts-type-npm-2.1.4-98506d086b-d05f846a9c.zip/node_modules/ts-type/", + "packageDependencies": [ + ["ts-type", "virtual:354b7d11306f05b9a510a811edbcb1e0e2fecdd48ddce4fbd189879b63fad0c1cf3d0c0681c32dd7a4f625cda3a724e0e3263b3cc4da4a0ca4e3adc7973f3bb9#npm:2.1.4"], + ["@types/bluebird", null], + ["@types/node", null], + ["@types/ts-toolbelt", null], + ["ts-toolbelt", null], + ["tslib", "npm:2.3.1"], + ["typedarray-dts", "npm:1.0.0"] + ], + "packagePeers": [ + "@types/bluebird", + "@types/node", + "@types/ts-toolbelt", + "ts-toolbelt" + ], + "linkType": "HARD", + }] + ]], ["tslib", [ ["npm:1.14.1", { "packageLocation": "../../.yarn/cache/tslib-npm-1.14.1-102499115e-dbe628ef87.zip/node_modules/tslib/", @@ -7504,10 +7765,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:2.1.0", { - "packageLocation": "../../.yarn/cache/tslib-npm-2.1.0-81c9ac9b82-aa189c8179.zip/node_modules/tslib/", + ["npm:2.3.1", { + "packageLocation": "../../.yarn/cache/tslib-npm-2.3.1-0e21e18015-de17a98d46.zip/node_modules/tslib/", "packageDependencies": [ - ["tslib", "npm:2.1.0"] + ["tslib", "npm:2.3.1"] ], "linkType": "HARD", }] @@ -7574,6 +7835,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["typedarray-dts", [ + ["npm:1.0.0", { + "packageLocation": "../../.yarn/cache/typedarray-dts-npm-1.0.0-5464312294-9b378ab52e.zip/node_modules/typedarray-dts/", + "packageDependencies": [ + ["typedarray-dts", "npm:1.0.0"] + ], + "linkType": "HARD", + }] + ]], ["typedarray-to-buffer", [ ["npm:3.1.5", { "packageLocation": "../../.yarn/cache/typedarray-to-buffer-npm-3.1.5-aadc11995e-99c11aaa8f.zip/node_modules/typedarray-to-buffer/", @@ -7666,6 +7936,29 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["upath2", [ + ["npm:3.1.12", { + "packageLocation": "../../.yarn/cache/upath2-npm-3.1.12-2be6613840-b452e3b19a.zip/node_modules/upath2/", + "packageDependencies": [ + ["upath2", "npm:3.1.12"] + ], + "linkType": "SOFT", + }], + ["virtual:1141992e48f33af04520ac4a258aa5fb9513d4d4a3656e99734a7fe9a01e53646fe176b3290e49650a0037c8d26df6772fdc63e70a6e6941fbf3164b940b5d56#npm:3.1.12", { + "packageLocation": "./.yarn/__virtual__/upath2-virtual-1a6acc073c/3/.yarn/cache/upath2-npm-3.1.12-2be6613840-b452e3b19a.zip/node_modules/upath2/", + "packageDependencies": [ + ["upath2", "virtual:1141992e48f33af04520ac4a258aa5fb9513d4d4a3656e99734a7fe9a01e53646fe176b3290e49650a0037c8d26df6772fdc63e70a6e6941fbf3164b940b5d56#npm:3.1.12"], + ["@types/node", null], + ["path-is-network-drive", "npm:1.0.13"], + ["path-strip-sep", "npm:1.0.10"], + ["tslib", "npm:2.3.1"] + ], + "packagePeers": [ + "@types/node" + ], + "linkType": "HARD", + }] + ]], ["uri-js", [ ["npm:4.4.1", { "packageLocation": "../../.yarn/cache/uri-js-npm-4.4.1-66d11cbcaf-7167432de6.zip/node_modules/uri-js/", @@ -7841,6 +8134,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "../../.yarn/cache/winston-transport-npm-4.4.0-e1b3134c1e-953d78d152.zip/node_modules/winston-transport/", "packageDependencies": [ ["winston-transport", "npm:4.4.0"], + ["logform", "npm:2.3.0"], ["readable-stream", "npm:2.3.7"], ["triple-beam", "npm:1.3.0"] ], @@ -8061,6 +8355,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["yocto-queue", [ + ["npm:0.1.0", { + "packageLocation": "../../.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip/node_modules/yocto-queue/", + "packageDependencies": [ + ["yocto-queue", "npm:0.1.0"] + ], + "linkType": "HARD", + }] + ]], ["zip-stream", [ ["npm:4.1.0", { "packageLocation": "../../.yarn/cache/zip-stream-npm-4.1.0-c77601aed4-4a73da8567.zip/node_modules/zip-stream/", @@ -12450,6 +12753,21 @@ var external_fs_ = __webpack_require__(747); var external_fs_default = /*#__PURE__*/__webpack_require__.n(external_fs_); ;// CONCATENATED MODULE: external "os" const external_os_namespaceObject = require("os");; +;// CONCATENATED MODULE: ../yarnpkg-fslib/sources/constants.ts +const constants_S_IFMT = 0o170000; +const constants_S_IFDIR = 0o040000; +const constants_S_IFREG = 0o100000; +const constants_S_IFLNK = 0o120000; +/** + * Unix timestamp for `1984-06-22T21:50:00.000Z` + * + * It needs to be after 1980-01-01 because that's what Zip supports, and it + * needs to have a slight offset to account for different timezones (because + * zip assumes that all times are local to whoever writes the file, which is + * really silly). + */ + +const SAFE_TIME = 456789000; // EXTERNAL MODULE: external "path" var external_path_ = __webpack_require__(622); var external_path_default = /*#__PURE__*/__webpack_require__.n(external_path_); @@ -12523,7 +12841,8 @@ const UNC_PORTABLE_PATH_REGEXP = /^\/unc\/(\.dot\/)?(.*)$/; // Path should look function fromPortablePath(p) { if (process.platform !== `win32`) return p; - if (p.match(PORTABLE_PATH_REGEXP)) p = p.replace(PORTABLE_PATH_REGEXP, `$1`);else if (p.match(UNC_PORTABLE_PATH_REGEXP)) p = p.replace(UNC_PORTABLE_PATH_REGEXP, (match, p1, p2) => `\\\\${p1 ? `.\\` : ``}${p2}`);else return p; + let portablePathMatch, uncPortablePathMatch; + if (portablePathMatch = p.match(PORTABLE_PATH_REGEXP)) p = portablePathMatch[1];else if (uncPortablePathMatch = p.match(UNC_PORTABLE_PATH_REGEXP)) p = `\\\\${uncPortablePathMatch[1] ? `.\\` : ``}${uncPortablePathMatch[2]}`;else return p; return p.replace(/\//g, `\\`); } // Path should look like "N:/berry/scripts/plugin-pack.js" // And transform to "/N:/berry/scripts/plugin-pack.js" @@ -12531,7 +12850,8 @@ function fromPortablePath(p) { function toPortablePath(p) { if (process.platform !== `win32`) return p; - if (p.match(WINDOWS_PATH_REGEXP)) p = p.replace(WINDOWS_PATH_REGEXP, `/$1`);else if (p.match(UNC_WINDOWS_PATH_REGEXP)) p = p.replace(UNC_WINDOWS_PATH_REGEXP, (match, p1, p2) => `/unc/${p1 ? `.dot/` : ``}${p2}`); + let windowsPathMatch, uncWindowsPathMatch; + if (windowsPathMatch = p.match(WINDOWS_PATH_REGEXP)) p = `/${windowsPathMatch[1]}`;else if (uncWindowsPathMatch = p.match(UNC_WINDOWS_PATH_REGEXP)) p = `/unc/${uncWindowsPathMatch[1] ? `.dot/` : ``}${uncWindowsPathMatch[2]}`; return p.replace(/\\/g, `/`); } @@ -12544,9 +12864,9 @@ function toFilename(filename) { } ;// CONCATENATED MODULE: ../yarnpkg-fslib/sources/algorithms/copyPromise.ts - // 1980-01-01, like Fedora -const defaultTime = new Date(315532800 * 1000); + +const defaultTime = new Date(SAFE_TIME * 1000); var LinkStrategy; (function (LinkStrategy) { @@ -12559,8 +12879,12 @@ async function copyPromise(destinationFs, destination, sourceFs, source, opts) { const normalizedSource = sourceFs.pathUtils.normalize(source); const prelayout = []; const postlayout = []; - await destinationFs.mkdirPromise(destinationFs.pathUtils.dirname(destination), { - recursive: true + const referenceTime = opts.stableTime ? { + mtime: defaultTime, + atime: defaultTime + } : await sourceFs.lstatPromise(normalizedSource); + await destinationFs.mkdirpPromise(destinationFs.pathUtils.dirname(destination), { + utimes: [referenceTime.atime, referenceTime.mtime] }); const updateTime = typeof destinationFs.lutimesPromise === `function` ? destinationFs.lutimesPromise.bind(destinationFs) : destinationFs.utimesPromise.bind(destinationFs); await copyImpl(prelayout, postlayout, updateTime, destinationFs, normalizedDestination, sourceFs, normalizedSource, opts); @@ -12643,9 +12967,17 @@ async function copyFolder(prelayout, postlayout, updateTime, destinationFs, dest let updated = false; if (destinationStat === null) { - prelayout.push(async () => destinationFs.mkdirPromise(destination, { - mode: sourceStat.mode - })); + prelayout.push(async () => { + try { + await destinationFs.mkdirPromise(destination, { + mode: sourceStat.mode + }); + } catch (err) { + if (err.code !== `EEXIST`) { + throw err; + } + } + }); updated = true; } @@ -12971,13 +13303,15 @@ class FakeFS { async changeFilePromise(p, content, opts = {}) { if (Buffer.isBuffer(content)) { - return this.changeFileBufferPromise(p, content); + return this.changeFileBufferPromise(p, content, opts); } else { return this.changeFileTextPromise(p, content, opts); } } - async changeFileBufferPromise(p, content) { + async changeFileBufferPromise(p, content, { + mode + } = {}) { let current = Buffer.alloc(0); try { @@ -12986,11 +13320,14 @@ class FakeFS { } if (Buffer.compare(current, content) === 0) return; - await this.writeFilePromise(p, content); + await this.writeFilePromise(p, content, { + mode + }); } async changeFileTextPromise(p, content, { - automaticNewlines + automaticNewlines, + mode } = {}) { let current = ``; @@ -13001,18 +13338,22 @@ class FakeFS { const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content; if (current === normalizedContent) return; - await this.writeFilePromise(p, normalizedContent); + await this.writeFilePromise(p, normalizedContent, { + mode + }); } changeFileSync(p, content, opts = {}) { if (Buffer.isBuffer(content)) { - return this.changeFileBufferSync(p, content); + return this.changeFileBufferSync(p, content, opts); } else { return this.changeFileTextSync(p, content, opts); } } - changeFileBufferSync(p, content) { + changeFileBufferSync(p, content, { + mode + } = {}) { let current = Buffer.alloc(0); try { @@ -13021,11 +13362,14 @@ class FakeFS { } if (Buffer.compare(current, content) === 0) return; - this.writeFileSync(p, content); + this.writeFileSync(p, content, { + mode + }); } changeFileTextSync(p, content, { - automaticNewlines = false + automaticNewlines = false, + mode } = {}) { let current = ``; @@ -13036,7 +13380,9 @@ class FakeFS { const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content; if (current === normalizedContent) return; - this.writeFileSync(p, normalizedContent); + this.writeFileSync(p, normalizedContent, { + mode + }); } async movePromise(fromP, toP) { @@ -13191,7 +13537,6 @@ class FakeFS { } } -FakeFS.DEFAULT_TIME = 315532800; class BasePortableFakeFS extends FakeFS { constructor() { super(ppath); @@ -14083,6 +14428,7 @@ class VirtualFS extends ProxiedFS { } mapToBase(p) { + if (p === ``) return p; if (this.pathUtils.isAbsolute(p)) return VirtualFS.resolveVirtual(p); const resolvedRoot = VirtualFS.resolveVirtual(this.baseFs.resolve(PortablePath.dot)); const resolvedP = VirtualFS.resolveVirtual(this.baseFs.resolve(p)); @@ -14168,14 +14514,10 @@ function opendir(fakeFs, path, entries, opts) { } ;// CONCATENATED MODULE: external "events" const external_events_namespaceObject = require("events");; -;// CONCATENATED MODULE: ../yarnpkg-fslib/sources/constants.ts -const constants_S_IFMT = 0o170000; -const constants_S_IFDIR = 0o040000; -const constants_S_IFREG = 0o100000; -const constants_S_IFLNK = 0o120000; ;// CONCATENATED MODULE: ../yarnpkg-fslib/sources/statUtils.ts +const DEFAULT_MODE = constants_S_IFREG | 0o644; class DirEntry { constructor() { this.name = ``; @@ -14227,7 +14569,7 @@ class StatEntry { this.birthtime = new Date(0); this.dev = 0; this.ino = 0; - this.mode = constants_S_IFREG | 0o644; + this.mode = DEFAULT_MODE; this.nlink = 1; this.rdev = 0; this.blocks = 1; @@ -14282,7 +14624,7 @@ class BigIntStatsEntry { this.birthtime = new Date(0); this.dev = BigInt(0); this.ino = BigInt(0); - this.mode = BigInt(constants_S_IFREG | 0o644); + this.mode = BigInt(DEFAULT_MODE); this.nlink = BigInt(1); this.rdev = BigInt(0); this.blocks = BigInt(1); @@ -14478,12 +14820,10 @@ class CustomStatWatcher extends external_events_namespaceObject.EventEmitter { bigint: this.bigint }); } catch (error) { - if (error.code === `ENOENT`) { - const statInstance = this.bigint ? new BigIntStatsEntry() : new StatEntry(); - return clearStats(statInstance); - } else { - throw error; - } + // From observation, all errors seem to be mostly ignored by Node. + // Checked with ENOENT, ENOTDIR, EPERM + const statInstance = this.bigint ? new BigIntStatsEntry() : new StatEntry(); + return clearStats(statInstance); } } /** @@ -14658,6 +14998,9 @@ function toUnixTimestamp(time) { throw new Error(`Invalid time`); } +function makeEmptyArchive() { + return Buffer.from([0x50, 0x4B, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]); +} class ZipFS extends BasePortableFakeFS { constructor(source, opts) { super(); @@ -14678,10 +15021,7 @@ class ZipFS extends BasePortableFakeFS { this.libzip = opts.libzip; const pathOptions = opts; this.level = typeof pathOptions.level !== `undefined` ? pathOptions.level : DEFAULT_COMPRESSION_LEVEL; - - if (source === null) { - source = Buffer.from([0x50, 0x4B, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]); - } + source !== null && source !== void 0 ? source : source = makeEmptyArchive(); if (typeof source === `string`) { const { @@ -14846,15 +15186,22 @@ class ZipFS extends BasePortableFakeFS { return; } - const previousMod = this.baseFs.existsSync(this.path) ? this.baseFs.statSync(this.path).mode & 0o777 : null; - const rc = this.libzip.close(this.zip); - if (rc === -1) throw this.makeLibzipError(this.libzip.getError(this.zip)); // this.libzip overrides the chmod when writing the archive, which is a weird - // behavior I don't totally understand (plus the umask seems bogus in some - // weird cases - maybe related to emscripten?) - // - // See also https://github.com/nih-at/libzip/issues/77 + const newMode = this.baseFs.existsSync(this.path) || this.stats.mode === DEFAULT_MODE ? undefined : this.stats.mode; // zip_close doesn't persist empty archives + + if (this.entries.size === 0) { + this.discardAndClose(); + this.baseFs.writeFileSync(this.path, makeEmptyArchive(), { + mode: newMode + }); + } else { + const rc = this.libzip.close(this.zip); + if (rc === -1) throw this.makeLibzipError(this.libzip.getError(this.zip)); + + if (typeof newMode !== `undefined`) { + this.baseFs.chmodSync(this.path, newMode); + } + } - if (previousMod === null) this.baseFs.chmodSync(this.path, this.stats.mode);else if (previousMod !== (this.baseFs.statSync(this.path).mode & 0o777)) this.baseFs.chmodSync(this.path, previousMod); this.ready = false; } @@ -14910,7 +15257,7 @@ class ZipFS extends BasePortableFakeFS { return this.readSync(fd, buffer, offset, length, position); } - readSync(fd, buffer, offset = 0, length = 0, position = -1) { + readSync(fd, buffer, offset = 0, length = buffer.byteLength, position = -1) { const entry = this.fds.get(fd); if (typeof entry === `undefined`) throw EBADF(`read`); let realPosition; @@ -15517,9 +15864,18 @@ class ZipFS extends BasePortableFakeFS { return this.writeFileSync(p, content, opts); } + fdToPath(fd, reason) { + var _a; + + const path = (_a = this.fds.get(fd)) === null || _a === void 0 ? void 0 : _a.p; + if (typeof path === `undefined`) throw EBADF(reason); + return path; + } + async writeFilePromise(p, content, opts) { const { encoding, + mode, index, resolvedP } = this.prepareWriteFile(p, opts); @@ -15528,37 +15884,51 @@ class ZipFS extends BasePortableFakeFS { }), Buffer.from(content)]); if (encoding !== null) content = content.toString(encoding); const newIndex = this.setFileSource(resolvedP, content); + if (newIndex !== index) this.registerEntry(resolvedP, newIndex); - if (newIndex !== index) { - this.registerEntry(resolvedP, newIndex); + if (mode !== null) { + await this.chmodPromise(resolvedP, mode); } } writeFileSync(p, content, opts) { const { encoding, + mode, index, resolvedP } = this.prepareWriteFile(p, opts); if (index !== undefined && typeof opts === `object` && opts.flag && opts.flag.includes(`a`)) content = Buffer.concat([this.getFileSource(index), Buffer.from(content)]); if (encoding !== null) content = content.toString(encoding); const newIndex = this.setFileSource(resolvedP, content); + if (newIndex !== index) this.registerEntry(resolvedP, newIndex); - if (newIndex !== index) { - this.registerEntry(resolvedP, newIndex); + if (mode !== null) { + this.chmodSync(resolvedP, mode); } } prepareWriteFile(p, opts) { - if (typeof p !== `string`) throw EBADF(`read`); + if (typeof p === `number`) p = this.fdToPath(p, `read`); if (this.readOnly) throw EROFS(`open '${p}'`); const resolvedP = this.resolveFilename(`open '${p}'`, p); if (this.listings.has(resolvedP)) throw EISDIR(`open '${p}'`); - let encoding = null; - if (typeof opts === `string`) encoding = opts;else if (typeof opts === `object` && opts.encoding) encoding = opts.encoding; + let encoding = null, + mode = null; + + if (typeof opts === `string`) { + encoding = opts; + } else if (typeof opts === `object`) { + ({ + encoding = null, + mode = null + } = opts); + } + const index = this.entries.get(resolvedP); return { encoding, + mode, resolvedP, index }; @@ -15708,6 +16078,7 @@ class ZipFS extends BasePortableFakeFS { readFileBuffer(p, opts = { asyncDecompress: false }) { + if (typeof p === `number`) p = this.fdToPath(p, `read`); const resolvedP = this.resolveFilename(`open '${p}'`, p); if (!this.entries.has(resolvedP) && !this.listings.has(resolvedP)) throw ENOENT(`open '${p}'`); // Ensures that the last component is a directory, if the user said so (even if it is we'll throw right after with EISDIR anyway) @@ -15817,12 +16188,12 @@ class ZipFS extends BasePortableFakeFS { } watchFile(p, a, b) { - const resolvedP = this.resolveFilename(`open '${p}'`, p); + const resolvedP = ppath.resolve(PortablePath.root, p); return watchFile(this, resolvedP, a, b); } unwatchFile(p, cb) { - const resolvedP = this.resolveFilename(`open '${p}'`, p); + const resolvedP = ppath.resolve(PortablePath.root, p); return unwatchFile(this, resolvedP, cb); } @@ -15836,24 +16207,23 @@ class ZipFS extends BasePortableFakeFS { const ZIP_FD = 0x80000000; -const DOT_ZIP = `.zip`; /** - * Extracts the archive part (ending in the first `.zip`) from a path. + * Extracts the archive part (ending in the first instance of `extension`) from a path. * * The indexOf-based implementation is ~3.7x faster than a RegExp-based implementation. */ -const getArchivePart = path => { - let idx = path.indexOf(DOT_ZIP); +const getArchivePart = (path, extension) => { + let idx = path.indexOf(extension); if (idx <= 0) return null; let nextCharIdx = idx; while (idx >= 0) { - nextCharIdx = idx + DOT_ZIP.length; + nextCharIdx = idx + extension.length; if (path[nextCharIdx] === ppath.sep) break; // Disallow files named ".zip" if (path[idx - 1] === ppath.sep) return null; - idx = path.indexOf(DOT_ZIP, nextCharIdx); + idx = path.indexOf(extension, nextCharIdx); } // The path either has to end in ".zip" or contain an archive subpath (".zip/...") @@ -15868,7 +16238,8 @@ class ZipOpenFS extends BasePortableFakeFS { maxOpenFiles = Infinity, readOnlyArchives = false, useCache = true, - maxAge = 5000 + maxAge = 5000, + fileExtensions = null }) { super(); this.fdMap = new Map(); @@ -15884,6 +16255,7 @@ class ZipOpenFS extends BasePortableFakeFS { this.maxOpenFiles = maxOpenFiles; this.readOnlyArchives = readOnlyArchives; this.maxAge = maxAge; + this.fileExtensions = fileExtensions; } static async openPromise(fn, opts) { @@ -16291,7 +16663,7 @@ class ZipOpenFS extends BasePortableFakeFS { return this.makeCallSync(oldP, () => { return this.makeCallSync(newP, () => { return this.baseFs.renameSync(oldP, newP); - }, async () => { + }, () => { throw Object.assign(new Error(`EEXDEV: cross-device link not permitted`), { code: `EEXDEV` }); @@ -16723,7 +17095,21 @@ class ZipOpenFS extends BasePortableFakeFS { let filePath = ``; while (true) { - const archivePart = getArchivePart(p.substr(filePath.length)); + const pathPartWithArchive = p.substr(filePath.length); + let archivePart; + + if (!this.fileExtensions) { + archivePart = getArchivePart(pathPartWithArchive, `.zip`); + } else { + for (const ext of this.fileExtensions) { + archivePart = getArchivePart(pathPartWithArchive, ext); + + if (archivePart) { + break; + } + } + } + if (!archivePart) return null; filePath = this.pathUtils.join(filePath, archivePart); @@ -16735,7 +17121,7 @@ class ZipOpenFS extends BasePortableFakeFS { this.notZip.add(filePath); continue; } - } catch (_a) { + } catch { return null; } @@ -17078,7 +17464,7 @@ class URLFS extends ProxiedFS { ;// CONCATENATED MODULE: ../yarnpkg-fslib/sources/patchFs.ts -const SYNC_IMPLEMENTATIONS = new Set([`accessSync`, `appendFileSync`, `createReadStream`, `chmodSync`, `chownSync`, `closeSync`, `copyFileSync`, `linkSync`, `lstatSync`, `fstatSync`, `lutimesSync`, `mkdirSync`, `openSync`, `opendirSync`, `readSync`, `readlinkSync`, `readFileSync`, `readdirSync`, `readlinkSync`, `realpathSync`, `renameSync`, `rmdirSync`, `statSync`, `symlinkSync`, `truncateSync`, `unlinkSync`, `unwatchFile`, `utimesSync`, `watch`, `watchFile`, `writeFileSync`, `writeSync`]); +const SYNC_IMPLEMENTATIONS = new Set([`accessSync`, `appendFileSync`, `createReadStream`, `createWriteStream`, `chmodSync`, `chownSync`, `closeSync`, `copyFileSync`, `linkSync`, `lstatSync`, `fstatSync`, `lutimesSync`, `mkdirSync`, `openSync`, `opendirSync`, `readSync`, `readlinkSync`, `readFileSync`, `readdirSync`, `readlinkSync`, `realpathSync`, `renameSync`, `rmdirSync`, `statSync`, `symlinkSync`, `truncateSync`, `unlinkSync`, `unwatchFile`, `utimesSync`, `watch`, `watchFile`, `writeFileSync`, `writeSync`]); const ASYNC_IMPLEMENTATIONS = new Set([`accessPromise`, `appendFilePromise`, `chmodPromise`, `chownPromise`, `closePromise`, `copyFilePromise`, `linkPromise`, `fstatPromise`, `lstatPromise`, `lutimesPromise`, `mkdirPromise`, `openPromise`, `opendirPromise`, `readdirPromise`, `realpathPromise`, `readFilePromise`, `readdirPromise`, `readlinkPromise`, `renamePromise`, `rmdirPromise`, `statPromise`, `symlinkPromise`, `truncatePromise`, `unlinkPromise`, `utimesPromise`, `writeFilePromise`, `writeSync`]); const FILEHANDLE_IMPLEMENTATIONS = new Set([`appendFilePromise`, `chmodPromise`, `chownPromise`, `closePromise`, `readPromise`, `readFilePromise`, `statPromise`, `truncatePromise`, `utimesPromise`, `writePromise`, `writeFilePromise`]); function patchFs(patchedFs, fakeFs) { @@ -17316,22 +17702,76 @@ function getIssuerModule(parent) { function getPathForDisplay(p) { return npath.normalize(npath.fromPortablePath(p)); } +;// CONCATENATED MODULE: ./sources/loader/nodeUtils.ts + + + // @ts-expect-error + +const builtinModules = new Set(external_module_.Module.builtinModules || Object.keys(process.binding(`natives`))); +const isBuiltinModule = request => request.startsWith(`node:`) || builtinModules.has(request); // https://github.com/nodejs/node/blob/e817ba70f56c4bfd5d4a68dce8b165142312e7b6/lib/internal/modules/run_main.js#L11-L24 + +function resolveMainPath(main) { + let mainPath = external_module_.Module._findPath(npath.resolve(main), null, true); + + if (!mainPath) return false; // const preserveSymlinksMain = getOptionValue(`--preserve-symlinks-main`); + // if (!preserveSymlinksMain) + + mainPath = external_fs_default().realpathSync(mainPath); + return mainPath; +} // https://github.com/nodejs/node/blob/e817ba70f56c4bfd5d4a68dce8b165142312e7b6/lib/internal/modules/run_main.js#L26-L41 + +function shouldUseESMLoader(mainPath) { + // const userLoader = getOptionValue(`--experimental-loader`); + // if (userLoader) + // return true; + // const esModuleSpecifierResolution = + // getOptionValue(`--experimental-specifier-resolution`); + // if (esModuleSpecifierResolution === `node`) + // return true; + // Determine the module format of the main + if (mainPath && mainPath.endsWith(`.mjs`)) return true; + if (!mainPath || mainPath.endsWith(`.cjs`)) return false; + const pkg = readPackageScope(mainPath); + return pkg && pkg.data.type === `module`; +} // https://github.com/nodejs/node/blob/e817ba70f56c4bfd5d4a68dce8b165142312e7b6/lib/internal/modules/cjs/loader.js#L315-L330 + +function readPackageScope(checkPath) { + const rootSeparatorIndex = checkPath.indexOf(npath.sep); + let separatorIndex; + + do { + separatorIndex = checkPath.lastIndexOf(npath.sep); + checkPath = checkPath.slice(0, separatorIndex); + if (checkPath.endsWith(`${npath.sep}node_modules`)) return false; + const pjson = readPackage(checkPath + npath.sep); + + if (pjson) { + return { + data: pjson, + path: checkPath + }; + } + } while (separatorIndex > rootSeparatorIndex); + + return false; +} // https://github.com/nodejs/node/blob/e817ba70f56c4bfd5d4a68dce8b165142312e7b6/lib/internal/modules/cjs/loader.js#L284-L313 + +function readPackage(requestPath) { + const jsonPath = npath.resolve(requestPath, `package.json`); + if (!external_fs_default().existsSync(jsonPath)) return null; + return JSON.parse(external_fs_default().readFileSync(jsonPath, `utf8`)); +} ;// CONCATENATED MODULE: ./sources/loader/applyPatch.ts -function applyPatch(pnpapi, opts) { - // @ts-expect-error - const builtinModules = new Set(external_module_.Module.builtinModules || Object.keys(process.binding(`natives`))); - const isBuiltinModule = request => builtinModules.has(request) || request.startsWith(`node:`); +function applyPatch(pnpapi, opts) { /** * The cache that will be used for all accesses occurring outside of a PnP context. */ - - const defaultCache = {}; /** * Used to disable the resolution hooks (for when we want to fallback to the previous resolution - we then need @@ -17599,19 +18039,17 @@ function applyPatch(pnpapi, opts) { const originalFindPath = external_module_.Module._findPath; external_module_.Module._findPath = function (request, paths, isMain) { - if (request === `pnpapi`) return false; // Node sometimes call this function with an absolute path and a `null` set - // of paths. This would cause the resolution to fail. To avoid that, we - // fallback on the regular resolution. We only do this when `isMain` is - // true because the Node default resolution doesn't handle well in-zip - // paths, even absolute, so we try to use it as little as possible. + if (request === `pnpapi`) return false; + if (!enableNativeHooks) return originalFindPath.call(external_module_.Module, request, paths, isMain); // https://github.com/nodejs/node/blob/e817ba70f56c4bfd5d4a68dce8b165142312e7b6/lib/internal/modules/cjs/loader.js#L490-L494 - if (!enableNativeHooks || isMain && npath.isAbsolute(request)) return originalFindPath.call(external_module_.Module, request, paths, isMain); + const isAbsolute = npath.isAbsolute(request); + if (isAbsolute) paths = [``];else if (!paths || paths.length === 0) return false; - for (const path of paths || []) { + for (const path of paths) { let resolution; try { - const pnpApiPath = opts.manager.findApiPathFor(path); + const pnpApiPath = opts.manager.findApiPathFor(isAbsolute ? request : path); if (pnpApiPath !== null) { const api = opts.manager.getApiEntry(pnpApiPath, true).instance; @@ -17629,6 +18067,23 @@ function applyPatch(pnpapi, opts) { } return false; + }; // Specifying the `--experimental-loader` flag makes Node enter ESM mode so we change it to not do that + // https://github.com/nodejs/node/blob/e817ba70f56c4bfd5d4a68dce8b165142312e7b6/lib/internal/modules/run_main.js#L72-L81 + // Tested by https://github.com/yarnpkg/berry/blob/d80ee2dc5298d31eb864288d77671a2264713371/packages/acceptance-tests/pkg-tests-specs/sources/pnp-esm.test.ts#L226-L244 + // Upstream issue https://github.com/nodejs/node/issues/33226 + + + const originalRunMain = moduleExports.runMain; + + moduleExports.runMain = function (main = process.argv[1]) { + const resolvedMain = resolveMainPath(main); + const useESMLoader = resolvedMain ? shouldUseESMLoader(resolvedMain) : false; + + if (useESMLoader) { + originalRunMain(main); + } else { + external_module_.Module._load(main, null, true); + } }; patchFs((external_fs_default()), new PosixFS(opts.fakeFs)); @@ -17704,7 +18159,7 @@ function hydrateRuntimeState(data, { packageRegistry }; } -;// CONCATENATED MODULE: ../../.yarn/cache/resolve.exports-npm-1.0.2-bbb8d62ef6-1de1e50dc6.zip/node_modules/resolve.exports/dist/index.mjs +;// CONCATENATED MODULE: ../../.yarn/cache/resolve.exports-npm-1.1.0-81756e03ba-52865af8ed.zip/node_modules/resolve.exports/dist/index.mjs /** * @param {object} exports * @param {Set} keys @@ -17760,12 +18215,13 @@ function toName(name, entry) { * @param {boolean} [options.browser] * @param {boolean} [options.require] * @param {string[]} [options.conditions] + * @param {boolean} [options.unsafe] */ function resolve(pkg, entry='.', options={}) { let { name, exports } = pkg; if (exports) { - let { browser, require, conditions=[] } = options; + let { browser, require, unsafe, conditions=[] } = options; let target = toName(name, entry); if (target[0] !== '.') target = './' + target; @@ -17775,8 +18231,8 @@ function resolve(pkg, entry='.', options={}) { } let allows = new Set(['default', ...conditions]); - allows.add(require ? 'require' : 'import'); - allows.add(browser ? 'browser' : 'node'); + unsafe || allows.add(require ? 'require' : 'import'); + unsafe || allows.add(browser ? 'browser' : 'node'); let key, tmp, isSingle=false; @@ -18033,14 +18489,15 @@ function makeApi(runtimeState, opts) { return false; } + + const defaultExportsConditions = new Set([`default`, `node`, `require`]); /** * Implements the node resolution for the "exports" field * * @returns The remapped path or `null` if the package doesn't have a package.json or an "exports" field */ - - function applyNodeExportsResolution(unqualifiedPath) { + function applyNodeExportsResolution(unqualifiedPath, conditions = defaultExportsConditions) { const locator = findPackageLocator(ppath.join(unqualifiedPath, `internal.js`), { resolveIgnored: true, includeDiscardFromLookup: true @@ -18064,11 +18521,11 @@ function makeApi(runtimeState, opts) { if (!isRelativeRegexp.test(subpath)) subpath = `./${subpath}`; const resolvedExport = resolve(pkgJson, ppath.normalize(subpath), { - browser: false, - require: true, // TODO: implement support for the --conditions flag // Waiting on https://github.com/nodejs/node/issues/36935 - conditions: [] + // @ts-expect-error - Type should be Iterable + conditions, + unsafe: true }); if (typeof resolvedExport === `string`) return ppath.join(packageLocation, resolvedExport); return null; @@ -18573,10 +19030,10 @@ function makeApi(runtimeState, opts) { return ppath.normalize(unqualifiedPath); } - function resolveUnqualifiedExport(request, unqualifiedPath) { + function resolveUnqualifiedExport(request, unqualifiedPath, conditions = defaultExportsConditions) { // "exports" only apply when requiring a package, not when requiring via an absolute / relative path if (isStrictRegExp.test(request)) return unqualifiedPath; - const unqualifiedExportPath = applyNodeExportsResolution(unqualifiedPath); + const unqualifiedExportPath = applyNodeExportsResolution(unqualifiedPath, conditions); if (unqualifiedExportPath) { return ppath.normalize(unqualifiedExportPath); @@ -18633,16 +19090,21 @@ function makeApi(runtimeState, opts) { function resolveRequest(request, issuer, { considerBuiltins, - extensions + extensions, + conditions } = {}) { const unqualifiedPath = resolveToUnqualified(request, issuer, { considerBuiltins - }); + }); // If the request is the pnpapi, we can just return the unqualifiedPath + // without having to apply the exports resolution or the extension resolution + // (opts.pnpapiResolution is always a full path - makeManager enforces this by stat-ing it) + + if (request === `pnpapi`) return unqualifiedPath; if (unqualifiedPath === null) return null; const isIssuerIgnored = () => issuer !== null ? isPathIgnored(issuer) : false; - const remappedPath = (!considerBuiltins || !isBuiltinModule(request)) && !isIssuerIgnored() ? resolveUnqualifiedExport(request, unqualifiedPath) : unqualifiedPath; + const remappedPath = (!considerBuiltins || !isBuiltinModule(request)) && !isIssuerIgnored() ? resolveUnqualifiedExport(request, unqualifiedPath, conditions) : unqualifiedPath; try { return resolveUnqualified(remappedPath, { @@ -18904,9 +19366,27 @@ const defaultFsLayer = new VirtualFS({ readOnlyArchives: true }) }); + +class DynamicFS extends ProxiedFS { + constructor() { + super(ppath); + this.baseFs = defaultFsLayer; + } + + mapToBase(p) { + return p; + } + + mapFromBase(p) { + return p; + } + +} + +const dynamicFsLayer = new DynamicFS(); let manager; const defaultApi = Object.assign(makeApi(defaultRuntimeState, { - fakeFs: defaultFsLayer, + fakeFs: dynamicFsLayer, pnpapiResolution: defaultPnpapiResolution }), { /** @@ -18916,7 +19396,7 @@ const defaultApi = Object.assign(makeApi(defaultRuntimeState, { */ makeApi: ({ basePath = undefined, - fakeFs = defaultFsLayer, + fakeFs = dynamicFsLayer, pnpapiResolution = defaultPnpapiResolution, ...rest }) => { @@ -18936,11 +19416,15 @@ const defaultApi = Object.assign(makeApi(defaultRuntimeState, { applyPatch(api || defaultApi, { fakeFs: defaultFsLayer, manager - }); + }); // Now that the `fs` module is patched we can swap the `baseFs` to + // a NodeFS with a live `fs` binding to pick up changes to the `fs` + // module allowing users to patch it + + dynamicFsLayer.baseFs = new NodeFS((external_fs_default())); } }); manager = makeManager(defaultApi, { - fakeFs: defaultFsLayer + fakeFs: dynamicFsLayer }); // eslint-disable-next-line arca/no-default-export /* harmony default export */ const _entryPoint = (defaultApi); diff --git a/packages/ci-api/yarn.lock b/packages/ci-api/yarn.lock index 9b0c5120a9..4e4d5243c8 100644 --- a/packages/ci-api/yarn.lock +++ b/packages/ci-api/yarn.lock @@ -4056,14 +4056,14 @@ fsevents@~2.3.2: linkType: hard "jszip@npm:^3.7.1": - version: 3.7.1 - resolution: "jszip@npm:3.7.1" + version: 3.10.1 + resolution: "jszip@npm:3.10.1" dependencies: lie: ~3.3.0 pako: ~1.0.2 readable-stream: ~2.3.6 - set-immediate-shim: ~1.0.1 - checksum: 67d737a82b294cc102e7451e32d5acbbab29860399be460cae598084327e6f2ea0c9bca2d3dad701da6a75ddf77f34c6a1dd7db0c3d5c0fec5998b7e56d6d59d + setimmediate: ^1.0.5 + checksum: abc77bfbe33e691d4d1ac9c74c8851b5761fba6a6986630864f98d876f3fcc2d36817dfc183779f32c00157b5d53a016796677298272a714ae096dfe6b1c8b60 languageName: node linkType: hard @@ -5975,10 +5975,10 @@ resolve@^1.17.0: languageName: node linkType: hard -"set-immediate-shim@npm:~1.0.1": - version: 1.0.1 - resolution: "set-immediate-shim@npm:1.0.1" - checksum: 5085c84039d1e5eee73d2bf48ce765fcec76159021d0cc7b40e23bcdf62cb6d450ffb781e3c62c1118425242c48eae96df712cba0a20a437e86b0d4a15d51a11 +"setimmediate@npm:^1.0.5": + version: 1.0.5 + resolution: "setimmediate@npm:1.0.5" + checksum: c9a6f2c5b51a2dabdc0247db9c46460152ffc62ee139f3157440bd48e7c59425093f42719ac1d7931f054f153e2d26cf37dfeb8da17a794a58198a2705e527fd languageName: node linkType: hard