From 104475f2baa62e53dcc4cd6f3fb3a425cba1c88d Mon Sep 17 00:00:00 2001 From: bluelovers Date: Fri, 17 Dec 2021 05:47:54 +0800 Subject: [PATCH] . --- package.json | 6 +- .../@lazy-node/semver-ampersand/lib/Range.js | 6 +- .../semver-ampersand/lib/maxSatisfying.js | 2 +- .../semver-ampersand/lib/minSatisfying.js | 2 +- .../semver-ampersand/lib/range/parseRange.js | 2 +- .../semver-ampersand/lib/satisfies.js | 2 +- .../semver-ampersand/lib/simplifyRange.js | 2 +- .../semver-ampersand/lib/util/split.js | 2 +- .../semver-ampersand/lib/validRange.js | 2 +- packages/@lazy-node/semver-parse/index.js | 2 +- .../semver-parse/lib/SimpleSemVer.js | 2 +- packages/@lazy-node/semver-part/index.js | 6 +- .../@lazy-node/semver-part/lib/compare.js | 4 +- .../@yarn-tool/changelog/bin/changelog.js | 8 +- packages/@yarn-tool/changelog/index.js | 6 +- packages/@yarn-tool/changelog/lib/lerna.js | 8 +- .../changelog/lib/lerna/from-list.js | 2 +- .../check-pkg-bin/bin/check-pkg-bin.js | 8 +- packages/@yarn-tool/check-pkg-bin/index.js | 6 +- .../detect-yarnlock-version/index.js | 6 +- packages/@yarn-tool/find-root/index.js | 2 +- .../fix-ws-links/bin/fix-ws-links.js | 4 +- packages/@yarn-tool/fix-ws-links/index.js | 4 +- .../lib/rebuildYarnWorkspaceLinks.js | 4 +- packages/@yarn-tool/get-pkg-bin/index.js | 4 +- packages/@yarn-tool/get-pkg-bin/util.js | 2 +- packages/@yarn-tool/init-path/index.js | 2 +- .../@yarn-tool/is-builtin-module/index.js | 2 +- packages/@yarn-tool/is-npx/index.js | 2 +- packages/@yarn-tool/ncu/index.js | 14 +- packages/@yarn-tool/ncu/lib/remote.js | 6 +- .../ncu/lib/remote/queryRemoteVersions.js | 4 +- packages/@yarn-tool/ncu/lib/types.js | 2 +- .../ncu/lib/update/checkResolutionsUpdate.js | 4 +- .../ncu/lib/update/npmCheckUpdates.js | 6 +- .../bin/node-modules-link.js | 4 +- packages/@yarn-tool/node-modules/index.js | 2 +- .../@yarn-tool/node-modules/lib/find-paths.js | 4 +- .../@yarn-tool/npa-to-deps-query/index.js | 4 +- .../@yarn-tool/npm-package-arg-util/index.js | 2 +- packages/@yarn-tool/pack-package/lib/pack.js | 2 +- .../lib/cli/assertExecInstall.js | 2 +- .../lib/installDepsFromYarnLock.js | 2 +- .../pkg-deps-util/lib/util/fetchRemoteInfo.js | 2 +- .../lib/util/handleSemverForDependencies.js | 4 +- .../lib/util/sortDependencies.js | 2 +- packages/@yarn-tool/pkg-git-info/index.js | 2 +- packages/@yarn-tool/pkg-git-info/package.json | 2 +- .../@yarn-tool/pkg-version-query/index.js | 4 +- .../pkg-version-query/lib/cacheAgent.js | 2 +- .../@yarn-tool/pkg-version-query/lib/core.js | 4 +- .../pkg-version-query/lib/queryVersion.js | 2 +- .../lib/queryVersionByNpmPackageArg.js | 4 +- packages/@yarn-tool/require-resolve/index.js | 4 +- .../@yarn-tool/run-script-lifecycle/index.js | 4 +- .../run-script-lifecycle/lib/util.js | 4 +- packages/@yarn-tool/script-lifecycle/index.js | 2 +- .../script-lifecycle/lib/lifecycle.js | 6 +- .../search-workspace-prefix-by-name/index.js | 2 +- packages/@yarn-tool/semver-diff/index.js | 6 +- .../static-file/lib/copyStaticFiles.js | 2 +- .../static-file/lib/copyStaticFilesEntry.js | 2 +- packages/@yarn-tool/table/index.js | 10 +- packages/@yarn-tool/table/lib/core.js | 2 +- packages/@yarn-tool/tag/bin/yt-tag.js | 6 +- packages/@yarn-tool/tag/index.js | 6 +- packages/@yarn-tool/tag/lib/git-tag.js | 4 +- packages/@yarn-tool/tag/package.json | 4 +- packages/@yarn-tool/update-notifier/index.js | 2 +- .../validate-npm-package-name/index.js | 2 +- .../@yarn-tool/version-recommended/index.js | 2 +- .../@yarn-tool/version-recommended/lib/ws.js | 2 +- .../@yarn-tool/workspaces-project/index.js | 18 +- .../@yarn-tool/workspaces-project/lib/util.js | 2 +- .../@yarn-tool/ws-changed/lib/git-changed.js | 4 +- .../@yarn-tool/ws-changed/lib/git-util.js | 2 +- .../ws-changed/lib/lerna-changed.js | 2 +- packages/@yarn-tool/ws-changed/package.json | 4 +- .../@yarn-tool/ws-scope/lib/format/yaml.js | 2 +- packages/@yarn-tool/yarnlock-dedupe/index.js | 6 +- .../yarnlock-dedupe/lib/v2/fixDuplicates.js | 2 +- packages/@yarn-tool/yarnlock-dedupe/object.js | 2 +- .../lib/formatter/buildDiffTable001.js | 4 +- .../lib/formatter/buildDiffTable002.js | 2 +- packages/@yarn-tool/yarnlock-entries/index.js | 2 +- .../yarnlock-entries/lib/YarnLockIterator.js | 4 +- .../yarnlock-entries/lib/fromFile.js | 2 +- .../lib/handleContentObject.js | 2 +- .../@yarn-tool/yarnlock-stringify/index.js | 4 +- packages/@yarn-tool/yarnlock-util/index.js | 2 +- packages/@yarn-tool/yarnlock/index.js | 14 +- packages/@yarn-tool/yarnlock/lib/core.js | 2 +- packages/@yarn-tool/yarnlock/lib/dedupe.js | 2 +- packages/@yarn-tool/yarnlock/lib/types.js | 2 +- .../lib/wrapDedupe/handleWrapDedupeOptions.js | 2 +- packages/cache-path/index.js | 2 +- .../lib/finder/findPkgModuleCachePath.js | 2 +- packages/cache-path/lib/getCachePath.js | 4 +- packages/cache-path/lib/getCacheRoot.js | 2 +- packages/cache-path/lib/normalizeName.js | 2 +- .../bin/yarn-ws-init.js | 8 +- packages/create-yarn-workspaces/index.js | 14 +- packages/create-yarn-workspaces/lib/util.js | 2 +- .../lib/wsCopyStaticFiles.js | 1 + packages/find-pkg-ws/index.js | 2 +- packages/find-yarn-workspace-root2/core.js | 4 +- packages/node-package-json-loader/index.js | 20 +- packages/npm-init2/index.js | 8 +- packages/npm-init2/lib/writeReadme.js | 2 +- packages/sort-package-json-scripts/index.js | 2 +- .../lib/sortScripts.js | 4 +- packages/sort-package-json3/index.js | 2 +- .../sort-package-json3/lib/sort-exports.js | 4 +- packages/sync-lockfile/bin/sync-lockfile.js | 4 +- packages/sync-lockfile/index.js | 6 +- packages/workspaces-config/index.js | 2 +- packages/ws-pkg-list/index.js | 16 +- packages/ws-pkg-list/lib/listpkg.js | 4 +- packages/ws-pkg-list/lib/tsconfig.js | 2 +- packages/ws-root-run/index.js | 4 +- packages/yarn-cmd-module/index.js | 60 +-- packages/yarn-list-link/bin/yarn-list-link.js | 2 +- packages/yarn-list-link/core.js | 2 +- packages/yarn-list-link/index.js | 2 +- packages/yarn-list-link/index.js.map | 2 +- yarn.lock | 383 +++++++++--------- 126 files changed, 469 insertions(+), 461 deletions(-) diff --git a/package.json b/package.json index 5f9d3c29e..fe98a2106 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@types/lodash": "^4.14.178", "@types/micromatch": "^4.0.2", "@types/mocha": "^9.0.0", - "@types/node": "^16.11.12", + "@types/node": "^17.0.0", "@types/npm-package-arg": "^6.1.1", "@types/npm-packlist": "^1.1.2", "@types/parse-git-config": "^3.0.1", @@ -87,10 +87,10 @@ "@types/yargs": "^17.0.7", "@types/yarnpkg__lockfile": "^1.1.5", "chai": "^4.3.4", - "jest": "^27.4.3", + "jest": "^27.4.5", "jest-console": "^0.1.0", "mocha": "^9.1.3", - "ts-jest": "^27.1.1" + "ts-jest": "^27.1.2" }, "peerDependencies": { "lerna": "^4" diff --git a/packages/@lazy-node/semver-ampersand/lib/Range.js b/packages/@lazy-node/semver-ampersand/lib/Range.js index 7b34ad179..3f4beb503 100644 --- a/packages/@lazy-node/semver-ampersand/lib/Range.js +++ b/packages/@lazy-node/semver-ampersand/lib/Range.js @@ -2,11 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.Range = exports.SemverRange = void 0; const tslib_1 = require("tslib"); -const range_1 = (0, tslib_1.__importDefault)(require("semver/classes/range")); +const range_1 = tslib_1.__importDefault(require("semver/classes/range")); const handleAmpersandAndSpaces_1 = require("./handleAmpersandAndSpaces"); const stringifyComparators_1 = require("./util/stringifyComparators"); -const semver_1 = (0, tslib_1.__importDefault)(require("semver/classes/semver")); -const class_without_call_parent_constructor_1 = (0, tslib_1.__importDefault)(require("class-without-call-parent-constructor")); +const semver_1 = tslib_1.__importDefault(require("semver/classes/semver")); +const class_without_call_parent_constructor_1 = tslib_1.__importDefault(require("class-without-call-parent-constructor")); const semver_2 = require("semver"); const options_1 = require("./range/options"); const toRangeString_1 = require("./range/toRangeString"); diff --git a/packages/@lazy-node/semver-ampersand/lib/maxSatisfying.js b/packages/@lazy-node/semver-ampersand/lib/maxSatisfying.js index 8ec19b71b..d464db40a 100644 --- a/packages/@lazy-node/semver-ampersand/lib/maxSatisfying.js +++ b/packages/@lazy-node/semver-ampersand/lib/maxSatisfying.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.maxSatisfying = void 0; const tslib_1 = require("tslib"); -const max_satisfying_1 = (0, tslib_1.__importDefault)(require("semver/ranges/max-satisfying")); +const max_satisfying_1 = tslib_1.__importDefault(require("semver/ranges/max-satisfying")); const handleAmpersandAndSpaces_1 = require("./handleAmpersandAndSpaces"); function maxSatisfying(versions, range, optionsOrLoose) { return (0, max_satisfying_1.default)(versions, (0, handleAmpersandAndSpaces_1.handleAmpersandAndSpaces)(range), optionsOrLoose); diff --git a/packages/@lazy-node/semver-ampersand/lib/minSatisfying.js b/packages/@lazy-node/semver-ampersand/lib/minSatisfying.js index 6dc359d9b..f3c0db208 100644 --- a/packages/@lazy-node/semver-ampersand/lib/minSatisfying.js +++ b/packages/@lazy-node/semver-ampersand/lib/minSatisfying.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.minSatisfying = void 0; const tslib_1 = require("tslib"); -const min_satisfying_1 = (0, tslib_1.__importDefault)(require("semver/ranges/min-satisfying")); +const min_satisfying_1 = tslib_1.__importDefault(require("semver/ranges/min-satisfying")); const handleAmpersandAndSpaces_1 = require("./handleAmpersandAndSpaces"); function minSatisfying(versions, range, optionsOrLoose) { return (0, min_satisfying_1.default)(versions, (0, handleAmpersandAndSpaces_1.handleAmpersandAndSpaces)(range), optionsOrLoose); diff --git a/packages/@lazy-node/semver-ampersand/lib/range/parseRange.js b/packages/@lazy-node/semver-ampersand/lib/range/parseRange.js index e2989f5db..5add291ed 100644 --- a/packages/@lazy-node/semver-ampersand/lib/range/parseRange.js +++ b/packages/@lazy-node/semver-ampersand/lib/range/parseRange.js @@ -6,7 +6,7 @@ const cache_1 = require("./cache"); const semver_1 = require("semver"); const detect_1 = require("../comparator/detect"); const re_1 = require("semver/internal/re"); -const debug_1 = (0, tslib_1.__importDefault)(require("semver/internal/debug")); +const debug_1 = tslib_1.__importDefault(require("semver/internal/debug")); const util_1 = require("./util"); const split_1 = require("../util/split"); const array_hyper_unique_1 = require("array-hyper-unique"); diff --git a/packages/@lazy-node/semver-ampersand/lib/satisfies.js b/packages/@lazy-node/semver-ampersand/lib/satisfies.js index 6fb1d7cc1..84ea5ec6f 100644 --- a/packages/@lazy-node/semver-ampersand/lib/satisfies.js +++ b/packages/@lazy-node/semver-ampersand/lib/satisfies.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.satisfies = void 0; const tslib_1 = require("tslib"); -const satisfies_1 = (0, tslib_1.__importDefault)(require("semver/functions/satisfies")); +const satisfies_1 = tslib_1.__importDefault(require("semver/functions/satisfies")); const handleAmpersandAndSpaces_1 = require("./handleAmpersandAndSpaces"); function satisfies(version, range, optionsOrLoose) { return (0, satisfies_1.default)(version, (0, handleAmpersandAndSpaces_1.handleAmpersandAndSpaces)(range), optionsOrLoose); diff --git a/packages/@lazy-node/semver-ampersand/lib/simplifyRange.js b/packages/@lazy-node/semver-ampersand/lib/simplifyRange.js index 06e4bdde6..7055b8da4 100644 --- a/packages/@lazy-node/semver-ampersand/lib/simplifyRange.js +++ b/packages/@lazy-node/semver-ampersand/lib/simplifyRange.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.simplifyRange = void 0; const tslib_1 = require("tslib"); -const simplify_1 = (0, tslib_1.__importDefault)(require("semver/ranges/simplify")); +const simplify_1 = tslib_1.__importDefault(require("semver/ranges/simplify")); const handleAmpersandAndSpaces_1 = require("./handleAmpersandAndSpaces"); function simplifyRange(ranges, range, options) { return (0, simplify_1.default)(ranges, (0, handleAmpersandAndSpaces_1.handleAmpersandAndSpaces)(range), options); diff --git a/packages/@lazy-node/semver-ampersand/lib/util/split.js b/packages/@lazy-node/semver-ampersand/lib/util/split.js index 5778b8d27..ddd620223 100644 --- a/packages/@lazy-node/semver-ampersand/lib/util/split.js +++ b/packages/@lazy-node/semver-ampersand/lib/util/split.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.splitSpace = exports.splitDoubleVerticalBar = void 0; const tslib_1 = require("tslib"); -const split_smartly2_1 = (0, tslib_1.__importDefault)(require("split-smartly2")); +const split_smartly2_1 = tslib_1.__importDefault(require("split-smartly2")); const const_1 = require("../const"); exports.splitDoubleVerticalBar = (0, split_smartly2_1.default)(const_1.reDoubleVerticalBar, { includeSeparatorMode: "NONE" /* INCLUDE_SEPARATOR_NONE */, diff --git a/packages/@lazy-node/semver-ampersand/lib/validRange.js b/packages/@lazy-node/semver-ampersand/lib/validRange.js index 80fd5654e..3c8de9611 100644 --- a/packages/@lazy-node/semver-ampersand/lib/validRange.js +++ b/packages/@lazy-node/semver-ampersand/lib/validRange.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.validRange = void 0; const tslib_1 = require("tslib"); const parseOptionsOrLoose_1 = require("./internal/parseOptionsOrLoose"); -const Range_1 = (0, tslib_1.__importDefault)(require("./Range")); +const Range_1 = tslib_1.__importDefault(require("./Range")); const assert_1 = require("./util/assert"); /** * Return the valid range or null if it's not valid diff --git a/packages/@lazy-node/semver-parse/index.js b/packages/@lazy-node/semver-parse/index.js index 3b0db62c7..ad9b160f3 100644 --- a/packages/@lazy-node/semver-parse/index.js +++ b/packages/@lazy-node/semver-parse/index.js @@ -16,6 +16,6 @@ const parseSimpleSemVerRange_1 = require("./lib/parseSimpleSemVerRange"); Object.defineProperty(exports, "parseRange", { enumerable: true, get: function () { return parseSimpleSemVerRange_1.parseSimpleSemVerRange; } }); const parseSimpleSemVer_1 = require("./lib/parseSimpleSemVer"); Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parseSimpleSemVer_1.parseSimpleSemVer; } }); -(0, tslib_1.__exportStar)(require("./lib/checker"), exports); +tslib_1.__exportStar(require("./lib/checker"), exports); exports.default = stringifySimpleSemVerRange_1.stringifySimpleSemVerRange; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@lazy-node/semver-parse/lib/SimpleSemVer.js b/packages/@lazy-node/semver-parse/lib/SimpleSemVer.js index 76e563cc7..75a6d07e2 100644 --- a/packages/@lazy-node/semver-parse/lib/SimpleSemVer.js +++ b/packages/@lazy-node/semver-parse/lib/SimpleSemVer.js @@ -5,7 +5,7 @@ const tslib_1 = require("tslib"); const stringifySimpleSemVer_1 = require("./stringifySimpleSemVer"); const pruned_1 = require("./util/pruned"); const checker_1 = require("./checker"); -const parseSimpleSemVer_1 = (0, tslib_1.__importDefault)(require("./parseSimpleSemVer")); +const parseSimpleSemVer_1 = tslib_1.__importDefault(require("./parseSimpleSemVer")); class SimpleSemVer { constructor(obj) { (0, checker_1.assertSimpleSemVerObjectOrOperatorLike)(obj); diff --git a/packages/@lazy-node/semver-part/index.js b/packages/@lazy-node/semver-part/index.js index f51c4f4fa..27f61b29e 100644 --- a/packages/@lazy-node/semver-part/index.js +++ b/packages/@lazy-node/semver-part/index.js @@ -4,8 +4,8 @@ */ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./lib/_core"), exports); -(0, tslib_1.__exportStar)(require("./lib/compare"), exports); -(0, tslib_1.__exportStar)(require("./lib/parse"), exports); +tslib_1.__exportStar(require("./lib/_core"), exports); +tslib_1.__exportStar(require("./lib/compare"), exports); +tslib_1.__exportStar(require("./lib/parse"), exports); exports.default = exports; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@lazy-node/semver-part/lib/compare.js b/packages/@lazy-node/semver-part/lib/compare.js index dc36ffa83..1f3330f3e 100644 --- a/packages/@lazy-node/semver-part/lib/compare.js +++ b/packages/@lazy-node/semver-part/lib/compare.js @@ -6,8 +6,8 @@ const tslib_1 = require("tslib"); * Created by user on 2020/6/11. */ const _core_1 = require("./_core"); -const compare_1 = (0, tslib_1.__importDefault)(require("semver/functions/compare")); -const cmp_1 = (0, tslib_1.__importDefault)(require("semver/functions/cmp")); +const compare_1 = tslib_1.__importDefault(require("semver/functions/compare")); +const cmp_1 = tslib_1.__importDefault(require("semver/functions/cmp")); function compare(part1, part2, optionsOrLoose) { return (0, compare_1.default)(...(0, _core_1._part)(part1, part2), optionsOrLoose); } diff --git a/packages/@yarn-tool/changelog/bin/changelog.js b/packages/@yarn-tool/changelog/bin/changelog.js index 1caa25b32..e90a8e94b 100644 --- a/packages/@yarn-tool/changelog/bin/changelog.js +++ b/packages/@yarn-tool/changelog/bin/changelog.js @@ -2,11 +2,11 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); -const yargs_setting_1 = (0, tslib_1.__importDefault)(require("../lib/yargs-setting")); -const from_list_1 = (0, tslib_1.__importDefault)(require("../lib/lerna/from-list")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); +const yargs_setting_1 = tslib_1.__importDefault(require("../lib/yargs-setting")); +const from_list_1 = tslib_1.__importDefault(require("../lib/lerna/from-list")); const table_1 = require("@yarn-tool/table"); -const path_is_same_1 = (0, tslib_1.__importDefault)(require("path-is-same")); +const path_is_same_1 = tslib_1.__importDefault(require("path-is-same")); const semver_diff_1 = require("@yarn-tool/semver-diff"); const argv = (0, yargs_setting_1.default)(yargs_1.default) .option('cwd', { diff --git a/packages/@yarn-tool/changelog/index.js b/packages/@yarn-tool/changelog/index.js index aa0a8a671..4042f05a4 100644 --- a/packages/@yarn-tool/changelog/index.js +++ b/packages/@yarn-tool/changelog/index.js @@ -4,9 +4,9 @@ */ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/lerna"), exports); -(0, tslib_1.__exportStar)(require("./lib/yargs-setting"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/lerna"), exports); +tslib_1.__exportStar(require("./lib/yargs-setting"), exports); const lerna_1 = require("./lib/lerna"); exports.default = lerna_1.updateChangelogByCwd; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/changelog/lib/lerna.js b/packages/@yarn-tool/changelog/lib/lerna.js index 66d17eede..c941c57c3 100644 --- a/packages/@yarn-tool/changelog/lib/lerna.js +++ b/packages/@yarn-tool/changelog/lib/lerna.js @@ -1,9 +1,9 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./types"), exports); -(0, tslib_1.__exportStar)(require("./lerna/recommend"), exports); -(0, tslib_1.__exportStar)(require("./lerna/update"), exports); -(0, tslib_1.__exportStar)(require("./lerna/from-list"), exports); +tslib_1.__exportStar(require("./types"), exports); +tslib_1.__exportStar(require("./lerna/recommend"), exports); +tslib_1.__exportStar(require("./lerna/update"), exports); +tslib_1.__exportStar(require("./lerna/from-list"), exports); exports.default = exports; //# sourceMappingURL=lerna.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/changelog/lib/lerna/from-list.js b/packages/@yarn-tool/changelog/lib/lerna/from-list.js index 3b386a511..c0c2bbaec 100644 --- a/packages/@yarn-tool/changelog/lib/lerna/from-list.js +++ b/packages/@yarn-tool/changelog/lib/lerna/from-list.js @@ -4,7 +4,7 @@ exports.updateChangelogByCwd = void 0; const tslib_1 = require("tslib"); const ws_pkg_list_1 = require("ws-pkg-list"); const find_root_1 = require("@yarn-tool/find-root"); -const update_1 = (0, tslib_1.__importDefault)(require("./update")); +const update_1 = tslib_1.__importDefault(require("./update")); const lodash_1 = require("lodash"); function updateChangelogByCwd(cwd, options) { let rootData = (0, find_root_1.findRoot)({ diff --git a/packages/@yarn-tool/check-pkg-bin/bin/check-pkg-bin.js b/packages/@yarn-tool/check-pkg-bin/bin/check-pkg-bin.js index ccb6df924..f0c82ca16 100644 --- a/packages/@yarn-tool/check-pkg-bin/bin/check-pkg-bin.js +++ b/packages/@yarn-tool/check-pkg-bin/bin/check-pkg-bin.js @@ -3,12 +3,12 @@ var _a; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); const __1 = require(".."); const debug_color2_1 = require("debug-color2"); -const cli_table3_1 = (0, tslib_1.__importDefault)(require("cli-table3")); -const pkg_dir_1 = (0, tslib_1.__importDefault)(require("pkg-dir")); -const string_natural_compare_1 = (0, tslib_1.__importDefault)(require("@bluelovers/string-natural-compare")); +const cli_table3_1 = tslib_1.__importDefault(require("cli-table3")); +const pkg_dir_1 = tslib_1.__importDefault(require("pkg-dir")); +const string_natural_compare_1 = tslib_1.__importDefault(require("@bluelovers/string-natural-compare")); const table_1 = require("@yarn-tool/table"); const find_root_1 = require("@yarn-tool/find-root"); const cli = yargs_1.default diff --git a/packages/@yarn-tool/check-pkg-bin/index.js b/packages/@yarn-tool/check-pkg-bin/index.js index de39728e9..677919a82 100644 --- a/packages/@yarn-tool/check-pkg-bin/index.js +++ b/packages/@yarn-tool/check-pkg-bin/index.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const pkg_1 = require("./lib/pkg"); -(0, tslib_1.__exportStar)(require("./lib/core"), exports); -(0, tslib_1.__exportStar)(require("./lib/ws"), exports); -(0, tslib_1.__exportStar)(require("./lib/pkg"), exports); +tslib_1.__exportStar(require("./lib/core"), exports); +tslib_1.__exportStar(require("./lib/ws"), exports); +tslib_1.__exportStar(require("./lib/pkg"), exports); exports.default = pkg_1.checkPkgDir; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/detect-yarnlock-version/index.js b/packages/@yarn-tool/detect-yarnlock-version/index.js index 31583c92e..a6bfd2cb8 100644 --- a/packages/@yarn-tool/detect-yarnlock-version/index.js +++ b/packages/@yarn-tool/detect-yarnlock-version/index.js @@ -2,11 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.detectYarnLockVersionByObject = void 0; const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./lib/detectYarnLockVersion"), exports); -(0, tslib_1.__exportStar)(require("./lib/detectYarnLockVersionByFile"), exports); +tslib_1.__exportStar(require("./lib/detectYarnLockVersion"), exports); +tslib_1.__exportStar(require("./lib/detectYarnLockVersionByFile"), exports); var detectYarnLockVersionByObject_1 = require("./lib/detectYarnLockVersionByObject"); Object.defineProperty(exports, "detectYarnLockVersionByObject", { enumerable: true, get: function () { return detectYarnLockVersionByObject_1.detectYarnLockVersionByObject; } }); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); const detectYarnLockVersion_1 = require("./lib/detectYarnLockVersion"); exports.default = detectYarnLockVersion_1.detectYarnLockVersion; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/find-root/index.js b/packages/@yarn-tool/find-root/index.js index 9f6384d3e..ebc8a47e0 100644 --- a/packages/@yarn-tool/find-root/index.js +++ b/packages/@yarn-tool/find-root/index.js @@ -5,7 +5,7 @@ const tslib_1 = require("tslib"); const upath2_1 = require("upath2"); Object.defineProperty(exports, "pathNormalize", { enumerable: true, get: function () { return upath2_1.normalize; } }); const core_1 = require("find-yarn-workspace-root2/core"); -const err_code_1 = (0, tslib_1.__importDefault)(require("err-code")); +const err_code_1 = tslib_1.__importDefault(require("err-code")); const pkg_dir_1 = require("pkg-dir"); function findRootLazy(options, _throwError) { var _a; diff --git a/packages/@yarn-tool/fix-ws-links/bin/fix-ws-links.js b/packages/@yarn-tool/fix-ws-links/bin/fix-ws-links.js index 844e79b83..957b304d8 100644 --- a/packages/@yarn-tool/fix-ws-links/bin/fix-ws-links.js +++ b/packages/@yarn-tool/fix-ws-links/bin/fix-ws-links.js @@ -2,8 +2,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const index_1 = (0, tslib_1.__importDefault)(require("../index")); -const fix_ws_pkgs_link_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/fix-ws-pkgs-link")); +const index_1 = tslib_1.__importDefault(require("../index")); +const fix_ws_pkgs_link_1 = tslib_1.__importDefault(require("@yarn-tool/fix-ws-pkgs-link")); let cwd = process.cwd(); console.log(`check and try fix links from: ${cwd}`); (0, index_1.default)(cwd, { diff --git a/packages/@yarn-tool/fix-ws-links/index.js b/packages/@yarn-tool/fix-ws-links/index.js index 48da7f964..c92d4064f 100644 --- a/packages/@yarn-tool/fix-ws-links/index.js +++ b/packages/@yarn-tool/fix-ws-links/index.js @@ -6,9 +6,9 @@ const listable_1 = require("ws-pkg-list/lib/listable"); const ws_find_paths_1 = require("@yarn-tool/node-modules/lib/ws-find-paths"); const core_1 = require("yarn-list-link/core"); const fs_extra_1 = require("fs-extra"); -const cross_spawn_extra_1 = (0, tslib_1.__importDefault)(require("cross-spawn-extra")); +const cross_spawn_extra_1 = tslib_1.__importDefault(require("cross-spawn-extra")); const util_1 = require("./lib/util"); -const logger_1 = (0, tslib_1.__importDefault)(require("debug-color2/logger")); +const logger_1 = tslib_1.__importDefault(require("debug-color2/logger")); const fs_symlink_extra_1 = require("fs-symlink-extra"); function fixYarnWorkspaceLinks(cwd, options) { let listable = (0, listable_1.wsPkgListable)(cwd); diff --git a/packages/@yarn-tool/fix-ws-links/lib/rebuildYarnWorkspaceLinks.js b/packages/@yarn-tool/fix-ws-links/lib/rebuildYarnWorkspaceLinks.js index 6f2f62555..1b5d2e5c6 100644 --- a/packages/@yarn-tool/fix-ws-links/lib/rebuildYarnWorkspaceLinks.js +++ b/packages/@yarn-tool/fix-ws-links/lib/rebuildYarnWorkspaceLinks.js @@ -2,11 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.rebuildYarnWorkspaceLinks = exports.rebuildYarnWorkspaceLinksFromPkgListable = exports._checkOptions = void 0; const tslib_1 = require("tslib"); -const node_modules_link_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/node-modules-link")); +const node_modules_link_1 = tslib_1.__importDefault(require("@yarn-tool/node-modules-link")); const find_root_1 = require("@yarn-tool/find-root"); const path_is_same_1 = require("path-is-same"); const util_1 = require("@yarn-tool/node-modules/lib/util"); -const listable_1 = (0, tslib_1.__importDefault)(require("ws-pkg-list/lib/listable")); +const listable_1 = tslib_1.__importDefault(require("ws-pkg-list/lib/listable")); function _checkOptions(options, auto) { options.shouldHasWorkspaces = true; options.skipCheckWorkspace = false; diff --git a/packages/@yarn-tool/get-pkg-bin/index.js b/packages/@yarn-tool/get-pkg-bin/index.js index 745ee6315..24310d793 100644 --- a/packages/@yarn-tool/get-pkg-bin/index.js +++ b/packages/@yarn-tool/get-pkg-bin/index.js @@ -4,8 +4,8 @@ exports.defaultPackageBin = exports.normalizePackageBins = void 0; const tslib_1 = require("tslib"); const upath2_1 = require("upath2"); const util_1 = require("./util"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./util"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./util"), exports); function normalizePackageBins(options) { let { pkgRoot, pkg, name } = (0, util_1.getPackageInfo)(options); let bins = (0, util_1.getPackageBins)(pkg) || {}; diff --git a/packages/@yarn-tool/get-pkg-bin/util.js b/packages/@yarn-tool/get-pkg-bin/util.js index 274cb0280..0ac07dbdd 100644 --- a/packages/@yarn-tool/get-pkg-bin/util.js +++ b/packages/@yarn-tool/get-pkg-bin/util.js @@ -7,7 +7,7 @@ exports.getPackageInfo = exports.firstPackageBin = exports.handlePackageBins = e const tslib_1 = require("tslib"); const upath2_1 = require("upath2"); const resolve_package_1 = require("@yarn-tool/resolve-package"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); function getPackageBins(pkg) { if (pkg.bin != null) { if (typeof pkg.bin === 'string') { diff --git a/packages/@yarn-tool/init-path/index.js b/packages/@yarn-tool/init-path/index.js index 1384b0798..8ca149906 100644 --- a/packages/@yarn-tool/init-path/index.js +++ b/packages/@yarn-tool/init-path/index.js @@ -5,7 +5,7 @@ const tslib_1 = require("tslib"); const validate_npm_package_name_1 = require("@yarn-tool/validate-npm-package-name"); const path_1 = require("path"); const fs_extra_1 = require("fs-extra"); -const search_workspace_prefix_by_name_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/search-workspace-prefix-by-name")); +const search_workspace_prefix_by_name_1 = tslib_1.__importDefault(require("@yarn-tool/search-workspace-prefix-by-name")); function getTargetDir(options) { var _a; let targetDir; diff --git a/packages/@yarn-tool/is-builtin-module/index.js b/packages/@yarn-tool/is-builtin-module/index.js index 8155558cd..46f9709a0 100644 --- a/packages/@yarn-tool/is-builtin-module/index.js +++ b/packages/@yarn-tool/is-builtin-module/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.isBuiltinModule = exports.builtins = exports.createNewIsBuiltinModule = void 0; const tslib_1 = require("tslib"); -const builtins_1 = (0, tslib_1.__importDefault)(require("builtins")); +const builtins_1 = tslib_1.__importDefault(require("builtins")); function createNewIsBuiltinModule(options) { const builtins = (0, builtins_1.default)(options === null || options === void 0 ? void 0 : options.targetNodeJSVersion); return { diff --git a/packages/@yarn-tool/is-npx/index.js b/packages/@yarn-tool/is-npx/index.js index ed25cdf0d..693dda7df 100644 --- a/packages/@yarn-tool/is-npx/index.js +++ b/packages/@yarn-tool/is-npx/index.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.isNpx = void 0; const tslib_1 = require("tslib"); -const is_npx_1 = (0, tslib_1.__importDefault)(require("is-npx")); +const is_npx_1 = tslib_1.__importDefault(require("is-npx")); function isNpx(data) { const { __dirname = '' } = data; return ((0, is_npx_1.default)() || __dirname.includes('_npx')); diff --git a/packages/@yarn-tool/ncu/index.js b/packages/@yarn-tool/ncu/index.js index f7614cbea..b9275b96c 100644 --- a/packages/@yarn-tool/ncu/index.js +++ b/packages/@yarn-tool/ncu/index.js @@ -4,12 +4,12 @@ */ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/store"), exports); -(0, tslib_1.__exportStar)(require("./lib/cli"), exports); -(0, tslib_1.__exportStar)(require("./lib/remote"), exports); -(0, tslib_1.__exportStar)(require("./lib/util"), exports); -(0, tslib_1.__exportStar)(require("./lib/options"), exports); -(0, tslib_1.__exportStar)(require("./lib/update"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/store"), exports); +tslib_1.__exportStar(require("./lib/cli"), exports); +tslib_1.__exportStar(require("./lib/remote"), exports); +tslib_1.__exportStar(require("./lib/util"), exports); +tslib_1.__exportStar(require("./lib/options"), exports); +tslib_1.__exportStar(require("./lib/update"), exports); exports.default = exports; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/ncu/lib/remote.js b/packages/@yarn-tool/ncu/lib/remote.js index f8795a22c..477f2b53c 100644 --- a/packages/@yarn-tool/ncu/lib/remote.js +++ b/packages/@yarn-tool/ncu/lib/remote.js @@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.updateSemver = exports.isUpgradeable = exports.packageMapToKeyObject = exports.queryPackageManagersNpm = exports.getVersionTarget = exports.fetchVersion = exports.requestVersion = exports.queryRemoteVersions = void 0; const tslib_1 = require("tslib"); const types_1 = require("./types"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const store_1 = require("./store"); -const package_json_1 = (0, tslib_1.__importDefault)(require("package-json")); +const package_json_1 = tslib_1.__importDefault(require("package-json")); const versionmanager_1 = require("npm-check-updates/lib/versionmanager"); -const npm_1 = (0, tslib_1.__importDefault)(require("npm-check-updates/lib/package-managers/npm")); +const npm_1 = tslib_1.__importDefault(require("npm-check-updates/lib/package-managers/npm")); const getVersionTarget_1 = require("./remote/getVersionTarget"); Object.defineProperty(exports, "getVersionTarget", { enumerable: true, get: function () { return getVersionTarget_1.getVersionTarget; } }); var queryRemoteVersions_1 = require("./remote/queryRemoteVersions"); diff --git a/packages/@yarn-tool/ncu/lib/remote/queryRemoteVersions.js b/packages/@yarn-tool/ncu/lib/remote/queryRemoteVersions.js index ce4e8d28b..8007754f3 100644 --- a/packages/@yarn-tool/ncu/lib/remote/queryRemoteVersions.js +++ b/packages/@yarn-tool/ncu/lib/remote/queryRemoteVersions.js @@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.queryRemoteVersions = void 0; const tslib_1 = require("tslib"); const types_1 = require("../types"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const options_1 = require("../options"); const store_1 = require("../store"); const util_1 = require("../util"); -const semver_1 = (0, tslib_1.__importDefault)(require("semver")); +const semver_1 = tslib_1.__importDefault(require("semver")); const remote_1 = require("../remote"); const versionmanager_1 = require("npm-check-updates/lib/versionmanager"); function queryRemoteVersions(packageMap, options = {}) { diff --git a/packages/@yarn-tool/ncu/lib/types.js b/packages/@yarn-tool/ncu/lib/types.js index 30d58ed85..3256d95e2 100644 --- a/packages/@yarn-tool/ncu/lib/types.js +++ b/packages/@yarn-tool/ncu/lib/types.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.EnumPackageManagersNpmMethod = void 0; const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("@ts-type/package-dts/lib/package-json/types"), exports); +tslib_1.__exportStar(require("@ts-type/package-dts/lib/package-json/types"), exports); var EnumPackageManagersNpmMethod; (function (EnumPackageManagersNpmMethod) { EnumPackageManagersNpmMethod["major"] = "greatestMajor"; diff --git a/packages/@yarn-tool/ncu/lib/update/checkResolutionsUpdate.js b/packages/@yarn-tool/ncu/lib/update/checkResolutionsUpdate.js index ad0d4fc79..471e70cbe 100644 --- a/packages/@yarn-tool/ncu/lib/update/checkResolutionsUpdate.js +++ b/packages/@yarn-tool/ncu/lib/update/checkResolutionsUpdate.js @@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.checkResolutionsUpdate = void 0; const tslib_1 = require("tslib"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const util_1 = require("../util"); -const semver_1 = (0, tslib_1.__importDefault)(require("semver")); +const semver_1 = tslib_1.__importDefault(require("semver")); const parse_1 = require("@yarn-tool/yarnlock/lib/parse"); const core_1 = require("@yarn-tool/yarnlock/lib/core"); const queryRemoteVersions_1 = require("../remote/queryRemoteVersions"); diff --git a/packages/@yarn-tool/ncu/lib/update/npmCheckUpdates.js b/packages/@yarn-tool/ncu/lib/update/npmCheckUpdates.js index e4f4176f6..573ad35dc 100644 --- a/packages/@yarn-tool/ncu/lib/update/npmCheckUpdates.js +++ b/packages/@yarn-tool/ncu/lib/update/npmCheckUpdates.js @@ -4,15 +4,15 @@ exports.npmCheckUpdates = void 0; const tslib_1 = require("tslib"); const options_1 = require("../options"); const npm_check_updates_1 = require("npm-check-updates"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const util_1 = require("../util"); -const npm_package_arg_1 = (0, tslib_1.__importDefault)(require("npm-package-arg")); +const npm_package_arg_1 = tslib_1.__importDefault(require("npm-package-arg")); const queryVersion_1 = require("@yarn-tool/pkg-version-query/lib/queryVersion"); const mergeSimpleSemVer_1 = require("@lazy-node/semver-simple-parse/lib/mergeSimpleSemVer"); const parseSimpleSemVer_1 = require("@lazy-node/semver-simple-parse/lib/parseSimpleSemVer"); const stringifySimpleSemVer_1 = require("@lazy-node/semver-simple-parse/lib/stringifySimpleSemVer"); const pkg_version_query_1 = require("@yarn-tool/pkg-version-query"); -const deps_table_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/table/lib/deps-table")); +const deps_table_1 = tslib_1.__importDefault(require("@yarn-tool/table/lib/deps-table")); async function npmCheckUpdates(cache, ncuOptions) { //ncuOptions.silent = false; //ncuOptions.json = false; diff --git a/packages/@yarn-tool/node-modules-link/bin/node-modules-link.js b/packages/@yarn-tool/node-modules-link/bin/node-modules-link.js index c0e177f0b..44d0bead5 100644 --- a/packages/@yarn-tool/node-modules-link/bin/node-modules-link.js +++ b/packages/@yarn-tool/node-modules-link/bin/node-modules-link.js @@ -2,8 +2,8 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); -const index_1 = (0, tslib_1.__importDefault)(require("../index")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); +const index_1 = tslib_1.__importDefault(require("../index")); let argv = yargs_1.default .option('name', { string: true, diff --git a/packages/@yarn-tool/node-modules/index.js b/packages/@yarn-tool/node-modules/index.js index 920bcf2dd..3f7c86e6d 100644 --- a/packages/@yarn-tool/node-modules/index.js +++ b/packages/@yarn-tool/node-modules/index.js @@ -8,6 +8,6 @@ const tslib_1 = require("tslib"); const find_paths_1 = require("./lib/find-paths"); var ws_find_paths_1 = require("./lib/ws-find-paths"); Object.defineProperty(exports, "wsFindPackageHasModules", { enumerable: true, get: function () { return ws_find_paths_1.wsFindPackageHasModules; } }); -(0, tslib_1.__exportStar)(require("./lib/find-paths"), exports); +tslib_1.__exportStar(require("./lib/find-paths"), exports); exports.default = find_paths_1.findModulesPackagePaths; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/node-modules/lib/find-paths.js b/packages/@yarn-tool/node-modules/lib/find-paths.js index 64d61e2f8..51e7ca058 100644 --- a/packages/@yarn-tool/node-modules/lib/find-paths.js +++ b/packages/@yarn-tool/node-modules/lib/find-paths.js @@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.findModulesPackagePaths = exports.findModulesPackagePathsCore = void 0; const tslib_1 = require("tslib"); -const pkg_dir_1 = (0, tslib_1.__importDefault)(require("pkg-dir")); +const pkg_dir_1 = tslib_1.__importDefault(require("pkg-dir")); const upath2_1 = require("upath2"); -const fast_glob_1 = (0, tslib_1.__importDefault)(require("@bluelovers/fast-glob")); +const fast_glob_1 = tslib_1.__importDefault(require("@bluelovers/fast-glob")); const util_1 = require("./util"); function findModulesPackagePathsCore(cwd, dir) { let root = (0, util_1.getModulesDir)(cwd, dir); diff --git a/packages/@yarn-tool/npa-to-deps-query/index.js b/packages/@yarn-tool/npa-to-deps-query/index.js index a7bb5b83e..77664b900 100644 --- a/packages/@yarn-tool/npa-to-deps-query/index.js +++ b/packages/@yarn-tool/npa-to-deps-query/index.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.queryDepsValueByNpa = exports.queryDepsValueByNpaResult = void 0; const tslib_1 = require("tslib"); -const npa_to_deps_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/npa-to-deps")); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const npa_to_deps_1 = tslib_1.__importDefault(require("@yarn-tool/npa-to-deps")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const queryVersion_1 = require("@yarn-tool/pkg-version-query/lib/queryVersion"); function queryDepsValueByNpaResult(depsResult, options) { return bluebird_1.default.resolve(depsResult) diff --git a/packages/@yarn-tool/npm-package-arg-util/index.js b/packages/@yarn-tool/npm-package-arg-util/index.js index a207d7a35..5f9665dbb 100644 --- a/packages/@yarn-tool/npm-package-arg-util/index.js +++ b/packages/@yarn-tool/npm-package-arg-util/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.npaTry = exports.npa = exports.getSemverFromNpaResult = void 0; const tslib_1 = require("tslib"); -const npm_package_arg_1 = (0, tslib_1.__importDefault)(require("npm-package-arg")); +const npm_package_arg_1 = tslib_1.__importDefault(require("npm-package-arg")); const assert_1 = require("./lib/assert"); var getSemverFromNpaResult_1 = require("./lib/getSemverFromNpaResult"); Object.defineProperty(exports, "getSemverFromNpaResult", { enumerable: true, get: function () { return getSemverFromNpaResult_1.getSemverFromNpaResult; } }); diff --git a/packages/@yarn-tool/pack-package/lib/pack.js b/packages/@yarn-tool/pack-package/lib/pack.js index 2510fd317..8e5c4a8a6 100644 --- a/packages/@yarn-tool/pack-package/lib/pack.js +++ b/packages/@yarn-tool/pack-package/lib/pack.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.packTargetPackage = exports.packTargetDirectory = void 0; const tslib_1 = require("tslib"); -const npm_packlist_1 = (0, tslib_1.__importDefault)(require("npm-packlist")); +const npm_packlist_1 = tslib_1.__importDefault(require("npm-packlist")); const tar_1 = require("tar"); const fs_1 = require("fs"); const path_1 = require("path"); diff --git a/packages/@yarn-tool/pkg-deps-util/lib/cli/assertExecInstall.js b/packages/@yarn-tool/pkg-deps-util/lib/cli/assertExecInstall.js index 740d46317..5d3bb3d7f 100644 --- a/packages/@yarn-tool/pkg-deps-util/lib/cli/assertExecInstall.js +++ b/packages/@yarn-tool/pkg-deps-util/lib/cli/assertExecInstall.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.assertExecInstall = void 0; const tslib_1 = require("tslib"); -const err_code_1 = (0, tslib_1.__importDefault)(require("err-code")); +const err_code_1 = tslib_1.__importDefault(require("err-code")); function assertExecInstall(cp) { if (cp.status) { throw (0, err_code_1.default)(new Error(`Process finished with exit code ${cp.status}`), 'EXIT_CODE', { diff --git a/packages/@yarn-tool/pkg-deps-util/lib/installDepsFromYarnLock.js b/packages/@yarn-tool/pkg-deps-util/lib/installDepsFromYarnLock.js index 60b8adf21..9c2903446 100644 --- a/packages/@yarn-tool/pkg-deps-util/lib/installDepsFromYarnLock.js +++ b/packages/@yarn-tool/pkg-deps-util/lib/installDepsFromYarnLock.js @@ -4,7 +4,7 @@ exports.installDepsFromYarnLock = exports.installDepsFromYarnLockCore = exports. const tslib_1 = require("tslib"); const find_root_1 = require("@yarn-tool/find-root"); const package_dts_1 = require("@ts-type/package-dts"); -const npm_package_arg_util_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/npm-package-arg-util")); +const npm_package_arg_util_1 = tslib_1.__importDefault(require("@yarn-tool/npm-package-arg-util")); const yarnlock_parse_1 = require("@yarn-tool/yarnlock-parse"); const groupYarnLockParsedEntries_1 = require("@yarn-tool/yarnlock-util/lib/util/groupYarnLockParsedEntries"); const lodash_1 = require("lodash"); diff --git a/packages/@yarn-tool/pkg-deps-util/lib/util/fetchRemoteInfo.js b/packages/@yarn-tool/pkg-deps-util/lib/util/fetchRemoteInfo.js index 1cac74bc8..df59a4108 100644 --- a/packages/@yarn-tool/pkg-deps-util/lib/util/fetchRemoteInfo.js +++ b/packages/@yarn-tool/pkg-deps-util/lib/util/fetchRemoteInfo.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.fetchRemoteInfo = void 0; const tslib_1 = require("tslib"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const parseArgvPkgName_1 = require("@yarn-tool/npm-package-arg-util/lib/parseArgvPkgName"); const queryVersion_1 = require("@yarn-tool/pkg-version-query/lib/queryVersion"); function fetchRemoteInfo(packageNames, options = {}) { diff --git a/packages/@yarn-tool/pkg-deps-util/lib/util/handleSemverForDependencies.js b/packages/@yarn-tool/pkg-deps-util/lib/util/handleSemverForDependencies.js index 59b397216..16de8b7fb 100644 --- a/packages/@yarn-tool/pkg-deps-util/lib/util/handleSemverForDependencies.js +++ b/packages/@yarn-tool/pkg-deps-util/lib/util/handleSemverForDependencies.js @@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.handleSemverForDependencies = exports.isUpdateAbleVersion = exports.isUpdateAbleVersionByNpmPackageArgResult = void 0; const tslib_1 = require("tslib"); -const npm_package_arg_util_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/npm-package-arg-util")); +const npm_package_arg_util_1 = tslib_1.__importDefault(require("@yarn-tool/npm-package-arg-util")); const detect_1 = require("@yarn-tool/npm-package-arg-util/lib/detect"); -const parseSimpleSemVerRange_1 = (0, tslib_1.__importDefault)(require("@lazy-node/semver-simple-parse/lib/parseSimpleSemVerRange")); +const parseSimpleSemVerRange_1 = tslib_1.__importDefault(require("@lazy-node/semver-simple-parse/lib/parseSimpleSemVerRange")); const checker_1 = require("@lazy-node/semver-simple-parse/lib/checker"); function isUpdateAbleVersionByNpmPackageArgResult(npaResult) { if ((0, detect_1.isRegistryResult)(npaResult) && npaResult.type !== 'tag') { diff --git a/packages/@yarn-tool/pkg-deps-util/lib/util/sortDependencies.js b/packages/@yarn-tool/pkg-deps-util/lib/util/sortDependencies.js index 5e01321a5..2e34dbfa6 100644 --- a/packages/@yarn-tool/pkg-deps-util/lib/util/sortDependencies.js +++ b/packages/@yarn-tool/pkg-deps-util/lib/util/sortDependencies.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.sortDependencies = void 0; const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("sort-object-keys2/core")); +const core_1 = tslib_1.__importDefault(require("sort-object-keys2/core")); function sortDependencies(pkg) { var _a, _b, _c, _d; let opts = { diff --git a/packages/@yarn-tool/pkg-git-info/index.js b/packages/@yarn-tool/pkg-git-info/index.js index 6749bde7b..8e96da702 100644 --- a/packages/@yarn-tool/pkg-git-info/index.js +++ b/packages/@yarn-tool/pkg-git-info/index.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.npmHostedGitInfoCore = exports.npmHostedGitInfo = exports.getHostedGitInfo = void 0; const tslib_1 = require("tslib"); -const hosted_git_info_1 = (0, tslib_1.__importDefault)(require("hosted-git-info")); +const hosted_git_info_1 = tslib_1.__importDefault(require("hosted-git-info")); const info_1 = require("@git-lazy/info"); function getHostedGitInfo(o) { return hosted_git_info_1.default.fromUrl((0, info_1.filterRemoteUrl)(o)); diff --git a/packages/@yarn-tool/pkg-git-info/package.json b/packages/@yarn-tool/pkg-git-info/package.json index 3ad75e319..33b7a3142 100644 --- a/packages/@yarn-tool/pkg-git-info/package.json +++ b/packages/@yarn-tool/pkg-git-info/package.json @@ -32,7 +32,7 @@ "tsc:esm": "tsc -p tsconfig.esm.json" }, "dependencies": { - "@git-lazy/info": "^1.0.27", + "@git-lazy/info": "^1.0.28", "@types/hosted-git-info": "^3.0.2", "hosted-git-info": "^4.0.2", "tslib": "^2.3.1" diff --git a/packages/@yarn-tool/pkg-version-query/index.js b/packages/@yarn-tool/pkg-version-query/index.js index 85a5d610c..ba7d7dae7 100644 --- a/packages/@yarn-tool/pkg-version-query/index.js +++ b/packages/@yarn-tool/pkg-version-query/index.js @@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getCache = exports.queryVersionWithCache = exports.queryVersionByNpmPackageArgWithCache = void 0; const tslib_1 = require("tslib"); -const queryVersionByNpmPackageArg_1 = (0, tslib_1.__importDefault)(require("./lib/queryVersionByNpmPackageArg")); +const queryVersionByNpmPackageArg_1 = tslib_1.__importDefault(require("./lib/queryVersionByNpmPackageArg")); exports.queryVersionByNpmPackageArgWithCache = queryVersionByNpmPackageArg_1.default; -const queryVersion_1 = (0, tslib_1.__importDefault)(require("./lib/queryVersion")); +const queryVersion_1 = tslib_1.__importDefault(require("./lib/queryVersion")); exports.queryVersionWithCache = queryVersion_1.default; const cacheAgent_1 = require("./lib/cacheAgent"); Object.defineProperty(exports, "getCache", { enumerable: true, get: function () { return cacheAgent_1.getCache; } }); diff --git a/packages/@yarn-tool/pkg-version-query/lib/cacheAgent.js b/packages/@yarn-tool/pkg-version-query/lib/cacheAgent.js index e3719f00d..4b0f71289 100644 --- a/packages/@yarn-tool/pkg-version-query/lib/cacheAgent.js +++ b/packages/@yarn-tool/pkg-version-query/lib/cacheAgent.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.getCache = exports.initCache = void 0; const tslib_1 = require("tslib"); -const lru_cache_fs2_1 = (0, tslib_1.__importDefault)(require("lru-cache-fs2")); +const lru_cache_fs2_1 = tslib_1.__importDefault(require("lru-cache-fs2")); const cache_path_1 = require("cache-path"); let cache; function initCache(options) { diff --git a/packages/@yarn-tool/pkg-version-query/lib/core.js b/packages/@yarn-tool/pkg-version-query/lib/core.js index d1bc800e1..b53771076 100644 --- a/packages/@yarn-tool/pkg-version-query/lib/core.js +++ b/packages/@yarn-tool/pkg-version-query/lib/core.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._queryVersion = void 0; const tslib_1 = require("tslib"); -const package_json_1 = (0, tslib_1.__importDefault)(require("package-json")); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const package_json_1 = tslib_1.__importDefault(require("package-json")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); function _queryVersion(packageName, options) { options !== null && options !== void 0 ? options : (options = {}); return bluebird_1.default.resolve((0, package_json_1.default)(packageName, options)) diff --git a/packages/@yarn-tool/pkg-version-query/lib/queryVersion.js b/packages/@yarn-tool/pkg-version-query/lib/queryVersion.js index 08d9fa963..11bb6f2cc 100644 --- a/packages/@yarn-tool/pkg-version-query/lib/queryVersion.js +++ b/packages/@yarn-tool/pkg-version-query/lib/queryVersion.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.queryVersion = exports.queryVersionWithCache = void 0; const tslib_1 = require("tslib"); const package_json_1 = require("package-json"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const cacheAgent_1 = require("./cacheAgent"); const createCacheKey_1 = require("./createCacheKey"); const core_1 = require("./core"); diff --git a/packages/@yarn-tool/pkg-version-query/lib/queryVersionByNpmPackageArg.js b/packages/@yarn-tool/pkg-version-query/lib/queryVersionByNpmPackageArg.js index 80554fd33..f1f392d6b 100644 --- a/packages/@yarn-tool/pkg-version-query/lib/queryVersionByNpmPackageArg.js +++ b/packages/@yarn-tool/pkg-version-query/lib/queryVersionByNpmPackageArg.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.queryVersionByNpmPackageArgWithCache = exports.parseVersionByNpmPackageArg = void 0; const tslib_1 = require("tslib"); -const npm_package_arg_1 = (0, tslib_1.__importDefault)(require("npm-package-arg")); -const queryVersion_1 = (0, tslib_1.__importDefault)(require("./queryVersion")); +const npm_package_arg_1 = tslib_1.__importDefault(require("npm-package-arg")); +const queryVersion_1 = tslib_1.__importDefault(require("./queryVersion")); function parseVersionByNpmPackageArg(input) { const { name, fetchSpec: version } = (0, npm_package_arg_1.default)(input); return { diff --git a/packages/@yarn-tool/require-resolve/index.js b/packages/@yarn-tool/require-resolve/index.js index 91e1c5ad6..e7f5adb81 100644 --- a/packages/@yarn-tool/require-resolve/index.js +++ b/packages/@yarn-tool/require-resolve/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._unshiftArray = exports.requireResolveExtra = exports.importExtra = exports.requireExtra = exports.isErrorModuleNotFound = exports.handleOptionsPaths = exports.requireResolveCore = exports.SymbolModuleMain = exports.SymbolGlobalYarn = exports.SymbolGlobalNpm = exports.SymbolGlobal = exports.SymbolCurrentDirectory = void 0; const tslib_1 = require("tslib"); -const get_paths_by_type_1 = (0, tslib_1.__importStar)(require("@yarn-tool/get-paths-by-type")); +const get_paths_by_type_1 = tslib_1.__importStar(require("@yarn-tool/get-paths-by-type")); Object.defineProperty(exports, "SymbolCurrentDirectory", { enumerable: true, get: function () { return get_paths_by_type_1.SymbolCurrentDirectory; } }); Object.defineProperty(exports, "SymbolGlobal", { enumerable: true, get: function () { return get_paths_by_type_1.SymbolGlobal; } }); Object.defineProperty(exports, "SymbolGlobalNpm", { enumerable: true, get: function () { return get_paths_by_type_1.SymbolGlobalNpm; } }); @@ -79,7 +79,7 @@ function requireExtra(name, options) { } exports.requireExtra = requireExtra; function importExtra(name, options) { - return Promise.resolve().then(() => (0, tslib_1.__importStar)(require(requireResolveCore(name, options)))); + return Promise.resolve().then(() => tslib_1.__importStar(require(requireResolveCore(name, options)))); } exports.importExtra = importExtra; function requireResolveExtra(name, options) { diff --git a/packages/@yarn-tool/run-script-lifecycle/index.js b/packages/@yarn-tool/run-script-lifecycle/index.js index 6d963a9df..490f956c3 100644 --- a/packages/@yarn-tool/run-script-lifecycle/index.js +++ b/packages/@yarn-tool/run-script-lifecycle/index.js @@ -5,12 +5,12 @@ const tslib_1 = require("tslib"); /** * Created by user on 2020/4/8. */ -const run_script_pkg_1 = (0, tslib_1.__importDefault)(require("@npmcli/run-script/lib/run-script-pkg")); +const run_script_pkg_1 = tslib_1.__importDefault(require("@npmcli/run-script/lib/run-script-pkg")); const fs_extra_1 = require("fs-extra"); const path_1 = require("path"); const script_lifecycle_1 = require("@yarn-tool/script-lifecycle"); const util_1 = require("./lib/util"); -const read_package_json_fast_1 = (0, tslib_1.__importDefault)(require("read-package-json-fast")); +const read_package_json_fast_1 = tslib_1.__importDefault(require("read-package-json-fast")); async function runLifecycleScript(options) { const pkg_path = (0, path_1.join)(options.path, 'package.json'); if ((0, fs_extra_1.pathExistsSync)(pkg_path)) { diff --git a/packages/@yarn-tool/run-script-lifecycle/lib/util.js b/packages/@yarn-tool/run-script-lifecycle/lib/util.js index f471eeab2..4eeda8e4b 100644 --- a/packages/@yarn-tool/run-script-lifecycle/lib/util.js +++ b/packages/@yarn-tool/run-script-lifecycle/lib/util.js @@ -5,8 +5,8 @@ const tslib_1 = require("tslib"); /** * Created by user on 2020/4/9. */ -const run_script_1 = (0, tslib_1.__importDefault)(require("@npmcli/run-script")); -const run_script_pkg_1 = (0, tslib_1.__importDefault)(require("@npmcli/run-script/lib/run-script-pkg")); +const run_script_1 = tslib_1.__importDefault(require("@npmcli/run-script")); +const run_script_pkg_1 = tslib_1.__importDefault(require("@npmcli/run-script/lib/run-script-pkg")); function formatOutput(result) { return `> ${result.pkgid} ${result.event}\n> ${result.script}\n${result.stdout}`; } diff --git a/packages/@yarn-tool/script-lifecycle/index.js b/packages/@yarn-tool/script-lifecycle/index.js index e39872869..d65d63433 100644 --- a/packages/@yarn-tool/script-lifecycle/index.js +++ b/packages/@yarn-tool/script-lifecycle/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.isKnownLifecycleKey = exports.entryToList = exports.getLifecycleList = exports.getLifecycle = exports.getLifecycleCore = void 0; const tslib_1 = require("tslib"); -const lifecycle_1 = (0, tslib_1.__importDefault)(require("./lib/lifecycle")); +const lifecycle_1 = tslib_1.__importDefault(require("./lib/lifecycle")); function getLifecycleCore(scriptName) { if (isKnownLifecycleKey(scriptName)) { return lifecycle_1.default[scriptName]; diff --git a/packages/@yarn-tool/script-lifecycle/lib/lifecycle.js b/packages/@yarn-tool/script-lifecycle/lib/lifecycle.js index f4b9d10c9..a99c18967 100644 --- a/packages/@yarn-tool/script-lifecycle/lib/lifecycle.js +++ b/packages/@yarn-tool/script-lifecycle/lib/lifecycle.js @@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.lifecycleMap = void 0; const tslib_1 = require("tslib"); -const install_1 = (0, tslib_1.__importDefault)(require("./lifecycle/install")); -const pack_1 = (0, tslib_1.__importDefault)(require("./lifecycle/pack")); -const publish_1 = (0, tslib_1.__importDefault)(require("./lifecycle/publish")); +const install_1 = tslib_1.__importDefault(require("./lifecycle/install")); +const pack_1 = tslib_1.__importDefault(require("./lifecycle/pack")); +const publish_1 = tslib_1.__importDefault(require("./lifecycle/publish")); exports.lifecycleMap = { install: install_1.default, pack: pack_1.default, diff --git a/packages/@yarn-tool/search-workspace-prefix-by-name/index.js b/packages/@yarn-tool/search-workspace-prefix-by-name/index.js index db75a9712..9adff4167 100644 --- a/packages/@yarn-tool/search-workspace-prefix-by-name/index.js +++ b/packages/@yarn-tool/search-workspace-prefix-by-name/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.searchWorkspacePrefixByName = void 0; const tslib_1 = require("tslib"); -const micromatch_1 = (0, tslib_1.__importDefault)(require("micromatch")); +const micromatch_1 = tslib_1.__importDefault(require("micromatch")); function searchWorkspacePrefixByName({ inputName, workspacesConfig, }) { let workspacePrefix; if (workspacesConfig.prefix.includes("packages/*")) { diff --git a/packages/@yarn-tool/semver-diff/index.js b/packages/@yarn-tool/semver-diff/index.js index c72c90a5b..902076c1e 100644 --- a/packages/@yarn-tool/semver-diff/index.js +++ b/packages/@yarn-tool/semver-diff/index.js @@ -5,8 +5,8 @@ const tslib_1 = require("tslib"); * Created by user on 2020/6/11. */ const colorize_1 = require("./lib/colorize"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/colorize"), exports); -(0, tslib_1.__exportStar)(require("./lib/core"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/colorize"), exports); +tslib_1.__exportStar(require("./lib/core"), exports); exports.default = colorize_1.colorizeDiff; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/static-file/lib/copyStaticFiles.js b/packages/@yarn-tool/static-file/lib/copyStaticFiles.js index 9224d46bf..22c024053 100644 --- a/packages/@yarn-tool/static-file/lib/copyStaticFiles.js +++ b/packages/@yarn-tool/static-file/lib/copyStaticFiles.js @@ -6,7 +6,7 @@ const fs_extra_1 = require("fs-extra"); const const_1 = require("./const"); const parseStaticMap_1 = require("./parseStaticMap"); const copyStaticFilesEntry_1 = require("./copyStaticFilesEntry"); -const __root_1 = (0, tslib_1.__importDefault)(require("../__root")); +const __root_1 = tslib_1.__importDefault(require("../__root")); function copyStaticFiles(options) { var _a, _b; if (typeof options.cwd !== 'string' || !((_a = options.cwd) === null || _a === void 0 ? void 0 : _a.length) || !options.cwd) { diff --git a/packages/@yarn-tool/static-file/lib/copyStaticFilesEntry.js b/packages/@yarn-tool/static-file/lib/copyStaticFilesEntry.js index 6f813f47b..af597d9a2 100644 --- a/packages/@yarn-tool/static-file/lib/copyStaticFilesEntry.js +++ b/packages/@yarn-tool/static-file/lib/copyStaticFilesEntry.js @@ -4,7 +4,7 @@ exports.copyStaticFilesEntry = void 0; const tslib_1 = require("tslib"); const path_1 = require("path"); const fs_extra_1 = require("fs-extra"); -const __root_1 = (0, tslib_1.__importDefault)(require("../__root")); +const __root_1 = tslib_1.__importDefault(require("../__root")); function copyStaticFilesEntry(entry, cwd, staticRoot = __root_1.default, overwrite) { const [targetFile, staticFile, detectFile] = entry; if (detectFile === null || detectFile === void 0 ? void 0 : detectFile.length) { diff --git a/packages/@yarn-tool/table/index.js b/packages/@yarn-tool/table/index.js index adc5e9689..70efb8932 100644 --- a/packages/@yarn-tool/table/index.js +++ b/packages/@yarn-tool/table/index.js @@ -5,12 +5,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.Table = exports.CliTable = void 0; const tslib_1 = require("tslib"); -const cli_table3_1 = (0, tslib_1.__importDefault)(require("cli-table3")); +const cli_table3_1 = tslib_1.__importDefault(require("cli-table3")); exports.CliTable = cli_table3_1.default; exports.Table = cli_table3_1.default; -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/deps-table"), exports); -(0, tslib_1.__exportStar)(require("./lib/core"), exports); -(0, tslib_1.__exportStar)(require("./lib/style"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/deps-table"), exports); +tslib_1.__exportStar(require("./lib/core"), exports); +tslib_1.__exportStar(require("./lib/style"), exports); exports.default = cli_table3_1.default; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/table/lib/core.js b/packages/@yarn-tool/table/lib/core.js index 2e193684a..e0db7b515 100644 --- a/packages/@yarn-tool/table/lib/core.js +++ b/packages/@yarn-tool/table/lib/core.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.createDependencyTable = void 0; const tslib_1 = require("tslib"); -const cli_table3_1 = (0, tslib_1.__importDefault)(require("cli-table3")); +const cli_table3_1 = tslib_1.__importDefault(require("cli-table3")); function createDependencyTable(options) { return new cli_table3_1.default({ colAligns: ['left', 'right', 'right', 'right'], diff --git a/packages/@yarn-tool/tag/bin/yt-tag.js b/packages/@yarn-tool/tag/bin/yt-tag.js index eda98574a..c67487d2a 100644 --- a/packages/@yarn-tool/tag/bin/yt-tag.js +++ b/packages/@yarn-tool/tag/bin/yt-tag.js @@ -2,9 +2,9 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const yargs_setting_1 = (0, tslib_1.__importDefault)(require("../lib/yargs-setting")); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); -const git_tag_1 = (0, tslib_1.__importDefault)(require("../lib/git-tag")); +const yargs_setting_1 = tslib_1.__importDefault(require("../lib/yargs-setting")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); +const git_tag_1 = tslib_1.__importDefault(require("../lib/git-tag")); let argv = (0, yargs_setting_1.default)(yargs_1.default) .option('cwd', { default: process.cwd(), diff --git a/packages/@yarn-tool/tag/index.js b/packages/@yarn-tool/tag/index.js index 1e9cb901a..b3749cd26 100644 --- a/packages/@yarn-tool/tag/index.js +++ b/packages/@yarn-tool/tag/index.js @@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const git_tag_1 = require("./lib/git-tag"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/core"), exports); -(0, tslib_1.__exportStar)(require("./lib/git-tag"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/core"), exports); +tslib_1.__exportStar(require("./lib/git-tag"), exports); exports.default = git_tag_1.gitPackageTag; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/tag/lib/git-tag.js b/packages/@yarn-tool/tag/lib/git-tag.js index 803821386..cd686fd06 100644 --- a/packages/@yarn-tool/tag/lib/git-tag.js +++ b/packages/@yarn-tool/tag/lib/git-tag.js @@ -4,7 +4,7 @@ exports.gitPackageTag = void 0; const tslib_1 = require("tslib"); const core_1 = require("./core"); const tag_1 = require("@git-lazy/tag"); -const path_is_same_1 = (0, tslib_1.__importDefault)(require("path-is-same")); +const path_is_same_1 = tslib_1.__importDefault(require("path-is-same")); const find_root_1 = require("@yarn-tool/find-root"); const path_1 = require("path"); async function gitPackageTag(options, spawnOptions) { @@ -20,7 +20,7 @@ async function gitPackageTag(options, spawnOptions) { throw new Error(`cwd must be same as package dir\n${rootData.pkg}\n${cwd}`); } if (!options.pkg) { - options.pkg = await Promise.resolve().then(() => (0, tslib_1.__importStar)(require((0, path_1.join)(rootData.pkg, 'package.json')))).then(m => m.default || m); + options.pkg = await Promise.resolve().then(() => tslib_1.__importStar(require((0, path_1.join)(rootData.pkg, 'package.json')))).then(m => m.default || m); } cwd = options.cwd = rootData.pkg; options = (0, core_1.handleOptions)(options); diff --git a/packages/@yarn-tool/tag/package.json b/packages/@yarn-tool/tag/package.json index 10f1f4e29..a6056669e 100644 --- a/packages/@yarn-tool/tag/package.json +++ b/packages/@yarn-tool/tag/package.json @@ -44,8 +44,8 @@ "tsc:esm": "tsc -p tsconfig.esm.json" }, "dependencies": { - "@git-lazy/spawn": "^1.0.27", - "@git-lazy/tag": "^1.0.8", + "@git-lazy/spawn": "^1.0.28", + "@git-lazy/tag": "^1.0.9", "@yarn-tool/find-root": "^1.0.57", "@yarn-tool/types": "^1.0.6", "path-dir-normalize": "^1.0.21", diff --git a/packages/@yarn-tool/update-notifier/index.js b/packages/@yarn-tool/update-notifier/index.js index e46bfd0aa..3b9132eb8 100644 --- a/packages/@yarn-tool/update-notifier/index.js +++ b/packages/@yarn-tool/update-notifier/index.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.updateNotifier = exports.notNpxMaybe = void 0; const tslib_1 = require("tslib"); const path_1 = require("path"); -const ci_detect_1 = (0, tslib_1.__importDefault)(require("@npmcli/ci-detect")); +const ci_detect_1 = tslib_1.__importDefault(require("@npmcli/ci-detect")); function notNpxMaybe(__dirname) { if (__dirname && /ypx_|_npx/i.test(__dirname)) { return false; diff --git a/packages/@yarn-tool/validate-npm-package-name/index.js b/packages/@yarn-tool/validate-npm-package-name/index.js index fd64a56a6..b1086fe83 100644 --- a/packages/@yarn-tool/validate-npm-package-name/index.js +++ b/packages/@yarn-tool/validate-npm-package-name/index.js @@ -4,6 +4,6 @@ exports.validateNpmPackageName = void 0; const tslib_1 = require("tslib"); const validateNpmPackageName_1 = require("./lib/validateNpmPackageName"); Object.defineProperty(exports, "validateNpmPackageName", { enumerable: true, get: function () { return validateNpmPackageName_1.validateNpmPackageName; } }); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); exports.default = validateNpmPackageName_1.validateNpmPackageName; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/version-recommended/index.js b/packages/@yarn-tool/version-recommended/index.js index b9e633a9e..982c6a409 100644 --- a/packages/@yarn-tool/version-recommended/index.js +++ b/packages/@yarn-tool/version-recommended/index.js @@ -10,6 +10,6 @@ Object.defineProperty(exports, "nextVersionRecommendedByWorkspacesFindUp", { enu const pkg_1 = require("./lib/pkg"); Object.defineProperty(exports, "nextVersionRecommendedByPackage", { enumerable: true, get: function () { return pkg_1.nextVersionRecommendedByPackage; } }); Object.defineProperty(exports, "nextVersionRecommendedByPackageFindUp", { enumerable: true, get: function () { return pkg_1.nextVersionRecommendedByPackageFindUp; } }); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); exports.default = pkg_1.nextVersionRecommendedByPackageFindUp; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/version-recommended/lib/ws.js b/packages/@yarn-tool/version-recommended/lib/ws.js index 766631fb0..ce53c3da0 100644 --- a/packages/@yarn-tool/version-recommended/lib/ws.js +++ b/packages/@yarn-tool/version-recommended/lib/ws.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.nextVersionRecommendedByWorkspacesFindUp = exports.nextVersionRecommendedByWorkspacesProject = void 0; const tslib_1 = require("tslib"); -const workspaces_project_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/workspaces-project")); +const workspaces_project_1 = tslib_1.__importDefault(require("@yarn-tool/workspaces-project")); const nextVersionRecommended_1 = require("./nextVersionRecommended"); function nextVersionRecommendedByWorkspacesProject(oldVersion, wsProject) { return (0, nextVersionRecommended_1.nextVersionRecommended)(oldVersion, wsProject); diff --git a/packages/@yarn-tool/workspaces-project/index.js b/packages/@yarn-tool/workspaces-project/index.js index a8b53b2c9..884ef4427 100644 --- a/packages/@yarn-tool/workspaces-project/index.js +++ b/packages/@yarn-tool/workspaces-project/index.js @@ -5,10 +5,10 @@ exports.WorkspacesProject = void 0; const tslib_1 = require("tslib"); const project_1 = require("@lerna/project"); const upath2_1 = require("upath2"); -const core_1 = (0, tslib_1.__importDefault)(require("find-yarn-workspace-root2/core")); +const core_1 = tslib_1.__importDefault(require("find-yarn-workspace-root2/core")); const util_1 = require("./lib/util"); const lodash_1 = require("lodash"); -const sort_object_keys2_1 = (0, tslib_1.__importDefault)(require("sort-object-keys2")); +const sort_object_keys2_1 = tslib_1.__importDefault(require("sort-object-keys2")); const fs_extra_1 = require("fs-extra"); class WorkspacesProject { constructor(cwd, options) { @@ -38,13 +38,13 @@ class WorkspacesProject { this._project.rootConfigLocation = (0, upath2_1.normalize)(this._project.rootConfigLocation); } _hasInternal(field) { - return field in (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f"); + return field in tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f"); } _getInternal(field) { - return (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f")[field]; + return tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f")[field]; } _setInternal(field, value) { - return (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f")[field] = value; + return tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f")[field] = value; } get rootPath() { return this._project.rootPath; @@ -89,7 +89,7 @@ class WorkspacesProject { if (!this.workspaces.includes(value)) { throw new RangeError(`${value} not exists in ${this.workspaces}`); } - (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f").defaultWorkspace = value; + tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").defaultWorkspace = value; } isIndependent() { return this.version === "independent" /* independent */; @@ -139,13 +139,13 @@ class WorkspacesProject { get releaseConfig() { var _a, _b, _c; const command = this._project.config.command; - (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f").releaseConfig = (0, lodash_1.merge)((0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f").releaseConfig, command === null || command === void 0 ? void 0 : command.version, command === null || command === void 0 ? void 0 : command.publish, { + tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").releaseConfig = (0, lodash_1.merge)(tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").releaseConfig, command === null || command === void 0 ? void 0 : command.version, command === null || command === void 0 ? void 0 : command.publish, { changelogPreset: this.changelogPreset, bump: this.bump, conventionalGraduate: (_b = (_a = command === null || command === void 0 ? void 0 : command.publish) === null || _a === void 0 ? void 0 : _a.conventionalGraduate) !== null && _b !== void 0 ? _b : (_c = command === null || command === void 0 ? void 0 : command.version) === null || _c === void 0 ? void 0 : _c.conventionalGraduate, }); - (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f").releaseConfig = (0, sort_object_keys2_1.default)((0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f").releaseConfig); - return (0, tslib_1.__classPrivateFieldGet)(this, _WorkspacesProject_internal, "f").releaseConfig; + tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").releaseConfig = (0, sort_object_keys2_1.default)(tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").releaseConfig); + return tslib_1.__classPrivateFieldGet(this, _WorkspacesProject_internal, "f").releaseConfig; } existsLernaConfigFile() { return (0, fs_extra_1.pathExistsSync)(this.lernaConfigLocation); diff --git a/packages/@yarn-tool/workspaces-project/lib/util.js b/packages/@yarn-tool/workspaces-project/lib/util.js index 90e1980a5..3de72a966 100644 --- a/packages/@yarn-tool/workspaces-project/lib/util.js +++ b/packages/@yarn-tool/workspaces-project/lib/util.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.checkPaths = exports.EnumCheckPaths = void 0; const tslib_1 = require("tslib"); -const path_dir_normalize_1 = (0, tslib_1.__importDefault)(require("path-dir-normalize")); +const path_dir_normalize_1 = tslib_1.__importDefault(require("path-dir-normalize")); var EnumCheckPaths; (function (EnumCheckPaths) { EnumCheckPaths[EnumCheckPaths["root"] = 1] = "root"; diff --git a/packages/@yarn-tool/ws-changed/lib/git-changed.js b/packages/@yarn-tool/ws-changed/lib/git-changed.js index 875bd9bf5..5d21a764e 100644 --- a/packages/@yarn-tool/ws-changed/lib/git-changed.js +++ b/packages/@yarn-tool/ws-changed/lib/git-changed.js @@ -4,8 +4,8 @@ exports.wsGitChanged = exports.wsGitChangedPrefix = void 0; const tslib_1 = require("tslib"); const listable_1 = require("ws-pkg-list/lib/listable"); const git_util_1 = require("./git-util"); -const workspaces_config_1 = (0, tslib_1.__importDefault)(require("workspaces-config")); -const glob_regex_1 = (0, tslib_1.__importDefault)(require("glob-regex")); +const workspaces_config_1 = tslib_1.__importDefault(require("workspaces-config")); +const glob_regex_1 = tslib_1.__importDefault(require("glob-regex")); const array_hyper_unique_1 = require("array-hyper-unique"); const util_1 = require("ws-pkg-list/lib/util"); function wsGitChangedPrefix(cwd, options) { diff --git a/packages/@yarn-tool/ws-changed/lib/git-util.js b/packages/@yarn-tool/ws-changed/lib/git-util.js index 63df2ea7e..f95fc3708 100644 --- a/packages/@yarn-tool/ws-changed/lib/git-util.js +++ b/packages/@yarn-tool/ws-changed/lib/git-util.js @@ -7,7 +7,7 @@ exports.wsGitDiffStagedDir = exports.wsGitDiffStagedFiles = exports.wsRootWithGi const tslib_1 = require("tslib"); const find_root_1 = require("@yarn-tool/find-root"); const diff_staged_1 = require("@git-lazy/diff-staged"); -const core_1 = (0, tslib_1.__importDefault)(require("git-root2/core")); +const core_1 = tslib_1.__importDefault(require("git-root2/core")); function wsRootWithGitRoot(cwd) { let rooData = (0, find_root_1.findRoot)({ cwd, diff --git a/packages/@yarn-tool/ws-changed/lib/lerna-changed.js b/packages/@yarn-tool/ws-changed/lib/lerna-changed.js index 9adb85fd5..46e943393 100644 --- a/packages/@yarn-tool/ws-changed/lib/lerna-changed.js +++ b/packages/@yarn-tool/ws-changed/lib/lerna-changed.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.lernaChanged = void 0; const tslib_1 = require("tslib"); -const cross_spawn_extra_1 = (0, tslib_1.__importDefault)(require("cross-spawn-extra")); +const cross_spawn_extra_1 = tslib_1.__importDefault(require("cross-spawn-extra")); const find_root_1 = require("@yarn-tool/find-root"); const util_1 = require("ws-pkg-list/lib/util"); function lernaChanged(cwd, options) { diff --git a/packages/@yarn-tool/ws-changed/package.json b/packages/@yarn-tool/ws-changed/package.json index f4e1568bd..5d3b9aa2b 100644 --- a/packages/@yarn-tool/ws-changed/package.json +++ b/packages/@yarn-tool/ws-changed/package.json @@ -40,11 +40,11 @@ "tsc:esm": "tsc -p tsconfig.esm.json" }, "dependencies": { - "@git-lazy/diff-staged": "^1.0.29", + "@git-lazy/diff-staged": "^1.0.30", "@yarn-tool/find-root": "^1.0.57", "array-hyper-unique": "^2.0.6", "cross-spawn-extra": "^2.1.0", - "git-root2": "^1.0.25", + "git-root2": "^1.0.26", "glob-regex": "^0.3.2", "micromatch": "^4.0.4", "tslib": "^2.3.1", diff --git a/packages/@yarn-tool/ws-scope/lib/format/yaml.js b/packages/@yarn-tool/ws-scope/lib/format/yaml.js index 1a84139e9..14b9e7d5f 100644 --- a/packages/@yarn-tool/ws-scope/lib/format/yaml.js +++ b/packages/@yarn-tool/ws-scope/lib/format/yaml.js @@ -4,7 +4,7 @@ exports.ScopeYaml = exports.SymRaw = void 0; const tslib_1 = require("tslib"); const fs_extra_1 = require("fs-extra"); const json_object_1 = require("./json-object"); -const cjs_1 = (0, tslib_1.__importDefault)(require("yawn-yaml/cjs")); +const cjs_1 = tslib_1.__importDefault(require("yawn-yaml/cjs")); const SymRaw = Symbol.for('raw'); exports.SymRaw = SymRaw; class ScopeYaml extends json_object_1.ScopeJsonObject { diff --git a/packages/@yarn-tool/yarnlock-dedupe/index.js b/packages/@yarn-tool/yarnlock-dedupe/index.js index 6a29c390e..b5b5467e2 100644 --- a/packages/@yarn-tool/yarnlock-dedupe/index.js +++ b/packages/@yarn-tool/yarnlock-dedupe/index.js @@ -2,10 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.yarnDedupe = exports.yarnDedupeFile = exports.fixDuplicates = exports.listDuplicates = void 0; const tslib_1 = require("tslib"); -const detectYarnLockVersion_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/detect-yarnlock-version/lib/detectYarnLockVersion")); +const detectYarnLockVersion_1 = tslib_1.__importDefault(require("@yarn-tool/detect-yarnlock-version/lib/detectYarnLockVersion")); const types_1 = require("@yarn-tool/detect-yarnlock-version/lib/types"); -const v2_1 = (0, tslib_1.__importDefault)(require("./lib/v2")); -const v1_1 = (0, tslib_1.__importDefault)(require("./lib/v1")); +const v2_1 = tslib_1.__importDefault(require("./lib/v2")); +const v1_1 = tslib_1.__importDefault(require("./lib/v1")); const fs_1 = require("fs"); function listDuplicates(yarnlock_old, options) { yarnlock_old = yarnlock_old.toString(); diff --git a/packages/@yarn-tool/yarnlock-dedupe/lib/v2/fixDuplicates.js b/packages/@yarn-tool/yarnlock-dedupe/lib/v2/fixDuplicates.js index 72087be30..39a0ac556 100644 --- a/packages/@yarn-tool/yarnlock-dedupe/lib/v2/fixDuplicates.js +++ b/packages/@yarn-tool/yarnlock-dedupe/lib/v2/fixDuplicates.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.fixDuplicates = void 0; const tslib_1 = require("tslib"); const yarn_berry_deduplicate_1 = require("yarn-berry-deduplicate"); -const yarnlock_banner_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/yarnlock-banner")); +const yarnlock_banner_1 = tslib_1.__importDefault(require("@yarn-tool/yarnlock-banner")); function fixDuplicates(yarnlock_old, options) { yarnlock_old = yarnlock_old.toString(); let { banner, content } = (0, yarnlock_banner_1.default)(yarnlock_old); diff --git a/packages/@yarn-tool/yarnlock-dedupe/object.js b/packages/@yarn-tool/yarnlock-dedupe/object.js index 875e998df..f63917a0d 100644 --- a/packages/@yarn-tool/yarnlock-dedupe/object.js +++ b/packages/@yarn-tool/yarnlock-dedupe/object.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.yarnDedupe = exports.fixDuplicates = exports.listDuplicates = void 0; const tslib_1 = require("tslib"); const index_1 = require("./index"); -const yarnlock_stringify_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/yarnlock-stringify")); +const yarnlock_stringify_1 = tslib_1.__importDefault(require("@yarn-tool/yarnlock-stringify")); /** * @deprecated */ diff --git a/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable001.js b/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable001.js index 912bbca63..47aee0dc3 100644 --- a/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable001.js +++ b/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable001.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.buildDiffTable = void 0; const tslib_1 = require("tslib"); -const cli_table_1 = (0, tslib_1.__importDefault)(require("cli-table")); -const chalk_1 = (0, tslib_1.__importDefault)(require("chalk")); +const cli_table_1 = tslib_1.__importDefault(require("cli-table")); +const chalk_1 = tslib_1.__importDefault(require("chalk")); const formatVersion_1 = require("./formatVersion"); const diffArray001_1 = require("./diffArray001"); /** diff --git a/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable002.js b/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable002.js index 2c96a57e9..f6d7c76ef 100644 --- a/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable002.js +++ b/packages/@yarn-tool/yarnlock-diff/lib/formatter/buildDiffTable002.js @@ -7,7 +7,7 @@ const diffArray002_1 = require("./diffArray002"); const semver_diff_1 = require("@yarn-tool/semver-diff"); const core_1 = require("@yarn-tool/table/lib/core"); const debug_color2_1 = require("debug-color2"); -const strip_ansi_1 = (0, tslib_1.__importDefault)(require("strip-ansi")); +const strip_ansi_1 = tslib_1.__importDefault(require("strip-ansi")); function buildDiffTable(diff, options) { var _a; // @ts-ignore diff --git a/packages/@yarn-tool/yarnlock-entries/index.js b/packages/@yarn-tool/yarnlock-entries/index.js index 49a5f4f43..6bdf44aee 100644 --- a/packages/@yarn-tool/yarnlock-entries/index.js +++ b/packages/@yarn-tool/yarnlock-entries/index.js @@ -10,6 +10,6 @@ Object.defineProperty(exports, "fromContent", { enumerable: true, get: function const fromFile_1 = require("./lib/fromFile"); Object.defineProperty(exports, "fromFileAsync", { enumerable: true, get: function () { return fromFile_1.fromFileAsync; } }); Object.defineProperty(exports, "fromFile", { enumerable: true, get: function () { return fromFile_1.fromFile; } }); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); exports.default = fromContent_1.fromContent; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/yarnlock-entries/lib/YarnLockIterator.js b/packages/@yarn-tool/yarnlock-entries/lib/YarnLockIterator.js index 0bb718f64..5906b6ce9 100644 --- a/packages/@yarn-tool/yarnlock-entries/lib/YarnLockIterator.js +++ b/packages/@yarn-tool/yarnlock-entries/lib/YarnLockIterator.js @@ -5,8 +5,8 @@ const tslib_1 = require("tslib"); const detect_yarnlock_version_1 = require("@yarn-tool/detect-yarnlock-version"); const lodash_1 = require("lodash"); const yarnlock_util_1 = require("@yarn-tool/yarnlock-util"); -const yarnlock_stringify_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/yarnlock-stringify")); -const yarnlock_error_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/yarnlock-error")); +const yarnlock_stringify_1 = tslib_1.__importDefault(require("@yarn-tool/yarnlock-stringify")); +const yarnlock_error_1 = tslib_1.__importDefault(require("@yarn-tool/yarnlock-error")); class YarnLockIterator { constructor(object) { this.object = object; diff --git a/packages/@yarn-tool/yarnlock-entries/lib/fromFile.js b/packages/@yarn-tool/yarnlock-entries/lib/fromFile.js index deb8ebefb..b19589b10 100644 --- a/packages/@yarn-tool/yarnlock-entries/lib/fromFile.js +++ b/packages/@yarn-tool/yarnlock-entries/lib/fromFile.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.fromFileAsync = exports.fromFile = void 0; const tslib_1 = require("tslib"); const fs_1 = require("fs"); -const fromContent_1 = (0, tslib_1.__importDefault)(require("./fromContent")); +const fromContent_1 = tslib_1.__importDefault(require("./fromContent")); function fromFile(yarnlock_file) { return (0, fromContent_1.default)((0, fs_1.readFileSync)(yarnlock_file)); } diff --git a/packages/@yarn-tool/yarnlock-entries/lib/handleContentObject.js b/packages/@yarn-tool/yarnlock-entries/lib/handleContentObject.js index 27979b716..14c030d9f 100644 --- a/packages/@yarn-tool/yarnlock-entries/lib/handleContentObject.js +++ b/packages/@yarn-tool/yarnlock-entries/lib/handleContentObject.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.handleContentObject = void 0; const tslib_1 = require("tslib"); -const YarnLockIterator_1 = (0, tslib_1.__importDefault)(require("./YarnLockIterator")); +const YarnLockIterator_1 = tslib_1.__importDefault(require("./YarnLockIterator")); function handleContentObject(data) { return new YarnLockIterator_1.default(data); } diff --git a/packages/@yarn-tool/yarnlock-stringify/index.js b/packages/@yarn-tool/yarnlock-stringify/index.js index 91c467f56..7ca34be7a 100644 --- a/packages/@yarn-tool/yarnlock-stringify/index.js +++ b/packages/@yarn-tool/yarnlock-stringify/index.js @@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.yarnLockStringify = void 0; const tslib_1 = require("tslib"); -const detectYarnLockVersionByObject_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/detect-yarnlock-version/lib/detectYarnLockVersionByObject")); +const detectYarnLockVersionByObject_1 = tslib_1.__importDefault(require("@yarn-tool/detect-yarnlock-version/lib/detectYarnLockVersionByObject")); const lockfile_1 = require("@yarnpkg/lockfile"); -const detectYarnLockVersion_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/detect-yarnlock-version/lib/detectYarnLockVersion")); +const detectYarnLockVersion_1 = tslib_1.__importDefault(require("@yarn-tool/detect-yarnlock-version/lib/detectYarnLockVersion")); const types_1 = require("@yarn-tool/detect-yarnlock-version/lib/types"); const parsers_1 = require("@yarnpkg/parsers"); function yarnLockStringify(yarnlock_old) { diff --git a/packages/@yarn-tool/yarnlock-util/index.js b/packages/@yarn-tool/yarnlock-util/index.js index a15bdd1b6..d99988783 100644 --- a/packages/@yarn-tool/yarnlock-util/index.js +++ b/packages/@yarn-tool/yarnlock-util/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.parseYarnLockRowV2 = exports.parseYarnLockRowV1 = void 0; const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); const parseYarnLockRowV1_1 = require("./lib/v1/parseYarnLockRowV1"); Object.defineProperty(exports, "parseYarnLockRowV1", { enumerable: true, get: function () { return parseYarnLockRowV1_1.parseYarnLockRowV1; } }); const parseYarnLockRowV2_1 = require("./lib/v2/parseYarnLockRowV2"); diff --git a/packages/@yarn-tool/yarnlock/index.js b/packages/@yarn-tool/yarnlock/index.js index f609ce007..0ce42cc8d 100644 --- a/packages/@yarn-tool/yarnlock/index.js +++ b/packages/@yarn-tool/yarnlock/index.js @@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.fsYarnLock = exports.writeYarnLockFile = exports.readYarnLockFile = exports.checkAndParseYarnLockFile = exports.checkAndReadYarnLockFileUnsafe = exports.checkAndReadYarnLockFileSafe = exports.existsYarnLockFile = exports.infoFromDedupeCache = exports.wrapDedupe = void 0; const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/core"), exports); -(0, tslib_1.__exportStar)(require("./lib/fs"), exports); -(0, tslib_1.__exportStar)(require("./lib/parse"), exports); -(0, tslib_1.__exportStar)(require("./lib/util"), exports); -(0, tslib_1.__exportStar)(require("./lib/diff"), exports); -(0, tslib_1.__exportStar)(require("./lib/dedupe"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/core"), exports); +tslib_1.__exportStar(require("./lib/fs"), exports); +tslib_1.__exportStar(require("./lib/parse"), exports); +tslib_1.__exportStar(require("./lib/util"), exports); +tslib_1.__exportStar(require("./lib/diff"), exports); +tslib_1.__exportStar(require("./lib/dedupe"), exports); var wrapDedupe_1 = require("./lib/wrapDedupe/wrapDedupe"); Object.defineProperty(exports, "wrapDedupe", { enumerable: true, get: function () { return wrapDedupe_1.wrapDedupe; } }); var infoFromDedupeCache_1 = require("./lib/wrapDedupe/infoFromDedupeCache"); diff --git a/packages/@yarn-tool/yarnlock/lib/core.js b/packages/@yarn-tool/yarnlock/lib/core.js index 3e8e29a38..a02ba6a26 100644 --- a/packages/@yarn-tool/yarnlock/lib/core.js +++ b/packages/@yarn-tool/yarnlock/lib/core.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.exportYarnLock = exports.filterDuplicateYarnLock = exports.removeResolutionsCore = exports.removeResolutions = exports.filterResolutions = void 0; const tslib_1 = require("tslib"); -const semver_1 = (0, tslib_1.__importDefault)(require("semver")); +const semver_1 = tslib_1.__importDefault(require("semver")); const util_1 = require("./util"); function filterResolutions(pkg, yarnlock) { if (pkg.resolutions) { diff --git a/packages/@yarn-tool/yarnlock/lib/dedupe.js b/packages/@yarn-tool/yarnlock/lib/dedupe.js index 52f483ba2..5ad64a17a 100644 --- a/packages/@yarn-tool/yarnlock/lib/dedupe.js +++ b/packages/@yarn-tool/yarnlock/lib/dedupe.js @@ -4,6 +4,6 @@ exports.Dedupe = void 0; const tslib_1 = require("tslib"); const object_1 = require("@yarn-tool/yarnlock-dedupe/object"); Object.defineProperty(exports, "Dedupe", { enumerable: true, get: function () { return object_1.yarnDedupe; } }); -(0, tslib_1.__exportStar)(require("@yarn-tool/yarnlock-dedupe/object"), exports); +tslib_1.__exportStar(require("@yarn-tool/yarnlock-dedupe/object"), exports); exports.default = object_1.yarnDedupe; //# sourceMappingURL=dedupe.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/yarnlock/lib/types.js b/packages/@yarn-tool/yarnlock/lib/types.js index 4a31942dd..4bda1cea1 100644 --- a/packages/@yarn-tool/yarnlock/lib/types.js +++ b/packages/@yarn-tool/yarnlock/lib/types.js @@ -4,5 +4,5 @@ */ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -(0, tslib_1.__exportStar)(require("@ts-type/package-dts/lib/package-json/types"), exports); +tslib_1.__exportStar(require("@ts-type/package-dts/lib/package-json/types"), exports); //# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/packages/@yarn-tool/yarnlock/lib/wrapDedupe/handleWrapDedupeOptions.js b/packages/@yarn-tool/yarnlock/lib/wrapDedupe/handleWrapDedupeOptions.js index 837e8d132..8db85a763 100644 --- a/packages/@yarn-tool/yarnlock/lib/wrapDedupe/handleWrapDedupeOptions.js +++ b/packages/@yarn-tool/yarnlock/lib/wrapDedupe/handleWrapDedupeOptions.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.handleWrapDedupeOptions = void 0; const tslib_1 = require("tslib"); const upath2_1 = require("upath2"); -const find_root_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/find-root")); +const find_root_1 = tslib_1.__importDefault(require("@yarn-tool/find-root")); const read_1 = require("@yarn-tool/yarnlock-fs/lib/read"); function handleWrapDedupeOptions(yarg, argv, options) { let cache = options.cache || {}; diff --git a/packages/cache-path/index.js b/packages/cache-path/index.js index 9cc5f952e..0d673a492 100644 --- a/packages/cache-path/index.js +++ b/packages/cache-path/index.js @@ -20,6 +20,6 @@ Object.defineProperty(exports, "getCacheRoot", { enumerable: true, get: function Object.defineProperty(exports, "getCacheRootAsync", { enumerable: true, get: function () { return getCacheRoot_1.getCacheRootAsync; } }); var normalizeName_1 = require("./lib/normalizeName"); Object.defineProperty(exports, "normalizeName", { enumerable: true, get: function () { return normalizeName_1.normalizeName; } }); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); exports.default = getCachePath_1.getCachePath; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/cache-path/lib/finder/findPkgModuleCachePath.js b/packages/cache-path/lib/finder/findPkgModuleCachePath.js index 9c9cc171d..14c29fdea 100644 --- a/packages/cache-path/lib/finder/findPkgModuleCachePath.js +++ b/packages/cache-path/lib/finder/findPkgModuleCachePath.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.findPkgModuleCachePath = exports.findPkgModulePath = exports.findPkgPath = void 0; const tslib_1 = require("tslib"); const path_1 = require("path"); -const find_root_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/find-root")); +const find_root_1 = tslib_1.__importDefault(require("@yarn-tool/find-root")); function findPkgPath(cwd) { return (0, find_root_1.default)({ cwd, diff --git a/packages/cache-path/lib/getCachePath.js b/packages/cache-path/lib/getCachePath.js index 71094fc4e..11b000362 100644 --- a/packages/cache-path/lib/getCachePath.js +++ b/packages/cache-path/lib/getCachePath.js @@ -4,9 +4,9 @@ exports.getCachePathAsync = exports.getCachePath = exports.defaultBase = void 0; const tslib_1 = require("tslib"); const getCacheRoot_1 = require("./getCacheRoot"); const normalizeName_1 = require("./normalizeName"); -const upath2_1 = (0, tslib_1.__importStar)(require("upath2")); +const upath2_1 = tslib_1.__importStar(require("upath2")); const fs_extra_1 = require("fs-extra"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const tmp_1 = require("tmp"); /** * a base dir name at cache root diff --git a/packages/cache-path/lib/getCacheRoot.js b/packages/cache-path/lib/getCacheRoot.js index b1cdc6257..29b6a99bd 100644 --- a/packages/cache-path/lib/getCacheRoot.js +++ b/packages/cache-path/lib/getCacheRoot.js @@ -4,7 +4,7 @@ exports.getCacheRootAsync = exports.getCacheRoot = void 0; const tslib_1 = require("tslib"); const fs_extra_1 = require("fs-extra"); const upath2_1 = require("upath2"); -const bluebird_1 = (0, tslib_1.__importDefault)(require("bluebird")); +const bluebird_1 = tslib_1.__importDefault(require("bluebird")); const is_writeable_path_1 = require("@lazy-node/is-writeable-path"); const util_1 = require("./util"); function getCacheRoot(_options) { diff --git a/packages/cache-path/lib/normalizeName.js b/packages/cache-path/lib/normalizeName.js index 3c2a4bd3f..0df7816b9 100644 --- a/packages/cache-path/lib/normalizeName.js +++ b/packages/cache-path/lib/normalizeName.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeName = void 0; const tslib_1 = require("tslib"); -const hash_sum_1 = (0, tslib_1.__importDefault)(require("hash-sum")); +const hash_sum_1 = tslib_1.__importDefault(require("hash-sum")); /** * normalize cache name */ diff --git a/packages/create-yarn-workspaces/bin/yarn-ws-init.js b/packages/create-yarn-workspaces/bin/yarn-ws-init.js index 32617bc39..a8386a782 100644 --- a/packages/create-yarn-workspaces/bin/yarn-ws-init.js +++ b/packages/create-yarn-workspaces/bin/yarn-ws-init.js @@ -2,11 +2,11 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const __1 = (0, tslib_1.__importDefault)(require("..")); -const logger_1 = (0, tslib_1.__importDefault)(require("debug-color2/logger")); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); +const __1 = tslib_1.__importDefault(require("..")); +const logger_1 = tslib_1.__importDefault(require("debug-color2/logger")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); const path_1 = require("path"); -const yargs_setting_1 = (0, tslib_1.__importDefault)(require("../yargs-setting")); +const yargs_setting_1 = tslib_1.__importDefault(require("../yargs-setting")); const CWD = process.cwd(); let cli = (0, yargs_setting_1.default)(yargs_1.default) // @ts-ignore diff --git a/packages/create-yarn-workspaces/index.js b/packages/create-yarn-workspaces/index.js index 499528b71..fe6b9a604 100644 --- a/packages/create-yarn-workspaces/index.js +++ b/packages/create-yarn-workspaces/index.js @@ -5,18 +5,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.createDirByPackages = exports._createYarnWorkspaces = exports.createYarnWorkspaces = void 0; const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("find-yarn-workspace-root2/core")); +const core_1 = tslib_1.__importDefault(require("find-yarn-workspace-root2/core")); const path_1 = require("path"); -const pkg_dir_1 = (0, tslib_1.__importDefault)(require("pkg-dir")); -const logger_1 = (0, tslib_1.__importDefault)(require("debug-color2/logger")); +const pkg_dir_1 = tslib_1.__importDefault(require("pkg-dir")); +const logger_1 = tslib_1.__importDefault(require("debug-color2/logger")); const static_file_1 = require("@yarn-tool/static-file"); const fs_extra_1 = require("fs-extra"); -const sort_package_json3_1 = (0, tslib_1.__importDefault)(require("sort-package-json3")); +const sort_package_json3_1 = tslib_1.__importDefault(require("sort-package-json3")); const lib_1 = require("./lib"); const util_1 = require("./lib/util"); -const wsCopyStaticFiles_1 = (0, tslib_1.__importDefault)(require("./lib/wsCopyStaticFiles")); -(0, tslib_1.__exportStar)(require("./lib/index"), exports); -(0, tslib_1.__exportStar)(require("./lib/util"), exports); +const wsCopyStaticFiles_1 = tslib_1.__importDefault(require("./lib/wsCopyStaticFiles")); +tslib_1.__exportStar(require("./lib/index"), exports); +tslib_1.__exportStar(require("./lib/util"), exports); function createYarnWorkspaces(cwd, options = {}) { if (cwd && typeof cwd != 'string') { options = cwd; diff --git a/packages/create-yarn-workspaces/lib/util.js b/packages/create-yarn-workspaces/lib/util.js index 505b8d1c7..cbfd75dcd 100644 --- a/packages/create-yarn-workspaces/lib/util.js +++ b/packages/create-yarn-workspaces/lib/util.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.isSamePath = void 0; const tslib_1 = require("tslib"); const path_1 = require("path"); -const path_is_same_1 = (0, tslib_1.__importDefault)(require("path-is-same")); +const path_is_same_1 = tslib_1.__importDefault(require("path-is-same")); function isSamePath(p1, p2) { if (!p1 || !p2) { return false; diff --git a/packages/create-yarn-workspaces/lib/wsCopyStaticFiles.js b/packages/create-yarn-workspaces/lib/wsCopyStaticFiles.js index 036998dcc..8c7eea3f7 100644 --- a/packages/create-yarn-workspaces/lib/wsCopyStaticFiles.js +++ b/packages/create-yarn-workspaces/lib/wsCopyStaticFiles.js @@ -12,6 +12,7 @@ function getWsCopyStaticFiles() { return (0, reMapStaticFilesMapArray_1.reMapStaticFilesMapArray)([ ...const_1.defaultCopyStaticFiles, ...const_1.defaultCopyStaticFilesRootOnly, + ...const_1.defaultCopyStaticFilesWsRootOnly, ], remap); } exports.getWsCopyStaticFiles = getWsCopyStaticFiles; diff --git a/packages/find-pkg-ws/index.js b/packages/find-pkg-ws/index.js index 7324c294e..aafa8307a 100644 --- a/packages/find-pkg-ws/index.js +++ b/packages/find-pkg-ws/index.js @@ -3,7 +3,7 @@ * Created by user on 2018/5/14/014. */ const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("find-yarn-workspace-root2/core")); +const core_1 = tslib_1.__importDefault(require("find-yarn-workspace-root2/core")); const path_1 = require("path"); function findWorkspacePackageJson(cwd) { let ws = (0, core_1.default)(cwd || process.cwd()); diff --git a/packages/find-yarn-workspace-root2/core.js b/packages/find-yarn-workspace-root2/core.js index a89111a12..d9ddd9295 100644 --- a/packages/find-yarn-workspace-root2/core.js +++ b/packages/find-yarn-workspace-root2/core.js @@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.readPackageJSON = exports.extractWorkspaces = exports.isMatchWorkspaces = exports.checkWorkspaces = exports.findWorkspaceRoot = void 0; const tslib_1 = require("tslib"); const upath2_1 = require("upath2"); -const pkg_dir_1 = (0, tslib_1.__importDefault)(require("pkg-dir")); +const pkg_dir_1 = tslib_1.__importDefault(require("pkg-dir")); const fs_1 = require("fs"); -const micromatch_1 = (0, tslib_1.__importDefault)(require("micromatch")); +const micromatch_1 = tslib_1.__importDefault(require("micromatch")); /** * Adapted from: * https://github.com/yarnpkg/yarn/blob/ddf2f9ade211195372236c2f39a75b00fa18d4de/src/config.js#L612 diff --git a/packages/node-package-json-loader/index.js b/packages/node-package-json-loader/index.js index ab94e24c9..ab6c18f1a 100644 --- a/packages/node-package-json-loader/index.js +++ b/packages/node-package-json-loader/index.js @@ -4,9 +4,9 @@ exports.PackageJsonLoader = void 0; const tslib_1 = require("tslib"); const fs_extra_1 = require("fs-extra"); const sort_package_json3_1 = require("sort-package-json3"); -const bind_decorator_1 = (0, tslib_1.__importDefault)(require("bind-decorator")); +const bind_decorator_1 = tslib_1.__importDefault(require("bind-decorator")); const util_1 = require("./util"); -const path_1 = (0, tslib_1.__importDefault)(require("path")); +const path_1 = tslib_1.__importDefault(require("path")); const resolve_package_1 = require("@yarn-tool/resolve-package"); class PackageJsonLoader { constructor(fileOrJson, ...argv) { @@ -165,17 +165,17 @@ class PackageJsonLoader { return this.loaded; } } -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ bind_decorator_1.default, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Object]), - (0, tslib_1.__metadata)("design:returntype", void 0) + tslib_1.__metadata("design:type", Function), + tslib_1.__metadata("design:paramtypes", [Object, Object]), + tslib_1.__metadata("design:returntype", void 0) ], PackageJsonLoader, "create", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ bind_decorator_1.default, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String]), - (0, tslib_1.__metadata)("design:returntype", void 0) + tslib_1.__metadata("design:type", Function), + tslib_1.__metadata("design:paramtypes", [String]), + tslib_1.__metadata("design:returntype", void 0) ], PackageJsonLoader, "loadByModuleName", null); exports.PackageJsonLoader = PackageJsonLoader; exports.default = PackageJsonLoader; diff --git a/packages/npm-init2/index.js b/packages/npm-init2/index.js index 808a1621e..037ebf84f 100644 --- a/packages/npm-init2/index.js +++ b/packages/npm-init2/index.js @@ -4,17 +4,17 @@ var _a, _b, _c, _d, _e, _f, _g; var _h, _j, _k; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); const fs_extra_1 = require("fs-extra"); const upath2_1 = require("upath2"); const workspaces_config_1 = require("workspaces-config"); -const npm_package_json_loader_1 = (0, tslib_1.__importDefault)(require("npm-package-json-loader")); +const npm_package_json_loader_1 = tslib_1.__importDefault(require("npm-package-json-loader")); const yargs_setting_1 = require("./lib/yargs-setting"); const find_root_1 = require("@yarn-tool/find-root"); const fs_1 = require("fs"); const writeReadme_1 = require("./lib/writeReadme"); const sort_package_json_scripts_1 = require("sort-package-json-scripts"); -const workspaces_project_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/workspaces-project")); +const workspaces_project_1 = tslib_1.__importDefault(require("@yarn-tool/workspaces-project")); const path_is_same_1 = require("path-is-same"); const node_modules_link_1 = require("@yarn-tool/node-modules-link"); const init_path_1 = require("@yarn-tool/init-path"); @@ -23,7 +23,7 @@ const is_builtin_module_1 = require("@yarn-tool/is-builtin-module"); const initWithPreserveDeps_1 = require("./lib/initWithPreserveDeps"); const const_1 = require("@yarn-tool/static-file/lib/const"); const static_file_1 = require("@yarn-tool/static-file"); -const logger_1 = (0, tslib_1.__importDefault)(require("debug-color2/logger")); +const logger_1 = tslib_1.__importDefault(require("debug-color2/logger")); const nameExistsInWorkspaces_1 = require("ws-pkg-list/lib/nameExistsInWorkspaces"); const pkg_hosted_info_1 = require("@yarn-tool/pkg-hosted-info"); const index_1 = require("@yarn-tool/setup-module-env/lib/preset/tsdx/index"); diff --git a/packages/npm-init2/lib/writeReadme.js b/packages/npm-init2/lib/writeReadme.js index 134b6cc12..e79b0a0d5 100644 --- a/packages/npm-init2/lib/writeReadme.js +++ b/packages/npm-init2/lib/writeReadme.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.writeReadme = void 0; const tslib_1 = require("tslib"); const fs_extra_1 = require("fs-extra"); -const template_1 = (0, tslib_1.__importDefault)(require("lodash/template")); +const template_1 = tslib_1.__importDefault(require("lodash/template")); const fs_1 = require("fs"); function writeReadme(options) { if ((0, fs_extra_1.existsSync)(options.file)) { diff --git a/packages/sort-package-json-scripts/index.js b/packages/sort-package-json-scripts/index.js index ac5d50b20..959fcfe83 100644 --- a/packages/sort-package-json-scripts/index.js +++ b/packages/sort-package-json-scripts/index.js @@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.sortPackageJsonScripts = void 0; const tslib_1 = require("tslib"); -const sortScripts_1 = (0, tslib_1.__importDefault)(require("./lib/sortScripts")); +const sortScripts_1 = tslib_1.__importDefault(require("./lib/sortScripts")); exports.sortPackageJsonScripts = sortScripts_1.default; exports.default = sortScripts_1.default; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/sort-package-json-scripts/lib/sortScripts.js b/packages/sort-package-json-scripts/lib/sortScripts.js index 80b9827a1..522f96b64 100644 --- a/packages/sort-package-json-scripts/lib/sortScripts.js +++ b/packages/sort-package-json-scripts/lib/sortScripts.js @@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.sortPackageJsonScripts = exports.sortPackageJsonScriptsOld = exports._core = void 0; const tslib_1 = require("tslib"); -const handleOptions_1 = (0, tslib_1.__importDefault)(require("./handleOptions")); +const handleOptions_1 = tslib_1.__importDefault(require("./handleOptions")); const handleKeyOrdersCore_1 = require("./handleKeyOrdersCore"); -const sort_object_keys2_1 = (0, tslib_1.__importDefault)(require("sort-object-keys2")); +const sort_object_keys2_1 = tslib_1.__importDefault(require("sort-object-keys2")); const util_1 = require("./util"); /** * a better sort package.json scripts, by default is follow npm lifecycle scripts diff --git a/packages/sort-package-json3/index.js b/packages/sort-package-json3/index.js index 6ba7455e1..808901305 100644 --- a/packages/sort-package-json3/index.js +++ b/packages/sort-package-json3/index.js @@ -5,7 +5,7 @@ const tslib_1 = require("tslib"); // @ts-ignore const sort_package_json_1 = require("sort-package-json"); const sort_package_json_scripts_1 = require("sort-package-json-scripts"); -const is_plain_obj_1 = (0, tslib_1.__importDefault)(require("is-plain-obj")); +const is_plain_obj_1 = tslib_1.__importDefault(require("is-plain-obj")); const sort_exports_1 = require("./lib/sort-exports"); function sortPackageJson(pkg) { pkg = (0, sort_package_json_1.sortPackageJson)(pkg); diff --git a/packages/sort-package-json3/lib/sort-exports.js b/packages/sort-package-json3/lib/sort-exports.js index 1fb24b9a1..2c5597e85 100644 --- a/packages/sort-package-json3/lib/sort-exports.js +++ b/packages/sort-package-json3/lib/sort-exports.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.sortPackageJsonExports = void 0; const tslib_1 = require("tslib"); -const sort_object_keys2_1 = (0, tslib_1.__importDefault)(require("sort-object-keys2")); -const is_plain_obj_1 = (0, tslib_1.__importDefault)(require("is-plain-obj")); +const sort_object_keys2_1 = tslib_1.__importDefault(require("sort-object-keys2")); +const is_plain_obj_1 = tslib_1.__importDefault(require("is-plain-obj")); function sortPackageJsonExports(exports) { if ((0, is_plain_obj_1.default)(exports)) { (0, sort_object_keys2_1.default)(exports, { diff --git a/packages/sync-lockfile/bin/sync-lockfile.js b/packages/sync-lockfile/bin/sync-lockfile.js index f9ce01d42..b37e87232 100644 --- a/packages/sync-lockfile/bin/sync-lockfile.js +++ b/packages/sync-lockfile/bin/sync-lockfile.js @@ -5,8 +5,8 @@ */ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const yargs_1 = (0, tslib_1.__importDefault)(require("yargs")); -const index_1 = (0, tslib_1.__importDefault)(require("../index")); +const yargs_1 = tslib_1.__importDefault(require("yargs")); +const index_1 = tslib_1.__importDefault(require("../index")); let argv = yargs_1.default .option('cwd', { alias: ['c'], diff --git a/packages/sync-lockfile/index.js b/packages/sync-lockfile/index.js index aed62f40c..f2c87603d 100644 --- a/packages/sync-lockfile/index.js +++ b/packages/sync-lockfile/index.js @@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.syncLockfile = void 0; const tslib_1 = require("tslib"); const ws_pkg_list_1 = require("ws-pkg-list"); -const find_root_1 = (0, tslib_1.__importDefault)(require("@yarn-tool/find-root")); -const fs_extra_1 = (0, tslib_1.__importDefault)(require("fs-extra")); -const path_1 = (0, tslib_1.__importDefault)(require("path")); +const find_root_1 = tslib_1.__importDefault(require("@yarn-tool/find-root")); +const fs_extra_1 = tslib_1.__importDefault(require("fs-extra")); +const path_1 = tslib_1.__importDefault(require("path")); function syncLockfile(cwd, options = {}) { const { print, noThrowError } = options; const ws = (0, find_root_1.default)({ diff --git a/packages/workspaces-config/index.js b/packages/workspaces-config/index.js index efe51ca77..6697abbd9 100644 --- a/packages/workspaces-config/index.js +++ b/packages/workspaces-config/index.js @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.findPkg = exports.parseStaticPackagesPaths = exports.parseWorkspaces = exports.getConfig = void 0; const tslib_1 = require("tslib"); -const find_pkg_ws_1 = (0, tslib_1.__importDefault)(require("find-pkg-ws")); +const find_pkg_ws_1 = tslib_1.__importDefault(require("find-pkg-ws")); exports.findPkg = find_pkg_ws_1.default; const fs_extra_1 = require("fs-extra"); const path_1 = require("path"); diff --git a/packages/ws-pkg-list/index.js b/packages/ws-pkg-list/index.js index 7c291fbb2..48dec25d5 100644 --- a/packages/ws-pkg-list/index.js +++ b/packages/ws-pkg-list/index.js @@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const listpkg_1 = require("./lib/listpkg"); -(0, tslib_1.__exportStar)(require("./lib/types"), exports); -(0, tslib_1.__exportStar)(require("./lib/listpkg"), exports); -(0, tslib_1.__exportStar)(require("./lib/readpkg"), exports); -(0, tslib_1.__exportStar)(require("./lib/tsconfig"), exports); -(0, tslib_1.__exportStar)(require("./lib/listable"), exports); -(0, tslib_1.__exportStar)(require("./lib/glob"), exports); -(0, tslib_1.__exportStar)(require("./lib/util"), exports); -(0, tslib_1.__exportStar)(require("./lib/deps-tree"), exports); +tslib_1.__exportStar(require("./lib/types"), exports); +tslib_1.__exportStar(require("./lib/listpkg"), exports); +tslib_1.__exportStar(require("./lib/readpkg"), exports); +tslib_1.__exportStar(require("./lib/tsconfig"), exports); +tslib_1.__exportStar(require("./lib/listable"), exports); +tslib_1.__exportStar(require("./lib/glob"), exports); +tslib_1.__exportStar(require("./lib/util"), exports); +tslib_1.__exportStar(require("./lib/deps-tree"), exports); exports.default = listpkg_1.workspacesPackagesList; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/ws-pkg-list/lib/listpkg.js b/packages/ws-pkg-list/lib/listpkg.js index e6b976a73..818d07ada 100644 --- a/packages/ws-pkg-list/lib/listpkg.js +++ b/packages/ws-pkg-list/lib/listpkg.js @@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.workspacesPackagesList = void 0; const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("find-yarn-workspace-root2/core")); +const core_1 = tslib_1.__importDefault(require("find-yarn-workspace-root2/core")); const workspaces_config_1 = require("workspaces-config"); const upath2_1 = require("upath2"); -const fast_glob_1 = (0, tslib_1.__importDefault)(require("@bluelovers/fast-glob")); +const fast_glob_1 = tslib_1.__importDefault(require("@bluelovers/fast-glob")); function workspacesPackagesList(cwd, absolute) { if (typeof cwd === 'boolean') { // @ts-ignore diff --git a/packages/ws-pkg-list/lib/tsconfig.js b/packages/ws-pkg-list/lib/tsconfig.js index 8b0f3a4f0..b54cf7b03 100644 --- a/packages/ws-pkg-list/lib/tsconfig.js +++ b/packages/ws-pkg-list/lib/tsconfig.js @@ -8,7 +8,7 @@ const tslib_1 = require("tslib"); const readpkg_1 = require("./readpkg"); const array_hyper_unique_1 = require("array-hyper-unique"); const upath2_1 = require("upath2"); -const listpkg_1 = (0, tslib_1.__importDefault)(require("./listpkg")); +const listpkg_1 = tslib_1.__importDefault(require("./listpkg")); function tsConfigPaths(ls) { let cwd; if (typeof ls == 'string') { diff --git a/packages/ws-root-run/index.js b/packages/ws-root-run/index.js index 3a7fb3b63..b04fb6ab3 100644 --- a/packages/ws-root-run/index.js +++ b/packages/ws-root-run/index.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.spawnWsRootExecSync = exports.spawnWsRootRunSync = exports.spawnWsRootExec = exports.spawnWsRootRun = void 0; const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("find-yarn-workspace-root2/core")); -const cross_spawn_extra_1 = (0, tslib_1.__importDefault)(require("cross-spawn-extra")); +const core_1 = tslib_1.__importDefault(require("find-yarn-workspace-root2/core")); +const cross_spawn_extra_1 = tslib_1.__importDefault(require("cross-spawn-extra")); function spawnWsRootRun(argv, opts) { let cwd = (0, core_1.default)(opts === null || opts === void 0 ? void 0 : opts.cwd); return cross_spawn_extra_1.default.async((opts === null || opts === void 0 ? void 0 : opts.npmClient) || 'yarn', [ diff --git a/packages/yarn-cmd-module/index.js b/packages/yarn-cmd-module/index.js index 766531987..ae671c574 100644 --- a/packages/yarn-cmd-module/index.js +++ b/packages/yarn-cmd-module/index.js @@ -96,53 +96,53 @@ class YargsCommandModule { }; } } -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Object), - (0, tslib_1.__metadata)("design:paramtypes", [Object]) + tslib_1.__metadata("design:type", Object), + tslib_1.__metadata("design:paramtypes", [Object]) ], YargsCommandModule.prototype, "command", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Object), - (0, tslib_1.__metadata)("design:paramtypes", [Object]) + tslib_1.__metadata("design:type", Object), + tslib_1.__metadata("design:paramtypes", [Object]) ], YargsCommandModule.prototype, "describe", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Object), - (0, tslib_1.__metadata)("design:paramtypes", [Object]) + tslib_1.__metadata("design:type", Object), + tslib_1.__metadata("design:paramtypes", [Object]) ], YargsCommandModule.prototype, "aliases", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Object), - (0, tslib_1.__metadata)("design:paramtypes", []) + tslib_1.__metadata("design:type", Object), + tslib_1.__metadata("design:paramtypes", []) ], YargsCommandModule.prototype, "builder", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Object), - (0, tslib_1.__metadata)("design:paramtypes", []) + tslib_1.__metadata("design:type", Object), + tslib_1.__metadata("design:paramtypes", []) ], YargsCommandModule.prototype, "yargs", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", []) + tslib_1.__metadata("design:type", Function), + tslib_1.__metadata("design:paramtypes", []) ], YargsCommandModule.prototype, "handler", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Function]), - (0, tslib_1.__metadata)("design:returntype", void 0) + tslib_1.__metadata("design:type", Function), + tslib_1.__metadata("design:paramtypes", [Function]), + tslib_1.__metadata("design:returntype", void 0) ], YargsCommandModule.prototype, "setHandler", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Function]), - (0, tslib_1.__metadata)("design:returntype", void 0) + tslib_1.__metadata("design:type", Function), + tslib_1.__metadata("design:paramtypes", [Function]), + tslib_1.__metadata("design:returntype", void 0) ], YargsCommandModule.prototype, "newHandler", null); -(0, tslib_1.__decorate)([ +tslib_1.__decorate([ core_decorators_1.autobind, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", []), - (0, tslib_1.__metadata)("design:returntype", void 0) + tslib_1.__metadata("design:type", Function), + tslib_1.__metadata("design:paramtypes", []), + tslib_1.__metadata("design:returntype", void 0) ], YargsCommandModule.prototype, "toValue", null); exports.YargsCommandModule = YargsCommandModule; exports.default = YargsCommandModule; diff --git a/packages/yarn-list-link/bin/yarn-list-link.js b/packages/yarn-list-link/bin/yarn-list-link.js index 1e7765898..2c8ae821d 100644 --- a/packages/yarn-list-link/bin/yarn-list-link.js +++ b/packages/yarn-list-link/bin/yarn-list-link.js @@ -2,7 +2,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("../core")); +const core_1 = tslib_1.__importDefault(require("../core")); let cwd = process.cwd(); let ls = (0, core_1.default)(cwd); if (ls && ls.length) { diff --git a/packages/yarn-list-link/core.js b/packages/yarn-list-link/core.js index 3d501ad24..60483e35c 100644 --- a/packages/yarn-list-link/core.js +++ b/packages/yarn-list-link/core.js @@ -7,7 +7,7 @@ exports.yarnListLink = exports.yarnListLinkCore = exports.getYarnIntegrityPath = const tslib_1 = require("tslib"); const fs_extra_1 = require("fs-extra"); const upath2_1 = require("upath2"); -const core_1 = (0, tslib_1.__importDefault)(require("find-yarn-workspace-root2/core")); +const core_1 = tslib_1.__importDefault(require("find-yarn-workspace-root2/core")); function getYarnIntegrityPath(cwd) { return (0, upath2_1.join)(cwd, 'node_modules', '.yarn-integrity'); } diff --git a/packages/yarn-list-link/index.js b/packages/yarn-list-link/index.js index 3af7c3b5c..77a3fcb0c 100644 --- a/packages/yarn-list-link/index.js +++ b/packages/yarn-list-link/index.js @@ -3,6 +3,6 @@ * Created by user on 2018/9/20/020. */ const tslib_1 = require("tslib"); -const core_1 = (0, tslib_1.__importDefault)(require("./core")); +const core_1 = tslib_1.__importDefault(require("./core")); module.exports = core_1.default; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/yarn-list-link/index.js.map b/packages/yarn-list-link/index.js.map index 24663d5de..09c66d6b6 100644 --- a/packages/yarn-list-link/index.js.map +++ b/packages/yarn-list-link/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAEH,+DAAkC;AAElC,iBAAS,cAAY,CAAC","sourcesContent":["/**\n * Created by user on 2018/9/20/020.\n */\n\nimport yarnListLink from './core';\n\nexport = yarnListLink;\n"]} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAEH,0DAAkC;AAElC,iBAAS,cAAY,CAAC","sourcesContent":["/**\n * Created by user on 2018/9/20/020.\n */\n\nimport yarnListLink from './core';\n\nexport = yarnListLink;\n"]} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index a740782b1..cd8bb3aa4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -353,62 +353,62 @@ resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210" integrity sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw== -"@git-lazy/debug@^1.0.10": - version "1.0.10" - resolved "https://registry.npmjs.org/@git-lazy/debug/-/debug-1.0.10.tgz#44d4a11abaa5b6aae18c03d13f1ba59c823abefb" - integrity sha512-c+txHAxfvUl1vd7IHD3hY2j0Czf8Ij5JloX0O+bwuORppAiwTkEkAQN1Vxo4j/h3aN1z4zoGFFyy4N7XFuV16Q== +"@git-lazy/debug@^1.0.11": + version "1.0.11" + resolved "https://registry.npmjs.org/@git-lazy/debug/-/debug-1.0.11.tgz#45388dc7245dd430265c51a1ea3a563654f5e27b" + integrity sha512-RzaGnlhZiwL8cL+sVuKZXpYiUozJsQ5ttV2amPm2ta5pnhHbACW3Mu3FOuwIoK0CGfUAxO7TBmP8iLHC/BWKiQ== dependencies: - debug "^4.3.2" + debug "^4.3.3" debug-color2 "^1.2.7" tslib "^2.3.1" -"@git-lazy/diff-staged@^1.0.29": - version "1.0.29" - resolved "https://registry.npmjs.org/@git-lazy/diff-staged/-/diff-staged-1.0.29.tgz#ee3078f2634436c69df1929a51fee4279bc492d2" - integrity sha512-qPShxX2/DCoqo7cp54smFOhjOEioNB1EXIBdOY0iAexOr9n8Um66PyH9/AcBBqjfyxQUhJ0KkEIvfwqEVD6VDg== +"@git-lazy/diff-staged@^1.0.30": + version "1.0.30" + resolved "https://registry.npmjs.org/@git-lazy/diff-staged/-/diff-staged-1.0.30.tgz#054222b5b267993086d7539df91e1cc0b4f2d073" + integrity sha512-ZJxfZClMXXl1jN0zUq8Ku1f/aAGEbGhiex5Ej4euklvk8qnllaiok1Y2Kr9bThL12L3CJgfHSMNoPolcSgOy3g== dependencies: - "@git-lazy/root" "^1.0.24" - "@git-lazy/spawn" "^1.0.27" + "@git-lazy/root" "^1.0.25" + "@git-lazy/spawn" "^1.0.28" tslib "^2.3.1" -"@git-lazy/info@^1.0.27": - version "1.0.27" - resolved "https://registry.npmjs.org/@git-lazy/info/-/info-1.0.27.tgz#38afb4bfd98d550b3e81f669e7b44b3345463207" - integrity sha512-a0US6V/wLxBQL0togT9km8cF/NRsvGwdi1GH+T/XWZSPFDTNENnSiMokNXrhLdoZe9ozIMs6NQGkwUkLP1/1QA== +"@git-lazy/info@^1.0.28": + version "1.0.28" + resolved "https://registry.npmjs.org/@git-lazy/info/-/info-1.0.28.tgz#2dc7b1a121da6c893622bb50359ee006ced5481d" + integrity sha512-7lOYqPoCtCBzjkzQSw2xhQuURvLXaCQvp4W63zDHKqpKcIy3KCi8tiLM3iUV5wqd/GZ9rg+sMU349E8mu9J/WQ== dependencies: - git-root2 "^1.0.25" + git-root2 "^1.0.26" glob-search "^2.0.8" parse-git-config "^3.0.0" tslib "^2.3.1" -"@git-lazy/root@^1.0.24": - version "1.0.24" - resolved "https://registry.npmjs.org/@git-lazy/root/-/root-1.0.24.tgz#3a2ed94c865f45d5e9e349066a902c69ccb5e08c" - integrity sha512-dH4nwMKBl5ewrplCe9mfu1hBQI23GB0Eavxf3fBK+gmVtec9DZJgmcTe/e7L709Eamd9fmBU2jMqJ31EdAp9eQ== +"@git-lazy/root@^1.0.25": + version "1.0.25" + resolved "https://registry.npmjs.org/@git-lazy/root/-/root-1.0.25.tgz#ca9dfef8b200b0c7a276b5d591a3f408eef5c486" + integrity sha512-2wfW4bo1CPD9HrwhODhXIVkqByOigGO4z/E6dSamBYS5eJQoMIomxedAu23wTW/3rOzaM0KzSneGW0/pDAEWgQ== dependencies: - git-root2 "^1.0.25" + git-root2 "^1.0.26" tslib "^2.3.1" -"@git-lazy/spawn@^1.0.27": - version "1.0.27" - resolved "https://registry.npmjs.org/@git-lazy/spawn/-/spawn-1.0.27.tgz#5e0c926ee4c2c5daf8690529d8892d7c54b34f95" - integrity sha512-TxrLlqlguzicj/ss5q+UwRsFMDUakRW5kuu1yNf3GCvEuWMXNhGmAuLz2HRDlgUF2S2wbWUXuiJIIHSYzMsGjw== +"@git-lazy/spawn@^1.0.28": + version "1.0.28" + resolved "https://registry.npmjs.org/@git-lazy/spawn/-/spawn-1.0.28.tgz#481a8973486d2019fce4f9e1ca671b2ff0e7a51f" + integrity sha512-S6qxPAWVuyjvEenBu3b+Po1fOxT3Yk898Zv/J124Kqhfz3b4kBA7O7Tfw0t5gLH6e52A07dxUlA+wyAg6yML/w== dependencies: - "@git-lazy/debug" "^1.0.10" + "@git-lazy/debug" "^1.0.11" "@lazy-glob/sort-tree" "^1.0.6" - array-hyper-unique "^1.1.10" + array-hyper-unique "^2.0.6" bluebird "^3.7.2" crlf-normalize "^1.0.6" cross-spawn-extra "^2.1.0" debug-color2 "^1.2.7" tslib "^2.3.1" -"@git-lazy/tag@^1.0.8": - version "1.0.8" - resolved "https://registry.npmjs.org/@git-lazy/tag/-/tag-1.0.8.tgz#8b2974621a7b792f9d1926ef5e383c10b551c65b" - integrity sha512-jyjt3iTXVlY5RmmAWXQ646NOPFe4D4TRM0t5KGEEFTCjMxTR+a3K1jX7cBlxYsN5y8g1N7EEMGRFYB8vSqoHCg== +"@git-lazy/tag@^1.0.9": + version "1.0.9" + resolved "https://registry.npmjs.org/@git-lazy/tag/-/tag-1.0.9.tgz#3589da3f7f736d67a837759b9ce343bf38145665" + integrity sha512-oRvGttOCRZQnehQwlylb0/XGv4MCrLSuoeCIYKRbwSinwmC8wToNyAZmVlwQ84hqmDpCApKJoeVioSgKcBW+gQ== dependencies: - "@git-lazy/spawn" "^1.0.27" + "@git-lazy/spawn" "^1.0.28" tslib "^2.3.1" "@hutson/parse-repository-url@^3.0.0": @@ -453,15 +453,15 @@ jest-util "^27.4.2" slash "^3.0.0" -"@jest/core@^27.4.3": - version "27.4.3" - resolved "https://registry.npmjs.org/@jest/core/-/core-27.4.3.tgz#9b9b34f4e6429a633085f476402aa2e3ce707877" - integrity sha512-V9ms3zSxUHxh1E/ZLAiXF7SLejsdFnjWTFizWotMOWvjho0lW5kSjZymhQSodNW0T0ZMQRiha7f8+NcFVm3hJQ== +"@jest/core@^27.4.5": + version "27.4.5" + resolved "https://registry.npmjs.org/@jest/core/-/core-27.4.5.tgz#cae2dc34259782f4866c6606c3b480cce920ed4c" + integrity sha512-3tm/Pevmi8bDsgvo73nX8p/WPng6KWlCyScW10FPEoN1HU4pwI83tJ3TsFvi1FfzsjwUlMNEPowgb/rPau/LTQ== dependencies: "@jest/console" "^27.4.2" - "@jest/reporters" "^27.4.2" + "@jest/reporters" "^27.4.5" "@jest/test-result" "^27.4.2" - "@jest/transform" "^27.4.2" + "@jest/transform" "^27.4.5" "@jest/types" "^27.4.2" "@types/node" "*" ansi-escapes "^4.2.1" @@ -470,15 +470,15 @@ exit "^0.1.2" graceful-fs "^4.2.4" jest-changed-files "^27.4.2" - jest-config "^27.4.3" - jest-haste-map "^27.4.2" + jest-config "^27.4.5" + jest-haste-map "^27.4.5" jest-message-util "^27.4.2" jest-regex-util "^27.4.0" - jest-resolve "^27.4.2" - jest-resolve-dependencies "^27.4.2" - jest-runner "^27.4.3" - jest-runtime "^27.4.2" - jest-snapshot "^27.4.2" + jest-resolve "^27.4.5" + jest-resolve-dependencies "^27.4.5" + jest-runner "^27.4.5" + jest-runtime "^27.4.5" + jest-snapshot "^27.4.5" jest-util "^27.4.2" jest-validate "^27.4.2" jest-watcher "^27.4.2" @@ -487,10 +487,10 @@ slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^27.4.2": - version "27.4.2" - resolved "https://registry.npmjs.org/@jest/environment/-/environment-27.4.2.tgz#03efabce528dbb09bffd3ec7e39bb0f3f7475cc2" - integrity sha512-uSljKxh/rGlHlmhyeG4ZoVK9hOec+EPBkwTHkHKQ2EqDu5K+MaG9uJZ8o1CbRsSdZqSuhXvJCYhBWsORPPg6qw== +"@jest/environment@^27.4.4": + version "27.4.4" + resolved "https://registry.npmjs.org/@jest/environment/-/environment-27.4.4.tgz#66ebebc79673d84aad29d2bb70a8c51e6c29bb4d" + integrity sha512-q+niMx7cJgt/t/b6dzLOh4W8Ef/8VyKG7hxASK39jakijJzbFBGpptx3RXz13FFV7OishQ9lTbv+dQ5K3EhfDQ== dependencies: "@jest/fake-timers" "^27.4.2" "@jest/types" "^27.4.2" @@ -509,24 +509,24 @@ jest-mock "^27.4.2" jest-util "^27.4.2" -"@jest/globals@^27.4.2": - version "27.4.2" - resolved "https://registry.npmjs.org/@jest/globals/-/globals-27.4.2.tgz#56a402c5ebf22eba1d34e900772147f5126ea2d8" - integrity sha512-KkfaHEttlGpXYAQTZHgrESiEPx2q/DKAFLGLFda1uGVrqc17snd3YVPhOxlXOHIzVPs+lQ/SDB2EIvxyGzb3Ew== +"@jest/globals@^27.4.4": + version "27.4.4" + resolved "https://registry.npmjs.org/@jest/globals/-/globals-27.4.4.tgz#fe501a80c23ea2dab585c42be2a519bb5e38530d" + integrity sha512-bqpqQhW30BOreXM8bA8t8JbOQzsq/WnPTnBl+It3UxAD9J8yxEAaBEylHx1dtBapAr/UBk8GidXbzmqnee8tYQ== dependencies: - "@jest/environment" "^27.4.2" + "@jest/environment" "^27.4.4" "@jest/types" "^27.4.2" expect "^27.4.2" -"@jest/reporters@^27.4.2": - version "27.4.2" - resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-27.4.2.tgz#d3860c5d3f668fa1326ab2bf5989f774e5c03f04" - integrity sha512-sp4aqmdBJtjKetEakzDPcZggPcVIF6w9QLkYBbaWDV6e/SIsHnF1S4KtIH91eEc2fp7ep6V/e1xvdfEoho1d2w== +"@jest/reporters@^27.4.5": + version "27.4.5" + resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-27.4.5.tgz#e229acca48d18ea39e805540c1c322b075ae63ad" + integrity sha512-3orsG4vi8zXuBqEoy2LbnC1kuvkg1KQUgqNxmxpQgIOQEPeV0onvZu+qDQnEoX8qTQErtqn/xzcnbpeTuOLSiA== dependencies: "@bcoe/v8-coverage" "^0.2.3" "@jest/console" "^27.4.2" "@jest/test-result" "^27.4.2" - "@jest/transform" "^27.4.2" + "@jest/transform" "^27.4.5" "@jest/types" "^27.4.2" "@types/node" "*" chalk "^4.0.0" @@ -539,10 +539,10 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^27.4.2" - jest-resolve "^27.4.2" + jest-haste-map "^27.4.5" + jest-resolve "^27.4.5" jest-util "^27.4.2" - jest-worker "^27.4.2" + jest-worker "^27.4.5" slash "^3.0.0" source-map "^0.6.0" string-length "^4.0.1" @@ -586,20 +586,20 @@ "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^27.4.2": - version "27.4.2" - resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.4.2.tgz#94bb7e5412d59ae2a8a4b8f9925bb16b6dc82b4c" - integrity sha512-HmHp5mlh9f9GyNej5yCS1JZIFfUGnP9+jEOH5zoq5EmsuZeYD+dGULqyvGDPtuzzbyAFJ6R4+z4SS0VvnFwwGQ== +"@jest/test-sequencer@^27.4.5": + version "27.4.5" + resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-27.4.5.tgz#1d7e026844d343b60d2ca7fd82c579a17b445d7d" + integrity sha512-n5woIn/1v+FT+9hniymHPARA9upYUmfi5Pw9ewVwXCDlK4F5/Gkees9v8vdjGdAIJ2MPHLHodiajLpZZanWzEQ== dependencies: "@jest/test-result" "^27.4.2" graceful-fs "^4.2.4" - jest-haste-map "^27.4.2" - jest-runtime "^27.4.2" + jest-haste-map "^27.4.5" + jest-runtime "^27.4.5" -"@jest/transform@^27.4.2": - version "27.4.2" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-27.4.2.tgz#459885e96de2e21fc68b8b371e90aa653966dd0d" - integrity sha512-RTKcPZllfcmLfnlxBya7aypofhdz05+E6QITe55Ex0rxyerkgjmmpMlvVn11V0cP719Ps6WcDYCnDzxnnJUwKg== +"@jest/transform@^27.4.5": + version "27.4.5" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-27.4.5.tgz#3dfe2e3680cd4aa27356172bf25617ab5b94f195" + integrity sha512-PuMet2UlZtlGzwc6L+aZmR3I7CEBpqadO03pU40l2RNY2fFJ191b9/ITB44LNOhVtsyykx0OZvj0PCyuLm7Eew== dependencies: "@babel/core" "^7.1.0" "@jest/types" "^27.4.2" @@ -608,7 +608,7 @@ convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.4" - jest-haste-map "^27.4.2" + jest-haste-map "^27.4.5" jest-regex-util "^27.4.0" jest-util "^27.4.2" micromatch "^4.0.4" @@ -1274,10 +1274,10 @@ resolved "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== -"@types/node@*", "@types/node@^16.11.12": - version "16.11.12" - resolved "https://registry.npmjs.org/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10" - integrity sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw== +"@types/node@*", "@types/node@^17.0.0": + version "17.0.0" + resolved "https://registry.npmjs.org/@types/node/-/node-17.0.0.tgz#62797cee3b8b497f6547503b2312254d4fe3c2bb" + integrity sha512-eMhwJXc931Ihh4tkU+Y7GiLzT/y/DBNpNtr4yU9O2w3SYBsr9NaOPhQlLKRmoWtI54uNwuo0IOUFQjVOTZYRvw== "@types/node@^13.1.6": version "13.13.52" @@ -1714,12 +1714,12 @@ aws4@^1.8.0: resolved "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-jest@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-27.4.2.tgz#6edf80971045cfd44f3f10b6eda6007d95f62742" - integrity sha512-MADrjb3KBO2eyZCAc6QaJg6RT5u+6oEdDyHO5HEalnpwQ6LrhTsQF2Kj1Wnz2t6UPXIXPk18dSXXOT0wF5yTxA== +babel-jest@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-27.4.5.tgz#d38bd0be8ea71d8b97853a5fc9f76deeb095c709" + integrity sha512-3uuUTjXbgtODmSv/DXO9nZfD52IyC2OYTFaXGRzL0kpykzroaquCrD5+lZNafTvZlnNqZHt5pb0M08qVBZnsnA== dependencies: - "@jest/transform" "^27.4.2" + "@jest/transform" "^27.4.5" "@jest/types" "^27.4.2" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.0.0" @@ -2622,7 +2622,14 @@ debug-color2@^1.2.7: ts-type "^1.2.35" tslib "^2.3.0" -debug@4, debug@4.3.2, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3: + version "4.3.3" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" + integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== + dependencies: + ms "2.1.2" + +debug@4.3.2: version "4.3.2" resolved "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== @@ -3476,12 +3483,12 @@ git-remote-origin-url@^2.0.0: gitconfiglocal "^1.0.0" pify "^2.3.0" -git-root2@^1.0.25: - version "1.0.25" - resolved "https://registry.npmjs.org/git-root2/-/git-root2-1.0.25.tgz#3a0a18939fe2c2e8069a6e2fc2e12fdd518695db" - integrity sha512-YNq5S3r3J+An9S4s5Zr9PfERUUX4CYGuce3lj13CSdA5/8W7sMBZ96Fkm9uMZyMFQvgvMo6iVLSK8AngjS0iPw== +git-root2@^1.0.26: + version "1.0.26" + resolved "https://registry.npmjs.org/git-root2/-/git-root2-1.0.26.tgz#515ef821c7c8c169b91376de5c6c9ebb7242869c" + integrity sha512-L0C3+lE8bqQT52u15ObqxHkIqjoDqNEhv9EYVn4jmtnMEnf3jeD5JgN6aJYVpmkza9mklLuFjq5q/ungAov8Yg== dependencies: - "@git-lazy/spawn" "^1.0.27" + "@git-lazy/spawn" "^1.0.28" tslib "^2.3.1" upath2 "^3.1.10" @@ -4309,12 +4316,12 @@ jest-changed-files@^27.4.2: execa "^5.0.0" throat "^6.0.1" -jest-circus@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-27.4.2.tgz#466f482207ca9f323b78416c28f4d1fa7588159a" - integrity sha512-2ePUSru1BGMyzxsMvRfu+tNb+PW60rUyMLJBfw1Nrh5zC8RoTPfF+zbE0JToU31a6ZVe4nnrNKWYRzlghAbL0A== +jest-circus@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-27.4.5.tgz#70bfb78e0200cab9b84747bf274debacaa538467" + integrity sha512-eTNWa9wsvBwPykhMMShheafbwyakcdHZaEYh5iRrQ0PFJxkDP/e3U/FvzGuKWu2WpwUA3C3hPlfpuzvOdTVqnw== dependencies: - "@jest/environment" "^27.4.2" + "@jest/environment" "^27.4.4" "@jest/test-result" "^27.4.2" "@jest/types" "^27.4.2" "@types/node" "*" @@ -4326,54 +4333,54 @@ jest-circus@^27.4.2: jest-each "^27.4.2" jest-matcher-utils "^27.4.2" jest-message-util "^27.4.2" - jest-runtime "^27.4.2" - jest-snapshot "^27.4.2" + jest-runtime "^27.4.5" + jest-snapshot "^27.4.5" jest-util "^27.4.2" pretty-format "^27.4.2" slash "^3.0.0" stack-utils "^2.0.3" throat "^6.0.1" -jest-cli@^27.4.3: - version "27.4.3" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-27.4.3.tgz#89acba683b9f91c7a5e342e2ea13aa5414836a0d" - integrity sha512-zZSJBXNC/i8UnJPwcKWsqnhGgIF3uoTYP7th32Zej7KNQJdxzOMj+wCfy2Ox3kU7nXErJ36DtYyXDhfiqaiDRw== +jest-cli@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-27.4.5.tgz#8708f54c28d13681f3255ec9026a2b15b03d41e8" + integrity sha512-hrky3DSgE0u7sQxaCL7bdebEPHx5QzYmrGuUjaPLmPE8jx5adtvGuOlRspvMoVLTTDOHRnZDoRLYJuA+VCI7Hg== dependencies: - "@jest/core" "^27.4.3" + "@jest/core" "^27.4.5" "@jest/test-result" "^27.4.2" "@jest/types" "^27.4.2" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" import-local "^3.0.2" - jest-config "^27.4.3" + jest-config "^27.4.5" jest-util "^27.4.2" jest-validate "^27.4.2" prompts "^2.0.1" yargs "^16.2.0" -jest-config@^27.4.3: - version "27.4.3" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-27.4.3.tgz#7820e08f7526fa3f725423e2f0fa7888ee0ef9c9" - integrity sha512-DQ10HTSqYtC2pO7s9j2jw+li4xUnm2wLYWH2o7K1ftB8NyvToHsXoLlXxtsGh3AW9gUQR6KY/4B7G+T/NswJBw== +jest-config@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-27.4.5.tgz#77ed7f2ba7bcfd7d740ade711d0d13512e08a59e" + integrity sha512-t+STVJtPt+fpqQ8GBw850NtSQbnDOw/UzdPfzDaHQ48/AylQlW7LHj3dH+ndxhC1UxJ0Q3qkq7IH+nM1skwTwA== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^27.4.2" + "@jest/test-sequencer" "^27.4.5" "@jest/types" "^27.4.2" - babel-jest "^27.4.2" + babel-jest "^27.4.5" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" glob "^7.1.1" graceful-fs "^4.2.4" - jest-circus "^27.4.2" - jest-environment-jsdom "^27.4.3" - jest-environment-node "^27.4.2" + jest-circus "^27.4.5" + jest-environment-jsdom "^27.4.4" + jest-environment-node "^27.4.4" jest-get-type "^27.4.0" - jest-jasmine2 "^27.4.2" + jest-jasmine2 "^27.4.5" jest-regex-util "^27.4.0" - jest-resolve "^27.4.2" - jest-runner "^27.4.3" + jest-resolve "^27.4.5" + jest-runner "^27.4.5" jest-util "^27.4.2" jest-validate "^27.4.2" micromatch "^4.0.4" @@ -4426,12 +4433,12 @@ jest-each@^27.4.2: jest-util "^27.4.2" pretty-format "^27.4.2" -jest-environment-jsdom@^27.4.3: - version "27.4.3" - resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.4.3.tgz#74198285f6284888ca9c7486c4e5e67add75aa53" - integrity sha512-x1AUVz3G14LpEJs7KIFUaTINT2n0unOUmvdAby3s/sldUpJJetOJifHo1O/EUQC5fNBowggwJbVulko18y6OWw== +jest-environment-jsdom@^27.4.4: + version "27.4.4" + resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-27.4.4.tgz#94f738e99514d7a880e8ed8e03e3a321d43b49db" + integrity sha512-cYR3ndNfHBqQgFvS1RL7dNqSvD//K56j/q1s2ygNHcfTCAp12zfIromO1w3COmXrxS8hWAh7+CmZmGCIoqGcGA== dependencies: - "@jest/environment" "^27.4.2" + "@jest/environment" "^27.4.4" "@jest/fake-timers" "^27.4.2" "@jest/types" "^27.4.2" "@types/node" "*" @@ -4439,12 +4446,12 @@ jest-environment-jsdom@^27.4.3: jest-util "^27.4.2" jsdom "^16.6.0" -jest-environment-node@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.4.2.tgz#bf5586a0924a8d21c13838121ac0941638c7d15e" - integrity sha512-nzTZ5nJ+FabuZPH2YVci7SZIHpvtNRHPt8+vipLkCnAgXGjVzHm7XJWdnNqXbAkExIgiKeVEkVMNZOZE/LeiIg== +jest-environment-node@^27.4.4: + version "27.4.4" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-27.4.4.tgz#42fe5e3b224cb69b99811ebf6f5eaa5a59618514" + integrity sha512-D+v3lbJ2GjQTQR23TK0kY3vFVmSeea05giInI41HHOaJnAwOnmUHTZgUaZL+VxUB43pIzoa7PMwWtCVlIUoVoA== dependencies: - "@jest/environment" "^27.4.2" + "@jest/environment" "^27.4.4" "@jest/fake-timers" "^27.4.2" "@jest/types" "^27.4.2" "@types/node" "*" @@ -4461,10 +4468,10 @@ jest-get-type@^27.4.0: resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.4.0.tgz#7503d2663fffa431638337b3998d39c5e928e9b5" integrity sha512-tk9o+ld5TWq41DkK14L4wox4s2D9MtTpKaAVzXfr5CUKm5ZK2ExcaFE0qls2W71zE/6R2TxxrK9w2r6svAFDBQ== -jest-haste-map@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.4.2.tgz#7fc7d5e568cca704284f4850885b74a0b8b87587" - integrity sha512-foiyAEePORUN2eeJnOtcM1y8qW0ShEd9kTjWVL4sVaMcuCJM6gtHegvYPBRT0mpI/bs4ueThM90+Eoj2ncoNsA== +jest-haste-map@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.4.5.tgz#c2921224a59223f91e03ec15703905978ef0cc1a" + integrity sha512-oJm1b5qhhPs78K24EDGifWS0dELYxnoBiDhatT/FThgB9yxqUm5F6li3Pv+Q+apMBmmPNzOBnZ7ZxWMB1Leq1Q== dependencies: "@jest/types" "^27.4.2" "@types/graceful-fs" "^4.1.2" @@ -4475,19 +4482,19 @@ jest-haste-map@^27.4.2: jest-regex-util "^27.4.0" jest-serializer "^27.4.0" jest-util "^27.4.2" - jest-worker "^27.4.2" + jest-worker "^27.4.5" micromatch "^4.0.4" walker "^1.0.7" optionalDependencies: fsevents "^2.3.2" -jest-jasmine2@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.4.2.tgz#c956c88b9c05ca22afdc779deebc2890cb891797" - integrity sha512-VO/fyAJSH9u0THjbteFiL8qc93ufU+yW+bdieDc8tzTCWwlWzO53UHS5nFK1qmE8izb5Smkn+XHlVt6/l06MKQ== +jest-jasmine2@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-27.4.5.tgz#ff79d11561679ff6c89715b0cd6b1e8c0dfbc6dc" + integrity sha512-oUnvwhJDj2LhOiUB1kdnJjkx8C5PwgUZQb9urF77mELH9DGR4e2GqpWQKBOYXWs5+uTN9BGDqRz3Aeg5Wts7aw== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^27.4.2" + "@jest/environment" "^27.4.4" "@jest/source-map" "^27.4.0" "@jest/test-result" "^27.4.2" "@jest/types" "^27.4.2" @@ -4499,8 +4506,8 @@ jest-jasmine2@^27.4.2: jest-each "^27.4.2" jest-matcher-utils "^27.4.2" jest-message-util "^27.4.2" - jest-runtime "^27.4.2" - jest-snapshot "^27.4.2" + jest-runtime "^27.4.5" + jest-snapshot "^27.4.5" jest-util "^27.4.2" pretty-format "^27.4.2" throat "^6.0.1" @@ -4585,14 +4592,14 @@ jest-regex-util@^27.4.0: resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.4.0.tgz#e4c45b52653128843d07ad94aec34393ea14fbca" integrity sha512-WeCpMpNnqJYMQoOjm1nTtsgbR4XHAk1u00qDoNBQoykM280+/TmgA5Qh5giC1ecy6a5d4hbSsHzpBtu5yvlbEg== -jest-resolve-dependencies@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.4.2.tgz#2f4f363cca26f75a22aefd496f9c7ae65b3de37f" - integrity sha512-hb++cTpqvOWfU49MCP/JQkxmnrhKoAVqXWFjgYXswRSVGk8Q6bDTSvhbCeYXDtXaymY0y7WrrSIlKogClcKJuw== +jest-resolve-dependencies@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-27.4.5.tgz#9398af854bdb12d6a9e5a8a536ee401f889a3ecf" + integrity sha512-elEVvkvRK51y037NshtEkEnukMBWvlPzZHiL847OrIljJ8yIsujD2GXRPqDXC4rEVKbcdsy7W0FxoZb4WmEs7w== dependencies: "@jest/types" "^27.4.2" jest-regex-util "^27.4.0" - jest-snapshot "^27.4.2" + jest-snapshot "^27.4.5" jest-resolve@^24.9.0: version "24.9.0" @@ -4605,15 +4612,15 @@ jest-resolve@^24.9.0: jest-pnp-resolver "^1.2.1" realpath-native "^1.1.0" -jest-resolve@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.4.2.tgz#d3e4cbee7acb4a4f8c8bfc270767bec34d2aefaf" - integrity sha512-d/zqPjxCzMqHlOdRTg8cTpO9jY+1/T74KazT8Ws/LwmwxV5sRMWOkiLjmzUCDj/5IqA5XHNK4Hkmlq9Kdpb9Sg== +jest-resolve@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.4.5.tgz#8dc44f5065fb8d58944c20f932cb7b9fe9760cca" + integrity sha512-xU3z1BuOz/hUhVUL+918KqUgK+skqOuUsAi7A+iwoUldK6/+PW+utK8l8cxIWT9AW7IAhGNXjSAh1UYmjULZZw== dependencies: "@jest/types" "^27.4.2" chalk "^4.0.0" graceful-fs "^4.2.4" - jest-haste-map "^27.4.2" + jest-haste-map "^27.4.5" jest-pnp-resolver "^1.2.2" jest-util "^27.4.2" jest-validate "^27.4.2" @@ -4621,15 +4628,15 @@ jest-resolve@^27.4.2: resolve.exports "^1.1.0" slash "^3.0.0" -jest-runner@^27.4.3: - version "27.4.3" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-27.4.3.tgz#9f05d4733829787778e8a143ade913834d0828dc" - integrity sha512-JgR6Om/j22Fd6ZUUIGTWNcCtuZVYbNrecb4k89W4UyFJoRtHpo2zMKWkmFFFJoqwWGrfrcPLnVBIgkJiTV3cyA== +jest-runner@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-27.4.5.tgz#daba2ba71c8f34137dc7ac45616add35370a681e" + integrity sha512-/irauncTfmY1WkTaRQGRWcyQLzK1g98GYG/8QvIPviHgO1Fqz1JYeEIsSfF+9mc/UTA6S+IIHFgKyvUrtiBIZg== dependencies: "@jest/console" "^27.4.2" - "@jest/environment" "^27.4.2" + "@jest/environment" "^27.4.4" "@jest/test-result" "^27.4.2" - "@jest/transform" "^27.4.2" + "@jest/transform" "^27.4.5" "@jest/types" "^27.4.2" "@types/node" "*" chalk "^4.0.0" @@ -4637,29 +4644,29 @@ jest-runner@^27.4.3: exit "^0.1.2" graceful-fs "^4.2.4" jest-docblock "^27.4.0" - jest-environment-jsdom "^27.4.3" - jest-environment-node "^27.4.2" - jest-haste-map "^27.4.2" + jest-environment-jsdom "^27.4.4" + jest-environment-node "^27.4.4" + jest-haste-map "^27.4.5" jest-leak-detector "^27.4.2" jest-message-util "^27.4.2" - jest-resolve "^27.4.2" - jest-runtime "^27.4.2" + jest-resolve "^27.4.5" + jest-runtime "^27.4.5" jest-util "^27.4.2" - jest-worker "^27.4.2" + jest-worker "^27.4.5" source-map-support "^0.5.6" throat "^6.0.1" -jest-runtime@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.4.2.tgz#d72da8a0e97366c16ad515a2c437191a72600d38" - integrity sha512-eqPgcBaUNaw6j8T5M+dnfAEh6MIrh2YmtskCr9sl50QYpD22Sg+QqHw3J3nmaLzVMbBtOMHFFxLF0Qx8MsZVFQ== +jest-runtime@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-27.4.5.tgz#97703ad2a1799d4f50ab59049bd21a9ceaed2813" + integrity sha512-CIYqwuJQXHQtPd/idgrx4zgJ6iCb6uBjQq1RSAGQrw2S8XifDmoM1Ot8NRd80ooAm+ZNdHVwsktIMGlA1F1FAQ== dependencies: "@jest/console" "^27.4.2" - "@jest/environment" "^27.4.2" - "@jest/globals" "^27.4.2" + "@jest/environment" "^27.4.4" + "@jest/globals" "^27.4.4" "@jest/source-map" "^27.4.0" "@jest/test-result" "^27.4.2" - "@jest/transform" "^27.4.2" + "@jest/transform" "^27.4.5" "@jest/types" "^27.4.2" "@types/yargs" "^16.0.0" chalk "^4.0.0" @@ -4669,12 +4676,12 @@ jest-runtime@^27.4.2: exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.4" - jest-haste-map "^27.4.2" + jest-haste-map "^27.4.5" jest-message-util "^27.4.2" jest-mock "^27.4.2" jest-regex-util "^27.4.0" - jest-resolve "^27.4.2" - jest-snapshot "^27.4.2" + jest-resolve "^27.4.5" + jest-snapshot "^27.4.5" jest-util "^27.4.2" jest-validate "^27.4.2" slash "^3.0.0" @@ -4708,10 +4715,10 @@ jest-snapshot@^24.9.0: pretty-format "^24.9.0" semver "^6.2.0" -jest-snapshot@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.4.2.tgz#bd1ea04a8fab402e5ab18b788809fa597ddff532" - integrity sha512-DI7lJlNIu6WSQ+esqhnJzEzU70+dV+cNjoF1c+j5FagWEd3KtOyZvVliAH0RWNQ6KSnAAnKSU0qxJ8UXOOhuUQ== +jest-snapshot@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-27.4.5.tgz#2ea909b20aac0fe62504bc161331f730b8a7ecc7" + integrity sha512-eCi/iM1YJFrJWiT9de4+RpWWWBqsHiYxFG9V9o/n0WXs6GpW4lUt4FAHAgFPTLPqCUVzrMQmSmTZSgQzwqR7IQ== dependencies: "@babel/core" "^7.7.2" "@babel/generator" "^7.7.2" @@ -4719,7 +4726,7 @@ jest-snapshot@^27.4.2: "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.0.0" - "@jest/transform" "^27.4.2" + "@jest/transform" "^27.4.5" "@jest/types" "^27.4.2" "@types/babel__traverse" "^7.0.4" "@types/prettier" "^2.1.5" @@ -4729,10 +4736,10 @@ jest-snapshot@^27.4.2: graceful-fs "^4.2.4" jest-diff "^27.4.2" jest-get-type "^27.4.0" - jest-haste-map "^27.4.2" + jest-haste-map "^27.4.5" jest-matcher-utils "^27.4.2" jest-message-util "^27.4.2" - jest-resolve "^27.4.2" + jest-resolve "^27.4.5" jest-util "^27.4.2" natural-compare "^1.4.0" pretty-format "^27.4.2" @@ -4775,23 +4782,23 @@ jest-watcher@^27.4.2: jest-util "^27.4.2" string-length "^4.0.1" -jest-worker@^27.4.2: - version "27.4.2" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-27.4.2.tgz#0fb123d50955af1a450267787f340a1bf7e12bc4" - integrity sha512-0QMy/zPovLfUPyHuOuuU4E+kGACXXE84nRnq6lBVI9GJg5DCBiA97SATi+ZP8CpiJwEQy1oCPjRBf8AnLjN+Ag== +jest-worker@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-27.4.5.tgz#d696e3e46ae0f24cff3fa7195ffba22889262242" + integrity sha512-f2s8kEdy15cv9r7q4KkzGXvlY0JTcmCbMHZBfSQDwW77REr45IDWwd0lksDFeVHH2jJ5pqb90T77XscrjeGzzg== dependencies: "@types/node" "*" merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^27.4.3: - version "27.4.3" - resolved "https://registry.npmjs.org/jest/-/jest-27.4.3.tgz#cf7d1876a84c70efece2e01e4f9dfc2e464d9cbb" - integrity sha512-jwsfVABBzuN3Atm+6h6vIEpTs9+VApODLt4dk2qv1WMOpb1weI1IIZfuwpMiWZ62qvWj78MvdvMHIYdUfqrFaA== +jest@^27.4.5: + version "27.4.5" + resolved "https://registry.npmjs.org/jest/-/jest-27.4.5.tgz#66e45acba44137fac26be9d3cc5bb031e136dc0f" + integrity sha512-uT5MiVN3Jppt314kidCk47MYIRilJjA/l2mxwiuzzxGUeJIvA8/pDaJOAX5KWvjAo7SCydcW0/4WEtgbLMiJkg== dependencies: - "@jest/core" "^27.4.3" + "@jest/core" "^27.4.5" import-local "^3.0.2" - jest-cli "^27.4.3" + jest-cli "^27.4.5" jju@^1.1.0: version "1.4.0" @@ -7409,10 +7416,10 @@ trim-newlines@^3.0.0: resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-jest@^27.1.1: - version "27.1.1" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.1.tgz#5a54aca96db1dac37c681f3029dd10f3a8c36192" - integrity sha512-Ds0VkB+cB+8g2JUmP/GKWndeZcCKrbe6jzolGrVWdqVUFByY/2KDHqxJ7yBSon7hDB1TA4PXxjfZ+JjzJisvgA== +ts-jest@^27.1.2: + version "27.1.2" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.2.tgz#5991d6eb3fd8e1a8d4b8f6de3ec0a3cc567f3151" + integrity sha512-eSOiJOWq6Hhs6Khzk5wKC5sgWIXgXqOCiIl1+3lfnearu58Hj4QpE5tUhQcA3xtZrELbcvAGCsd6HB8OsaVaTA== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x"