diff --git a/lib/internal/modules/esm/resolve.js b/lib/internal/modules/esm/resolve.js index 1fbbb6773c9479..375a14ef301ad2 100644 --- a/lib/internal/modules/esm/resolve.js +++ b/lib/internal/modules/esm/resolve.js @@ -834,8 +834,6 @@ function packageResolve(specifier, base, conditions) { // Cross-platform root check. } while (packageJSONPath.length !== lastPath.length); - // eslint can't handle the above code. - // eslint-disable-next-line no-unreachable throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); } diff --git a/tools/eslint/node_modules/@babel/compat-data/data/plugins.json b/tools/eslint/node_modules/@babel/compat-data/data/plugins.json index 0b269f84600e9d..50fe80e582516b 100644 --- a/tools/eslint/node_modules/@babel/compat-data/data/plugins.json +++ b/tools/eslint/node_modules/@babel/compat-data/data/plugins.json @@ -1,6 +1,7 @@ { "transform-duplicate-named-capturing-groups-regex": { "chrome": "126", + "opera": "112", "edge": "126", "firefox": "129", "safari": "17.4", @@ -22,7 +23,7 @@ "chrome": "98", "opera": "84", "edge": "98", - "firefox": "95", + "firefox": "75", "safari": "15", "node": "12", "deno": "1.18", diff --git a/tools/eslint/node_modules/@babel/compat-data/package.json b/tools/eslint/node_modules/@babel/compat-data/package.json index 413b626552447a..b06ba68cf96555 100644 --- a/tools/eslint/node_modules/@babel/compat-data/package.json +++ b/tools/eslint/node_modules/@babel/compat-data/package.json @@ -1,6 +1,6 @@ { "name": "@babel/compat-data", - "version": "7.25.0", + "version": "7.25.4", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", "description": "", diff --git a/tools/eslint/node_modules/@babel/compat-data/tsconfig.tsbuildinfo b/tools/eslint/node_modules/@babel/compat-data/tsconfig.tsbuildinfo new file mode 100644 index 00000000000000..3eb8be3138949c --- /dev/null +++ b/tools/eslint/node_modules/@babel/compat-data/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.string.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../lib/globals.d.ts","../../node_modules/@types/charcodes/index.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/convert-source-map/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-readdir-recursive/index.d.ts","../../node_modules/@types/gensync/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/jest-diff/node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/jsesc/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lru-cache/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/v8flags/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"f0b6690984c3a44b15740ac24bfb63853617731c0f40c87a956ce537c4b50969","affectsGlobalScope":true},"b7589677bd27b038f8aae8afeb030e554f1d5ff29dc4f45854e2cb7e5095d59a","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","0c5a621a8cf10464c2020f05c99a86d8ac6875d9e17038cb8522cc2f604d539f","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","1d78c35b7e8ce86a188e3e5528cc5d1edfc85187a85177458d26e17c8b48105f","bde8c75c442f701f7c428265ecad3da98023b6152db9ca49552304fd19fdba38","acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","6d969939c4a63f70f2aa49e88da6f64b655c8e6799612807bef41ccff6ea0da9","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e",{"version":"46894b2a21a60f8449ca6b2b7223b7179bba846a61b1434bed77b34b2902c306","affectsGlobalScope":true},"84a805c22a49922085dc337ca71ac0b85aad6d4dba6b01cee5bd5776ff54df39","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","9ad8802fd8850d22277c08f5653e69e551a2e003a376ce0afb3fe28474b51d65","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"root":[72],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationDir":"../../dts","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":200,"noImplicitAny":true,"noImplicitThis":true,"rootDir":"../..","skipLibCheck":true,"strictBindCallApply":true,"target":99},"fileIdsList":[[179],[78,80],[77,78,79],[133,134,171,172],[174],[175],[181,184],[120,171,177,183],[178,182],[180],[84],[120],[121,126,155],[122,133,134,141,152,163],[122,123,133,141],[124,164],[125,126,134,142],[126,152,160],[127,129,133,141],[120,128],[129,130],[133],[131,133],[120,133],[133,134,135,152,163],[133,134,135,148,152,155],[118,121,168],[129,133,136,141,152,163],[133,134,136,137,141,152,160,163],[136,138,152,160,163],[84,85,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170],[133,139],[140,163,168],[129,133,141,152],[142],[143],[120,144],[145,162,168],[146],[147],[133,148,149],[148,150,164,166],[121,133,152,153,154,155],[121,152,154],[152,153],[155],[156],[120,152],[133,158,159],[158,159],[126,141,152,160],[161],[141,162],[121,136,147,163],[126,164],[152,165],[140,166],[167],[121,126,133,135,144,152,163,166,168],[152,169],[191,230],[191,215,230],[230],[191],[191,216,230],[191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229],[216,230],[233],[181],[95,99,163],[95,152,163],[90],[92,95,160,163],[141,160],[171],[90,171],[92,95,141,163],[87,88,91,94,121,133,152,163],[87,93],[91,95,121,155,163,171],[121,171],[111,121,171],[89,90,171],[95],[89,90,91,92,93,94,95,96,97,99,100,101,102,103,104,105,106,107,108,109,110,112,113,114,115,116,117],[95,102,103],[93,95,103,104],[94],[87,90,95],[95,99,103,104],[99],[93,95,98,163],[87,92,93,95,99,102],[121,152],[90,95,111,121,168,171]],"referencedMap":[[180,1],[81,2],[80,3],[173,4],[175,5],[176,6],[186,7],[184,8],[183,9],[185,10],[84,11],[85,11],[120,12],[121,13],[122,14],[123,15],[124,16],[125,17],[126,18],[127,19],[128,20],[129,21],[130,21],[132,22],[131,23],[133,24],[134,25],[135,26],[119,27],[136,28],[137,29],[138,30],[171,31],[139,32],[140,33],[141,34],[142,35],[143,36],[144,37],[145,38],[146,39],[147,40],[148,41],[149,41],[150,42],[152,43],[154,44],[153,45],[155,46],[156,47],[157,48],[158,49],[159,50],[160,51],[161,52],[162,53],[163,54],[164,55],[165,56],[166,57],[167,58],[168,59],[169,60],[215,61],[216,62],[191,63],[194,63],[213,61],[214,61],[204,61],[203,64],[201,61],[196,61],[209,61],[207,61],[211,61],[195,61],[208,61],[212,61],[197,61],[198,61],[210,61],[192,61],[199,61],[200,61],[202,61],[206,61],[217,65],[205,61],[193,61],[230,66],[224,65],[226,67],[225,65],[218,65],[219,65],[221,65],[223,65],[227,67],[228,67],[220,67],[222,67],[234,68],[182,69],[181,10],[102,70],[109,71],[101,70],[116,72],[93,73],[92,74],[115,75],[110,76],[113,77],[95,78],[94,79],[90,80],[89,81],[112,82],[91,83],[96,84],[100,84],[118,85],[117,84],[104,86],[105,87],[107,88],[103,89],[106,90],[111,75],[98,91],[99,92],[108,93],[88,94],[114,95]]},"version":"5.5.3"} \ No newline at end of file diff --git a/tools/eslint/node_modules/@babel/core/lib/config/files/configuration.js b/tools/eslint/node_modules/@babel/core/lib/config/files/configuration.js index 50adfd86dea6d6..9c6d49ce4b99b5 100644 --- a/tools/eslint/node_modules/@babel/core/lib/config/files/configuration.js +++ b/tools/eslint/node_modules/@babel/core/lib/config/files/configuration.js @@ -135,7 +135,7 @@ const readConfigJSON5 = (0, _utils.makeStaticFileCache)((filepath, content) => { }); const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) => { const ignoreDir = _path().dirname(filepath); - const ignorePatterns = content.split("\n").map(line => line.replace(/#(.*?)$/, "").trim()).filter(line => !!line); + const ignorePatterns = content.split("\n").map(line => line.replace(/#.*$/, "").trim()).filter(line => !!line); for (const pattern of ignorePatterns) { if (pattern[0] === "!") { throw new _configError.default(`Negation of file paths is not supported.`, filepath); diff --git a/tools/eslint/node_modules/@babel/core/lib/config/files/module-types.js b/tools/eslint/node_modules/@babel/core/lib/config/files/module-types.js index f728f1cddb09e6..a49f6134adc411 100644 --- a/tools/eslint/node_modules/@babel/core/lib/config/files/module-types.js +++ b/tools/eslint/node_modules/@babel/core/lib/config/files/module-types.js @@ -46,6 +46,39 @@ const debug = _debug()("babel:config:loading:files:module-types"); } catch (_unused) {} } const supportsESM = exports.supportsESM = _semver().satisfies(process.versions.node, "^12.17 || >=13.2"); +const LOADING_CJS_FILES = new Set(); +function loadCjsDefault(filepath) { + if (LOADING_CJS_FILES.has(filepath)) { + debug("Auto-ignoring usage of config %o.", filepath); + return {}; + } + let module; + try { + LOADING_CJS_FILES.add(filepath); + module = (0, _rewriteStackTrace.endHiddenCallStack)(require)(filepath); + } finally { + LOADING_CJS_FILES.delete(filepath); + } + { + var _module; + return (_module = module) != null && _module.__esModule ? module.default || (arguments[1] ? module : undefined) : module; + } +} +const loadMjsDefault = (0, _rewriteStackTrace.endHiddenCallStack)(function () { + var _loadMjsDefault = _asyncToGenerator(function* (filepath) { + const url = (0, _url().pathToFileURL)(filepath).toString(); + { + if (!import_) { + throw new _configError.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n", filepath); + } + return (yield import_(url)).default; + } + }); + function loadMjsDefault(_x) { + return _loadMjsDefault.apply(this, arguments); + } + return loadMjsDefault; +}()); function* loadCodeDefault(filepath, asyncError) { switch (_path().extname(filepath)) { case ".cjs": @@ -117,39 +150,6 @@ function loadCtsDefault(filepath) { } } } -const LOADING_CJS_FILES = new Set(); -function loadCjsDefault(filepath) { - if (LOADING_CJS_FILES.has(filepath)) { - debug("Auto-ignoring usage of config %o.", filepath); - return {}; - } - let module; - try { - LOADING_CJS_FILES.add(filepath); - module = (0, _rewriteStackTrace.endHiddenCallStack)(require)(filepath); - } finally { - LOADING_CJS_FILES.delete(filepath); - } - { - var _module; - return (_module = module) != null && _module.__esModule ? module.default || (arguments[1] ? module : undefined) : module; - } -} -const loadMjsDefault = (0, _rewriteStackTrace.endHiddenCallStack)(function () { - var _loadMjsDefault = _asyncToGenerator(function* (filepath) { - const url = (0, _url().pathToFileURL)(filepath).toString(); - { - if (!import_) { - throw new _configError.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n", filepath); - } - return (yield import_(url)).default; - } - }); - function loadMjsDefault(_x) { - return _loadMjsDefault.apply(this, arguments); - } - return loadMjsDefault; -}()); function getTSPreset(filepath) { try { return require("@babel/preset-typescript"); diff --git a/tools/eslint/node_modules/@babel/core/lib/index.js b/tools/eslint/node_modules/@babel/core/lib/index.js index febdfc5fd81447..26f24c63dd38b1 100644 --- a/tools/eslint/node_modules/@babel/core/lib/index.js +++ b/tools/eslint/node_modules/@babel/core/lib/index.js @@ -224,7 +224,7 @@ var _transformAst = require("./transform-ast.js"); var _parse = require("./parse.js"); var thisFile = require("./index.js"); ; -const version = exports.version = "7.24.9"; +const version = exports.version = "7.25.2"; const DEFAULT_EXTENSIONS = exports.DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]); ; { diff --git a/tools/eslint/node_modules/@babel/core/lib/transformation/normalize-file.js b/tools/eslint/node_modules/@babel/core/lib/transformation/normalize-file.js index 74986d9b64999e..20c5dc07a22b1a 100644 --- a/tools/eslint/node_modules/@babel/core/lib/transformation/normalize-file.js +++ b/tools/eslint/node_modules/@babel/core/lib/transformation/normalize-file.js @@ -47,7 +47,7 @@ const { traverseFast } = _t(); const debug = _debug()("babel:transform:file"); -const INLINE_SOURCEMAP_REGEX = /^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/; +const INLINE_SOURCEMAP_REGEX = /^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/; const EXTERNAL_SOURCEMAP_REGEX = /^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/; function* normalizeFile(pluginPasses, options, code, ast) { code = `${code || ""}`; diff --git a/tools/eslint/node_modules/@babel/core/package.json b/tools/eslint/node_modules/@babel/core/package.json index 214cfb73bc0d9c..3a1cd981576088 100644 --- a/tools/eslint/node_modules/@babel/core/package.json +++ b/tools/eslint/node_modules/@babel/core/package.json @@ -1,6 +1,6 @@ { "name": "@babel/core", - "version": "7.24.9", + "version": "7.25.2", "description": "Babel compiler core.", "main": "./lib/index.js", "author": "The Babel Team (https://babel.dev/team)", @@ -48,14 +48,14 @@ "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.9", - "@babel/helper-compilation-targets": "^7.24.8", - "@babel/helper-module-transforms": "^7.24.9", - "@babel/helpers": "^7.24.8", - "@babel/parser": "^7.24.8", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.8", - "@babel/types": "^7.24.9", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -63,11 +63,11 @@ "semver": "^6.3.1" }, "devDependencies": { - "@babel/helper-transform-fixture-test-runner": "^7.24.8", + "@babel/helper-transform-fixture-test-runner": "^7.25.2", "@babel/plugin-syntax-flow": "^7.24.7", - "@babel/plugin-transform-flow-strip-types": "^7.24.7", + "@babel/plugin-transform-flow-strip-types": "^7.25.2", "@babel/plugin-transform-modules-commonjs": "^7.24.8", - "@babel/preset-env": "^7.24.8", + "@babel/preset-env": "^7.25.2", "@babel/preset-typescript": "^7.24.7", "@jridgewell/trace-mapping": "^0.3.25", "@types/convert-source-map": "^2.0.0", diff --git a/tools/eslint/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs b/tools/eslint/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs index 171d226857b6f4..2591f16fdd23e6 100644 --- a/tools/eslint/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs +++ b/tools/eslint/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs @@ -16,7 +16,7 @@ const Clients = require("./client.cjs"); const client = new Clients.WorkerClient(); const meta = exports.meta = { name: "@babel/eslint-parser/experimental-worker", - version: "7.25.0" + version: "7.25.1" }; function parseForESLint(code, options = {}) { const normalizedOptions = normalizeESLintConfig(options); diff --git a/tools/eslint/node_modules/@babel/eslint-parser/lib/index.cjs b/tools/eslint/node_modules/@babel/eslint-parser/lib/index.cjs index 6a0f7162690825..922e5fcdd8340d 100644 --- a/tools/eslint/node_modules/@babel/eslint-parser/lib/index.cjs +++ b/tools/eslint/node_modules/@babel/eslint-parser/lib/index.cjs @@ -13,7 +13,7 @@ const baseParse = require("./parse.cjs"); const client = new _client.LocalClient(); const meta = exports.meta = { name: "@babel/eslint-parser", - version: "7.25.0" + version: "7.25.1" }; function parse(code, options = {}) { return baseParse(code, normalizeESLintConfig(options), client); diff --git a/tools/eslint/node_modules/@babel/eslint-parser/lib/parse.cjs b/tools/eslint/node_modules/@babel/eslint-parser/lib/parse.cjs index fa3672f000ba12..fe03830456c1d3 100644 --- a/tools/eslint/node_modules/@babel/eslint-parser/lib/parse.cjs +++ b/tools/eslint/node_modules/@babel/eslint-parser/lib/parse.cjs @@ -20,7 +20,7 @@ module.exports = function parse(code, options, client) { isRunningMinSupportedCoreVersion = semver.satisfies(client.getVersion(), minSupportedCoreVersion); } if (!isRunningMinSupportedCoreVersion) { - throw new Error(`@babel/eslint-parser@${"7.25.0"} does not support @babel/core@${client.getVersion()}. Please upgrade to @babel/core@${minSupportedCoreVersion}.`); + throw new Error(`@babel/eslint-parser@${"7.25.1"} does not support @babel/core@${client.getVersion()}. Please upgrade to @babel/core@${minSupportedCoreVersion}.`); } const { ast, diff --git a/tools/eslint/node_modules/@babel/eslint-parser/package.json b/tools/eslint/node_modules/@babel/eslint-parser/package.json index fed23c02674058..6bc0c5e2f7ebe4 100644 --- a/tools/eslint/node_modules/@babel/eslint-parser/package.json +++ b/tools/eslint/node_modules/@babel/eslint-parser/package.json @@ -1,6 +1,6 @@ { "name": "@babel/eslint-parser", - "version": "7.25.0", + "version": "7.25.1", "description": "ESLint parser that allows for linting of experimental syntax transformed by Babel", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", @@ -41,6 +41,6 @@ "@types/estree": "^1.0.5", "@typescript-eslint/scope-manager": "^6.19.0", "dedent": "^1.5.3", - "eslint": "^9.0.0" + "eslint": "^9.7.0" } } \ No newline at end of file diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/base.js b/tools/eslint/node_modules/@babel/generator/lib/generators/base.js index 60dfc68d99fc3c..dd1e659e4ba7da 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/base.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/base.js @@ -12,9 +12,9 @@ exports.Placeholder = Placeholder; exports.Program = Program; function File(node) { if (node.program) { - this.print(node.program.interpreter, node); + this.print(node.program.interpreter); } - this.print(node.program, node); + this.print(node.program); } function Program(node) { var _node$directives; @@ -24,14 +24,14 @@ function Program(node) { if (directivesLen) { var _node$directives$trai; const newline = node.body.length ? 2 : 1; - this.printSequence(node.directives, node, { + this.printSequence(node.directives, { trailingCommentsLineOffset: newline }); if (!((_node$directives$trai = node.directives[directivesLen - 1].trailingComments) != null && _node$directives$trai.length)) { this.newline(newline); } } - this.printSequence(node.body, node); + this.printSequence(node.body); } function BlockStatement(node) { var _node$directives2; @@ -40,7 +40,7 @@ function BlockStatement(node) { if (directivesLen) { var _node$directives$trai2; const newline = node.body.length ? 2 : 1; - this.printSequence(node.directives, node, { + this.printSequence(node.directives, { indent: true, trailingCommentsLineOffset: newline }); @@ -49,14 +49,14 @@ function BlockStatement(node) { } } const exit = this.enterForStatementInit(false); - this.printSequence(node.body, node, { + this.printSequence(node.body, { indent: true }); exit(); this.rightBrace(node); } function Directive(node) { - this.print(node.value, node); + this.print(node.value); this.semicolon(); } const unescapedSingleQuoteRE = /(?:^|[^\\])(?:\\\\)*'/; diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/classes.js b/tools/eslint/node_modules/@babel/generator/lib/generators/classes.js index 2b33bd4ae62164..63a64993117755 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/classes.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/classes.js @@ -20,7 +20,7 @@ const { function ClassDeclaration(node, parent) { const inExport = isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent); if (!inExport || !this._shouldPrintDecoratorsBeforeExport(parent)) { - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); } if (node.declare) { this.word("declare"); @@ -33,24 +33,24 @@ function ClassDeclaration(node, parent) { this.word("class"); if (node.id) { this.space(); - this.print(node.id, node); + this.print(node.id); } - this.print(node.typeParameters, node); + this.print(node.typeParameters); if (node.superClass) { this.space(); this.word("extends"); this.space(); - this.print(node.superClass, node); - this.print(node.superTypeParameters, node); + this.print(node.superClass); + this.print(node.superTypeParameters); } if (node.implements) { this.space(); this.word("implements"); this.space(); - this.printList(node.implements, node); + this.printList(node.implements); } this.space(); - this.print(node.body, node); + this.print(node.body); } function ClassBody(node) { this.tokenChar(123); @@ -59,7 +59,7 @@ function ClassBody(node) { } else { this.newline(); const exit = this.enterForStatementInit(false); - this.printSequence(node.body, node, { + this.printSequence(node.body, { indent: true }); exit(); @@ -69,17 +69,17 @@ function ClassBody(node) { } function ClassProperty(node) { var _node$key$loc; - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); const endLine = (_node$key$loc = node.key.loc) == null || (_node$key$loc = _node$key$loc.end) == null ? void 0 : _node$key$loc.line; if (endLine) this.catchUp(endLine); this.tsPrintClassMemberModifiers(node); if (node.computed) { this.tokenChar(91); - this.print(node.key, node); + this.print(node.key); this.tokenChar(93); } else { this._variance(node); - this.print(node.key, node); + this.print(node.key); } if (node.optional) { this.tokenChar(63); @@ -87,18 +87,18 @@ function ClassProperty(node) { if (node.definite) { this.tokenChar(33); } - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); if (node.value) { this.space(); this.tokenChar(61); this.space(); - this.print(node.value, node); + this.print(node.value); } this.semicolon(); } function ClassAccessorProperty(node) { var _node$key$loc2; - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); const endLine = (_node$key$loc2 = node.key.loc) == null || (_node$key$loc2 = _node$key$loc2.end) == null ? void 0 : _node$key$loc2.line; if (endLine) this.catchUp(endLine); this.tsPrintClassMemberModifiers(node); @@ -106,11 +106,11 @@ function ClassAccessorProperty(node) { this.space(); if (node.computed) { this.tokenChar(91); - this.print(node.key, node); + this.print(node.key); this.tokenChar(93); } else { this._variance(node); - this.print(node.key, node); + this.print(node.key); } if (node.optional) { this.tokenChar(63); @@ -118,44 +118,44 @@ function ClassAccessorProperty(node) { if (node.definite) { this.tokenChar(33); } - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); if (node.value) { this.space(); this.tokenChar(61); this.space(); - this.print(node.value, node); + this.print(node.value); } this.semicolon(); } function ClassPrivateProperty(node) { - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); if (node.static) { this.word("static"); this.space(); } - this.print(node.key, node); - this.print(node.typeAnnotation, node); + this.print(node.key); + this.print(node.typeAnnotation); if (node.value) { this.space(); this.tokenChar(61); this.space(); - this.print(node.value, node); + this.print(node.value); } this.semicolon(); } function ClassMethod(node) { this._classMethodHead(node); this.space(); - this.print(node.body, node); + this.print(node.body); } function ClassPrivateMethod(node) { this._classMethodHead(node); this.space(); - this.print(node.body, node); + this.print(node.body); } function _classMethodHead(node) { var _node$key$loc3; - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); const endLine = (_node$key$loc3 = node.key.loc) == null || (_node$key$loc3 = _node$key$loc3.end) == null ? void 0 : _node$key$loc3.line; if (endLine) this.catchUp(endLine); this.tsPrintClassMemberModifiers(node); @@ -169,7 +169,7 @@ function StaticBlock(node) { this.tokenChar(125); } else { this.newline(); - this.printSequence(node.body, node, { + this.printSequence(node.body, { indent: true }); this.rightBrace(node); diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/expressions.js b/tools/eslint/node_modules/@babel/generator/lib/generators/expressions.js index cd89407d8785b7..2ca5eb41d81dd2 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/expressions.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/expressions.js @@ -48,7 +48,7 @@ function UnaryExpression(node) { } else { this.token(operator); } - this.print(node.argument, node); + this.print(node.argument); } function DoExpression(node) { if (node.async) { @@ -57,55 +57,55 @@ function DoExpression(node) { } this.word("do"); this.space(); - this.print(node.body, node); + this.print(node.body); } function ParenthesizedExpression(node) { this.tokenChar(40); - this.print(node.expression, node); + this.print(node.expression); this.rightParens(node); } function UpdateExpression(node) { if (node.prefix) { this.token(node.operator); - this.print(node.argument, node); + this.print(node.argument); } else { - this.printTerminatorless(node.argument, node, true); + this.printTerminatorless(node.argument, true); this.token(node.operator); } } function ConditionalExpression(node) { - this.print(node.test, node); + this.print(node.test); this.space(); this.tokenChar(63); this.space(); - this.print(node.consequent, node); + this.print(node.consequent); this.space(); this.tokenChar(58); this.space(); - this.print(node.alternate, node); + this.print(node.alternate); } function NewExpression(node, parent) { this.word("new"); this.space(); - this.print(node.callee, node); + this.print(node.callee); if (this.format.minified && node.arguments.length === 0 && !node.optional && !isCallExpression(parent, { callee: node }) && !isMemberExpression(parent) && !isNewExpression(parent)) { return; } - this.print(node.typeArguments, node); - this.print(node.typeParameters, node); + this.print(node.typeArguments); + this.print(node.typeParameters); if (node.optional) { this.token("?."); } this.tokenChar(40); const exit = this.enterForStatementInit(false); - this.printList(node.arguments, node); + this.printList(node.arguments); exit(); this.rightParens(node); } function SequenceExpression(node) { - this.printList(node.expressions, node); + this.printList(node.expressions); } function ThisExpression() { this.word("this"); @@ -121,7 +121,7 @@ function _shouldPrintDecoratorsBeforeExport(node) { } function Decorator(node) { this.tokenChar(64); - this.print(node.expression, node); + this.print(node.expression); this.newline(); } function OptionalMemberExpression(node) { @@ -132,7 +132,7 @@ function OptionalMemberExpression(node) { optional, property } = node; - this.print(node.object, node); + this.print(node.object); if (!computed && isMemberExpression(property)) { throw new TypeError("Got a MemberExpression for MemberExpression property"); } @@ -144,35 +144,35 @@ function OptionalMemberExpression(node) { } if (computed) { this.tokenChar(91); - this.print(property, node); + this.print(property); this.tokenChar(93); } else { if (!optional) { this.tokenChar(46); } - this.print(property, node); + this.print(property); } } function OptionalCallExpression(node) { - this.print(node.callee, node); - this.print(node.typeParameters, node); + this.print(node.callee); + this.print(node.typeParameters); if (node.optional) { this.token("?."); } - this.print(node.typeArguments, node); + this.print(node.typeArguments); this.tokenChar(40); const exit = this.enterForStatementInit(false); - this.printList(node.arguments, node); + this.printList(node.arguments); exit(); this.rightParens(node); } function CallExpression(node) { - this.print(node.callee, node); - this.print(node.typeArguments, node); - this.print(node.typeParameters, node); + this.print(node.callee); + this.print(node.typeArguments); + this.print(node.typeParameters); this.tokenChar(40); const exit = this.enterForStatementInit(false); - this.printList(node.arguments, node); + this.printList(node.arguments); exit(); this.rightParens(node); } @@ -183,7 +183,7 @@ function AwaitExpression(node) { this.word("await"); if (node.argument) { this.space(); - this.printTerminatorless(node.argument, node, false); + this.printTerminatorless(node.argument, false); } } function YieldExpression(node) { @@ -192,12 +192,12 @@ function YieldExpression(node) { this.tokenChar(42); if (node.argument) { this.space(); - this.print(node.argument, node); + this.print(node.argument); } } else { if (node.argument) { this.space(); - this.printTerminatorless(node.argument, node, false); + this.printTerminatorless(node.argument, false); } } } @@ -206,38 +206,39 @@ function EmptyStatement() { } function ExpressionStatement(node) { this.tokenContext |= _index.TokenContext.expressionStatement; - this.print(node.expression, node); + this.print(node.expression); this.semicolon(); } function AssignmentPattern(node) { - this.print(node.left, node); + this.print(node.left); if (node.left.type === "Identifier") { if (node.left.optional) this.tokenChar(63); - this.print(node.left.typeAnnotation, node); + this.print(node.left.typeAnnotation); } this.space(); this.tokenChar(61); this.space(); - this.print(node.right, node); + this.print(node.right); } function AssignmentExpression(node) { - this.print(node.left, node); + this.print(node.left); this.space(); if (node.operator === "in" || node.operator === "instanceof") { this.word(node.operator); } else { this.token(node.operator); + this._endsWithDiv = node.operator === "/"; } this.space(); - this.print(node.right, node); + this.print(node.right); } function BindExpression(node) { - this.print(node.object, node); + this.print(node.object); this.token("::"); - this.print(node.callee, node); + this.print(node.callee); } function MemberExpression(node) { - this.print(node.object, node); + this.print(node.object); if (!node.computed && isMemberExpression(node.property)) { throw new TypeError("Got a MemberExpression for MemberExpression property"); } @@ -248,22 +249,22 @@ function MemberExpression(node) { if (computed) { const exit = this.enterForStatementInit(false); this.tokenChar(91); - this.print(node.property, node); + this.print(node.property); this.tokenChar(93); exit(); } else { this.tokenChar(46); - this.print(node.property, node); + this.print(node.property); } } function MetaProperty(node) { - this.print(node.meta, node); + this.print(node.meta); this.tokenChar(46); - this.print(node.property, node); + this.print(node.property); } function PrivateName(node) { this.tokenChar(35); - this.print(node.id, node); + this.print(node.id); } function V8IntrinsicIdentifier(node) { this.tokenChar(37); @@ -280,7 +281,7 @@ function ModuleExpression(node) { if (body.body.length || body.directives.length) { this.newline(); } - this.print(body, node); + this.print(body); this.dedent(); this.rightBrace(node); } diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/flow.js b/tools/eslint/node_modules/@babel/generator/lib/generators/flow.js index 08ab6bb73cd0d3..4913531a60dcdb 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/flow.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/flow.js @@ -89,7 +89,7 @@ function AnyTypeAnnotation() { this.word("any"); } function ArrayTypeAnnotation(node) { - this.print(node.elementType, node, true); + this.print(node.elementType, true); this.tokenChar(91); this.tokenChar(93); } @@ -118,11 +118,11 @@ function DeclareFunction(node, parent) { } this.word("function"); this.space(); - this.print(node.id, node); - this.print(node.id.typeAnnotation.typeAnnotation, node); + this.print(node.id); + this.print(node.id.typeAnnotation.typeAnnotation); if (node.predicate) { this.space(); - this.print(node.predicate, node); + this.print(node.predicate); } this.semicolon(); } @@ -134,7 +134,7 @@ function DeclaredPredicate(node) { this.tokenChar(37); this.word("checks"); this.tokenChar(40); - this.print(node.value, node); + this.print(node.value); this.tokenChar(41); } function DeclareInterface(node) { @@ -147,9 +147,9 @@ function DeclareModule(node) { this.space(); this.word("module"); this.space(); - this.print(node.id, node); + this.print(node.id); this.space(); - this.print(node.body, node); + this.print(node.body); } function DeclareModuleExports(node) { this.word("declare"); @@ -157,7 +157,7 @@ function DeclareModuleExports(node) { this.word("module"); this.tokenChar(46); this.word("exports"); - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function DeclareTypeAlias(node) { this.word("declare"); @@ -178,8 +178,8 @@ function DeclareVariable(node, parent) { } this.word("var"); this.space(); - this.print(node.id, node); - this.print(node.id.typeAnnotation, node); + this.print(node.id); + this.print(node.id.typeAnnotation); this.semicolon(); } function DeclareExportDeclaration(node) { @@ -205,8 +205,8 @@ function EnumDeclaration(node) { } = node; this.word("enum"); this.space(); - this.print(id, node); - this.print(body, node); + this.print(id); + this.print(body); } function enumExplicitType(context, name, hasExplicitType) { if (hasExplicitType) { @@ -225,7 +225,7 @@ function enumBody(context, node) { context.indent(); context.newline(); for (const member of members) { - context.print(member, node); + context.print(member); context.newline(); } if (node.hasUnknownMembers) { @@ -264,19 +264,15 @@ function EnumDefaultedMember(node) { const { id } = node; - this.print(id, node); + this.print(id); this.tokenChar(44); } function enumInitializedMember(context, node) { - const { - id, - init - } = node; - context.print(id, node); + context.print(node.id); context.space(); context.token("="); context.space(); - context.print(init, node); + context.print(node.init); context.token(","); } function EnumBooleanMember(node) { @@ -291,13 +287,13 @@ function EnumStringMember(node) { function FlowExportDeclaration(node) { if (node.declaration) { const declar = node.declaration; - this.print(declar, node); + this.print(declar); if (!isStatement(declar)) this.semicolon(); } else { this.tokenChar(123); if (node.specifiers.length) { this.space(); - this.printList(node.specifiers, node); + this.printList(node.specifiers); this.space(); } this.tokenChar(125); @@ -305,7 +301,7 @@ function FlowExportDeclaration(node) { this.space(); this.word("from"); this.space(); - this.print(node.source, node); + this.print(node.source); } this.semicolon(); } @@ -314,26 +310,26 @@ function ExistsTypeAnnotation() { this.tokenChar(42); } function FunctionTypeAnnotation(node, parent) { - this.print(node.typeParameters, node); + this.print(node.typeParameters); this.tokenChar(40); if (node.this) { this.word("this"); this.tokenChar(58); this.space(); - this.print(node.this.typeAnnotation, node); + this.print(node.this.typeAnnotation); if (node.params.length || node.rest) { this.tokenChar(44); this.space(); } } - this.printList(node.params, node); + this.printList(node.params); if (node.rest) { if (node.params.length) { this.tokenChar(44); this.space(); } this.token("..."); - this.print(node.rest, node); + this.print(node.rest); } this.tokenChar(41); const type = parent == null ? void 0 : parent.type; @@ -344,30 +340,30 @@ function FunctionTypeAnnotation(node, parent) { this.token("=>"); } this.space(); - this.print(node.returnType, node); + this.print(node.returnType); } function FunctionTypeParam(node) { - this.print(node.name, node); + this.print(node.name); if (node.optional) this.tokenChar(63); if (node.name) { this.tokenChar(58); this.space(); } - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function InterfaceExtends(node) { - this.print(node.id, node); - this.print(node.typeParameters, node, true); + this.print(node.id); + this.print(node.typeParameters, true); } function _interfaceish(node) { var _node$extends; - this.print(node.id, node); - this.print(node.typeParameters, node); + this.print(node.id); + this.print(node.typeParameters); if ((_node$extends = node.extends) != null && _node$extends.length) { this.space(); this.word("extends"); this.space(); - this.printList(node.extends, node); + this.printList(node.extends); } if (node.type === "DeclareClass") { var _node$mixins, _node$implements; @@ -375,17 +371,17 @@ function _interfaceish(node) { this.space(); this.word("mixins"); this.space(); - this.printList(node.mixins, node); + this.printList(node.mixins); } if ((_node$implements = node.implements) != null && _node$implements.length) { this.space(); this.word("implements"); this.space(); - this.printList(node.implements, node); + this.printList(node.implements); } } this.space(); - this.print(node.body, node); + this.print(node.body); } function _variance(node) { var _node$variance; @@ -415,13 +411,13 @@ function InterfaceTypeAnnotation(node) { this.space(); this.word("extends"); this.space(); - this.printList(node.extends, node); + this.printList(node.extends); } this.space(); - this.print(node.body, node); + this.print(node.body); } function IntersectionTypeAnnotation(node) { - this.printJoin(node.types, node, { + this.printJoin(node.types, { separator: andSeparator }); } @@ -433,7 +429,7 @@ function EmptyTypeAnnotation() { } function NullableTypeAnnotation(node) { this.tokenChar(63); - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function NumberTypeAnnotation() { this.word("number"); @@ -446,23 +442,23 @@ function ThisTypeAnnotation() { } function TupleTypeAnnotation(node) { this.tokenChar(91); - this.printList(node.types, node); + this.printList(node.types); this.tokenChar(93); } function TypeofTypeAnnotation(node) { this.word("typeof"); this.space(); - this.print(node.argument, node); + this.print(node.argument); } function TypeAlias(node) { this.word("type"); this.space(); - this.print(node.id, node); - this.print(node.typeParameters, node); + this.print(node.id); + this.print(node.typeParameters); this.space(); this.tokenChar(61); this.space(); - this.print(node.right, node); + this.print(node.right); this.semicolon(); } function TypeAnnotation(node, parent) { @@ -473,24 +469,24 @@ function TypeAnnotation(node, parent) { } else if (node.optional) { this.tokenChar(63); } - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function TypeParameterInstantiation(node) { this.tokenChar(60); - this.printList(node.params, node, {}); + this.printList(node.params, {}); this.tokenChar(62); } function TypeParameter(node) { this._variance(node); this.word(node.name); if (node.bound) { - this.print(node.bound, node); + this.print(node.bound); } if (node.default) { this.space(); this.tokenChar(61); this.space(); - this.print(node.default, node); + this.print(node.default); } } function OpaqueType(node) { @@ -498,18 +494,18 @@ function OpaqueType(node) { this.space(); this.word("type"); this.space(); - this.print(node.id, node); - this.print(node.typeParameters, node); + this.print(node.id); + this.print(node.typeParameters); if (node.supertype) { this.tokenChar(58); this.space(); - this.print(node.supertype, node); + this.print(node.supertype); } if (node.impltype) { this.space(); this.tokenChar(61); this.space(); - this.print(node.impltype, node); + this.print(node.impltype); } this.semicolon(); } @@ -523,7 +519,7 @@ function ObjectTypeAnnotation(node) { if (props.length) { this.newline(); this.space(); - this.printJoin(props, node, { + this.printJoin(props, { addNewlines(leading) { if (leading && !props[0]) return 1; }, @@ -559,7 +555,7 @@ function ObjectTypeInternalSlot(node) { } this.tokenChar(91); this.tokenChar(91); - this.print(node.id, node); + this.print(node.id); this.tokenChar(93); this.tokenChar(93); if (node.optional) this.tokenChar(63); @@ -567,14 +563,14 @@ function ObjectTypeInternalSlot(node) { this.tokenChar(58); this.space(); } - this.print(node.value, node); + this.print(node.value); } function ObjectTypeCallProperty(node) { if (node.static) { this.word("static"); this.space(); } - this.print(node.value, node); + this.print(node.value); } function ObjectTypeIndexer(node) { if (node.static) { @@ -584,15 +580,15 @@ function ObjectTypeIndexer(node) { this._variance(node); this.tokenChar(91); if (node.id) { - this.print(node.id, node); + this.print(node.id); this.tokenChar(58); this.space(); } - this.print(node.key, node); + this.print(node.key); this.tokenChar(93); this.tokenChar(58); this.space(); - this.print(node.value, node); + this.print(node.value); } function ObjectTypeProperty(node) { if (node.proto) { @@ -608,22 +604,22 @@ function ObjectTypeProperty(node) { this.space(); } this._variance(node); - this.print(node.key, node); + this.print(node.key); if (node.optional) this.tokenChar(63); if (!node.method) { this.tokenChar(58); this.space(); } - this.print(node.value, node); + this.print(node.value); } function ObjectTypeSpreadProperty(node) { this.token("..."); - this.print(node.argument, node); + this.print(node.argument); } function QualifiedTypeIdentifier(node) { - this.print(node.qualification, node); + this.print(node.qualification); this.tokenChar(46); - this.print(node.id, node); + this.print(node.id); } function SymbolTypeAnnotation() { this.word("symbol"); @@ -634,14 +630,14 @@ function orSeparator() { this.space(); } function UnionTypeAnnotation(node) { - this.printJoin(node.types, node, { + this.printJoin(node.types, { separator: orSeparator }); } function TypeCastExpression(node) { this.tokenChar(40); - this.print(node.expression, node); - this.print(node.typeAnnotation, node); + this.print(node.expression); + this.print(node.typeAnnotation); this.tokenChar(41); } function Variance(node) { @@ -655,18 +651,18 @@ function VoidTypeAnnotation() { this.word("void"); } function IndexedAccessType(node) { - this.print(node.objectType, node, true); + this.print(node.objectType, true); this.tokenChar(91); - this.print(node.indexType, node); + this.print(node.indexType); this.tokenChar(93); } function OptionalIndexedAccessType(node) { - this.print(node.objectType, node); + this.print(node.objectType); if (node.optional) { this.token("?."); } this.tokenChar(91); - this.print(node.indexType, node); + this.print(node.indexType); this.tokenChar(93); } diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/jsx.js b/tools/eslint/node_modules/@babel/generator/lib/generators/jsx.js index 4b8dd7a76140cb..90b52fb37f1d40 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/jsx.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/jsx.js @@ -19,41 +19,41 @@ exports.JSXSpreadAttribute = JSXSpreadAttribute; exports.JSXSpreadChild = JSXSpreadChild; exports.JSXText = JSXText; function JSXAttribute(node) { - this.print(node.name, node); + this.print(node.name); if (node.value) { this.tokenChar(61); - this.print(node.value, node); + this.print(node.value); } } function JSXIdentifier(node) { this.word(node.name); } function JSXNamespacedName(node) { - this.print(node.namespace, node); + this.print(node.namespace); this.tokenChar(58); - this.print(node.name, node); + this.print(node.name); } function JSXMemberExpression(node) { - this.print(node.object, node); + this.print(node.object); this.tokenChar(46); - this.print(node.property, node); + this.print(node.property); } function JSXSpreadAttribute(node) { this.tokenChar(123); this.token("..."); - this.print(node.argument, node); - this.tokenChar(125); + this.print(node.argument); + this.rightBrace(node); } function JSXExpressionContainer(node) { this.tokenChar(123); - this.print(node.expression, node); - this.tokenChar(125); + this.print(node.expression); + this.rightBrace(node); } function JSXSpreadChild(node) { this.tokenChar(123); this.token("..."); - this.print(node.expression, node); - this.tokenChar(125); + this.print(node.expression); + this.rightBrace(node); } function JSXText(node) { const raw = this.getPossibleRaw(node); @@ -65,25 +65,25 @@ function JSXText(node) { } function JSXElement(node) { const open = node.openingElement; - this.print(open, node); + this.print(open); if (open.selfClosing) return; this.indent(); for (const child of node.children) { - this.print(child, node); + this.print(child); } this.dedent(); - this.print(node.closingElement, node); + this.print(node.closingElement); } function spaceSeparator() { this.space(); } function JSXOpeningElement(node) { this.tokenChar(60); - this.print(node.name, node); - this.print(node.typeParameters, node); + this.print(node.name); + this.print(node.typeParameters); if (node.attributes.length > 0) { this.space(); - this.printJoin(node.attributes, node, { + this.printJoin(node.attributes, { separator: spaceSeparator }); } @@ -96,20 +96,20 @@ function JSXOpeningElement(node) { } function JSXClosingElement(node) { this.token(""); this.space(); this.tokenContext |= _index.TokenContext.arrowBody; - this.print(node.body, node); + this.print(node.body); } function hasTypesOrComments(node, param) { var _param$leadingComment, _param$trailingCommen; diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/modules.js b/tools/eslint/node_modules/@babel/generator/lib/generators/modules.js index a93f13805c3eac..bb7a72bf84f5e8 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/modules.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/modules.js @@ -31,31 +31,31 @@ function ImportSpecifier(node) { this.word(node.importKind); this.space(); } - this.print(node.imported, node); + this.print(node.imported); if (node.local && node.local.name !== node.imported.name) { this.space(); this.word("as"); this.space(); - this.print(node.local, node); + this.print(node.local); } } function ImportDefaultSpecifier(node) { - this.print(node.local, node); + this.print(node.local); } function ExportDefaultSpecifier(node) { - this.print(node.exported, node); + this.print(node.exported); } function ExportSpecifier(node) { if (node.exportKind === "type") { this.word("type"); this.space(); } - this.print(node.local, node); + this.print(node.local); if (node.exported && node.local.name !== node.exported.name) { this.space(); this.word("as"); this.space(); - this.print(node.exported, node); + this.print(node.exported); } } function ExportNamespaceSpecifier(node) { @@ -63,7 +63,7 @@ function ExportNamespaceSpecifier(node) { this.space(); this.word("as"); this.space(); - this.print(node.exported, node); + this.print(node.exported); } let warningShown = false; function _printAttributes(node) { @@ -88,12 +88,12 @@ Please specify the "importAttributesKeyword" generator option, whose value can b this.word(useAssertKeyword ? "assert" : "with"); this.space(); if (!useAssertKeyword && importAttributesKeyword !== "with") { - this.printList(attributes || assertions, node); + this.printList(attributes || assertions); return; } this.tokenChar(123); this.space(); - this.printList(attributes || assertions, node); + this.printList(attributes || assertions); this.space(); this.tokenChar(125); } @@ -110,17 +110,17 @@ function ExportAllDeclaration(node) { this.word("from"); this.space(); if ((_node$attributes = node.attributes) != null && _node$attributes.length || (_node$assertions = node.assertions) != null && _node$assertions.length) { - this.print(node.source, node, true); + this.print(node.source, true); this.space(); this._printAttributes(node); } else { - this.print(node.source, node); + this.print(node.source); } this.semicolon(); } function maybePrintDecoratorsBeforeExport(printer, node) { if (isClassDeclaration(node.declaration) && printer._shouldPrintDecoratorsBeforeExport(node)) { - printer.printJoin(node.declaration.decorators, node); + printer.printJoin(node.declaration.decorators); } } function ExportNamedDeclaration(node) { @@ -129,7 +129,7 @@ function ExportNamedDeclaration(node) { this.space(); if (node.declaration) { const declar = node.declaration; - this.print(declar, node); + this.print(declar); if (!isStatement(declar)) this.semicolon(); } else { if (node.exportKind === "type") { @@ -142,7 +142,7 @@ function ExportNamedDeclaration(node) { const first = specifiers[0]; if (isExportDefaultSpecifier(first) || isExportNamespaceSpecifier(first)) { hasSpecial = true; - this.print(specifiers.shift(), node); + this.print(specifiers.shift()); if (specifiers.length) { this.tokenChar(44); this.space(); @@ -155,7 +155,7 @@ function ExportNamedDeclaration(node) { this.tokenChar(123); if (specifiers.length) { this.space(); - this.printList(specifiers, node); + this.printList(specifiers); this.space(); } this.tokenChar(125); @@ -166,11 +166,11 @@ function ExportNamedDeclaration(node) { this.word("from"); this.space(); if ((_node$attributes2 = node.attributes) != null && _node$attributes2.length || (_node$assertions2 = node.assertions) != null && _node$assertions2.length) { - this.print(node.source, node, true); + this.print(node.source, true); this.space(); this._printAttributes(node); } else { - this.print(node.source, node); + this.print(node.source); } } this.semicolon(); @@ -185,7 +185,7 @@ function ExportDefaultDeclaration(node) { this.space(); this.tokenContext |= _index.TokenContext.exportDefault; const declar = node.declaration; - this.print(declar, node); + this.print(declar); if (!isStatement(declar)) this.semicolon(); } function ImportDeclaration(node) { @@ -211,7 +211,7 @@ function ImportDeclaration(node) { while (hasSpecifiers) { const first = specifiers[0]; if (isImportDefaultSpecifier(first) || isImportNamespaceSpecifier(first)) { - this.print(specifiers.shift(), node); + this.print(specifiers.shift()); if (specifiers.length) { this.tokenChar(44); this.space(); @@ -223,7 +223,7 @@ function ImportDeclaration(node) { if (specifiers.length) { this.tokenChar(123); this.space(); - this.printList(specifiers, node); + this.printList(specifiers); this.space(); this.tokenChar(125); } else if (isTypeKind && !hasSpecifiers) { @@ -236,11 +236,11 @@ function ImportDeclaration(node) { this.space(); } if ((_node$attributes3 = node.attributes) != null && _node$attributes3.length || (_node$assertions3 = node.assertions) != null && _node$assertions3.length) { - this.print(node.source, node, true); + this.print(node.source, true); this.space(); this._printAttributes(node); } else { - this.print(node.source, node); + this.print(node.source); } this.semicolon(); } @@ -255,7 +255,7 @@ function ImportNamespaceSpecifier(node) { this.space(); this.word("as"); this.space(); - this.print(node.local, node); + this.print(node.local); } function ImportExpression(node) { this.word("import"); @@ -264,11 +264,11 @@ function ImportExpression(node) { this.word(node.phase); } this.tokenChar(40); - this.print(node.source, node); + this.print(node.source); if (node.options != null) { this.tokenChar(44); this.space(); - this.print(node.options, node); + this.print(node.options); } this.tokenChar(41); } diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/statements.js b/tools/eslint/node_modules/@babel/generator/lib/generators/statements.js index 246d887d7922f7..0dab11706823d0 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/statements.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/statements.js @@ -33,7 +33,7 @@ function WithStatement(node) { this.word("with"); this.space(); this.tokenChar(40); - this.print(node.object, node); + this.print(node.object); this.tokenChar(41); this.printBlock(node); } @@ -41,7 +41,7 @@ function IfStatement(node) { this.word("if"); this.space(); this.tokenChar(40); - this.print(node.test, node); + this.print(node.test); this.tokenChar(41); this.space(); const needsBlock = node.alternate && isIfStatement(getLastStatement(node.consequent)); @@ -50,7 +50,7 @@ function IfStatement(node) { this.newline(); this.indent(); } - this.printAndIndentOnComments(node.consequent, node); + this.printAndIndentOnComments(node.consequent); if (needsBlock) { this.dedent(); this.newline(); @@ -60,7 +60,7 @@ function IfStatement(node) { if (this.endsWith(125)) this.space(); this.word("else"); this.space(); - this.printAndIndentOnComments(node.alternate, node); + this.printAndIndentOnComments(node.alternate); } } function getLastStatement(statement) { @@ -79,18 +79,18 @@ function ForStatement(node) { { const exit = this.enterForStatementInit(true); this.tokenContext |= _index.TokenContext.forHead; - this.print(node.init, node); + this.print(node.init); exit(); } this.tokenChar(59); if (node.test) { this.space(); - this.print(node.test, node); + this.print(node.test); } this.tokenChar(59); if (node.update) { this.space(); - this.print(node.update, node); + this.print(node.update); } this.tokenChar(41); this.printBlock(node); @@ -99,7 +99,7 @@ function WhileStatement(node) { this.word("while"); this.space(); this.tokenChar(40); - this.print(node.test, node); + this.print(node.test); this.tokenChar(41); this.printBlock(node); } @@ -116,13 +116,13 @@ function ForXStatement(node) { { const exit = isForOf ? null : this.enterForStatementInit(true); this.tokenContext |= isForOf ? _index.TokenContext.forOfHead : _index.TokenContext.forInHead; - this.print(node.left, node); + this.print(node.left); exit == null || exit(); } this.space(); this.word(isForOf ? "of" : "in"); this.space(); - this.print(node.right, node); + this.print(node.right); this.tokenChar(41); this.printBlock(node); } @@ -131,59 +131,59 @@ const ForOfStatement = exports.ForOfStatement = ForXStatement; function DoWhileStatement(node) { this.word("do"); this.space(); - this.print(node.body, node); + this.print(node.body); this.space(); this.word("while"); this.space(); this.tokenChar(40); - this.print(node.test, node); + this.print(node.test); this.tokenChar(41); this.semicolon(); } -function printStatementAfterKeyword(printer, node, parent, isLabel) { +function printStatementAfterKeyword(printer, node, isLabel) { if (node) { printer.space(); - printer.printTerminatorless(node, parent, isLabel); + printer.printTerminatorless(node, isLabel); } printer.semicolon(); } function BreakStatement(node) { this.word("break"); - printStatementAfterKeyword(this, node.label, node, true); + printStatementAfterKeyword(this, node.label, true); } function ContinueStatement(node) { this.word("continue"); - printStatementAfterKeyword(this, node.label, node, true); + printStatementAfterKeyword(this, node.label, true); } function ReturnStatement(node) { this.word("return"); - printStatementAfterKeyword(this, node.argument, node, false); + printStatementAfterKeyword(this, node.argument, false); } function ThrowStatement(node) { this.word("throw"); - printStatementAfterKeyword(this, node.argument, node, false); + printStatementAfterKeyword(this, node.argument, false); } function LabeledStatement(node) { - this.print(node.label, node); + this.print(node.label); this.tokenChar(58); this.space(); - this.print(node.body, node); + this.print(node.body); } function TryStatement(node) { this.word("try"); this.space(); - this.print(node.block, node); + this.print(node.block); this.space(); if (node.handlers) { - this.print(node.handlers[0], node); + this.print(node.handlers[0]); } else { - this.print(node.handler, node); + this.print(node.handler); } if (node.finalizer) { this.space(); this.word("finally"); this.space(); - this.print(node.finalizer, node); + this.print(node.finalizer); } } function CatchClause(node) { @@ -191,22 +191,22 @@ function CatchClause(node) { this.space(); if (node.param) { this.tokenChar(40); - this.print(node.param, node); - this.print(node.param.typeAnnotation, node); + this.print(node.param); + this.print(node.param.typeAnnotation); this.tokenChar(41); this.space(); } - this.print(node.body, node); + this.print(node.body); } function SwitchStatement(node) { this.word("switch"); this.space(); this.tokenChar(40); - this.print(node.discriminant, node); + this.print(node.discriminant); this.tokenChar(41); this.space(); this.tokenChar(123); - this.printSequence(node.cases, node, { + this.printSequence(node.cases, { indent: true, addNewlines(leading, cas) { if (!leading && node.cases[node.cases.length - 1] === cas) return -1; @@ -218,7 +218,7 @@ function SwitchCase(node) { if (node.test) { this.word("case"); this.space(); - this.print(node.test, node); + this.print(node.test); this.tokenChar(58); } else { this.word("default"); @@ -226,7 +226,7 @@ function SwitchCase(node) { } if (node.consequent.length) { this.newline(); - this.printSequence(node.consequent, node, { + this.printSequence(node.consequent, { indent: true }); } @@ -259,7 +259,7 @@ function VariableDeclaration(node, parent) { } } } - this.printList(node.declarations, node, { + this.printList(node.declarations, { separator: hasInits ? function () { this.tokenChar(44); this.newline(); @@ -276,14 +276,14 @@ function VariableDeclaration(node, parent) { this.semicolon(); } function VariableDeclarator(node) { - this.print(node.id, node); + this.print(node.id); if (node.definite) this.tokenChar(33); - this.print(node.id.typeAnnotation, node); + this.print(node.id.typeAnnotation); if (node.init) { this.space(); this.tokenChar(61); this.space(); - this.print(node.init, node); + this.print(node.init); } } diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/template-literals.js b/tools/eslint/node_modules/@babel/generator/lib/generators/template-literals.js index a5f02d412bc635..a975057f40a3c7 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/template-literals.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/template-literals.js @@ -7,9 +7,9 @@ exports.TaggedTemplateExpression = TaggedTemplateExpression; exports.TemplateElement = TemplateElement; exports.TemplateLiteral = TemplateLiteral; function TaggedTemplateExpression(node) { - this.print(node.tag, node); - this.print(node.typeParameters, node); - this.print(node.quasi, node); + this.print(node.tag); + this.print(node.typeParameters); + this.print(node.quasi); } function TemplateElement() { throw new Error("TemplateElement printing is handled in TemplateLiteral"); @@ -21,7 +21,7 @@ function TemplateLiteral(node) { partRaw += quasis[i].value.raw; if (i + 1 < quasis.length) { this.token(partRaw + "${", true); - this.print(node.expressions[i], node); + this.print(node.expressions[i]); partRaw = "}"; } } diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/types.js b/tools/eslint/node_modules/@babel/generator/lib/generators/types.js index 7b9eb1d21e79da..dce19a4d85f9e3 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/types.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/types.js @@ -39,7 +39,7 @@ function ArgumentPlaceholder() { } function RestElement(node) { this.token("..."); - this.print(node.argument, node); + this.print(node.argument); } function ObjectExpression(node) { const props = node.properties; @@ -47,7 +47,7 @@ function ObjectExpression(node) { if (props.length) { const exit = this.enterForStatementInit(false); this.space(); - this.printList(props, node, { + this.printList(props, { indent: true, statement: true }); @@ -58,30 +58,30 @@ function ObjectExpression(node) { this.tokenChar(125); } function ObjectMethod(node) { - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); this._methodHead(node); this.space(); - this.print(node.body, node); + this.print(node.body); } function ObjectProperty(node) { - this.printJoin(node.decorators, node); + this.printJoin(node.decorators); if (node.computed) { this.tokenChar(91); - this.print(node.key, node); + this.print(node.key); this.tokenChar(93); } else { if (isAssignmentPattern(node.value) && isIdentifier(node.key) && node.key.name === node.value.left.name) { - this.print(node.value, node); + this.print(node.value); return; } - this.print(node.key, node); + this.print(node.key); if (node.shorthand && isIdentifier(node.key) && isIdentifier(node.value) && node.key.name === node.value.name) { return; } } this.tokenChar(58); this.space(); - this.print(node.value, node); + this.print(node.value); } function ArrayExpression(node) { const elems = node.elements; @@ -92,7 +92,7 @@ function ArrayExpression(node) { const elem = elems[i]; if (elem) { if (i > 0) this.space(); - this.print(elem, node); + this.print(elem); if (i < len - 1) this.tokenChar(44); } else { this.tokenChar(44); @@ -119,7 +119,7 @@ function RecordExpression(node) { this.token(startToken); if (props.length) { this.space(); - this.printList(props, node, { + this.printList(props, { indent: true, statement: true }); @@ -148,7 +148,7 @@ function TupleExpression(node) { const elem = elems[i]; if (elem) { if (i > 0) this.space(); - this.print(elem, node); + this.print(elem); if (i < len - 1) this.tokenChar(44); } } @@ -217,10 +217,10 @@ function TopicReference() { } } function PipelineTopicExpression(node) { - this.print(node.expression, node); + this.print(node.expression); } function PipelineBareFunction(node) { - this.print(node.callee, node); + this.print(node.callee); } function PipelinePrimaryTopicReference() { this.tokenChar(35); diff --git a/tools/eslint/node_modules/@babel/generator/lib/generators/typescript.js b/tools/eslint/node_modules/@babel/generator/lib/generators/typescript.js index 5d57e58edeb739..499da0c401db72 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/generators/typescript.js +++ b/tools/eslint/node_modules/@babel/generator/lib/generators/typescript.js @@ -75,11 +75,11 @@ function TSTypeAnnotation(node) { this.tokenChar(58); this.space(); if (node.optional) this.tokenChar(63); - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function TSTypeParameterInstantiation(node, parent) { this.tokenChar(60); - this.printList(node.params, node, {}); + this.printList(node.params, {}); if (parent.type === "ArrowFunctionExpression" && node.params.length === 1) { this.tokenChar(44); } @@ -99,13 +99,13 @@ function TSTypeParameter(node) { this.space(); this.word("extends"); this.space(); - this.print(node.constraint, node); + this.print(node.constraint); } if (node.default) { this.space(); this.tokenChar(61); this.space(); - this.print(node.default, node); + this.print(node.default); } } function TSParameterProperty(node) { @@ -125,26 +125,26 @@ function TSDeclareFunction(node, parent) { this.space(); } this._functionHead(node, parent); - this.tokenChar(59); + this.semicolon(); } function TSDeclareMethod(node) { this._classMethodHead(node); - this.tokenChar(59); + this.semicolon(); } function TSQualifiedName(node) { - this.print(node.left, node); + this.print(node.left); this.tokenChar(46); - this.print(node.right, node); + this.print(node.right); } function TSCallSignatureDeclaration(node) { this.tsPrintSignatureDeclarationBase(node); - this.tokenChar(59); + this.semicolon(); } function TSConstructSignatureDeclaration(node) { this.word("new"); this.space(); this.tsPrintSignatureDeclarationBase(node); - this.tokenChar(59); + this.semicolon(); } function TSPropertySignature(node) { const { @@ -155,14 +155,14 @@ function TSPropertySignature(node) { this.space(); } this.tsPrintPropertyOrMethodName(node); - this.print(node.typeAnnotation, node); - this.tokenChar(59); + this.print(node.typeAnnotation); + this.semicolon(); } function tsPrintPropertyOrMethodName(node) { if (node.computed) { this.tokenChar(91); } - this.print(node.key, node); + this.print(node.key); if (node.computed) { this.tokenChar(93); } @@ -180,7 +180,7 @@ function TSMethodSignature(node) { } this.tsPrintPropertyOrMethodName(node); this.tsPrintSignatureDeclarationBase(node); - this.tokenChar(59); + this.semicolon(); } function TSIndexSignature(node) { const { @@ -196,10 +196,10 @@ function TSIndexSignature(node) { this.space(); } this.tokenChar(91); - this._parameters(node.parameters, node); + this._parameters(node.parameters); this.tokenChar(93); - this.print(node.typeAnnotation, node); - this.tokenChar(59); + this.print(node.typeAnnotation); + this.semicolon(); } function TSAnyKeyword() { this.word("any"); @@ -260,19 +260,19 @@ function tsPrintFunctionOrConstructorType(node) { typeParameters } = node; const parameters = node.parameters; - this.print(typeParameters, node); + this.print(typeParameters); this.tokenChar(40); - this._parameters(parameters, node); + this._parameters(parameters); this.tokenChar(41); this.space(); this.token("=>"); this.space(); const returnType = node.typeAnnotation; - this.print(returnType.typeAnnotation, node); + this.print(returnType.typeAnnotation); } function TSTypeReference(node) { - this.print(node.typeName, node, true); - this.print(node.typeParameters, node, true); + this.print(node.typeName, true); + this.print(node.typeParameters, true); } function TSTypePredicate(node) { if (node.asserts) { @@ -292,7 +292,7 @@ function TSTypeQuery(node) { this.space(); this.print(node.exprName); if (node.typeParameters) { - this.print(node.typeParameters, node); + this.print(node.typeParameters); } } function TSTypeLiteral(node) { @@ -307,7 +307,7 @@ function tsPrintBraced(printer, members, node) { printer.indent(); printer.newline(); for (const member of members) { - printer.print(member, node); + printer.print(member); printer.newline(); } printer.dedent(); @@ -315,28 +315,29 @@ function tsPrintBraced(printer, members, node) { printer.rightBrace(node); } function TSArrayType(node) { - this.print(node.elementType, node, true); - this.token("[]"); + this.print(node.elementType, true); + this.tokenChar(91); + this.tokenChar(93); } function TSTupleType(node) { this.tokenChar(91); - this.printList(node.elementTypes, node); + this.printList(node.elementTypes); this.tokenChar(93); } function TSOptionalType(node) { - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); this.tokenChar(63); } function TSRestType(node) { this.token("..."); - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function TSNamedTupleMember(node) { - this.print(node.label, node); + this.print(node.label); if (node.optional) this.tokenChar(63); this.tokenChar(58); this.space(); - this.print(node.elementType, node); + this.print(node.elementType); } function TSUnionType(node) { tsPrintUnionOrIntersectionType(this, node, "|"); @@ -345,7 +346,7 @@ function TSIntersectionType(node) { tsPrintUnionOrIntersectionType(this, node, "&"); } function tsPrintUnionOrIntersectionType(printer, node, sep) { - printer.printJoin(node.types, node, { + printer.printJoin(node.types, { separator() { this.space(); this.token(sep); @@ -375,18 +376,18 @@ function TSInferType(node) { } function TSParenthesizedType(node) { this.tokenChar(40); - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); this.tokenChar(41); } function TSTypeOperator(node) { this.word(node.operator); this.space(); - this.print(node.typeAnnotation, node); + this.print(node.typeAnnotation); } function TSIndexedAccessType(node) { - this.print(node.objectType, node, true); + this.print(node.objectType, true); this.tokenChar(91); - this.print(node.indexType, node); + this.print(node.indexType); this.tokenChar(93); } function TSMappedType(node) { @@ -394,7 +395,6 @@ function TSMappedType(node) { nameType, optional, readonly, - typeParameter, typeAnnotation } = node; this.tokenChar(123); @@ -405,16 +405,20 @@ function TSMappedType(node) { this.space(); } this.tokenChar(91); - this.word(typeParameter.name); + { + this.word(node.typeParameter.name); + } this.space(); this.word("in"); this.space(); - this.print(typeParameter.constraint, typeParameter); + { + this.print(node.typeParameter.constraint); + } if (nameType) { this.space(); this.word("as"); this.space(); - this.print(nameType, node); + this.print(nameType); } this.tokenChar(93); if (optional) { @@ -424,7 +428,7 @@ function TSMappedType(node) { if (typeAnnotation) { this.tokenChar(58); this.space(); - this.print(typeAnnotation, node); + this.print(typeAnnotation); } this.space(); this.tokenChar(125); @@ -435,11 +439,11 @@ function tokenIfPlusMinus(self, tok) { } } function TSLiteralType(node) { - this.print(node.literal, node); + this.print(node.literal); } function TSExpressionWithTypeArguments(node) { - this.print(node.expression, node); - this.print(node.typeParameters, node); + this.print(node.expression); + this.print(node.typeParameters); } function TSInterfaceDeclaration(node) { const { @@ -455,16 +459,16 @@ function TSInterfaceDeclaration(node) { } this.word("interface"); this.space(); - this.print(id, node); - this.print(typeParameters, node); + this.print(id); + this.print(typeParameters); if (extendz != null && extendz.length) { this.space(); this.word("extends"); this.space(); - this.printList(extendz, node); + this.printList(extendz); } this.space(); - this.print(body, node); + this.print(body); } function TSInterfaceBody(node) { this.tsPrintTypeLiteralOrInterfaceBody(node.body, node); @@ -482,13 +486,13 @@ function TSTypeAliasDeclaration(node) { } this.word("type"); this.space(); - this.print(id, node); - this.print(typeParameters, node); + this.print(id); + this.print(typeParameters); this.space(); this.tokenChar(61); this.space(); - this.print(typeAnnotation, node); - this.tokenChar(59); + this.print(typeAnnotation); + this.semicolon(); } function TSTypeExpression(node) { var _expression$trailingC; @@ -497,12 +501,12 @@ function TSTypeExpression(node) { expression, typeAnnotation } = node; - const forceParens = !!((_expression$trailingC = expression.trailingComments) != null && _expression$trailingC.length); - this.print(expression, node, true, undefined, forceParens); + const forceParens = (_expression$trailingC = expression.trailingComments) == null ? void 0 : _expression$trailingC.some(c => c.type === "CommentLine" || /[\r\n\u2028\u2029]/.test(c.value)); + this.print(expression, true, undefined, forceParens); this.space(); this.word(type === "TSAsExpression" ? "as" : "satisfies"); this.space(); - this.print(typeAnnotation, node); + this.print(typeAnnotation); } function TSTypeAssertion(node) { const { @@ -510,14 +514,14 @@ function TSTypeAssertion(node) { expression } = node; this.tokenChar(60); - this.print(typeAnnotation, node); + this.print(typeAnnotation); this.tokenChar(62); this.space(); - this.print(expression, node); + this.print(expression); } function TSInstantiationExpression(node) { - this.print(node.expression, node); - this.print(node.typeParameters, node); + this.print(node.expression); + this.print(node.typeParameters); } function TSEnumDeclaration(node) { const { @@ -536,7 +540,7 @@ function TSEnumDeclaration(node) { } this.word("enum"); this.space(); - this.print(id, node); + this.print(id); this.space(); tsPrintBraced(this, members, node); } @@ -545,12 +549,12 @@ function TSEnumMember(node) { id, initializer } = node; - this.print(id, node); + this.print(id); if (initializer) { this.space(); this.tokenChar(61); this.space(); - this.print(initializer, node); + this.print(initializer); } this.tokenChar(44); } @@ -567,19 +571,19 @@ function TSModuleDeclaration(node) { this.word(id.type === "Identifier" ? "namespace" : "module"); this.space(); } - this.print(id, node); + this.print(id); if (!node.body) { - this.tokenChar(59); + this.semicolon(); return; } let body = node.body; while (body.type === "TSModuleDeclaration") { this.tokenChar(46); - this.print(body.id, body); + this.print(body.id); body = body.body; } this.space(); - this.print(body, node); + this.print(body); } function TSModuleBlock(node) { tsPrintBraced(this, node.body, node); @@ -592,14 +596,14 @@ function TSImportType(node) { } = node; this.word("import"); this.tokenChar(40); - this.print(argument, node); + this.print(argument); this.tokenChar(41); if (qualifier) { this.tokenChar(46); - this.print(qualifier, node); + this.print(qualifier); } if (typeParameters) { - this.print(typeParameters, node); + this.print(typeParameters); } } function TSImportEqualsDeclaration(node) { @@ -614,20 +618,20 @@ function TSImportEqualsDeclaration(node) { } this.word("import"); this.space(); - this.print(id, node); + this.print(id); this.space(); this.tokenChar(61); this.space(); - this.print(moduleReference, node); - this.tokenChar(59); + this.print(moduleReference); + this.semicolon(); } function TSExternalModuleReference(node) { this.token("require("); - this.print(node.expression, node); + this.print(node.expression); this.tokenChar(41); } function TSNonNullExpression(node) { - this.print(node.expression, node); + this.print(node.expression); this.tokenChar(33); } function TSExportAssignment(node) { @@ -635,8 +639,8 @@ function TSExportAssignment(node) { this.space(); this.tokenChar(61); this.space(); - this.print(node.expression, node); - this.tokenChar(59); + this.print(node.expression); + this.semicolon(); } function TSNamespaceExportDeclaration(node) { this.word("export"); @@ -645,19 +649,20 @@ function TSNamespaceExportDeclaration(node) { this.space(); this.word("namespace"); this.space(); - this.print(node.id, node); + this.print(node.id); + this.semicolon(); } function tsPrintSignatureDeclarationBase(node) { const { typeParameters } = node; const parameters = node.parameters; - this.print(typeParameters, node); + this.print(typeParameters); this.tokenChar(40); - this._parameters(parameters, node); + this._parameters(parameters); this.tokenChar(41); const returnType = node.typeAnnotation; - this.print(returnType, node); + this.print(returnType); } function tsPrintClassMemberModifiers(node) { const isField = node.type === "ClassAccessorProperty" || node.type === "ClassProperty"; diff --git a/tools/eslint/node_modules/@babel/generator/lib/node/parentheses.js b/tools/eslint/node_modules/@babel/generator/lib/node/parentheses.js index cb59597696b2da..37514b0f0074cb 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/node/parentheses.js +++ b/tools/eslint/node_modules/@babel/generator/lib/node/parentheses.js @@ -3,12 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); -exports.ArrowFunctionExpression = ArrowFunctionExpression; exports.AssignmentExpression = AssignmentExpression; exports.Binary = Binary; exports.BinaryExpression = BinaryExpression; exports.ClassExpression = ClassExpression; -exports.ConditionalExpression = ConditionalExpression; +exports.ArrowFunctionExpression = exports.ConditionalExpression = ConditionalExpression; exports.DoExpression = DoExpression; exports.FunctionExpression = FunctionExpression; exports.FunctionTypeAnnotation = FunctionTypeAnnotation; @@ -33,13 +32,13 @@ const { isArrayTypeAnnotation, isBinaryExpression, isCallExpression, - isExportDeclaration, isForOfStatement, isIndexedAccessType, isMemberExpression, isObjectPattern, isOptionalMemberExpression, - isYieldExpression + isYieldExpression, + isStatement } = _t; const PRECEDENCE = new Map([["||", 0], ["??", 0], ["|>", 0], ["&&", 1], ["|", 2], ["^", 3], ["&", 4], ["==", 5], ["===", 5], ["!=", 5], ["!==", 5], ["<", 6], [">", 6], ["<=", 6], [">=", 6], ["in", 6], ["instanceof", 6], [">>", 7], ["<<", 7], [">>>", 7], ["+", 8], ["-", 8], ["*", 9], ["/", 9], ["%", 9], ["**", 10]]); function getBinaryPrecedence(node, nodeType) { @@ -71,9 +70,12 @@ function FunctionTypeAnnotation(node, parent, tokenContext) { function UpdateExpression(node, parent) { return hasPostfixPart(node, parent) || isClassExtendsClause(node, parent); } -function ObjectExpression(node, parent, tokenContext) { +function needsParenBeforeExpressionBrace(tokenContext) { return Boolean(tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.arrowBody)); } +function ObjectExpression(node, parent, tokenContext) { + return needsParenBeforeExpressionBrace(tokenContext); +} function DoExpression(node, parent, tokenContext) { return !node.async && Boolean(tokenContext & _index.TokenContext.expressionStatement); } @@ -115,7 +117,7 @@ function TSAsExpression(node, parent) { } function TSUnionType(node, parent) { const parentType = parent.type; - return parentType === "TSArrayType" || parentType === "TSOptionalType" || parentType === "TSIntersectionType" || parentType === "TSUnionType" || parentType === "TSRestType"; + return parentType === "TSArrayType" || parentType === "TSOptionalType" || parentType === "TSIntersectionType" || parentType === "TSRestType"; } function TSInferType(node, parent) { const parentType = parent.type; @@ -130,10 +132,19 @@ function BinaryExpression(node, parent, tokenContext, inForStatementInit) { } function SequenceExpression(node, parent) { const parentType = parent.type; - if (parentType === "ForStatement" || parentType === "ThrowStatement" || parentType === "ReturnStatement" || parentType === "IfStatement" && parent.test === node || parentType === "WhileStatement" && parent.test === node || parentType === "ForInStatement" && parent.right === node || parentType === "SwitchStatement" && parent.discriminant === node || parentType === "ExpressionStatement" && parent.expression === node) { + if (parentType === "SequenceExpression" || parentType === "ParenthesizedExpression" || parentType === "MemberExpression" && parent.property === node || parentType === "OptionalMemberExpression" && parent.property === node || parentType === "TemplateLiteral") { return false; } - return true; + if (parentType === "ClassDeclaration") { + return true; + } + if (parentType === "ForOfStatement") { + return parent.right === node; + } + if (parentType === "ExportDefaultDeclaration") { + return true; + } + return !isStatement(parent); } function YieldExpression(node, parent) { const parentType = parent.type; @@ -148,9 +159,6 @@ function UnaryLike(node, parent) { function FunctionExpression(node, parent, tokenContext) { return Boolean(tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.exportDefault)); } -function ArrowFunctionExpression(node, parent) { - return isExportDeclaration(parent) || ConditionalExpression(node, parent); -} function ConditionalExpression(node, parent) { const parentType = parent.type; if (parentType === "UnaryExpression" || parentType === "SpreadElement" || parentType === "BinaryExpression" || parentType === "LogicalExpression" || parentType === "ConditionalExpression" && parent.test === node || parentType === "AwaitExpression" || isTSTypeExpression(parentType)) { @@ -161,8 +169,8 @@ function ConditionalExpression(node, parent) { function OptionalMemberExpression(node, parent) { return isCallExpression(parent) && parent.callee === node || isMemberExpression(parent) && parent.object === node; } -function AssignmentExpression(node, parent) { - if (isObjectPattern(node.left)) { +function AssignmentExpression(node, parent, tokenContext) { + if (needsParenBeforeExpressionBrace(tokenContext) && isObjectPattern(node.left)) { return true; } else { return ConditionalExpression(node, parent); diff --git a/tools/eslint/node_modules/@babel/generator/lib/printer.js b/tools/eslint/node_modules/@babel/generator/lib/printer.js index c60b3fd6bc3111..caf822adcdd8b0 100644 --- a/tools/eslint/node_modules/@babel/generator/lib/printer.js +++ b/tools/eslint/node_modules/@babel/generator/lib/printer.js @@ -36,6 +36,7 @@ class Printer { this._printedComments = new Set(); this._endsWithInteger = false; this._endsWithWord = false; + this._endsWithDiv = false; this._lastCommentLine = 0; this._endsWithInnerRaw = false; this._indentInnerComments = true; @@ -99,7 +100,7 @@ class Printer { word(str, noLineTerminatorAfter = false) { this.tokenContext = 0; this._maybePrintInnerComments(); - if (this._endsWithWord || str.charCodeAt(0) === 47 && this.endsWith(47)) { + if (this._endsWithWord || this._endsWithDiv && str.charCodeAt(0) === 47) { this._space(); } this._maybeAddAuxComment(); @@ -205,6 +206,7 @@ class Printer { this._buf.append(str, maybeNewline); this._endsWithWord = false; this._endsWithInteger = false; + this._endsWithDiv = false; } _appendChar(char) { this._maybeAddParenChar(char); @@ -212,6 +214,7 @@ class Printer { this._buf.appendChar(char); this._endsWithWord = false; this._endsWithInteger = false; + this._endsWithDiv = false; } _queue(char) { this._maybeAddParenChar(char); @@ -292,16 +295,16 @@ class Printer { _getIndent() { return this._indentRepeat * this._indent; } - printTerminatorless(node, parent, isLabel) { + printTerminatorless(node, isLabel) { if (isLabel) { this._noLineTerminator = true; - this.print(node, parent); + this.print(node); } else { const terminatorState = { printed: false }; this._parenPushNewlineState = terminatorState; - this.print(node, parent); + this.print(node); if (terminatorState.printed) { this.dedent(); this.newline(); @@ -309,7 +312,7 @@ class Printer { } } } - print(node, parent, noLineTerminatorAfter, trailingCommentsLineOffset, forceParens) { + print(node, noLineTerminatorAfter, trailingCommentsLineOffset, forceParens) { var _node$extra, _node$leadingComments; if (!node) return; this._endsWithInnerRaw = false; @@ -323,7 +326,7 @@ class Printer { if (printMethod === undefined) { throw new ReferenceError(`unknown node of type ${JSON.stringify(nodeType)} with constructor ${JSON.stringify(node.constructor.name)}`); } - const oldNode = this._currentNode; + const parent = this._currentNode; this._currentNode = node; const oldInAux = this._insideAux; this._insideAux = node.loc == null; @@ -367,7 +370,7 @@ class Printer { } else { this._printTrailingComments(node, parent, trailingCommentsLineOffset); } - this._currentNode = oldNode; + this._currentNode = parent; format.concise = oldConcise; this._insideAux = oldInAux; this._endsWithInnerRaw = false; @@ -404,7 +407,7 @@ class Printer { return extra.raw; } } - printJoin(nodes, parent, opts = {}) { + printJoin(nodes, opts = {}) { if (!(nodes != null && nodes.length)) return; let { indent @@ -427,7 +430,7 @@ class Printer { const node = nodes[i]; if (!node) continue; if (opts.statement) this._printNewline(i === 0, newlineOpts); - this.print(node, parent, undefined, opts.trailingCommentsLineOffset || 0); + this.print(node, undefined, opts.trailingCommentsLineOffset || 0); opts.iterator == null || opts.iterator(node, i); if (i < len - 1) separator == null || separator(); if (opts.statement) { @@ -447,10 +450,10 @@ class Printer { } if (indent) this.dedent(); } - printAndIndentOnComments(node, parent) { + printAndIndentOnComments(node) { const indent = node.leadingComments && node.leadingComments.length > 0; if (indent) this.indent(); - this.print(node, parent); + this.print(node); if (indent) this.dedent(); } printBlock(parent) { @@ -458,7 +461,7 @@ class Printer { if (node.type !== "EmptyStatement") { this.space(); } - this.print(node, parent); + this.print(node); } _printTrailingComments(node, parent, lineOffset) { const { @@ -499,17 +502,17 @@ class Printer { noIndentInnerCommentsHere() { this._indentInnerComments = false; } - printSequence(nodes, parent, opts = {}) { + printSequence(nodes, opts = {}) { var _opts$indent; opts.statement = true; (_opts$indent = opts.indent) != null ? _opts$indent : opts.indent = false; - this.printJoin(nodes, parent, opts); + this.printJoin(nodes, opts); } - printList(items, parent, opts = {}) { + printList(items, opts = {}) { if (opts.separator == null) { opts.separator = commaSeparator; } - this.printJoin(items, parent, opts); + this.printJoin(items, opts); } _printNewline(newLine, opts) { const format = this.format; @@ -554,7 +557,7 @@ class Printer { this.newline(1); } const lastCharCode = this.getLastChar(); - if (lastCharCode !== 91 && lastCharCode !== 123) { + if (lastCharCode !== 91 && lastCharCode !== 123 && lastCharCode !== 40) { this.space(); } let val; @@ -590,7 +593,7 @@ class Printer { } else { val = `/*${comment.value}*/`; } - if (this.endsWith(47)) this._space(); + if (this._endsWithDiv) this._space(); this.source("start", comment.loc); this._append(val, isBlockComment); if (!isBlockComment && !noLineTerminator) { diff --git a/tools/eslint/node_modules/@babel/generator/package.json b/tools/eslint/node_modules/@babel/generator/package.json index dd6b495c2e2bc0..3b15c2b60b3fe9 100644 --- a/tools/eslint/node_modules/@babel/generator/package.json +++ b/tools/eslint/node_modules/@babel/generator/package.json @@ -1,6 +1,6 @@ { "name": "@babel/generator", - "version": "7.25.0", + "version": "7.25.6", "description": "Turns an AST into code.", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", @@ -19,14 +19,14 @@ "lib" ], "dependencies": { - "@babel/types": "^7.25.0", + "@babel/types": "^7.25.6", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "devDependencies": { "@babel/helper-fixtures": "^7.24.8", - "@babel/parser": "^7.25.0", + "@babel/parser": "^7.25.6", "@jridgewell/sourcemap-codec": "^1.4.15", "@types/jsesc": "^2.5.0", "charcodes": "^0.2.0" diff --git a/tools/eslint/node_modules/@babel/helper-compilation-targets/lib/utils.js b/tools/eslint/node_modules/@babel/helper-compilation-targets/lib/utils.js index cc52bf247cc03d..70270e093ce99b 100644 --- a/tools/eslint/node_modules/@babel/helper-compilation-targets/lib/utils.js +++ b/tools/eslint/node_modules/@babel/helper-compilation-targets/lib/utils.js @@ -12,7 +12,7 @@ exports.semverify = semverify; var _semver = require("semver"); var _helperValidatorOption = require("@babel/helper-validator-option"); var _targets = require("./targets.js"); -const versionRegExp = /^(\d+|\d+.\d+)$/; +const versionRegExp = /^(?:\d+|\d(?:\d?[^\d\n\r\u2028\u2029]\d+|\d{2,}(?:[^\d\n\r\u2028\u2029]\d+)?))$/; const v = new _helperValidatorOption.OptionValidator("@babel/helper-compilation-targets"); function semverMin(first, second) { return first && _semver.lt(first, second) ? first : second; diff --git a/tools/eslint/node_modules/@babel/helper-compilation-targets/package.json b/tools/eslint/node_modules/@babel/helper-compilation-targets/package.json index c1369339f206cc..b6aa3ae82d257f 100644 --- a/tools/eslint/node_modules/@babel/helper-compilation-targets/package.json +++ b/tools/eslint/node_modules/@babel/helper-compilation-targets/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-compilation-targets", - "version": "7.24.8", + "version": "7.25.2", "author": "The Babel Team (https://babel.dev/team)", "license": "MIT", "description": "Helper functions on Babel compilation targets", @@ -25,7 +25,7 @@ "babel-plugin" ], "dependencies": { - "@babel/compat-data": "^7.24.8", + "@babel/compat-data": "^7.25.2", "@babel/helper-validator-option": "^7.24.8", "browserslist": "^4.23.1", "lru-cache": "^5.1.1", diff --git a/tools/eslint/node_modules/@babel/helper-module-transforms/lib/get-module-name.js b/tools/eslint/node_modules/@babel/helper-module-transforms/lib/get-module-name.js index ee1307929f0347..b1a6ed7065f30d 100644 --- a/tools/eslint/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +++ b/tools/eslint/node_modules/@babel/helper-module-transforms/lib/get-module-name.js @@ -35,7 +35,7 @@ function getModuleName(rootOpts, pluginOpts) { let moduleName = moduleRoot != null ? moduleRoot + "/" : ""; if (filenameRelative) { const sourceRootReplacer = sourceRoot != null ? new RegExp("^" + sourceRoot + "/?") : ""; - moduleName += filenameRelative.replace(sourceRootReplacer, "").replace(/\.(\w*?)$/, ""); + moduleName += filenameRelative.replace(sourceRootReplacer, "").replace(/\.\w*$/, ""); } moduleName = moduleName.replace(/\\/g, "/"); if (getModuleId) { diff --git a/tools/eslint/node_modules/@babel/helper-module-transforms/package.json b/tools/eslint/node_modules/@babel/helper-module-transforms/package.json index e4fb18582a5a69..7d6d1ab98c3ff1 100644 --- a/tools/eslint/node_modules/@babel/helper-module-transforms/package.json +++ b/tools/eslint/node_modules/@babel/helper-module-transforms/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-module-transforms", - "version": "7.25.0", + "version": "7.25.2", "description": "Babel helper functions for implementing ES6 module transformations", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helper-module-transforms", @@ -18,10 +18,10 @@ "@babel/helper-module-imports": "^7.24.7", "@babel/helper-simple-access": "^7.24.7", "@babel/helper-validator-identifier": "^7.24.7", - "@babel/traverse": "^7.25.0" + "@babel/traverse": "^7.25.2" }, "devDependencies": { - "@babel/core": "^7.24.9" + "@babel/core": "^7.25.2" }, "peerDependencies": { "@babel/core": "^7.0.0" diff --git a/tools/eslint/node_modules/@babel/helpers/lib/helpers-generated.js b/tools/eslint/node_modules/@babel/helpers/lib/helpers-generated.js index 805fc71af7b1eb..ba285852398c7d 100644 --- a/tools/eslint/node_modules/@babel/helpers/lib/helpers-generated.js +++ b/tools/eslint/node_modules/@babel/helpers/lib/helpers-generated.js @@ -731,7 +731,7 @@ const helpers = exports.default = { getPrototypeOf: ["body.0.body.body.0.test.right.right.right.callee"] } }), - superPropGet: helper("7.25.0", "function _superPropertyGet(t,e,r,o){var p=get(getPrototypeOf(1&o?t.prototype:t),e,r);return 2&o?function(t){return p.apply(r,t)}:p}", { + superPropGet: helper("7.25.0", 'function _superPropertyGet(t,e,o,r){var p=get(getPrototypeOf(1&r?t.prototype:t),e,o);return 2&r&&"function"==typeof p?function(t){return p.apply(o,t)}:p}', { globals: [], locals: { _superPropertyGet: ["body.0.id"] diff --git a/tools/eslint/node_modules/@babel/helpers/lib/helpers/superPropGet.js b/tools/eslint/node_modules/@babel/helpers/lib/helpers/superPropGet.js index 30c6ccbcff9f5e..bca6625dc2f8e2 100644 --- a/tools/eslint/node_modules/@babel/helpers/lib/helpers/superPropGet.js +++ b/tools/eslint/node_modules/@babel/helpers/lib/helpers/superPropGet.js @@ -8,7 +8,7 @@ var _get = require("./get.js"); var _getPrototypeOf = require("./getPrototypeOf.js"); function _superPropertyGet(classArg, property, receiver, flags) { var result = (0, _get.default)((0, _getPrototypeOf.default)(flags & 1 ? classArg.prototype : classArg), property, receiver); - return flags & 2 ? function (args) { + return flags & 2 && typeof result === "function" ? function (args) { return result.apply(receiver, args); } : result; } diff --git a/tools/eslint/node_modules/@babel/helpers/package.json b/tools/eslint/node_modules/@babel/helpers/package.json index 570394cb0973c1..ab4fea35b7a90b 100644 --- a/tools/eslint/node_modules/@babel/helpers/package.json +++ b/tools/eslint/node_modules/@babel/helpers/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helpers", - "version": "7.25.0", + "version": "7.25.6", "description": "Collection of helper functions used by Babel transforms.", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-helpers", @@ -16,12 +16,12 @@ "main": "./lib/index.js", "dependencies": { "@babel/template": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/types": "^7.25.6" }, "devDependencies": { - "@babel/generator": "^7.25.0", + "@babel/generator": "^7.25.6", "@babel/helper-plugin-test-runner": "^7.24.7", - "@babel/parser": "^7.25.0", + "@babel/parser": "^7.25.6", "regenerator-runtime": "^0.14.0" }, "engines": { diff --git a/tools/eslint/node_modules/@babel/helpers/tsconfig.tsbuildinfo b/tools/eslint/node_modules/@babel/helpers/tsconfig.tsbuildinfo new file mode 100644 index 00000000000000..301dfab39f157b --- /dev/null +++ b/tools/eslint/node_modules/@babel/helpers/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.string.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../dts/packages/babel-parser/src/util/location.d.ts","../../dts/packages/babel-parser/src/tokenizer/context.d.ts","../../dts/packages/babel-parser/src/tokenizer/types.d.ts","../../dts/packages/babel-parser/src/parse-error/standard-errors.d.ts","../../dts/packages/babel-parser/src/parse-error/pipeline-operator-errors.d.ts","../../dts/packages/babel-parser/src/parse-error.d.ts","../../dts/packages/babel-parser/src/tokenizer/state.d.ts","../../dts/packages/babel-parser/src/util/scopeflags.d.ts","../../dts/packages/babel-parser/src/util/scope.d.ts","../../dts/packages/babel-parser/src/util/expression-scope.d.ts","../../dts/packages/babel-parser/src/util/class-scope.d.ts","../../dts/packages/babel-parser/src/util/production-parameter.d.ts","../babel-parser/src/typings.d.ts","../../dts/packages/babel-parser/src/parser/base.d.ts","../../dts/packages/babel-parser/src/parser/util.d.ts","../../dts/packages/babel-parser/src/parser/node.d.ts","../../dts/packages/babel-parser/src/parser/comments.d.ts","../../dts/packages/babel-helper-string-parser/src/index.d.ts","../../dts/packages/babel-parser/src/tokenizer/index.d.ts","../../node_modules/@types/charcodes/index.d.ts","../../dts/packages/babel-parser/src/parser/lval.d.ts","../../dts/packages/babel-parser/src/parser/expression.d.ts","../../dts/packages/babel-parser/src/parser/statement.d.ts","../../dts/packages/babel-parser/src/plugins/placeholders.d.ts","../../dts/packages/babel-parser/src/types.d.ts","../../dts/packages/babel-parser/src/parser/index.d.ts","../../dts/packages/babel-parser/src/plugins/flow/scope.d.ts","../../dts/packages/babel-parser/src/plugins/jsx/index.d.ts","../../dts/packages/babel-parser/src/plugins/typescript/scope.d.ts","../../dts/packages/babel-parser/src/plugin-utils.d.ts","../../dts/packages/babel-parser/src/options.d.ts","../../dts/packages/babel-parser/src/index.d.ts","../../dts/packages/babel-template/src/options.d.ts","../../dts/packages/babel-types/src/validators/react/isCompatTag.d.ts","../../dts/packages/babel-types/src/builders/react/buildChildren.d.ts","../../dts/packages/babel-types/src/asserts/assertNode.d.ts","../../dts/packages/babel-types/src/asserts/generated/index.d.ts","../../dts/packages/babel-types/src/builders/flow/createTypeAnnotationBasedOnTypeof.d.ts","../../dts/packages/babel-types/src/builders/flow/createFlowUnionType.d.ts","../../dts/packages/babel-types/src/builders/typescript/createTSUnionType.d.ts","../../dts/packages/babel-types/src/builders/generated/index.d.ts","../babel-types/src/builders/generated/uppercase.d.ts","../../dts/packages/babel-types/src/builders/productions.d.ts","../../dts/packages/babel-types/src/clone/cloneNode.d.ts","../../dts/packages/babel-types/src/clone/clone.d.ts","../../dts/packages/babel-types/src/clone/cloneDeep.d.ts","../../dts/packages/babel-types/src/clone/cloneDeepWithoutLoc.d.ts","../../dts/packages/babel-types/src/clone/cloneWithoutLoc.d.ts","../../dts/packages/babel-types/src/comments/addComment.d.ts","../../dts/packages/babel-types/src/comments/addComments.d.ts","../../dts/packages/babel-types/src/comments/inheritInnerComments.d.ts","../../dts/packages/babel-types/src/comments/inheritLeadingComments.d.ts","../../dts/packages/babel-types/src/comments/inheritsComments.d.ts","../../dts/packages/babel-types/src/comments/inheritTrailingComments.d.ts","../../dts/packages/babel-types/src/comments/removeComments.d.ts","../../dts/packages/babel-types/src/constants/generated/index.d.ts","../../dts/packages/babel-types/src/constants/index.d.ts","../../dts/packages/babel-types/src/converters/ensureBlock.d.ts","../../dts/packages/babel-types/src/converters/toBindingIdentifierName.d.ts","../../dts/packages/babel-types/src/converters/toBlock.d.ts","../../dts/packages/babel-types/src/converters/toComputedKey.d.ts","../../dts/packages/babel-types/src/converters/toExpression.d.ts","../../dts/packages/babel-types/src/converters/toIdentifier.d.ts","../../dts/packages/babel-types/src/converters/toKeyAlias.d.ts","../../dts/packages/babel-types/src/converters/toStatement.d.ts","../../dts/packages/babel-types/src/converters/valueToNode.d.ts","../../dts/packages/babel-types/src/definitions/utils.d.ts","../../dts/packages/babel-types/src/definitions/core.d.ts","../../dts/packages/babel-types/src/definitions/flow.d.ts","../../dts/packages/babel-types/src/definitions/jsx.d.ts","../../dts/packages/babel-types/src/definitions/misc.d.ts","../../dts/packages/babel-types/src/definitions/experimental.d.ts","../../dts/packages/babel-types/src/definitions/typescript.d.ts","../../dts/packages/babel-types/src/definitions/placeholders.d.ts","../../dts/packages/babel-types/src/definitions/deprecated-aliases.d.ts","../../dts/packages/babel-types/src/definitions/index.d.ts","../../dts/packages/babel-types/src/modifications/appendToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/inherits.d.ts","../../dts/packages/babel-types/src/modifications/prependToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/removeProperties.d.ts","../../dts/packages/babel-types/src/modifications/removePropertiesDeep.d.ts","../../dts/packages/babel-types/src/modifications/flow/removeTypeDuplicates.d.ts","../../dts/packages/babel-types/src/retrievers/getAssignmentIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getOuterBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getFunctionName.d.ts","../../dts/packages/babel-types/src/traverse/traverse.d.ts","../../dts/packages/babel-types/src/traverse/traverseFast.d.ts","../../dts/packages/babel-types/src/utils/shallowEqual.d.ts","../../dts/packages/babel-types/src/validators/is.d.ts","../../dts/packages/babel-types/src/validators/isBinding.d.ts","../../dts/packages/babel-types/src/validators/isBlockScoped.d.ts","../../dts/packages/babel-types/src/validators/isImmutable.d.ts","../../dts/packages/babel-types/src/validators/isLet.d.ts","../../dts/packages/babel-types/src/validators/isNode.d.ts","../../dts/packages/babel-types/src/validators/isNodesEquivalent.d.ts","../../dts/packages/babel-types/src/validators/isPlaceholderType.d.ts","../../dts/packages/babel-types/src/validators/isReferenced.d.ts","../../dts/packages/babel-types/src/validators/isScope.d.ts","../../dts/packages/babel-types/src/validators/isSpecifierDefault.d.ts","../../dts/packages/babel-types/src/validators/isType.d.ts","../../dts/packages/babel-types/src/validators/isValidES3Identifier.d.ts","../../dts/packages/babel-types/src/validators/isValidIdentifier.d.ts","../../dts/packages/babel-types/src/validators/isVar.d.ts","../../dts/packages/babel-types/src/validators/matchesPattern.d.ts","../../dts/packages/babel-types/src/validators/validate.d.ts","../../dts/packages/babel-types/src/validators/buildMatchMemberExpression.d.ts","../../dts/packages/babel-types/src/validators/generated/index.d.ts","../../dts/packages/babel-types/src/ast-types/generated/index.d.ts","../../dts/packages/babel-types/src/utils/deprecationWarning.d.ts","../../dts/packages/babel-types/src/index.d.ts","../../dts/packages/babel-template/src/formatters.d.ts","../../dts/packages/babel-template/src/builder.d.ts","../../dts/packages/babel-template/src/index.d.ts","./src/helpers-generated.ts","./src/index.ts","../../lib/globals.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/convert-source-map/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-readdir-recursive/index.d.ts","../../node_modules/@types/gensync/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/jest-diff/node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/jsesc/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lru-cache/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/v8flags/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"b10974251ad16a97b357ec50f87455c4430e7f0790f7b399564c900e4ebf87f1","234123959236555e336e4efcd7aa203ac1d5370ee5d891dcfc5828d996b28f59","b59756cf12284e6136e042f322af2e22664e1fd46f713b1dd3abb1740719b732","62b65c635a282ea4855cd6a9b968527cbab364c38410ea432f63c5c591db9072","d31fbe2a651edb67d3950722299b098528292b517f6947d2d81ab913a41a2566","569de4401936201287d466c310a32432c2eef9c42524f5e31379e743dda71bf2","2cf4af5b2e64cfc639866ecc565edfe8da7dd3bd06c5ec93e491431d8b2cbb52","6131967512c4d205c32f126ef7415453f0c715bf53c7175d6deecb72d76a75b5","4e38f7bd172e7549c323610cfede12644c116581dfc4d751998d301eda9573e6","0d1adbde28307411dae5e1cc8cc316130653bfc6ad8feb4b59063f60efdfd693","d8288a8eb14187b0df133ce467216d61d9ffe838ae5930471f476a5c36141828","70ae92a852a67db5b841a7ee3e9d16df7c06320ab86dbf2d5dbd9d76f3c98faa","d8b49d5f3ea9c320fa3623c746bf0643fd19520265bc53749f1a4e532ebe92b3","ead85b2d6cd6e6deb144a0995896c0ca7423820c66cc00e416e66733d2932985","5893d8b87ce06846556d2460e2eaf2aa8388f2179ed151d302ab7d711a75c7e4","6b4d9c91ed03e7afd40fa045042fcb7a6250b8dbe242154f3c4b948a99c74a9d","8b37c18f85644a1c666705bb5c233850cac84d8863c19870a8ed5f8d69c68800","186139eb9963554412f6fb33b35aabee1acdaa644b365de5c38fbd9123bdbe45","429e18739687877b761b4b6574a45a9e51111a6a71cd63711440cb0f9c602e87","b7589677bd27b038f8aae8afeb030e554f1d5ff29dc4f45854e2cb7e5095d59a","2141d76dd4ef56c5aae88b7d93a8df9fc7d9a779a2441825a8e3e2d0a025f761","31cd8b7c7ff990e5213c4f291f6a92e26eea3bed21a1147eecd32e0b789b37de","431fa08179e6ec652924f1f0788e213db388b0dbebdbfd392477772c5f199573","092ebda2bb8a86fbf91c87f05de87a433eedeea8cb0be462984ef6fab1148c41","4d4e7dba6eac3fa53fd158af2290a29ba3bbdd07537b630d6d4960d11af99aaa","bf37ea47ebbf5d66dd7a26f59c08524608a3bd36b8736c5c4e3b22619d722695","e4aa4e8d3eb4c67b64962344ef3388a8cd607821ba619c9379b36316db65c9ac","ae795ae07c9049d4ef2ea798e539c883a774b63be306794f256e11a9b228ebe6","635ca94290fa45a56e53ffadd3b897a42650fd4ab0ddc241392e4dc729bf496b","ca02b010759d1cf92100866c89b66cb211630a4a6de9d4381449a6fabf2cbaa5","02519cdd247317de0bfdc78d88b5497d9747e1b9d1297283a0fea8ab3787f6ab","53989e09bc0b6b46a3c4597e5147a9b989f1f66f33ce7375b92d28139977e748","269ee735294e8c328681830ae7fdf4aea6c24032f0541d76c914aac9afadda5c","b360236d3b226a56126f9f071d68fccd10eba34e4b6831efc39e8a3277380523","a73bd08ca8f85d9c1f0307ae7abb246e38cb618f452e15fd3612464e846665b0","9b1b103c34f4c56ab0c40c87a85ffd36002295d8fbe17b493509e63a383f5814","e4a023723ff5cfdc22880b572dd15876d0bc4bb4f2a555d71d226a2578786ad3","3aa0ae0c3636319f9bc6e5c2a4bd484f9b2b4e78623b33131056a95fb59c954c","dc25e664429b44c379d4d3cf988b2cce06116ae94f5c6f1a0cf73245b4282a93","e59daf03ff2d76dee4726e48556aba1d105fd1c7a7a9cbf3e74ec4a1f91a6bea","250bb1ea2d799ecf488834fe20efa611063ab79b35639b7b3024f05e1b6641ee","a0fbfc839fefc3d41a12c5a8631e6543135ff18fd516cd06c5a09f84cb81578c","9ce376fdbe50ed84260f0dc45cc1f242916f2c0c91da6464df63df0ba2baae7c","c3e41c24eb14414b6995d4bbac99d16ce2e609282c9b53d1333b7b423e0f7d02","b555d22a622ea0565d08a340e5c19f6f439f40d4451a2f13fe6a33a39b3d761c","9f29212a64599c6c5563b78746bf85f709d5437f18dac77502a53af63dadb850","6b714d7db731bb6da813dfa3d88ded4ce0bc9b627464e86315468e1be9adadff","5ebd0c7b976b7cbe390e381d27ec9dc5adde1a02cf9ecfb2a7caed7a822a5cae","4171247c72f90ac86a3cd3cdb0f372214a556aa8b94aa92b28bf6d21dad5f7ee","b8b9aae5a37c0d3dec11813d992b893ed55a080289466ade6c1bc47e3987f53a","eb69d4cd5875c471c0dd30988bf8a4816f9b8fab1e71a8c39096e483411faa00","48225779dd7b1b7b384389e325ed6aa271a6745239d8193c2fc161cacbf3dac5","c6fd0f9d777f11f972b4decc52beeeae6aad9f2aa949184e8f9984a5c36e4448","3f4487628af3e52556d6f33151740876b29a5355b8a5ccf8e56d1b3ae7cbcc0e","2b4ca439136421892cc80ebf6f6ea641a0306e58bd12ed61ae7f20becb2ee15f","d765a1a0f109522a082c9b8de1f6c0364463e972ece981b0f504fa611187956a","ce8fe0d07c32e6786203b5a3b93468afc6b1fcf57481dc9673e16fb119312c19","dfa94dabc1567d2b882222947f5c181adc89a3af5b6a2b730b1c3b85d4cfe48f","c33fa94c2e88d70a2e98a33474d3cf477d959477236323a748f638b3ca1e2af0","058e39e6fe02e97ddc18b2952a67d0dfb71f1f60f86405480fec569b602f5284","8c5dbef5fc0eb113d94132a5ba440d75e33eb85e9497a1f7e3bdb29a3fcd3469","0d9808e1f0d2bd4c45462c7e2f20c0cf08b700c6964e7eda5e10d1f6b707deb8","9f3f8ff5d06c5d5583e891d3bb98489d58e358e49bda2827f3f7819cdb632ad0","6978b8fc2f45108c4bc2788bd7053f2917d7efa28f74ddf52182dc9ab59d03cf","e127a8fb319d5978d73d966a5a68b85915848f8f96267fff2f0dbe9bc92373e9","77adbafe67e2bf42d578d82d2fb994530cce5b9eaa28a2a5b24aca70a008c3d9","2041804d5582855acf4cdb0d641cd83a26952d5955f0f1806c9b7e9ae90ac3dc","7d2a0764991446f121b01e690edcb502ce40fd02145613d1d349d9e46be3782a","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","513e4a7dd68f60782a39d5ae4ce6f0a19ccc4c51808b359560ad1f689f0ce93d","519157309e4f7c98b6067933db2a849961eaa0e5dec4a2ce5d2fc92ace85dcfd","c5f8672c8c39b8f9251a57fc2dab217ce20ac4a9d71c0a498b733cb922ff5e4e","82590ca2dfa968af29be579c534733406fd9c5c4a726213eef9f2308cbb04d23","e88043fb3ae0a6e33be31d45927494ed42c3263bfb318b024b9dab027f09dc2d","3f7e6d7b1d7155d68b5ec0f8e021f10075c785b29171d1d520d0b9b0dd617aa0","7571f6e856945cea6771a2985e008daff8785c6632f9dc1dc9f24f795f84444d","2ff5e66c8448d86302ef11ceeb27cbbd43d3af41aba05c2fc3a48cd0f1d8627f","a73d8151dd40ff705eebd2989e703ba14874574f5fe4f195babe74b6ef93ac59","e872f192c494d687561196b8ce88a06d80b2128b0c28b3bd919a7d663c22cc18","1a910bff4e17d0f855bd00ef0dadc3ad8e7656499c099d19603f8bb0dbe8853e","23996dceac72973064c9643fff1ca0cf585b642d715c56ed3512703f2b280c5e","14cba8dd2c615df75bef2f670ec26fbe86157eb03a55ba5dfbe8ad46253c3b5e","95a1a8e1e7777214b2d970c3426819e976abf9120f2824b571e0ae51d1dd465b","3b6aafb284a9943503546844726c7ecea9ae91fc46f1d8e8cbe233f6d8b16a30","e1bb914c06cc75205fae8713e349dff14bdfd2d36c784d0d2f2b7b5d37e035e0","a5e89e63c809c01f8e8175c9d63da68ce734ddf15b7efd98b1eb262d8e4d05ec","466c63574f0654a81f7d760ccb32570f642b6b46e83b6fdc288c2e52bcef287c","c6526b7ad3213f40e40d617f0a150c8a9dcf0e8f868594ef4aa060b994fd11ce","b5e0565b7ca3ba4c129ed4e1788d4dc1bb30dcdeb14a37df1071c3881507e295","08cdf95dfc59101c1e7c23865951151455ee7f77f1bf7e257034aae8ba332972","4924f889957ee69dfd66643c7e60a5feee526c18b16d10985804c669fe1b6ce4","2c95044092cad1398b593b47290306d73513d163c61e85ebbc39715af4b15578","66612e3b3315adf8702a39830ad8690d6f4293f89193737c604f4b44a51e42ad","1d3f6521348f5d591d4da3408457a553274b024c79ecde88054361040967c211","03a629914760ae9bb64a05e72ad0f4e6aeefb1e7c7b6ae3d7836bb46f69ae23e","95017b0f25bb3cd6782853c14303c20b5099b866ef1491c57fc436add8183f14","989f035cd0c3acf51639b2ff4fb3cb8ccce3d7ef0103a1d32ca5e5f1cfd19387","9dfbdb5529d2be1c9e77112f7e0e20fba7518865f31501b9aa09c3965ee91f6a","9ba02d6560cc8cf8063172ba05b5368a24fb236a97c1c852665372be78143592","cafadd60cda0c63471975430893f7c0ac981f268ec719f08f131e41d8404c4db","6a7a221f94f9547a86feaa3c2ce81b8556c71ffb12057a43c54fc975bca83cde","156d025e006f7df4df1bcf7ce53cd3e3780a0190dfb03c65288f07b372e79843","e34a316302189537858d6d20d5d77d8f0351ed977da8947a401ad9986cdf147f","243665975c1af5dc7b51b10f52e76d3cb8b7676ccc23a6503977526d94b3cdde","3a91334c3409e173cafb3af175d8a4a3ae835851df7015c8f0fc5c117ad46c80","bfe8f5184c00e9c24f8bb40ec929097b2cafc50cc968bc1604501cb6c4a1440c","7b488581d44b9a7bde2131536376fa946cbb3a1b0096427738d5b946a76ca794","23a790e87430f6bcf8dfbc4d3560e8b3d7441f9cfbe509bcf932b4608c60c9e3","7a8b858660503a4af876541f456b2cbc3d89b164ab842c7434ac0fb87ec0e026","024653e8296d821c2332e1e8fe13eb86f4d50f0be82478c958890e92d1f2ca0e",{"version":"b49a9bac46bf63416f22a73147152f8dc621026cb6b27d89f4d44debe20e7ffb","signature":"02cf2596d27195cbb9dba82697a3dc32900459781195302991f777d1d32f5d35"},{"version":"53f5fe2443f579c7b45221298a1700dddc2b3bfb5b4ef43df12eca3e9f05266d","signature":"af2cde32ac3543e8c8312c7983b3fc72b06b4c8a154db71cacb5255ef609bd5a"},{"version":"f0b6690984c3a44b15740ac24bfb63853617731c0f40c87a956ce537c4b50969","affectsGlobalScope":true},"f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","0c5a621a8cf10464c2020f05c99a86d8ac6875d9e17038cb8522cc2f604d539f","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","1d78c35b7e8ce86a188e3e5528cc5d1edfc85187a85177458d26e17c8b48105f","bde8c75c442f701f7c428265ecad3da98023b6152db9ca49552304fd19fdba38","acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","6d969939c4a63f70f2aa49e88da6f64b655c8e6799612807bef41ccff6ea0da9","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e",{"version":"46894b2a21a60f8449ca6b2b7223b7179bba846a61b1434bed77b34b2902c306","affectsGlobalScope":true},"84a805c22a49922085dc337ca71ac0b85aad6d4dba6b01cee5bd5776ff54df39","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","9ad8802fd8850d22277c08f5653e69e551a2e003a376ce0afb3fe28474b51d65","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"root":[[186,188]],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationDir":"../../dts","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":200,"noImplicitAny":true,"noImplicitThis":true,"rootDir":"../..","skipLibCheck":true,"strictBindCallApply":true,"target":99},"fileIdsList":[[74,84,96,102],[101],[72,75,76,77],[78,80,81,82,83,84,96,97,102],[85,87,96],[72,74,77,86,87,92,96,97,102],[80,94,96,102],[72,74,77,79,86,87,91,96,97],[72,86,96],[72,74,79,87,93,96,97,102],[72,74,77,78,80,90,96,97],[72,73,74,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,94,95,96,97,98,99,100,102],[72,79,80,96],[72,73,74,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,94,96,97,102],[72,73,74,77,78,84,87,88,89,96,102],[72,73,74,77,88,102],[73],[72,77,90,95,102],[72,79,90],[72,77,90,96],[72,79,90,96],[104,183],[182],[104,182,184],[103],[138],[138,139,140,141,142,143,144,145,146],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[147,182],[294],[193,195],[192,193,194],[248,249,286,287],[289],[290],[296,299],[235,286,292,298],[293,297],[295],[199],[235],[236,241,270],[237,248,249,256,267,278],[237,238,248,256],[239,279],[240,241,249,257],[241,267,275],[242,244,248,256],[235,243],[244,245],[248],[246,248],[235,248],[248,249,250,267,278],[248,249,250,263,267,270],[233,236,283],[244,248,251,256,267,278],[248,249,251,252,256,267,275,278],[251,253,267,275,278],[199,200,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285],[248,254],[255,278,283],[244,248,256,267],[257],[258],[235,259],[260,277,283],[261],[262],[248,263,264],[263,265,279,281],[236,248,267,268,269,270],[236,267,269],[267,268],[270],[271],[235,267],[248,273,274],[273,274],[241,256,267,275],[276],[256,277],[236,251,262,278],[241,279],[267,280],[255,281],[282],[236,241,248,250,259,267,278,281,283],[267,284],[306,345],[306,330,345],[345],[306],[306,331,345],[306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344],[331,345],[348],[296],[210,214,278],[210,267,278],[205],[207,210,275,278],[256,275],[286],[205,286],[207,210,256,278],[202,203,206,209,236,248,267,278],[202,208],[206,210,236,270,278,286],[236,286],[226,236,286],[204,205,286],[210],[204,205,206,207,208,209,210,211,212,214,215,216,217,218,219,220,221,222,223,224,225,227,228,229,230,231,232],[210,217,218],[208,210,218,219],[209],[202,205,210],[210,214,218,219],[214],[208,210,213,278],[202,207,208,210,214,217],[236,267],[205,210,226,236,283,286],[182,185],[182,186]],"referencedMap":[[103,1],[102,2],[77,3],[85,4],[88,5],[93,6],[97,7],[92,8],[87,9],[94,10],[86,11],[101,12],[98,13],[99,14],[95,14],[100,13],[90,15],[78,16],[74,17],[96,18],[82,19],[81,20],[80,21],[184,22],[183,23],[185,24],[104,25],[107,23],[108,23],[110,23],[109,23],[112,23],[114,23],[106,23],[111,23],[116,23],[117,23],[118,23],[115,23],[119,23],[120,23],[121,23],[122,23],[123,23],[125,23],[124,23],[126,23],[127,23],[129,23],[131,23],[132,23],[133,23],[135,23],[136,23],[137,23],[139,26],[147,27],[138,23],[182,28],[148,23],[153,23],[149,23],[150,23],[151,23],[152,23],[154,23],[155,23],[157,23],[156,23],[158,23],[159,23],[178,23],[179,23],[161,23],[162,23],[163,23],[164,23],[165,23],[166,23],[167,23],[169,23],[170,23],[171,23],[172,23],[175,23],[176,23],[177,29],[295,30],[196,31],[195,32],[288,33],[290,34],[291,35],[301,36],[299,37],[298,38],[300,39],[199,40],[200,40],[235,41],[236,42],[237,43],[238,44],[239,45],[240,46],[241,47],[242,48],[243,49],[244,50],[245,50],[247,51],[246,52],[248,53],[249,54],[250,55],[234,56],[251,57],[252,58],[253,59],[286,60],[254,61],[255,62],[256,63],[257,64],[258,65],[259,66],[260,67],[261,68],[262,69],[263,70],[264,70],[265,71],[267,72],[269,73],[268,74],[270,75],[271,76],[272,77],[273,78],[274,79],[275,80],[276,81],[277,82],[278,83],[279,84],[280,85],[281,86],[282,87],[283,88],[284,89],[330,90],[331,91],[306,92],[309,92],[328,90],[329,90],[319,90],[318,93],[316,90],[311,90],[324,90],[322,90],[326,90],[310,90],[323,90],[327,90],[312,90],[313,90],[325,90],[307,90],[314,90],[315,90],[317,90],[321,90],[332,94],[320,90],[308,90],[345,95],[339,94],[341,96],[340,94],[333,94],[334,94],[336,94],[338,94],[342,96],[343,96],[335,96],[337,96],[349,97],[297,98],[296,39],[217,99],[224,100],[216,99],[231,101],[208,102],[207,103],[230,104],[225,105],[228,106],[210,107],[209,108],[205,109],[204,110],[227,111],[206,112],[211,113],[215,113],[233,114],[232,113],[219,115],[220,116],[222,117],[218,118],[221,119],[226,104],[213,120],[214,121],[223,122],[203,123],[229,124],[186,125],[187,126]],"latestChangedDtsFile":"../../dts/packages/babel-helpers/src/index.d.ts"},"version":"5.5.3"} \ No newline at end of file diff --git a/tools/eslint/node_modules/@babel/parser/lib/index.js b/tools/eslint/node_modules/@babel/parser/lib/index.js index 3162c10a6b11ca..3b5c6bc835f62e 100644 --- a/tools/eslint/node_modules/@babel/parser/lib/index.js +++ b/tools/eslint/node_modules/@babel/parser/lib/index.js @@ -3,17 +3,14 @@ Object.defineProperty(exports, '__esModule', { value: true }); -function _objectWithoutPropertiesLoose(source, excluded) { - if (source == null) return {}; - var target = {}; - var sourceKeys = Object.keys(source); - var key, i; - for (i = 0; i < sourceKeys.length; i++) { - key = sourceKeys[i]; - if (excluded.indexOf(key) >= 0) continue; - target[key] = source[key]; - } - return target; +function _objectWithoutPropertiesLoose(r, e) { + if (null == r) return {}; + var t = {}; + for (var n in r) if ({}.hasOwnProperty.call(r, n)) { + if (e.includes(n)) continue; + t[n] = r[n]; + } + return t; } class Position { constructor(line, col, index) { @@ -348,6 +345,19 @@ function toParseErrorConstructor({ syntaxPlugin }) { const hasMissingPlugin = reasonCode === "MissingPlugin" || reasonCode === "MissingOneOfPlugins"; + { + const oldReasonCodes = { + AccessorCannotDeclareThisParameter: "AccesorCannotDeclareThisParameter", + AccessorCannotHaveTypeParameters: "AccesorCannotHaveTypeParameters", + ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference", + SetAccessorCannotHaveOptionalParameter: "SetAccesorCannotHaveOptionalParameter", + SetAccessorCannotHaveRestParameter: "SetAccesorCannotHaveRestParameter", + SetAccessorCannotHaveReturnType: "SetAccesorCannotHaveReturnType" + }; + if (oldReasonCodes[reasonCode]) { + reasonCode = oldReasonCodes[reasonCode]; + } + } return function constructor(loc, details) { const error = new SyntaxError(); error.code = code; @@ -7378,12 +7388,12 @@ const TSErrors = ParseErrorEnum`typescript`({ AbstractPropertyHasInitializer: ({ propertyName }) => `Property '${propertyName}' cannot have an initializer because it is marked abstract.`, - AccesorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.", - AccesorCannotHaveTypeParameters: "An accessor cannot have type parameters.", AccessorCannotBeOptional: "An 'accessor' property cannot be declared optional.", + AccessorCannotDeclareThisParameter: "'get' and 'set' accessors cannot declare 'this' parameters.", + AccessorCannotHaveTypeParameters: "An accessor cannot have type parameters.", ClassMethodHasDeclare: "Class methods cannot have the 'declare' modifier.", ClassMethodHasReadonly: "Class methods cannot have the 'readonly' modifier.", - ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference: "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.", + ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.", ConstructorHasTypeParameters: "Type parameters cannot appear on a constructor declaration.", DeclareAccessor: ({ kind @@ -7442,9 +7452,9 @@ const TSErrors = ParseErrorEnum`typescript`({ ReadonlyForMethodSignature: "'readonly' modifier can only appear on a property declaration or index signature.", ReservedArrowTypeParam: "This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`.", ReservedTypeAssertion: "This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.", - SetAccesorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.", - SetAccesorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.", - SetAccesorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.", + SetAccessorCannotHaveOptionalParameter: "A 'set' accessor cannot have an optional parameter.", + SetAccessorCannotHaveRestParameter: "A 'set' accessor cannot have rest parameter.", + SetAccessorCannotHaveReturnType: "A 'set' accessor cannot have a return type annotation.", SingleTypeParameterWithoutTrailingComma: ({ typeParameterName }) => `Single type parameter ${typeParameterName} should have a trailing comma. Example usage: <${typeParameterName},>.`, @@ -7522,12 +7532,22 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { return tokenIsIdentifier(this.state.type); } tsTokenCanFollowModifier() { - return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(138) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak(); + return this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(138) || this.isLiteralPropertyName(); } - tsNextTokenCanFollowModifier() { + tsNextTokenOnSameLineAndCanFollowModifier() { this.next(); + if (this.hasPrecedingLineBreak()) { + return false; + } return this.tsTokenCanFollowModifier(); } + tsNextTokenCanFollowModifier() { + if (this.match(106)) { + this.next(); + return this.tsTokenCanFollowModifier(); + } + return this.tsNextTokenOnSameLineAndCanFollowModifier(); + } tsParseModifier(allowedModifiers, stopOnStartOfClassStaticBlock) { if (!tokenIsIdentifier(this.state.type) && this.state.type !== 58 && this.state.type !== 75) { return undefined; @@ -7851,7 +7871,7 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { } const method = nodeAny; if (method.kind && this.match(47)) { - this.raise(TSErrors.AccesorCannotHaveTypeParameters, this.state.curPosition()); + this.raise(TSErrors.AccessorCannotHaveTypeParameters, this.state.curPosition()); } this.tsFillSignature(14, method); this.tsParseTypeMemberSemicolon(); @@ -7861,7 +7881,7 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { if (method[paramsKey].length > 0) { this.raise(Errors.BadGetterArity, this.state.curPosition()); if (this.isThisParam(method[paramsKey][0])) { - this.raise(TSErrors.AccesorCannotDeclareThisParameter, this.state.curPosition()); + this.raise(TSErrors.AccessorCannotDeclareThisParameter, this.state.curPosition()); } } } else if (method.kind === "set") { @@ -7870,17 +7890,17 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { } else { const firstParameter = method[paramsKey][0]; if (this.isThisParam(firstParameter)) { - this.raise(TSErrors.AccesorCannotDeclareThisParameter, this.state.curPosition()); + this.raise(TSErrors.AccessorCannotDeclareThisParameter, this.state.curPosition()); } if (firstParameter.type === "Identifier" && firstParameter.optional) { - this.raise(TSErrors.SetAccesorCannotHaveOptionalParameter, this.state.curPosition()); + this.raise(TSErrors.SetAccessorCannotHaveOptionalParameter, this.state.curPosition()); } if (firstParameter.type === "RestElement") { - this.raise(TSErrors.SetAccesorCannotHaveRestParameter, this.state.curPosition()); + this.raise(TSErrors.SetAccessorCannotHaveRestParameter, this.state.curPosition()); } } if (method[returnTypeKey]) { - this.raise(TSErrors.SetAccesorCannotHaveReturnType, method[returnTypeKey]); + this.raise(TSErrors.SetAccessorCannotHaveReturnType, method[returnTypeKey]); } } else { method.kind = "method"; @@ -7954,12 +7974,6 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { this.next(); return this.match(58); } - tsParseMappedTypeParameter() { - const node = this.startNode(); - node.name = this.tsParseTypeParameterName(); - node.constraint = this.tsExpectThenParseType(58); - return this.finishNode(node, "TSTypeParameter"); - } tsParseMappedType() { const node = this.startNode(); this.expect(5); @@ -7971,7 +7985,12 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { node.readonly = true; } this.expect(0); - node.typeParameter = this.tsParseMappedTypeParameter(); + { + const typeParameter = this.startNode(); + typeParameter.name = this.tsParseTypeParameterName(); + typeParameter.constraint = this.tsExpectThenParseType(58); + node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter"); + } node.nameType = this.eatContextual(93) ? this.tsParseType() : null; this.expect(3); if (this.match(53)) { @@ -9109,7 +9128,7 @@ var typescript = superClass => class TypeScriptParserMixin extends superClass { if (kind !== "const" || !!id.typeAnnotation) { this.raise(TSErrors.InitializerNotAllowedInAmbientContext, init); } else if (!isValidAmbientConstInitializer(init, this.hasPlugin("estree"))) { - this.raise(TSErrors.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference, init); + this.raise(TSErrors.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference, init); } } return declaration; diff --git a/tools/eslint/node_modules/@babel/parser/package.json b/tools/eslint/node_modules/@babel/parser/package.json index a45dca175b566d..da625e6add63a7 100644 --- a/tools/eslint/node_modules/@babel/parser/package.json +++ b/tools/eslint/node_modules/@babel/parser/package.json @@ -1,6 +1,6 @@ { "name": "@babel/parser", - "version": "7.25.0", + "version": "7.25.6", "description": "A JavaScript parser", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-parser", @@ -33,13 +33,16 @@ "engines": { "node": ">=6.0.0" }, + "# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.", + "dependencies": { + "@babel/types": "^7.25.6" + }, "devDependencies": { "@babel/code-frame": "^7.24.7", "@babel/helper-check-duplicate-nodes": "^7.24.7", "@babel/helper-fixtures": "^7.24.8", "@babel/helper-string-parser": "^7.24.8", "@babel/helper-validator-identifier": "^7.24.7", - "@babel/types": "^7.25.0", "charcodes": "^0.2.0" }, "bin": "./bin/babel-parser.js", diff --git a/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js b/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js index 000edfbc0af37e..f7f61dd4423093 100644 --- a/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js +++ b/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js @@ -20,6 +20,11 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, { }) { var _generatorOpts$import; (_generatorOpts$import = generatorOpts.importAttributesKeyword) != null ? _generatorOpts$import : generatorOpts.importAttributesKeyword = "with"; + const importAssertionsPluginIndex = parserOpts.plugins.indexOf("importAssertions"); + if (importAssertionsPluginIndex !== -1) { + parserOpts.plugins.splice(importAssertionsPluginIndex, 1); + deprecatedAssertSyntax = true; + } parserOpts.plugins.push(["importAttributes", { deprecatedAssertSyntax: Boolean(deprecatedAssertSyntax) }]); diff --git a/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/package.json b/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/package.json index ea04e2a2ba459e..cebbe4c59685f6 100644 --- a/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/package.json +++ b/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/package.json @@ -1,6 +1,6 @@ { "name": "@babel/plugin-syntax-import-attributes", - "version": "7.24.7", + "version": "7.25.6", "description": "Allow parsing of the module attributes in the import statement", "repository": { "type": "git", @@ -16,13 +16,14 @@ "babel-plugin" ], "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "peerDependencies": { "@babel/core": "^7.0.0-0" }, "devDependencies": { - "@babel/core": "^7.24.7" + "@babel/core": "^7.25.2", + "@babel/helper-plugin-test-runner": "^7.24.7" }, "engines": { "node": ">=6.9.0" diff --git a/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/tsconfig.tsbuildinfo b/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/tsconfig.tsbuildinfo index da698bb25bb16e..b9e9ca2e41272c 100644 --- a/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/tsconfig.tsbuildinfo +++ b/tools/eslint/node_modules/@babel/plugin-syntax-import-attributes/tsconfig.tsbuildinfo @@ -1 +1 @@ -{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../dts/packages/babel-types/src/validators/react/isCompatTag.d.ts","../../dts/packages/babel-types/src/builders/react/buildChildren.d.ts","../../dts/packages/babel-types/src/asserts/assertNode.d.ts","../../dts/packages/babel-types/src/asserts/generated/index.d.ts","../../dts/packages/babel-types/src/builders/flow/createTypeAnnotationBasedOnTypeof.d.ts","../../dts/packages/babel-types/src/builders/flow/createFlowUnionType.d.ts","../../dts/packages/babel-types/src/builders/typescript/createTSUnionType.d.ts","../../dts/packages/babel-types/src/builders/generated/index.d.ts","../babel-types/src/builders/generated/uppercase.d.ts","../../dts/packages/babel-types/src/builders/productions.d.ts","../../dts/packages/babel-types/src/clone/cloneNode.d.ts","../../dts/packages/babel-types/src/clone/clone.d.ts","../../dts/packages/babel-types/src/clone/cloneDeep.d.ts","../../dts/packages/babel-types/src/clone/cloneDeepWithoutLoc.d.ts","../../dts/packages/babel-types/src/clone/cloneWithoutLoc.d.ts","../../dts/packages/babel-types/src/comments/addComment.d.ts","../../dts/packages/babel-types/src/comments/addComments.d.ts","../../dts/packages/babel-types/src/comments/inheritInnerComments.d.ts","../../dts/packages/babel-types/src/comments/inheritLeadingComments.d.ts","../../dts/packages/babel-types/src/comments/inheritsComments.d.ts","../../dts/packages/babel-types/src/comments/inheritTrailingComments.d.ts","../../dts/packages/babel-types/src/comments/removeComments.d.ts","../../dts/packages/babel-types/src/constants/generated/index.d.ts","../../dts/packages/babel-types/src/constants/index.d.ts","../../dts/packages/babel-types/src/converters/ensureBlock.d.ts","../../dts/packages/babel-types/src/converters/toBindingIdentifierName.d.ts","../../dts/packages/babel-types/src/converters/toBlock.d.ts","../../dts/packages/babel-types/src/converters/toComputedKey.d.ts","../../dts/packages/babel-types/src/converters/toExpression.d.ts","../../dts/packages/babel-types/src/converters/toIdentifier.d.ts","../../dts/packages/babel-types/src/converters/toKeyAlias.d.ts","../../dts/packages/babel-types/src/converters/toStatement.d.ts","../../dts/packages/babel-types/src/converters/valueToNode.d.ts","../../dts/packages/babel-types/src/definitions/utils.d.ts","../../dts/packages/babel-types/src/definitions/core.d.ts","../../dts/packages/babel-types/src/definitions/flow.d.ts","../../dts/packages/babel-types/src/definitions/jsx.d.ts","../../dts/packages/babel-types/src/definitions/misc.d.ts","../../dts/packages/babel-types/src/definitions/experimental.d.ts","../../dts/packages/babel-types/src/definitions/typescript.d.ts","../../dts/packages/babel-types/src/definitions/placeholders.d.ts","../../dts/packages/babel-types/src/definitions/deprecated-aliases.d.ts","../../dts/packages/babel-types/src/definitions/index.d.ts","../../dts/packages/babel-types/src/modifications/appendToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/inherits.d.ts","../../dts/packages/babel-types/src/modifications/prependToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/removeProperties.d.ts","../../dts/packages/babel-types/src/modifications/removePropertiesDeep.d.ts","../../dts/packages/babel-types/src/modifications/flow/removeTypeDuplicates.d.ts","../../dts/packages/babel-types/src/retrievers/getBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getOuterBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/traverse/traverse.d.ts","../../dts/packages/babel-types/src/traverse/traverseFast.d.ts","../../dts/packages/babel-types/src/utils/shallowEqual.d.ts","../../dts/packages/babel-types/src/validators/is.d.ts","../../dts/packages/babel-types/src/validators/isBinding.d.ts","../../dts/packages/babel-types/src/validators/isBlockScoped.d.ts","../../dts/packages/babel-types/src/validators/isImmutable.d.ts","../../dts/packages/babel-types/src/validators/isLet.d.ts","../../dts/packages/babel-types/src/validators/isNode.d.ts","../../dts/packages/babel-types/src/validators/isNodesEquivalent.d.ts","../../dts/packages/babel-types/src/validators/isPlaceholderType.d.ts","../../dts/packages/babel-types/src/validators/isReferenced.d.ts","../../dts/packages/babel-types/src/validators/isScope.d.ts","../../dts/packages/babel-types/src/validators/isSpecifierDefault.d.ts","../../dts/packages/babel-types/src/validators/isType.d.ts","../../dts/packages/babel-types/src/validators/isValidES3Identifier.d.ts","../../dts/packages/babel-types/src/validators/isValidIdentifier.d.ts","../../dts/packages/babel-types/src/validators/isVar.d.ts","../../dts/packages/babel-types/src/validators/matchesPattern.d.ts","../../dts/packages/babel-types/src/validators/validate.d.ts","../../dts/packages/babel-types/src/validators/buildMatchMemberExpression.d.ts","../../dts/packages/babel-types/src/validators/generated/index.d.ts","../../dts/packages/babel-types/src/ast-types/generated/index.d.ts","../../dts/packages/babel-types/src/utils/deprecationWarning.d.ts","../../dts/packages/babel-types/src/index.d.ts","../../dts/packages/babel-traverse/src/path/lib/virtual-types.d.ts","../babel-traverse/src/generated/visitor-types.d.ts","../../dts/packages/babel-traverse/src/types.d.ts","../../dts/packages/babel-traverse/src/visitors.d.ts","../../dts/packages/babel-traverse/src/scope/binding.d.ts","../../dts/packages/babel-traverse/src/scope/index.d.ts","../../dts/packages/babel-traverse/src/hub.d.ts","../../dts/packages/babel-traverse/src/context.d.ts","../../dts/packages/babel-traverse/src/path/ancestry.d.ts","../../dts/packages/babel-traverse/src/path/inference/index.d.ts","../../dts/packages/babel-traverse/src/path/replacement.d.ts","../../dts/packages/babel-traverse/src/path/evaluation.d.ts","../../dts/packages/babel-traverse/src/path/conversion.d.ts","../../dts/packages/babel-traverse/src/path/introspection.d.ts","../../dts/packages/babel-traverse/src/path/context.d.ts","../../dts/packages/babel-traverse/src/path/removal.d.ts","../../dts/packages/babel-traverse/src/path/modification.d.ts","../../dts/packages/babel-traverse/src/path/family.d.ts","../../dts/packages/babel-traverse/src/path/comments.d.ts","../babel-traverse/src/path/generated/asserts.d.ts","../../dts/packages/babel-traverse/src/path/lib/virtual-types-validator.d.ts","../babel-traverse/src/path/generated/validators.d.ts","../../dts/packages/babel-traverse/src/path/index.d.ts","../../dts/packages/babel-traverse/src/cache.d.ts","../../dts/packages/babel-traverse/src/index.d.ts","../../node_modules/@types/gensync/index.d.ts","../../dts/packages/babel-core/src/config/helpers/deep-array.d.ts","../../dts/packages/babel-parser/src/util/location.d.ts","../../dts/packages/babel-parser/src/tokenizer/context.d.ts","../../dts/packages/babel-parser/src/tokenizer/types.d.ts","../../dts/packages/babel-parser/src/parse-error/standard-errors.d.ts","../../dts/packages/babel-parser/src/parse-error.d.ts","../../dts/packages/babel-parser/src/tokenizer/state.d.ts","../../dts/packages/babel-parser/src/util/scopeflags.d.ts","../../dts/packages/babel-parser/src/util/scope.d.ts","../../dts/packages/babel-parser/src/util/expression-scope.d.ts","../../dts/packages/babel-parser/src/util/class-scope.d.ts","../../dts/packages/babel-parser/src/util/production-parameter.d.ts","../babel-parser/src/typings.d.ts","../../dts/packages/babel-parser/src/parser/base.d.ts","../../dts/packages/babel-parser/src/parser/util.d.ts","../../dts/packages/babel-parser/src/parser/node.d.ts","../../dts/packages/babel-parser/src/parser/comments.d.ts","../../dts/packages/babel-helper-string-parser/src/index.d.ts","../../dts/packages/babel-parser/src/tokenizer/index.d.ts","../../node_modules/@types/charcodes/index.d.ts","../../dts/packages/babel-parser/src/parser/lval.d.ts","../../dts/packages/babel-parser/src/parser/expression.d.ts","../../dts/packages/babel-parser/src/parser/statement.d.ts","../../dts/packages/babel-parser/src/plugins/placeholders.d.ts","../../dts/packages/babel-parser/src/types.d.ts","../../dts/packages/babel-parser/src/parser/index.d.ts","../../dts/packages/babel-parser/src/plugins/flow/scope.d.ts","../../dts/packages/babel-parser/src/plugins/jsx/index.d.ts","../../dts/packages/babel-parser/src/plugins/typescript/scope.d.ts","../../dts/packages/babel-parser/src/plugin-utils.d.ts","../../dts/packages/babel-parser/src/options.d.ts","../../dts/packages/babel-parser/src/index.d.ts","../../dts/packages/babel-helper-compilation-targets/src/options.d.ts","../../dts/packages/babel-helper-compilation-targets/src/targets.d.ts","../babel-helper-compilation-targets/src/types.d.ts","../../dts/packages/babel-helper-compilation-targets/src/pretty.d.ts","../../dts/packages/babel-helper-compilation-targets/src/debug.d.ts","../../dts/packages/babel-helper-compilation-targets/src/filter-items.d.ts","../../dts/packages/babel-helper-compilation-targets/src/index.d.ts","../../dts/packages/babel-core/src/config/caching.d.ts","../../dts/packages/babel-core/src/config/printer.d.ts","../../dts/packages/babel-core/src/config/files/types.d.ts","../../dts/packages/babel-core/src/config/files/package.d.ts","../../dts/packages/babel-core/src/config/files/configuration.d.ts","../../dts/packages/babel-core/src/config/files/plugins.d.ts","../../dts/packages/babel-core/src/config/files/index.d.ts","../../dts/packages/babel-core/src/config/config-chain.d.ts","../../dts/packages/babel-core/src/config/cache-contexts.d.ts","../../dts/packages/babel-core/src/config/helpers/config-api.d.ts","../../dts/packages/babel-core/src/config/config-descriptors.d.ts","../../dts/packages/babel-core/src/config/item.d.ts","../../node_modules/@types/jsesc/index.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts","../../dts/packages/babel-generator/src/index.d.ts","../../dts/packages/babel-core/src/config/validation/options.d.ts","../../dts/packages/babel-core/src/config/validation/plugins.d.ts","../../dts/packages/babel-core/src/config/plugin.d.ts","../../dts/packages/babel-core/src/config/full.d.ts","../../dts/packages/babel-core/src/config/partial.d.ts","../../dts/packages/babel-core/src/config/index.d.ts","../../node_modules/@types/convert-source-map/index.d.ts","../../dts/packages/babel-core/src/transformation/normalize-file.d.ts","../../dts/packages/babel-core/src/transformation/file/file.d.ts","../../dts/packages/babel-core/src/transformation/plugin-pass.d.ts","../../dts/packages/babel-core/src/tools/build-external-helpers.d.ts","../../dts/packages/babel-core/src/config/helpers/environment.d.ts","../../dts/packages/babel-template/src/options.d.ts","../../dts/packages/babel-template/src/formatters.d.ts","../../dts/packages/babel-template/src/builder.d.ts","../../dts/packages/babel-template/src/index.d.ts","../../dts/packages/babel-core/src/transformation/index.d.ts","../../dts/packages/babel-core/src/transform.d.ts","../../dts/packages/babel-core/src/transform-file.d.ts","../../dts/packages/babel-core/src/transform-ast.d.ts","../../dts/packages/babel-core/src/parser/index.d.ts","../../dts/packages/babel-core/src/parse.d.ts","../../dts/packages/babel-core/src/index.d.ts","../../dts/packages/babel-helper-plugin-utils/src/index.d.ts","./src/index.ts","../../lib/globals.d.ts","../../scripts/repo-utils/index.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-readdir-recursive/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/jest-diff/node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lru-cache/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/v8flags/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","886e50ef125efb7878f744e86908884c0133e7a6d9d80013f421b0cd8fb2af94",{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"b360236d3b226a56126f9f071d68fccd10eba34e4b6831efc39e8a3277380523","a73bd08ca8f85d9c1f0307ae7abb246e38cb618f452e15fd3612464e846665b0","9b1b103c34f4c56ab0c40c87a85ffd36002295d8fbe17b493509e63a383f5814","e4a023723ff5cfdc22880b572dd15876d0bc4bb4f2a555d71d226a2578786ad3","3aa0ae0c3636319f9bc6e5c2a4bd484f9b2b4e78623b33131056a95fb59c954c","dc25e664429b44c379d4d3cf988b2cce06116ae94f5c6f1a0cf73245b4282a93","e59daf03ff2d76dee4726e48556aba1d105fd1c7a7a9cbf3e74ec4a1f91a6bea","250bb1ea2d799ecf488834fe20efa611063ab79b35639b7b3024f05e1b6641ee","a0fbfc839fefc3d41a12c5a8631e6543135ff18fd516cd06c5a09f84cb81578c","9ce376fdbe50ed84260f0dc45cc1f242916f2c0c91da6464df63df0ba2baae7c","c3e41c24eb14414b6995d4bbac99d16ce2e609282c9b53d1333b7b423e0f7d02","b555d22a622ea0565d08a340e5c19f6f439f40d4451a2f13fe6a33a39b3d761c","9f29212a64599c6c5563b78746bf85f709d5437f18dac77502a53af63dadb850","6b714d7db731bb6da813dfa3d88ded4ce0bc9b627464e86315468e1be9adadff","5ebd0c7b976b7cbe390e381d27ec9dc5adde1a02cf9ecfb2a7caed7a822a5cae","4171247c72f90ac86a3cd3cdb0f372214a556aa8b94aa92b28bf6d21dad5f7ee","b8b9aae5a37c0d3dec11813d992b893ed55a080289466ade6c1bc47e3987f53a","eb69d4cd5875c471c0dd30988bf8a4816f9b8fab1e71a8c39096e483411faa00","48225779dd7b1b7b384389e325ed6aa271a6745239d8193c2fc161cacbf3dac5","c6fd0f9d777f11f972b4decc52beeeae6aad9f2aa949184e8f9984a5c36e4448","3f4487628af3e52556d6f33151740876b29a5355b8a5ccf8e56d1b3ae7cbcc0e","2b4ca439136421892cc80ebf6f6ea641a0306e58bd12ed61ae7f20becb2ee15f","6296c7ce17d3115c72d6757513e79ea0f74b76f49e0138f78f37685fc1bc83f8","ce8fe0d07c32e6786203b5a3b93468afc6b1fcf57481dc9673e16fb119312c19","dfa94dabc1567d2b882222947f5c181adc89a3af5b6a2b730b1c3b85d4cfe48f","c33fa94c2e88d70a2e98a33474d3cf477d959477236323a748f638b3ca1e2af0","058e39e6fe02e97ddc18b2952a67d0dfb71f1f60f86405480fec569b602f5284","8c5dbef5fc0eb113d94132a5ba440d75e33eb85e9497a1f7e3bdb29a3fcd3469","0d9808e1f0d2bd4c45462c7e2f20c0cf08b700c6964e7eda5e10d1f6b707deb8","9f3f8ff5d06c5d5583e891d3bb98489d58e358e49bda2827f3f7819cdb632ad0","6978b8fc2f45108c4bc2788bd7053f2917d7efa28f74ddf52182dc9ab59d03cf","f4e40380711ea1048d9e9654dcf25cde7301571a98c9aceef4d3c71c02fd9d14","77adbafe67e2bf42d578d82d2fb994530cce5b9eaa28a2a5b24aca70a008c3d9","1cf9b232eeb34d97f2f27f3dac1a0164bcc852a4b7b86a1d7ebc1c9807e3a2cf","7d2a0764991446f121b01e690edcb502ce40fd02145613d1d349d9e46be3782a","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","513e4a7dd68f60782a39d5ae4ce6f0a19ccc4c51808b359560ad1f689f0ce93d","519157309e4f7c98b6067933db2a849961eaa0e5dec4a2ce5d2fc92ace85dcfd","c5f8672c8c39b8f9251a57fc2dab217ce20ac4a9d71c0a498b733cb922ff5e4e","82590ca2dfa968af29be579c534733406fd9c5c4a726213eef9f2308cbb04d23","e88043fb3ae0a6e33be31d45927494ed42c3263bfb318b024b9dab027f09dc2d","3f7e6d7b1d7155d68b5ec0f8e021f10075c785b29171d1d520d0b9b0dd617aa0","7571f6e856945cea6771a2985e008daff8785c6632f9dc1dc9f24f795f84444d","2ff5e66c8448d86302ef11ceeb27cbbd43d3af41aba05c2fc3a48cd0f1d8627f","a73d8151dd40ff705eebd2989e703ba14874574f5fe4f195babe74b6ef93ac59","1577b898eb3bebb6cebf1e5228552c8cc68fa010cb7b035ffe8eb5b558d35434","23996dceac72973064c9643fff1ca0cf585b642d715c56ed3512703f2b280c5e","95a1a8e1e7777214b2d970c3426819e976abf9120f2824b571e0ae51d1dd465b","11f45261b54dd91ac1dea5f299945e70225b4cf7a756f03190e88660aa310673","e1bb914c06cc75205fae8713e349dff14bdfd2d36c784d0d2f2b7b5d37e035e0","a5e89e63c809c01f8e8175c9d63da68ce734ddf15b7efd98b1eb262d8e4d05ec","466c63574f0654a81f7d760ccb32570f642b6b46e83b6fdc288c2e52bcef287c","c6526b7ad3213f40e40d617f0a150c8a9dcf0e8f868594ef4aa060b994fd11ce","b5e0565b7ca3ba4c129ed4e1788d4dc1bb30dcdeb14a37df1071c3881507e295","08cdf95dfc59101c1e7c23865951151455ee7f77f1bf7e257034aae8ba332972","4924f889957ee69dfd66643c7e60a5feee526c18b16d10985804c669fe1b6ce4","2c95044092cad1398b593b47290306d73513d163c61e85ebbc39715af4b15578","66612e3b3315adf8702a39830ad8690d6f4293f89193737c604f4b44a51e42ad","1d3f6521348f5d591d4da3408457a553274b024c79ecde88054361040967c211","03a629914760ae9bb64a05e72ad0f4e6aeefb1e7c7b6ae3d7836bb46f69ae23e","95017b0f25bb3cd6782853c14303c20b5099b866ef1491c57fc436add8183f14","989f035cd0c3acf51639b2ff4fb3cb8ccce3d7ef0103a1d32ca5e5f1cfd19387","9dfbdb5529d2be1c9e77112f7e0e20fba7518865f31501b9aa09c3965ee91f6a","9ba02d6560cc8cf8063172ba05b5368a24fb236a97c1c852665372be78143592","cafadd60cda0c63471975430893f7c0ac981f268ec719f08f131e41d8404c4db","6a7a221f94f9547a86feaa3c2ce81b8556c71ffb12057a43c54fc975bca83cde","156d025e006f7df4df1bcf7ce53cd3e3780a0190dfb03c65288f07b372e79843","e34a316302189537858d6d20d5d77d8f0351ed977da8947a401ad9986cdf147f","243665975c1af5dc7b51b10f52e76d3cb8b7676ccc23a6503977526d94b3cdde","3a91334c3409e173cafb3af175d8a4a3ae835851df7015c8f0fc5c117ad46c80","bfe8f5184c00e9c24f8bb40ec929097b2cafc50cc968bc1604501cb6c4a1440c","98c7850cf7a5bca4267e71403e8a2788c29543b15ac7354d1211a7accba496c8","f31ab9295985d01c5837c9bdc422643f6f73293cfd103738774b7cfb340566cc","99392e1e600259c50f21f691f136a4ecbee42839dbb9523384f09645c8756503","5c5d100793c0fb9b34076189904df18f3321e82cadf6f69815926104029c215b","051191f8664727f9b9caa72166559b734e126d18ef377c3f4c3343672ea4d307","1079472c5e1f65ce739fb777054e2f539e9b50a97b438c0d6e56c4ee23be8bff","d0b3a40cbe16c8852d1327fb804995193fb853d7da9c7ab9c02cce85090e0637","c67208e9da4af7a50bfb75d07691326052d6ed8f3b577ece8b02cd425c9d632f","4f9a4bb30bc97017c72a600c0161962d8f74488d1cd93669e4adbce7e611e0de","8dec4b9028cc8905caa6b52a395786d7f49a10d61f6be869b59ae007dc5e0cdf","f952c9c19048db8b25e3fa8e48e2213c18d3fdbef6ac168e9fae6632ed58245f","92438df2330b4b55da8e9b7d66e77258a090d67388e3f649b43f81685fecc788","866c1b69a53d80383cb5eef0ce2760ad8d028c771fa45776426a583c56a23746","8b433fd18d5bac931c1d7c07c17a830475e0fcb224d144cfeb3ba4d1da198687","e772bc828730ee913e19f58bb18b7733ebce8a3f06cdce847cb33275343a6ecd","466f4f5da14b6046570025129a7e5ea168164572c9b2da45bdc7274e0e303dbd","00222577eecd6c1fc72150006351fc6e1b5bb3aaf78097e40ecac8b8343a7598","b398ff53792dee3ca93e1f96cee63fc123811631f3c99f1c22cd01b3b2e4d6c5","3b1765aafca023ad58d5aa017800e1f2e7ee95130c9a1e7d86d5019f45c756bc","e675dc45ca604b7a6fea16448050b34cf0fe86c2f9fa50f3911fb4153b42c186","d3e56e0f84e1d1843369533f50918cce5925129e99e9ca14c7cc35ad94b2a052","dfedb6704555de21c30e98a8decf8a6d31dde1d8403b9b95944a1d317379c7ae","7102463bc898ac4cfd90675e679cdd8e1a1b6f44702b280f9c99b93f206ae570","9e32769c1c227890877cc9df961c4c7c9d839af6719e30496511b102483ac266","57e73f1c6da39bcf9429f52c39b6fc34eef11547fbb5a2be91836517ec746957","c639f1bf7b898c8fdc3bd5c05c25254f2bbf363d5fac0a5379ead6c7733be40e","bde8c75c442f701f7c428265ecad3da98023b6152db9ca49552304fd19fdba38","81af40a2264a5a56f71b8c45ff1717b50c5f0c00dd091410b12dc970ee340120","b10974251ad16a97b357ec50f87455c4430e7f0790f7b399564c900e4ebf87f1","234123959236555e336e4efcd7aa203ac1d5370ee5d891dcfc5828d996b28f59","b59756cf12284e6136e042f322af2e22664e1fd46f713b1dd3abb1740719b732","62b65c635a282ea4855cd6a9b968527cbab364c38410ea432f63c5c591db9072","2fe38d259b120889a148c6080d3c265dc8ee9579e4152b42f625fd0440fea92d","cbe5a7a02fb93f47d7948fb8dea8792f962b51657b63532ba3c67036d3c0a618","6131967512c4d205c32f126ef7415453f0c715bf53c7175d6deecb72d76a75b5","4e38f7bd172e7549c323610cfede12644c116581dfc4d751998d301eda9573e6","5b6b2f9d19c9e7f105f95aa0fbddd9b267d120f5c5e7d0ca3ae507fe2a7e4690","d8288a8eb14187b0df133ce467216d61d9ffe838ae5930471f476a5c36141828","70ae92a852a67db5b841a7ee3e9d16df7c06320ab86dbf2d5dbd9d76f3c98faa","e58a0a0add3feea2c936af4933dae5710f6c41e91468e22d880054afaa47b782","ead85b2d6cd6e6deb144a0995896c0ca7423820c66cc00e416e66733d2932985","63ac518dfd7a9ebe99c2dd882e06f9e42100365d0a7bbed4a505251205f836ef","6b4d9c91ed03e7afd40fa045042fcb7a6250b8dbe242154f3c4b948a99c74a9d","8b37c18f85644a1c666705bb5c233850cac84d8863c19870a8ed5f8d69c68800","186139eb9963554412f6fb33b35aabee1acdaa644b365de5c38fbd9123bdbe45","efd01e5afd2db9bafe6b8c1a20cff2f3c5a4870b3bf80a64c08b7d95aafba558","b7589677bd27b038f8aae8afeb030e554f1d5ff29dc4f45854e2cb7e5095d59a","220bc2f85b04326fd70de47faaa003666bc864e55f00543fdffa7b7f75d4dcdd","4a554afd8a11ad65a0f8878ebeddf6793c6775b1edbb14360bd47252840e051c","0b8d888249c93a341fc1b943a67e969e8b75f83684a042cf30643043b843a16c","514fd813d204c862172075c7fce693e3ecceeca29892ac03bd7eb73d8b15922b","bf927c7f866e845e082d906b2b18aa2a9c1c309f404dbf9794c9acb0f30dbcdd","46016bfbc77b4f13e3d6730535d9943f42575c3a228190cecaffa891999a87de","e4aa4e8d3eb4c67b64962344ef3388a8cd607821ba619c9379b36316db65c9ac","b2acd3819265517bba0edf9110e2835abb366fe28ebc378d32a2781cd459f261","635ca94290fa45a56e53ffadd3b897a42650fd4ab0ddc241392e4dc729bf496b","6aeba9874c3b08a3aa917efcbe1c5aea742dbac78b59a6a2089e092208806e8d","02519cdd247317de0bfdc78d88b5497d9747e1b9d1297283a0fea8ab3787f6ab","53989e09bc0b6b46a3c4597e5147a9b989f1f66f33ce7375b92d28139977e748","abae244b376437bfe2f0fdd1bd8925e2c235d10336ba08aec4330b800582ccbb","7da12c50edd45d08ae7f93183d0f88ab9753386ce060d1765926ffbe7c6491c2","1a8397f1c9125fc54db823eb6509221b841dd6f0c82a78997033a4a09fb1c86d","176d3525152384c3f7312b308c8af7b17690f8ec34e0788e6aaae548180f1941","6b34e6bdec80f7af4912497afb8455cd88ae1d6442d042c6663176b9927b69d4","41113f7f4529f81a16bae03c06bbd3c95146a4f7c8173ecafd6869fd1e97ed0b","c980191d2838b122a340074b58c566fddbc29a44bb57170671ac5034373c49a1","378871d06cbd514fe945b69a7be3cabe210139a5b2b3917a306ef8102afdd5bd","3bf0df1a6a59b16d43f97efd5bddcb376a3a3d66ecbe92a4dd80a0f81be6a009","49bf06ea475ae5c78e69f7af3c7e09e00af57750aa1e37c120aaad92fd8a8ab2","f8fc87c8c6822986fa509a62a0caed5cbf05f3f84d82fbbdb01a9e94aebfb2ec","60c51e31434ccc777c3d67ccc96892dd7e634816fb9fa5dc86e15d72de96ab3d","0737161a05160e848162b2abba07c4e867f415362187b810f4b6764d2626d021","69815e9eb00baef2634457bcf4952f69062d764211914619c6922dfa7760f8d2","444399b4f2fead080a55b82f86bf653a072a9f117042edc9a0fa69366672b418","d6ab7f2b45d4aa62ad21199fbb3105151a9dd4830d138a3bb3eab1e76eef9e45","56827baba9ab2b370c919b1858068e11f10a73d80dca8cb2467d2d1446fab073","14e8ace73d1c323c91aba5ac952d348943e753119ca8aed37b57c10eca3dab0b","1f689148e10f8b1a418c3f7f27496bd172e77009921b1f668cb701a8ffad8e0c","84a805c22a49922085dc337ca71ac0b85aad6d4dba6b01cee5bd5776ff54df39","971f12a5fc236419ced0b7b9f23a53c1758233713f565635bbf4b85e2b23f55a","9d670bb3be18ea59cea824e3bb07d576b55c9542f5bc24aacc2a3c1ebd889de6","695b586df2d8c78b78cdd7cc6943594f3f4bc52948f13b31cdedfa3ce8d97c31","0771a93ef5e3b2a29f929c20f7ad232829341a671c9d1e96e93ef3fc42ef7bc2","cadb68b67b80b14a9a5bb64cce3093168fb2bfe2c7b10096d230df5203218de1","0b3c75be13f930b46117e205d900ee9c4f2ad6c7317655bca5364958ba1e34f0","5af161220fdf46730477706e8c431ccbd1b4ff50223cb32450bc20513f50bfbd","be797449825edee1716d3e0c8d7ae53955b8944437cb4d0b4123a32778621228","ba9c10476a9a3d9a88b68877c12f58d35b10c1146e1ec20d397cc88699d09153","83a3a4f21e36ee920e819ac865badd30bf258361e7a224d1fb134a5524f55a0f","0e444a71d6132e54059d824b0aec770d24b467ec7380f64fb030a538ddf0f913","db18c2ffebf4c7f8d5ebb8f2541bc30bbb4f6cacebb42a5a9742ae883fd583e1","a22722f2344d703cdcc5ada42cbf84890ef527a2a6e9154fab5ddb362e64b955","866041185b44ade1456dc03de3dc85aad9c2b02dfd92d7f2068d46e28ea66201","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","48864a43f6c1032cb3fb5bfac020d4b2919791f49d8f31ff18f2dd3d4816005f","975a13b0ded262c522be36ed51dfd394434acd410f642bc269d0a1d7feb6b7dd","838447eba0348ee8d9801eaeff74def53d41e681a387cb2278c9f369a4fba8f2","220c93cd694e27d77b91f874f31e92d7514aa808fd95768b64552693043d00b9","380543b1b41b88e3a6294b8419d5ed323c5da3a3051ab4a1d5677f525ee30698","269ee735294e8c328681830ae7fdf4aea6c24032f0541d76c914aac9afadda5c","23a790e87430f6bcf8dfbc4d3560e8b3d7441f9cfbe509bcf932b4608c60c9e3","7a8b858660503a4af876541f456b2cbc3d89b164ab842c7434ac0fb87ec0e026","eb1e3b36ed3aac2811786d5716a16c1f8bd1fcb62b524a3bb3d602db9f55e75a","f571e28d70c04d1ce72673771010febae11d2c907a71d027550d986ee424951d","ae4f0f443b828f28aaf843856dd25a8ab5e400f99581778f8977011c4a72d70d","cf5ba84fd9488f0ba7e302d54d1db6452b513d8573df389dd05f4153f5edfc26","64ec4840e09c2f03bc97e86f6fbc5aac99bb6a067f20e06dc186a3784aba2862","640331bbaecab0948b9a40fc903666f103e94764cdfb0822d4124c147246c19a","dc29fe834b87d0d015c40a9f294ec7e1f2b7b322f102264e34374c8ea5ecffe6","46ab6033b2f210e498f5147c87b465aa564d1b9f64a431dd70b3f4f7cc5d6647","8f5173c0244c0e24737a51b649a07df75416d93a7cd9aa1ee3753c9b7825e423",{"version":"1fb0958978b61b4df146b392d377df53b1f89e564881077250107e35405a344e","signature":"79dc93e6e3b4e942b93ce5227e79a1c2c8284582d144d361cf5c09a87de4c71f"},{"version":"f0b6690984c3a44b15740ac24bfb63853617731c0f40c87a956ce537c4b50969","affectsGlobalScope":true},"77ac76cd081746189b8a6c047e0b5b40c8bfb5747fe1baea8550b4f3b9c9fd3d","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","0c5a621a8cf10464c2020f05c99a86d8ac6875d9e17038cb8522cc2f604d539f","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","1d78c35b7e8ce86a188e3e5528cc5d1edfc85187a85177458d26e17c8b48105f","acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","818f832a8e29ca7e128dcde810a9ff8cbc3754010474e29fff0a5ed95adae032","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","6d969939c4a63f70f2aa49e88da6f64b655c8e6799612807bef41ccff6ea0da9","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e",{"version":"46894b2a21a60f8449ca6b2b7223b7179bba846a61b1434bed77b34b2902c306","affectsGlobalScope":true},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","9ad8802fd8850d22277c08f5653e69e551a2e003a376ce0afb3fe28474b51d65","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"root":[[254,256]],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationDir":"../../dts","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":200,"noImplicitAny":true,"noImplicitThis":true,"rootDir":"../..","skipLibCheck":true,"strictBindCallApply":true,"target":99},"fileIdsList":[[208,216,230],[169],[169,170,210,215,218,219,230],[169,218,230],[169,211,230],[211,212,213,214],[169,211],[235],[169,170,230,232],[208,209,217,230],[169,218,220,230,231,233,234,252],[169,219,230],[169,215,216,230],[170,231],[169,219],[201,208,218,219,220,229,232],[168,201,230,252],[143,168,201,215,235,238,239,240,241,245,247,248,249,251],[169,230,235,250],[169,201,235],[143,169,235,246,252],[169,235,246,252],[143,168,237],[143,169,229,235],[143,169,235,236,238],[143,238],[143,221,228],[204],[202,203,204,205,206,207],[252],[173,182,194,200],[199],[171,174,175],[176,178,179,180,181,182,194,195,200],[183,185,194],[171,173,175,184,185,190,194,195,200],[178,192,194,200],[171,173,175,177,184,185,189,194,195],[171,184,194],[171,173,177,185,191,194,195,200],[171,173,175,176,178,188,194,195],[171,172,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,192,194,195,196,197,198,200],[171,177,178,194],[171,172,173,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,192,194,195,200],[171,172,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,192,194,195,200],[171,172,173,175,176,182,185,186,187,194,200],[171,172,173,175,186,200],[172],[171,175,188,193,200],[171,177,188],[171,175,188,194],[171,177,188,194],[242,243],[143],[143,242,244],[201],[143,149,150,166],[143,149,166,168],[143,149],[143,146,147,149,150,166,167],[143,166],[143,146,151,166],[166],[143,151,166],[143,146,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,165,168],[143,144,166],[143,149,166],[143,148,150,166,168],[143,144,145,168],[143,146,168],[101],[101,102,103,104,105,106,107,108,109],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143],[110,143],[360],[225,227],[226],[223,225],[222,223,224],[222,225],[260,262],[259,260,261],[314,315,352,353],[355],[356],[362,365],[301,352,358,364],[359,363],[361],[265],[301],[302,307,336],[303,314,315,322,333,344],[303,304,314,322],[305,345],[306,307,315,323],[307,333,341],[308,310,314,322],[301,309],[310,311],[314],[312,314],[301,314],[314,315,316,333,344],[314,315,316,329,333,336],[299,302,349],[310,314,317,322,333,344],[314,315,317,318,322,333,341,344],[317,319,333,341,344],[265,266,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351],[314,320],[321,344,349],[310,314,322,333],[323],[324],[301,325],[326,343,349],[327],[328],[314,329,330],[329,331,345,347],[302,314,333,334,335,336],[302,333,335],[333,334],[336],[337],[301,333],[314,339,340],[339,340],[307,322,333,341],[342],[322,343],[302,317,328,344],[307,345],[333,346],[321,347],[348],[302,307,314,316,325,333,344,347,349],[333,350],[371,410],[371,395,410],[410],[371],[371,396,410],[371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409],[396,410],[413],[362],[276,280,344],[276,333,344],[271],[273,276,341,344],[322,341],[352],[271,352],[273,276,322,344],[268,269,272,275,302,314,333,344],[268,274],[272,276,302,336,344,352],[302,352],[292,302,352],[270,271,352],[276],[270,271,272,273,274,275,276,277,278,280,281,282,283,284,285,286,287,288,289,290,291,293,294,295,296,297,298],[276,283,284],[274,276,284,285],[275],[268,271,276],[276,280,284,285],[280],[274,276,279,344],[268,273,274,276,280,283],[302,333],[271,276,292,302,349,352],[203],[253],[143,146],[143,164,166]],"referencedMap":[[217,1],[209,2],[216,3],[219,4],[213,5],[215,6],[212,7],[214,2],[211,8],[233,9],[218,10],[235,11],[220,12],[234,13],[232,14],[210,15],[230,16],[231,17],[252,18],[251,19],[250,20],[249,21],[248,22],[247,22],[238,23],[246,24],[237,25],[239,26],[229,27],[206,28],[207,28],[208,29],[205,28],[253,30],[201,31],[200,32],[175,33],[183,34],[186,35],[191,36],[195,37],[190,38],[185,39],[192,40],[184,41],[199,42],[196,43],[197,44],[193,45],[198,43],[188,46],[176,47],[173,48],[194,49],[180,50],[179,51],[178,52],[244,53],[243,54],[245,55],[242,56],[167,57],[151,58],[150,59],[168,60],[152,61],[162,61],[158,62],[156,61],[155,63],[161,64],[166,65],[153,61],[157,61],[164,66],[144,54],[160,67],[159,63],[154,61],[148,67],[149,68],[146,69],[147,70],[70,54],[71,54],[73,54],[72,54],[75,54],[77,54],[69,54],[74,54],[79,54],[80,54],[81,54],[78,54],[82,54],[83,54],[84,54],[85,54],[86,54],[88,54],[87,54],[89,54],[90,54],[92,54],[94,54],[95,54],[96,54],[98,54],[99,54],[100,54],[102,71],[110,72],[101,54],[143,73],[111,54],[116,54],[112,54],[113,54],[114,54],[115,54],[117,54],[118,54],[119,54],[120,54],[139,54],[140,54],[122,54],[123,54],[124,54],[125,54],[126,54],[127,54],[128,54],[130,54],[131,54],[132,54],[133,54],[136,54],[137,54],[138,74],[361,75],[228,76],[227,77],[224,78],[225,79],[223,80],[263,81],[262,82],[354,83],[356,84],[357,85],[367,86],[365,87],[364,88],[366,89],[265,90],[266,90],[301,91],[302,92],[303,93],[304,94],[305,95],[306,96],[307,97],[308,98],[309,99],[310,100],[311,100],[313,101],[312,102],[314,103],[315,104],[316,105],[300,106],[317,107],[318,108],[319,109],[352,110],[320,111],[321,112],[322,113],[323,114],[324,115],[325,116],[326,117],[327,118],[328,119],[329,120],[330,120],[331,121],[333,122],[335,123],[334,124],[336,125],[337,126],[338,127],[339,128],[340,129],[341,130],[342,131],[343,132],[344,133],[345,134],[346,135],[347,136],[348,137],[349,138],[350,139],[395,140],[396,141],[371,142],[374,142],[393,140],[394,140],[384,140],[383,143],[381,140],[376,140],[389,140],[387,140],[391,140],[375,140],[388,140],[392,140],[377,140],[378,140],[390,140],[372,140],[379,140],[380,140],[382,140],[386,140],[397,144],[385,140],[373,140],[410,145],[404,144],[406,146],[405,144],[398,144],[399,144],[401,144],[403,144],[407,146],[408,146],[400,146],[402,146],[414,147],[363,148],[362,89],[283,149],[290,150],[282,149],[297,151],[274,152],[273,153],[296,154],[291,155],[294,156],[276,157],[275,158],[271,159],[270,160],[293,161],[272,162],[277,163],[281,163],[299,164],[298,163],[285,165],[286,166],[288,167],[284,168],[287,169],[292,154],[279,170],[280,171],[289,172],[269,173],[295,174],[204,175],[254,176],[145,177],[163,61],[165,178]],"exportedModulesMap":[[217,1],[209,2],[216,3],[219,4],[213,5],[215,6],[212,7],[214,2],[211,8],[233,9],[218,10],[235,11],[220,12],[234,13],[232,14],[210,15],[230,16],[231,17],[252,18],[251,19],[250,20],[249,21],[248,22],[247,22],[238,23],[246,24],[237,25],[239,26],[229,27],[206,28],[207,28],[208,29],[205,28],[253,30],[201,31],[200,32],[175,33],[183,34],[186,35],[191,36],[195,37],[190,38],[185,39],[192,40],[184,41],[199,42],[196,43],[197,44],[193,45],[198,43],[188,46],[176,47],[173,48],[194,49],[180,50],[179,51],[178,52],[244,53],[243,54],[245,55],[242,56],[167,57],[151,58],[150,59],[168,60],[152,61],[162,61],[158,62],[156,61],[155,63],[161,64],[166,65],[153,61],[157,61],[164,66],[144,54],[160,67],[159,63],[154,61],[148,67],[149,68],[146,69],[147,70],[70,54],[71,54],[73,54],[72,54],[75,54],[77,54],[69,54],[74,54],[79,54],[80,54],[81,54],[78,54],[82,54],[83,54],[84,54],[85,54],[86,54],[88,54],[87,54],[89,54],[90,54],[92,54],[94,54],[95,54],[96,54],[98,54],[99,54],[100,54],[102,71],[110,72],[101,54],[143,73],[111,54],[116,54],[112,54],[113,54],[114,54],[115,54],[117,54],[118,54],[119,54],[120,54],[139,54],[140,54],[122,54],[123,54],[124,54],[125,54],[126,54],[127,54],[128,54],[130,54],[131,54],[132,54],[133,54],[136,54],[137,54],[138,74],[361,75],[228,76],[227,77],[224,78],[225,79],[223,80],[263,81],[262,82],[354,83],[356,84],[357,85],[367,86],[365,87],[364,88],[366,89],[265,90],[266,90],[301,91],[302,92],[303,93],[304,94],[305,95],[306,96],[307,97],[308,98],[309,99],[310,100],[311,100],[313,101],[312,102],[314,103],[315,104],[316,105],[300,106],[317,107],[318,108],[319,109],[352,110],[320,111],[321,112],[322,113],[323,114],[324,115],[325,116],[326,117],[327,118],[328,119],[329,120],[330,120],[331,121],[333,122],[335,123],[334,124],[336,125],[337,126],[338,127],[339,128],[340,129],[341,130],[342,131],[343,132],[344,133],[345,134],[346,135],[347,136],[348,137],[349,138],[350,139],[395,140],[396,141],[371,142],[374,142],[393,140],[394,140],[384,140],[383,143],[381,140],[376,140],[389,140],[387,140],[391,140],[375,140],[388,140],[392,140],[377,140],[378,140],[390,140],[372,140],[379,140],[380,140],[382,140],[386,140],[397,144],[385,140],[373,140],[410,145],[404,144],[406,146],[405,144],[398,144],[399,144],[401,144],[403,144],[407,146],[408,146],[400,146],[402,146],[414,147],[363,148],[362,89],[283,149],[290,150],[282,149],[297,151],[274,152],[273,153],[296,154],[291,155],[294,156],[276,157],[275,158],[271,159],[270,160],[293,161],[272,162],[277,163],[281,163],[299,164],[298,163],[285,165],[286,166],[288,167],[284,168],[287,169],[292,154],[279,170],[280,171],[289,172],[269,173],[295,174],[204,175],[254,30],[145,177],[163,61],[165,178]],"semanticDiagnosticsPerFile":[217,209,216,219,213,215,212,214,211,233,218,170,241,235,220,234,232,210,230,231,252,251,250,240,249,248,247,238,246,237,239,229,206,207,208,202,205,203,253,187,201,200,175,174,183,186,191,195,190,185,192,184,199,196,197,193,198,172,188,176,173,194,180,179,171,181,178,177,244,243,245,242,167,151,150,168,152,162,158,156,155,161,166,153,157,164,144,160,159,154,148,149,146,147,70,71,141,73,72,75,77,69,74,79,80,81,78,82,83,84,85,86,88,87,89,90,91,92,93,94,95,96,97,98,99,100,102,109,106,103,110,104,105,108,107,101,143,111,116,112,113,114,115,117,118,119,120,142,121,139,140,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,68,138,255,361,228,226,227,224,222,225,223,360,189,257,236,258,263,259,262,260,264,169,354,355,356,357,367,358,359,365,364,366,221,261,368,369,353,265,266,301,302,303,304,305,306,307,308,309,310,311,313,312,314,315,316,300,351,317,318,319,352,320,321,322,323,324,325,326,327,328,329,330,331,332,333,335,334,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,370,395,396,371,374,393,394,384,383,381,376,389,387,391,375,388,392,377,378,390,372,379,380,382,386,397,385,373,410,409,404,406,405,398,399,401,403,407,408,400,402,411,412,413,414,267,363,362,66,67,13,12,2,14,15,16,17,18,19,20,21,3,22,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,59,10,1,60,11,64,62,61,65,63,283,290,282,297,274,273,296,291,294,276,275,271,270,293,272,277,278,281,268,299,298,285,286,288,284,287,292,279,280,289,269,295,204,182,254,145,163,165,76,256],"latestChangedDtsFile":"../../dts/packages/babel-plugin-syntax-import-attributes/src/index.d.ts"},"version":"5.4.5"} \ No newline at end of file +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.string.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../dts/packages/babel-types/src/validators/react/isCompatTag.d.ts","../../dts/packages/babel-types/src/builders/react/buildChildren.d.ts","../../dts/packages/babel-types/src/asserts/assertNode.d.ts","../../dts/packages/babel-types/src/asserts/generated/index.d.ts","../../dts/packages/babel-types/src/builders/flow/createTypeAnnotationBasedOnTypeof.d.ts","../../dts/packages/babel-types/src/builders/flow/createFlowUnionType.d.ts","../../dts/packages/babel-types/src/builders/typescript/createTSUnionType.d.ts","../../dts/packages/babel-types/src/builders/generated/index.d.ts","../babel-types/src/builders/generated/uppercase.d.ts","../../dts/packages/babel-types/src/builders/productions.d.ts","../../dts/packages/babel-types/src/clone/cloneNode.d.ts","../../dts/packages/babel-types/src/clone/clone.d.ts","../../dts/packages/babel-types/src/clone/cloneDeep.d.ts","../../dts/packages/babel-types/src/clone/cloneDeepWithoutLoc.d.ts","../../dts/packages/babel-types/src/clone/cloneWithoutLoc.d.ts","../../dts/packages/babel-types/src/comments/addComment.d.ts","../../dts/packages/babel-types/src/comments/addComments.d.ts","../../dts/packages/babel-types/src/comments/inheritInnerComments.d.ts","../../dts/packages/babel-types/src/comments/inheritLeadingComments.d.ts","../../dts/packages/babel-types/src/comments/inheritsComments.d.ts","../../dts/packages/babel-types/src/comments/inheritTrailingComments.d.ts","../../dts/packages/babel-types/src/comments/removeComments.d.ts","../../dts/packages/babel-types/src/constants/generated/index.d.ts","../../dts/packages/babel-types/src/constants/index.d.ts","../../dts/packages/babel-types/src/converters/ensureBlock.d.ts","../../dts/packages/babel-types/src/converters/toBindingIdentifierName.d.ts","../../dts/packages/babel-types/src/converters/toBlock.d.ts","../../dts/packages/babel-types/src/converters/toComputedKey.d.ts","../../dts/packages/babel-types/src/converters/toExpression.d.ts","../../dts/packages/babel-types/src/converters/toIdentifier.d.ts","../../dts/packages/babel-types/src/converters/toKeyAlias.d.ts","../../dts/packages/babel-types/src/converters/toStatement.d.ts","../../dts/packages/babel-types/src/converters/valueToNode.d.ts","../../dts/packages/babel-types/src/definitions/utils.d.ts","../../dts/packages/babel-types/src/definitions/core.d.ts","../../dts/packages/babel-types/src/definitions/flow.d.ts","../../dts/packages/babel-types/src/definitions/jsx.d.ts","../../dts/packages/babel-types/src/definitions/misc.d.ts","../../dts/packages/babel-types/src/definitions/experimental.d.ts","../../dts/packages/babel-types/src/definitions/typescript.d.ts","../../dts/packages/babel-types/src/definitions/placeholders.d.ts","../../dts/packages/babel-types/src/definitions/deprecated-aliases.d.ts","../../dts/packages/babel-types/src/definitions/index.d.ts","../../dts/packages/babel-types/src/modifications/appendToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/inherits.d.ts","../../dts/packages/babel-types/src/modifications/prependToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/removeProperties.d.ts","../../dts/packages/babel-types/src/modifications/removePropertiesDeep.d.ts","../../dts/packages/babel-types/src/modifications/flow/removeTypeDuplicates.d.ts","../../dts/packages/babel-types/src/retrievers/getAssignmentIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getOuterBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getFunctionName.d.ts","../../dts/packages/babel-types/src/traverse/traverse.d.ts","../../dts/packages/babel-types/src/traverse/traverseFast.d.ts","../../dts/packages/babel-types/src/utils/shallowEqual.d.ts","../../dts/packages/babel-types/src/validators/is.d.ts","../../dts/packages/babel-types/src/validators/isBinding.d.ts","../../dts/packages/babel-types/src/validators/isBlockScoped.d.ts","../../dts/packages/babel-types/src/validators/isImmutable.d.ts","../../dts/packages/babel-types/src/validators/isLet.d.ts","../../dts/packages/babel-types/src/validators/isNode.d.ts","../../dts/packages/babel-types/src/validators/isNodesEquivalent.d.ts","../../dts/packages/babel-types/src/validators/isPlaceholderType.d.ts","../../dts/packages/babel-types/src/validators/isReferenced.d.ts","../../dts/packages/babel-types/src/validators/isScope.d.ts","../../dts/packages/babel-types/src/validators/isSpecifierDefault.d.ts","../../dts/packages/babel-types/src/validators/isType.d.ts","../../dts/packages/babel-types/src/validators/isValidES3Identifier.d.ts","../../dts/packages/babel-types/src/validators/isValidIdentifier.d.ts","../../dts/packages/babel-types/src/validators/isVar.d.ts","../../dts/packages/babel-types/src/validators/matchesPattern.d.ts","../../dts/packages/babel-types/src/validators/validate.d.ts","../../dts/packages/babel-types/src/validators/buildMatchMemberExpression.d.ts","../../dts/packages/babel-types/src/validators/generated/index.d.ts","../../dts/packages/babel-types/src/ast-types/generated/index.d.ts","../../dts/packages/babel-types/src/utils/deprecationWarning.d.ts","../../dts/packages/babel-types/src/index.d.ts","../../dts/packages/babel-traverse/src/scope/binding.d.ts","../../dts/packages/babel-traverse/src/scope/index.d.ts","../../dts/packages/babel-traverse/src/hub.d.ts","../../dts/packages/babel-traverse/src/path/lib/virtual-types.d.ts","../babel-traverse/src/generated/visitor-types.d.ts","../../dts/packages/babel-traverse/src/types.d.ts","../../dts/packages/babel-traverse/src/path/ancestry.d.ts","../../dts/packages/babel-traverse/src/path/inference/index.d.ts","../../dts/packages/babel-traverse/src/path/replacement.d.ts","../../dts/packages/babel-traverse/src/path/evaluation.d.ts","../../dts/packages/babel-traverse/src/path/conversion.d.ts","../../dts/packages/babel-traverse/src/path/introspection.d.ts","../../dts/packages/babel-traverse/src/path/removal.d.ts","../../dts/packages/babel-traverse/src/path/modification.d.ts","../../dts/packages/babel-traverse/src/path/family.d.ts","../../dts/packages/babel-traverse/src/path/comments.d.ts","../babel-traverse/src/path/generated/asserts.d.ts","../../dts/packages/babel-traverse/src/path/lib/virtual-types-validator.d.ts","../babel-traverse/src/path/generated/validators.d.ts","../../dts/packages/babel-traverse/src/path/index.d.ts","../../dts/packages/babel-traverse/src/context.d.ts","../../dts/packages/babel-traverse/src/path/context.d.ts","../../dts/packages/babel-traverse/src/visitors.d.ts","../../dts/packages/babel-traverse/src/cache.d.ts","../../dts/packages/babel-traverse/src/index.d.ts","../../node_modules/@types/gensync/index.d.ts","../../dts/packages/babel-core/src/config/helpers/deep-array.d.ts","../../dts/packages/babel-parser/src/util/location.d.ts","../../dts/packages/babel-parser/src/tokenizer/context.d.ts","../../dts/packages/babel-parser/src/tokenizer/types.d.ts","../../dts/packages/babel-parser/src/parse-error/standard-errors.d.ts","../../dts/packages/babel-parser/src/parse-error/pipeline-operator-errors.d.ts","../../dts/packages/babel-parser/src/parse-error.d.ts","../../dts/packages/babel-parser/src/tokenizer/state.d.ts","../../dts/packages/babel-parser/src/util/scopeflags.d.ts","../../dts/packages/babel-parser/src/util/scope.d.ts","../../dts/packages/babel-parser/src/util/expression-scope.d.ts","../../dts/packages/babel-parser/src/util/class-scope.d.ts","../../dts/packages/babel-parser/src/util/production-parameter.d.ts","../babel-parser/src/typings.d.ts","../../dts/packages/babel-parser/src/parser/base.d.ts","../../dts/packages/babel-parser/src/parser/util.d.ts","../../dts/packages/babel-parser/src/parser/node.d.ts","../../dts/packages/babel-parser/src/parser/comments.d.ts","../../dts/packages/babel-helper-string-parser/src/index.d.ts","../../dts/packages/babel-parser/src/tokenizer/index.d.ts","../../node_modules/@types/charcodes/index.d.ts","../../dts/packages/babel-parser/src/parser/lval.d.ts","../../dts/packages/babel-parser/src/parser/expression.d.ts","../../dts/packages/babel-parser/src/parser/statement.d.ts","../../dts/packages/babel-parser/src/plugins/placeholders.d.ts","../../dts/packages/babel-parser/src/types.d.ts","../../dts/packages/babel-parser/src/parser/index.d.ts","../../dts/packages/babel-parser/src/plugins/flow/scope.d.ts","../../dts/packages/babel-parser/src/plugins/jsx/index.d.ts","../../dts/packages/babel-parser/src/plugins/typescript/scope.d.ts","../../dts/packages/babel-parser/src/plugin-utils.d.ts","../../dts/packages/babel-parser/src/options.d.ts","../../dts/packages/babel-parser/src/index.d.ts","../../dts/packages/babel-helper-compilation-targets/src/options.d.ts","../../dts/packages/babel-helper-compilation-targets/src/targets.d.ts","../babel-helper-compilation-targets/src/types.d.ts","../../dts/packages/babel-helper-compilation-targets/src/pretty.d.ts","../../dts/packages/babel-helper-compilation-targets/src/debug.d.ts","../../dts/packages/babel-helper-compilation-targets/src/filter-items.d.ts","../../dts/packages/babel-helper-compilation-targets/src/index.d.ts","../../dts/packages/babel-core/src/config/caching.d.ts","../../dts/packages/babel-core/src/config/printer.d.ts","../../dts/packages/babel-core/src/config/files/types.d.ts","../../dts/packages/babel-core/src/config/files/package.d.ts","../../dts/packages/babel-core/src/config/files/configuration.d.ts","../../dts/packages/babel-core/src/config/files/plugins.d.ts","../../dts/packages/babel-core/src/config/files/index.d.ts","../../dts/packages/babel-core/src/config/config-chain.d.ts","../../dts/packages/babel-core/src/config/cache-contexts.d.ts","../../dts/packages/babel-core/src/config/helpers/config-api.d.ts","../../dts/packages/babel-core/src/config/config-descriptors.d.ts","../../dts/packages/babel-core/src/config/item.d.ts","../../node_modules/@types/jsesc/index.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts","../../dts/packages/babel-generator/src/index.d.ts","../../dts/packages/babel-core/src/config/validation/options.d.ts","../../dts/packages/babel-core/src/config/validation/plugins.d.ts","../../dts/packages/babel-core/src/config/plugin.d.ts","../../dts/packages/babel-core/src/config/full.d.ts","../../dts/packages/babel-core/src/config/partial.d.ts","../../dts/packages/babel-core/src/config/index.d.ts","../../node_modules/@types/convert-source-map/index.d.ts","../../dts/packages/babel-core/src/transformation/normalize-file.d.ts","../../dts/packages/babel-core/src/transformation/file/file.d.ts","../../dts/packages/babel-core/src/transformation/plugin-pass.d.ts","../../dts/packages/babel-core/src/tools/build-external-helpers.d.ts","../../dts/packages/babel-core/src/config/helpers/environment.d.ts","../../dts/packages/babel-template/src/options.d.ts","../../dts/packages/babel-template/src/formatters.d.ts","../../dts/packages/babel-template/src/builder.d.ts","../../dts/packages/babel-template/src/index.d.ts","../../dts/packages/babel-core/src/transformation/index.d.ts","../../dts/packages/babel-core/src/transform.d.ts","../../dts/packages/babel-core/src/transform-file.d.ts","../../dts/packages/babel-core/src/transform-ast.d.ts","../../dts/packages/babel-core/src/parser/index.d.ts","../../dts/packages/babel-core/src/parse.d.ts","../../dts/packages/babel-core/src/index.d.ts","../../dts/packages/babel-helper-plugin-utils/src/index.d.ts","./src/index.ts","../../lib/globals.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-readdir-recursive/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/jest-diff/node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lru-cache/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/v8flags/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"b360236d3b226a56126f9f071d68fccd10eba34e4b6831efc39e8a3277380523","a73bd08ca8f85d9c1f0307ae7abb246e38cb618f452e15fd3612464e846665b0","9b1b103c34f4c56ab0c40c87a85ffd36002295d8fbe17b493509e63a383f5814","e4a023723ff5cfdc22880b572dd15876d0bc4bb4f2a555d71d226a2578786ad3","3aa0ae0c3636319f9bc6e5c2a4bd484f9b2b4e78623b33131056a95fb59c954c","dc25e664429b44c379d4d3cf988b2cce06116ae94f5c6f1a0cf73245b4282a93","e59daf03ff2d76dee4726e48556aba1d105fd1c7a7a9cbf3e74ec4a1f91a6bea","250bb1ea2d799ecf488834fe20efa611063ab79b35639b7b3024f05e1b6641ee","a0fbfc839fefc3d41a12c5a8631e6543135ff18fd516cd06c5a09f84cb81578c","9ce376fdbe50ed84260f0dc45cc1f242916f2c0c91da6464df63df0ba2baae7c","c3e41c24eb14414b6995d4bbac99d16ce2e609282c9b53d1333b7b423e0f7d02","b555d22a622ea0565d08a340e5c19f6f439f40d4451a2f13fe6a33a39b3d761c","9f29212a64599c6c5563b78746bf85f709d5437f18dac77502a53af63dadb850","6b714d7db731bb6da813dfa3d88ded4ce0bc9b627464e86315468e1be9adadff","5ebd0c7b976b7cbe390e381d27ec9dc5adde1a02cf9ecfb2a7caed7a822a5cae","4171247c72f90ac86a3cd3cdb0f372214a556aa8b94aa92b28bf6d21dad5f7ee","b8b9aae5a37c0d3dec11813d992b893ed55a080289466ade6c1bc47e3987f53a","eb69d4cd5875c471c0dd30988bf8a4816f9b8fab1e71a8c39096e483411faa00","48225779dd7b1b7b384389e325ed6aa271a6745239d8193c2fc161cacbf3dac5","c6fd0f9d777f11f972b4decc52beeeae6aad9f2aa949184e8f9984a5c36e4448","3f4487628af3e52556d6f33151740876b29a5355b8a5ccf8e56d1b3ae7cbcc0e","2b4ca439136421892cc80ebf6f6ea641a0306e58bd12ed61ae7f20becb2ee15f","d765a1a0f109522a082c9b8de1f6c0364463e972ece981b0f504fa611187956a","ce8fe0d07c32e6786203b5a3b93468afc6b1fcf57481dc9673e16fb119312c19","dfa94dabc1567d2b882222947f5c181adc89a3af5b6a2b730b1c3b85d4cfe48f","c33fa94c2e88d70a2e98a33474d3cf477d959477236323a748f638b3ca1e2af0","058e39e6fe02e97ddc18b2952a67d0dfb71f1f60f86405480fec569b602f5284","8c5dbef5fc0eb113d94132a5ba440d75e33eb85e9497a1f7e3bdb29a3fcd3469","0d9808e1f0d2bd4c45462c7e2f20c0cf08b700c6964e7eda5e10d1f6b707deb8","9f3f8ff5d06c5d5583e891d3bb98489d58e358e49bda2827f3f7819cdb632ad0","6978b8fc2f45108c4bc2788bd7053f2917d7efa28f74ddf52182dc9ab59d03cf","e127a8fb319d5978d73d966a5a68b85915848f8f96267fff2f0dbe9bc92373e9","77adbafe67e2bf42d578d82d2fb994530cce5b9eaa28a2a5b24aca70a008c3d9","2041804d5582855acf4cdb0d641cd83a26952d5955f0f1806c9b7e9ae90ac3dc","7d2a0764991446f121b01e690edcb502ce40fd02145613d1d349d9e46be3782a","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","513e4a7dd68f60782a39d5ae4ce6f0a19ccc4c51808b359560ad1f689f0ce93d","519157309e4f7c98b6067933db2a849961eaa0e5dec4a2ce5d2fc92ace85dcfd","c5f8672c8c39b8f9251a57fc2dab217ce20ac4a9d71c0a498b733cb922ff5e4e","82590ca2dfa968af29be579c534733406fd9c5c4a726213eef9f2308cbb04d23","e88043fb3ae0a6e33be31d45927494ed42c3263bfb318b024b9dab027f09dc2d","3f7e6d7b1d7155d68b5ec0f8e021f10075c785b29171d1d520d0b9b0dd617aa0","7571f6e856945cea6771a2985e008daff8785c6632f9dc1dc9f24f795f84444d","2ff5e66c8448d86302ef11ceeb27cbbd43d3af41aba05c2fc3a48cd0f1d8627f","a73d8151dd40ff705eebd2989e703ba14874574f5fe4f195babe74b6ef93ac59","e872f192c494d687561196b8ce88a06d80b2128b0c28b3bd919a7d663c22cc18","1a910bff4e17d0f855bd00ef0dadc3ad8e7656499c099d19603f8bb0dbe8853e","23996dceac72973064c9643fff1ca0cf585b642d715c56ed3512703f2b280c5e","14cba8dd2c615df75bef2f670ec26fbe86157eb03a55ba5dfbe8ad46253c3b5e","95a1a8e1e7777214b2d970c3426819e976abf9120f2824b571e0ae51d1dd465b","3b6aafb284a9943503546844726c7ecea9ae91fc46f1d8e8cbe233f6d8b16a30","e1bb914c06cc75205fae8713e349dff14bdfd2d36c784d0d2f2b7b5d37e035e0","a5e89e63c809c01f8e8175c9d63da68ce734ddf15b7efd98b1eb262d8e4d05ec","466c63574f0654a81f7d760ccb32570f642b6b46e83b6fdc288c2e52bcef287c","c6526b7ad3213f40e40d617f0a150c8a9dcf0e8f868594ef4aa060b994fd11ce","b5e0565b7ca3ba4c129ed4e1788d4dc1bb30dcdeb14a37df1071c3881507e295","08cdf95dfc59101c1e7c23865951151455ee7f77f1bf7e257034aae8ba332972","4924f889957ee69dfd66643c7e60a5feee526c18b16d10985804c669fe1b6ce4","2c95044092cad1398b593b47290306d73513d163c61e85ebbc39715af4b15578","66612e3b3315adf8702a39830ad8690d6f4293f89193737c604f4b44a51e42ad","1d3f6521348f5d591d4da3408457a553274b024c79ecde88054361040967c211","03a629914760ae9bb64a05e72ad0f4e6aeefb1e7c7b6ae3d7836bb46f69ae23e","95017b0f25bb3cd6782853c14303c20b5099b866ef1491c57fc436add8183f14","989f035cd0c3acf51639b2ff4fb3cb8ccce3d7ef0103a1d32ca5e5f1cfd19387","9dfbdb5529d2be1c9e77112f7e0e20fba7518865f31501b9aa09c3965ee91f6a","9ba02d6560cc8cf8063172ba05b5368a24fb236a97c1c852665372be78143592","cafadd60cda0c63471975430893f7c0ac981f268ec719f08f131e41d8404c4db","6a7a221f94f9547a86feaa3c2ce81b8556c71ffb12057a43c54fc975bca83cde","156d025e006f7df4df1bcf7ce53cd3e3780a0190dfb03c65288f07b372e79843","e34a316302189537858d6d20d5d77d8f0351ed977da8947a401ad9986cdf147f","243665975c1af5dc7b51b10f52e76d3cb8b7676ccc23a6503977526d94b3cdde","3a91334c3409e173cafb3af175d8a4a3ae835851df7015c8f0fc5c117ad46c80","bfe8f5184c00e9c24f8bb40ec929097b2cafc50cc968bc1604501cb6c4a1440c","7b488581d44b9a7bde2131536376fa946cbb3a1b0096427738d5b946a76ca794","1079472c5e1f65ce739fb777054e2f539e9b50a97b438c0d6e56c4ee23be8bff","55a399c33069c3f8d15e07985f30a10c80b318bc41b3803fe9cc83cfcdbb03d5","c67208e9da4af7a50bfb75d07691326052d6ed8f3b577ece8b02cd425c9d632f","f31ab9295985d01c5837c9bdc422643f6f73293cfd103738774b7cfb340566cc","99392e1e600259c50f21f691f136a4ecbee42839dbb9523384f09645c8756503","5c5d100793c0fb9b34076189904df18f3321e82cadf6f69815926104029c215b","8dec4b9028cc8905caa6b52a395786d7f49a10d61f6be869b59ae007dc5e0cdf","f952c9c19048db8b25e3fa8e48e2213c18d3fdbef6ac168e9fae6632ed58245f","63612545667f1b69fade90ce43da7802e6affc4a0620a88d0a1d5a714d9e1e9f","866c1b69a53d80383cb5eef0ce2760ad8d028c771fa45776426a583c56a23746","c51dc97847938ca3786408a68750dc9487f162ce90d2164a4cc1a9c88ae93eca","21e59c9d2b6105929ba1a83b14e54a338fb4553ccb011b0cad62a749e30a440a","00222577eecd6c1fc72150006351fc6e1b5bb3aaf78097e40ecac8b8343a7598","ad4f0fb9751f85bf9cc29185d4c7dfb0a692386fd5670815efad14f828b015a8","50f3da2fe7cdc461c6fcb1b38e8762847cc3d62146b1c1dbd62552c46d2b9187","e675dc45ca604b7a6fea16448050b34cf0fe86c2f9fa50f3911fb4153b42c186","d3e56e0f84e1d1843369533f50918cce5925129e99e9ca14c7cc35ad94b2a052","dfedb6704555de21c30e98a8decf8a6d31dde1d8403b9b95944a1d317379c7ae","7102463bc898ac4cfd90675e679cdd8e1a1b6f44702b280f9c99b93f206ae570","68bb7c7f1ece77aa8875dea013d984dd04def47da4790ad376b7482009bd91e1","4f9a4bb30bc97017c72a600c0161962d8f74488d1cd93669e4adbce7e611e0de","850452a01075d928b6b880a0c378c302daed87eb2ba58c833778c25b18b58456","dc298a2f1e69c0786df2f1e29294742862da898b213be334c36682098afea397","57e73f1c6da39bcf9429f52c39b6fc34eef11547fbb5a2be91836517ec746957","8e04fc4a0a97bd29f22ca6a024ad8f7c74af5ad683f07701a40153267399cb6a","bde8c75c442f701f7c428265ecad3da98023b6152db9ca49552304fd19fdba38","81af40a2264a5a56f71b8c45ff1717b50c5f0c00dd091410b12dc970ee340120","b10974251ad16a97b357ec50f87455c4430e7f0790f7b399564c900e4ebf87f1","234123959236555e336e4efcd7aa203ac1d5370ee5d891dcfc5828d996b28f59","b59756cf12284e6136e042f322af2e22664e1fd46f713b1dd3abb1740719b732","62b65c635a282ea4855cd6a9b968527cbab364c38410ea432f63c5c591db9072","d31fbe2a651edb67d3950722299b098528292b517f6947d2d81ab913a41a2566","569de4401936201287d466c310a32432c2eef9c42524f5e31379e743dda71bf2","2cf4af5b2e64cfc639866ecc565edfe8da7dd3bd06c5ec93e491431d8b2cbb52","6131967512c4d205c32f126ef7415453f0c715bf53c7175d6deecb72d76a75b5","4e38f7bd172e7549c323610cfede12644c116581dfc4d751998d301eda9573e6","0d1adbde28307411dae5e1cc8cc316130653bfc6ad8feb4b59063f60efdfd693","d8288a8eb14187b0df133ce467216d61d9ffe838ae5930471f476a5c36141828","70ae92a852a67db5b841a7ee3e9d16df7c06320ab86dbf2d5dbd9d76f3c98faa","d8b49d5f3ea9c320fa3623c746bf0643fd19520265bc53749f1a4e532ebe92b3","ead85b2d6cd6e6deb144a0995896c0ca7423820c66cc00e416e66733d2932985","5893d8b87ce06846556d2460e2eaf2aa8388f2179ed151d302ab7d711a75c7e4","6b4d9c91ed03e7afd40fa045042fcb7a6250b8dbe242154f3c4b948a99c74a9d","8b37c18f85644a1c666705bb5c233850cac84d8863c19870a8ed5f8d69c68800","186139eb9963554412f6fb33b35aabee1acdaa644b365de5c38fbd9123bdbe45","429e18739687877b761b4b6574a45a9e51111a6a71cd63711440cb0f9c602e87","b7589677bd27b038f8aae8afeb030e554f1d5ff29dc4f45854e2cb7e5095d59a","2141d76dd4ef56c5aae88b7d93a8df9fc7d9a779a2441825a8e3e2d0a025f761","31cd8b7c7ff990e5213c4f291f6a92e26eea3bed21a1147eecd32e0b789b37de","431fa08179e6ec652924f1f0788e213db388b0dbebdbfd392477772c5f199573","092ebda2bb8a86fbf91c87f05de87a433eedeea8cb0be462984ef6fab1148c41","4d4e7dba6eac3fa53fd158af2290a29ba3bbdd07537b630d6d4960d11af99aaa","bf37ea47ebbf5d66dd7a26f59c08524608a3bd36b8736c5c4e3b22619d722695","e4aa4e8d3eb4c67b64962344ef3388a8cd607821ba619c9379b36316db65c9ac","ae795ae07c9049d4ef2ea798e539c883a774b63be306794f256e11a9b228ebe6","635ca94290fa45a56e53ffadd3b897a42650fd4ab0ddc241392e4dc729bf496b","ca02b010759d1cf92100866c89b66cb211630a4a6de9d4381449a6fabf2cbaa5","02519cdd247317de0bfdc78d88b5497d9747e1b9d1297283a0fea8ab3787f6ab","53989e09bc0b6b46a3c4597e5147a9b989f1f66f33ce7375b92d28139977e748","abae244b376437bfe2f0fdd1bd8925e2c235d10336ba08aec4330b800582ccbb","7da12c50edd45d08ae7f93183d0f88ab9753386ce060d1765926ffbe7c6491c2","1a8397f1c9125fc54db823eb6509221b841dd6f0c82a78997033a4a09fb1c86d","176d3525152384c3f7312b308c8af7b17690f8ec34e0788e6aaae548180f1941","6b34e6bdec80f7af4912497afb8455cd88ae1d6442d042c6663176b9927b69d4","41113f7f4529f81a16bae03c06bbd3c95146a4f7c8173ecafd6869fd1e97ed0b","c980191d2838b122a340074b58c566fddbc29a44bb57170671ac5034373c49a1","378871d06cbd514fe945b69a7be3cabe210139a5b2b3917a306ef8102afdd5bd","3bf0df1a6a59b16d43f97efd5bddcb376a3a3d66ecbe92a4dd80a0f81be6a009","49bf06ea475ae5c78e69f7af3c7e09e00af57750aa1e37c120aaad92fd8a8ab2","f8fc87c8c6822986fa509a62a0caed5cbf05f3f84d82fbbdb01a9e94aebfb2ec","60c51e31434ccc777c3d67ccc96892dd7e634816fb9fa5dc86e15d72de96ab3d","0737161a05160e848162b2abba07c4e867f415362187b810f4b6764d2626d021","69815e9eb00baef2634457bcf4952f69062d764211914619c6922dfa7760f8d2","444399b4f2fead080a55b82f86bf653a072a9f117042edc9a0fa69366672b418","d6ab7f2b45d4aa62ad21199fbb3105151a9dd4830d138a3bb3eab1e76eef9e45","56827baba9ab2b370c919b1858068e11f10a73d80dca8cb2467d2d1446fab073","551cbc9796c3629084a987a84a1a0e9957fcfb6fdfe1ee807dfe56f5a11a4148","eded5d62b954b7937089cfb84926bb40d60b8bf0d4ef03bbe92cf08404afc808","84a805c22a49922085dc337ca71ac0b85aad6d4dba6b01cee5bd5776ff54df39","971f12a5fc236419ced0b7b9f23a53c1758233713f565635bbf4b85e2b23f55a","9d670bb3be18ea59cea824e3bb07d576b55c9542f5bc24aacc2a3c1ebd889de6","695b586df2d8c78b78cdd7cc6943594f3f4bc52948f13b31cdedfa3ce8d97c31","0771a93ef5e3b2a29f929c20f7ad232829341a671c9d1e96e93ef3fc42ef7bc2","cadb68b67b80b14a9a5bb64cce3093168fb2bfe2c7b10096d230df5203218de1","0b3c75be13f930b46117e205d900ee9c4f2ad6c7317655bca5364958ba1e34f0","5af161220fdf46730477706e8c431ccbd1b4ff50223cb32450bc20513f50bfbd","be797449825edee1716d3e0c8d7ae53955b8944437cb4d0b4123a32778621228","3de2bce3f80834d3f0a02d2adce48edcfb4caad49145031f79cc8f1fcc28e0fc","83a3a4f21e36ee920e819ac865badd30bf258361e7a224d1fb134a5524f55a0f","a09c9ad7765dde81c65319b317af29e10f0a8e38f197c2e657ed7130d67c73dd","db18c2ffebf4c7f8d5ebb8f2541bc30bbb4f6cacebb42a5a9742ae883fd583e1","a22722f2344d703cdcc5ada42cbf84890ef527a2a6e9154fab5ddb362e64b955","866041185b44ade1456dc03de3dc85aad9c2b02dfd92d7f2068d46e28ea66201","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","48864a43f6c1032cb3fb5bfac020d4b2919791f49d8f31ff18f2dd3d4816005f","e9114172414f9836d9fab7346122951be30b66719d8277aa5f7a25580b9e21c7","5db896a650fb0c4ec892de19b7b98b92ccae9bb5a3e03731050f3db0d3183bd6","220c93cd694e27d77b91f874f31e92d7514aa808fd95768b64552693043d00b9","380543b1b41b88e3a6294b8419d5ed323c5da3a3051ab4a1d5677f525ee30698","269ee735294e8c328681830ae7fdf4aea6c24032f0541d76c914aac9afadda5c","23a790e87430f6bcf8dfbc4d3560e8b3d7441f9cfbe509bcf932b4608c60c9e3","7a8b858660503a4af876541f456b2cbc3d89b164ab842c7434ac0fb87ec0e026","024653e8296d821c2332e1e8fe13eb86f4d50f0be82478c958890e92d1f2ca0e","f571e28d70c04d1ce72673771010febae11d2c907a71d027550d986ee424951d","ae4f0f443b828f28aaf843856dd25a8ab5e400f99581778f8977011c4a72d70d","cf5ba84fd9488f0ba7e302d54d1db6452b513d8573df389dd05f4153f5edfc26","64ec4840e09c2f03bc97e86f6fbc5aac99bb6a067f20e06dc186a3784aba2862","640331bbaecab0948b9a40fc903666f103e94764cdfb0822d4124c147246c19a","dc29fe834b87d0d015c40a9f294ec7e1f2b7b322f102264e34374c8ea5ecffe6","46ab6033b2f210e498f5147c87b465aa564d1b9f64a431dd70b3f4f7cc5d6647","9e41f39e9240202cfe3f061b1d2743265de6aad2d2f5e9bcc13ccd26a64e70d6",{"version":"2b1c6a11c7b38b994db5882eb158e6b9bcc0aee91907027b93e25e68a00b16b0","signature":"a046f92928663103aa868c886b72b16c54b8ae3ecf99ba3e6ee186402e26eb25"},{"version":"f0b6690984c3a44b15740ac24bfb63853617731c0f40c87a956ce537c4b50969","affectsGlobalScope":true},"f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","0c5a621a8cf10464c2020f05c99a86d8ac6875d9e17038cb8522cc2f604d539f","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","1d78c35b7e8ce86a188e3e5528cc5d1edfc85187a85177458d26e17c8b48105f","acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","6d969939c4a63f70f2aa49e88da6f64b655c8e6799612807bef41ccff6ea0da9","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e",{"version":"46894b2a21a60f8449ca6b2b7223b7179bba846a61b1434bed77b34b2902c306","affectsGlobalScope":true},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","9ad8802fd8850d22277c08f5653e69e551a2e003a376ce0afb3fe28474b51d65","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"root":[261,262],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationDir":"../../dts","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":200,"noImplicitAny":true,"noImplicitThis":true,"rootDir":"../..","skipLibCheck":true,"strictBindCallApply":true,"target":99},"fileIdsList":[[215,223,237],[175],[175,176,217,222,225,226,237],[175,225,237],[175,218,237],[218,219,220,221],[175,218],[242],[175,176,237,239],[215,216,224,237],[175,225,227,237,238,240,241,259],[175,226,237],[175,222,223,237],[176,238],[175,226],[208,215,225,226,227,236,239],[174,208,237,259],[149,174,208,222,242,245,246,247,248,252,254,255,256,258],[175,237,242,257],[175,208,242],[149,175,242,253,259],[175,242,253,259],[149,174,244],[149,175,236,242],[149,175,242,243,245],[149,245],[149,228,235],[211],[209,210,211,212,213,214],[259],[179,189,201,207],[206],[177,180,181,182],[183,185,186,187,188,189,201,202,207],[190,192,201],[177,179,182,191,192,197,201,202,207],[185,199,201,207],[177,179,182,184,191,192,196,201,202],[177,191,201],[177,179,184,192,198,201,202,207],[177,179,182,183,185,195,201,202],[177,178,179,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,199,200,201,202,203,204,205,207],[177,184,185,201],[177,178,179,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,199,201,202,207],[177,178,179,182,183,189,192,193,194,201,207],[177,178,179,182,193,207],[178],[177,182,195,200,207],[177,184,195],[177,182,195,201],[177,184,195,201],[249,250],[149],[149,249,251],[208],[149,151,152,169],[149,151,169,174],[149,151],[149,151,152,155,169,171,172,173],[149,169],[149,155,169,170],[169],[149,169,170],[149,151,152,155,156,157,158,159,160,161,162,163,164,165,166,168,170,171,174],[149,153,169],[149,151,169],[149,150,152,169,174],[149,153,154,174],[149,155,174],[105],[105,106,107,108,109,110,111,112,113],[72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[114,149],[366],[232,234],[233],[230,232],[229,230,231],[229,232],[266,268],[265,266,267],[320,321,358,359],[361],[362],[368,371],[307,358,364,370],[365,369],[367],[271],[307],[308,313,342],[309,320,321,328,339,350],[309,310,320,328],[311,351],[312,313,321,329],[313,339,347],[314,316,320,328],[307,315],[316,317],[320],[318,320],[307,320],[320,321,322,339,350],[320,321,322,335,339,342],[305,308,355],[316,320,323,328,339,350],[320,321,323,324,328,339,347,350],[323,325,339,347,350],[271,272,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357],[320,326],[327,350,355],[316,320,328,339],[329],[330],[307,331],[332,349,355],[333],[334],[320,335,336],[335,337,351,353],[308,320,339,340,341,342],[308,339,341],[339,340],[342],[343],[307,339],[320,345,346],[345,346],[313,328,339,347],[348],[328,349],[308,323,334,350],[313,351],[339,352],[327,353],[354],[308,313,320,322,331,339,350,353,355],[339,356],[377,416],[377,401,416],[416],[377],[377,402,416],[377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415],[402,416],[419],[368],[282,286,350],[282,339,350],[277],[279,282,347,350],[328,347],[358],[277,358],[279,282,328,350],[274,275,278,281,308,320,339,350],[274,280],[278,282,308,342,350,358],[308,358],[298,308,358],[276,277,358],[282],[276,277,278,279,280,281,282,283,284,286,287,288,289,290,291,292,293,294,295,296,297,299,300,301,302,303,304],[282,289,290],[280,282,290,291],[281],[274,277,282],[282,286,290,291],[286],[280,282,285,350],[274,279,280,282,286,289],[308,339],[277,282,298,308,355,358],[210],[260],[149,155],[149,167,169]],"referencedMap":[[224,1],[216,2],[223,3],[226,4],[220,5],[222,6],[219,7],[221,2],[218,8],[240,9],[225,10],[242,11],[227,12],[241,13],[239,14],[217,15],[237,16],[238,17],[259,18],[258,19],[257,20],[256,21],[255,22],[254,22],[245,23],[253,24],[244,25],[246,26],[236,27],[213,28],[214,28],[215,29],[212,28],[260,30],[208,31],[207,32],[182,33],[190,34],[193,35],[198,36],[202,37],[197,38],[192,39],[199,40],[191,41],[206,42],[203,43],[204,44],[200,44],[205,43],[195,45],[183,46],[179,47],[201,48],[187,49],[186,50],[185,51],[251,52],[250,53],[252,54],[249,55],[173,56],[170,57],[152,58],[174,59],[156,60],[165,60],[171,61],[160,60],[159,62],[164,63],[169,64],[157,60],[161,60],[167,65],[153,53],[163,60],[162,62],[158,60],[150,66],[151,67],[155,68],[172,69],[74,53],[75,53],[77,53],[76,53],[79,53],[81,53],[73,53],[78,53],[83,53],[84,53],[85,53],[82,53],[86,53],[87,53],[88,53],[89,53],[90,53],[92,53],[91,53],[93,53],[94,53],[96,53],[98,53],[99,53],[100,53],[102,53],[103,53],[104,53],[106,70],[114,71],[105,53],[149,72],[115,53],[120,53],[116,53],[117,53],[118,53],[119,53],[121,53],[122,53],[124,53],[123,53],[125,53],[126,53],[145,53],[146,53],[128,53],[129,53],[130,53],[131,53],[132,53],[133,53],[134,53],[136,53],[137,53],[138,53],[139,53],[142,53],[143,53],[144,73],[367,74],[235,75],[234,76],[231,77],[232,78],[230,79],[269,80],[268,81],[360,82],[362,83],[363,84],[373,85],[371,86],[370,87],[372,88],[271,89],[272,89],[307,90],[308,91],[309,92],[310,93],[311,94],[312,95],[313,96],[314,97],[315,98],[316,99],[317,99],[319,100],[318,101],[320,102],[321,103],[322,104],[306,105],[323,106],[324,107],[325,108],[358,109],[326,110],[327,111],[328,112],[329,113],[330,114],[331,115],[332,116],[333,117],[334,118],[335,119],[336,119],[337,120],[339,121],[341,122],[340,123],[342,124],[343,125],[344,126],[345,127],[346,128],[347,129],[348,130],[349,131],[350,132],[351,133],[352,134],[353,135],[354,136],[355,137],[356,138],[401,139],[402,140],[377,141],[380,141],[399,139],[400,139],[390,139],[389,142],[387,139],[382,139],[395,139],[393,139],[397,139],[381,139],[394,139],[398,139],[383,139],[384,139],[396,139],[378,139],[385,139],[386,139],[388,139],[392,139],[403,143],[391,139],[379,139],[416,144],[410,143],[412,145],[411,143],[404,143],[405,143],[407,143],[409,143],[413,145],[414,145],[406,145],[408,145],[420,146],[369,147],[368,88],[289,148],[296,149],[288,148],[303,150],[280,151],[279,152],[302,153],[297,154],[300,155],[282,156],[281,157],[277,158],[276,159],[299,160],[278,161],[283,162],[287,162],[305,163],[304,162],[291,164],[292,165],[294,166],[290,167],[293,168],[298,153],[285,169],[286,170],[295,171],[275,172],[301,173],[211,174],[261,175],[154,176],[166,60],[168,177]],"latestChangedDtsFile":"../../dts/packages/babel-plugin-syntax-import-attributes/src/index.d.ts"},"version":"5.5.3"} \ No newline at end of file diff --git a/tools/eslint/node_modules/@babel/traverse/lib/context.js b/tools/eslint/node_modules/@babel/traverse/lib/context.js index fc9a067a373796..106d0970514fcd 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/context.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/context.js @@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { exports.default = void 0; var _index = require("./path/index.js"); var _t = require("@babel/types"); +var _context = require("./path/context.js"); const { VISITOR_KEYS } = _t; @@ -76,9 +77,9 @@ class TraversalContext { for (; visitIndex < queue.length;) { const path = queue[visitIndex]; visitIndex++; - path.resync(); + _context.resync.call(path); if (path.contexts.length === 0 || path.contexts[path.contexts.length - 1] !== this) { - path.pushContext(this); + _context.pushContext.call(path, this); } if (path.key === null) continue; const { @@ -98,7 +99,7 @@ class TraversalContext { } } for (let i = 0; i < visitIndex; i++) { - queue[i].popContext(); + _context.popContext.call(queue[i]); } this.queue = null; return stop; diff --git a/tools/eslint/node_modules/@babel/traverse/lib/index.js b/tools/eslint/node_modules/@babel/traverse/lib/index.js index 566296c0092103..5a40ca85d1b966 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/index.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/index.js @@ -22,6 +22,7 @@ Object.defineProperty(exports, "Scope", { } }); exports.visitors = exports.default = void 0; +require("./path/context.js"); var visitors = require("./visitors.js"); exports.visitors = visitors; var _t = require("@babel/types"); diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/context.js b/tools/eslint/node_modules/@babel/traverse/lib/path/context.js index 70a97099cc47a7..78bbe6b82f67f3 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/context.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/context.js @@ -10,7 +10,7 @@ exports._resyncList = _resyncList; exports._resyncParent = _resyncParent; exports._resyncRemoved = _resyncRemoved; exports.call = call; -exports.isBlacklisted = exports.isDenylisted = isDenylisted; +exports.isDenylisted = isDenylisted; exports.popContext = popContext; exports.pushContext = pushContext; exports.requeue = requeue; @@ -63,6 +63,9 @@ function isDenylisted() { const denylist = (_this$opts$denylist = this.opts.denylist) != null ? _this$opts$denylist : this.opts.blacklist; return denylist && denylist.indexOf(this.node.type) > -1; } +{ + exports.isBlacklisted = isDenylisted; +} function restoreContext(path, context) { if (path.context !== context) { path.context = context; @@ -82,7 +85,7 @@ function visit() { return false; } const currentContext = this.context; - if (this.shouldSkip || this.call("enter")) { + if (this.shouldSkip || call.call(this, "enter")) { this.debug("Skip..."); return this.shouldStop; } @@ -90,7 +93,7 @@ function visit() { this.debug("Recursing into..."); this.shouldStop = (0, _traverseNode.traverseNode)(this.node, this.opts, this.scope, this.state, this, this.skipKeys); restoreContext(this, currentContext); - this.call("exit"); + call.call(this, "exit"); return this.shouldStop; } function skip() { @@ -132,7 +135,7 @@ function setContext(context) { this.state = context.state; this.opts = context.opts; } - this.setScope(); + setScope.call(this); return this; } function resync() { @@ -154,14 +157,14 @@ function _resyncKey() { if (Array.isArray(this.container)) { for (let i = 0; i < this.container.length; i++) { if (this.container[i] === this.node) { - this.setKey(i); + setKey.call(this, i); return; } } } else { for (const key of Object.keys(this.container)) { if (this.container[key] === this.node) { - this.setKey(key); + setKey.call(this, key); return; } } @@ -195,7 +198,7 @@ function setup(parentPath, container, listKey, key) { this.listKey = listKey; this.container = container; this.parentPath = parentPath || this.parentPath; - this.setKey(key); + setKey.call(this, key); } function setKey(key) { var _this$node; diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/conversion.js b/tools/eslint/node_modules/@babel/traverse/lib/path/conversion.js index 4f06a577e847c8..6fac4522377e4c 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/conversion.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/conversion.js @@ -12,6 +12,7 @@ exports.unwrapFunctionEnvironment = unwrapFunctionEnvironment; var _t = require("@babel/types"); var _template = require("@babel/template"); var _visitors = require("../visitors.js"); +var _context = require("./context.js"); const { arrowFunctionExpression, assignmentExpression, @@ -96,7 +97,7 @@ function ensureBlock() { } this.node.body = blockStatement(statements); const parentPath = this.get(stringPath); - body.setup(parentPath, listKey ? parentPath.node[listKey] : parentPath.node, listKey, key); + _context.setup.call(body, parentPath, listKey ? parentPath.node[listKey] : parentPath.node, listKey, key); return this.node; } { diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/index.js b/tools/eslint/node_modules/@babel/traverse/lib/path/index.js index ce3898cdcbce7a..c37c66ff722ab9 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/index.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/index.js @@ -18,7 +18,8 @@ var NodePath_replacement = require("./replacement.js"); var NodePath_evaluation = require("./evaluation.js"); var NodePath_conversion = require("./conversion.js"); var NodePath_introspection = require("./introspection.js"); -var NodePath_context = require("./context.js"); +var _context = require("./context.js"); +var NodePath_context = _context; var NodePath_removal = require("./removal.js"); var NodePath_modification = require("./modification.js"); var NodePath_family = require("./family.js"); @@ -89,7 +90,7 @@ const NodePath_Final = exports.default = class NodePath { path = new NodePath(hub, parent); if (targetNode) paths.set(targetNode, path); } - path.setup(parentPath, container, listKey, key); + _context.setup.call(path, parentPath, container, listKey, key); return path; } getScope(scope) { @@ -181,11 +182,7 @@ const methods = { splitExportDeclaration: NodePath_conversion.splitExportDeclaration, ensureFunctionName: NodePath_conversion.ensureFunctionName, matchesPattern: NodePath_introspection.matchesPattern, - has: NodePath_introspection.has, isStatic: NodePath_introspection.isStatic, - is: NodePath_introspection.is, - isnt: NodePath_introspection.isnt, - equals: NodePath_introspection.equals, isNodeType: NodePath_introspection.isNodeType, canHaveVariableDeclarationOrExpression: NodePath_introspection.canHaveVariableDeclarationOrExpression, canSwapBetweenExpressionAndStatement: NodePath_introspection.canSwapBetweenExpressionAndStatement, @@ -198,29 +195,19 @@ const methods = { resolve: NodePath_introspection.resolve, isConstantExpression: NodePath_introspection.isConstantExpression, isInStrictMode: NodePath_introspection.isInStrictMode, - call: NodePath_context.call, isDenylisted: NodePath_context.isDenylisted, - isBlacklisted: NodePath_context.isBlacklisted, visit: NodePath_context.visit, skip: NodePath_context.skip, skipKey: NodePath_context.skipKey, stop: NodePath_context.stop, - setScope: NodePath_context.setScope, setContext: NodePath_context.setContext, - resync: NodePath_context.resync, - popContext: NodePath_context.popContext, - pushContext: NodePath_context.pushContext, - setup: NodePath_context.setup, - setKey: NodePath_context.setKey, requeue: NodePath_context.requeue, requeueComputedKeyAndDecorators: NodePath_context.requeueComputedKeyAndDecorators, remove: NodePath_removal.remove, insertBefore: NodePath_modification.insertBefore, insertAfter: NodePath_modification.insertAfter, - updateSiblingKeys: NodePath_modification.updateSiblingKeys, unshiftContainer: NodePath_modification.unshiftContainer, pushContainer: NodePath_modification.pushContainer, - hoist: NodePath_modification.hoist, getOpposite: NodePath_family.getOpposite, getCompletionRecords: NodePath_family.getCompletionRecords, getSibling: NodePath_family.getSibling, @@ -241,11 +228,25 @@ const methods = { Object.assign(NodePath_Final.prototype, methods); { NodePath_Final.prototype.arrowFunctionToShadowed = NodePath_conversion[String("arrowFunctionToShadowed")]; + Object.assign(NodePath_Final.prototype, { + has: NodePath_introspection[String("has")], + is: NodePath_introspection[String("is")], + isnt: NodePath_introspection[String("isnt")], + equals: NodePath_introspection[String("equals")], + hoist: NodePath_modification[String("hoist")], + updateSiblingKeys: NodePath_modification.updateSiblingKeys, + call: NodePath_context.call, + isBlacklisted: NodePath_context[String("isBlacklisted")], + setScope: NodePath_context.setScope, + resync: NodePath_context.resync, + popContext: NodePath_context.popContext, + pushContext: NodePath_context.pushContext, + setup: NodePath_context.setup, + setKey: NodePath_context.setKey + }); } { NodePath_Final.prototype._guessExecutionStatusRelativeToDifferentFunctions = NodePath_introspection._guessExecutionStatusRelativeTo; -} -{ NodePath_Final.prototype._guessExecutionStatusRelativeToDifferentFunctions = NodePath_introspection._guessExecutionStatusRelativeTo; Object.assign(NodePath_Final.prototype, { _getTypeAnnotation: NodePath_inference._getTypeAnnotation, diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/introspection.js b/tools/eslint/node_modules/@babel/traverse/lib/path/introspection.js index 07b17c350bd2f1..e93187a0e59fca 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/introspection.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/introspection.js @@ -7,17 +7,13 @@ exports._guessExecutionStatusRelativeTo = _guessExecutionStatusRelativeTo; exports._resolve = _resolve; exports.canHaveVariableDeclarationOrExpression = canHaveVariableDeclarationOrExpression; exports.canSwapBetweenExpressionAndStatement = canSwapBetweenExpressionAndStatement; -exports.equals = equals; exports.getSource = getSource; -exports.has = has; -exports.is = void 0; exports.isCompletionRecord = isCompletionRecord; exports.isConstantExpression = isConstantExpression; exports.isInStrictMode = isInStrictMode; exports.isNodeType = isNodeType; exports.isStatementOrBlock = isStatementOrBlock; exports.isStatic = isStatic; -exports.isnt = isnt; exports.matchesPattern = matchesPattern; exports.referencesImport = referencesImport; exports.resolve = resolve; @@ -37,24 +33,28 @@ const { function matchesPattern(pattern, allowPartial) { return _matchesPattern(this.node, pattern, allowPartial); } -function has(key) { - var _this$node; - const val = (_this$node = this.node) == null ? void 0 : _this$node[key]; - if (val && Array.isArray(val)) { - return !!val.length; - } else { - return !!val; - } +{ + exports.has = function has(key) { + var _this$node; + const val = (_this$node = this.node) == null ? void 0 : _this$node[key]; + if (val && Array.isArray(val)) { + return !!val.length; + } else { + return !!val; + } + }; } function isStatic() { return this.scope.isStatic(this.node); } -const is = exports.is = has; -function isnt(key) { - return !this.has(key); -} -function equals(key, value) { - return this.node[key] === value; +{ + exports.is = exports.has; + exports.isnt = function isnt(key) { + return !this.has(key); + }; + exports.equals = function equals(key, value) { + return this.node[key] === value; + }; } function isNodeType(type) { return isType(this.type, type); diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/modification.js b/tools/eslint/node_modules/@babel/traverse/lib/path/modification.js index 45ad4784bfcda7..62d853f726fa2a 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/modification.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/modification.js @@ -7,7 +7,6 @@ exports._containerInsert = _containerInsert; exports._containerInsertAfter = _containerInsertAfter; exports._containerInsertBefore = _containerInsertBefore; exports._verifyNodeList = _verifyNodeList; -exports.hoist = hoist; exports.insertAfter = insertAfter; exports.insertBefore = insertBefore; exports.pushContainer = pushContainer; @@ -60,7 +59,7 @@ function insertBefore(nodes_) { } } function _containerInsert(from, nodes) { - this.updateSiblingKeys(from, nodes.length); + updateSiblingKeys.call(this, from, nodes.length); const paths = []; this.container.splice(from, 0, ...nodes); for (let i = 0; i < nodes.length; i++) { @@ -69,12 +68,12 @@ function _containerInsert(from, nodes) { const path = this.getSibling(to); paths.push(path); if ((_this$context = this.context) != null && _this$context.queue) { - path.pushContext(this.context); + _context.pushContext.call(path, this.context); } } const contexts = _context._getQueueContexts.call(this); for (const path of paths) { - path.setScope(); + _context.setScope.call(path); path.debug("Inserted."); for (const context of contexts) { context.maybeQueue(path, true); @@ -220,9 +219,11 @@ function pushContainer(listKey, nodes) { }).setContext(this.context); return path.replaceWithMultiple(verifiedNodes); } -function hoist(scope = this.scope) { - const hoister = new _hoister.default(this, scope); - return hoister.run(); +{ + exports.hoist = function hoist(scope = this.scope) { + const hoister = new _hoister.default(this, scope); + return hoister.run(); + }; } //# sourceMappingURL=modification.js.map diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/removal.js b/tools/eslint/node_modules/@babel/traverse/lib/path/removal.js index 74fe13df6d6e03..04b9b701f4c0b3 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/removal.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/removal.js @@ -14,20 +14,22 @@ var _cache = require("../cache.js"); var _replacement = require("./replacement.js"); var _index = require("./index.js"); var _t = require("@babel/types"); +var _modification = require("./modification.js"); +var _context = require("./context.js"); const { getBindingIdentifiers } = _t; function remove() { var _this$opts; _assertUnremoved.call(this); - this.resync(); - if (!((_this$opts = this.opts) != null && _this$opts.noScope)) { - _removeFromScope.call(this); - } + _context.resync.call(this); if (_callRemovalHooks.call(this)) { _markRemoved.call(this); return; } + if (!((_this$opts = this.opts) != null && _this$opts.noScope)) { + _removeFromScope.call(this); + } this.shareCommentsWithSiblings(); _remove.call(this); _markRemoved.call(this); @@ -46,7 +48,7 @@ function _callRemovalHooks() { function _remove() { if (Array.isArray(this.container)) { this.container.splice(this.key, 1); - this.updateSiblingKeys(this.key, -1); + _modification.updateSiblingKeys.call(this, this.key, -1); } else { _replacement._replaceWith.call(this, null); } diff --git a/tools/eslint/node_modules/@babel/traverse/lib/path/replacement.js b/tools/eslint/node_modules/@babel/traverse/lib/path/replacement.js index f4f946e3aebb0d..4c052dfa4583aa 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/path/replacement.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/path/replacement.js @@ -16,6 +16,7 @@ var _cache = require("../cache.js"); var _modification = require("./modification.js"); var _parser = require("@babel/parser"); var _t = require("@babel/types"); +var _context = require("./context.js"); const { FUNCTION_TYPES, arrowFunctionExpression, @@ -48,7 +49,7 @@ const { } = _t; function replaceWithMultiple(nodes) { var _getCachedPaths; - this.resync(); + _context.resync.call(this); nodes = _modification._verifyNodeList.call(this, nodes); inheritLeadingComments(nodes[0], this.node); inheritTrailingComments(nodes[nodes.length - 1], this.node); @@ -63,7 +64,7 @@ function replaceWithMultiple(nodes) { return paths; } function replaceWithSourceString(replacement) { - this.resync(); + _context.resync.call(this); let ast; try { replacement = `(${replacement})`; @@ -86,7 +87,7 @@ function replaceWithSourceString(replacement) { return this.replaceWith(expressionAST); } function replaceWith(replacementPath) { - this.resync(); + _context.resync.call(this); if (this.removed) { throw new Error("You can't replace this node, we've already removed it"); } @@ -125,7 +126,7 @@ function replaceWith(replacementPath) { } _replaceWith.call(this, replacement); this.type = replacement.type; - this.setScope(); + _context.setScope.call(this); this.requeue(); return [nodePath ? this.get(nodePath) : this]; } @@ -144,7 +145,7 @@ function _replaceWith(node) { this.node = this.container[this.key] = node; } function replaceExpressionWithStatements(nodes) { - this.resync(); + _context.resync.call(this); const declars = []; const nodesAsSingleExpression = gatherSequenceExpressions(nodes, declars); if (nodesAsSingleExpression) { @@ -154,8 +155,8 @@ function replaceExpressionWithStatements(nodes) { return this.replaceWith(nodesAsSingleExpression)[0].get("expressions"); } const functionParent = this.getFunctionParent(); - const isParentAsync = functionParent == null ? void 0 : functionParent.is("async"); - const isParentGenerator = functionParent == null ? void 0 : functionParent.is("generator"); + const isParentAsync = functionParent == null ? void 0 : functionParent.node.async; + const isParentGenerator = functionParent == null ? void 0 : functionParent.node.generator; const container = arrowFunctionExpression([], blockStatement(nodes)); this.replaceWith(callExpression(container, [])); const callee = this.get("callee"); @@ -244,7 +245,7 @@ function gatherSequenceExpressions(nodes, declars) { } } function replaceInline(nodes) { - this.resync(); + _context.resync.call(this); if (Array.isArray(nodes)) { if (Array.isArray(this.container)) { nodes = _modification._verifyNodeList.call(this, nodes); diff --git a/tools/eslint/node_modules/@babel/traverse/lib/scope/index.js b/tools/eslint/node_modules/@babel/traverse/lib/scope/index.js index f77f44e916a1b5..f0c9748c9dcb46 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/scope/index.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/scope/index.js @@ -271,12 +271,12 @@ const collectorVisitor = { for (const param of params) { path.scope.registerBinding("param", param); } - if (path.isFunctionExpression() && path.has("id") && !path.get("id").node[NOT_LOCAL_BINDING]) { + if (path.isFunctionExpression() && path.node.id && !path.node.id[NOT_LOCAL_BINDING]) { path.scope.registerBinding("local", path.get("id"), path); } }, ClassExpression(path) { - if (path.has("id") && !path.get("id").node[NOT_LOCAL_BINDING]) { + if (path.node.id && !path.node.id[NOT_LOCAL_BINDING]) { path.scope.registerBinding("local", path.get("id"), path); } }, @@ -345,7 +345,7 @@ class Scope { return identifier(this.generateUid(name)); } generateUid(name = "temp") { - name = toIdentifier(name).replace(/^_+/, "").replace(/[0-9]+$/g, ""); + name = toIdentifier(name).replace(/^_+/, "").replace(/\d+$/g, ""); let uid; let i = 1; do { diff --git a/tools/eslint/node_modules/@babel/traverse/lib/scope/lib/renamer.js b/tools/eslint/node_modules/@babel/traverse/lib/scope/lib/renamer.js index e1119c123a5e28..952899f1dd525a 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/scope/lib/renamer.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/scope/lib/renamer.js @@ -5,8 +5,13 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; var t = require("@babel/types"); +var _t = t; var _traverseNode = require("../../traverse-node.js"); var _visitors = require("../../visitors.js"); +var _context = require("../../path/context.js"); +const { + getAssignmentIdentifiers +} = _t; const renameVisitor = { ReferencedIdentifier({ node @@ -19,7 +24,11 @@ const renameVisitor = { if (!path.scope.bindingIdentifierEquals(state.oldName, state.binding.identifier)) { path.skip(); if (path.isMethod()) { - path.requeueComputedKeyAndDecorators(); + if (!path.requeueComputedKeyAndDecorators) { + _context.requeueComputedKeyAndDecorators.call(path); + } else { + path.requeueComputedKeyAndDecorators(); + } } } }, @@ -40,7 +49,7 @@ const renameVisitor = { }, "AssignmentExpression|Declaration|VariableDeclarator"(path, state) { if (path.isVariableDeclaration()) return; - const ids = path.isAssignmentExpression() ? path.getAssignmentIdentifiers() : path.getOuterBindingIdentifiers(); + const ids = path.isAssignmentExpression() ? getAssignmentIdentifiers(path.node) : path.getOuterBindingIdentifiers(); for (const name in ids) { if (name === state.oldName) ids[name].name = state.newName; } @@ -94,9 +103,18 @@ class Renamer { } } const blockToTraverse = arguments[0] || scope.block; - (0, _traverseNode.traverseNode)(blockToTraverse, (0, _visitors.explode)(renameVisitor), scope, this, scope.path, { + const skipKeys = { discriminant: true - }); + }; + if (t.isMethod(blockToTraverse)) { + if (blockToTraverse.computed) { + skipKeys.key = true; + } + if (!t.isObjectMethod(blockToTraverse)) { + skipKeys.decorators = true; + } + } + (0, _traverseNode.traverseNode)(blockToTraverse, (0, _visitors.explode)(renameVisitor), scope, this, scope.path, skipKeys); if (!arguments[0]) { scope.removeOwnBinding(oldName); scope.bindings[newName] = binding; diff --git a/tools/eslint/node_modules/@babel/traverse/lib/visitors.js b/tools/eslint/node_modules/@babel/traverse/lib/visitors.js index 7ba7ef17f3d752..ee7058e0290a1b 100644 --- a/tools/eslint/node_modules/@babel/traverse/lib/visitors.js +++ b/tools/eslint/node_modules/@babel/traverse/lib/visitors.js @@ -11,6 +11,7 @@ exports.verify = verify$1; var virtualTypes = require("./path/lib/virtual-types.js"); var virtualTypesValidators = require("./path/lib/virtual-types-validator.js"); var _t = require("@babel/types"); +var _context = require("./path/context.js"); const { DEPRECATED_KEYS, DEPRECATED_ALIASES, @@ -103,7 +104,7 @@ function verify$1(visitor) { } if (shouldIgnoreKey(nodeType)) continue; if (!TYPES.includes(nodeType)) { - throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type`); + throw new Error(`You gave us a visitor for the node type ${nodeType} but it's not a valid type in @babel/traverse ${"7.25.6"}`); } const visitors = visitor[nodeType]; if (typeof visitors === "object") { @@ -127,7 +128,18 @@ function validateVisitorMethods(path, val) { } } function merge(visitors, states = [], wrapper) { - const mergedVisitor = {}; + const mergedVisitor = { + _verified: true, + _exploded: true + }; + { + Object.defineProperty(mergedVisitor, "_exploded", { + enumerable: false + }); + Object.defineProperty(mergedVisitor, "_verified", { + enumerable: false + }); + } for (let i = 0; i < visitors.length; i++) { const visitor = explode$1(visitors[i]); const state = states[i]; @@ -146,7 +158,6 @@ function merge(visitors, states = [], wrapper) { mergePair(nodeVisitor, typeVisitor); } } - ; return mergedVisitor; } function wrapWithStateOrWrapper(oldVisitor, state, wrapper) { @@ -223,13 +234,21 @@ const _environmentVisitor = { if (path.isArrowFunctionExpression()) return; path.skip(); if (path.isMethod()) { - path.requeueComputedKeyAndDecorators(); + if (!path.requeueComputedKeyAndDecorators) { + _context.requeueComputedKeyAndDecorators.call(path); + } else { + path.requeueComputedKeyAndDecorators(); + } } }, Property(path) { if (path.isObjectProperty()) return; path.skip(); - path.requeueComputedKeyAndDecorators(); + if (!path.requeueComputedKeyAndDecorators) { + _context.requeueComputedKeyAndDecorators.call(path); + } else { + path.requeueComputedKeyAndDecorators(); + } } }; function environmentVisitor(visitor) { diff --git a/tools/eslint/node_modules/@babel/traverse/package.json b/tools/eslint/node_modules/@babel/traverse/package.json index 96aae7df9b31ca..afc560da72200f 100644 --- a/tools/eslint/node_modules/@babel/traverse/package.json +++ b/tools/eslint/node_modules/@babel/traverse/package.json @@ -1,6 +1,6 @@ { "name": "@babel/traverse", - "version": "7.25.0", + "version": "7.25.6", "description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-traverse", @@ -17,15 +17,15 @@ "main": "./lib/index.js", "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.0", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", "@babel/template": "^7.25.0", - "@babel/types": "^7.25.0", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, "devDependencies": { - "@babel/core": "^7.24.9", + "@babel/core": "^7.25.2", "@babel/helper-plugin-test-runner": "^7.24.7" }, "engines": { diff --git a/tools/eslint/node_modules/@babel/traverse/tsconfig.tsbuildinfo b/tools/eslint/node_modules/@babel/traverse/tsconfig.tsbuildinfo new file mode 100644 index 00000000000000..aefef688aa37f0 --- /dev/null +++ b/tools/eslint/node_modules/@babel/traverse/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.string.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../dts/packages/babel-types/src/validators/react/isCompatTag.d.ts","../../dts/packages/babel-types/src/builders/react/buildChildren.d.ts","../../dts/packages/babel-types/src/asserts/assertNode.d.ts","../../dts/packages/babel-types/src/asserts/generated/index.d.ts","../../dts/packages/babel-types/src/builders/flow/createTypeAnnotationBasedOnTypeof.d.ts","../../dts/packages/babel-types/src/builders/flow/createFlowUnionType.d.ts","../../dts/packages/babel-types/src/builders/typescript/createTSUnionType.d.ts","../../dts/packages/babel-types/src/builders/generated/index.d.ts","../babel-types/src/builders/generated/uppercase.d.ts","../../dts/packages/babel-types/src/builders/productions.d.ts","../../dts/packages/babel-types/src/clone/cloneNode.d.ts","../../dts/packages/babel-types/src/clone/clone.d.ts","../../dts/packages/babel-types/src/clone/cloneDeep.d.ts","../../dts/packages/babel-types/src/clone/cloneDeepWithoutLoc.d.ts","../../dts/packages/babel-types/src/clone/cloneWithoutLoc.d.ts","../../dts/packages/babel-types/src/comments/addComment.d.ts","../../dts/packages/babel-types/src/comments/addComments.d.ts","../../dts/packages/babel-types/src/comments/inheritInnerComments.d.ts","../../dts/packages/babel-types/src/comments/inheritLeadingComments.d.ts","../../dts/packages/babel-types/src/comments/inheritsComments.d.ts","../../dts/packages/babel-types/src/comments/inheritTrailingComments.d.ts","../../dts/packages/babel-types/src/comments/removeComments.d.ts","../../dts/packages/babel-types/src/constants/generated/index.d.ts","../../dts/packages/babel-types/src/constants/index.d.ts","../../dts/packages/babel-types/src/converters/ensureBlock.d.ts","../../dts/packages/babel-types/src/converters/toBindingIdentifierName.d.ts","../../dts/packages/babel-types/src/converters/toBlock.d.ts","../../dts/packages/babel-types/src/converters/toComputedKey.d.ts","../../dts/packages/babel-types/src/converters/toExpression.d.ts","../../dts/packages/babel-types/src/converters/toIdentifier.d.ts","../../dts/packages/babel-types/src/converters/toKeyAlias.d.ts","../../dts/packages/babel-types/src/converters/toStatement.d.ts","../../dts/packages/babel-types/src/converters/valueToNode.d.ts","../../dts/packages/babel-types/src/definitions/utils.d.ts","../../dts/packages/babel-types/src/definitions/core.d.ts","../../dts/packages/babel-types/src/definitions/flow.d.ts","../../dts/packages/babel-types/src/definitions/jsx.d.ts","../../dts/packages/babel-types/src/definitions/misc.d.ts","../../dts/packages/babel-types/src/definitions/experimental.d.ts","../../dts/packages/babel-types/src/definitions/typescript.d.ts","../../dts/packages/babel-types/src/definitions/placeholders.d.ts","../../dts/packages/babel-types/src/definitions/deprecated-aliases.d.ts","../../dts/packages/babel-types/src/definitions/index.d.ts","../../dts/packages/babel-types/src/modifications/appendToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/inherits.d.ts","../../dts/packages/babel-types/src/modifications/prependToMemberExpression.d.ts","../../dts/packages/babel-types/src/modifications/removeProperties.d.ts","../../dts/packages/babel-types/src/modifications/removePropertiesDeep.d.ts","../../dts/packages/babel-types/src/modifications/flow/removeTypeDuplicates.d.ts","../../dts/packages/babel-types/src/retrievers/getAssignmentIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getOuterBindingIdentifiers.d.ts","../../dts/packages/babel-types/src/retrievers/getFunctionName.d.ts","../../dts/packages/babel-types/src/traverse/traverse.d.ts","../../dts/packages/babel-types/src/traverse/traverseFast.d.ts","../../dts/packages/babel-types/src/utils/shallowEqual.d.ts","../../dts/packages/babel-types/src/validators/is.d.ts","../../dts/packages/babel-types/src/validators/isBinding.d.ts","../../dts/packages/babel-types/src/validators/isBlockScoped.d.ts","../../dts/packages/babel-types/src/validators/isImmutable.d.ts","../../dts/packages/babel-types/src/validators/isLet.d.ts","../../dts/packages/babel-types/src/validators/isNode.d.ts","../../dts/packages/babel-types/src/validators/isNodesEquivalent.d.ts","../../dts/packages/babel-types/src/validators/isPlaceholderType.d.ts","../../dts/packages/babel-types/src/validators/isReferenced.d.ts","../../dts/packages/babel-types/src/validators/isScope.d.ts","../../dts/packages/babel-types/src/validators/isSpecifierDefault.d.ts","../../dts/packages/babel-types/src/validators/isType.d.ts","../../dts/packages/babel-types/src/validators/isValidES3Identifier.d.ts","../../dts/packages/babel-types/src/validators/isValidIdentifier.d.ts","../../dts/packages/babel-types/src/validators/isVar.d.ts","../../dts/packages/babel-types/src/validators/matchesPattern.d.ts","../../dts/packages/babel-types/src/validators/validate.d.ts","../../dts/packages/babel-types/src/validators/buildMatchMemberExpression.d.ts","../../dts/packages/babel-types/src/validators/generated/index.d.ts","../../dts/packages/babel-types/src/ast-types/generated/index.d.ts","../../dts/packages/babel-types/src/utils/deprecationWarning.d.ts","../../dts/packages/babel-types/src/index.d.ts","./src/scope/binding.ts","./src/path/lib/virtual-types.ts","./src/generated/visitor-types.d.ts","./src/types.ts","./src/context.ts","./src/traverse-node.ts","./src/path/lib/removal-hooks.ts","../../dts/packages/babel-code-frame/src/index.d.ts","./src/path/lib/hoister.ts","./src/path/modification.ts","../../dts/packages/babel-parser/src/util/location.d.ts","../../dts/packages/babel-parser/src/tokenizer/context.d.ts","../../dts/packages/babel-parser/src/tokenizer/types.d.ts","../../dts/packages/babel-parser/src/parse-error/standard-errors.d.ts","../../dts/packages/babel-parser/src/parse-error/pipeline-operator-errors.d.ts","../../dts/packages/babel-parser/src/parse-error.d.ts","../../dts/packages/babel-parser/src/tokenizer/state.d.ts","../../dts/packages/babel-parser/src/util/scopeflags.d.ts","../../dts/packages/babel-parser/src/util/scope.d.ts","../../dts/packages/babel-parser/src/util/expression-scope.d.ts","../../dts/packages/babel-parser/src/util/class-scope.d.ts","../../dts/packages/babel-parser/src/util/production-parameter.d.ts","../babel-parser/src/typings.d.ts","../../dts/packages/babel-parser/src/parser/base.d.ts","../../dts/packages/babel-parser/src/parser/util.d.ts","../../dts/packages/babel-parser/src/parser/node.d.ts","../../dts/packages/babel-parser/src/parser/comments.d.ts","../../dts/packages/babel-helper-string-parser/src/index.d.ts","../../dts/packages/babel-parser/src/tokenizer/index.d.ts","../../node_modules/@types/charcodes/index.d.ts","../../dts/packages/babel-parser/src/parser/lval.d.ts","../../dts/packages/babel-parser/src/parser/expression.d.ts","../../dts/packages/babel-parser/src/parser/statement.d.ts","../../dts/packages/babel-parser/src/plugins/placeholders.d.ts","../../dts/packages/babel-parser/src/types.d.ts","../../dts/packages/babel-parser/src/parser/index.d.ts","../../dts/packages/babel-parser/src/plugins/flow/scope.d.ts","../../dts/packages/babel-parser/src/plugins/jsx/index.d.ts","../../dts/packages/babel-parser/src/plugins/typescript/scope.d.ts","../../dts/packages/babel-parser/src/plugin-utils.d.ts","../../dts/packages/babel-parser/src/options.d.ts","../../dts/packages/babel-parser/src/index.d.ts","./src/path/replacement.ts","./src/path/removal.ts","./src/path/context.ts","./src/path/lib/virtual-types-validator.ts","./src/visitors.ts","./src/index.ts","./src/scope/lib/renamer.ts","../../node_modules/globals-BABEL_8_BREAKING-true/index.d.ts","./src/scope/index.ts","./src/hub.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/jsesc/index.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts","../../node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts","../../node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts","../../dts/packages/babel-generator/src/index.d.ts","./src/path/ancestry.ts","./src/path/inference/util.ts","./src/path/inference/inferer-reference.ts","./src/path/inference/inferers.ts","./src/path/inference/index.ts","./src/path/evaluation.ts","../../dts/packages/babel-template/src/options.d.ts","../../dts/packages/babel-template/src/formatters.d.ts","../../dts/packages/babel-template/src/builder.d.ts","../../dts/packages/babel-template/src/index.d.ts","./src/path/conversion.ts","./src/path/introspection.ts","./src/path/family.ts","./src/path/comments.ts","./src/path/generated/asserts.d.ts","./src/path/generated/validators.d.ts","../../scripts/babel-plugin-bit-decorator/types.d.ts","./src/path/index.ts","./src/cache.ts","../../lib/globals.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/convert-source-map/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-readdir-recursive/index.d.ts","../../node_modules/@types/gensync/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/jest-diff/node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lru-cache/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/v8flags/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"b360236d3b226a56126f9f071d68fccd10eba34e4b6831efc39e8a3277380523","a73bd08ca8f85d9c1f0307ae7abb246e38cb618f452e15fd3612464e846665b0","9b1b103c34f4c56ab0c40c87a85ffd36002295d8fbe17b493509e63a383f5814","e4a023723ff5cfdc22880b572dd15876d0bc4bb4f2a555d71d226a2578786ad3","3aa0ae0c3636319f9bc6e5c2a4bd484f9b2b4e78623b33131056a95fb59c954c","dc25e664429b44c379d4d3cf988b2cce06116ae94f5c6f1a0cf73245b4282a93","e59daf03ff2d76dee4726e48556aba1d105fd1c7a7a9cbf3e74ec4a1f91a6bea","250bb1ea2d799ecf488834fe20efa611063ab79b35639b7b3024f05e1b6641ee","a0fbfc839fefc3d41a12c5a8631e6543135ff18fd516cd06c5a09f84cb81578c","9ce376fdbe50ed84260f0dc45cc1f242916f2c0c91da6464df63df0ba2baae7c","c3e41c24eb14414b6995d4bbac99d16ce2e609282c9b53d1333b7b423e0f7d02","b555d22a622ea0565d08a340e5c19f6f439f40d4451a2f13fe6a33a39b3d761c","9f29212a64599c6c5563b78746bf85f709d5437f18dac77502a53af63dadb850","6b714d7db731bb6da813dfa3d88ded4ce0bc9b627464e86315468e1be9adadff","5ebd0c7b976b7cbe390e381d27ec9dc5adde1a02cf9ecfb2a7caed7a822a5cae","4171247c72f90ac86a3cd3cdb0f372214a556aa8b94aa92b28bf6d21dad5f7ee","b8b9aae5a37c0d3dec11813d992b893ed55a080289466ade6c1bc47e3987f53a","eb69d4cd5875c471c0dd30988bf8a4816f9b8fab1e71a8c39096e483411faa00","48225779dd7b1b7b384389e325ed6aa271a6745239d8193c2fc161cacbf3dac5","c6fd0f9d777f11f972b4decc52beeeae6aad9f2aa949184e8f9984a5c36e4448","3f4487628af3e52556d6f33151740876b29a5355b8a5ccf8e56d1b3ae7cbcc0e","2b4ca439136421892cc80ebf6f6ea641a0306e58bd12ed61ae7f20becb2ee15f","d765a1a0f109522a082c9b8de1f6c0364463e972ece981b0f504fa611187956a","ce8fe0d07c32e6786203b5a3b93468afc6b1fcf57481dc9673e16fb119312c19","dfa94dabc1567d2b882222947f5c181adc89a3af5b6a2b730b1c3b85d4cfe48f","c33fa94c2e88d70a2e98a33474d3cf477d959477236323a748f638b3ca1e2af0","058e39e6fe02e97ddc18b2952a67d0dfb71f1f60f86405480fec569b602f5284","8c5dbef5fc0eb113d94132a5ba440d75e33eb85e9497a1f7e3bdb29a3fcd3469","0d9808e1f0d2bd4c45462c7e2f20c0cf08b700c6964e7eda5e10d1f6b707deb8","9f3f8ff5d06c5d5583e891d3bb98489d58e358e49bda2827f3f7819cdb632ad0","6978b8fc2f45108c4bc2788bd7053f2917d7efa28f74ddf52182dc9ab59d03cf","e127a8fb319d5978d73d966a5a68b85915848f8f96267fff2f0dbe9bc92373e9","77adbafe67e2bf42d578d82d2fb994530cce5b9eaa28a2a5b24aca70a008c3d9","2041804d5582855acf4cdb0d641cd83a26952d5955f0f1806c9b7e9ae90ac3dc","7d2a0764991446f121b01e690edcb502ce40fd02145613d1d349d9e46be3782a","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","513e4a7dd68f60782a39d5ae4ce6f0a19ccc4c51808b359560ad1f689f0ce93d","519157309e4f7c98b6067933db2a849961eaa0e5dec4a2ce5d2fc92ace85dcfd","c5f8672c8c39b8f9251a57fc2dab217ce20ac4a9d71c0a498b733cb922ff5e4e","82590ca2dfa968af29be579c534733406fd9c5c4a726213eef9f2308cbb04d23","e88043fb3ae0a6e33be31d45927494ed42c3263bfb318b024b9dab027f09dc2d","3f7e6d7b1d7155d68b5ec0f8e021f10075c785b29171d1d520d0b9b0dd617aa0","7571f6e856945cea6771a2985e008daff8785c6632f9dc1dc9f24f795f84444d","2ff5e66c8448d86302ef11ceeb27cbbd43d3af41aba05c2fc3a48cd0f1d8627f","a73d8151dd40ff705eebd2989e703ba14874574f5fe4f195babe74b6ef93ac59","e872f192c494d687561196b8ce88a06d80b2128b0c28b3bd919a7d663c22cc18","1a910bff4e17d0f855bd00ef0dadc3ad8e7656499c099d19603f8bb0dbe8853e","23996dceac72973064c9643fff1ca0cf585b642d715c56ed3512703f2b280c5e","14cba8dd2c615df75bef2f670ec26fbe86157eb03a55ba5dfbe8ad46253c3b5e","95a1a8e1e7777214b2d970c3426819e976abf9120f2824b571e0ae51d1dd465b","3b6aafb284a9943503546844726c7ecea9ae91fc46f1d8e8cbe233f6d8b16a30","e1bb914c06cc75205fae8713e349dff14bdfd2d36c784d0d2f2b7b5d37e035e0","a5e89e63c809c01f8e8175c9d63da68ce734ddf15b7efd98b1eb262d8e4d05ec","466c63574f0654a81f7d760ccb32570f642b6b46e83b6fdc288c2e52bcef287c","c6526b7ad3213f40e40d617f0a150c8a9dcf0e8f868594ef4aa060b994fd11ce","b5e0565b7ca3ba4c129ed4e1788d4dc1bb30dcdeb14a37df1071c3881507e295","08cdf95dfc59101c1e7c23865951151455ee7f77f1bf7e257034aae8ba332972","4924f889957ee69dfd66643c7e60a5feee526c18b16d10985804c669fe1b6ce4","2c95044092cad1398b593b47290306d73513d163c61e85ebbc39715af4b15578","66612e3b3315adf8702a39830ad8690d6f4293f89193737c604f4b44a51e42ad","1d3f6521348f5d591d4da3408457a553274b024c79ecde88054361040967c211","03a629914760ae9bb64a05e72ad0f4e6aeefb1e7c7b6ae3d7836bb46f69ae23e","95017b0f25bb3cd6782853c14303c20b5099b866ef1491c57fc436add8183f14","989f035cd0c3acf51639b2ff4fb3cb8ccce3d7ef0103a1d32ca5e5f1cfd19387","9dfbdb5529d2be1c9e77112f7e0e20fba7518865f31501b9aa09c3965ee91f6a","9ba02d6560cc8cf8063172ba05b5368a24fb236a97c1c852665372be78143592","cafadd60cda0c63471975430893f7c0ac981f268ec719f08f131e41d8404c4db","6a7a221f94f9547a86feaa3c2ce81b8556c71ffb12057a43c54fc975bca83cde","156d025e006f7df4df1bcf7ce53cd3e3780a0190dfb03c65288f07b372e79843","e34a316302189537858d6d20d5d77d8f0351ed977da8947a401ad9986cdf147f","243665975c1af5dc7b51b10f52e76d3cb8b7676ccc23a6503977526d94b3cdde","3a91334c3409e173cafb3af175d8a4a3ae835851df7015c8f0fc5c117ad46c80","bfe8f5184c00e9c24f8bb40ec929097b2cafc50cc968bc1604501cb6c4a1440c","7b488581d44b9a7bde2131536376fa946cbb3a1b0096427738d5b946a76ca794",{"version":"afbd2ea68fd116593555b8b1fc0285b41850a89bd9a9bdd745ad5112d0d81525","signature":"1079472c5e1f65ce739fb777054e2f539e9b50a97b438c0d6e56c4ee23be8bff"},{"version":"f8fa15710b26507fe7a17ee1dac9e831dd99b42694607338938f213ec9431e25","signature":"f31ab9295985d01c5837c9bdc422643f6f73293cfd103738774b7cfb340566cc"},"99392e1e600259c50f21f691f136a4ecbee42839dbb9523384f09645c8756503",{"version":"816b5e57cf6e493b499767f2b2272d939f1fe7e30256fac7ddacfbcd3de9cd10","signature":"5c5d100793c0fb9b34076189904df18f3321e82cadf6f69815926104029c215b"},{"version":"fdceca1770f2fcf2e7f42084a059a93b42958ccb737ea8d85a64c1a7b2cdbeff","signature":"4f9a4bb30bc97017c72a600c0161962d8f74488d1cd93669e4adbce7e611e0de"},{"version":"d0ab323d291d5643e25726d0f1ea22f9903d74081bede5f50ca65f3b49eeec62","signature":"6f5e1adbd8ecb5ca09948ea08ddb357362a459ad3c1e3b682695559058c067d4"},{"version":"835ca304ae6473d6dc6702532d9df515b920c613a0f1384a04b7dde28dfa2f34","signature":"37aca357a14fab8a174e0f2cffcc155721f9c9e0f1abaeff0e21972597a2a676"},"0879634ab66ba30092b8a65128cb6ce93af668c9994895d5be68f10621fd453d",{"version":"c76a12f9fad3dfd801bf0bd892b68a0cf66787fd05940d1989ee0cc0cfbc59a7","signature":"a9347f177e175bde3461b0d847b84183e6b3dfb5acc93e2d818641ca59be4dc5"},{"version":"7bd5f09184670346f7f01e03626bd46720ff8df1bba18cd35cc069a8344f2ce5","signature":"ad4f0fb9751f85bf9cc29185d4c7dfb0a692386fd5670815efad14f828b015a8"},"b10974251ad16a97b357ec50f87455c4430e7f0790f7b399564c900e4ebf87f1","234123959236555e336e4efcd7aa203ac1d5370ee5d891dcfc5828d996b28f59","b59756cf12284e6136e042f322af2e22664e1fd46f713b1dd3abb1740719b732","62b65c635a282ea4855cd6a9b968527cbab364c38410ea432f63c5c591db9072","d31fbe2a651edb67d3950722299b098528292b517f6947d2d81ab913a41a2566","569de4401936201287d466c310a32432c2eef9c42524f5e31379e743dda71bf2","2cf4af5b2e64cfc639866ecc565edfe8da7dd3bd06c5ec93e491431d8b2cbb52","6131967512c4d205c32f126ef7415453f0c715bf53c7175d6deecb72d76a75b5","4e38f7bd172e7549c323610cfede12644c116581dfc4d751998d301eda9573e6","0d1adbde28307411dae5e1cc8cc316130653bfc6ad8feb4b59063f60efdfd693","d8288a8eb14187b0df133ce467216d61d9ffe838ae5930471f476a5c36141828","70ae92a852a67db5b841a7ee3e9d16df7c06320ab86dbf2d5dbd9d76f3c98faa","d8b49d5f3ea9c320fa3623c746bf0643fd19520265bc53749f1a4e532ebe92b3","ead85b2d6cd6e6deb144a0995896c0ca7423820c66cc00e416e66733d2932985","5893d8b87ce06846556d2460e2eaf2aa8388f2179ed151d302ab7d711a75c7e4","6b4d9c91ed03e7afd40fa045042fcb7a6250b8dbe242154f3c4b948a99c74a9d","8b37c18f85644a1c666705bb5c233850cac84d8863c19870a8ed5f8d69c68800","186139eb9963554412f6fb33b35aabee1acdaa644b365de5c38fbd9123bdbe45","429e18739687877b761b4b6574a45a9e51111a6a71cd63711440cb0f9c602e87","b7589677bd27b038f8aae8afeb030e554f1d5ff29dc4f45854e2cb7e5095d59a","2141d76dd4ef56c5aae88b7d93a8df9fc7d9a779a2441825a8e3e2d0a025f761","31cd8b7c7ff990e5213c4f291f6a92e26eea3bed21a1147eecd32e0b789b37de","431fa08179e6ec652924f1f0788e213db388b0dbebdbfd392477772c5f199573","092ebda2bb8a86fbf91c87f05de87a433eedeea8cb0be462984ef6fab1148c41","4d4e7dba6eac3fa53fd158af2290a29ba3bbdd07537b630d6d4960d11af99aaa","bf37ea47ebbf5d66dd7a26f59c08524608a3bd36b8736c5c4e3b22619d722695","e4aa4e8d3eb4c67b64962344ef3388a8cd607821ba619c9379b36316db65c9ac","ae795ae07c9049d4ef2ea798e539c883a774b63be306794f256e11a9b228ebe6","635ca94290fa45a56e53ffadd3b897a42650fd4ab0ddc241392e4dc729bf496b","ca02b010759d1cf92100866c89b66cb211630a4a6de9d4381449a6fabf2cbaa5","02519cdd247317de0bfdc78d88b5497d9747e1b9d1297283a0fea8ab3787f6ab","53989e09bc0b6b46a3c4597e5147a9b989f1f66f33ce7375b92d28139977e748",{"version":"479cf7334c08ba656f97421413c78fbb6b956ec74bb34eec56b9b888266cebb7","signature":"63612545667f1b69fade90ce43da7802e6affc4a0620a88d0a1d5a714d9e1e9f"},{"version":"cfd521908fd5611b189436f627f2d33ab0840f48907270577fbc1200273deaaa","signature":"00222577eecd6c1fc72150006351fc6e1b5bb3aaf78097e40ecac8b8343a7598"},{"version":"83b9da1326ba4c0a5f988bb9ef594cbc7d41d5e88067e87a6698bfa20c3f20a4","signature":"850452a01075d928b6b880a0c378c302daed87eb2ba58c833778c25b18b58456"},{"version":"3e6e265e5c100e90cc2186128dd32a3eaeaf0f1b83367b36f78243f08693c942","signature":"dfedb6704555de21c30e98a8decf8a6d31dde1d8403b9b95944a1d317379c7ae"},{"version":"35d8f584c4f4426ab4d029a139b6acfdef671e0f89b52f2fa7846a52f257e355","signature":"dc298a2f1e69c0786df2f1e29294742862da898b213be334c36682098afea397"},{"version":"74c440138813209e2fd78ea82bec0d93b32e40218814a2c3893b3811c5bf9188","signature":"8e04fc4a0a97bd29f22ca6a024ad8f7c74af5ad683f07701a40153267399cb6a"},{"version":"9d8b40c79f6c12802a520b3a0b2766973f866dc90f9177127d1a1e0bce6aaadc","signature":"d9ea1d16fdd5778b962ead323e028a70358574d18c8d80695a8c2d94e1b29401"},"cb504a30031fdce22715588e69004fe17747d0c145af0f24434936a407f0f546",{"version":"5bb54334a7ffead65ef290081d5ab1253e24b8ca72ac6f664a14d9b87fb946f3","signature":"55a399c33069c3f8d15e07985f30a10c80b318bc41b3803fe9cc83cfcdbb03d5"},{"version":"e663c71ede6c0ad637e91b25269c014fc6f86d276b63da4215b6d2998ea87284","signature":"c67208e9da4af7a50bfb75d07691326052d6ed8f3b577ece8b02cd425c9d632f"},"3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9","84a805c22a49922085dc337ca71ac0b85aad6d4dba6b01cee5bd5776ff54df39","971f12a5fc236419ced0b7b9f23a53c1758233713f565635bbf4b85e2b23f55a","9d670bb3be18ea59cea824e3bb07d576b55c9542f5bc24aacc2a3c1ebd889de6","695b586df2d8c78b78cdd7cc6943594f3f4bc52948f13b31cdedfa3ce8d97c31","0771a93ef5e3b2a29f929c20f7ad232829341a671c9d1e96e93ef3fc42ef7bc2","cadb68b67b80b14a9a5bb64cce3093168fb2bfe2c7b10096d230df5203218de1","0b3c75be13f930b46117e205d900ee9c4f2ad6c7317655bca5364958ba1e34f0","5af161220fdf46730477706e8c431ccbd1b4ff50223cb32450bc20513f50bfbd","be797449825edee1716d3e0c8d7ae53955b8944437cb4d0b4123a32778621228",{"version":"b00061cd6daf1b9c8da6306f2dbb36d516e9cdaca048b0aa4f934eb4a794917c","signature":"8dec4b9028cc8905caa6b52a395786d7f49a10d61f6be869b59ae007dc5e0cdf"},{"version":"33d3b5f1ca2007f0cf4724a8dfe7fee1916ecccca64986a7f7b961c7fdc39fbf","signature":"e43763a155cb34a76ce267f5191c47481fe45e8e6780446086d4af429204a6d7"},{"version":"248fd2e94a9abba6f0a7e8457d10aefa3ebb2d6f758d48fc5d65c1ffea85db35","signature":"dea3318275e8028e114e4a929ce48a338596d4024877d18888e1fc279fa3ffa0"},{"version":"f871672cb541e369a0affab5b66bc6cf3238509a025e0866f45e4ecd736cb250","signature":"c78898140fe8e75fd9a40e9fba228c6792e1bfadb1980ba3e4d8d465ee44c147"},{"version":"e44c7ddd77cedfee8e181db7309c9d9f240ee85ba437bf5eaacad389033338d5","signature":"f952c9c19048db8b25e3fa8e48e2213c18d3fdbef6ac168e9fae6632ed58245f"},{"version":"16e8c882b00d9c01c42ed6814b975b7b490ea61571049901a99677fb3916971b","signature":"866c1b69a53d80383cb5eef0ce2760ad8d028c771fa45776426a583c56a23746"},"269ee735294e8c328681830ae7fdf4aea6c24032f0541d76c914aac9afadda5c","23a790e87430f6bcf8dfbc4d3560e8b3d7441f9cfbe509bcf932b4608c60c9e3","7a8b858660503a4af876541f456b2cbc3d89b164ab842c7434ac0fb87ec0e026","024653e8296d821c2332e1e8fe13eb86f4d50f0be82478c958890e92d1f2ca0e",{"version":"ad2a23cf813c4a01695c51ba804936d29dc38ca4fb3930f52fc706d38f889bcd","signature":"c51dc97847938ca3786408a68750dc9487f162ce90d2164a4cc1a9c88ae93eca"},{"version":"58ef988692b03cf4692fb192986f8e30d03e3957cfd04e4c999d5763e2898981","signature":"21e59c9d2b6105929ba1a83b14e54a338fb4553ccb011b0cad62a749e30a440a"},{"version":"a72d56c473a099b2151cb573210204f07203da86031fbe00ed3b4bd093f3a135","signature":"50f3da2fe7cdc461c6fcb1b38e8762847cc3d62146b1c1dbd62552c46d2b9187"},{"version":"30ccad241aceeca940e9ac504b55613d533d0f47655c2a74b83677b7ed895214","signature":"e675dc45ca604b7a6fea16448050b34cf0fe86c2f9fa50f3911fb4153b42c186"},"d3e56e0f84e1d1843369533f50918cce5925129e99e9ca14c7cc35ad94b2a052","7102463bc898ac4cfd90675e679cdd8e1a1b6f44702b280f9c99b93f206ae570","6263e78a0998878d3007c407b5ba9d548a369b2dd1da8399114cb0320baa6078",{"version":"781b2d8341bb16415094e6fb783dc28adae414cee5ea4e2845a1dc13e6454d1d","signature":"68bb7c7f1ece77aa8875dea013d984dd04def47da4790ad376b7482009bd91e1"},{"version":"f48bc40fd4214e7ccceee1c29bd2f2e547e1fddb63551c36870df7f0196d4e20","signature":"57e73f1c6da39bcf9429f52c39b6fc34eef11547fbb5a2be91836517ec746957"},{"version":"f0b6690984c3a44b15740ac24bfb63853617731c0f40c87a956ce537c4b50969","affectsGlobalScope":true},"f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","0c5a621a8cf10464c2020f05c99a86d8ac6875d9e17038cb8522cc2f604d539f","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","1d78c35b7e8ce86a188e3e5528cc5d1edfc85187a85177458d26e17c8b48105f","bde8c75c442f701f7c428265ecad3da98023b6152db9ca49552304fd19fdba38","acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","6d969939c4a63f70f2aa49e88da6f64b655c8e6799612807bef41ccff6ea0da9","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e",{"version":"46894b2a21a60f8449ca6b2b7223b7179bba846a61b1434bed77b34b2902c306","affectsGlobalScope":true},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","9ad8802fd8850d22277c08f5653e69e551a2e003a376ce0afb3fe28474b51d65","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"root":[[150,156],158,159,[192,198],200,201,[212,217],[222,227],[229,231]],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationDir":"../../dts","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":200,"noImplicitAny":true,"noImplicitThis":true,"rootDir":"../..","skipLibCheck":true,"strictBindCallApply":true,"target":99},"fileIdsList":[[149,203,210],[162,172,184,190],[189],[160,163,164,165],[166,168,169,170,171,172,184,185,190],[173,175,184],[160,162,165,174,175,180,184,185,190],[168,182,184,190],[160,162,165,167,174,175,179,184,185],[160,174,184],[160,162,167,175,181,184,185,190],[160,162,165,166,168,178,184,185],[160,161,162,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,182,183,184,185,186,187,188,190],[160,167,168,184],[160,161,162,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,182,184,185,190],[160,161,162,165,166,172,175,176,177,184,190],[160,161,162,165,176,190],[161],[160,165,178,183,190],[160,167,178],[160,165,178,184],[160,167,178,184],[218,219],[149],[149,218,220],[191],[105],[105,106,107,108,109,110,111,112,113],[72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[114,149],[336],[207,209],[208],[205,207],[204,205,206],[204,207],[235,237],[234,235,236],[290,291,328,329],[331],[332],[338,341],[277,328,334,340],[335,339],[337],[241],[277],[278,283,312],[279,290,291,298,309,320],[279,280,290,298],[281,321],[282,283,291,299],[283,309,317],[284,286,290,298],[277,285],[286,287],[290],[288,290],[277,290],[290,291,292,309,320],[290,291,292,305,309,312],[275,278,325],[286,290,293,298,309,320],[290,291,293,294,298,309,317,320],[293,295,309,317,320],[241,242,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327],[290,296],[297,320,325],[286,290,298,309],[299],[300],[277,301],[302,319,325],[303],[304],[290,305,306],[305,307,321,323],[278,290,309,310,311,312],[278,309,311],[309,310],[312],[313],[277,309],[290,315,316],[315,316],[283,298,309,317],[318],[298,319],[278,293,304,320],[283,321],[309,322],[297,323],[324],[278,283,290,292,301,309,320,323,325],[309,326],[347,386],[347,371,386],[386],[347],[347,372,386],[347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385],[372,386],[389],[338],[252,256,320],[252,309,320],[247],[249,252,317,320],[298,317],[328],[247,328],[249,252,298,320],[244,245,248,251,278,290,309,320],[244,250],[248,252,278,312,320,328],[278,328],[268,278,328],[246,247,328],[252],[246,247,248,249,250,251,252,253,254,256,257,258,259,260,261,262,263,264,265,266,267,269,270,271,272,273,274],[252,259,260],[250,252,260,261],[251],[244,247,252],[252,256,260,261],[256],[250,252,255,320],[244,249,250,252,256,259],[278,309],[247,252,268,278,325,328],[149,200,201,229],[149,153,194,197,200,229],[149,153],[149,200],[149,153,155,194,196,200,201,229,230],[149,229],[149,153,154,155,193,229],[149,153,194,196,221,229],[149,154,229],[149,195,229],[149,151,153,154,159,192,193,194,195,197,200,201,202,211,212,216,217,222,223,224,225,226,227,228,230],[149,215,229],[149,150,213,229],[149,213,214,229],[149,150,153,200,229],[149,151,229],[149,158,193,194,200,229,230],[149,156,159,192,194,229,230],[149,157,159,191,194,197,229,230],[149,200,229],[149,150,153,196,197,198,199,229,230],[149,150,155,194,196,197],[149,154,197,200,229],[149,151,152,197],[149,151,153,194,195,197]],"referencedMap":[[211,1],[191,2],[190,3],[165,4],[173,5],[176,6],[181,7],[185,8],[180,9],[175,10],[182,11],[174,12],[189,13],[186,14],[187,15],[183,15],[188,14],[178,16],[166,17],[162,18],[184,19],[170,20],[169,21],[168,22],[220,23],[219,24],[221,25],[218,26],[74,24],[75,24],[77,24],[76,24],[79,24],[81,24],[73,24],[78,24],[83,24],[84,24],[85,24],[82,24],[86,24],[87,24],[88,24],[89,24],[90,24],[92,24],[91,24],[93,24],[94,24],[96,24],[98,24],[99,24],[100,24],[102,24],[103,24],[104,24],[106,27],[114,28],[105,24],[149,29],[115,24],[120,24],[116,24],[117,24],[118,24],[119,24],[121,24],[122,24],[124,24],[123,24],[125,24],[126,24],[145,24],[146,24],[128,24],[129,24],[130,24],[131,24],[132,24],[133,24],[134,24],[136,24],[137,24],[138,24],[139,24],[142,24],[143,24],[144,30],[337,31],[210,32],[209,33],[206,34],[207,35],[205,36],[238,37],[237,38],[330,39],[332,40],[333,41],[343,42],[341,43],[340,44],[342,45],[241,46],[242,46],[277,47],[278,48],[279,49],[280,50],[281,51],[282,52],[283,53],[284,54],[285,55],[286,56],[287,56],[289,57],[288,58],[290,59],[291,60],[292,61],[276,62],[293,63],[294,64],[295,65],[328,66],[296,67],[297,68],[298,69],[299,70],[300,71],[301,72],[302,73],[303,74],[304,75],[305,76],[306,76],[307,77],[309,78],[311,79],[310,80],[312,81],[313,82],[314,83],[315,84],[316,85],[317,86],[318,87],[319,88],[320,89],[321,90],[322,91],[323,92],[324,93],[325,94],[326,95],[371,96],[372,97],[347,98],[350,98],[369,96],[370,96],[360,96],[359,99],[357,96],[352,96],[365,96],[363,96],[367,96],[351,96],[364,96],[368,96],[353,96],[354,96],[366,96],[348,96],[355,96],[356,96],[358,96],[362,96],[373,100],[361,96],[349,96],[386,101],[380,100],[382,102],[381,100],[374,100],[375,100],[377,100],[379,100],[383,102],[384,102],[376,102],[378,102],[390,103],[339,104],[338,45],[259,105],[266,106],[258,105],[273,107],[250,108],[249,109],[272,110],[267,111],[270,112],[252,113],[251,114],[247,115],[246,116],[269,117],[248,118],[253,119],[257,119],[275,120],[274,119],[261,121],[262,122],[264,123],[260,124],[263,125],[268,110],[255,126],[256,127],[265,128],[245,129],[271,130],[230,131],[154,132],[152,133],[201,134],[197,135],[212,136],[225,136],[194,137],[222,138],[217,136],[224,139],[226,136],[227,140],[229,141],[216,142],[214,143],[215,144],[213,24],[223,136],[158,145],[156,136],[195,146],[151,24],[159,147],[193,148],[192,149],[150,150],[200,151],[198,152],[155,153],[153,154],[196,155]],"latestChangedDtsFile":"../../dts/packages/babel-traverse/src/cache.d.ts"},"version":"5.5.3"} \ No newline at end of file diff --git a/tools/eslint/node_modules/@babel/types/lib/converters/valueToNode.js b/tools/eslint/node_modules/@babel/types/lib/converters/valueToNode.js index 74806a00b80b5d..b5c3c4843bd577 100644 --- a/tools/eslint/node_modules/@babel/types/lib/converters/valueToNode.js +++ b/tools/eslint/node_modules/@babel/types/lib/converters/valueToNode.js @@ -51,7 +51,7 @@ function valueToNode(value) { } if (isRegExp(value)) { const pattern = value.source; - const flags = /\/([a-z]+|)$/.exec(value.toString())[1]; + const flags = /\/([a-z]*)$/.exec(value.toString())[1]; return (0, _index.regExpLiteral)(pattern, flags); } if (Array.isArray(value)) { diff --git a/tools/eslint/node_modules/@babel/types/lib/definitions/core.js b/tools/eslint/node_modules/@babel/types/lib/definitions/core.js index ccc250811f88ab..fc9f0d5a4589dc 100644 --- a/tools/eslint/node_modules/@babel/types/lib/definitions/core.js +++ b/tools/eslint/node_modules/@babel/types/lib/definitions/core.js @@ -190,7 +190,8 @@ defineType("DebuggerStatement", { aliases: ["Statement"] }); defineType("DoWhileStatement", { - visitor: ["test", "body"], + builder: ["test", "body"], + visitor: ["body", "test"], fields: { test: { validate: (0, _utils.assertNodeType)("Expression") @@ -308,7 +309,7 @@ const functionDeclarationCommon = () => Object.assign({}, functionCommon(), { exports.functionDeclarationCommon = functionDeclarationCommon; defineType("FunctionDeclaration", { builder: ["id", "params", "body", "generator", "async"], - visitor: ["id", "params", "body", "returnType", "typeParameters"], + visitor: ["id", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, functionDeclarationCommon(), functionTypeAnnotationCommon(), { body: { validate: (0, _utils.assertNodeType)("BlockStatement") @@ -578,6 +579,7 @@ defineType("ObjectExpression", { }); defineType("ObjectMethod", { builder: ["kind", "key", "params", "body", "computed", "generator", "async"], + visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), { kind: Object.assign({ validate: (0, _utils.assertOneOf)("method", "get", "set") @@ -607,7 +609,6 @@ defineType("ObjectMethod", { validate: (0, _utils.assertNodeType)("BlockStatement") } }), - visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], aliases: ["UserWhitespacable", "Function", "Scopable", "BlockParent", "FunctionParent", "Method", "ObjectMember"] }); defineType("ObjectProperty", { @@ -910,7 +911,7 @@ defineType("ArrayPattern", { }); defineType("ArrowFunctionExpression", { builder: ["params", "body", "async"], - visitor: ["params", "body", "returnType", "typeParameters"], + visitor: ["typeParameters", "params", "returnType", "body"], aliases: ["Scopable", "Function", "BlockParent", "FunctionParent", "Expression", "Pureish"], fields: Object.assign({}, functionCommon(), functionTypeAnnotationCommon(), { expression: { @@ -935,7 +936,7 @@ defineType("ClassBody", { }); defineType("ClassExpression", { builder: ["id", "superClass", "body", "decorators"], - visitor: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators"], + visitor: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body"], aliases: ["Scopable", "Class", "Expression"], fields: { id: { @@ -1202,7 +1203,8 @@ defineType("ImportNamespaceSpecifier", { } }); defineType("ImportSpecifier", { - visitor: ["local", "imported"], + visitor: ["imported", "local"], + builder: ["local", "imported"], aliases: ["ModuleSpecifier"], fields: { local: { @@ -1322,7 +1324,7 @@ exports.classMethodOrDeclareMethodCommon = classMethodOrDeclareMethodCommon; defineType("ClassMethod", { aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method"], builder: ["kind", "key", "params", "body", "computed", "static", "generator", "async"], - visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], + visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), { body: { validate: (0, _utils.assertNodeType)("BlockStatement") @@ -1353,7 +1355,7 @@ defineType("Super", { aliases: ["Expression"] }); defineType("TaggedTemplateExpression", { - visitor: ["tag", "quasi", "typeParameters"], + visitor: ["tag", "typeParameters", "quasi"], builder: ["tag", "quasi"], aliases: ["Expression"], fields: { @@ -1533,7 +1535,7 @@ defineType("OptionalCallExpression", { } }); defineType("ClassProperty", { - visitor: ["key", "value", "typeAnnotation", "decorators"], + visitor: ["decorators", "key", "typeAnnotation", "value"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property"], fields: Object.assign({}, classMethodOrPropertyCommon(), { @@ -1568,7 +1570,7 @@ defineType("ClassProperty", { }) }); defineType("ClassAccessorProperty", { - visitor: ["key", "value", "typeAnnotation", "decorators"], + visitor: ["decorators", "key", "typeAnnotation", "value"], builder: ["key", "value", "typeAnnotation", "decorators", "computed", "static"], aliases: ["Property", "Accessor"], fields: Object.assign({}, classMethodOrPropertyCommon(), { @@ -1613,7 +1615,7 @@ defineType("ClassAccessorProperty", { }) }); defineType("ClassPrivateProperty", { - visitor: ["key", "value", "decorators", "typeAnnotation"], + visitor: ["decorators", "key", "typeAnnotation", "value"], builder: ["key", "value", "decorators", "static"], aliases: ["Property", "Private"], fields: { @@ -1652,7 +1654,7 @@ defineType("ClassPrivateProperty", { }); defineType("ClassPrivateMethod", { builder: ["kind", "key", "params", "body", "static"], - visitor: ["key", "params", "body", "decorators", "returnType", "typeParameters"], + visitor: ["decorators", "key", "typeParameters", "params", "returnType", "body"], aliases: ["Function", "Scopable", "BlockParent", "FunctionParent", "Method", "Private"], fields: Object.assign({}, classMethodOrDeclareMethodCommon(), functionTypeAnnotationCommon(), { kind: { diff --git a/tools/eslint/node_modules/@babel/types/lib/definitions/flow.js b/tools/eslint/node_modules/@babel/types/lib/definitions/flow.js index 64ccefbc4b9853..9714426543f7a8 100644 --- a/tools/eslint/node_modules/@babel/types/lib/definitions/flow.js +++ b/tools/eslint/node_modules/@babel/types/lib/definitions/flow.js @@ -256,7 +256,8 @@ defineType("ObjectTypeCallProperty", { } }); defineType("ObjectTypeIndexer", { - visitor: ["id", "key", "value", "variance"], + visitor: ["variance", "id", "key", "value"], + builder: ["id", "key", "value", "variance"], aliases: ["UserWhitespacable"], fields: { id: (0, _utils.validateOptionalType)("Identifier"), @@ -298,7 +299,8 @@ defineType("OpaqueType", { } }); defineType("QualifiedTypeIdentifier", { - visitor: ["id", "qualification"], + visitor: ["qualification", "id"], + builder: ["id", "qualification"], fields: { id: (0, _utils.validateType)("Identifier"), qualification: (0, _utils.validateType)(["Identifier", "QualifiedTypeIdentifier"]) diff --git a/tools/eslint/node_modules/@babel/types/lib/definitions/typescript.js b/tools/eslint/node_modules/@babel/types/lib/definitions/typescript.js index 901a9c4cbd9dd7..52fbd406df2898 100644 --- a/tools/eslint/node_modules/@babel/types/lib/definitions/typescript.js +++ b/tools/eslint/node_modules/@babel/types/lib/definitions/typescript.js @@ -255,14 +255,16 @@ defineType("TSIndexedAccessType", { }); defineType("TSMappedType", { aliases: ["TSType"], - visitor: ["typeParameter", "typeAnnotation", "nameType"], - fields: { + visitor: ["typeParameter", "nameType", "typeAnnotation"], + builder: ["typeParameter", "typeAnnotation", "nameType"], + fields: Object.assign({}, { + typeParameter: (0, _utils.validateType)("TSTypeParameter") + }, { readonly: (0, _utils.validateOptional)((0, _utils.assertOneOf)(true, false, "+", "-")), - typeParameter: (0, _utils.validateType)("TSTypeParameter"), optional: (0, _utils.validateOptional)((0, _utils.assertOneOf)(true, false, "+", "-")), typeAnnotation: (0, _utils.validateOptionalType)("TSType"), nameType: (0, _utils.validateOptionalType)("TSType") - } + }) }); defineType("TSLiteralType", { aliases: ["TSType", "TSBaseType"], diff --git a/tools/eslint/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js b/tools/eslint/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js index 0250a5bee271c5..276f2dd982a55c 100644 --- a/tools/eslint/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +++ b/tools/eslint/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js @@ -22,10 +22,10 @@ function cleanJSXElementLiteralChild(child, args) { const isLastNonEmptyLine = i === lastNonEmptyLine; let trimmedLine = line.replace(/\t/g, " "); if (!isFirstLine) { - trimmedLine = trimmedLine.replace(/^[ ]+/, ""); + trimmedLine = trimmedLine.replace(/^ +/, ""); } if (!isLastLine) { - trimmedLine = trimmedLine.replace(/[ ]+$/, ""); + trimmedLine = trimmedLine.replace(/ +$/, ""); } if (trimmedLine) { if (!isLastNonEmptyLine) { diff --git a/tools/eslint/node_modules/@babel/types/package.json b/tools/eslint/node_modules/@babel/types/package.json index d8b57e2a8a50ad..3127f2ad74897a 100644 --- a/tools/eslint/node_modules/@babel/types/package.json +++ b/tools/eslint/node_modules/@babel/types/package.json @@ -1,6 +1,6 @@ { "name": "@babel/types", - "version": "7.25.0", + "version": "7.25.6", "description": "Babel Types is a Lodash-esque utility library for AST nodes", "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-types", @@ -29,8 +29,8 @@ "to-fast-properties": "^2.0.0" }, "devDependencies": { - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.0", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", "glob": "^7.2.0" }, "engines": { diff --git a/tools/eslint/node_modules/@babel/types/tsconfig.tsbuildinfo b/tools/eslint/node_modules/@babel/types/tsconfig.tsbuildinfo new file mode 100644 index 00000000000000..1e5c0f5417cfb7 --- /dev/null +++ b/tools/eslint/node_modules/@babel/types/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.string.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/utils/shallowEqual.ts","./src/utils/deprecationWarning.ts","./src/validators/generated/index.ts","./src/validators/matchesPattern.ts","./src/validators/buildMatchMemberExpression.ts","./src/validators/react/isReactComponent.ts","./src/validators/react/isCompatTag.ts","../../node_modules/to-fast-properties-BABEL_8_BREAKING-true/index.d.ts","./src/validators/isType.ts","./src/validators/isPlaceholderType.ts","./src/validators/is.ts","../../dts/packages/babel-helper-validator-identifier/src/identifier.d.ts","../../dts/packages/babel-helper-validator-identifier/src/keyword.d.ts","../../dts/packages/babel-helper-validator-identifier/src/index.d.ts","./src/validators/isValidIdentifier.ts","../../dts/packages/babel-helper-string-parser/src/index.d.ts","./src/constants/index.ts","./src/definitions/utils.ts","./src/definitions/core.ts","./src/definitions/flow.ts","./src/definitions/jsx.ts","./src/definitions/placeholders.ts","./src/definitions/misc.ts","./src/definitions/experimental.ts","./src/definitions/typescript.ts","./src/definitions/deprecated-aliases.ts","./src/definitions/index.ts","./src/validators/validate.ts","./src/builders/validateNode.ts","./src/builders/generated/index.ts","./src/utils/react/cleanJSXElementLiteralChild.ts","./src/builders/react/buildChildren.ts","./src/validators/isNode.ts","./src/asserts/assertNode.ts","./src/asserts/generated/index.ts","./src/builders/flow/createTypeAnnotationBasedOnTypeof.ts","./src/modifications/flow/removeTypeDuplicates.ts","./src/builders/flow/createFlowUnionType.ts","./src/modifications/typescript/removeTypeDuplicates.ts","./src/builders/typescript/createTSUnionType.ts","./src/builders/generated/uppercase.d.ts","./src/builders/productions.ts","./src/clone/cloneNode.ts","./src/clone/clone.ts","./src/clone/cloneDeep.ts","./src/clone/cloneDeepWithoutLoc.ts","./src/clone/cloneWithoutLoc.ts","./src/comments/addComments.ts","./src/comments/addComment.ts","./src/utils/inherit.ts","./src/comments/inheritInnerComments.ts","./src/comments/inheritLeadingComments.ts","./src/comments/inheritTrailingComments.ts","./src/comments/inheritsComments.ts","./src/comments/removeComments.ts","./src/constants/generated/index.ts","./src/converters/toBlock.ts","./src/converters/ensureBlock.ts","./src/converters/toIdentifier.ts","./src/converters/toBindingIdentifierName.ts","./src/converters/toComputedKey.ts","./src/converters/toExpression.ts","./src/traverse/traverseFast.ts","./src/modifications/removeProperties.ts","./src/modifications/removePropertiesDeep.ts","./src/converters/toKeyAlias.ts","./src/converters/toStatement.ts","./src/converters/valueToNode.ts","./src/modifications/appendToMemberExpression.ts","./src/modifications/inherits.ts","./src/modifications/prependToMemberExpression.ts","./src/retrievers/getAssignmentIdentifiers.ts","./src/retrievers/getBindingIdentifiers.ts","./src/retrievers/getOuterBindingIdentifiers.ts","./src/retrievers/getFunctionName.ts","./src/traverse/traverse.ts","./src/validators/isBinding.ts","./src/validators/isLet.ts","./src/validators/isBlockScoped.ts","./src/validators/isImmutable.ts","./src/validators/isNodesEquivalent.ts","./src/validators/isReferenced.ts","./src/validators/isScope.ts","./src/validators/isSpecifierDefault.ts","./src/validators/isValidES3Identifier.ts","./src/validators/isVar.ts","./src/ast-types/generated/index.ts","./src/index.ts","./src/converters/gatherSequenceExpressions.ts","./src/converters/toSequenceExpression.ts","../../lib/globals.d.ts","../../node_modules/@types/charcodes/index.d.ts","../../node_modules/@types/color-name/index.d.ts","../../node_modules/@types/convert-source-map/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/fs-readdir-recursive/index.d.ts","../../node_modules/@types/gensync/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/jest-diff/node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/jsesc/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/lru-cache/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/v8flags/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"8fcfeade248c2db0d29c967805f6a6d70ddc13a81f867fb2ba1cdfeedba2ad7d","signature":"e1bb914c06cc75205fae8713e349dff14bdfd2d36c784d0d2f2b7b5d37e035e0"},{"version":"4a6273a446ec1a2e1c611d2442d4205297c2b9f34ef7ebcfb3a1c2ff7cd76320","signature":"bfe8f5184c00e9c24f8bb40ec929097b2cafc50cc968bc1604501cb6c4a1440c"},{"version":"c0546f26640bd54a27df096202c4007bb308089dd2392f59da120574a8c9fc58","signature":"243665975c1af5dc7b51b10f52e76d3cb8b7676ccc23a6503977526d94b3cdde"},{"version":"aac28eeaa76e34b6ced7c5b001ed6e80b8b1f8f0816eb592555daf1ec2f4d7bb","signature":"6a7a221f94f9547a86feaa3c2ce81b8556c71ffb12057a43c54fc975bca83cde"},{"version":"3f0a83b294ddd8b8075870cc0cbd7754fedeca16e56bd4cdb7e9313c218c2e65","signature":"e34a316302189537858d6d20d5d77d8f0351ed977da8947a401ad9986cdf147f"},{"version":"afd3d7a25f7ad12ce91561c34ffc674c84ac3249919df4940856c6c6491462ea","signature":"c4fed2ac667845f4fe7863bbd478df921793eada16941b666bcfe161f40caef1"},{"version":"171a63d115fb2e1f18ea8a0a9229809e3441b8024346e8f6eb6f71da2acb0fb5","signature":"b360236d3b226a56126f9f071d68fccd10eba34e4b6831efc39e8a3277380523"},"d252563303cbd2c3f385c83b550b84b6c5a112da78050ad8922c428d38f63d6b",{"version":"cdae18a2e7912f1ce695077b914ad1c14078e4ca70cdd3ef8c4c3d1caea07f7a","signature":"989f035cd0c3acf51639b2ff4fb3cb8ccce3d7ef0103a1d32ca5e5f1cfd19387"},{"version":"357c8c1eedefe4572a845d2fbf39504afcf63900427de0f25780adaab29023cd","signature":"66612e3b3315adf8702a39830ad8690d6f4293f89193737c604f4b44a51e42ad"},{"version":"1af5af5e448bf69819c821acc50cc5b7a8eac66d0ba3c4ed471847612fc39062","signature":"a5e89e63c809c01f8e8175c9d63da68ce734ddf15b7efd98b1eb262d8e4d05ec"},"603a6a23fb575101f92bb7c9d9f70e149b923b0b64b8da3bff10b76dad968f73","a04503349c00a0421942bb14d5e9eea391fa1633d867b13fe5125f7df8355962","e81bb81b21289ef6653935d1dbadedd907b857ada80f9221b260a33e311c9ea1",{"version":"6effa8e58111946b0a830032546674f1254b1e4217d8558460071aff6acc4237","signature":"9ba02d6560cc8cf8063172ba05b5368a24fb236a97c1c852665372be78143592"},"186139eb9963554412f6fb33b35aabee1acdaa644b365de5c38fbd9123bdbe45",{"version":"52050c18a38ecd88e094441b24e00d4c09be722fd4010716dd3482c99b0e3118","signature":"ce8fe0d07c32e6786203b5a3b93468afc6b1fcf57481dc9673e16fb119312c19"},{"version":"e99b0507b7478a5d42aa76ff2f256aa233c4d0dfee11d433f15a4a73feafd187","signature":"2041804d5582855acf4cdb0d641cd83a26952d5955f0f1806c9b7e9ae90ac3dc"},{"version":"e93688bd44fd8387d5267ab7d32503d4d530d096954fd9b97aa1a5f7e37e0edf","signature":"7d2a0764991446f121b01e690edcb502ce40fd02145613d1d349d9e46be3782a"},{"version":"2f641b80ebd0620a0cff45bafe15d6ad84e8c78c6bf4e766318620c4fb448ae1","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"ecedc0b9f905ae08952b3e86b8f049a0d28071b80431a59a7fd9980bae5a2cc7","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"bddeccbea54a281dff4c47c0a6fb0044631989d863025fda8438959e439e86ac","signature":"513e4a7dd68f60782a39d5ae4ce6f0a19ccc4c51808b359560ad1f689f0ce93d"},{"version":"c825ca3f05c6e25f236f8e8762b44fbbf66f709b3a8d3ca0e42146ebe1581a9a","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"c2adbec387364f5d73dde7780a3cc1dcfdcca50c64008212eb78da6977f8e2e1","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"7258b2de6e135d55a7ce6a908ee2e73ab57e9d2e40e2029a22e88ef202eda616","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"1d980ffa590cf05dd111bc619f46a3b22d733f28e53dd43c0ed7c04086a27db0","signature":"519157309e4f7c98b6067933db2a849961eaa0e5dec4a2ce5d2fc92ace85dcfd"},{"version":"8d5646f46ffd5da015100bc01b95cb9bd7865608a2b9f9de49f70574da948299","signature":"c5f8672c8c39b8f9251a57fc2dab217ce20ac4a9d71c0a498b733cb922ff5e4e"},{"version":"d8ebfc0205cf426841c3f0b464ed1ba7eae8c3e8c5ceda630bad2f902044e2d2","signature":"156d025e006f7df4df1bcf7ce53cd3e3780a0190dfb03c65288f07b372e79843"},{"version":"bc154d30e8b9d4dbf8a3209a4a0fc3c374935d3f550b90e6499a25397c8f7dce","signature":"e181a4a2b4612772f2fe5a2fc18135d1c1df3f50e6c4884163117c650a495e20"},{"version":"8697dae129484c754357221381228d92160263db3f8e0aebb368998410bdd0b4","signature":"250bb1ea2d799ecf488834fe20efa611063ab79b35639b7b3024f05e1b6641ee"},{"version":"76e1d2a23e0eff1c239d8135c3df018d086e37731b47712e00c605fb5d223c82","signature":"b1fd1f3a57d18737a7792630d476f230f4eda06a2e3afa85a1725830d912b1cf"},{"version":"a6b289321f7db8293d68955fa596e46dfbcbef03e15612828f6a244e770de6ee","signature":"a73bd08ca8f85d9c1f0307ae7abb246e38cb618f452e15fd3612464e846665b0"},{"version":"226c3a35bba8947d4296e3b1d38dd17d4b16688c580357672a696091479b980a","signature":"4924f889957ee69dfd66643c7e60a5feee526c18b16d10985804c669fe1b6ce4"},{"version":"0d6d17c452ec87c53738e449f61d0642144827b747aa47eada063024e6a114b3","signature":"9b1b103c34f4c56ab0c40c87a85ffd36002295d8fbe17b493509e63a383f5814"},{"version":"edd51847a7bb071792713662c868ef3e68b46db5735d8303dc6c2c22340d1490","signature":"e4a023723ff5cfdc22880b572dd15876d0bc4bb4f2a555d71d226a2578786ad3"},{"version":"be08025002e28149f50ac7814003f38c04bc27532868e7f1e5b308e0772bb7c4","signature":"3aa0ae0c3636319f9bc6e5c2a4bd484f9b2b4e78623b33131056a95fb59c954c"},{"version":"32554cf6a4e226119f09b7f834f7ebb066c78b5c50c04d1bffab36d0b0af7e86","signature":"a73d8151dd40ff705eebd2989e703ba14874574f5fe4f195babe74b6ef93ac59"},{"version":"a029e1c4b13d11618865d30254ff2762481ba33613ec180de6ee6190f75afa86","signature":"dc25e664429b44c379d4d3cf988b2cce06116ae94f5c6f1a0cf73245b4282a93"},{"version":"3c52b0d34d0d2449c0c8266f76c213d038f9d049ef7de02e6db09965588d578b","signature":"f32fa5785766bba7c9c8dd0b2c822abdd6e6df528ac2512786b87103a03628b4"},{"version":"6470630dba76968b44e9fd031270da3f3e39852e9b4af3b63eaa56633120ebdf","signature":"e59daf03ff2d76dee4726e48556aba1d105fd1c7a7a9cbf3e74ec4a1f91a6bea"},"a0fbfc839fefc3d41a12c5a8631e6543135ff18fd516cd06c5a09f84cb81578c",{"version":"33166ad3efe9a4e610e12af338b7a5ea56e0b41b064ed509e40f901ddcc458e6","signature":"9ce376fdbe50ed84260f0dc45cc1f242916f2c0c91da6464df63df0ba2baae7c"},{"version":"b28f5ee81fe3f1793f7150e38f0a77cd338353b0c54ae767eb1093f1a6709063","signature":"c3e41c24eb14414b6995d4bbac99d16ce2e609282c9b53d1333b7b423e0f7d02"},{"version":"0b54bc2b799d87aa1177e909d465f54c6bef360ba83af93005e5ed227d19dab6","signature":"b555d22a622ea0565d08a340e5c19f6f439f40d4451a2f13fe6a33a39b3d761c"},{"version":"764f73212be29948c4fcd78f507088fc7e6defa31e7197c0bb75b6f4347bb1e4","signature":"9f29212a64599c6c5563b78746bf85f709d5437f18dac77502a53af63dadb850"},{"version":"47d2fe1d53745d28b017cf0e222e1d4a4f4227f7dd0a581bd92b113335531e88","signature":"6b714d7db731bb6da813dfa3d88ded4ce0bc9b627464e86315468e1be9adadff"},{"version":"be7e96cd9390cdaef4671d6035bbdaf562ede5e8c0a1276109d8e0bdd6ea6c3d","signature":"5ebd0c7b976b7cbe390e381d27ec9dc5adde1a02cf9ecfb2a7caed7a822a5cae"},{"version":"90ff25e6450736895d78029bff4fbe1ed9e4716ace55d7d68c69629a8b1cee1a","signature":"b8b9aae5a37c0d3dec11813d992b893ed55a080289466ade6c1bc47e3987f53a"},{"version":"c500cb69aa5cf5f562b1494e6094854b4179d1800351d2413da092b6be0abb4f","signature":"4171247c72f90ac86a3cd3cdb0f372214a556aa8b94aa92b28bf6d21dad5f7ee"},{"version":"d60d7a09651839c6bd24d23dd861c6d7bb6db5cef12499d31ec7c70dcd704e82","signature":"a9cb234a7e1c11097b0d897a52a82d54b51545d32863c0e7d026f70309a10eb4"},{"version":"15d3b873cf25203b8d3bde2fdf2290ff0c3bc56fcad31661838f8ddf455a084d","signature":"eb69d4cd5875c471c0dd30988bf8a4816f9b8fab1e71a8c39096e483411faa00"},{"version":"a4b304456b23b28cc0a552fe9a59ccd81b19c92a316071ed6e16b4f52ec77544","signature":"48225779dd7b1b7b384389e325ed6aa271a6745239d8193c2fc161cacbf3dac5"},{"version":"e823b7c5c5284a0915c664ba5116fa0935e1818de3cc34abca01282b017ec8ab","signature":"3f4487628af3e52556d6f33151740876b29a5355b8a5ccf8e56d1b3ae7cbcc0e"},{"version":"f1ef69cbcfb53cde7b93395b8c8e08a27700a153299a2af6eded4ef6f96dcdb1","signature":"c6fd0f9d777f11f972b4decc52beeeae6aad9f2aa949184e8f9984a5c36e4448"},{"version":"769de8be7004cefe640665543efa370ae48b6d6e2010297e2b5b22a8eaf2e939","signature":"2b4ca439136421892cc80ebf6f6ea641a0306e58bd12ed61ae7f20becb2ee15f"},{"version":"0b7052f1b0ffb904374e01198404cac8c4931bfdd7f87e550be5f48b425e9319","signature":"d765a1a0f109522a082c9b8de1f6c0364463e972ece981b0f504fa611187956a"},{"version":"3b4274e19bf0b5551ad7f0190902eaf651a88d213d80e156ee158c8a3d68acd0","signature":"058e39e6fe02e97ddc18b2952a67d0dfb71f1f60f86405480fec569b602f5284"},{"version":"924473fe3db09406d721c813e1d9a9e932ac42de6526cbbf19fcc4b86a5f09d7","signature":"dfa94dabc1567d2b882222947f5c181adc89a3af5b6a2b730b1c3b85d4cfe48f"},{"version":"a030f8b58759c806d7a2ec11a0ae694035182ea7dcb2a93f969dbbe187535118","signature":"9f3f8ff5d06c5d5583e891d3bb98489d58e358e49bda2827f3f7819cdb632ad0"},{"version":"b60bfab426a779fe9bd50b8d19995564654b10b83c592dd00b9a7605bb12f329","signature":"c33fa94c2e88d70a2e98a33474d3cf477d959477236323a748f638b3ca1e2af0"},{"version":"7c676dde7b7864996d974adfa5c57f1ac22d4abd75f60f75c1e18c57ed842763","signature":"8c5dbef5fc0eb113d94132a5ba440d75e33eb85e9497a1f7e3bdb29a3fcd3469"},{"version":"2effc0f6de7a36ef7f347cc9965e0c064d40bd0a4b37e163a07db488809e9667","signature":"0d9808e1f0d2bd4c45462c7e2f20c0cf08b700c6964e7eda5e10d1f6b707deb8"},{"version":"ae29dd93357ed3d406b2ee4c877ce166f55ef9822bebb4f55642a08381bf9073","signature":"3b6aafb284a9943503546844726c7ecea9ae91fc46f1d8e8cbe233f6d8b16a30"},{"version":"88100c31b99360b9a517196944e1a9b509a588be609ddf7498e81ea04c7857f7","signature":"7571f6e856945cea6771a2985e008daff8785c6632f9dc1dc9f24f795f84444d"},{"version":"c690d242a9b796a6632297f61a7030ff914715883601a1f06ce7d06b3a726ca7","signature":"2ff5e66c8448d86302ef11ceeb27cbbd43d3af41aba05c2fc3a48cd0f1d8627f"},{"version":"52b637792df11dd64a7acc6d31ba77ca5ac3b65e2eac6a39f0adf0aa52f49051","signature":"6978b8fc2f45108c4bc2788bd7053f2917d7efa28f74ddf52182dc9ab59d03cf"},{"version":"0814686d7a7474b9c3072198413393be949e3c358587acb6d81fa987faa13bcc","signature":"e127a8fb319d5978d73d966a5a68b85915848f8f96267fff2f0dbe9bc92373e9"},{"version":"d7fff60051446f7a806ad250107f587338e06eb67c9c2e3c49f521eac78131b1","signature":"77adbafe67e2bf42d578d82d2fb994530cce5b9eaa28a2a5b24aca70a008c3d9"},{"version":"0926c32fe1c110a3d7f1d7dc9341c6ced58a237bc894293d144782ca336595e0","signature":"82590ca2dfa968af29be579c534733406fd9c5c4a726213eef9f2308cbb04d23"},{"version":"82b86e1638a2b839335bda260e9f5ff8864c7be8a7ae4749626807eb82f77c09","signature":"e88043fb3ae0a6e33be31d45927494ed42c3263bfb318b024b9dab027f09dc2d"},{"version":"1705c872aaf610b945fe927e224dfd1d186a182c7e65740f1a52ea9ab5178388","signature":"3f7e6d7b1d7155d68b5ec0f8e021f10075c785b29171d1d520d0b9b0dd617aa0"},{"version":"cd13cd446b20bf813d09425b9a1d823c390f34b6b51aa51faf3f522f373dfd5f","signature":"e872f192c494d687561196b8ce88a06d80b2128b0c28b3bd919a7d663c22cc18"},{"version":"4623bcaa845b85cdf21d1594313554a95bec68d1770b4087020cf78868dbdf43","signature":"1a910bff4e17d0f855bd00ef0dadc3ad8e7656499c099d19603f8bb0dbe8853e"},{"version":"54ccf8f7da67b45fb7a69c09d0313c4c6475e918f100fad0088a19f200dc57b3","signature":"23996dceac72973064c9643fff1ca0cf585b642d715c56ed3512703f2b280c5e"},{"version":"185e07f771a4e5d0f485a9ebfe4229375902b76afb86895ee6a204384f668895","signature":"14cba8dd2c615df75bef2f670ec26fbe86157eb03a55ba5dfbe8ad46253c3b5e"},{"version":"e0c730d1cef48b39c0ea78bbece9a770062d40b87f8fbb46dba3b91a39f5e8ae","signature":"95a1a8e1e7777214b2d970c3426819e976abf9120f2824b571e0ae51d1dd465b"},{"version":"bd41bf4f473276c2c3d6ac75a510b82e2a0c171fe6605aa9d6e4aef70b0fc5e2","signature":"466c63574f0654a81f7d760ccb32570f642b6b46e83b6fdc288c2e52bcef287c"},{"version":"ded09790fe023c6a76e3b52f8a37778d89fa0ac82703aa92d294b83a13b10a93","signature":"08cdf95dfc59101c1e7c23865951151455ee7f77f1bf7e257034aae8ba332972"},{"version":"8e6f85f2acce1e4132756c0b3f928a5102abcf9f8bcd6f19f759664cde9fc75c","signature":"c6526b7ad3213f40e40d617f0a150c8a9dcf0e8f868594ef4aa060b994fd11ce"},{"version":"3542d64a563b0efef64ff2553cbeace4e7635d2e9fefa9719ce14b9453b56843","signature":"b5e0565b7ca3ba4c129ed4e1788d4dc1bb30dcdeb14a37df1071c3881507e295"},{"version":"f1e46fa426072281a31a60bb2c50854397f9bc95a8a4efc7cb40824c286b100f","signature":"2c95044092cad1398b593b47290306d73513d163c61e85ebbc39715af4b15578"},{"version":"ea097853cb731b90f8da5b56d5c65dba3d6defcd42c6206753622ec6a51e6ebb","signature":"1d3f6521348f5d591d4da3408457a553274b024c79ecde88054361040967c211"},{"version":"fdf67ae033c8bd49182fef927461ea75acfb741c615820047bcaed083ff3b3f4","signature":"03a629914760ae9bb64a05e72ad0f4e6aeefb1e7c7b6ae3d7836bb46f69ae23e"},{"version":"d757c6a733cf1e7101672c61cd52d3c964fe19a4370bf4e2fa96fde3989ec76f","signature":"95017b0f25bb3cd6782853c14303c20b5099b866ef1491c57fc436add8183f14"},{"version":"ac81e071ce704acdc83cf7155ea62306f105a5d53010308cae52cef8b2eda5af","signature":"9dfbdb5529d2be1c9e77112f7e0e20fba7518865f31501b9aa09c3965ee91f6a"},{"version":"1bce4319db89c0eaebaac319159b604c707fb9f2ae4530c4a9d333263b1168e3","signature":"cafadd60cda0c63471975430893f7c0ac981f268ec719f08f131e41d8404c4db"},{"version":"3d3b5460f76a29a0ca48739d4a0ba58ba9ad7f7c82860fc3a6d39c2e14feb4b5","signature":"3a91334c3409e173cafb3af175d8a4a3ae835851df7015c8f0fc5c117ad46c80"},{"version":"804b28d110397e93a43914acf8852ee2f75b6270b7c18deffb2a824a141537c8","signature":"7b488581d44b9a7bde2131536376fa946cbb3a1b0096427738d5b946a76ca794"},{"version":"224f6e7ef7c2300442d6b99c77ea4b34458362c08123f711478f6f618a5e3b2f","signature":"b84dbfef60c47b0b4a429d2a07ea7fe1f961eebdb32af9bdd7a66110c013a0b3"},{"version":"eb287c1b37052f20b1f0ddb4688aa6f723f38c013af83cd6f1561e0b477c739e","signature":"968ffdb87c470d380b6ea8db40761a2908278156c836f42c6e0c310b400a580a"},{"version":"f0b6690984c3a44b15740ac24bfb63853617731c0f40c87a956ce537c4b50969","affectsGlobalScope":true},"b7589677bd27b038f8aae8afeb030e554f1d5ff29dc4f45854e2cb7e5095d59a","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","13d94ac3ee5780f99988ae4cce0efd139598ca159553bc0100811eba74fc2351","3cf5f191d75bbe7c92f921e5ae12004ac672266e2be2ece69f40b1d6b1b678f9",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","0c5a621a8cf10464c2020f05c99a86d8ac6875d9e17038cb8522cc2f604d539f","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","1d78c35b7e8ce86a188e3e5528cc5d1edfc85187a85177458d26e17c8b48105f","bde8c75c442f701f7c428265ecad3da98023b6152db9ca49552304fd19fdba38","acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9",{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","9e951ec338c4232d611552a1be7b4ecec79a8c2307a893ce39701316fe2374bd","70c61ff569aabdf2b36220da6c06caaa27e45cd7acac81a1966ab4ee2eadc4f2","905c3e8f7ddaa6c391b60c05b2f4c3931d7127ad717a080359db3df510b7bdab","6c1e688f95fcaf53b1e41c0fdadf2c1cfc96fa924eaf7f9fdb60f96deb0a4986","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","6d969939c4a63f70f2aa49e88da6f64b655c8e6799612807bef41ccff6ea0da9","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e",{"version":"46894b2a21a60f8449ca6b2b7223b7179bba846a61b1434bed77b34b2902c306","affectsGlobalScope":true},"84a805c22a49922085dc337ca71ac0b85aad6d4dba6b01cee5bd5776ff54df39","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","6d727c1f6a7122c04e4f7c164c5e6f460c21ada618856894cdaa6ac25e95f38c","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","c6c4fea9acc55d5e38ff2b70d57ab0b5cdbd08f8bc5d7a226e322cea128c5b57","9ad8802fd8850d22277c08f5653e69e551a2e003a376ce0afb3fe28474b51d65","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"root":[[72,78],[80,82],86,[88,162]],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationDir":"../../dts","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":200,"noImplicitAny":true,"noImplicitThis":true,"rootDir":"../..","skipLibCheck":true,"strictBindCallApply":true,"target":99},"fileIdsList":[[83,84],[269],[168,170],[167,168,169],[223,224,261,262],[264],[265],[271,274],[210,261,267,273],[268,272],[270],[174],[210],[211,216,245],[212,223,224,231,242,253],[212,213,223,231],[214,254],[215,216,224,232],[216,242,250],[217,219,223,231],[210,218],[219,220],[223],[221,223],[210,223],[223,224,225,242,253],[223,224,225,238,242,245],[208,211,258],[219,223,226,231,242,253],[223,224,226,227,231,242,250,253],[226,228,242,250,253],[174,175,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260],[223,229],[230,253,258],[219,223,231,242],[232],[233],[210,234],[235,252,258],[236],[237],[223,238,239],[238,240,254,256],[211,223,242,243,244,245],[211,242,244],[242,243],[245],[246],[210,242],[223,248,249],[248,249],[216,231,242,250],[251],[231,252],[211,226,237,253],[216,254],[242,255],[230,256],[257],[211,216,223,225,234,242,253,256,258],[242,259],[281,320],[281,305,320],[320],[281],[281,306,320],[281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319],[306,320],[323],[271],[185,189,253],[185,242,253],[180],[182,185,250,253],[231,250],[261],[180,261],[182,185,231,253],[177,178,181,184,211,223,242,253],[177,183],[181,185,211,245,253,261],[211,261],[201,211,261],[179,180,261],[185],[179,180,181,182,183,184,185,186,187,189,190,191,192,193,194,195,196,197,198,199,200,202,203,204,205,206,207],[185,192,193],[183,185,193,194],[184],[177,180,185],[185,189,193,194],[189],[183,185,188,253],[177,182,183,185,189,192],[211,242],[180,185,201,211,258,261],[104,159],[73,82,159],[101,108,159],[101,159],[73,100,159],[101],[74,102,159],[74,101,110,159],[99,159],[114,159],[74,98,159],[119,159],[159],[121,159],[122,123,124,159],[88,159],[98],[128,159],[74,101,113,114,144,159],[130],[74,101,159],[74,159],[85,86],[74,114,136,159],[159,160],[86,101,159],[82,85,86,87,88,89,159],[89],[79,89,90,91,92,93,94,95,96,97],[89,93],[82,89,90],[82,99,159],[72,73,74,75,76,77,78,80,81,82,86,88,98,99,101,103,104,105,106,107,108,109,111,112,113,114,115,116,117,118,119,120,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[88,125,159],[134,135,159],[144,159],[98,159],[75,159],[72,73,159],[72,80,81,98,159],[74,149,159],[74,80,159],[74,88,159],[86],[85],[76]],"referencedMap":[[85,1],[270,2],[171,3],[170,4],[263,5],[265,6],[266,7],[276,8],[274,9],[273,10],[275,11],[174,12],[175,12],[210,13],[211,14],[212,15],[213,16],[214,17],[215,18],[216,19],[217,20],[218,21],[219,22],[220,22],[222,23],[221,24],[223,25],[224,26],[225,27],[209,28],[226,29],[227,30],[228,31],[261,32],[229,33],[230,34],[231,35],[232,36],[233,37],[234,38],[235,39],[236,40],[237,41],[238,42],[239,42],[240,43],[242,44],[244,45],[243,46],[245,47],[246,48],[247,49],[248,50],[249,51],[250,52],[251,53],[252,54],[253,55],[254,56],[255,57],[256,58],[257,59],[258,60],[259,61],[305,62],[306,63],[281,64],[284,64],[303,62],[304,62],[294,62],[293,65],[291,62],[286,62],[299,62],[297,62],[301,62],[285,62],[298,62],[302,62],[287,62],[288,62],[300,62],[282,62],[289,62],[290,62],[292,62],[296,62],[307,66],[295,62],[283,62],[320,67],[314,66],[316,68],[315,66],[308,66],[309,66],[311,66],[313,66],[317,68],[318,68],[310,68],[312,68],[324,69],[272,70],[271,11],[192,71],[199,72],[191,71],[206,73],[183,74],[182,75],[205,76],[200,77],[203,78],[185,79],[184,80],[180,81],[179,82],[202,83],[181,84],[186,85],[190,85],[208,86],[207,85],[194,87],[195,88],[197,89],[193,90],[196,91],[201,76],[188,92],[189,93],[198,94],[178,95],[204,96],[105,97],[106,98],[109,99],[107,100],[101,101],[113,102],[103,103],[111,104],[100,105],[115,106],[116,106],[117,106],[114,107],[118,106],[120,108],[119,109],[122,110],[123,110],[124,110],[125,111],[126,112],[127,113],[129,114],[160,115],[131,116],[128,117],[132,117],[133,118],[130,119],[137,120],[161,121],[138,117],[139,122],[90,123],[95,124],[91,124],[98,125],[92,124],[94,126],[93,124],[96,127],[89,128],[159,129],[140,100],[108,118],[141,130],[142,100],[135,112],[136,131],[110,118],[143,109],[144,118],[146,118],[145,132],[147,133],[134,133],[121,109],[102,100],[76,134],[74,135],[82,136],[148,132],[150,137],[151,138],[149,139],[104,133],[152,133],[81,113],[153,109],[154,118],[155,118],[80,133],[156,140],[86,141],[157,139],[75,118],[77,142],[99,133]],"latestChangedDtsFile":"../../dts/packages/babel-types/src/converters/toSequenceExpression.d.ts"},"version":"5.5.3"} \ No newline at end of file diff --git a/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs b/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs index 9768999f251003..c411b9c5c1921a 100644 --- a/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs +++ b/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs @@ -1218,5 +1218,9 @@ class ConfigArray extends Array { } } +Object.defineProperty(exports, "ObjectSchema", { + enumerable: true, + get: function () { return objectSchema.ObjectSchema; } +}); exports.ConfigArray = ConfigArray; exports.ConfigArraySymbol = ConfigArraySymbol; diff --git a/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.d.cts b/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.d.cts index 375f46b3de078d..ee7f48b4ae8bc5 100644 --- a/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.d.cts +++ b/tools/eslint/node_modules/@eslint/config-array/dist/cjs/index.d.cts @@ -1,3 +1,4 @@ +export { ObjectSchema } from "@eslint/object-schema"; export type PropertyDefinition = import("@eslint/object-schema").PropertyDefinition; export type ObjectDefinition = import("@eslint/object-schema").ObjectDefinition; export type ConfigObject = import("./types.ts").ConfigObject; diff --git a/tools/eslint/node_modules/@eslint/config-array/dist/esm/index.js b/tools/eslint/node_modules/@eslint/config-array/dist/esm/index.js index 249c55e90b8197..42c21ce636937f 100644 --- a/tools/eslint/node_modules/@eslint/config-array/dist/esm/index.js +++ b/tools/eslint/node_modules/@eslint/config-array/dist/esm/index.js @@ -3,6 +3,7 @@ import path from 'node:path'; import minimatch from 'minimatch'; import createDebug from 'debug'; import { ObjectSchema } from '@eslint/object-schema'; +export { ObjectSchema } from '@eslint/object-schema'; /** * @fileoverview ConfigSchema diff --git a/tools/eslint/node_modules/@eslint/config-array/package.json b/tools/eslint/node_modules/@eslint/config-array/package.json index 0315920daffcb9..2dfdd5e26741c5 100644 --- a/tools/eslint/node_modules/@eslint/config-array/package.json +++ b/tools/eslint/node_modules/@eslint/config-array/package.json @@ -1,6 +1,6 @@ { "name": "@eslint/config-array", - "version": "0.17.1", + "version": "0.18.0", "description": "General purpose glob-based configuration matching.", "author": "Nicholas C. Zakas", "type": "module", diff --git a/tools/eslint/node_modules/@eslint/js/package.json b/tools/eslint/node_modules/@eslint/js/package.json index bac2bd6e4eda11..fb2a149d1eda38 100644 --- a/tools/eslint/node_modules/@eslint/js/package.json +++ b/tools/eslint/node_modules/@eslint/js/package.json @@ -1,6 +1,6 @@ { "name": "@eslint/js", - "version": "9.8.0", + "version": "9.9.1", "description": "ESLint JavaScript language implementation", "main": "./src/index.js", "scripts": {}, diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/configs.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/configs.js index 18be8aac74fff4..0ce953ac34811e 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/configs.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/configs.js @@ -1,170 +1,147 @@ 'use strict'; -var arrayBracketNewline = require('./array-bracket-newline.js'); -var arrayBracketSpacing = require('./array-bracket-spacing.js'); -var arrayElementNewline = require('./array-element-newline.js'); -var arrowParens = require('./arrow-parens.js'); -var arrowSpacing = require('./arrow-spacing.js'); -var blockSpacing = require('./block-spacing.js'); -var braceStyle = require('./brace-style.js'); -var commaDangle = require('./comma-dangle.js'); -var commaSpacing = require('./comma-spacing.js'); -var commaStyle = require('./comma-style.js'); -var computedPropertySpacing = require('./computed-property-spacing.js'); -var dotLocation = require('./dot-location.js'); -var eolLast = require('./eol-last.js'); -var functionCallArgumentNewline = require('./function-call-argument-newline.js'); -var functionCallSpacing = require('./function-call-spacing.js'); -var functionParenNewline = require('./function-paren-newline.js'); -var generatorStarSpacing = require('./generator-star-spacing.js'); -var implicitArrowLinebreak = require('./implicit-arrow-linebreak.js'); -var indent = require('./indent.js'); -var jsxQuotes = require('./jsx-quotes.js'); -var keySpacing = require('./key-spacing.js'); -var keywordSpacing = require('./keyword-spacing.js'); -var lineCommentPosition = require('./line-comment-position.js'); -var linebreakStyle = require('./linebreak-style.js'); -var linesAroundComment = require('./lines-around-comment.js'); -var linesBetweenClassMembers = require('./lines-between-class-members.js'); -var maxLen = require('./max-len.js'); -var maxStatementsPerLine = require('./max-statements-per-line.js'); -var multilineCommentStyle = require('./multiline-comment-style.js'); -var multilineTernary = require('./multiline-ternary.js'); -var newParens = require('./new-parens.js'); -var newlinePerChainedCall = require('./newline-per-chained-call.js'); -var noConfusingArrow = require('./no-confusing-arrow.js'); -var noExtraParens = require('./no-extra-parens.js'); -var noExtraSemi = require('./no-extra-semi.js'); -var noFloatingDecimal = require('./no-floating-decimal.js'); -var noMixedOperators = require('./no-mixed-operators.js'); -var noMixedSpacesAndTabs = require('./no-mixed-spaces-and-tabs.js'); -var noMultiSpaces = require('./no-multi-spaces.js'); -var noMultipleEmptyLines = require('./no-multiple-empty-lines.js'); -var noTabs = require('./no-tabs.js'); -var noTrailingSpaces = require('./no-trailing-spaces.js'); -var noWhitespaceBeforeProperty = require('./no-whitespace-before-property.js'); -var nonblockStatementBodyPosition = require('./nonblock-statement-body-position.js'); -var objectCurlyNewline = require('./object-curly-newline.js'); -var objectCurlySpacing = require('./object-curly-spacing.js'); -var objectPropertyNewline = require('./object-property-newline.js'); -var oneVarDeclarationPerLine = require('./one-var-declaration-per-line.js'); -var operatorLinebreak = require('./operator-linebreak.js'); -var paddedBlocks = require('./padded-blocks.js'); -var paddingLineBetweenStatements = require('./padding-line-between-statements.js'); -var quoteProps = require('./quote-props.js'); -var quotes = require('./quotes.js'); -var restSpreadSpacing = require('./rest-spread-spacing.js'); -var semi = require('./semi.js'); -var semiSpacing = require('./semi-spacing.js'); -var semiStyle = require('./semi-style.js'); -var spaceBeforeBlocks = require('./space-before-blocks.js'); -var spaceBeforeFunctionParen = require('./space-before-function-paren.js'); -var spaceInParens = require('./space-in-parens.js'); -var spaceInfixOps = require('./space-infix-ops.js'); -var spaceUnaryOps = require('./space-unary-ops.js'); -var spacedComment = require('./spaced-comment.js'); -var switchColonSpacing = require('./switch-colon-spacing.js'); -var templateCurlySpacing = require('./template-curly-spacing.js'); -var templateTagSpacing = require('./template-tag-spacing.js'); -var wrapIife = require('./wrap-iife.js'); -var wrapRegex = require('./wrap-regex.js'); -var yieldStarSpacing = require('./yield-star-spacing.js'); - -function createAllConfigs(plugin, name, flat, filter) { - const rules = Object.fromEntries( - Object.entries(plugin.rules).filter( - ([key, rule]) => ( - // Only include fixable rules - rule.meta.fixable && !rule.meta.deprecated && key === rule.meta.docs.url.split("/").pop() && (!filter) - ) - ).map(([key]) => [`${name}/${key}`, 2]) - ); - if (flat) { - return { - plugins: { - [name]: plugin - }, - rules - }; - } else { - return { - plugins: [name], - rules - }; - } -} +var arrayBracketNewline = require('./rules/array-bracket-newline.js'); +var arrayBracketSpacing = require('./rules/array-bracket-spacing.js'); +var arrayElementNewline = require('./rules/array-element-newline.js'); +var arrowParens = require('./rules/arrow-parens.js'); +var arrowSpacing = require('./rules/arrow-spacing.js'); +var blockSpacing = require('./rules/block-spacing.js'); +var braceStyle = require('./rules/brace-style.js'); +var commaDangle = require('./rules/comma-dangle.js'); +var commaSpacing = require('./rules/comma-spacing.js'); +var commaStyle = require('./rules/comma-style.js'); +var computedPropertySpacing = require('./rules/computed-property-spacing.js'); +var dotLocation = require('./rules/dot-location.js'); +var eolLast = require('./rules/eol-last.js'); +var functionCallArgumentNewline = require('./rules/function-call-argument-newline.js'); +var functionCallSpacing = require('./rules/function-call-spacing.js'); +var functionParenNewline = require('./rules/function-paren-newline.js'); +var generatorStarSpacing = require('./rules/generator-star-spacing.js'); +var implicitArrowLinebreak = require('./rules/implicit-arrow-linebreak.js'); +var indent = require('./rules/indent.js'); +var jsxQuotes = require('./rules/jsx-quotes.js'); +var keySpacing = require('./rules/key-spacing.js'); +var keywordSpacing = require('./rules/keyword-spacing.js'); +var lineCommentPosition = require('./rules/line-comment-position.js'); +var linebreakStyle = require('./rules/linebreak-style.js'); +var linesAroundComment = require('./rules/lines-around-comment.js'); +var linesBetweenClassMembers = require('./rules/lines-between-class-members.js'); +var maxLen = require('./rules/max-len.js'); +var maxStatementsPerLine = require('./rules/max-statements-per-line.js'); +var multilineCommentStyle = require('./rules/multiline-comment-style.js'); +var multilineTernary = require('./rules/multiline-ternary.js'); +var newParens = require('./rules/new-parens.js'); +var newlinePerChainedCall = require('./rules/newline-per-chained-call.js'); +var noConfusingArrow = require('./rules/no-confusing-arrow.js'); +var noExtraParens = require('./rules/no-extra-parens.js'); +var noExtraSemi = require('./rules/no-extra-semi.js'); +var noFloatingDecimal = require('./rules/no-floating-decimal.js'); +var noMixedOperators = require('./rules/no-mixed-operators.js'); +var noMixedSpacesAndTabs = require('./rules/no-mixed-spaces-and-tabs.js'); +var noMultiSpaces = require('./rules/no-multi-spaces.js'); +var noMultipleEmptyLines = require('./rules/no-multiple-empty-lines.js'); +var noTabs = require('./rules/no-tabs.js'); +var noTrailingSpaces = require('./rules/no-trailing-spaces.js'); +var noWhitespaceBeforeProperty = require('./rules/no-whitespace-before-property.js'); +var nonblockStatementBodyPosition = require('./rules/nonblock-statement-body-position.js'); +var objectCurlyNewline = require('./rules/object-curly-newline.js'); +var objectCurlySpacing = require('./rules/object-curly-spacing.js'); +var objectPropertyNewline = require('./rules/object-property-newline.js'); +var oneVarDeclarationPerLine = require('./rules/one-var-declaration-per-line.js'); +var operatorLinebreak = require('./rules/operator-linebreak.js'); +var paddedBlocks = require('./rules/padded-blocks.js'); +var paddingLineBetweenStatements = require('./rules/padding-line-between-statements.js'); +var quoteProps = require('./rules/quote-props.js'); +var quotes = require('./rules/quotes.js'); +var restSpreadSpacing = require('./rules/rest-spread-spacing.js'); +var semi = require('./rules/semi.js'); +var semiSpacing = require('./rules/semi-spacing.js'); +var semiStyle = require('./rules/semi-style.js'); +var spaceBeforeBlocks = require('./rules/space-before-blocks.js'); +var spaceBeforeFunctionParen = require('./rules/space-before-function-paren.js'); +var spaceInParens = require('./rules/space-in-parens.js'); +var spaceInfixOps = require('./rules/space-infix-ops.js'); +var spaceUnaryOps = require('./rules/space-unary-ops.js'); +var spacedComment = require('./rules/spaced-comment.js'); +var switchColonSpacing = require('./rules/switch-colon-spacing.js'); +var templateCurlySpacing = require('./rules/template-curly-spacing.js'); +var templateTagSpacing = require('./rules/template-tag-spacing.js'); +var wrapIife = require('./rules/wrap-iife.js'); +var wrapRegex = require('./rules/wrap-regex.js'); +var yieldStarSpacing = require('./rules/yield-star-spacing.js'); +var utils = require('./utils.js'); var rules = { - "array-bracket-newline": arrayBracketNewline.arrayBracketNewline, - "array-bracket-spacing": arrayBracketSpacing.arrayBracketSpacing, - "array-element-newline": arrayElementNewline.arrayElementNewline, - "arrow-parens": arrowParens.arrowParens, - "arrow-spacing": arrowSpacing.arrowSpacing, - "block-spacing": blockSpacing.blockSpacing, - "brace-style": braceStyle.braceStyle, - "comma-dangle": commaDangle.commaDangle, - "comma-spacing": commaSpacing.commaSpacing, - "comma-style": commaStyle.commaStyle, - "computed-property-spacing": computedPropertySpacing.computedPropertySpacing, - "dot-location": dotLocation.dotLocation, - "eol-last": eolLast.eolLast, - "func-call-spacing": functionCallSpacing.functionCallSpacing, - "function-call-argument-newline": functionCallArgumentNewline.functionCallArgumentNewline, - "function-call-spacing": functionCallSpacing.functionCallSpacing, - "function-paren-newline": functionParenNewline.functionParenNewline, - "generator-star-spacing": generatorStarSpacing.generatorStarSpacing, - "implicit-arrow-linebreak": implicitArrowLinebreak.implicitArrowLinebreak, - "indent": indent.indent, - "jsx-quotes": jsxQuotes.jsxQuotes, - "key-spacing": keySpacing.keySpacing, - "keyword-spacing": keywordSpacing.keywordSpacing, - "line-comment-position": lineCommentPosition.lineCommentPosition, - "linebreak-style": linebreakStyle.linebreakStyle, - "lines-around-comment": linesAroundComment.linesAroundComment, - "lines-between-class-members": linesBetweenClassMembers.linesBetweenClassMembers, - "max-len": maxLen.maxLen, - "max-statements-per-line": maxStatementsPerLine.maxStatementsPerLine, - "multiline-comment-style": multilineCommentStyle.multilineCommentStyle, - "multiline-ternary": multilineTernary.multilineTernary, - "new-parens": newParens.newParens, - "newline-per-chained-call": newlinePerChainedCall.newlinePerChainedCall, - "no-confusing-arrow": noConfusingArrow.noConfusingArrow, - "no-extra-parens": noExtraParens.noExtraParens, - "no-extra-semi": noExtraSemi.noExtraSemi, - "no-floating-decimal": noFloatingDecimal.noFloatingDecimal, - "no-mixed-operators": noMixedOperators.noMixedOperators, - "no-mixed-spaces-and-tabs": noMixedSpacesAndTabs.noMixedSpacesAndTabs, - "no-multi-spaces": noMultiSpaces.noMultiSpaces, - "no-multiple-empty-lines": noMultipleEmptyLines.noMultipleEmptyLines, - "no-tabs": noTabs.noTabs, - "no-trailing-spaces": noTrailingSpaces.noTrailingSpaces, - "no-whitespace-before-property": noWhitespaceBeforeProperty.noWhitespaceBeforeProperty, - "nonblock-statement-body-position": nonblockStatementBodyPosition.nonblockStatementBodyPosition, - "object-curly-newline": objectCurlyNewline.objectCurlyNewline, - "object-curly-spacing": objectCurlySpacing.objectCurlySpacing, - "object-property-newline": objectPropertyNewline.objectPropertyNewline, - "one-var-declaration-per-line": oneVarDeclarationPerLine.oneVarDeclarationPerLine, - "operator-linebreak": operatorLinebreak.operatorLinebreak, - "padded-blocks": paddedBlocks.paddedBlocks, - "padding-line-between-statements": paddingLineBetweenStatements.paddingLineBetweenStatements, - "quote-props": quoteProps.quoteProps, - "quotes": quotes.quotes, - "rest-spread-spacing": restSpreadSpacing.restSpreadSpacing, - "semi": semi.semi, - "semi-spacing": semiSpacing.semiSpacing, - "semi-style": semiStyle.semiStyle, - "space-before-blocks": spaceBeforeBlocks.spaceBeforeBlocks, - "space-before-function-paren": spaceBeforeFunctionParen.spaceBeforeFunctionParen, - "space-in-parens": spaceInParens.spaceInParens, - "space-infix-ops": spaceInfixOps.spaceInfixOps, - "space-unary-ops": spaceUnaryOps.spaceUnaryOps, - "spaced-comment": spacedComment.spacedComment, - "switch-colon-spacing": switchColonSpacing.switchColonSpacing, - "template-curly-spacing": templateCurlySpacing.templateCurlySpacing, - "template-tag-spacing": templateTagSpacing.templateTagSpacing, - "wrap-iife": wrapIife.wrapIife, - "wrap-regex": wrapRegex.wrapRegex, - "yield-star-spacing": yieldStarSpacing.yieldStarSpacing + "array-bracket-newline": arrayBracketNewline, + "array-bracket-spacing": arrayBracketSpacing, + "array-element-newline": arrayElementNewline, + "arrow-parens": arrowParens, + "arrow-spacing": arrowSpacing, + "block-spacing": blockSpacing, + "brace-style": braceStyle, + "comma-dangle": commaDangle, + "comma-spacing": commaSpacing, + "comma-style": commaStyle, + "computed-property-spacing": computedPropertySpacing, + "dot-location": dotLocation, + "eol-last": eolLast, + "func-call-spacing": functionCallSpacing, + "function-call-argument-newline": functionCallArgumentNewline, + "function-call-spacing": functionCallSpacing, + "function-paren-newline": functionParenNewline, + "generator-star-spacing": generatorStarSpacing, + "implicit-arrow-linebreak": implicitArrowLinebreak, + "indent": indent, + "jsx-quotes": jsxQuotes, + "key-spacing": keySpacing, + "keyword-spacing": keywordSpacing, + "line-comment-position": lineCommentPosition, + "linebreak-style": linebreakStyle, + "lines-around-comment": linesAroundComment, + "lines-between-class-members": linesBetweenClassMembers, + "max-len": maxLen, + "max-statements-per-line": maxStatementsPerLine, + "multiline-comment-style": multilineCommentStyle, + "multiline-ternary": multilineTernary, + "new-parens": newParens, + "newline-per-chained-call": newlinePerChainedCall, + "no-confusing-arrow": noConfusingArrow, + "no-extra-parens": noExtraParens, + "no-extra-semi": noExtraSemi, + "no-floating-decimal": noFloatingDecimal, + "no-mixed-operators": noMixedOperators, + "no-mixed-spaces-and-tabs": noMixedSpacesAndTabs, + "no-multi-spaces": noMultiSpaces, + "no-multiple-empty-lines": noMultipleEmptyLines, + "no-tabs": noTabs, + "no-trailing-spaces": noTrailingSpaces, + "no-whitespace-before-property": noWhitespaceBeforeProperty, + "nonblock-statement-body-position": nonblockStatementBodyPosition, + "object-curly-newline": objectCurlyNewline, + "object-curly-spacing": objectCurlySpacing, + "object-property-newline": objectPropertyNewline, + "one-var-declaration-per-line": oneVarDeclarationPerLine, + "operator-linebreak": operatorLinebreak, + "padded-blocks": paddedBlocks, + "padding-line-between-statements": paddingLineBetweenStatements, + "quote-props": quoteProps, + "quotes": quotes, + "rest-spread-spacing": restSpreadSpacing, + "semi": semi, + "semi-spacing": semiSpacing, + "semi-style": semiStyle, + "space-before-blocks": spaceBeforeBlocks, + "space-before-function-paren": spaceBeforeFunctionParen, + "space-in-parens": spaceInParens, + "space-infix-ops": spaceInfixOps, + "space-unary-ops": spaceUnaryOps, + "spaced-comment": spacedComment, + "switch-colon-spacing": switchColonSpacing, + "template-curly-spacing": templateCurlySpacing, + "template-tag-spacing": templateTagSpacing, + "wrap-iife": wrapIife, + "wrap-regex": wrapRegex, + "yield-star-spacing": yieldStarSpacing }; var plugin = { @@ -247,8 +224,8 @@ const config = { const configs = { "disable-legacy": config, - "all-flat": createAllConfigs(plugin, "@stylistic/js", true), - "all-extends": createAllConfigs(plugin, "@stylistic/js", false) + "all-flat": utils.createAllConfigs(plugin, "@stylistic/js", true), + "all-extends": utils.createAllConfigs(plugin, "@stylistic/js", false) }; exports.configs = configs; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/index.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/index.js index 9033a5a1c464d4..ba1e1c67e1160f 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/index.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/index.js @@ -1,78 +1,79 @@ 'use strict'; var configs = require('./configs.js'); -require('./array-bracket-newline.js'); +require('./rules/array-bracket-newline.js'); require('./utils.js'); require('eslint-visitor-keys'); require('espree'); -require('./array-bracket-spacing.js'); -require('./array-element-newline.js'); -require('./arrow-parens.js'); -require('./arrow-spacing.js'); -require('./block-spacing.js'); -require('./brace-style.js'); -require('./comma-dangle.js'); -require('./comma-spacing.js'); -require('./comma-style.js'); -require('./computed-property-spacing.js'); -require('./dot-location.js'); -require('./eol-last.js'); -require('./function-call-argument-newline.js'); -require('./function-call-spacing.js'); -require('./function-paren-newline.js'); -require('./generator-star-spacing.js'); -require('./implicit-arrow-linebreak.js'); -require('./indent.js'); -require('./jsx-quotes.js'); -require('./key-spacing.js'); -require('./keyword-spacing.js'); -require('./line-comment-position.js'); -require('./linebreak-style.js'); -require('./lines-around-comment.js'); -require('./lines-between-class-members.js'); -require('./max-len.js'); -require('./max-statements-per-line.js'); -require('./multiline-comment-style.js'); -require('./multiline-ternary.js'); -require('./new-parens.js'); -require('./newline-per-chained-call.js'); -require('./no-confusing-arrow.js'); -require('./no-extra-parens.js'); -require('./no-extra-semi.js'); -require('./no-floating-decimal.js'); -require('./no-mixed-operators.js'); -require('./no-mixed-spaces-and-tabs.js'); -require('./no-multi-spaces.js'); -require('./no-multiple-empty-lines.js'); -require('./no-tabs.js'); -require('./no-trailing-spaces.js'); -require('./no-whitespace-before-property.js'); -require('./nonblock-statement-body-position.js'); -require('./object-curly-newline.js'); -require('./object-curly-spacing.js'); -require('./object-property-newline.js'); -require('./one-var-declaration-per-line.js'); -require('./operator-linebreak.js'); -require('./padded-blocks.js'); -require('./padding-line-between-statements.js'); -require('./quote-props.js'); -require('./quotes.js'); -require('./rest-spread-spacing.js'); -require('./semi.js'); -require('./semi-spacing.js'); -require('./semi-style.js'); -require('./space-before-blocks.js'); -require('./space-before-function-paren.js'); -require('./space-in-parens.js'); -require('./space-infix-ops.js'); -require('./space-unary-ops.js'); -require('./spaced-comment.js'); -require('./switch-colon-spacing.js'); -require('./template-curly-spacing.js'); -require('./template-tag-spacing.js'); -require('./wrap-iife.js'); -require('./wrap-regex.js'); -require('./yield-star-spacing.js'); +require('./rules/array-bracket-spacing.js'); +require('./rules/array-element-newline.js'); +require('./rules/arrow-parens.js'); +require('./rules/arrow-spacing.js'); +require('./rules/block-spacing.js'); +require('./rules/brace-style.js'); +require('./rules/comma-dangle.js'); +require('./rules/comma-spacing.js'); +require('./rules/comma-style.js'); +require('./rules/computed-property-spacing.js'); +require('./rules/dot-location.js'); +require('./rules/eol-last.js'); +require('./rules/function-call-argument-newline.js'); +require('./rules/function-call-spacing.js'); +require('./rules/function-paren-newline.js'); +require('./rules/generator-star-spacing.js'); +require('./rules/implicit-arrow-linebreak.js'); +require('./rules/indent.js'); +require('./rules/jsx-quotes.js'); +require('./rules/key-spacing.js'); +require('./rules/keyword-spacing.js'); +require('./rules/line-comment-position.js'); +require('./rules/linebreak-style.js'); +require('./rules/lines-around-comment.js'); +require('./rules/lines-between-class-members.js'); +require('./rules/max-len.js'); +require('./rules/max-statements-per-line.js'); +require('./rules/multiline-comment-style.js'); +require('./rules/multiline-ternary.js'); +require('./rules/new-parens.js'); +require('./rules/newline-per-chained-call.js'); +require('./rules/no-confusing-arrow.js'); +require('./rules/no-extra-parens.js'); +require('./rules/no-extra-semi.js'); +require('./rules/no-floating-decimal.js'); +require('./rules/no-mixed-operators.js'); +require('./rules/no-mixed-spaces-and-tabs.js'); +require('./rules/no-multi-spaces.js'); +require('./rules/no-multiple-empty-lines.js'); +require('./rules/no-tabs.js'); +require('./rules/no-trailing-spaces.js'); +require('./rules/no-whitespace-before-property.js'); +require('./rules/nonblock-statement-body-position.js'); +require('./rules/object-curly-newline.js'); +require('./rules/object-curly-spacing.js'); +require('./rules/object-property-newline.js'); +require('./rules/one-var-declaration-per-line.js'); +require('./rules/operator-linebreak.js'); +require('./rules/padded-blocks.js'); +require('./rules/padding-line-between-statements.js'); +require('./rules/quote-props.js'); +require('./rules/quotes.js'); +require('./rules/rest-spread-spacing.js'); +require('./rules/semi.js'); +require('./rules/semi-spacing.js'); +require('./rules/semi-style.js'); +require('./rules/space-before-blocks.js'); +require('./rules/space-before-function-paren.js'); +require('./rules/space-in-parens.js'); +require('./rules/space-infix-ops.js'); +require('./rules/space-unary-ops.js'); +require('./rules/spaced-comment.js'); +require('./vendor.js'); +require('./rules/switch-colon-spacing.js'); +require('./rules/template-curly-spacing.js'); +require('./rules/template-tag-spacing.js'); +require('./rules/wrap-iife.js'); +require('./rules/wrap-regex.js'); +require('./rules/yield-star-spacing.js'); var index = Object.assign(configs.plugin, { configs: configs.configs }); diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-bracket-newline.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-bracket-newline.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-bracket-newline.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-bracket-newline.js index e4cfc51ac80fbf..e630d560a287f8 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-bracket-newline.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-bracket-newline.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var arrayBracketNewline = utils.createRule({ + name: "array-bracket-newline", + package: "js", meta: { type: "layout", docs: { - description: "Enforce linebreaks after opening and before closing array brackets", - url: "https://eslint.style/rules/js/array-bracket-newline" + description: "Enforce linebreaks after opening and before closing array brackets" }, fixable: "whitespace", schema: [ @@ -145,4 +148,4 @@ var arrayBracketNewline = utils.createRule({ } }); -exports.arrayBracketNewline = arrayBracketNewline; +module.exports = arrayBracketNewline; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-bracket-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-bracket-spacing.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-bracket-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-bracket-spacing.js index abc1827ee3d218..17713960559c04 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-bracket-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-bracket-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var arrayBracketSpacing = utils.createRule({ + name: "array-bracket-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing inside array brackets", - url: "https://eslint.style/rules/js/array-bracket-spacing" + description: "Enforce consistent spacing inside array brackets" }, fixable: "whitespace", schema: [ @@ -141,4 +144,4 @@ var arrayBracketSpacing = utils.createRule({ } }); -exports.arrayBracketSpacing = arrayBracketSpacing; +module.exports = arrayBracketSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-element-newline.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-element-newline.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-element-newline.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-element-newline.js index 5108c33cc9833d..ae8a82cd768b4d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/array-element-newline.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/array-element-newline.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var arrayElementNewline = utils.createRule({ + name: "array-element-newline", + package: "js", meta: { type: "layout", docs: { - description: "Enforce line breaks after each array element", - url: "https://eslint.style/rules/js/array-element-newline" + description: "Enforce line breaks after each array element" }, fixable: "whitespace", schema: { @@ -178,4 +181,4 @@ var arrayElementNewline = utils.createRule({ } }); -exports.arrayElementNewline = arrayElementNewline; +module.exports = arrayElementNewline; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/arrow-parens.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/arrow-parens.js similarity index 91% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/arrow-parens.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/arrow-parens.js index c0f239487a6e86..9f2bedfc1764e5 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/arrow-parens.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/arrow-parens.js @@ -1,16 +1,19 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function hasBlockBody(node) { return node.body.type === "BlockStatement"; } var arrowParens = utils.createRule({ + name: "arrow-parens", + package: "js", meta: { type: "layout", docs: { - description: "Require parentheses around arrow function arguments", - url: "https://eslint.style/rules/js/arrow-parens" + description: "Require parentheses around arrow function arguments" }, fixable: "code", schema: [ @@ -74,7 +77,7 @@ var arrowParens = utils.createRule({ } }); } - if (!shouldHaveParens && hasParens && param.type === "Identifier" && !param.typeAnnotation && !node.returnType && !hasCommentsInParensOfParams(node, openingParen) && !hasUnexpectedTokensBeforeOpeningParen(node, openingParen)) { + if (!shouldHaveParens && hasParens && param.type === "Identifier" && !param.optional && !param.typeAnnotation && !node.returnType && !hasCommentsInParensOfParams(node, openingParen) && !hasUnexpectedTokensBeforeOpeningParen(node, openingParen)) { context.report({ node, messageId: requireForBlockBody ? "unexpectedParensInline" : "unexpectedParens", @@ -95,4 +98,4 @@ var arrowParens = utils.createRule({ } }); -exports.arrowParens = arrowParens; +module.exports = arrowParens; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/arrow-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/arrow-spacing.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/arrow-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/arrow-spacing.js index 006a87af068b92..64a9f736db426b 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/arrow-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/arrow-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var arrowSpacing = utils.createRule({ + name: "arrow-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before and after the arrow in arrow functions", - url: "https://eslint.style/rules/js/arrow-spacing" + description: "Enforce consistent spacing before and after the arrow in arrow functions" }, fixable: "whitespace", schema: [ @@ -103,4 +106,4 @@ var arrowSpacing = utils.createRule({ } }); -exports.arrowSpacing = arrowSpacing; +module.exports = arrowSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/block-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/block-spacing.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/block-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/block-spacing.js index 0af14ff854c666..dd5c3730194669 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/block-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/block-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var blockSpacing = utils.createRule({ + name: "block-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Disallow or enforce spaces inside of blocks after opening block and before closing block", - url: "https://eslint.style/rules/js/block-spacing" + description: "Disallow or enforce spaces inside of blocks after opening block and before closing block" }, fixable: "whitespace", schema: [ @@ -100,4 +103,4 @@ var blockSpacing = utils.createRule({ } }); -exports.blockSpacing = blockSpacing; +module.exports = blockSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/brace-style.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/brace-style.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/brace-style.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/brace-style.js index 902b38461fd733..83ff3038e4b2a5 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/brace-style.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/brace-style.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var braceStyle = utils.createRule({ + name: "brace-style", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent brace style for blocks", - url: "https://eslint.style/rules/js/brace-style" + description: "Enforce consistent brace style for blocks" }, schema: [ { @@ -135,4 +138,4 @@ var braceStyle = utils.createRule({ } }); -exports.braceStyle = braceStyle; +module.exports = braceStyle; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-dangle.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-dangle.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-dangle.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-dangle.js index 3508924d955486..006be449af1958 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-dangle.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-dangle.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const DEFAULT_OPTIONS = Object.freeze({ arrays: "never", @@ -35,11 +37,12 @@ function normalizeOptions(optionValue, ecmaVersion) { return DEFAULT_OPTIONS; } var commaDangle = utils.createRule({ + name: "comma-dangle", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow trailing commas", - url: "https://eslint.style/rules/js/comma-dangle" + description: "Require or disallow trailing commas" }, fixable: "code", schema: { @@ -228,4 +231,4 @@ var commaDangle = utils.createRule({ } }); -exports.commaDangle = commaDangle; +module.exports = commaDangle; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-spacing.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-spacing.js index d44c2eccdc6c92..552d67ba359200 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var commaSpacing = utils.createRule({ + name: "comma-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before and after commas", - url: "https://eslint.style/rules/js/comma-spacing" + description: "Enforce consistent spacing before and after commas" }, fixable: "whitespace", schema: [ @@ -100,4 +103,4 @@ var commaSpacing = utils.createRule({ } }); -exports.commaSpacing = commaSpacing; +module.exports = commaSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-style.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-style.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-style.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-style.js index 502ba3842c9296..1f9ee7a7f73d5a 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/comma-style.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/comma-style.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var commaStyle = utils.createRule({ + name: "comma-style", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent comma style", - url: "https://eslint.style/rules/js/comma-style" + description: "Enforce consistent comma style" }, fixable: "code", schema: [ @@ -192,4 +195,4 @@ var commaStyle = utils.createRule({ } }); -exports.commaStyle = commaStyle; +module.exports = commaStyle; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/computed-property-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/computed-property-spacing.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/computed-property-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/computed-property-spacing.js index 17e91d511f30b1..8a634cb2d0171b 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/computed-property-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/computed-property-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var computedPropertySpacing = utils.createRule({ + name: "computed-property-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing inside computed property brackets", - url: "https://eslint.style/rules/js/computed-property-spacing" + description: "Enforce consistent spacing inside computed property brackets" }, fixable: "whitespace", schema: [ @@ -130,4 +133,4 @@ var computedPropertySpacing = utils.createRule({ } }); -exports.computedPropertySpacing = computedPropertySpacing; +module.exports = computedPropertySpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/dot-location.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/dot-location.js similarity index 92% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/dot-location.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/dot-location.js index 52edb942109e3b..4a6e9b0e728d46 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/dot-location.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/dot-location.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var dotLocation = utils.createRule({ + name: "dot-location", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent newlines before and after dots", - url: "https://eslint.style/rules/js/dot-location" + description: "Enforce consistent newlines before and after dots" }, schema: [ { @@ -66,4 +69,4 @@ var dotLocation = utils.createRule({ } }); -exports.dotLocation = dotLocation; +module.exports = dotLocation; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/eol-last.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/eol-last.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/eol-last.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/eol-last.js index 3eec714cc12722..3574f4d0942b7d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/eol-last.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/eol-last.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var eolLast = utils.createRule({ + name: "eol-last", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow newline at the end of files", - url: "https://eslint.style/rules/js/eol-last" + description: "Require or disallow newline at the end of files" }, fixable: "whitespace", schema: [ @@ -77,4 +80,4 @@ var eolLast = utils.createRule({ } }); -exports.eolLast = eolLast; +module.exports = eolLast; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-call-argument-newline.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-call-argument-newline.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-call-argument-newline.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-call-argument-newline.js index 6845a00768c142..c071bced8ae8d2 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-call-argument-newline.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-call-argument-newline.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var functionCallArgumentNewline = utils.createRule({ + name: "function-call-argument-newline", + package: "js", meta: { type: "layout", docs: { - description: "Enforce line breaks between arguments of a function call", - url: "https://eslint.style/rules/js/function-call-argument-newline" + description: "Enforce line breaks between arguments of a function call" }, fixable: "whitespace", schema: [ @@ -81,4 +84,4 @@ var functionCallArgumentNewline = utils.createRule({ } }); -exports.functionCallArgumentNewline = functionCallArgumentNewline; +module.exports = functionCallArgumentNewline; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-call-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-call-spacing.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-call-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-call-spacing.js index b8a90d45a67d92..0a176c5e6baa50 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-call-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-call-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var functionCallSpacing = utils.createRule({ + name: "function-call-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow spacing between function identifiers and their invocations", - url: "https://eslint.style/rules/js/function-call-spacing" + description: "Require or disallow spacing between function identifiers and their invocations" }, fixable: "whitespace", schema: { @@ -141,4 +144,4 @@ var functionCallSpacing = utils.createRule({ } }); -exports.functionCallSpacing = functionCallSpacing; +module.exports = functionCallSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-paren-newline.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-paren-newline.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-paren-newline.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-paren-newline.js index b04502763ff344..6c62757c714eb3 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/function-paren-newline.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/function-paren-newline.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var functionParenNewline = utils.createRule({ + name: "function-paren-newline", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent line breaks inside function parentheses", - url: "https://eslint.style/rules/js/function-paren-newline" + description: "Enforce consistent line breaks inside function parentheses" }, fixable: "whitespace", schema: [ @@ -191,4 +194,4 @@ var functionParenNewline = utils.createRule({ } }); -exports.functionParenNewline = functionParenNewline; +module.exports = functionParenNewline; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/generator-star-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/generator-star-spacing.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/generator-star-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/generator-star-spacing.js index e863c7ea3e0da7..3d04d0c39a8c67 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/generator-star-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/generator-star-spacing.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const OVERRIDE_SCHEMA = { oneOf: [ @@ -19,11 +21,12 @@ const OVERRIDE_SCHEMA = { ] }; var generatorStarSpacing = utils.createRule({ + name: "generator-star-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing around `*` operators in generator functions", - url: "https://eslint.style/rules/js/generator-star-spacing" + description: "Enforce consistent spacing around `*` operators in generator functions" }, fixable: "whitespace", schema: [ @@ -129,4 +132,4 @@ var generatorStarSpacing = utils.createRule({ } }); -exports.generatorStarSpacing = generatorStarSpacing; +module.exports = generatorStarSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/implicit-arrow-linebreak.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/implicit-arrow-linebreak.js similarity index 90% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/implicit-arrow-linebreak.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/implicit-arrow-linebreak.js index 3bed145a63414e..4d7d375a3382eb 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/implicit-arrow-linebreak.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/implicit-arrow-linebreak.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var implicitArrowLinebreak = utils.createRule({ + name: "implicit-arrow-linebreak", + package: "js", meta: { type: "layout", docs: { - description: "Enforce the location of arrow function bodies", - url: "https://eslint.style/rules/js/implicit-arrow-linebreak" + description: "Enforce the location of arrow function bodies" }, fixable: "whitespace", schema: [ @@ -53,4 +56,4 @@ var implicitArrowLinebreak = utils.createRule({ } }); -exports.implicitArrowLinebreak = implicitArrowLinebreak; +module.exports = implicitArrowLinebreak; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/indent.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/indent.js similarity index 98% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/indent.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/indent.js index cdea878097146c..1d548eb9a1aa56 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/indent.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/indent.js @@ -1,13 +1,12 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var __defProp = Object.defineProperty; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; -var __publicField = (obj, key, value) => { - __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); - return value; -}; +var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); const KNOWN_NODES = /* @__PURE__ */ new Set([ "AssignmentExpression", "AssignmentPattern", @@ -367,11 +366,12 @@ const ELEMENT_LIST_SCHEMA = { ] }; var indent = utils.createRule({ + name: "indent", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent indentation", - url: "https://eslint.style/rules/js/indent" + description: "Enforce consistent indentation" }, fixable: "whitespace", schema: [ @@ -859,7 +859,12 @@ var indent = utils.createRule({ }, "FunctionDeclaration, FunctionExpression": function(node) { const closingParen = sourceCode.getTokenBefore(node.body); - const openingParen = sourceCode.getTokenBefore(node.params.length ? node.params[0] : closingParen); + const openingParen = sourceCode.getTokenBefore( + node.params.length ? node.params[0].decorators?.length ? node.params[0].decorators[0] : node.params[0] : closingParen, + { + filter: utils.isOpeningParenToken + } + ); parameterParens.add(openingParen); parameterParens.add(closingParen); addElementListIndent(node.params, openingParen, closingParen, options[node.type].parameters); @@ -972,7 +977,7 @@ var indent = utils.createRule({ offsets.setDesiredOffset(bracketTokenR, bracketTokenL, 0); } else { const idToken = keyLastToken = sourceCode.getFirstToken(node.key); - if (idToken !== firstToken) + if (!node.decorators?.length && idToken !== firstToken) offsets.setDesiredOffset(idToken, firstToken, 1); } if (node.value) { @@ -1251,4 +1256,4 @@ ${indent}${p1}`); } }); -exports.indent = indent; +module.exports = indent; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/jsx-quotes.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/jsx-quotes.js similarity index 88% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/jsx-quotes.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/jsx-quotes.js index 43ae23e82d8ded..7f24ca04700011 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/jsx-quotes.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/jsx-quotes.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const QUOTE_SETTINGS = { "prefer-double": { @@ -19,11 +21,12 @@ const QUOTE_SETTINGS = { } }; var jsxQuotes = utils.createRule({ + name: "jsx-quotes", + package: "js", meta: { type: "layout", docs: { - description: "Enforce the consistent use of either double or single quotes in JSX attributes", - url: "https://eslint.style/rules/js/jsx-quotes" + description: "Enforce the consistent use of either double or single quotes in JSX attributes" }, fixable: "whitespace", schema: [ @@ -62,4 +65,4 @@ var jsxQuotes = utils.createRule({ } }); -exports.jsxQuotes = jsxQuotes; +module.exports = jsxQuotes; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/key-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/key-spacing.js similarity index 98% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/key-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/key-spacing.js index 082229c05909ec..8a30a70c9dc9af 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/key-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/key-spacing.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function containsLineTerminator(str) { return utils.LINEBREAK_MATCHER.test(str); @@ -62,11 +64,12 @@ function initOptions(toOptions, fromOptions) { return toOptions; } var keySpacing = utils.createRule({ + name: "key-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing between keys and values in object literal properties", - url: "https://eslint.style/rules/js/key-spacing" + description: "Enforce consistent spacing between keys and values in object literal properties" }, fixable: "whitespace", schema: [{ @@ -345,7 +348,7 @@ var keySpacing = utils.createRule({ function getKeyWidth(property) { const startToken = sourceCode.getFirstToken(property); const endToken = getLastTokenBeforeColon(property.key); - return utils.getGraphemeCount(sourceCode.getText().slice(startToken.range[0], endToken.range[1])); + return utils.getStringLength(sourceCode.getText().slice(startToken.range[0], endToken.range[1])); } function getPropertyWhitespace(property) { const whitespace = /(\s*):(\s*)/u.exec(sourceCode.getText().slice( @@ -447,4 +450,4 @@ var keySpacing = utils.createRule({ } }); -exports.keySpacing = keySpacing; +module.exports = keySpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/keyword-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/keyword-spacing.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/keyword-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/keyword-spacing.js index 500c9a15dc324c..bd1fe60dfde0f0 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/keyword-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/keyword-spacing.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const PREV_TOKEN = /^[)\]}>]$/u; const NEXT_TOKEN = /^(?:[([{<~!]|\+\+?|--?)$/u; @@ -9,7 +11,7 @@ const NEXT_TOKEN_M = /^[{*]$/u; const TEMPLATE_OPEN_PAREN = /\$\{$/u; const TEMPLATE_CLOSE_PAREN = /^\}/u; const CHECK_TYPE = /^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u; -const KEYS = utils.keywords.concat(["as", "async", "await", "from", "get", "let", "of", "set", "yield"]); +const KEYS = utils.KEYWORDS_JS.concat(["as", "async", "await", "from", "get", "let", "of", "set", "yield"]); (function() { KEYS.sort(); for (let i = 1; i < KEYS.length; ++i) { @@ -24,11 +26,12 @@ function isCloseParenOfTemplate(token) { return token.type === "Template" && TEMPLATE_CLOSE_PAREN.test(token.value); } var keywordSpacing = utils.createRule({ + name: "keyword-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before and after keywords", - url: "https://eslint.style/rules/js/keyword-spacing" + description: "Enforce consistent spacing before and after keywords" }, fixable: "whitespace", schema: [ @@ -333,4 +336,4 @@ var keywordSpacing = utils.createRule({ } }); -exports.keywordSpacing = keywordSpacing; +module.exports = keywordSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/line-comment-position.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/line-comment-position.js similarity index 92% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/line-comment-position.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/line-comment-position.js index a66fd29c78987c..41a807967541f7 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/line-comment-position.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/line-comment-position.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var lineCommentPosition = utils.createRule({ + name: "line-comment-position", + package: "js", meta: { type: "layout", docs: { - description: "Enforce position of line comments", - url: "https://eslint.style/rules/js/line-comment-position" + description: "Enforce position of line comments" }, schema: [ { @@ -94,4 +97,4 @@ var lineCommentPosition = utils.createRule({ } }); -exports.lineCommentPosition = lineCommentPosition; +module.exports = lineCommentPosition; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/linebreak-style.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/linebreak-style.js similarity index 88% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/linebreak-style.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/linebreak-style.js index 6b0cad6ff3cda6..799a7764018229 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/linebreak-style.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/linebreak-style.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var linebreakStyle = utils.createRule({ + name: "linebreak-style", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent linebreak style", - url: "https://eslint.style/rules/js/linebreak-style" + description: "Enforce consistent linebreak style" }, fixable: "whitespace", schema: [ @@ -64,4 +67,4 @@ var linebreakStyle = utils.createRule({ } }); -exports.linebreakStyle = linebreakStyle; +module.exports = linebreakStyle; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/lines-around-comment.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/lines-around-comment.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/lines-around-comment.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/lines-around-comment.js index 2ceea60d286274..316a101a85bb1d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/lines-around-comment.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/lines-around-comment.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function getEmptyLineNums(lines) { const emptyLines = lines.map((line, i) => ({ @@ -19,11 +21,12 @@ function getCommentLineNums(comments) { return lines; } var linesAroundComment = utils.createRule({ + name: "lines-around-comment", + package: "js", meta: { type: "layout", docs: { - description: "Require empty lines around comments", - url: "https://eslint.style/rules/js/lines-around-comment" + description: "Require empty lines around comments" }, fixable: "whitespace", schema: [ @@ -254,4 +257,4 @@ var linesAroundComment = utils.createRule({ } }); -exports.linesAroundComment = linesAroundComment; +module.exports = linesAroundComment; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/lines-between-class-members.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/lines-between-class-members.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/lines-between-class-members.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/lines-between-class-members.js index f7650753fa6693..7705454260da1d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/lines-between-class-members.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/lines-between-class-members.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const ClassMemberTypes = { "*": { test: () => true }, @@ -9,11 +11,12 @@ const ClassMemberTypes = { }; var linesBetweenClassMembers = utils.createRule( { + name: "lines-between-class-members", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow an empty line between class members", - url: "https://eslint.style/rules/js/lines-between-class-members" + description: "Require or disallow an empty line between class members" }, fixable: "whitespace", schema: [ @@ -144,4 +147,4 @@ var linesBetweenClassMembers = utils.createRule( } ); -exports.linesBetweenClassMembers = linesBetweenClassMembers; +module.exports = linesBetweenClassMembers; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/max-len.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/max-len.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/max-len.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/max-len.js index f19a0ae941f8a9..6320181cc2ba68 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/max-len.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/max-len.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const OPTIONS_SCHEMA = { type: "object", @@ -51,11 +53,12 @@ const OPTIONS_OR_INTEGER_SCHEMA = { ] }; var maxLen = utils.createRule({ + name: "max-len", + package: "js", meta: { type: "layout", docs: { - description: "Enforce a maximum line length", - url: "https://eslint.style/rules/js/max-len" + description: "Enforce a maximum line length" }, schema: [ OPTIONS_OR_INTEGER_SCHEMA, @@ -234,4 +237,4 @@ var maxLen = utils.createRule({ } }); -exports.maxLen = maxLen; +module.exports = maxLen; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/max-statements-per-line.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/max-statements-per-line.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/max-statements-per-line.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/max-statements-per-line.js index 6cb398f3d7eb25..5ba37500fb7d1b 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/max-statements-per-line.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/max-statements-per-line.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var maxStatementsPerLine = utils.createRule({ + name: "max-statements-per-line", + package: "js", meta: { type: "layout", docs: { - description: "Enforce a maximum number of statements allowed per line", - url: "https://eslint.style/rules/js/max-statements-per-line" + description: "Enforce a maximum number of statements allowed per line" }, schema: [ { @@ -126,4 +129,4 @@ var maxStatementsPerLine = utils.createRule({ } }); -exports.maxStatementsPerLine = maxStatementsPerLine; +module.exports = maxStatementsPerLine; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/multiline-comment-style.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/multiline-comment-style.js similarity index 98% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/multiline-comment-style.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/multiline-comment-style.js index ef6fb04de9063b..83c1488c788d59 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/multiline-comment-style.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/multiline-comment-style.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var multilineCommentStyle = utils.createRule({ + name: "multiline-comment-style", + package: "js", meta: { type: "suggestion", docs: { - description: "Enforce a particular style for multiline comments", - url: "https://eslint.style/rules/js/multiline-comment-style" + description: "Enforce a particular style for multiline comments" }, fixable: "whitespace", schema: { @@ -288,4 +291,4 @@ ${expectedLinePrefix}/`) } }); -exports.multilineCommentStyle = multilineCommentStyle; +module.exports = multilineCommentStyle; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/multiline-ternary.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/multiline-ternary.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/multiline-ternary.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/multiline-ternary.js index 8ee8c446db5e08..e371e1bc0dd418 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/multiline-ternary.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/multiline-ternary.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var multilineTernary = utils.createRule({ + name: "multiline-ternary", + package: "js", meta: { type: "layout", docs: { - description: "Enforce newlines between operands of ternary expressions", - url: "https://eslint.style/rules/js/multiline-ternary" + description: "Enforce newlines between operands of ternary expressions" }, schema: [ { @@ -142,4 +145,4 @@ var multilineTernary = utils.createRule({ } }); -exports.multilineTernary = multilineTernary; +module.exports = multilineTernary; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/new-parens.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/new-parens.js similarity index 89% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/new-parens.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/new-parens.js index 4d9a5e982181f8..47a7a171721a83 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/new-parens.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/new-parens.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var newParens = utils.createRule({ + name: "new-parens", + package: "js", meta: { type: "layout", docs: { - description: "Enforce or disallow parentheses when invoking a constructor with no arguments", - url: "https://eslint.style/rules/js/new-parens" + description: "Enforce or disallow parentheses when invoking a constructor with no arguments" }, fixable: "code", schema: [ @@ -60,4 +63,4 @@ var newParens = utils.createRule({ } }); -exports.newParens = newParens; +module.exports = newParens; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/newline-per-chained-call.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/newline-per-chained-call.js similarity index 92% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/newline-per-chained-call.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/newline-per-chained-call.js index def135fff02122..a5e13d0f6e1131 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/newline-per-chained-call.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/newline-per-chained-call.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var newlinePerChainedCall = utils.createRule({ + name: "newline-per-chained-call", + package: "js", meta: { type: "layout", docs: { - description: "Require a newline after each call in a method chain", - url: "https://eslint.style/rules/js/newline-per-chained-call" + description: "Require a newline after each call in a method chain" }, fixable: "whitespace", schema: [{ @@ -82,4 +85,4 @@ var newlinePerChainedCall = utils.createRule({ } }); -exports.newlinePerChainedCall = newlinePerChainedCall; +module.exports = newlinePerChainedCall; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-confusing-arrow.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-confusing-arrow.js similarity index 87% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-confusing-arrow.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-confusing-arrow.js index ebedd955453563..9901b6c170a9ab 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-confusing-arrow.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-confusing-arrow.js @@ -1,16 +1,19 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function isConditional(node) { return node.type === "ConditionalExpression"; } var noConfusingArrow = utils.createRule({ + name: "no-confusing-arrow", + package: "js", meta: { type: "layout", docs: { - description: "Disallow arrow functions where they could be confused with comparisons", - url: "https://eslint.style/rules/js/no-confusing-arrow" + description: "Disallow arrow functions where they could be confused with comparisons" }, fixable: "code", schema: [{ @@ -48,4 +51,4 @@ var noConfusingArrow = utils.createRule({ } }); -exports.noConfusingArrow = noConfusingArrow; +module.exports = noConfusingArrow; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-extra-parens.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-extra-parens.js similarity index 98% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-extra-parens.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-extra-parens.js index 282eb46c9350a9..e47cb44ce5bb2e 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-extra-parens.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-extra-parens.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noExtraParens = utils.createRule({ + name: "no-extra-parens", + package: "js", meta: { type: "layout", docs: { - description: "Disallow unnecessary parentheses", - url: "https://eslint.style/rules/js/no-extra-parens" + description: "Disallow unnecessary parentheses" }, fixable: "code", schema: { @@ -100,10 +103,10 @@ var noExtraParens = utils.createRule({ return ALL_NODES || node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression"; } function isParenthesised(node) { - return utils.isParenthesized(1, node, sourceCode); + return utils.isParenthesized(node, sourceCode, 1); } function isParenthesisedTwice(node) { - return utils.isParenthesized(2, node, sourceCode); + return utils.isParenthesized(node, sourceCode, 2); } function hasExcessParens(node) { return ruleApplies(node) && isParenthesised(node); @@ -179,7 +182,7 @@ var noExtraParens = utils.createRule({ return maybeCallNode.type === "CallExpression" && maybeCallNode.callee.type === "FunctionExpression"; } function canBeAssignmentTarget(node) { - return node && (node.type === "Identifier" || node.type === "MemberExpression"); + return !!(node && (node.type === "Identifier" || node.type === "MemberExpression")); } function isFixable(node) { if (node.type !== "Literal" || typeof node.value !== "string") @@ -372,7 +375,7 @@ var noExtraParens = utils.createRule({ node.elements.filter((e) => !!e && hasExcessParensWithPrecedence(e, PRECEDENCE_OF_ASSIGNMENT_EXPR)).forEach(report); }, ArrayPattern(node) { - node.elements.filter((e) => e && canBeAssignmentTarget(e) && hasExcessParens(e)).forEach(report); + node.elements.filter((e) => !!e && canBeAssignmentTarget(e) && hasExcessParens(e)).forEach(report); }, ArrowFunctionExpression(node) { if (isReturnAssignException(node)) @@ -647,4 +650,4 @@ var noExtraParens = utils.createRule({ } }); -exports.noExtraParens = noExtraParens; +module.exports = noExtraParens; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-extra-semi.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-extra-semi.js similarity index 91% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-extra-semi.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-extra-semi.js index 6bfe2c2dd2ca41..034dc0bd7d482f 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-extra-semi.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-extra-semi.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noExtraSemi = utils.createRule({ + name: "no-extra-semi", + package: "js", meta: { type: "layout", docs: { - description: "Disallow unnecessary semicolons", - url: "https://eslint.style/rules/js/no-extra-semi" + description: "Disallow unnecessary semicolons" }, fixable: "code", schema: [], @@ -75,4 +78,4 @@ var noExtraSemi = utils.createRule({ } }); -exports.noExtraSemi = noExtraSemi; +module.exports = noExtraSemi; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-floating-decimal.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-floating-decimal.js similarity index 87% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-floating-decimal.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-floating-decimal.js index 8fd5e9fc12331a..ef4f6b76e8a602 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-floating-decimal.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-floating-decimal.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noFloatingDecimal = utils.createRule({ + name: "no-floating-decimal", + package: "js", meta: { type: "layout", docs: { - description: "Disallow leading or trailing decimal points in numeric literals", - url: "https://eslint.style/rules/js/no-floating-decimal" + description: "Disallow leading or trailing decimal points in numeric literals" }, schema: [], fixable: "code", @@ -45,4 +48,4 @@ var noFloatingDecimal = utils.createRule({ } }); -exports.noFloatingDecimal = noFloatingDecimal; +module.exports = noFloatingDecimal; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-mixed-operators.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-mixed-operators.js similarity index 94% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-mixed-operators.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-mixed-operators.js index 1147596511979e..8ac808cf5d3d6e 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-mixed-operators.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-mixed-operators.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const ARITHMETIC_OPERATORS = ["+", "-", "*", "/", "%", "**"]; const BITWISE_OPERATORS = ["&", "|", "^", "~", "<<", ">>", ">>>"]; @@ -42,11 +44,12 @@ function getChildNode(node) { return node.type === "ConditionalExpression" ? node.test : node.left; } var noMixedOperators = utils.createRule({ + name: "no-mixed-operators", + package: "js", meta: { type: "layout", docs: { - description: "Disallow mixed binary operators", - url: "https://eslint.style/rules/js/no-mixed-operators" + description: "Disallow mixed binary operators" }, schema: [ { @@ -128,4 +131,4 @@ var noMixedOperators = utils.createRule({ } }); -exports.noMixedOperators = noMixedOperators; +module.exports = noMixedOperators; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-mixed-spaces-and-tabs.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-mixed-spaces-and-tabs.js similarity index 92% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-mixed-spaces-and-tabs.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-mixed-spaces-and-tabs.js index d4b53a242736d2..e405fd53dd615b 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-mixed-spaces-and-tabs.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-mixed-spaces-and-tabs.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noMixedSpacesAndTabs = utils.createRule({ + name: "no-mixed-spaces-and-tabs", + package: "js", meta: { type: "layout", docs: { - description: "Disallow mixed spaces and tabs for indentation", - url: "https://eslint.style/rules/js/no-mixed-spaces-and-tabs" + description: "Disallow mixed spaces and tabs for indentation" }, schema: [ { @@ -81,4 +84,4 @@ var noMixedSpacesAndTabs = utils.createRule({ } }); -exports.noMixedSpacesAndTabs = noMixedSpacesAndTabs; +module.exports = noMixedSpacesAndTabs; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-multi-spaces.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-multi-spaces.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-multi-spaces.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-multi-spaces.js index 5b9fa14dade63b..8ad9bdcddd06bc 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-multi-spaces.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-multi-spaces.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noMultiSpaces = utils.createRule({ + name: "no-multi-spaces", + package: "js", meta: { type: "layout", docs: { - description: "Disallow multiple spaces", - url: "https://eslint.style/rules/js/no-multi-spaces" + description: "Disallow multiple spaces" }, fixable: "whitespace", schema: [ @@ -89,4 +92,4 @@ var noMultiSpaces = utils.createRule({ } }); -exports.noMultiSpaces = noMultiSpaces; +module.exports = noMultiSpaces; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-multiple-empty-lines.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-multiple-empty-lines.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-multiple-empty-lines.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-multiple-empty-lines.js index 943f38f3fc7c95..60540ac5f364b2 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-multiple-empty-lines.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-multiple-empty-lines.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noMultipleEmptyLines = utils.createRule({ + name: "no-multiple-empty-lines", + package: "js", meta: { type: "layout", docs: { - description: "Disallow multiple empty lines", - url: "https://eslint.style/rules/js/no-multiple-empty-lines" + description: "Disallow multiple empty lines" }, fixable: "whitespace", schema: [ @@ -100,4 +103,4 @@ var noMultipleEmptyLines = utils.createRule({ } }); -exports.noMultipleEmptyLines = noMultipleEmptyLines; +module.exports = noMultipleEmptyLines; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-tabs.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-tabs.js similarity index 87% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-tabs.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-tabs.js index d8520738527002..612115570553d6 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-tabs.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-tabs.js @@ -1,15 +1,18 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const tabRegex = /\t+/gu; const anyNonWhitespaceRegex = /\S/u; var noTabs = utils.createRule({ + name: "no-tabs", + package: "js", meta: { type: "layout", docs: { - description: "Disallow all tabs", - url: "https://eslint.style/rules/js/no-tabs" + description: "Disallow all tabs" }, schema: [{ type: "object", @@ -56,4 +59,4 @@ var noTabs = utils.createRule({ } }); -exports.noTabs = noTabs; +module.exports = noTabs; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-trailing-spaces.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-trailing-spaces.js similarity index 95% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-trailing-spaces.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-trailing-spaces.js index f5377f0048fd88..f4b244c3893938 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-trailing-spaces.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-trailing-spaces.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noTrailingSpaces = utils.createRule({ + name: "no-trailing-spaces", + package: "js", meta: { type: "layout", docs: { - description: "Disallow trailing whitespace at the end of lines", - url: "https://eslint.style/rules/js/no-trailing-spaces" + description: "Disallow trailing whitespace at the end of lines" }, fixable: "whitespace", schema: [ @@ -104,4 +107,4 @@ var noTrailingSpaces = utils.createRule({ } }); -exports.noTrailingSpaces = noTrailingSpaces; +module.exports = noTrailingSpaces; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-whitespace-before-property.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-whitespace-before-property.js similarity index 87% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-whitespace-before-property.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-whitespace-before-property.js index 3cd0bb8d66ca68..0481b6cf9a4ecd 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/no-whitespace-before-property.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/no-whitespace-before-property.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var noWhitespaceBeforeProperty = utils.createRule({ + name: "no-whitespace-before-property", + package: "js", meta: { type: "layout", docs: { - description: "Disallow whitespace before properties", - url: "https://eslint.style/rules/js/no-whitespace-before-property" + description: "Disallow whitespace before properties" }, fixable: "whitespace", schema: [], @@ -59,4 +62,4 @@ var noWhitespaceBeforeProperty = utils.createRule({ } }); -exports.noWhitespaceBeforeProperty = noWhitespaceBeforeProperty; +module.exports = noWhitespaceBeforeProperty; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/nonblock-statement-body-position.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/nonblock-statement-body-position.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/nonblock-statement-body-position.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/nonblock-statement-body-position.js index f9d3851972b428..5b2ec261be9ee5 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/nonblock-statement-body-position.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/nonblock-statement-body-position.js @@ -1,17 +1,20 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const POSITION_SCHEMA = { type: "string", enum: ["beside", "below", "any"] }; var nonblockStatementBodyPosition = utils.createRule({ + name: "nonblock-statement-body-position", + package: "js", meta: { type: "layout", docs: { - description: "Enforce the location of single-line statements", - url: "https://eslint.style/rules/js/nonblock-statement-body-position" + description: "Enforce the location of single-line statements" }, fixable: "whitespace", schema: [ @@ -82,4 +85,4 @@ var nonblockStatementBodyPosition = utils.createRule({ } }); -exports.nonblockStatementBodyPosition = nonblockStatementBodyPosition; +module.exports = nonblockStatementBodyPosition; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-curly-newline.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-curly-newline.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-curly-newline.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-curly-newline.js index f016cce245bf98..0443ee0aaf45d0 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-curly-newline.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-curly-newline.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const OPTION_VALUE = { oneOf: [ @@ -80,11 +82,12 @@ function areLineBreaksRequired(node, options, first, last) { return objectProperties.length >= options.minProperties || options.multiline && objectProperties.length > 0 && first.loc.start.line !== last.loc.end.line; } var objectCurlyNewline = utils.createRule({ + name: "object-curly-newline", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent line breaks after opening and before closing braces", - url: "https://eslint.style/rules/js/object-curly-newline" + description: "Enforce consistent line breaks after opening and before closing braces" }, fixable: "whitespace", schema: [ @@ -207,4 +210,4 @@ var objectCurlyNewline = utils.createRule({ } }); -exports.objectCurlyNewline = objectCurlyNewline; +module.exports = objectCurlyNewline; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-curly-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-curly-spacing.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-curly-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-curly-spacing.js index f674d5df2a8ec2..206880a2cc0678 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-curly-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-curly-spacing.js @@ -1,14 +1,17 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var objectCurlySpacing = utils.createRule( { + name: "object-curly-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing inside braces", - url: "https://eslint.style/rules/js/object-curly-spacing" + description: "Enforce consistent spacing inside braces" }, fixable: "whitespace", schema: [ @@ -173,4 +176,4 @@ var objectCurlySpacing = utils.createRule( } ); -exports.objectCurlySpacing = objectCurlySpacing; +module.exports = objectCurlySpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-property-newline.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-property-newline.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-property-newline.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-property-newline.js index 5fad5d1d512912..61a5e7c9c62c3b 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/object-property-newline.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/object-property-newline.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var objectPropertyNewline = utils.createRule({ + name: "object-property-newline", + package: "js", meta: { type: "layout", docs: { - description: "Enforce placing object properties on separate lines", - url: "https://eslint.style/rules/js/object-property-newline" + description: "Enforce placing object properties on separate lines" }, schema: [ { @@ -70,4 +73,4 @@ var objectPropertyNewline = utils.createRule({ } }); -exports.objectPropertyNewline = objectPropertyNewline; +module.exports = objectPropertyNewline; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/one-var-declaration-per-line.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/one-var-declaration-per-line.js similarity index 86% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/one-var-declaration-per-line.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/one-var-declaration-per-line.js index 68fd3c55c2b0c2..515460b23df88d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/one-var-declaration-per-line.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/one-var-declaration-per-line.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var oneVarDeclarationPerLine = utils.createRule({ + name: "one-var-declaration-per-line", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow newlines around variable declarations", - url: "https://eslint.style/rules/js/one-var-declaration-per-line" + description: "Require or disallow newlines around variable declarations" }, schema: [ { @@ -50,4 +53,4 @@ var oneVarDeclarationPerLine = utils.createRule({ } }); -exports.oneVarDeclarationPerLine = oneVarDeclarationPerLine; +module.exports = oneVarDeclarationPerLine; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/operator-linebreak.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/operator-linebreak.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/operator-linebreak.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/operator-linebreak.js index 0368303a538a2d..4287b893520fee 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/operator-linebreak.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/operator-linebreak.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var operatorLinebreak = utils.createRule({ + name: "operator-linebreak", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent linebreak style for operators", - url: "https://eslint.style/rules/js/operator-linebreak" + description: "Enforce consistent linebreak style for operators" }, schema: [ { @@ -153,4 +156,4 @@ var operatorLinebreak = utils.createRule({ } }); -exports.operatorLinebreak = operatorLinebreak; +module.exports = operatorLinebreak; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/padded-blocks.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/padded-blocks.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/padded-blocks.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/padded-blocks.js index ef4009e12c3147..5c69ffbf7d0872 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/padded-blocks.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/padded-blocks.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var paddedBlocks = utils.createRule({ + name: "padded-blocks", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow padding within blocks", - url: "https://eslint.style/rules/js/padded-blocks" + description: "Require or disallow padding within blocks" }, fixable: "whitespace", schema: [ @@ -211,4 +214,4 @@ var paddedBlocks = utils.createRule({ } }); -exports.paddedBlocks = paddedBlocks; +module.exports = paddedBlocks; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/padding-line-between-statements.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/padding-line-between-statements.js similarity index 98% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/padding-line-between-statements.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/padding-line-between-statements.js index 5ecf25681dccd0..04e06444d428a2 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/padding-line-between-statements.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/padding-line-between-statements.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const LT = `[${Array.from(utils.LINEBREAKS).join("")}]`; const PADDING_LINE_SEQUENCE = new RegExp( @@ -189,11 +191,12 @@ const StatementTypes = { "with": newKeywordTester("with") }; var paddingLineBetweenStatements = utils.createRule({ + name: "padding-line-between-statements", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow padding lines between statements", - url: "https://eslint.style/rules/js/padding-line-between-statements" + description: "Require or disallow padding lines between statements" }, fixable: "whitespace", schema: { @@ -310,4 +313,4 @@ var paddingLineBetweenStatements = utils.createRule({ } }); -exports.paddingLineBetweenStatements = paddingLineBetweenStatements; +module.exports = paddingLineBetweenStatements; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/quote-props.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/quote-props.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/quote-props.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/quote-props.js index b0d260e6532c13..d805dcd2cd5dce 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/quote-props.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/quote-props.js @@ -1,14 +1,16 @@ 'use strict'; var espree = require('espree'); -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); var quoteProps = utils.createRule({ + name: "quote-props", + package: "js", meta: { type: "layout", docs: { - description: "Require quotes around object literal property names", - url: "https://eslint.style/rules/js/quote-props" + description: "Require quotes around object literal property names" }, schema: { anyOf: [ @@ -69,7 +71,7 @@ var quoteProps = utils.createRule({ const NUMBERS = context.options[1] && context.options[1].numbers; const sourceCode = context.sourceCode; function isKeyword(tokenStr) { - return utils.keywords.includes(tokenStr); + return utils.KEYWORDS_JS.includes(tokenStr); } function areQuotesRedundant(rawKey, tokens, skipNumberLiterals = false) { return tokens.length === 1 && tokens[0].start === 0 && tokens[0].end === rawKey.length && (["Identifier", "Keyword", "Null", "Boolean"].includes(tokens[0].type) || tokens[0].type === "Numeric" && !skipNumberLiterals && String(+tokens[0].value) === tokens[0].value); @@ -210,4 +212,4 @@ var quoteProps = utils.createRule({ } }); -exports.quoteProps = quoteProps; +module.exports = quoteProps; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/quotes.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/quotes.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/quotes.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/quotes.js index a8859cdf9b59bc..868198b0de505c 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/quotes.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/quotes.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function switchQuote(str) { const newQuote = this.quote; @@ -40,11 +42,12 @@ const QUOTE_SETTINGS = { const UNESCAPED_LINEBREAK_PATTERN = new RegExp(String.raw`(^|[^\\])(\\\\)*[${Array.from(utils.LINEBREAKS).join("")}]`, "u"); const AVOID_ESCAPE = "avoid-escape"; var quotes = utils.createRule({ + name: "quotes", + package: "js", meta: { type: "layout", docs: { - description: "Enforce the consistent use of either backticks, double, or single quotes", - url: "https://eslint.style/rules/js/quotes" + description: "Enforce the consistent use of either backticks, double, or single quotes" }, fixable: "code", schema: [ @@ -204,4 +207,4 @@ var quotes = utils.createRule({ } }); -exports.quotes = quotes; +module.exports = quotes; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rest-spread-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/rest-spread-spacing.js similarity index 91% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rest-spread-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/rest-spread-spacing.js index 901fe993bdeeaa..1b1e448fd45a57 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rest-spread-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/rest-spread-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var restSpreadSpacing = utils.createRule({ + name: "rest-spread-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce spacing between rest and spread operators and their expressions", - url: "https://eslint.style/rules/js/rest-spread-spacing" + description: "Enforce spacing between rest and spread operators and their expressions" }, fixable: "whitespace", schema: [ @@ -79,4 +82,4 @@ var restSpreadSpacing = utils.createRule({ } }); -exports.restSpreadSpacing = restSpreadSpacing; +module.exports = restSpreadSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi-spacing.js similarity index 96% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi-spacing.js index d767c23dbdbc02..efc1144b472627 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var semiSpacing = utils.createRule({ + name: "semi-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before and after semicolons", - url: "https://eslint.style/rules/js/semi-spacing" + description: "Enforce consistent spacing before and after semicolons" }, fixable: "whitespace", schema: [ @@ -154,4 +157,4 @@ var semiSpacing = utils.createRule({ } }); -exports.semiSpacing = semiSpacing; +module.exports = semiSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi-style.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi-style.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi-style.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi-style.js index 1cc371ec1b46ad..32856ea551f34e 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi-style.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi-style.js @@ -1,6 +1,8 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); const SELECTOR = [ "BreakStatement", @@ -40,11 +42,12 @@ function isLastChild(node) { return nodeList !== null && nodeList[nodeList.length - 1] === node; } var semiStyle = utils.createRule({ + name: "semi-style", + package: "js", meta: { type: "layout", docs: { - description: "Enforce location of semicolons", - url: "https://eslint.style/rules/js/semi-style" + description: "Enforce location of semicolons" }, schema: [{ type: "string", enum: ["last", "first"] }], fixable: "whitespace", @@ -98,4 +101,4 @@ var semiStyle = utils.createRule({ } }); -exports.semiStyle = semiStyle; +module.exports = semiStyle; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi.js similarity index 98% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi.js index e5522cf7128a75..ee99a086dac7ee 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/semi.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/semi.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var semi = utils.createRule({ + name: "semi", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow semicolons instead of ASI", - url: "https://eslint.style/rules/js/semi" + description: "Require or disallow semicolons instead of ASI" }, fixable: "code", schema: { @@ -227,4 +230,4 @@ var semi = utils.createRule({ } }); -exports.semi = semi; +module.exports = semi; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-before-blocks.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-before-blocks.js similarity index 94% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-before-blocks.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-before-blocks.js index ce8a8da1fb9c53..c9f78455d26c1c 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-before-blocks.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-before-blocks.js @@ -1,17 +1,20 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function isFunctionBody(node) { const parent = node.parent; return node.type === "BlockStatement" && utils.isFunction(parent) && parent.body === node; } var spaceBeforeBlocks = utils.createRule({ + name: "space-before-blocks", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before blocks", - url: "https://eslint.style/rules/js/space-before-blocks" + description: "Enforce consistent spacing before blocks" }, fixable: "whitespace", schema: [ @@ -126,4 +129,4 @@ var spaceBeforeBlocks = utils.createRule({ } }); -exports.spaceBeforeBlocks = spaceBeforeBlocks; +module.exports = spaceBeforeBlocks; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-before-function-paren.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-before-function-paren.js similarity index 94% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-before-function-paren.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-before-function-paren.js index 60b49c4b291135..f861e77a66f8ab 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-before-function-paren.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-before-function-paren.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var spaceBeforeFunctionParen = utils.createRule({ + name: "space-before-function-paren", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before `function` definition opening parenthesis", - url: "https://eslint.style/rules/js/space-before-function-paren" + description: "Enforce consistent spacing before `function` definition opening parenthesis" }, fixable: "whitespace", schema: [ @@ -106,4 +109,4 @@ var spaceBeforeFunctionParen = utils.createRule({ } }); -exports.spaceBeforeFunctionParen = spaceBeforeFunctionParen; +module.exports = spaceBeforeFunctionParen; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-in-parens.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-in-parens.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-in-parens.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-in-parens.js index bdcbfdc77bc394..da49b76c6442ff 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-in-parens.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-in-parens.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var spaceInParens = utils.createRule({ + name: "space-in-parens", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing inside parentheses", - url: "https://eslint.style/rules/js/space-in-parens" + description: "Enforce consistent spacing inside parentheses" }, fixable: "whitespace", schema: [ @@ -180,4 +183,4 @@ var spaceInParens = utils.createRule({ } }); -exports.spaceInParens = spaceInParens; +module.exports = spaceInParens; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-infix-ops.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-infix-ops.js similarity index 94% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-infix-ops.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-infix-ops.js index c765f0b6b113bc..95c336d5a6850c 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-infix-ops.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-infix-ops.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var spaceInfixOps = utils.createRule({ + name: "space-infix-ops", + package: "js", meta: { type: "layout", docs: { - description: "Require spacing around infix operators", - url: "https://eslint.style/rules/js/space-infix-ops" + description: "Require spacing around infix operators" }, fixable: "whitespace", schema: [ @@ -106,4 +109,4 @@ var spaceInfixOps = utils.createRule({ } }); -exports.spaceInfixOps = spaceInfixOps; +module.exports = spaceInfixOps; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-unary-ops.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-unary-ops.js similarity index 97% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-unary-ops.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-unary-ops.js index e41574c5755eaf..d4bfb1df325a26 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/space-unary-ops.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/space-unary-ops.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var spaceUnaryOps = utils.createRule({ + name: "space-unary-ops", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing before or after unary operators", - url: "https://eslint.style/rules/js/space-unary-ops" + description: "Enforce consistent spacing before or after unary operators" }, fixable: "whitespace", schema: [ @@ -198,4 +201,4 @@ var spaceUnaryOps = utils.createRule({ } }); -exports.spaceUnaryOps = spaceUnaryOps; +module.exports = spaceUnaryOps; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/spaced-comment.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/spaced-comment.js similarity index 91% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/spaced-comment.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/spaced-comment.js index c6c6ed0e71d3a6..db7083eb92bb2a 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/spaced-comment.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/spaced-comment.js @@ -1,21 +1,12 @@ 'use strict'; -var utils = require('./utils.js'); - -function escapeStringRegexp(string) { - if (typeof string !== 'string') { - throw new TypeError('Expected a string'); - } - - // Escape characters with special meaning either inside or outside character sets. - // Use a simple backslash escape when it’s always valid, and a `\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar. - return string - .replace(/[|\\{}()[\]^$+*?.]/g, '\\$&') - .replace(/-/g, '\\x2d'); -} +var vendor = require('../vendor.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function escape(s) { - return `(?:${escapeStringRegexp(s)})`; + return `(?:${vendor.escapeStringRegexp(s)})`; } function escapeAndRepeat(s) { return `${escape(s)}+`; @@ -60,11 +51,12 @@ function createNeverStylePattern(markers) { return new RegExp(pattern, "u"); } var spacedComment = utils.createRule({ + name: "spaced-comment", + package: "js", meta: { type: "layout", docs: { - description: "Enforce consistent spacing after the `//` or `/*` in a comment", - url: "https://eslint.style/rules/js/spaced-comment" + description: "Enforce consistent spacing after the `//` or `/*` in a comment" }, fixable: "whitespace", schema: [ @@ -236,4 +228,4 @@ var spacedComment = utils.createRule({ } }); -exports.spacedComment = spacedComment; +module.exports = spacedComment; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/switch-colon-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/switch-colon-spacing.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/switch-colon-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/switch-colon-spacing.js index 0f47a070ecbb4c..63ad83366b83c4 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/switch-colon-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/switch-colon-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var switchColonSpacing = utils.createRule({ + name: "switch-colon-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Enforce spacing around colons of switch statements", - url: "https://eslint.style/rules/js/switch-colon-spacing" + description: "Enforce spacing around colons of switch statements" }, schema: [ { @@ -78,4 +81,4 @@ var switchColonSpacing = utils.createRule({ } }); -exports.switchColonSpacing = switchColonSpacing; +module.exports = switchColonSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/template-curly-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/template-curly-spacing.js similarity index 93% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/template-curly-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/template-curly-spacing.js index 2e142271a037e6..3feff0feb6ece9 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/template-curly-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/template-curly-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var templateCurlySpacing = utils.createRule({ + name: "template-curly-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow spacing around embedded expressions of template strings", - url: "https://eslint.style/rules/js/template-curly-spacing" + description: "Require or disallow spacing around embedded expressions of template strings" }, fixable: "whitespace", schema: [ @@ -98,4 +101,4 @@ var templateCurlySpacing = utils.createRule({ } }); -exports.templateCurlySpacing = templateCurlySpacing; +module.exports = templateCurlySpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/template-tag-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/template-tag-spacing.js similarity index 90% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/template-tag-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/template-tag-spacing.js index 0b650d56b63888..23852db9c0304d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/template-tag-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/template-tag-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var templateTagSpacing = utils.createRule({ + name: "template-tag-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow spacing between template tags and their literals", - url: "https://eslint.style/rules/js/template-tag-spacing" + description: "Require or disallow spacing between template tags and their literals" }, fixable: "whitespace", schema: [ @@ -66,4 +69,4 @@ var templateTagSpacing = utils.createRule({ } }); -exports.templateTagSpacing = templateTagSpacing; +module.exports = templateTagSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/wrap-iife.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/wrap-iife.js similarity index 94% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/wrap-iife.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/wrap-iife.js index a1a4759e4180e7..7235c04f526546 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/wrap-iife.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/wrap-iife.js @@ -1,17 +1,20 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); function isCalleeOfNewExpression(node) { const maybeCallee = node.parent?.type === "ChainExpression" ? node.parent : node; return maybeCallee.parent?.type === "NewExpression" && maybeCallee.parent.callee === maybeCallee; } var wrapIife = utils.createRule({ + name: "wrap-iife", + package: "js", meta: { type: "layout", docs: { - description: "Require parentheses around immediate `function` invocations", - url: "https://eslint.style/rules/js/wrap-iife" + description: "Require parentheses around immediate `function` invocations" }, schema: [ { @@ -44,7 +47,7 @@ var wrapIife = utils.createRule({ return utils.isParenthesised(sourceCode, node); } function isWrappedInGroupingParens(node) { - return utils.isParenthesized(1, node, sourceCode); + return utils.isParenthesized(node, sourceCode, 1); } function getFunctionNodeFromIIFE(node) { const callee = utils.skipChainExpression(node.callee); @@ -110,4 +113,4 @@ var wrapIife = utils.createRule({ } }); -exports.wrapIife = wrapIife; +module.exports = wrapIife; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/wrap-regex.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/wrap-regex.js similarity index 82% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/wrap-regex.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/wrap-regex.js index ca1405f3a22725..ee74593cdfc5e0 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/wrap-regex.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/wrap-regex.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var wrapRegex = utils.createRule({ + name: "wrap-regex", + package: "js", meta: { type: "layout", docs: { - description: "Require parenthesis around regex literals", - url: "https://eslint.style/rules/js/wrap-regex" + description: "Require parenthesis around regex literals" }, schema: [], fixable: "code", @@ -38,4 +41,4 @@ var wrapRegex = utils.createRule({ } }); -exports.wrapRegex = wrapRegex; +module.exports = wrapRegex; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/yield-star-spacing.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/yield-star-spacing.js similarity index 92% rename from tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/yield-star-spacing.js rename to tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/yield-star-spacing.js index 445e09452687c9..9a1d35079fac57 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/yield-star-spacing.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/rules/yield-star-spacing.js @@ -1,13 +1,16 @@ 'use strict'; -var utils = require('./utils.js'); +var utils = require('../utils.js'); +require('eslint-visitor-keys'); +require('espree'); var yieldStarSpacing = utils.createRule({ + name: "yield-star-spacing", + package: "js", meta: { type: "layout", docs: { - description: "Require or disallow spacing around the `*` in `yield*` expressions", - url: "https://eslint.style/rules/js/yield-star-spacing" + description: "Require or disallow spacing around the `*` in `yield*` expressions" }, fixable: "whitespace", schema: [ @@ -84,4 +87,4 @@ var yieldStarSpacing = utils.createRule({ } }); -exports.yieldStarSpacing = yieldStarSpacing; +module.exports = yieldStarSpacing; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/utils.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/utils.js index c3aa922d40fdd5..21dcfadb3c3823 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/utils.js +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/utils.js @@ -73,7 +73,7 @@ function getStaticPropertyName(node) { function skipChainExpression(node) { return node && node.type === "ChainExpression" ? node.expression : node; } -function negate$1(f) { +function negate(f) { return (token) => !f(token); } function isParenthesised(sourceCode, node) { @@ -84,40 +84,40 @@ function isParenthesised(sourceCode, node) { function isEqToken(token) { return token.value === "=" && token.type === "Punctuator"; } -function isArrowToken$1(token) { +function isArrowToken(token) { return token.value === "=>" && token.type === "Punctuator"; } -function isCommaToken$1(token) { +function isCommaToken(token) { return token.value === "," && token.type === "Punctuator"; } function isQuestionDotToken(token) { return token.value === "?." && token.type === "Punctuator"; } -function isSemicolonToken$1(token) { +function isSemicolonToken(token) { return token.value === ";" && token.type === "Punctuator"; } -function isColonToken$1(token) { +function isColonToken(token) { return token.value === ":" && token.type === "Punctuator"; } -function isOpeningParenToken$1(token) { +function isOpeningParenToken(token) { return token.value === "(" && token.type === "Punctuator"; } -function isClosingParenToken$1(token) { +function isClosingParenToken(token) { return token.value === ")" && token.type === "Punctuator"; } -function isOpeningBracketToken$1(token) { +function isOpeningBracketToken(token) { return token.value === "[" && token.type === "Punctuator"; } -function isClosingBracketToken$1(token) { +function isClosingBracketToken(token) { return token.value === "]" && token.type === "Punctuator"; } -function isOpeningBraceToken$1(token) { +function isOpeningBraceToken(token) { return token.value === "{" && token.type === "Punctuator"; } -function isClosingBraceToken$1(token) { +function isClosingBraceToken(token) { return token.value === "}" && token.type === "Punctuator"; } -function isCommentToken$1(token) { +function isCommentToken(token) { if (!token) return false; return token.type === "Line" || token.type === "Block" || token.type === "Shebang"; @@ -136,7 +136,7 @@ function isMixedLogicalAndCoalesceExpressions(left, right) { } function getSwitchCaseColonToken(node, sourceCode) { if ("test" in node && node.test) - return sourceCode.getTokenAfter(node.test, (token) => isColonToken$1(token)); + return sourceCode.getTokenAfter(node.test, (token) => isColonToken(token)); return sourceCode.getFirstToken(node, 1); } function isTopLevelExpressionStatement(node) { @@ -151,11 +151,11 @@ function isDirective(node) { function isTokenOnSameLine(left, right) { return left?.loc?.end.line === right?.loc?.start.line; } -const isNotClosingParenToken = negate$1(isClosingParenToken$1); -const isNotCommaToken = negate$1(isCommaToken$1); -const isNotQuestionDotToken = negate$1(isQuestionDotToken); -const isNotOpeningParenToken = negate$1(isOpeningParenToken$1); -const isNotSemicolonToken = negate$1(isSemicolonToken$1); +const isNotClosingParenToken = /* @__PURE__ */ negate(isClosingParenToken); +const isNotCommaToken = /* @__PURE__ */ negate(isCommaToken); +const isNotQuestionDotToken = /* @__PURE__ */ negate(isQuestionDotToken); +const isNotOpeningParenToken = /* @__PURE__ */ negate(isOpeningParenToken); +const isNotSemicolonToken = /* @__PURE__ */ negate(isSemicolonToken); function isStringLiteral(node) { return node.type === "Literal" && typeof node.value === "string" || node.type === "TemplateLiteral"; } @@ -322,22 +322,135 @@ function canTokensBeAdjacent(leftValue, rightValue) { function hasOctalOrNonOctalDecimalEscapeSequence(rawString) { return OCTAL_OR_NON_OCTAL_DECIMAL_ESCAPE_PATTERN.test(rawString); } - -function createRule(rule) { - return rule; +function getParentSyntaxParen(node, sourceCode) { + const parent = node.parent; + if (!parent) + return null; + switch (parent.type) { + case "CallExpression": + case "NewExpression": + if (parent.arguments.length === 1 && parent.arguments[0] === node) { + return sourceCode.getTokenAfter( + parent.callee, + isOpeningParenToken + ); + } + return null; + case "DoWhileStatement": + if (parent.test === node) { + return sourceCode.getTokenAfter( + parent.body, + isOpeningParenToken + ); + } + return null; + case "IfStatement": + case "WhileStatement": + if (parent.test === node) { + return sourceCode.getFirstToken(parent, 1); + } + return null; + case "ImportExpression": + if (parent.source === node) { + return sourceCode.getFirstToken(parent, 1); + } + return null; + case "SwitchStatement": + if (parent.discriminant === node) { + return sourceCode.getFirstToken(parent, 1); + } + return null; + case "WithStatement": + if (parent.object === node) { + return sourceCode.getFirstToken(parent, 1); + } + return null; + default: + return null; + } +} +function isParenthesized(node, sourceCode, times = 1) { + let maybeLeftParen, maybeRightParen; + if (node == null || node.parent == null || node.parent.type === "CatchClause" && node.parent.param === node) { + return false; + } + maybeLeftParen = maybeRightParen = node; + do { + maybeLeftParen = sourceCode.getTokenBefore(maybeLeftParen); + maybeRightParen = sourceCode.getTokenAfter(maybeRightParen); + } while (maybeLeftParen != null && maybeRightParen != null && (maybeLeftParen.type === "Punctuator" && maybeLeftParen.value === "(") && (maybeRightParen.type === "Punctuator" && maybeRightParen.value === ")") && maybeLeftParen !== getParentSyntaxParen(node, sourceCode) && --times > 0); + return times === 0; +} + +function isObjectNotArray(obj) { + return typeof obj === "object" && obj != null && !Array.isArray(obj); +} +function deepMerge(first = {}, second = {}) { + const keys = new Set(Object.keys(first).concat(Object.keys(second))); + return Array.from(keys).reduce((acc, key) => { + const firstHasKey = key in first; + const secondHasKey = key in second; + const firstValue = first[key]; + const secondValue = second[key]; + if (firstHasKey && secondHasKey) { + if (isObjectNotArray(firstValue) && isObjectNotArray(secondValue)) { + acc[key] = deepMerge(firstValue, secondValue); + } else { + acc[key] = secondValue; + } + } else if (firstHasKey) { + acc[key] = firstValue; + } else { + acc[key] = secondValue; + } + return acc; + }, {}); +} + +function createRule({ + name, + package: pkg, + create, + defaultOptions = [], + meta +}) { + return { + create: (context) => { + const optionsCount = Math.max(context.options.length, defaultOptions.length); + const optionsWithDefault = Array.from( + { length: optionsCount }, + (_, i) => { + if (isObjectNotArray(context.options[i]) && isObjectNotArray(defaultOptions[i])) { + return deepMerge(defaultOptions[i], context.options[i]); + } + return context.options[i] ?? defaultOptions[i]; + } + ); + return create(context, optionsWithDefault); + }, + defaultOptions, + meta: { + ...meta, + docs: { + ...meta.docs, + url: `https://eslint.style/rules/${pkg}/${name}` + } + } + }; } -const ASCII_REGEX = /^[\u0000-\u007F]*$/u; let segmenter; -function getGraphemeCount(value) { - if (ASCII_REGEX.test(value)) +function isASCII(value) { + return /^[\u0020-\u007F]*$/u.test(value); +} +function getStringLength(value) { + if (isASCII(value)) return value.length; - if (!segmenter) - segmenter = new Intl.Segmenter(); + segmenter ?? (segmenter = new Intl.Segmenter()); return [...segmenter.segment(value)].length; } -var keywords = [ +const KEYWORDS_JS = [ "abstract", "boolean", "break", @@ -399,590 +512,9 @@ var keywords = [ "with" ]; -/** - * Negate the result of `this` calling. - * @param {Token} token The token to check. - * @returns {boolean} `true` if the result of `this(token)` is `false`. - */ -function negate0(token) { - return !this(token) //eslint-disable-line no-invalid-this -} - -/** - * Creates the negate function of the given function. - * @param {function(Token):boolean} f - The function to negate. - * @returns {function(Token):boolean} Negated function. - */ -function negate(f) { - return negate0.bind(f) -} - -/** - * Checks if the given token is a PunctuatorToken with the given value - * @param {Token} token - The token to check. - * @param {string} value - The value to check. - * @returns {boolean} `true` if the token is a PunctuatorToken with the given value. - */ -function isPunctuatorTokenWithValue(token, value) { - return token.type === "Punctuator" && token.value === value -} - -/** - * Checks if the given token is an arrow token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is an arrow token. - */ -function isArrowToken(token) { - return isPunctuatorTokenWithValue(token, "=>") -} - -/** - * Checks if the given token is a comma token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a comma token. - */ -function isCommaToken(token) { - return isPunctuatorTokenWithValue(token, ",") -} - -/** - * Checks if the given token is a semicolon token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a semicolon token. - */ -function isSemicolonToken(token) { - return isPunctuatorTokenWithValue(token, ";") -} - -/** - * Checks if the given token is a colon token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a colon token. - */ -function isColonToken(token) { - return isPunctuatorTokenWithValue(token, ":") -} - -/** - * Checks if the given token is an opening parenthesis token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is an opening parenthesis token. - */ -function isOpeningParenToken(token) { - return isPunctuatorTokenWithValue(token, "(") -} - -/** - * Checks if the given token is a closing parenthesis token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a closing parenthesis token. - */ -function isClosingParenToken(token) { - return isPunctuatorTokenWithValue(token, ")") -} - -/** - * Checks if the given token is an opening square bracket token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is an opening square bracket token. - */ -function isOpeningBracketToken(token) { - return isPunctuatorTokenWithValue(token, "[") -} - -/** - * Checks if the given token is a closing square bracket token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a closing square bracket token. - */ -function isClosingBracketToken(token) { - return isPunctuatorTokenWithValue(token, "]") -} - -/** - * Checks if the given token is an opening brace token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is an opening brace token. - */ -function isOpeningBraceToken(token) { - return isPunctuatorTokenWithValue(token, "{") -} - -/** - * Checks if the given token is a closing brace token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a closing brace token. - */ -function isClosingBraceToken(token) { - return isPunctuatorTokenWithValue(token, "}") -} - -/** - * Checks if the given token is a comment token or not. - * @param {Token} token - The token to check. - * @returns {boolean} `true` if the token is a comment token. - */ -function isCommentToken(token) { - return ["Block", "Line", "Shebang"].includes(token.type) -} - -negate(isArrowToken); -negate(isCommaToken); -negate(isSemicolonToken); -negate(isColonToken); -negate(isOpeningParenToken); -negate(isClosingParenToken); -negate(isOpeningBracketToken); -negate(isClosingBracketToken); -negate(isOpeningBraceToken); -negate(isClosingBraceToken); -negate(isCommentToken); - -Object.freeze( - new Set([ - "Array", - "ArrayBuffer", - "BigInt", - "BigInt64Array", - "BigUint64Array", - "Boolean", - "DataView", - "Date", - "decodeURI", - "decodeURIComponent", - "encodeURI", - "encodeURIComponent", - "escape", - "Float32Array", - "Float64Array", - "Function", - "Infinity", - "Int16Array", - "Int32Array", - "Int8Array", - "isFinite", - "isNaN", - "isPrototypeOf", - "JSON", - "Map", - "Math", - "NaN", - "Number", - "Object", - "parseFloat", - "parseInt", - "Promise", - "Proxy", - "Reflect", - "RegExp", - "Set", - "String", - "Symbol", - "Uint16Array", - "Uint32Array", - "Uint8Array", - "Uint8ClampedArray", - "undefined", - "unescape", - "WeakMap", - "WeakSet", - ]), -); -new Set( - [ - Array.isArray, - Array.of, - Array.prototype.at, - Array.prototype.concat, - Array.prototype.entries, - Array.prototype.every, - Array.prototype.filter, - Array.prototype.find, - Array.prototype.findIndex, - Array.prototype.flat, - Array.prototype.includes, - Array.prototype.indexOf, - Array.prototype.join, - Array.prototype.keys, - Array.prototype.lastIndexOf, - Array.prototype.slice, - Array.prototype.some, - Array.prototype.toString, - Array.prototype.values, - typeof BigInt === "function" ? BigInt : undefined, - Boolean, - Date, - Date.parse, - decodeURI, - decodeURIComponent, - encodeURI, - encodeURIComponent, - escape, - isFinite, - isNaN, - isPrototypeOf, - Map, - Map.prototype.entries, - Map.prototype.get, - Map.prototype.has, - Map.prototype.keys, - Map.prototype.values, - ...Object.getOwnPropertyNames(Math) - .filter((k) => k !== "random") - .map((k) => Math[k]) - .filter((f) => typeof f === "function"), - Number, - Number.isFinite, - Number.isNaN, - Number.parseFloat, - Number.parseInt, - Number.prototype.toExponential, - Number.prototype.toFixed, - Number.prototype.toPrecision, - Number.prototype.toString, - Object, - Object.entries, - Object.is, - Object.isExtensible, - Object.isFrozen, - Object.isSealed, - Object.keys, - Object.values, - parseFloat, - parseInt, - RegExp, - Set, - Set.prototype.entries, - Set.prototype.has, - Set.prototype.keys, - Set.prototype.values, - String, - String.fromCharCode, - String.fromCodePoint, - String.raw, - String.prototype.at, - String.prototype.charAt, - String.prototype.charCodeAt, - String.prototype.codePointAt, - String.prototype.concat, - String.prototype.endsWith, - String.prototype.includes, - String.prototype.indexOf, - String.prototype.lastIndexOf, - String.prototype.normalize, - String.prototype.padEnd, - String.prototype.padStart, - String.prototype.slice, - String.prototype.startsWith, - String.prototype.substr, - String.prototype.substring, - String.prototype.toLowerCase, - String.prototype.toString, - String.prototype.toUpperCase, - String.prototype.trim, - String.prototype.trimEnd, - String.prototype.trimLeft, - String.prototype.trimRight, - String.prototype.trimStart, - Symbol.for, - Symbol.keyFor, - unescape, - ].filter((f) => typeof f === "function"), -); - -const typeConversionBinaryOps = Object.freeze( - new Set([ - "==", - "!=", - "<", - "<=", - ">", - ">=", - "<<", - ">>", - ">>>", - "+", - "-", - "*", - "/", - "%", - "|", - "^", - "&", - "in", - ]), -); -const typeConversionUnaryOps = Object.freeze(new Set(["-", "+", "!", "~"])); - -/** - * Check whether the given value is an ASTNode or not. - * @param {any} x The value to check. - * @returns {boolean} `true` if the value is an ASTNode. - */ -function isNode(x) { - return x !== null && typeof x === "object" && typeof x.type === "string" -} - -Object.freeze( - Object.assign(Object.create(null), { - $visit(node, options, visitorKeys) { - const { type } = node; - - if (typeof this[type] === "function") { - return this[type](node, options, visitorKeys) - } - - return this.$visitChildren(node, options, visitorKeys) - }, - - $visitChildren(node, options, visitorKeys) { - const { type } = node; - - for (const key of visitorKeys[type] || eslintVisitorKeys.getKeys(node)) { - const value = node[key]; - - if (Array.isArray(value)) { - for (const element of value) { - if ( - isNode(element) && - this.$visit(element, options, visitorKeys) - ) { - return true - } - } - } else if ( - isNode(value) && - this.$visit(value, options, visitorKeys) - ) { - return true - } - } - - return false - }, - - ArrowFunctionExpression() { - return false - }, - AssignmentExpression() { - return true - }, - AwaitExpression() { - return true - }, - BinaryExpression(node, options, visitorKeys) { - if ( - options.considerImplicitTypeConversion && - typeConversionBinaryOps.has(node.operator) && - (node.left.type !== "Literal" || node.right.type !== "Literal") - ) { - return true - } - return this.$visitChildren(node, options, visitorKeys) - }, - CallExpression() { - return true - }, - FunctionExpression() { - return false - }, - ImportExpression() { - return true - }, - MemberExpression(node, options, visitorKeys) { - if (options.considerGetters) { - return true - } - if ( - options.considerImplicitTypeConversion && - node.computed && - node.property.type !== "Literal" - ) { - return true - } - return this.$visitChildren(node, options, visitorKeys) - }, - MethodDefinition(node, options, visitorKeys) { - if ( - options.considerImplicitTypeConversion && - node.computed && - node.key.type !== "Literal" - ) { - return true - } - return this.$visitChildren(node, options, visitorKeys) - }, - NewExpression() { - return true - }, - Property(node, options, visitorKeys) { - if ( - options.considerImplicitTypeConversion && - node.computed && - node.key.type !== "Literal" - ) { - return true - } - return this.$visitChildren(node, options, visitorKeys) - }, - PropertyDefinition(node, options, visitorKeys) { - if ( - options.considerImplicitTypeConversion && - node.computed && - node.key.type !== "Literal" - ) { - return true - } - return this.$visitChildren(node, options, visitorKeys) - }, - UnaryExpression(node, options, visitorKeys) { - if (node.operator === "delete") { - return true - } - if ( - options.considerImplicitTypeConversion && - typeConversionUnaryOps.has(node.operator) && - node.argument.type !== "Literal" - ) { - return true - } - return this.$visitChildren(node, options, visitorKeys) - }, - UpdateExpression() { - return true - }, - YieldExpression() { - return true - }, - }), -); - -/** - * Get the left parenthesis of the parent node syntax if it exists. - * E.g., `if (a) {}` then the `(`. - * @param {Node} node The AST node to check. - * @param {SourceCode} sourceCode The source code object to get tokens. - * @returns {Token|null} The left parenthesis of the parent node syntax - */ -function getParentSyntaxParen(node, sourceCode) { - const parent = node.parent; - - switch (parent.type) { - case "CallExpression": - case "NewExpression": - if (parent.arguments.length === 1 && parent.arguments[0] === node) { - return sourceCode.getTokenAfter( - parent.callee, - isOpeningParenToken, - ) - } - return null - - case "DoWhileStatement": - if (parent.test === node) { - return sourceCode.getTokenAfter( - parent.body, - isOpeningParenToken, - ) - } - return null - - case "IfStatement": - case "WhileStatement": - if (parent.test === node) { - return sourceCode.getFirstToken(parent, 1) - } - return null - - case "ImportExpression": - if (parent.source === node) { - return sourceCode.getFirstToken(parent, 1) - } - return null - - case "SwitchStatement": - if (parent.discriminant === node) { - return sourceCode.getFirstToken(parent, 1) - } - return null - - case "WithStatement": - if (parent.object === node) { - return sourceCode.getFirstToken(parent, 1) - } - return null - - default: - return null - } -} - -/** - * Check whether a given node is parenthesized or not. - * @param {number} times The number of parantheses. - * @param {Node} node The AST node to check. - * @param {SourceCode} sourceCode The source code object to get tokens. - * @returns {boolean} `true` if the node is parenthesized the given times. - */ -/** - * Check whether a given node is parenthesized or not. - * @param {Node} node The AST node to check. - * @param {SourceCode} sourceCode The source code object to get tokens. - * @returns {boolean} `true` if the node is parenthesized. - */ -function isParenthesized( - timesOrNode, - nodeOrSourceCode, - optionalSourceCode, -) { - let times, node, sourceCode, maybeLeftParen, maybeRightParen; - if (typeof timesOrNode === "number") { - times = timesOrNode | 0; - node = nodeOrSourceCode; - sourceCode = optionalSourceCode; - if (!(times >= 1)) { - throw new TypeError("'times' should be a positive integer.") - } - } else { - times = 1; - node = timesOrNode; - sourceCode = nodeOrSourceCode; - } - - if ( - node == null || - // `Program` can't be parenthesized - node.parent == null || - // `CatchClause.param` can't be parenthesized, example `try {} catch (error) {}` - (node.parent.type === "CatchClause" && node.parent.param === node) - ) { - return false - } - - maybeLeftParen = maybeRightParen = node; - do { - maybeLeftParen = sourceCode.getTokenBefore(maybeLeftParen); - maybeRightParen = sourceCode.getTokenAfter(maybeRightParen); - } while ( - maybeLeftParen != null && - maybeRightParen != null && - isOpeningParenToken(maybeLeftParen) && - isClosingParenToken(maybeRightParen) && - // Avoid false positive such as `if (a) {}` - maybeLeftParen !== getParentSyntaxParen(node, sourceCode) && - --times > 0 - ) - - return times === 0 -} -Function.call.bind(Object.hasOwnProperty); - var __defProp = Object.defineProperty; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; -var __publicField = (obj, key, value) => { - __defNormalProp(obj, key + "" , value); - return value; -}; +var __publicField = (obj, key, value) => __defNormalProp(obj, key + "" , value); class FixTracker { /** * Create a new FixTracker. @@ -1064,27 +596,53 @@ class FixTracker { } } +function createAllConfigs(plugin, name, flat, filter) { + const rules = Object.fromEntries( + Object.entries(plugin.rules).filter( + ([key, rule]) => ( + // Only include fixable rules + rule.meta.fixable && !rule.meta.deprecated && key === rule.meta.docs.url.split("/").pop() && (!filter) + ) + ).map(([key]) => [`${name}/${key}`, 2]) + ); + if (flat) { + return { + plugins: { + [name]: plugin + }, + rules + }; + } else { + return { + plugins: [name], + rules + }; + } +} + exports.COMMENTS_IGNORE_PATTERN = COMMENTS_IGNORE_PATTERN; exports.FixTracker = FixTracker; +exports.KEYWORDS_JS = KEYWORDS_JS; exports.LINEBREAKS = LINEBREAKS; exports.LINEBREAK_MATCHER = LINEBREAK_MATCHER; exports.STATEMENT_LIST_PARENTS = STATEMENT_LIST_PARENTS; exports.canTokensBeAdjacent = canTokensBeAdjacent; +exports.createAllConfigs = createAllConfigs; exports.createGlobalLinebreakMatcher = createGlobalLinebreakMatcher; exports.createRule = createRule; -exports.getGraphemeCount = getGraphemeCount; exports.getNextLocation = getNextLocation; exports.getPrecedence = getPrecedence; exports.getStaticPropertyName = getStaticPropertyName; +exports.getStringLength = getStringLength; exports.getSwitchCaseColonToken = getSwitchCaseColonToken; exports.hasOctalOrNonOctalDecimalEscapeSequence = hasOctalOrNonOctalDecimalEscapeSequence; -exports.isArrowToken = isArrowToken$1; -exports.isClosingBraceToken = isClosingBraceToken$1; -exports.isClosingBracketToken = isClosingBracketToken$1; -exports.isClosingParenToken = isClosingParenToken$1; -exports.isColonToken = isColonToken$1; -exports.isCommaToken = isCommaToken$1; -exports.isCommentToken = isCommentToken$1; +exports.isArrowToken = isArrowToken; +exports.isClosingBraceToken = isClosingBraceToken; +exports.isClosingBracketToken = isClosingBracketToken; +exports.isClosingParenToken = isClosingParenToken; +exports.isColonToken = isColonToken; +exports.isCommaToken = isCommaToken; +exports.isCommentToken = isCommentToken; exports.isDecimalInteger = isDecimalInteger; exports.isDecimalIntegerNumericToken = isDecimalIntegerNumericToken; exports.isDirective = isDirective; @@ -1098,16 +656,15 @@ exports.isNotOpeningParenToken = isNotOpeningParenToken; exports.isNotQuestionDotToken = isNotQuestionDotToken; exports.isNotSemicolonToken = isNotSemicolonToken; exports.isNumericLiteral = isNumericLiteral; -exports.isOpeningBraceToken = isOpeningBraceToken$1; -exports.isOpeningBracketToken = isOpeningBracketToken$1; -exports.isOpeningParenToken = isOpeningParenToken$1; +exports.isOpeningBraceToken = isOpeningBraceToken; +exports.isOpeningBracketToken = isOpeningBracketToken; +exports.isOpeningParenToken = isOpeningParenToken; exports.isParenthesised = isParenthesised; exports.isParenthesized = isParenthesized; exports.isQuestionDotToken = isQuestionDotToken; -exports.isSemicolonToken = isSemicolonToken$1; +exports.isSemicolonToken = isSemicolonToken; exports.isStringLiteral = isStringLiteral; exports.isSurroundedBy = isSurroundedBy; exports.isTokenOnSameLine = isTokenOnSameLine; exports.isTopLevelExpressionStatement = isTopLevelExpressionStatement; -exports.keywords = keywords; exports.skipChainExpression = skipChainExpression; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/vendor.js b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/vendor.js new file mode 100644 index 00000000000000..9e3944145f5c7b --- /dev/null +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/dist/vendor.js @@ -0,0 +1,15 @@ +'use strict'; + +function escapeStringRegexp(string) { + if (typeof string !== 'string') { + throw new TypeError('Expected a string'); + } + + // Escape characters with special meaning either inside or outside character sets. + // Use a simple backslash escape when it’s always valid, and a `\xnn` escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar. + return string + .replace(/[|\\{}()[\]^$+*?.]/g, '\\$&') + .replace(/-/g, '\\x2d'); +} + +exports.escapeStringRegexp = escapeStringRegexp; diff --git a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/package.json b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/package.json index abeb6140ea69a0..4466d0ff7e3e7d 100644 --- a/tools/eslint/node_modules/@stylistic/eslint-plugin-js/package.json +++ b/tools/eslint/node_modules/@stylistic/eslint-plugin-js/package.json @@ -1,6 +1,7 @@ { "name": "@stylistic/eslint-plugin-js", - "version": "2.4.0", + "type": "commonjs", + "version": "2.7.2", "author": "Anthony Fu ", "license": "MIT", "homepage": "https://github.com/eslint-stylistic/eslint-stylistic#readme", @@ -14,93 +15,91 @@ }, "exports": { ".": { - "types": "./dts/index.d.ts", + "types": "./dist/dts/index.d.ts", "require": "./dist/index.js", "default": "./dist/index.js" }, "./define-config-support": { - "types": "./dts/define-config-support.d.ts" + "types": "./dist/dts/define-config-support.d.ts" }, "./rule-options": { - "types": "./dts/rule-options.d.ts" + "types": "./dist/dts/rule-options.d.ts" }, - "./rules/array-bracket-newline": "./dist/array-bracket-newline.js", - "./rules/array-bracket-spacing": "./dist/array-bracket-spacing.js", - "./rules/array-element-newline": "./dist/array-element-newline.js", - "./rules/arrow-parens": "./dist/arrow-parens.js", - "./rules/arrow-spacing": "./dist/arrow-spacing.js", - "./rules/block-spacing": "./dist/block-spacing.js", - "./rules/brace-style": "./dist/brace-style.js", - "./rules/comma-dangle": "./dist/comma-dangle.js", - "./rules/comma-spacing": "./dist/comma-spacing.js", - "./rules/comma-style": "./dist/comma-style.js", - "./rules/computed-property-spacing": "./dist/computed-property-spacing.js", - "./rules/dot-location": "./dist/dot-location.js", - "./rules/eol-last": "./dist/eol-last.js", - "./rules/func-call-spacing": "./dist/func-call-spacing.js", - "./rules/function-call-argument-newline": "./dist/function-call-argument-newline.js", - "./rules/function-call-spacing": "./dist/function-call-spacing.js", - "./rules/function-paren-newline": "./dist/function-paren-newline.js", - "./rules/generator-star-spacing": "./dist/generator-star-spacing.js", - "./rules/implicit-arrow-linebreak": "./dist/implicit-arrow-linebreak.js", - "./rules/indent": "./dist/indent.js", - "./rules/jsx-quotes": "./dist/jsx-quotes.js", - "./rules/key-spacing": "./dist/key-spacing.js", - "./rules/keyword-spacing": "./dist/keyword-spacing.js", - "./rules/line-comment-position": "./dist/line-comment-position.js", - "./rules/linebreak-style": "./dist/linebreak-style.js", - "./rules/lines-around-comment": "./dist/lines-around-comment.js", - "./rules/lines-between-class-members": "./dist/lines-between-class-members.js", - "./rules/max-len": "./dist/max-len.js", - "./rules/max-statements-per-line": "./dist/max-statements-per-line.js", - "./rules/multiline-comment-style": "./dist/multiline-comment-style.js", - "./rules/multiline-ternary": "./dist/multiline-ternary.js", - "./rules/new-parens": "./dist/new-parens.js", - "./rules/newline-per-chained-call": "./dist/newline-per-chained-call.js", - "./rules/no-confusing-arrow": "./dist/no-confusing-arrow.js", - "./rules/no-extra-parens": "./dist/no-extra-parens.js", - "./rules/no-extra-semi": "./dist/no-extra-semi.js", - "./rules/no-floating-decimal": "./dist/no-floating-decimal.js", - "./rules/no-mixed-operators": "./dist/no-mixed-operators.js", - "./rules/no-mixed-spaces-and-tabs": "./dist/no-mixed-spaces-and-tabs.js", - "./rules/no-multi-spaces": "./dist/no-multi-spaces.js", - "./rules/no-multiple-empty-lines": "./dist/no-multiple-empty-lines.js", - "./rules/no-tabs": "./dist/no-tabs.js", - "./rules/no-trailing-spaces": "./dist/no-trailing-spaces.js", - "./rules/no-whitespace-before-property": "./dist/no-whitespace-before-property.js", - "./rules/nonblock-statement-body-position": "./dist/nonblock-statement-body-position.js", - "./rules/object-curly-newline": "./dist/object-curly-newline.js", - "./rules/object-curly-spacing": "./dist/object-curly-spacing.js", - "./rules/object-property-newline": "./dist/object-property-newline.js", - "./rules/one-var-declaration-per-line": "./dist/one-var-declaration-per-line.js", - "./rules/operator-linebreak": "./dist/operator-linebreak.js", - "./rules/padded-blocks": "./dist/padded-blocks.js", - "./rules/padding-line-between-statements": "./dist/padding-line-between-statements.js", - "./rules/quote-props": "./dist/quote-props.js", - "./rules/quotes": "./dist/quotes.js", - "./rules/rest-spread-spacing": "./dist/rest-spread-spacing.js", - "./rules/semi": "./dist/semi.js", - "./rules/semi-spacing": "./dist/semi-spacing.js", - "./rules/semi-style": "./dist/semi-style.js", - "./rules/space-before-blocks": "./dist/space-before-blocks.js", - "./rules/space-before-function-paren": "./dist/space-before-function-paren.js", - "./rules/space-in-parens": "./dist/space-in-parens.js", - "./rules/space-infix-ops": "./dist/space-infix-ops.js", - "./rules/space-unary-ops": "./dist/space-unary-ops.js", - "./rules/spaced-comment": "./dist/spaced-comment.js", - "./rules/switch-colon-spacing": "./dist/switch-colon-spacing.js", - "./rules/template-curly-spacing": "./dist/template-curly-spacing.js", - "./rules/template-tag-spacing": "./dist/template-tag-spacing.js", - "./rules/wrap-iife": "./dist/wrap-iife.js", - "./rules/wrap-regex": "./dist/wrap-regex.js", - "./rules/yield-star-spacing": "./dist/yield-star-spacing.js" + "./rules/array-bracket-newline": "./dist/rules/array-bracket-newline.js", + "./rules/array-bracket-spacing": "./dist/rules/array-bracket-spacing.js", + "./rules/array-element-newline": "./dist/rules/array-element-newline.js", + "./rules/arrow-parens": "./dist/rules/arrow-parens.js", + "./rules/arrow-spacing": "./dist/rules/arrow-spacing.js", + "./rules/block-spacing": "./dist/rules/block-spacing.js", + "./rules/brace-style": "./dist/rules/brace-style.js", + "./rules/comma-dangle": "./dist/rules/comma-dangle.js", + "./rules/comma-spacing": "./dist/rules/comma-spacing.js", + "./rules/comma-style": "./dist/rules/comma-style.js", + "./rules/computed-property-spacing": "./dist/rules/computed-property-spacing.js", + "./rules/dot-location": "./dist/rules/dot-location.js", + "./rules/eol-last": "./dist/rules/eol-last.js", + "./rules/func-call-spacing": "./dist/rules/func-call-spacing.js", + "./rules/function-call-argument-newline": "./dist/rules/function-call-argument-newline.js", + "./rules/function-call-spacing": "./dist/rules/function-call-spacing.js", + "./rules/function-paren-newline": "./dist/rules/function-paren-newline.js", + "./rules/generator-star-spacing": "./dist/rules/generator-star-spacing.js", + "./rules/implicit-arrow-linebreak": "./dist/rules/implicit-arrow-linebreak.js", + "./rules/indent": "./dist/rules/indent.js", + "./rules/jsx-quotes": "./dist/rules/jsx-quotes.js", + "./rules/key-spacing": "./dist/rules/key-spacing.js", + "./rules/keyword-spacing": "./dist/rules/keyword-spacing.js", + "./rules/line-comment-position": "./dist/rules/line-comment-position.js", + "./rules/linebreak-style": "./dist/rules/linebreak-style.js", + "./rules/lines-around-comment": "./dist/rules/lines-around-comment.js", + "./rules/lines-between-class-members": "./dist/rules/lines-between-class-members.js", + "./rules/max-len": "./dist/rules/max-len.js", + "./rules/max-statements-per-line": "./dist/rules/max-statements-per-line.js", + "./rules/multiline-comment-style": "./dist/rules/multiline-comment-style.js", + "./rules/multiline-ternary": "./dist/rules/multiline-ternary.js", + "./rules/new-parens": "./dist/rules/new-parens.js", + "./rules/newline-per-chained-call": "./dist/rules/newline-per-chained-call.js", + "./rules/no-confusing-arrow": "./dist/rules/no-confusing-arrow.js", + "./rules/no-extra-parens": "./dist/rules/no-extra-parens.js", + "./rules/no-extra-semi": "./dist/rules/no-extra-semi.js", + "./rules/no-floating-decimal": "./dist/rules/no-floating-decimal.js", + "./rules/no-mixed-operators": "./dist/rules/no-mixed-operators.js", + "./rules/no-mixed-spaces-and-tabs": "./dist/rules/no-mixed-spaces-and-tabs.js", + "./rules/no-multi-spaces": "./dist/rules/no-multi-spaces.js", + "./rules/no-multiple-empty-lines": "./dist/rules/no-multiple-empty-lines.js", + "./rules/no-tabs": "./dist/rules/no-tabs.js", + "./rules/no-trailing-spaces": "./dist/rules/no-trailing-spaces.js", + "./rules/no-whitespace-before-property": "./dist/rules/no-whitespace-before-property.js", + "./rules/nonblock-statement-body-position": "./dist/rules/nonblock-statement-body-position.js", + "./rules/object-curly-newline": "./dist/rules/object-curly-newline.js", + "./rules/object-curly-spacing": "./dist/rules/object-curly-spacing.js", + "./rules/object-property-newline": "./dist/rules/object-property-newline.js", + "./rules/one-var-declaration-per-line": "./dist/rules/one-var-declaration-per-line.js", + "./rules/operator-linebreak": "./dist/rules/operator-linebreak.js", + "./rules/padded-blocks": "./dist/rules/padded-blocks.js", + "./rules/padding-line-between-statements": "./dist/rules/padding-line-between-statements.js", + "./rules/quote-props": "./dist/rules/quote-props.js", + "./rules/quotes": "./dist/rules/quotes.js", + "./rules/rest-spread-spacing": "./dist/rules/rest-spread-spacing.js", + "./rules/semi": "./dist/rules/semi.js", + "./rules/semi-spacing": "./dist/rules/semi-spacing.js", + "./rules/semi-style": "./dist/rules/semi-style.js", + "./rules/space-before-blocks": "./dist/rules/space-before-blocks.js", + "./rules/space-before-function-paren": "./dist/rules/space-before-function-paren.js", + "./rules/space-in-parens": "./dist/rules/space-in-parens.js", + "./rules/space-infix-ops": "./dist/rules/space-infix-ops.js", + "./rules/space-unary-ops": "./dist/rules/space-unary-ops.js", + "./rules/spaced-comment": "./dist/rules/spaced-comment.js", + "./rules/switch-colon-spacing": "./dist/rules/switch-colon-spacing.js", + "./rules/template-curly-spacing": "./dist/rules/template-curly-spacing.js", + "./rules/template-tag-spacing": "./dist/rules/template-tag-spacing.js", + "./rules/wrap-iife": "./dist/rules/wrap-iife.js", + "./rules/wrap-regex": "./dist/rules/wrap-regex.js", + "./rules/yield-star-spacing": "./dist/rules/yield-star-spacing.js" }, "main": "./dist/index.js", - "types": "./dts/index.d.ts", + "types": "./dist/dts/index.d.ts", "files": [ - "dist", - "dts", - "rules/**/*.d.ts" + "dist" ], "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -109,18 +108,12 @@ "eslint": ">=8.40.0" }, "dependencies": { - "@types/eslint": "^9.6.0", - "acorn": "^8.12.1", + "@types/eslint": "^9.6.1", "eslint-visitor-keys": "^4.0.0", "espree": "^10.1.0" }, - "devDependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/parser": "^7.17.0", - "escape-string-regexp": "^5.0.0" - }, "scripts": { - "build": "rimraf dist && rollup --config=rollup.config.mts --configPlugin=rollup-plugin-esbuild", - "dev": "rollup --config=rollup.config.mts --configPlugin=rollup-plugin-esbuild --watch" + "build": "rimraf dist && rollup --config=rollup.config.mjs", + "dev": "rollup --config=rollup.config.mjs --watch" } } \ No newline at end of file diff --git a/tools/eslint/node_modules/@types/eslint/package.json b/tools/eslint/node_modules/@types/eslint/package.json index 42b664db311e5e..ef52af6549863b 100644 --- a/tools/eslint/node_modules/@types/eslint/package.json +++ b/tools/eslint/node_modules/@types/eslint/package.json @@ -1,6 +1,6 @@ { "name": "@types/eslint", - "version": "9.6.0", + "version": "9.6.1", "description": "TypeScript definitions for eslint", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint", "license": "MIT", @@ -65,6 +65,6 @@ "@types/estree": "*", "@types/json-schema": "*" }, - "typesPublisherContentHash": "b9dc2442a6de9477777294005e6b8dcf6c0dee1bdcf1fe79fea879291a522175", + "typesPublisherContentHash": "bc2620143f844d291da2d199e7b8e2605e3277f1941a508dc72ac92843b149b6", "typeScriptVersion": "4.8" } \ No newline at end of file diff --git a/tools/eslint/node_modules/@types/unist/package.json b/tools/eslint/node_modules/@types/unist/package.json index eff0fce8f6b8cd..01cb5b0d4ee3a6 100644 --- a/tools/eslint/node_modules/@types/unist/package.json +++ b/tools/eslint/node_modules/@types/unist/package.json @@ -1,6 +1,6 @@ { "name": "@types/unist", - "version": "2.0.10", + "version": "2.0.11", "description": "TypeScript definitions for unist", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/unist", "license": "MIT", @@ -50,7 +50,6 @@ }, "scripts": {}, "dependencies": {}, - "typesPublisherContentHash": "65c419f7bf5fb4a8b58da16b61b8cfc2629fb81d70dff861467e0292b2ed70ea", - "typeScriptVersion": "4.5", - "nonNpm": true + "typesPublisherContentHash": "6e36525a6db49ae5517fe0751796ca8f6c65099098415046d4f1ad6c2ef1a33c", + "typeScriptVersion": "4.8" } \ No newline at end of file diff --git a/tools/eslint/node_modules/browserslist/index.js b/tools/eslint/node_modules/browserslist/index.js index ca2c78a18ca9a9..717965ef1ae0e0 100644 --- a/tools/eslint/node_modules/browserslist/index.js +++ b/tools/eslint/node_modules/browserslist/index.js @@ -82,11 +82,11 @@ function generateFilter(sign, version) { version = parseFloat(version) if (sign === '>') { return function (v) { - return parseFloat(v) > version + return parseLatestFloat(v) > version } } else if (sign === '>=') { return function (v) { - return parseFloat(v) >= version + return parseLatestFloat(v) >= version } } else if (sign === '<') { return function (v) { @@ -97,6 +97,10 @@ function generateFilter(sign, version) { return parseFloat(v) <= version } } + + function parseLatestFloat(v) { + return parseFloat(v.split('-')[1] || v) + } } function generateSemverFilter(sign, version) { diff --git a/tools/eslint/node_modules/browserslist/package.json b/tools/eslint/node_modules/browserslist/package.json index 286cecb032ef07..20b97f911a4049 100644 --- a/tools/eslint/node_modules/browserslist/package.json +++ b/tools/eslint/node_modules/browserslist/package.json @@ -1,6 +1,6 @@ { "name": "browserslist", - "version": "4.23.2", + "version": "4.23.3", "description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset", "keywords": [ "caniuse", @@ -25,9 +25,9 @@ "license": "MIT", "repository": "browserslist/browserslist", "dependencies": { - "caniuse-lite": "^1.0.30001640", - "electron-to-chromium": "^1.4.820", - "node-releases": "^2.0.14", + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", "update-browserslist-db": "^1.1.0" }, "engines": { diff --git a/tools/eslint/node_modules/escalade/index.d.mts b/tools/eslint/node_modules/escalade/index.d.mts new file mode 100644 index 00000000000000..550699cf98e1c9 --- /dev/null +++ b/tools/eslint/node_modules/escalade/index.d.mts @@ -0,0 +1,11 @@ +type Promisable = T | Promise; + +export type Callback = ( + directory: string, + files: string[], +) => Promisable; + +export default function ( + directory: string, + callback: Callback, +): Promise; diff --git a/tools/eslint/node_modules/escalade/package.json b/tools/eslint/node_modules/escalade/package.json index e0f52710bcbd36..1eed4f93a81e8d 100644 --- a/tools/eslint/node_modules/escalade/package.json +++ b/tools/eslint/node_modules/escalade/package.json @@ -1,6 +1,6 @@ { "name": "escalade", - "version": "3.1.2", + "version": "3.2.0", "repository": "lukeed/escalade", "description": "A tiny (183B to 210B) and fast utility to ascend parent directories", "module": "dist/index.mjs", @@ -15,22 +15,33 @@ "exports": { ".": [ { - "types": "./index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": { + "types": "./index.d.mts", + "default": "./dist/index.mjs" + }, + "require": { + "types": "./index.d.ts", + "default": "./dist/index.js" + } }, "./dist/index.js" ], "./sync": [ { - "types": "./sync/index.d.ts", - "import": "./sync/index.mjs", - "require": "./sync/index.js" + "import": { + "types": "./sync/index.d.mts", + "default": "./sync/index.mjs" + }, + "require": { + "types": "./sync/index.d.ts", + "default": "./sync/index.js" + } }, "./sync/index.js" ] }, "files": [ + "*.d.mts", "*.d.ts", "dist", "sync" diff --git a/tools/eslint/node_modules/escalade/sync/index.d.mts b/tools/eslint/node_modules/escalade/sync/index.d.mts new file mode 100644 index 00000000000000..c023d37b286d1f --- /dev/null +++ b/tools/eslint/node_modules/escalade/sync/index.d.mts @@ -0,0 +1,9 @@ +export type Callback = ( + directory: string, + files: string[], +) => string | false | void; + +export default function ( + directory: string, + callback: Callback, +): string | void; diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/WarnSettings.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/WarnSettings.cjs index 8a8dd5b398e5e9..fd868a58a91ad7 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/WarnSettings.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/WarnSettings.cjs @@ -10,7 +10,7 @@ const WarnSettings = function () { return { /** * Warn only once for each context and setting - * @param {import('eslint').Rule.RuleContext} context + * @param {{}} context * @param {string} setting * @returns {boolean} */ @@ -18,7 +18,7 @@ const WarnSettings = function () { return warnedSettings.has(context) && /** @type {Set} */warnedSettings.get(context).has(setting); }, /** - * @param {import('eslint').Rule.RuleContext} context + * @param {{}} context * @param {string} setting * @returns {void} */ diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs new file mode 100644 index 00000000000000..b8bc8ec07d1900 --- /dev/null +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs @@ -0,0 +1,541 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.getJsdocProcessorPlugin = void 0; +var _nodeFs = require("node:fs"); +var _nodePath = require("node:path"); +var _nodeUrl = require("node:url"); +var espree = _interopRequireWildcard(require("espree")); +var _jsdocUtils = require("./jsdocUtils.cjs"); +var _jsdoccomment = require("@es-joy/jsdoccomment"); +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } +// Todo: Support TS by fenced block type + +const _dirname = (0, _nodePath.dirname)((0, _nodeUrl.fileURLToPath)(require('url').pathToFileURL(__filename).toString())); +const { + version +} = JSON.parse( +// @ts-expect-error `Buffer` is ok for `JSON.parse` +(0, _nodeFs.readFileSync)((0, _nodePath.join)(_dirname, '../package.json'))); + +// const zeroBasedLineIndexAdjust = -1; +const likelyNestedJSDocIndentSpace = 1; +const preTagSpaceLength = 1; + +// If a space is present, we should ignore it +const firstLinePrefixLength = preTagSpaceLength; +const hasCaptionRegex = /^\s*([\s\S]*?)<\/caption>/u; + +/** + * @param {string} str + * @returns {string} + */ +const escapeStringRegexp = str => { + return str.replaceAll(/[.*+?^${}()|[\]\\]/gu, '\\$&'); +}; + +/** + * @param {string} str + * @param {string} ch + * @returns {import('./iterateJsdoc.js').Integer} + */ +const countChars = (str, ch) => { + return (str.match(new RegExp(escapeStringRegexp(ch), 'gu')) || []).length; +}; + +/** + * @param {string} text + * @returns {[ +* import('./iterateJsdoc.js').Integer, +* import('./iterateJsdoc.js').Integer +* ]} +*/ +const getLinesCols = text => { + const matchLines = countChars(text, '\n'); + const colDelta = matchLines ? text.slice(text.lastIndexOf('\n') + 1).length : text.length; + return [matchLines, colDelta]; +}; + +/** + * @typedef {number} Integer + */ + +/** + * @typedef {object} JsdocProcessorOptions + * @property {boolean} [captionRequired] + * @property {Integer} [paddedIndent] + * @property {boolean} [checkDefaults] + * @property {boolean} [checkParams] + * @property {boolean} [checkExamples] + * @property {boolean} [checkProperties] + * @property {string} [matchingFileName] + * @property {string} [matchingFileNameDefaults] + * @property {string} [matchingFileNameParams] + * @property {string} [matchingFileNameProperties] + * @property {string} [exampleCodeRegex] + * @property {string} [rejectExampleCodeRegex] + * @property {"script"|"module"} [sourceType] + * @property {import('eslint').Linter.FlatConfigParserModule} [parser] + */ + +/** + * We use a function for the ability of the user to pass in a config, but + * without requiring all users of the plugin to do so. + * @param {JsdocProcessorOptions} [options] + */ +const getJsdocProcessorPlugin = (options = {}) => { + const { + exampleCodeRegex = null, + rejectExampleCodeRegex = null, + checkExamples = true, + checkDefaults = false, + checkParams = false, + checkProperties = false, + matchingFileName = null, + matchingFileNameDefaults = null, + matchingFileNameParams = null, + matchingFileNameProperties = null, + paddedIndent = 0, + captionRequired = false, + sourceType = 'module', + parser = undefined + } = options; + + /** @type {RegExp} */ + let exampleCodeRegExp; + /** @type {RegExp} */ + let rejectExampleCodeRegExp; + if (exampleCodeRegex) { + exampleCodeRegExp = (0, _jsdocUtils.getRegexFromString)(exampleCodeRegex); + } + if (rejectExampleCodeRegex) { + rejectExampleCodeRegExp = (0, _jsdocUtils.getRegexFromString)(rejectExampleCodeRegex); + } + + /** + * @type {{ + * targetTagName: string, + * ext: string, + * codeStartLine: number, + * codeStartCol: number, + * nonJSPrefacingCols: number, + * commentLineCols: [number, number] + * }[]} + */ + const otherInfo = []; + + /** @type {import('eslint').Linter.LintMessage[]} */ + let extraMessages = []; + + /** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {string} jsFileName + * @param {[number, number]} commentLineCols + */ + const getTextsAndFileNames = (jsdoc, jsFileName, commentLineCols) => { + /** + * @type {{ + * text: string, + * filename: string|null|undefined + * }[]} + */ + const textsAndFileNames = []; + + /** + * @param {{ + * filename: string|null, + * defaultFileName: string|undefined, + * source: string, + * targetTagName: string, + * rules?: import('eslint').Linter.RulesRecord|undefined, + * lines?: import('./iterateJsdoc.js').Integer, + * cols?: import('./iterateJsdoc.js').Integer, + * skipInit?: boolean, + * ext: string, + * sources?: { + * nonJSPrefacingCols: import('./iterateJsdoc.js').Integer, + * nonJSPrefacingLines: import('./iterateJsdoc.js').Integer, + * string: string, + * }[], + * tag?: import('comment-parser').Spec & { + * line?: import('./iterateJsdoc.js').Integer, + * }|{ + * line: import('./iterateJsdoc.js').Integer, + * } + * }} cfg + */ + const checkSource = ({ + filename, + ext, + defaultFileName, + lines = 0, + cols = 0, + skipInit, + source, + targetTagName, + sources = [], + tag = { + line: 0 + } + }) => { + if (!skipInit) { + sources.push({ + nonJSPrefacingCols: cols, + nonJSPrefacingLines: lines, + string: source + }); + } + + /** + * @param {{ + * nonJSPrefacingCols: import('./iterateJsdoc.js').Integer, + * nonJSPrefacingLines: import('./iterateJsdoc.js').Integer, + * string: string + * }} cfg + */ + const addSourceInfo = function ({ + nonJSPrefacingCols, + nonJSPrefacingLines, + string + }) { + const src = paddedIndent ? string.replaceAll(new RegExp(`(^|\n) {${paddedIndent}}(?!$)`, 'gu'), '\n') : string; + + // Programmatic ESLint API: https://eslint.org/docs/developer-guide/nodejs-api + const file = filename || defaultFileName; + if (!('line' in tag)) { + tag.line = tag.source[0].number; + } + + // NOTE: `tag.line` can be 0 if of form `/** @tag ... */` + const codeStartLine = + /** + * @type {import('comment-parser').Spec & { + * line: import('./iterateJsdoc.js').Integer, + * }} + */ + tag.line + nonJSPrefacingLines; + const codeStartCol = likelyNestedJSDocIndentSpace; + textsAndFileNames.push({ + text: src, + filename: file + }); + otherInfo.push({ + targetTagName, + ext, + codeStartLine, + codeStartCol, + nonJSPrefacingCols, + commentLineCols + }); + }; + for (const targetSource of sources) { + addSourceInfo(targetSource); + } + }; + + /** + * + * @param {string|null} filename + * @param {string} [ext] Since `eslint-plugin-markdown` v2, and + * ESLint 7, this is the default which other JS-fenced rules will used. + * Formerly "md" was the default. + * @returns {{ + * defaultFileName: string|undefined, + * filename: string|null, + * ext: string + * }} + */ + const getFilenameInfo = (filename, ext = 'md/*.js') => { + let defaultFileName; + if (!filename) { + if (typeof jsFileName === 'string' && jsFileName.includes('.')) { + defaultFileName = jsFileName.replace(/\.[^.]*$/u, `.${ext}`); + } else { + defaultFileName = `dummy.${ext}`; + } + } + return { + ext, + defaultFileName, + filename + }; + }; + if (checkDefaults) { + const filenameInfo = getFilenameInfo(matchingFileNameDefaults, 'jsdoc-defaults'); + (0, _jsdocUtils.forEachPreferredTag)(jsdoc, 'default', (tag, targetTagName) => { + if (!tag.description.trim()) { + return; + } + checkSource({ + source: `(${(0, _jsdocUtils.getTagDescription)(tag)})`, + targetTagName, + ...filenameInfo + }); + }); + } + if (checkParams) { + const filenameInfo = getFilenameInfo(matchingFileNameParams, 'jsdoc-params'); + (0, _jsdocUtils.forEachPreferredTag)(jsdoc, 'param', (tag, targetTagName) => { + if (!tag.default || !tag.default.trim()) { + return; + } + checkSource({ + source: `(${tag.default})`, + targetTagName, + ...filenameInfo + }); + }); + } + if (checkProperties) { + const filenameInfo = getFilenameInfo(matchingFileNameProperties, 'jsdoc-properties'); + (0, _jsdocUtils.forEachPreferredTag)(jsdoc, 'property', (tag, targetTagName) => { + if (!tag.default || !tag.default.trim()) { + return; + } + checkSource({ + source: `(${tag.default})`, + targetTagName, + ...filenameInfo + }); + }); + } + if (!checkExamples) { + return textsAndFileNames; + } + const tagName = /** @type {string} */(0, _jsdocUtils.getPreferredTagName)(jsdoc, { + tagName: 'example' + }); + if (!(0, _jsdocUtils.hasTag)(jsdoc, tagName)) { + return textsAndFileNames; + } + const matchingFilenameInfo = getFilenameInfo(matchingFileName); + (0, _jsdocUtils.forEachPreferredTag)(jsdoc, 'example', (tag, targetTagName) => { + let source = /** @type {string} */(0, _jsdocUtils.getTagDescription)(tag); + const match = source.match(hasCaptionRegex); + if (captionRequired && (!match || !match[1].trim())) { + extraMessages.push({ + line: 1 + commentLineCols[0] + (tag.line ?? tag.source[0].number), + column: commentLineCols[1] + 1, + severity: 2, + message: `@${targetTagName} error - Caption is expected for examples.`, + ruleId: 'jsdoc/example-missing-caption' + }); + return; + } + source = source.replace(hasCaptionRegex, ''); + const [lines, cols] = match ? getLinesCols(match[0]) : [0, 0]; + if (exampleCodeRegex && !exampleCodeRegExp.test(source) || rejectExampleCodeRegex && rejectExampleCodeRegExp.test(source)) { + return; + } + const sources = []; + let skipInit = false; + if (exampleCodeRegex) { + let nonJSPrefacingCols = 0; + let nonJSPrefacingLines = 0; + let startingIndex = 0; + let lastStringCount = 0; + let exampleCode; + exampleCodeRegExp.lastIndex = 0; + while ((exampleCode = exampleCodeRegExp.exec(source)) !== null) { + const { + index, + '0': n0, + '1': n1 + } = exampleCode; + + // Count anything preceding user regex match (can affect line numbering) + const preMatch = source.slice(startingIndex, index); + const [preMatchLines, colDelta] = getLinesCols(preMatch); + let nonJSPreface; + let nonJSPrefaceLineCount; + if (n1) { + const idx = n0.indexOf(n1); + nonJSPreface = n0.slice(0, idx); + nonJSPrefaceLineCount = countChars(nonJSPreface, '\n'); + } else { + nonJSPreface = ''; + nonJSPrefaceLineCount = 0; + } + nonJSPrefacingLines += lastStringCount + preMatchLines + nonJSPrefaceLineCount; + + // Ignore `preMatch` delta if newlines here + if (nonJSPrefaceLineCount) { + const charsInLastLine = nonJSPreface.slice(nonJSPreface.lastIndexOf('\n') + 1).length; + nonJSPrefacingCols += charsInLastLine; + } else { + nonJSPrefacingCols += colDelta + nonJSPreface.length; + } + const string = n1 || n0; + sources.push({ + nonJSPrefacingCols, + nonJSPrefacingLines, + string + }); + startingIndex = exampleCodeRegExp.lastIndex; + lastStringCount = countChars(string, '\n'); + if (!exampleCodeRegExp.global) { + break; + } + } + skipInit = true; + } + checkSource({ + cols, + lines, + skipInit, + source, + sources, + tag, + targetTagName, + ...matchingFilenameInfo + }); + }); + return textsAndFileNames; + }; + + // See https://eslint.org/docs/latest/extend/plugins#processors-in-plugins + // See https://eslint.org/docs/latest/extend/custom-processors + // From https://github.com/eslint/eslint/issues/14745#issuecomment-869457265 + /* + { + "files": ["*.js", "*.ts"], + "processor": "jsdoc/example" // a pretended value here + }, + { + "files": [ + "*.js/*_jsdoc-example.js", + "*.ts/*_jsdoc-example.js", + "*.js/*_jsdoc-example.ts" + ], + "rules": { + // specific rules for examples in jsdoc only here + // And other rules for `.js` and `.ts` will also be enabled for them + } + } + */ + return { + meta: { + name: 'eslint-plugin-jsdoc/processor', + version + }, + processors: { + examples: { + meta: { + name: 'eslint-plugin-jsdoc/preprocessor', + version + }, + /** + * @param {string} text + * @param {string} filename + */ + preprocess(text, filename) { + try { + let ast; + + // May be running a second time so catch and ignore + try { + ast = parser + // @ts-expect-error Ok + ? parser.parseForESLint(text, { + ecmaVersion: 'latest', + sourceType, + comment: true + }).ast : espree.parse(text, { + ecmaVersion: 'latest', + sourceType, + comment: true + }); + } catch (err) { + return [text]; + } + + /** @type {[number, number][]} */ + const commentLineCols = []; + const jsdocComments = /** @type {import('estree').Comment[]} */( + /** + * @type {import('estree').Program & { + * comments?: import('estree').Comment[] + * }} + */ + ast.comments).filter(comment => { + return /^\*\s/u.test(comment.value); + }).map(comment => { + /* c8 ignore next -- Unsupporting processors only? */ + const [start] = comment.range ?? []; + const textToStart = text.slice(0, start); + const [lines, cols] = getLinesCols(textToStart); + + // const lines = [...textToStart.matchAll(/\n/gu)].length + // const lastLinePos = textToStart.lastIndexOf('\n'); + // const cols = lastLinePos === -1 + // ? 0 + // : textToStart.slice(lastLinePos).length; + commentLineCols.push([lines, cols]); + return (0, _jsdoccomment.parseComment)(comment); + }); + return [text, ...jsdocComments.flatMap((jsdoc, idx) => { + return getTextsAndFileNames(jsdoc, filename, commentLineCols[idx]); + }).filter(Boolean)]; + /* c8 ignore next 3 */ + } catch (err) { + console.log('err', filename, err); + } + }, + /** + * @param {import('eslint').Linter.LintMessage[][]} messages + * @param {string} filename + */ + postprocess([jsMessages, ...messages], filename) { + messages.forEach((message, idx) => { + const { + targetTagName, + codeStartLine, + codeStartCol, + nonJSPrefacingCols, + commentLineCols + } = otherInfo[idx]; + message.forEach(msg => { + const { + message, + ruleId, + severity, + fatal, + line, + column, + endColumn, + endLine + + // Todo: Make fixable + // fix + // fix: {range: [number, number], text: string} + // suggestions: {desc: , messageId:, fix: }[], + } = msg; + const [codeCtxLine, codeCtxColumn] = commentLineCols; + const startLine = codeCtxLine + codeStartLine + line; + const startCol = 1 + + // Seems to need one more now + codeCtxColumn + codeStartCol + ( + // This might not work for line 0, but line 0 is unlikely for examples + line <= 1 ? nonJSPrefacingCols + firstLinePrefixLength : preTagSpaceLength) + column; + msg.message = '@' + targetTagName + ' ' + (severity === 2 ? 'error' : 'warning') + (ruleId ? ' (' + ruleId + ')' : '') + ': ' + (fatal ? 'Fatal: ' : '') + message; + msg.line = startLine; + msg.column = startCol; + msg.endLine = endLine ? startLine + endLine : startLine; + // added `- column` to offset what `endColumn` already seemed to include + msg.endColumn = endColumn ? startCol - column + endColumn : startCol; + }); + }); + const ret = [...jsMessages].concat(...messages, ...extraMessages); + extraMessages = []; + return ret; + }, + supportsAutofix: true + } + } + }; +}; +exports.getJsdocProcessorPlugin = getJsdocProcessorPlugin; +//# sourceMappingURL=getJsdocProcessorPlugin.cjs.map \ No newline at end of file diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/index.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/index.cjs index 46a3c83add77ba..0dde316bbbf5f1 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/index.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/index.cjs @@ -60,6 +60,7 @@ var _sortTags = _interopRequireDefault(require("./rules/sortTags.cjs")); var _tagLines = _interopRequireDefault(require("./rules/tagLines.cjs")); var _textEscaping = _interopRequireDefault(require("./rules/textEscaping.cjs")); var _validTypes = _interopRequireDefault(require("./rules/validTypes.cjs")); +var _getJsdocProcessorPlugin = require("./getJsdocProcessorPlugin.cjs"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * @type {import('eslint').ESLint.Plugin & { @@ -272,6 +273,87 @@ index.configs['flat/recommended-typescript'] = createRecommendedTypeScriptRulese index.configs['flat/recommended-typescript-error'] = createRecommendedTypeScriptRuleset('error', 'flat/recommended-typescript-error'); index.configs['flat/recommended-typescript-flavor'] = createRecommendedTypeScriptFlavorRuleset('warn', 'flat/recommended-typescript-flavor'); index.configs['flat/recommended-typescript-flavor-error'] = createRecommendedTypeScriptFlavorRuleset('error', 'flat/recommended-typescript-flavor-error'); +index.configs.examples = /** @type {import('eslint').Linter.FlatConfig[]} */[{ + name: 'jsdoc/examples/processor', + files: ['**/*.js'], + plugins: { + examples: (0, _getJsdocProcessorPlugin.getJsdocProcessorPlugin)() + }, + processor: 'examples/examples' +}, { + name: 'jsdoc/examples/rules', + files: ['**/*.md/*.js'], + rules: { + // "always" newline rule at end unlikely in sample code + 'eol-last': 0, + // Wouldn't generally expect example paths to resolve relative to JS file + 'import/no-unresolved': 0, + // Snippets likely too short to always include import/export info + 'import/unambiguous': 0, + 'jsdoc/require-file-overview': 0, + // The end of a multiline comment would end the comment the example is in. + 'jsdoc/require-jsdoc': 0, + // Unlikely to have inadvertent debugging within examples + 'no-console': 0, + // Often wish to start `@example` code after newline; also may use + // empty lines for spacing + 'no-multiple-empty-lines': 0, + // Many variables in examples will be `undefined` + 'no-undef': 0, + // Common to define variables for clarity without always using them + 'no-unused-vars': 0, + // See import/no-unresolved + 'node/no-missing-import': 0, + 'node/no-missing-require': 0, + // Can generally look nicer to pad a little even if code imposes more stringency + 'padded-blocks': 0 + } +}]; +index.configs['default-expressions'] = /** @type {import('eslint').Linter.FlatConfig[]} */[{ + files: ['**/*.js'], + name: 'jsdoc/default-expressions/processor', + plugins: { + examples: (0, _getJsdocProcessorPlugin.getJsdocProcessorPlugin)({ + checkDefaults: true, + checkParams: true, + checkProperties: true + }) + }, + processor: 'examples/examples' +}, { + name: 'jsdoc/default-expressions/rules', + files: ['**/*.jsdoc-defaults', '**/*.jsdoc-params', '**/*.jsdoc-properties'], + rules: { + ...index.configs.examples[1].rules, + 'chai-friendly/no-unused-expressions': 0, + 'no-empty-function': 0, + 'no-new': 0, + 'no-unused-expressions': 0, + quotes: ['error', 'double'], + semi: ['error', 'never'], + strict: 0 + } +}]; +index.configs['examples-and-default-expressions'] = /** @type {import('eslint').Linter.FlatConfig[]} */[{ + name: 'jsdoc/examples-and-default-expressions', + plugins: { + examples: (0, _getJsdocProcessorPlugin.getJsdocProcessorPlugin)({ + checkDefaults: true, + checkParams: true, + checkProperties: true + }) + } +}, ...index.configs.examples.map(config => { + return { + ...config, + plugins: {} + }; +}), ...index.configs['default-expressions'].map(config => { + return { + ...config, + plugins: {} + }; +})]; var _default = exports.default = index; module.exports = exports.default; //# sourceMappingURL=index.cjs.map \ No newline at end of file diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/iterateJsdoc.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/iterateJsdoc.cjs index cffffd90af9ef6..c1b2be29faf025 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/iterateJsdoc.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/iterateJsdoc.cjs @@ -11,11 +11,13 @@ Object.defineProperty(exports, "parseComment", { return _jsdoccomment.parseComment; } }); -var _jsdocUtils = _interopRequireDefault(require("./jsdocUtils.cjs")); +var jsdocUtils = _interopRequireWildcard(require("./jsdocUtils.cjs")); var _jsdoccomment = require("@es-joy/jsdoccomment"); var _commentParser = require("comment-parser"); var _esquery = _interopRequireDefault(require("esquery")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /** * @typedef {number} Integer */ @@ -625,15 +627,15 @@ const getBasicUtils = (context, { /** @type {ParseClosureTemplateTag} */ utils.parseClosureTemplateTag = tag => { - return _jsdocUtils.default.parseClosureTemplateTag(tag); + return jsdocUtils.parseClosureTemplateTag(tag); }; - utils.pathDoesNotBeginWith = _jsdocUtils.default.pathDoesNotBeginWith; + utils.pathDoesNotBeginWith = jsdocUtils.pathDoesNotBeginWith; /** @type {GetPreferredTagNameObject} */ utils.getPreferredTagNameObject = ({ tagName }) => { - const ret = _jsdocUtils.default.getPreferredTagName(context, /** @type {import('./jsdocUtils.js').ParserMode} */mode, tagName, tagNamePreference); + const ret = jsdocUtils.getPreferredTagNameSimple(tagName, /** @type {import('./jsdocUtils.js').ParserMode} */mode, tagNamePreference, context); const isObject = ret && typeof ret === 'object'; if (ret === false || isObject && !ret.replacement) { return { @@ -732,41 +734,12 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {GetRegexFromString} */ utils.getRegexFromString = (str, requiredFlags) => { - return _jsdocUtils.default.getRegexFromString(str, requiredFlags); + return jsdocUtils.getRegexFromString(str, requiredFlags); }; /** @type {GetTagDescription} */ utils.getTagDescription = (tg, returnArray) => { - /** - * @type {string[]} - */ - const descriptions = []; - tg.source.some(({ - tokens: { - end, - lineEnd, - postDelimiter, - tag, - postTag, - name, - type, - description - } - }) => { - const desc = (tag && postTag || !tag && !name && !type && postDelimiter || '' - - // Remove space - ).slice(1) + (description || '') + (lineEnd || ''); - if (end) { - if (desc) { - descriptions.push(desc); - } - return true; - } - descriptions.push(desc); - return false; - }); - return returnArray ? descriptions : descriptions.join('\n'); + return jsdocUtils.getTagDescription(tg, returnArray); }; /** @type {SetTagDescription} */ @@ -1188,16 +1161,16 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** * @type {import('./jsdocUtils.js').FlattenRoots} */ - utils.flattenRoots = _jsdocUtils.default.flattenRoots; + utils.flattenRoots = jsdocUtils.flattenRoots; /** @type {GetFunctionParameterNames} */ utils.getFunctionParameterNames = useDefaultObjectProperties => { - return _jsdocUtils.default.getFunctionParameterNames(node, useDefaultObjectProperties); + return jsdocUtils.getFunctionParameterNames(node, useDefaultObjectProperties); }; /** @type {HasParams} */ utils.hasParams = () => { - return _jsdocUtils.default.hasParams( /** @type {Node} */node); + return jsdocUtils.hasParams( /** @type {Node} */node); }; /** @type {IsGenerator} */ @@ -1218,7 +1191,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {IsConstructor} */ utils.isConstructor = () => { - return _jsdocUtils.default.isConstructor( /** @type {Node} */node); + return jsdocUtils.isConstructor( /** @type {Node} */node); }; /** @type {GetJsdocTagsDeep} */ @@ -1229,55 +1202,43 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati if (!name) { return false; } - return _jsdocUtils.default.getJsdocTagsDeep(jsdoc, name); + return jsdocUtils.getJsdocTagsDeep(jsdoc, name); }; /** @type {GetPreferredTagName} */ - utils.getPreferredTagName = ({ - tagName, - skipReportingBlockedTag = false, - allowObjectReturn = false, - defaultMessage = `Unexpected tag \`@${tagName}\`` - }) => { - const ret = _jsdocUtils.default.getPreferredTagName(context, mode, tagName, tagNamePreference); - const isObject = ret && typeof ret === 'object'; - if (utils.hasTag(tagName) && (ret === false || isObject && !ret.replacement)) { - if (skipReportingBlockedTag) { - return { - blocked: true, - tagName - }; - } - const message = isObject && ret.message || defaultMessage; - report(message, null, utils.getTags(tagName)[0]); - return false; - } - return isObject && !allowObjectReturn ? ret.replacement : ret; + utils.getPreferredTagName = args => { + return jsdocUtils.getPreferredTagName(jsdoc, { + ...args, + context, + mode, + report, + tagNamePreference + }); }; /** @type {IsValidTag} */ utils.isValidTag = (name, definedTags) => { - return _jsdocUtils.default.isValidTag(context, mode, name, definedTags); + return jsdocUtils.isValidTag(context, mode, name, definedTags); }; /** @type {HasATag} */ utils.hasATag = names => { - return _jsdocUtils.default.hasATag(jsdoc, names); + return jsdocUtils.hasATag(jsdoc, names); }; /** @type {HasTag} */ utils.hasTag = name => { - return _jsdocUtils.default.hasTag(jsdoc, name); + return jsdocUtils.hasTag(jsdoc, name); }; /** @type {ComparePaths} */ utils.comparePaths = name => { - return _jsdocUtils.default.comparePaths(name); + return jsdocUtils.comparePaths(name); }; /** @type {DropPathSegmentQuotes} */ utils.dropPathSegmentQuotes = name => { - return _jsdocUtils.default.dropPathSegmentQuotes(name); + return jsdocUtils.dropPathSegmentQuotes(name); }; /** @type {AvoidDocs} */ @@ -1286,7 +1247,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati if (ignoreReplacesDocs !== false && (utils.hasTag('ignore') || utils.classHasTag('ignore')) || overrideReplacesDocs !== false && (utils.hasTag('override') || utils.classHasTag('override')) || implementsReplacesDocs !== false && (utils.hasTag('implements') || utils.classHasTag('implements')) || augmentsExtendsReplacesDocs && (utils.hasATag(['augments', 'extends']) || utils.classHasTag('augments') || utils.classHasTag('extends'))) { return true; } - if (_jsdocUtils.default.exemptSpeciaMethods(jsdoc, node, context, /** @type {import('json-schema').JSONSchema4|import('json-schema').JSONSchema4[]} */ + if (jsdocUtils.exemptSpeciaMethods(jsdoc, node, context, /** @type {import('json-schema').JSONSchema4|import('json-schema').JSONSchema4[]} */ ruleConfig.meta.schema)) { return true; } @@ -1300,7 +1261,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {TagMightHaveNamePositionTypePosition} */ utils[( /** @type {"tagMightHaveNamePosition"|"tagMightHaveTypePosition"} */ method)] = (tagName, otherModeMaps) => { - const result = _jsdocUtils.default[( /** @type {"tagMightHaveNamePosition"|"tagMightHaveTypePosition"} */ + const result = jsdocUtils[( /** @type {"tagMightHaveNamePosition"|"tagMightHaveTypePosition"} */ method)](tagName); if (result) { return true; @@ -1309,7 +1270,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati return false; } const otherResult = otherModeMaps.some(otherModeMap => { - return _jsdocUtils.default[( /** @type {"tagMightHaveNamePosition"|"tagMightHaveTypePosition"} */ + return jsdocUtils[( /** @type {"tagMightHaveNamePosition"|"tagMightHaveTypePosition"} */ method)](tagName, otherModeMap); }); return otherResult ? { @@ -1320,12 +1281,12 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {TagMissingRequiredTypeOrNamepath} */ utils.tagMissingRequiredTypeOrNamepath = (tagName, otherModeMaps) => { - const result = _jsdocUtils.default.tagMissingRequiredTypeOrNamepath(tagName); + const result = jsdocUtils.tagMissingRequiredTypeOrNamepath(tagName); if (!result) { return false; } const otherResult = otherModeMaps.every(otherModeMap => { - return _jsdocUtils.default.tagMissingRequiredTypeOrNamepath(tagName, otherModeMap); + return jsdocUtils.tagMissingRequiredTypeOrNamepath(tagName, otherModeMap); }); return otherResult ? true : { otherMode: false @@ -1335,7 +1296,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {TagMustHave} */ utils[( /** @type {"tagMustHaveNamePosition"|"tagMustHaveTypePosition"} */ method)] = (tagName, otherModeMaps) => { - const result = _jsdocUtils.default[( /** @type {"tagMustHaveNamePosition"|"tagMustHaveTypePosition"} */ + const result = jsdocUtils[( /** @type {"tagMustHaveNamePosition"|"tagMustHaveTypePosition"} */ method)](tagName); if (!result) { return false; @@ -1344,7 +1305,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati // if (!otherModeMaps) { return true; } const otherResult = otherModeMaps.every(otherModeMap => { - return _jsdocUtils.default[( /** @type {"tagMustHaveNamePosition"|"tagMustHaveTypePosition"} */ + return jsdocUtils[( /** @type {"tagMustHaveNamePosition"|"tagMustHaveTypePosition"} */ method)](tagName, otherModeMap); }); return otherResult ? true : { @@ -1356,44 +1317,44 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {IsNamepathX} */ utils[( /** @type {"isNamepathDefiningTag"|"isNamepathReferencingTag"|"isNamepathOrUrlReferencingTag"|"tagMightHaveNamepath"} */ method)] = tagName => { - return _jsdocUtils.default[( /** @type {"isNamepathDefiningTag"|"isNamepathReferencingTag"|"isNamepathOrUrlReferencingTag"|"tagMightHaveNamepath"} */ + return jsdocUtils[( /** @type {"isNamepathDefiningTag"|"isNamepathReferencingTag"|"isNamepathOrUrlReferencingTag"|"tagMightHaveNamepath"} */ method)](tagName); }; } /** @type {GetTagStructureForMode} */ utils.getTagStructureForMode = mde => { - return _jsdocUtils.default.getTagStructureForMode(mde, settings.structuredTags); + return jsdocUtils.getTagStructureForMode(mde, settings.structuredTags); }; /** @type {MayBeUndefinedTypeTag} */ utils.mayBeUndefinedTypeTag = tag => { - return _jsdocUtils.default.mayBeUndefinedTypeTag(tag, settings.mode); + return jsdocUtils.mayBeUndefinedTypeTag(tag, settings.mode); }; /** @type {HasValueOrExecutorHasNonEmptyResolveValue} */ utils.hasValueOrExecutorHasNonEmptyResolveValue = (anyPromiseAsReturn, allBranches) => { - return _jsdocUtils.default.hasValueOrExecutorHasNonEmptyResolveValue( /** @type {Node} */node, anyPromiseAsReturn, allBranches); + return jsdocUtils.hasValueOrExecutorHasNonEmptyResolveValue( /** @type {Node} */node, anyPromiseAsReturn, allBranches); }; /** @type {HasYieldValue} */ utils.hasYieldValue = () => { if (['ExportNamedDeclaration', 'ExportDefaultDeclaration'].includes( /** @type {Node} */node.type)) { - return _jsdocUtils.default.hasYieldValue( /** @type {import('estree').Declaration|import('estree').Expression} */ + return jsdocUtils.hasYieldValue( /** @type {import('estree').Declaration|import('estree').Expression} */ /** @type {import('estree').ExportNamedDeclaration|import('estree').ExportDefaultDeclaration} */ node.declaration); } - return _jsdocUtils.default.hasYieldValue( /** @type {Node} */node); + return jsdocUtils.hasYieldValue( /** @type {Node} */node); }; /** @type {HasYieldReturnValue} */ utils.hasYieldReturnValue = () => { - return _jsdocUtils.default.hasYieldValue( /** @type {Node} */node, true); + return jsdocUtils.hasYieldValue( /** @type {Node} */node, true); }; /** @type {HasThrowValue} */ utils.hasThrowValue = () => { - return _jsdocUtils.default.hasThrowValue(node); + return jsdocUtils.hasThrowValue(node); }; /** @type {IsAsync} */ @@ -1403,28 +1364,26 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {GetTags} */ utils.getTags = tagName => { - return utils.filterTags(item => { - return item.tag === tagName; - }); + return jsdocUtils.getTags(jsdoc, tagName); }; /** @type {GetPresentTags} */ utils.getPresentTags = tagList => { - return utils.filterTags(tag => { + return jsdocUtils.filterTags(jsdoc, tag => { return tagList.includes(tag.tag); }); }; /** @type {FilterTags} */ utils.filterTags = filter => { - return jsdoc.tags.filter(tag => { + return jsdocUtils.filterTags(jsdoc, tag => { return filter(tag); }); }; /** @type {FilterAllTags} */ utils.filterAllTags = filter => { - const tags = _jsdocUtils.default.getAllTags(jsdoc); + const tags = jsdocUtils.getAllTags(jsdoc); return tags.filter(tag => { return filter(tag); }); @@ -1432,7 +1391,7 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {GetTagsByType} */ utils.getTagsByType = tags => { - return _jsdocUtils.default.getTagsByType(context, mode, tags); + return jsdocUtils.getTagsByType(context, mode, tags); }; /** @type {HasOptionTag} */ @@ -1469,31 +1428,18 @@ const getUtils = (node, jsdoc, jsdocNode, settings, report, context, sc, iterati /** @type {ClassHasTag} */ utils.classHasTag = tagName => { const classJsdoc = utils.getClassJsdoc(); - return classJsdoc !== null && _jsdocUtils.default.hasTag(classJsdoc, tagName); + return classJsdoc !== null && jsdocUtils.hasTag(classJsdoc, tagName); }; /** @type {ForEachPreferredTag} */ - utils.forEachPreferredTag = (tagName, arrayHandler, skipReportingBlockedTag = false) => { - const targetTagName = /** @type {string|false} */ - utils.getPreferredTagName({ + utils.forEachPreferredTag = (tagName, arrayHandler, skipReportingBlockedTag) => { + return jsdocUtils.forEachPreferredTag(jsdoc, tagName, arrayHandler, { skipReportingBlockedTag, - tagName - }); - if (!targetTagName || skipReportingBlockedTag && targetTagName && typeof targetTagName === 'object') { - return; - } - const matchingJsdocTags = jsdoc.tags.filter(({ - tag - }) => { - return tag === targetTagName; + context, + mode, + report, + tagNamePreference }); - for (const matchingJsdocTag of matchingJsdocTags) { - arrayHandler( - /** - * @type {import('@es-joy/jsdoccomment').JsdocTagWithInline} - */ - matchingJsdocTag, targetTagName); - } }; /** @type {FindContext} */ @@ -1580,9 +1526,9 @@ const getSettings = context => { }; /* dslint-enable canonical/sort-keys */ - _jsdocUtils.default.setTagStructure(settings.mode); + jsdocUtils.setTagStructure(settings.mode); try { - _jsdocUtils.default.overrideTagStructure(settings.structuredTags); + jsdocUtils.overrideTagStructure(settings.structuredTags); } catch (error) { context.report({ loc: { @@ -1730,7 +1676,7 @@ const iterate = (info, indent, jsdoc, ruleConfig, context, jsdocNode, node, sett if (!ruleConfig.checkInternal && settings.ignoreInternal && utils.hasTag('internal')) { return; } - if (!ruleConfig.checkPrivate && settings.ignorePrivate && (utils.hasTag('private') || jsdoc.tags.filter(({ + if (!ruleConfig.checkPrivate && settings.ignorePrivate && (utils.hasTag('private') || jsdocUtils.filterTags(jsdoc, ({ tag }) => { return tag === 'access'; @@ -2034,7 +1980,7 @@ function iterateJsdoc(iterator, ruleConfig) { let contexts; if (ruleConfig.contextDefaults || ruleConfig.contextSelected || ruleConfig.matchContext) { var _context$options$2, _contexts, _contexts2; - contexts = ruleConfig.matchContext && (_context$options$2 = context.options[0]) !== null && _context$options$2 !== void 0 && _context$options$2.match ? context.options[0].match : _jsdocUtils.default.enforcedContexts(context, ruleConfig.contextDefaults, ruleConfig.nonGlobalSettings ? {} : settings); + contexts = ruleConfig.matchContext && (_context$options$2 = context.options[0]) !== null && _context$options$2 !== void 0 && _context$options$2.match ? context.options[0].match : jsdocUtils.enforcedContexts(context, ruleConfig.contextDefaults, ruleConfig.nonGlobalSettings ? {} : settings); if (contexts) { contexts = contexts.map(obj => { if (typeof obj === 'object' && !obj.context) { @@ -2091,7 +2037,7 @@ function iterateJsdoc(iterator, ruleConfig) { /** @type {import('eslint').Rule.RuleListener} */ let contextObject = {}; if (contexts && (ruleConfig.contextDefaults || ruleConfig.contextSelected || ruleConfig.matchContext)) { - contextObject = _jsdocUtils.default.getContextObject(contexts, checkJsdoc, (0, _jsdoccomment.commentHandler)(settings)); + contextObject = jsdocUtils.getContextObject(contexts, checkJsdoc, (0, _jsdoccomment.commentHandler)(settings)); } else { for (const prop of ['ArrowFunctionExpression', 'FunctionDeclaration', 'FunctionExpression', 'TSDeclareFunction']) { contextObject[prop] = checkJsdoc.bind(null, { diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.cjs index d0c7be3744b593..2d0ed5d70fece4 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/jsdocUtils.cjs @@ -3,7 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true }); -exports.default = void 0; +exports.hasParams = exports.hasATag = exports.getTagsByType = exports.getTags = exports.getTagStructureForMode = exports.getTagDescription = exports.getRegexFromString = exports.getPreferredTagNameSimple = exports.getPreferredTagName = exports.getJsdocTagsDeep = exports.getIndent = exports.getFunctionParameterNames = exports.getContextObject = exports.getAllTags = exports.forEachPreferredTag = exports.flattenRoots = exports.filterTags = exports.exemptSpeciaMethods = exports.enforcedContexts = exports.dropPathSegmentQuotes = exports.comparePaths = void 0; +Object.defineProperty(exports, "hasReturnValue", { + enumerable: true, + get: function () { + return _hasReturnValue.hasReturnValue; + } +}); +exports.hasThrowValue = exports.hasTag = void 0; +Object.defineProperty(exports, "hasValueOrExecutorHasNonEmptyResolveValue", { + enumerable: true, + get: function () { + return _hasReturnValue.hasValueOrExecutorHasNonEmptyResolveValue; + } +}); +exports.tagMustHaveTypePosition = exports.tagMustHaveNamePosition = exports.tagMissingRequiredTypeOrNamepath = exports.tagMightHaveTypePosition = exports.tagMightHaveNamepath = exports.tagMightHaveNamePosition = exports.tagMightHaveEitherTypeOrNamePosition = exports.setTagStructure = exports.pathDoesNotBeginWith = exports.parseClosureTemplateTag = exports.overrideTagStructure = exports.mayBeUndefinedTypeTag = exports.isValidTag = exports.isSetter = exports.isNamepathReferencingTag = exports.isNamepathOrUrlReferencingTag = exports.isNamepathDefiningTag = exports.isGetter = exports.isConstructor = exports.hasYieldValue = void 0; var _getDefaultTagStructureForMode = _interopRequireDefault(require("./getDefaultTagStructureForMode.cjs")); var _tagNames = require("./tagNames.cjs"); var _hasReturnValue = require("./utils/hasReturnValue.cjs"); @@ -82,6 +96,7 @@ const setTagStructure = mode => { */ /** @type {FlattenRoots} */ +exports.setTagStructure = setTagStructure; const flattenRoots = (params, root = '') => { let hasRestElement = false; let hasPropertyRest = false; @@ -153,6 +168,7 @@ const flattenRoots = (params, root = '') => { * import('@typescript-eslint/types').TSESTree.TSPropertySignature} propSignature * @returns {undefined|string|[string, string[]]} */ +exports.flattenRoots = flattenRoots; const getPropertiesFromPropertySignature = propSignature => { if (propSignature.type === 'TSIndexSignature' || propSignature.type === 'TSConstructSignatureDeclaration' || propSignature.type === 'TSCallSignatureDeclaration') { return undefined; @@ -337,6 +353,7 @@ const getFunctionParameterNames = (functionNode, checkDefaultObjects) => { * @param {ESTreeOrTypeScriptNode} functionNode * @returns {Integer} */ +exports.getFunctionParameterNames = getFunctionParameterNames; const hasParams = functionNode => { // Should also check `functionNode.value.params` if supporting `MethodDefinition` return /** @type {import('@typescript-eslint/types').TSESTree.FunctionDeclaration} */functionNode.params.length; @@ -353,6 +370,7 @@ const hasParams = functionNode => { * type: string * }[]} */ +exports.hasParams = hasParams; const getJsdocTagsDeep = (jsdoc, targetTagName) => { const ret = []; for (const [idx, { @@ -371,11 +389,12 @@ const getJsdocTagsDeep = (jsdoc, targetTagName) => { } return ret; }; +exports.getJsdocTagsDeep = getJsdocTagsDeep; const modeWarnSettings = (0, _WarnSettings.default)(); /** * @param {ParserMode|undefined} mode - * @param {import('eslint').Rule.RuleContext} context + * @param {Reporter} context * @returns {import('./tagNames.js').AliasedTags} */ const getTagNamesForMode = (mode, context) => { @@ -411,16 +430,65 @@ const getTagNamesForMode = (mode, context) => { }; /** - * @param {import('eslint').Rule.RuleContext} context - * @param {ParserMode|undefined} mode + * @param {import('comment-parser').Spec} tg + * @param {boolean} [returnArray] + * @returns {string[]|string} + */ +const getTagDescription = (tg, returnArray) => { + /** + * @type {string[]} + */ + const descriptions = []; + tg.source.some(({ + tokens: { + end, + lineEnd, + postDelimiter, + tag, + postTag, + name, + type, + description + } + }) => { + const desc = (tag && postTag || !tag && !name && !type && postDelimiter || '' + + // Remove space + ).slice(1) + (description || '') + (lineEnd || ''); + if (end) { + if (desc) { + descriptions.push(desc); + } + return true; + } + descriptions.push(desc); + return false; + }); + return returnArray ? descriptions : descriptions.join('\n'); +}; + +/** + * @typedef {{ + * report: (descriptor: import('eslint').Rule.ReportDescriptor) => void + * }} Reporter + */ + +/** * @param {string} name + * @param {ParserMode|undefined} mode * @param {TagNamePreference} tagPreference + * @param {Reporter} context * @returns {string|false|{ * message: string; * replacement?: string|undefined; * }} */ -const getPreferredTagName = (context, mode, name, tagPreference = {}) => { +exports.getTagDescription = getTagDescription; +const getPreferredTagNameSimple = (name, mode, tagPreference = {}, context = { + report() { + // No-op + } +}) => { var _Object$entries$find; const prefValues = Object.values(tagPreference); if (prefValues.includes(name) || prefValues.some(prefVal => { @@ -457,6 +525,7 @@ const getPreferredTagName = (context, mode, name, tagPreference = {}) => { * @param {string[]} definedTags * @returns {boolean} */ +exports.getPreferredTagNameSimple = getPreferredTagNameSimple; const isValidTag = (context, mode, name, definedTags) => { const tagNames = getTagNamesForMode(mode, context); const validTagNames = Object.keys(tagNames).concat(Object.values(tagNames).flat()); @@ -470,6 +539,7 @@ const isValidTag = (context, mode, name, definedTags) => { * @param {string} targetTagName * @returns {boolean} */ +exports.isValidTag = isValidTag; const hasTag = (jsdoc, targetTagName) => { const targetTagLower = targetTagName.toLowerCase(); return jsdoc.tags.some(doc => { @@ -477,12 +547,133 @@ const hasTag = (jsdoc, targetTagName) => { }); }; +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {(tag: import('@es-joy/jsdoccomment').JsdocTagWithInline) => boolean} filter + * @returns {import('@es-joy/jsdoccomment').JsdocTagWithInline[]} + */ +exports.hasTag = hasTag; +const filterTags = (jsdoc, filter) => { + return jsdoc.tags.filter(tag => { + return filter(tag); + }); +}; + +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {string} tagName + * @returns {import('comment-parser').Spec[]} + */ +exports.filterTags = filterTags; +const getTags = (jsdoc, tagName) => { + return filterTags(jsdoc, item => { + return item.tag === tagName; + }); +}; + +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {{ + * tagName: string, + * context?: import('eslint').Rule.RuleContext, + * mode?: ParserMode, + * report?: import('./iterateJsdoc.js').Report + * tagNamePreference?: TagNamePreference + * skipReportingBlockedTag?: boolean, + * allowObjectReturn?: boolean, + * defaultMessage?: string, + * }} cfg + * @returns {string|undefined|false|{ + * message: string; + * replacement?: string|undefined; + * }|{ + * blocked: true, + * tagName: string + * }} + */ +exports.getTags = getTags; +const getPreferredTagName = (jsdoc, { + tagName, + context, + mode, + tagNamePreference, + report = () => {}, + skipReportingBlockedTag = false, + allowObjectReturn = false, + defaultMessage = `Unexpected tag \`@${tagName}\`` +}) => { + const ret = getPreferredTagNameSimple(tagName, mode, tagNamePreference, context); + const isObject = ret && typeof ret === 'object'; + if (hasTag(jsdoc, tagName) && (ret === false || isObject && !ret.replacement)) { + if (skipReportingBlockedTag) { + return { + blocked: true, + tagName + }; + } + const message = isObject && ret.message || defaultMessage; + report(message, null, getTags(jsdoc, tagName)[0]); + return false; + } + return isObject && !allowObjectReturn ? ret.replacement : ret; +}; + +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {string} tagName + * @param {( + * matchingJsdocTag: import('@es-joy/jsdoccomment').JsdocTagWithInline, + * targetTagName: string + * ) => void} arrayHandler + * @param {object} cfg + * @param {import('eslint').Rule.RuleContext} [cfg.context] + * @param {ParserMode} [cfg.mode] + * @param {import('./iterateJsdoc.js').Report} [cfg.report] + * @param {TagNamePreference} [cfg.tagNamePreference] + * @param {boolean} [cfg.skipReportingBlockedTag] + * @returns {void} + */ +exports.getPreferredTagName = getPreferredTagName; +const forEachPreferredTag = (jsdoc, tagName, arrayHandler, { + context, + mode, + report, + tagNamePreference, + skipReportingBlockedTag = false +} = {}) => { + const targetTagName = /** @type {string|false} */ + getPreferredTagName(jsdoc, { + skipReportingBlockedTag, + tagName, + context, + mode, + report, + tagNamePreference + }); + if (!targetTagName || skipReportingBlockedTag && targetTagName && typeof targetTagName === 'object') { + return; + } + const matchingJsdocTags = jsdoc.tags.filter(({ + tag + }) => { + return tag === targetTagName; + }); + for (const matchingJsdocTag of matchingJsdocTags) { + arrayHandler( + /** + * @type {import('@es-joy/jsdoccomment').JsdocTagWithInline} + */ + matchingJsdocTag, targetTagName); + } +}; + /** * Get all tags, inline tags and inline tags in tags * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc * @returns {(import('comment-parser').Spec| * import('@es-joy/jsdoccomment').JsdocInlineTagNoType)[]} */ +exports.forEachPreferredTag = forEachPreferredTag; const getAllTags = jsdoc => { return [...jsdoc.tags, ...jsdoc.inlineTags.map(inlineTag => { // Tags don't have source or line numbers, so add before returning @@ -543,6 +734,7 @@ const getAllTags = jsdoc => { * @param {string[]} targetTagNames * @returns {boolean} */ +exports.getAllTags = getAllTags; const hasATag = (jsdoc, targetTagNames) => { return targetTagNames.some(targetTagName => { return hasTag(jsdoc, targetTagName); @@ -557,6 +749,7 @@ const hasATag = (jsdoc, targetTagNames) => { * @returns {boolean} * true in case a defined type is undeclared; otherwise false. */ +exports.hasATag = hasATag; const mayBeUndefinedTypeTag = (tag, mode) => { // The function should not continue in the event the type is not defined... if (typeof tag === 'undefined' || tag === null) { @@ -593,6 +786,7 @@ const mayBeUndefinedTypeTag = (tag, mode) => { * @param {string} tag * @returns {Map} */ +exports.mayBeUndefinedTypeTag = mayBeUndefinedTypeTag; const ensureMap = (map, tag) => { if (!map.has(tag)) { map.set(tag, new Map()); @@ -640,6 +834,7 @@ const overrideTagStructure = (structuredTags, tagMap = tagStructure) => { * @param {import('./iterateJsdoc.js').StructuredTags} structuredTags * @returns {import('./getDefaultTagStructureForMode.js').TagStructure} */ +exports.overrideTagStructure = overrideTagStructure; const getTagStructureForMode = (mode, structuredTags) => { const tagStruct = (0, _getDefaultTagStructureForMode.default)(mode); try { @@ -656,6 +851,7 @@ const getTagStructureForMode = (mode, structuredTags) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean} */ +exports.getTagStructureForMode = getTagStructureForMode; const isNamepathDefiningTag = (tag, tagMap = tagStructure) => { const tagStruct = ensureMap(tagMap, tag); return tagStruct.get('namepathRole') === 'namepath-defining'; @@ -666,6 +862,7 @@ const isNamepathDefiningTag = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean} */ +exports.isNamepathDefiningTag = isNamepathDefiningTag; const isNamepathReferencingTag = (tag, tagMap = tagStructure) => { const tagStruct = ensureMap(tagMap, tag); return tagStruct.get('namepathRole') === 'namepath-referencing'; @@ -676,6 +873,7 @@ const isNamepathReferencingTag = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean} */ +exports.isNamepathReferencingTag = isNamepathReferencingTag; const isNamepathOrUrlReferencingTag = (tag, tagMap = tagStructure) => { const tagStruct = ensureMap(tagMap, tag); return tagStruct.get('namepathRole') === 'namepath-or-url-referencing'; @@ -686,6 +884,7 @@ const isNamepathOrUrlReferencingTag = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean|undefined} */ +exports.isNamepathOrUrlReferencingTag = isNamepathOrUrlReferencingTag; const tagMustHaveTypePosition = (tag, tagMap = tagStructure) => { const tagStruct = ensureMap(tagMap, tag); return /** @type {boolean|undefined} */tagStruct.get('typeRequired'); @@ -696,6 +895,7 @@ const tagMustHaveTypePosition = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean|string} */ +exports.tagMustHaveTypePosition = tagMustHaveTypePosition; const tagMightHaveTypePosition = (tag, tagMap = tagStructure) => { if (tagMustHaveTypePosition(tag, tagMap)) { return true; @@ -704,6 +904,7 @@ const tagMightHaveTypePosition = (tag, tagMap = tagStructure) => { const ret = /** @type {boolean|undefined} */tagStruct.get('typeAllowed'); return ret === undefined ? true : ret; }; +exports.tagMightHaveTypePosition = tagMightHaveTypePosition; const namepathTypes = new Set(['namepath-defining', 'namepath-referencing']); /** @@ -722,6 +923,7 @@ const tagMightHaveNamePosition = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean} */ +exports.tagMightHaveNamePosition = tagMightHaveNamePosition; const tagMightHaveNamepath = (tag, tagMap = tagStructure) => { const tagStruct = ensureMap(tagMap, tag); const nampathRole = tagStruct.get('namepathRole'); @@ -733,6 +935,7 @@ const tagMightHaveNamepath = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean|undefined} */ +exports.tagMightHaveNamepath = tagMightHaveNamepath; const tagMustHaveNamePosition = (tag, tagMap = tagStructure) => { const tagStruct = ensureMap(tagMap, tag); return /** @type {boolean|undefined} */tagStruct.get('nameRequired'); @@ -743,6 +946,7 @@ const tagMustHaveNamePosition = (tag, tagMap = tagStructure) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean} */ +exports.tagMustHaveNamePosition = tagMustHaveNamePosition; const tagMightHaveEitherTypeOrNamePosition = (tag, tagMap) => { return Boolean(tagMightHaveTypePosition(tag, tagMap)) || tagMightHaveNamepath(tag, tagMap); }; @@ -752,6 +956,7 @@ const tagMightHaveEitherTypeOrNamePosition = (tag, tagMap) => { * @param {import('./getDefaultTagStructureForMode.js').TagStructure} tagMap * @returns {boolean|undefined} */ +exports.tagMightHaveEitherTypeOrNamePosition = tagMightHaveEitherTypeOrNamePosition; const tagMustHaveEitherTypeOrNamePosition = (tag, tagMap) => { const tagStruct = ensureMap(tagMap, tag); return /** @type {boolean} */tagStruct.get('typeOrNameRequired'); @@ -778,6 +983,7 @@ const tagMissingRequiredTypeOrNamepath = (tag, tagMap = tagStructure) => { * @param {boolean} [checkYieldReturnValue] * @returns {boolean} */ +exports.tagMissingRequiredTypeOrNamepath = tagMissingRequiredTypeOrNamepath; const hasNonFunctionYield = (node, checkYieldReturnValue) => { /* eslint-enable complexity -- Temporary */ if (!node) { @@ -954,6 +1160,7 @@ const hasYieldValue = (node, checkYieldReturnValue) => { * @returns {boolean} */ // eslint-disable-next-line complexity +exports.hasYieldValue = hasYieldValue; const hasThrowValue = (node, innerFunction) => { if (!node) { return false; @@ -1030,6 +1237,7 @@ const isInlineTag = (tag) => { * @param {import('comment-parser').Spec} tag * @returns {string[]} */ +exports.hasThrowValue = hasThrowValue; const parseClosureTemplateTag = tag => { return tag.name.split(',').map(type => { return type.trim().replace(/^\[(?.*?)=.*\]$/u, '$'); @@ -1051,6 +1259,7 @@ const parseClosureTemplateTag = tag => { * }} settings * @returns {(string|import('./iterateJsdoc.js').ContextObject)[]} */ +exports.parseClosureTemplateTag = parseClosureTemplateTag; const enforcedContexts = (context, defaultContexts, settings) => { var _context$options$; const contexts = ((_context$options$ = context.options[0]) === null || _context$options$ === void 0 ? void 0 : _context$options$.contexts) || settings.contexts || (defaultContexts === true ? ['ArrowFunctionExpression', 'FunctionDeclaration', 'FunctionExpression', 'TSDeclareFunction'] : defaultContexts); @@ -1063,6 +1272,7 @@ const enforcedContexts = (context, defaultContexts, settings) => { * @param {import('@es-joy/jsdoccomment').CommentHandler} [handler] * @returns {import('eslint').Rule.RuleListener} */ +exports.enforcedContexts = enforcedContexts; const getContextObject = (contexts, checkJsdoc, handler) => { /** @type {import('eslint').Rule.RuleListener} */ const properties = {}; @@ -1116,6 +1326,7 @@ const getContextObject = (contexts, checkJsdoc, handler) => { } return properties; }; +exports.getContextObject = getContextObject; const tagsWithNamesAndDescriptions = new Set(['param', 'arg', 'argument', 'property', 'prop', 'template', // These two are parsed by our custom parser as though having a `name` 'returns', 'return']); @@ -1163,6 +1374,7 @@ const getTagsByType = (context, mode, tags) => { * }} sourceCode * @returns {string} */ +exports.getTagsByType = getTagsByType; const getIndent = sourceCode => { var _sourceCode$text$matc; return (((_sourceCode$text$matc = sourceCode.text.match(/^\n*([ \t]+)/u)) === null || _sourceCode$text$matc === void 0 ? void 0 : _sourceCode$text$matc[1]) ?? '') + ' '; @@ -1172,6 +1384,7 @@ const getIndent = sourceCode => { * @param {import('eslint').Rule.Node|null} node * @returns {boolean} */ +exports.getIndent = getIndent; const isConstructor = node => { var _node$parent; return (node === null || node === void 0 ? void 0 : node.type) === 'MethodDefinition' && node.kind === 'constructor' || /** @type {import('@typescript-eslint/types').TSESTree.MethodDefinition} */(node === null || node === void 0 || (_node$parent = node.parent) === null || _node$parent === void 0 ? void 0 : _node$parent.kind) === 'constructor'; @@ -1181,6 +1394,7 @@ const isConstructor = node => { * @param {import('eslint').Rule.Node|null} node * @returns {boolean} */ +exports.isConstructor = isConstructor; const isGetter = node => { var _node$parent2; return node !== null && @@ -1195,6 +1409,7 @@ const isGetter = node => { * @param {import('eslint').Rule.Node|null} node * @returns {boolean} */ +exports.isGetter = isGetter; const isSetter = node => { var _node$parent3; return node !== null && @@ -1209,6 +1424,7 @@ const isSetter = node => { * @param {import('eslint').Rule.Node} node * @returns {boolean} */ +exports.isSetter = isSetter; const hasAccessorPair = node => { const { type, @@ -1268,6 +1484,7 @@ const exemptSpeciaMethods = (jsdoc, node, context, schema) => { * @param {string} str * @returns {string} */ +exports.exemptSpeciaMethods = exemptSpeciaMethods; const dropPathSegmentQuotes = str => { return str.replaceAll(/\.(['"])(.*)\1/gu, '.$2'); }; @@ -1276,6 +1493,7 @@ const dropPathSegmentQuotes = str => { * @param {string} name * @returns {(otherPathName: string) => boolean} */ +exports.dropPathSegmentQuotes = dropPathSegmentQuotes; const comparePaths = name => { return otherPathName => { return otherPathName === name || dropPathSegmentQuotes(otherPathName) === dropPathSegmentQuotes(name); @@ -1290,6 +1508,7 @@ const comparePaths = name => { */ /** @type {PathDoesNotBeginWith} */ +exports.comparePaths = comparePaths; const pathDoesNotBeginWith = (name, otherPathName) => { return !name.startsWith(otherPathName) && !dropPathSegmentQuotes(name).startsWith(dropPathSegmentQuotes(otherPathName)); }; @@ -1299,6 +1518,7 @@ const pathDoesNotBeginWith = (name, otherPathName) => { * @param {string} [requiredFlags] * @returns {RegExp} */ +exports.pathDoesNotBeginWith = pathDoesNotBeginWith; const getRegexFromString = (regexString, requiredFlags) => { const match = regexString.match(/^\/(.*)\/([gimyus]*)$/us); let flags = 'u'; @@ -1313,47 +1533,5 @@ const getRegexFromString = (regexString, requiredFlags) => { flags = uniqueFlags.join(''); return new RegExp(regex, flags); }; -var _default = exports.default = { - comparePaths, - dropPathSegmentQuotes, - enforcedContexts, - exemptSpeciaMethods, - flattenRoots, - getAllTags, - getContextObject, - getFunctionParameterNames, - getIndent, - getJsdocTagsDeep, - getPreferredTagName, - getRegexFromString, - getTagsByType, - getTagStructureForMode, - hasATag, - hasParams, - hasReturnValue: _hasReturnValue.hasReturnValue, - hasTag, - hasThrowValue, - hasValueOrExecutorHasNonEmptyResolveValue: _hasReturnValue.hasValueOrExecutorHasNonEmptyResolveValue, - hasYieldValue, - isConstructor, - isGetter, - isNamepathDefiningTag, - isNamepathOrUrlReferencingTag, - isNamepathReferencingTag, - isSetter, - isValidTag, - mayBeUndefinedTypeTag, - overrideTagStructure, - parseClosureTemplateTag, - pathDoesNotBeginWith, - setTagStructure, - tagMightHaveEitherTypeOrNamePosition, - tagMightHaveNamepath, - tagMightHaveNamePosition, - tagMightHaveTypePosition, - tagMissingRequiredTypeOrNamepath, - tagMustHaveNamePosition, - tagMustHaveTypePosition -}; -module.exports = exports.default; +exports.getRegexFromString = getRegexFromString; //# sourceMappingURL=jsdocUtils.cjs.map \ No newline at end of file diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkExamples.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkExamples.cjs index d2bb764646f969..3c4497c4ee3546 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkExamples.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkExamples.cjs @@ -100,7 +100,7 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ globalState }) => { if (_semver.default.gte(_eslint.ESLint.version, '8.0.0')) { - report('This rule cannot yet be supported for ESLint 8; you ' + 'should either downgrade to ESLint 7 or disable this rule. The ' + 'possibility for ESLint 8 support is being tracked at https://github.com/eslint/eslint/issues/14745', null, { + report('This rule does not work for ESLint 8+; you should disable this rule and use' + 'the processor mentioned in the docs.', null, { column: 1, line: 1 }); diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkTemplateNames.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkTemplateNames.cjs index 9842d6890cf575..ba5446aabbd451 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkTemplateNames.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkTemplateNames.cjs @@ -20,9 +20,63 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ const templateTags = utils.getTags('template'); const usedNames = new Set(); /** - * @param {import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration + * @param {string} potentialType + */ + const checkForUsedTypes = potentialType => { + let parsedType; + try { + parsedType = mode === 'permissive' ? (0, _jsdoccomment.tryParse)( /** @type {string} */potentialType) : (0, _jsdoccomment.parse)( /** @type {string} */potentialType, mode); + } catch { + return; + } + (0, _jsdoccomment.traverse)(parsedType, nde => { + const { + type, + value + } = /** @type {import('jsdoc-type-pratt-parser').NameResult} */nde; + if (type === 'JsdocTypeName' && /^[A-Z]$/.test(value)) { + usedNames.add(value); + } + }); + }; + const checkParamsAndReturnsTags = () => { + const paramName = /** @type {string} */utils.getPreferredTagName({ + tagName: 'param' + }); + const paramTags = utils.getTags(paramName); + for (const paramTag of paramTags) { + checkForUsedTypes(paramTag.type); + } + const returnsName = /** @type {string} */utils.getPreferredTagName({ + tagName: 'returns' + }); + const returnsTags = utils.getTags(returnsName); + for (const returnsTag of returnsTags) { + checkForUsedTypes(returnsTag.type); + } + }; + const checkTemplateTags = () => { + for (const tag of templateTags) { + const { + name + } = tag; + const names = name.split(/,\s*/); + for (const name of names) { + if (!usedNames.has(name)) { + report(`@template ${name} not in use`, null, tag); + } + } + } + }; + + /** + * @param {import('@typescript-eslint/types').TSESTree.FunctionDeclaration| + * import('@typescript-eslint/types').TSESTree.ClassDeclaration| + * import('@typescript-eslint/types').TSESTree.TSInterfaceDeclaration| + * import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration + * @param {boolean} [checkParamsAndReturns] */ - const checkParameters = aliasDeclaration => { + const checkParameters = (aliasDeclaration, checkParamsAndReturns) => { /* c8 ignore next -- Guard */ const { params @@ -36,17 +90,10 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ } of params) { usedNames.add(name); } - for (const tag of templateTags) { - const { - name - } = tag; - const names = name.split(/,\s*/); - for (const name of names) { - if (!usedNames.has(name)) { - report(`@template ${name} not in use`, null, tag); - } - } + if (checkParamsAndReturns) { + checkParamsAndReturnsTags(); } + checkTemplateTags(); }; const handleTypeAliases = () => { var _nde$declaration; @@ -56,48 +103,47 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ return; } switch (nde.type) { + case 'ExportDefaultDeclaration': case 'ExportNamedDeclaration': - if (((_nde$declaration = nde.declaration) === null || _nde$declaration === void 0 ? void 0 : _nde$declaration.type) === 'TSTypeAliasDeclaration') { - checkParameters(nde.declaration); + switch ((_nde$declaration = nde.declaration) === null || _nde$declaration === void 0 ? void 0 : _nde$declaration.type) { + case 'FunctionDeclaration': + checkParameters(nde.declaration, true); + break; + case 'ClassDeclaration': + case 'TSTypeAliasDeclaration': + case 'TSInterfaceDeclaration': + checkParameters(nde.declaration); + break; } break; + case 'FunctionDeclaration': + checkParameters(nde, true); + break; + case 'ClassDeclaration': case 'TSTypeAliasDeclaration': + case 'TSInterfaceDeclaration': checkParameters(nde); break; } }; + const callbackTags = utils.getTags('callback'); + const functionTags = utils.getTags('function'); + if (callbackTags.length || functionTags.length) { + checkParamsAndReturnsTags(); + checkTemplateTags(); + return; + } const typedefTags = utils.getTags('typedef'); if (!typedefTags.length || typedefTags.length >= 2) { handleTypeAliases(); return; } - - /** - * @param {string} potentialType - */ - const checkForUsedTypes = potentialType => { - let parsedType; - try { - parsedType = mode === 'permissive' ? (0, _jsdoccomment.tryParse)( /** @type {string} */potentialType) : (0, _jsdoccomment.parse)( /** @type {string} */potentialType, mode); - } catch { - return; - } - (0, _jsdoccomment.traverse)(parsedType, nde => { - const { - type, - value - } = /** @type {import('jsdoc-type-pratt-parser').NameResult} */nde; - if (type === 'JsdocTypeName' && /^[A-Z]$/.test(value)) { - usedNames.add(value); - } - }); - }; const potentialTypedefType = typedefTags[0].type; checkForUsedTypes(potentialTypedefType); - const tagName = /** @type {string} */utils.getPreferredTagName({ + const propertyName = /** @type {string} */utils.getPreferredTagName({ tagName: 'property' }); - const propertyTags = utils.getTags(tagName); + const propertyTags = utils.getTags(propertyName); for (const propertyTag of propertyTags) { checkForUsedTypes(propertyTag.type); } diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/convertToJsdocComments.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/convertToJsdocComments.cjs index 93f01279b1541d..836bafaf128e6c 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/convertToJsdocComments.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/convertToJsdocComments.cjs @@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; var _iterateJsdoc = _interopRequireWildcard(require("../iterateJsdoc.cjs")); -var _jsdocUtils = _interopRequireDefault(require("../jsdocUtils.cjs")); +var _jsdocUtils = require("../jsdocUtils.cjs"); var _jsdoccomment = require("@es-joy/jsdoccomment"); -function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } /** @type {import('eslint').Rule.RuleModule} */ @@ -104,7 +103,7 @@ var _default = exports.default = { baseNode = /** @type {import('@typescript-eslint/types').TSESTree.Decorator} */ decorator; } - const indent = _jsdocUtils.default.getIndent({ + const indent = (0, _jsdocUtils.getIndent)({ text: sourceCode.getText( /** @type {import('eslint').Rule.Node} */baseNode, /** @type {import('eslint').AST.SourceLocation} */ ( /** @type {import('eslint').Rule.Node} */baseNode.loc).start.column) }); @@ -204,11 +203,11 @@ var _default = exports.default = { // Todo: add contexts to check after (and handle if want both before and after) return { - ..._jsdocUtils.default.getContextObject(_jsdocUtils.default.enforcedContexts(context, true, settings), checkNonJsdoc), - ..._jsdocUtils.default.getContextObject(contextsAfter, (_info, _handler, node) => { + ...(0, _jsdocUtils.getContextObject)((0, _jsdocUtils.enforcedContexts)(context, true, settings), checkNonJsdoc), + ...(0, _jsdocUtils.getContextObject)(contextsAfter, (_info, _handler, node) => { checkNonJsdocAfter(node, contextsAfter); }), - ..._jsdocUtils.default.getContextObject(contextsBeforeAndAfter, (_info, _handler, node) => { + ...(0, _jsdocUtils.getContextObject)(contextsBeforeAndAfter, (_info, _handler, node) => { checkNonJsdoc({}, null, node); if (!reportingNonJsdoc) { checkNonJsdocAfter(node, contextsBeforeAndAfter); diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireJsdoc.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireJsdoc.cjs index 57271ad25e9cf1..500ae54030f374 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireJsdoc.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireJsdoc.cjs @@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { exports.default = void 0; var _exportParser = _interopRequireDefault(require("../exportParser.cjs")); var _iterateJsdoc = require("../iterateJsdoc.cjs"); -var _jsdocUtils = _interopRequireDefault(require("../jsdocUtils.cjs")); +var _jsdocUtils = require("../jsdocUtils.cjs"); var _jsdoccomment = require("@es-joy/jsdoccomment"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** @@ -317,7 +317,7 @@ var _default = exports.default = { // For those who have options configured against ANY constructors (or // setters or getters) being reported - if (_jsdocUtils.default.exemptSpeciaMethods({ + if ((0, _jsdocUtils.exemptSpeciaMethods)({ description: '', inlineTags: [], problems: [], @@ -332,9 +332,9 @@ var _default = exports.default = { exemptEmptyFunctions && info.isFunctionContext || // Avoid reporting param-less, return-less constructor methods (when // `exemptEmptyConstructors` option is set) - exemptEmptyConstructors && _jsdocUtils.default.isConstructor(node)) { - const functionParameterNames = _jsdocUtils.default.getFunctionParameterNames(node); - if (!functionParameterNames.length && !_jsdocUtils.default.hasReturnValue(node)) { + exemptEmptyConstructors && (0, _jsdocUtils.isConstructor)(node)) { + const functionParameterNames = (0, _jsdocUtils.getFunctionParameterNames)(node); + if (!functionParameterNames.length && !(0, _jsdocUtils.hasReturnValue)(node)) { return; } } @@ -348,7 +348,7 @@ var _default = exports.default = { if (decorator) { baseNode = decorator; } - const indent = _jsdocUtils.default.getIndent({ + const indent = (0, _jsdocUtils.getIndent)({ text: sourceCode.getText( /** @type {import('eslint').Rule.Node} */baseNode, /** @type {import('eslint').AST.SourceLocation} */ ( /** @type {import('eslint').Rule.Node} */baseNode.loc).start.column) }); @@ -420,7 +420,7 @@ var _default = exports.default = { }); }; return { - ..._jsdocUtils.default.getContextObject(_jsdocUtils.default.enforcedContexts(context, [], settings), checkJsDoc), + ...(0, _jsdocUtils.getContextObject)((0, _jsdocUtils.enforcedContexts)(context, [], settings), checkJsDoc), ArrowFunctionExpression(node) { if (!hasOption('ArrowFunctionExpression')) { return; diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireTemplate.cjs b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireTemplate.cjs index 6a68e5d7db0c4e..5e387ece9e28e1 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireTemplate.cjs +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/requireTemplate.cjs @@ -38,9 +38,12 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ } /** - * @param {import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration + * @param {import('@typescript-eslint/types').TSESTree.FunctionDeclaration| + * import('@typescript-eslint/types').TSESTree.ClassDeclaration| + * import('@typescript-eslint/types').TSESTree.TSInterfaceDeclaration| + * import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration */ - const checkParameters = aliasDeclaration => { + const checkTypeParams = aliasDeclaration => { /* c8 ignore next -- Guard */ const { params @@ -60,29 +63,41 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ } } }; - const handleTypeAliases = () => { - var _nde$declaration; + const handleTypes = () => { + var _nde$declaration, _nde$declaration2; const nde = /** @type {import('@typescript-eslint/types').TSESTree.Node} */ node; if (!nde) { return; } switch (nde.type) { + case 'ExportDefaultDeclaration': + switch ((_nde$declaration = nde.declaration) === null || _nde$declaration === void 0 ? void 0 : _nde$declaration.type) { + case 'ClassDeclaration': + case 'FunctionDeclaration': + case 'TSInterfaceDeclaration': + checkTypeParams(nde.declaration); + break; + } + break; case 'ExportNamedDeclaration': - if (((_nde$declaration = nde.declaration) === null || _nde$declaration === void 0 ? void 0 : _nde$declaration.type) === 'TSTypeAliasDeclaration') { - checkParameters(nde.declaration); + switch ((_nde$declaration2 = nde.declaration) === null || _nde$declaration2 === void 0 ? void 0 : _nde$declaration2.type) { + case 'ClassDeclaration': + case 'FunctionDeclaration': + case 'TSTypeAliasDeclaration': + case 'TSInterfaceDeclaration': + checkTypeParams(nde.declaration); + break; } break; + case 'ClassDeclaration': + case 'FunctionDeclaration': case 'TSTypeAliasDeclaration': - checkParameters(nde); + case 'TSInterfaceDeclaration': + checkTypeParams(nde); break; } }; - const typedefTags = utils.getTags('typedef'); - if (!typedefTags.length || typedefTags.length >= 2) { - handleTypeAliases(); - return; - } const usedNameToTag = new Map(); /** @@ -108,22 +123,42 @@ var _default = exports.default = (0, _iterateJsdoc.default)(({ } }); }; - const potentialTypedef = typedefTags[0]; - checkForUsedTypes(potentialTypedef); - const tagName = /** @type {string} */utils.getPreferredTagName({ - tagName: 'property' - }); - const propertyTags = utils.getTags(tagName); - for (const propertyTag of propertyTags) { - checkForUsedTypes(propertyTag); - } - // Could check against whitelist/blacklist - for (const usedName of usedNames) { - if (!templateNames.includes(usedName)) { - report(`Missing @template ${usedName}`, null, usedNameToTag.get(usedName)); + /** + * @param {string[]} tagNames + */ + const checkTagsAndTemplates = tagNames => { + for (const tagName of tagNames) { + const preferredTagName = /** @type {string} */utils.getPreferredTagName({ + tagName + }); + const matchingTags = utils.getTags(preferredTagName); + for (const matchingTag of matchingTags) { + checkForUsedTypes(matchingTag); + } + } + + // Could check against whitelist/blacklist + for (const usedName of usedNames) { + if (!templateNames.includes(usedName)) { + report(`Missing @template ${usedName}`, null, usedNameToTag.get(usedName)); + } } + }; + const callbackTags = utils.getTags('callback'); + const functionTags = utils.getTags('function'); + if (callbackTags.length || functionTags.length) { + checkTagsAndTemplates(['param', 'returns']); + return; } + const typedefTags = utils.getTags('typedef'); + if (!typedefTags.length || typedefTags.length >= 2) { + handleTypes(); + return; + } + const potentialTypedef = typedefTags[0]; + checkForUsedTypes(potentialTypedef); + checkTagsAndTemplates(['property']); }, { iterateAllJsdocs: true, meta: { diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/eslint.config.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/eslint.config.js index 0022392eabb1ad..6a49e6a7fc718d 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/eslint.config.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/eslint.config.js @@ -9,15 +9,16 @@ const common = { }, plugins: { jsdoc - } + }, }; export default [ // canonical, // canonicalJsdoc, + ...jsdoc.configs['examples-and-default-expressions'], { // Must be by itself - ignores: ['dist/**/*.js', '.ignore/**/*.js'], + ignores: ['dist/**', '.ignore/**/*.js'], }, { ...common, diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/package.json b/tools/eslint/node_modules/eslint-plugin-jsdoc/package.json index 0ab9d6c33c9f96..635e36138bcb17 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/package.json +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/package.json @@ -10,6 +10,7 @@ "comment-parser": "1.4.1", "debug": "^4.3.5", "escape-string-regexp": "^4.0.0", + "espree": "^10.1.0", "esquery": "^1.6.0", "parse-imports": "^2.1.1", "semver": "^7.6.3", @@ -34,6 +35,7 @@ "@types/chai": "^4.3.16", "@types/debug": "^4.1.12", "@types/eslint": "^8.56.10", + "@types/espree": "^10.1.0", "@types/esquery": "^1.5.4", "@types/estree": "^1.0.5", "@types/json-schema": "^7.0.15", @@ -53,7 +55,6 @@ "decamelize": "^6.0.0", "eslint": "9.7.0", "eslint-config-canonical": "~43.0.14", - "espree": "^10.1.0", "gitdown": "^4.1.1", "glob": "^10.4.2", "globals": "^15.8.0", @@ -90,9 +91,16 @@ "main": "./dist/index.cjs", "types": "./dist/index.d.ts", "exports": { - "types": "./dist/index.d.ts", - "import": "./src/index.js", - "require": "./dist/index.cjs" + ".": { + "types": "./dist/index.d.ts", + "import": "./src/index.js", + "require": "./dist/index.cjs" + }, + "./getJsdocProcessorPlugin.js": { + "types": "./dist/getJsdocProcessorPlugin.d.ts", + "import": "./dist/getJsdocProcessorPlugin.cjs", + "require": "./src/getJsdocProcessorPlugin.js" + } }, "name": "eslint-plugin-jsdoc", "mocha": { @@ -144,5 +152,5 @@ "test-cov": "cross-env TIMING=1 c8 --reporter text npm run test-no-cov", "test-index": "npm run test-no-cov -- test/rules/index.js" }, - "version": "48.8.3" + "version": "48.11.0" } diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/WarnSettings.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/WarnSettings.js index aee7c92bf7614b..376189111ec994 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/WarnSettings.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/WarnSettings.js @@ -5,7 +5,7 @@ const WarnSettings = function () { return { /** * Warn only once for each context and setting - * @param {import('eslint').Rule.RuleContext} context + * @param {{}} context * @param {string} setting * @returns {boolean} */ @@ -16,7 +16,7 @@ const WarnSettings = function () { }, /** - * @param {import('eslint').Rule.RuleContext} context + * @param {{}} context * @param {string} setting * @returns {void} */ diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js new file mode 100644 index 00000000000000..36eb544f64fc70 --- /dev/null +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js @@ -0,0 +1,606 @@ +// Todo: Support TS by fenced block type + +import {readFileSync} from 'node:fs'; +import { dirname, join } from 'node:path'; +import { fileURLToPath } from 'node:url'; +import * as espree from 'espree'; +import { + getRegexFromString, + forEachPreferredTag, + getTagDescription, + getPreferredTagName, + hasTag, +} from './jsdocUtils.js'; +import { + parseComment, +} from '@es-joy/jsdoccomment'; + +const __dirname = dirname(fileURLToPath(import.meta.url)); + +const {version} = JSON.parse( + // @ts-expect-error `Buffer` is ok for `JSON.parse` + readFileSync(join(__dirname, '../package.json')) +); + +// const zeroBasedLineIndexAdjust = -1; +const likelyNestedJSDocIndentSpace = 1; +const preTagSpaceLength = 1; + +// If a space is present, we should ignore it +const firstLinePrefixLength = preTagSpaceLength; + +const hasCaptionRegex = /^\s*([\s\S]*?)<\/caption>/u; + +/** + * @param {string} str + * @returns {string} + */ +const escapeStringRegexp = (str) => { + return str.replaceAll(/[.*+?^${}()|[\]\\]/gu, '\\$&'); +}; + +/** + * @param {string} str + * @param {string} ch + * @returns {import('./iterateJsdoc.js').Integer} + */ +const countChars = (str, ch) => { + return (str.match(new RegExp(escapeStringRegexp(ch), 'gu')) || []).length; +}; + +/** + * @param {string} text + * @returns {[ +* import('./iterateJsdoc.js').Integer, +* import('./iterateJsdoc.js').Integer +* ]} +*/ +const getLinesCols = (text) => { + const matchLines = countChars(text, '\n'); + + const colDelta = matchLines ? + text.slice(text.lastIndexOf('\n') + 1).length : + text.length; + + return [ + matchLines, colDelta, + ]; +}; + +/** + * @typedef {number} Integer + */ + +/** + * @typedef {object} JsdocProcessorOptions + * @property {boolean} [captionRequired] + * @property {Integer} [paddedIndent] + * @property {boolean} [checkDefaults] + * @property {boolean} [checkParams] + * @property {boolean} [checkExamples] + * @property {boolean} [checkProperties] + * @property {string} [matchingFileName] + * @property {string} [matchingFileNameDefaults] + * @property {string} [matchingFileNameParams] + * @property {string} [matchingFileNameProperties] + * @property {string} [exampleCodeRegex] + * @property {string} [rejectExampleCodeRegex] + * @property {"script"|"module"} [sourceType] + * @property {import('eslint').Linter.FlatConfigParserModule} [parser] + */ + +/** + * We use a function for the ability of the user to pass in a config, but + * without requiring all users of the plugin to do so. + * @param {JsdocProcessorOptions} [options] + */ +export const getJsdocProcessorPlugin = (options = {}) => { + const { + exampleCodeRegex = null, + rejectExampleCodeRegex = null, + checkExamples = true, + checkDefaults = false, + checkParams = false, + checkProperties = false, + matchingFileName = null, + matchingFileNameDefaults = null, + matchingFileNameParams = null, + matchingFileNameProperties = null, + paddedIndent = 0, + captionRequired = false, + sourceType = 'module', + parser = undefined + } = options; + + /** @type {RegExp} */ + let exampleCodeRegExp; + /** @type {RegExp} */ + let rejectExampleCodeRegExp; + + if (exampleCodeRegex) { + exampleCodeRegExp = getRegexFromString(exampleCodeRegex); + } + + if (rejectExampleCodeRegex) { + rejectExampleCodeRegExp = getRegexFromString(rejectExampleCodeRegex); + } + + /** + * @type {{ + * targetTagName: string, + * ext: string, + * codeStartLine: number, + * codeStartCol: number, + * nonJSPrefacingCols: number, + * commentLineCols: [number, number] + * }[]} + */ + const otherInfo = []; + + /** @type {import('eslint').Linter.LintMessage[]} */ + let extraMessages = []; + + /** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {string} jsFileName + * @param {[number, number]} commentLineCols + */ + const getTextsAndFileNames = (jsdoc, jsFileName, commentLineCols) => { + /** + * @type {{ + * text: string, + * filename: string|null|undefined + * }[]} + */ + const textsAndFileNames = []; + + /** + * @param {{ + * filename: string|null, + * defaultFileName: string|undefined, + * source: string, + * targetTagName: string, + * rules?: import('eslint').Linter.RulesRecord|undefined, + * lines?: import('./iterateJsdoc.js').Integer, + * cols?: import('./iterateJsdoc.js').Integer, + * skipInit?: boolean, + * ext: string, + * sources?: { + * nonJSPrefacingCols: import('./iterateJsdoc.js').Integer, + * nonJSPrefacingLines: import('./iterateJsdoc.js').Integer, + * string: string, + * }[], + * tag?: import('comment-parser').Spec & { + * line?: import('./iterateJsdoc.js').Integer, + * }|{ + * line: import('./iterateJsdoc.js').Integer, + * } + * }} cfg + */ + const checkSource = ({ + filename, + ext, + defaultFileName, + lines = 0, + cols = 0, + skipInit, + source, + targetTagName, + sources = [], + tag = { + line: 0, + }, + }) => { + if (!skipInit) { + sources.push({ + nonJSPrefacingCols: cols, + nonJSPrefacingLines: lines, + string: source, + }); + } + + /** + * @param {{ + * nonJSPrefacingCols: import('./iterateJsdoc.js').Integer, + * nonJSPrefacingLines: import('./iterateJsdoc.js').Integer, + * string: string + * }} cfg + */ + const addSourceInfo = function ({ + nonJSPrefacingCols, + nonJSPrefacingLines, + string, + }) { + const src = paddedIndent ? + string.replaceAll(new RegExp(`(^|\n) {${paddedIndent}}(?!$)`, 'gu'), '\n') : + string; + + // Programmatic ESLint API: https://eslint.org/docs/developer-guide/nodejs-api + const file = filename || defaultFileName; + + if (!('line' in tag)) { + tag.line = tag.source[0].number; + } + + // NOTE: `tag.line` can be 0 if of form `/** @tag ... */` + const codeStartLine = /** + * @type {import('comment-parser').Spec & { + * line: import('./iterateJsdoc.js').Integer, + * }} + */ (tag).line + nonJSPrefacingLines; + const codeStartCol = likelyNestedJSDocIndentSpace; + + textsAndFileNames.push({ + text: src, + filename: file, + }); + otherInfo.push({ + targetTagName, + ext, + codeStartLine, + codeStartCol, + nonJSPrefacingCols, + commentLineCols + }); + }; + + for (const targetSource of sources) { + addSourceInfo(targetSource); + } + }; + + /** + * + * @param {string|null} filename + * @param {string} [ext] Since `eslint-plugin-markdown` v2, and + * ESLint 7, this is the default which other JS-fenced rules will used. + * Formerly "md" was the default. + * @returns {{ + * defaultFileName: string|undefined, + * filename: string|null, + * ext: string + * }} + */ + const getFilenameInfo = (filename, ext = 'md/*.js') => { + let defaultFileName; + if (!filename) { + if (typeof jsFileName === 'string' && jsFileName.includes('.')) { + defaultFileName = jsFileName.replace(/\.[^.]*$/u, `.${ext}`); + } else { + defaultFileName = `dummy.${ext}`; + } + } + + return { + ext, + defaultFileName, + filename, + }; + }; + + if (checkDefaults) { + const filenameInfo = getFilenameInfo(matchingFileNameDefaults, 'jsdoc-defaults'); + forEachPreferredTag(jsdoc, 'default', (tag, targetTagName) => { + if (!tag.description.trim()) { + return; + } + + checkSource({ + source: `(${getTagDescription(tag)})`, + targetTagName, + ...filenameInfo, + }); + }); + } + + if (checkParams) { + const filenameInfo = getFilenameInfo(matchingFileNameParams, 'jsdoc-params'); + forEachPreferredTag(jsdoc, 'param', (tag, targetTagName) => { + if (!tag.default || !tag.default.trim()) { + return; + } + + checkSource({ + source: `(${tag.default})`, + targetTagName, + ...filenameInfo, + }); + }); + } + + if (checkProperties) { + const filenameInfo = getFilenameInfo(matchingFileNameProperties, 'jsdoc-properties'); + forEachPreferredTag(jsdoc, 'property', (tag, targetTagName) => { + if (!tag.default || !tag.default.trim()) { + return; + } + + checkSource({ + source: `(${tag.default})`, + targetTagName, + ...filenameInfo, + }); + }); + } + + if (!checkExamples) { + return textsAndFileNames; + } + + const tagName = /** @type {string} */ (getPreferredTagName(jsdoc, { + tagName: 'example', + })); + if (!hasTag(jsdoc, tagName)) { + return textsAndFileNames; + } + + const matchingFilenameInfo = getFilenameInfo(matchingFileName); + + forEachPreferredTag(jsdoc, 'example', (tag, targetTagName) => { + let source = /** @type {string} */ (getTagDescription(tag)); + const match = source.match(hasCaptionRegex); + + if (captionRequired && (!match || !match[1].trim())) { + extraMessages.push({ + line: 1 + commentLineCols[0] + (tag.line ?? tag.source[0].number), + column: commentLineCols[1] + 1, + severity: 2, + message: `@${targetTagName} error - Caption is expected for examples.`, + ruleId: 'jsdoc/example-missing-caption' + }); + return; + } + + source = source.replace(hasCaptionRegex, ''); + const [ + lines, + cols, + ] = match ? getLinesCols(match[0]) : [ + 0, 0, + ]; + + if (exampleCodeRegex && !exampleCodeRegExp.test(source) || + rejectExampleCodeRegex && rejectExampleCodeRegExp.test(source) + ) { + return; + } + + const sources = []; + let skipInit = false; + if (exampleCodeRegex) { + let nonJSPrefacingCols = 0; + let nonJSPrefacingLines = 0; + + let startingIndex = 0; + let lastStringCount = 0; + + let exampleCode; + exampleCodeRegExp.lastIndex = 0; + while ((exampleCode = exampleCodeRegExp.exec(source)) !== null) { + const { + index, + '0': n0, + '1': n1, + } = exampleCode; + + // Count anything preceding user regex match (can affect line numbering) + const preMatch = source.slice(startingIndex, index); + + const [ + preMatchLines, + colDelta, + ] = getLinesCols(preMatch); + + let nonJSPreface; + let nonJSPrefaceLineCount; + if (n1) { + const idx = n0.indexOf(n1); + nonJSPreface = n0.slice(0, idx); + nonJSPrefaceLineCount = countChars(nonJSPreface, '\n'); + } else { + nonJSPreface = ''; + nonJSPrefaceLineCount = 0; + } + + nonJSPrefacingLines += lastStringCount + preMatchLines + nonJSPrefaceLineCount; + + // Ignore `preMatch` delta if newlines here + if (nonJSPrefaceLineCount) { + const charsInLastLine = nonJSPreface.slice(nonJSPreface.lastIndexOf('\n') + 1).length; + + nonJSPrefacingCols += charsInLastLine; + } else { + nonJSPrefacingCols += colDelta + nonJSPreface.length; + } + + const string = n1 || n0; + sources.push({ + nonJSPrefacingCols, + nonJSPrefacingLines, + string, + }); + startingIndex = exampleCodeRegExp.lastIndex; + lastStringCount = countChars(string, '\n'); + if (!exampleCodeRegExp.global) { + break; + } + } + + skipInit = true; + } + + checkSource({ + cols, + lines, + skipInit, + source, + sources, + tag, + targetTagName, + ...matchingFilenameInfo, + }); + }); + + return textsAndFileNames; + }; + + // See https://eslint.org/docs/latest/extend/plugins#processors-in-plugins + // See https://eslint.org/docs/latest/extend/custom-processors + // From https://github.com/eslint/eslint/issues/14745#issuecomment-869457265 + /* + { + "files": ["*.js", "*.ts"], + "processor": "jsdoc/example" // a pretended value here + }, + { + "files": [ + "*.js/*_jsdoc-example.js", + "*.ts/*_jsdoc-example.js", + "*.js/*_jsdoc-example.ts" + ], + "rules": { + // specific rules for examples in jsdoc only here + // And other rules for `.js` and `.ts` will also be enabled for them + } + } + */ + return { + meta: { + name: 'eslint-plugin-jsdoc/processor', + version, + }, + processors: { + examples: { + meta: { + name: 'eslint-plugin-jsdoc/preprocessor', + version, + }, + /** + * @param {string} text + * @param {string} filename + */ + preprocess (text, filename) { + try { + let ast; + + // May be running a second time so catch and ignore + try { + ast = parser + // @ts-expect-error Ok + ? parser.parseForESLint(text, { + ecmaVersion: 'latest', + sourceType, + comment: true + }).ast + : espree.parse(text, { + ecmaVersion: 'latest', + sourceType, + comment: true + }); + } catch (err) { + return [text]; + } + + /** @type {[number, number][]} */ + const commentLineCols = []; + const jsdocComments = /** @type {import('estree').Comment[]} */ ( + /** + * @type {import('estree').Program & { + * comments?: import('estree').Comment[] + * }} + */ + (ast).comments + ).filter((comment) => { + return (/^\*\s/u).test(comment.value); + }).map((comment) => { + /* c8 ignore next -- Unsupporting processors only? */ + const [start] = comment.range ?? []; + const textToStart = text.slice(0, start); + + const [lines, cols] = getLinesCols(textToStart); + + // const lines = [...textToStart.matchAll(/\n/gu)].length + // const lastLinePos = textToStart.lastIndexOf('\n'); + // const cols = lastLinePos === -1 + // ? 0 + // : textToStart.slice(lastLinePos).length; + commentLineCols.push([lines, cols]); + return parseComment(comment); + }); + + return [ + text, + ...jsdocComments.flatMap((jsdoc, idx) => { + return getTextsAndFileNames( + jsdoc, + filename, + commentLineCols[idx] + ); + }).filter(Boolean) + ]; + /* c8 ignore next 3 */ + } catch (err) { + console.log('err', filename, err); + } + }, + + /** + * @param {import('eslint').Linter.LintMessage[][]} messages + * @param {string} filename + */ + postprocess ([jsMessages, ...messages], filename) { + messages.forEach((message, idx) => { + const { + targetTagName, + codeStartLine, + codeStartCol, + nonJSPrefacingCols, + commentLineCols + } = otherInfo[idx]; + + message.forEach((msg) => { + const { + message, + ruleId, + severity, + fatal, + line, + column, + endColumn, + endLine, + + // Todo: Make fixable + // fix + // fix: {range: [number, number], text: string} + // suggestions: {desc: , messageId:, fix: }[], + } = msg; + + const [codeCtxLine, codeCtxColumn] = commentLineCols; + const startLine = codeCtxLine + codeStartLine + line; + const startCol = 1 + // Seems to need one more now + codeCtxColumn + codeStartCol + ( + // This might not work for line 0, but line 0 is unlikely for examples + line <= 1 ? nonJSPrefacingCols + firstLinePrefixLength : preTagSpaceLength + ) + column; + + msg.message = '@' + targetTagName + ' ' + (severity === 2 ? 'error' : 'warning') + + (ruleId ? ' (' + ruleId + ')' : '') + ': ' + + (fatal ? 'Fatal: ' : '') + + message; + msg.line = startLine; + msg.column = startCol; + msg.endLine = endLine ? startLine + endLine : startLine; + // added `- column` to offset what `endColumn` already seemed to include + msg.endColumn = endColumn ? startCol - column + endColumn : startCol; + }); + }); + + const ret = [...jsMessages].concat(...messages, ...extraMessages); + extraMessages = []; + return ret; + }, + supportsAutofix: true + }, + }, + }; +}; diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/index.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/index.js index aa750fb6d2f296..b01eacd33c63dc 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/index.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/index.js @@ -55,6 +55,8 @@ import tagLines from './rules/tagLines.js'; import textEscaping from './rules/textEscaping.js'; import validTypes from './rules/validTypes.js'; +import { getJsdocProcessorPlugin } from './getJsdocProcessorPlugin.js'; + /** * @type {import('eslint').ESLint.Plugin & { * configs: Record< @@ -274,4 +276,112 @@ index.configs['flat/recommended-typescript-error'] = createRecommendedTypeScript index.configs['flat/recommended-typescript-flavor'] = createRecommendedTypeScriptFlavorRuleset('warn', 'flat/recommended-typescript-flavor'); index.configs['flat/recommended-typescript-flavor-error'] = createRecommendedTypeScriptFlavorRuleset('error', 'flat/recommended-typescript-flavor-error'); +index.configs.examples = /** @type {import('eslint').Linter.FlatConfig[]} */ ([ + { + name: 'jsdoc/examples/processor', + files: ['**/*.js'], + plugins: { + examples: getJsdocProcessorPlugin() + }, + processor: 'examples/examples', + }, + { + name: 'jsdoc/examples/rules', + files: ['**/*.md/*.js'], + rules: { + // "always" newline rule at end unlikely in sample code + 'eol-last': 0, + + // Wouldn't generally expect example paths to resolve relative to JS file + 'import/no-unresolved': 0, + + // Snippets likely too short to always include import/export info + 'import/unambiguous': 0, + + 'jsdoc/require-file-overview': 0, + + // The end of a multiline comment would end the comment the example is in. + 'jsdoc/require-jsdoc': 0, + + // Unlikely to have inadvertent debugging within examples + 'no-console': 0, + + // Often wish to start `@example` code after newline; also may use + // empty lines for spacing + 'no-multiple-empty-lines': 0, + + // Many variables in examples will be `undefined` + 'no-undef': 0, + + // Common to define variables for clarity without always using them + 'no-unused-vars': 0, + + // See import/no-unresolved + 'node/no-missing-import': 0, + 'node/no-missing-require': 0, + + // Can generally look nicer to pad a little even if code imposes more stringency + 'padded-blocks': 0, + } + } +]); + +index.configs['default-expressions'] = /** @type {import('eslint').Linter.FlatConfig[]} */ ([ + { + files: ['**/*.js'], + name: 'jsdoc/default-expressions/processor', + plugins: { + examples: getJsdocProcessorPlugin({ + checkDefaults: true, + checkParams: true, + checkProperties: true + }) + }, + processor: 'examples/examples' + }, + { + name: 'jsdoc/default-expressions/rules', + files: ['**/*.jsdoc-defaults', '**/*.jsdoc-params', '**/*.jsdoc-properties'], + rules: { + ...index.configs.examples[1].rules, + 'chai-friendly/no-unused-expressions': 0, + 'no-empty-function': 0, + 'no-new': 0, + 'no-unused-expressions': 0, + quotes: [ + 'error', 'double', + ], + semi: [ + 'error', 'never', + ], + strict: 0 + }, + } +]); + +index.configs['examples-and-default-expressions'] = /** @type {import('eslint').Linter.FlatConfig[]} */ ([ + { + name: 'jsdoc/examples-and-default-expressions', + plugins: { + examples: getJsdocProcessorPlugin({ + checkDefaults: true, + checkParams: true, + checkProperties: true + }) + }, + }, + ...index.configs.examples.map((config) => { + return { + ...config, + plugins: {} + }; + }), + ...index.configs['default-expressions'].map((config) => { + return { + ...config, + plugins: {} + }; + }) +]); + export default index; diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/iterateJsdoc.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/iterateJsdoc.js index 9eeddf9b0b41e7..b5f93a3cf017c0 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/iterateJsdoc.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/iterateJsdoc.js @@ -1,4 +1,4 @@ -import jsdocUtils from './jsdocUtils.js'; +import * as jsdocUtils from './jsdocUtils.js'; import { commentHandler, getJSDocComment, @@ -628,11 +628,11 @@ const getBasicUtils = (context, { utils.getPreferredTagNameObject = ({ tagName, }) => { - const ret = jsdocUtils.getPreferredTagName( - context, - /** @type {import('./jsdocUtils.js').ParserMode} */ (mode), + const ret = jsdocUtils.getPreferredTagNameSimple( tagName, + /** @type {import('./jsdocUtils.js').ParserMode} */ (mode), tagNamePreference, + context, ); const isObject = ret && typeof ret === 'object'; if (ret === false || (isObject && !ret.replacement)) { @@ -783,44 +783,7 @@ const getUtils = ( /** @type {GetTagDescription} */ utils.getTagDescription = (tg, returnArray) => { - /** - * @type {string[]} - */ - const descriptions = []; - tg.source.some(({ - tokens: { - end, - lineEnd, - postDelimiter, - tag, - postTag, - name, - type, - description, - }, - }) => { - const desc = ( - tag && postTag || - !tag && !name && !type && postDelimiter || '' - - // Remove space - ).slice(1) + - (description || '') + (lineEnd || ''); - - if (end) { - if (desc) { - descriptions.push(desc); - } - - return true; - } - - descriptions.push(desc); - - return false; - }); - - return returnArray ? descriptions : descriptions.join('\n'); + return jsdocUtils.getTagDescription(tg, returnArray); }; /** @type {SetTagDescription} */ @@ -1375,29 +1338,13 @@ const getUtils = ( }; /** @type {GetPreferredTagName} */ - utils.getPreferredTagName = ({ - tagName, - skipReportingBlockedTag = false, - allowObjectReturn = false, - defaultMessage = `Unexpected tag \`@${tagName}\``, - }) => { - const ret = jsdocUtils.getPreferredTagName(context, mode, tagName, tagNamePreference); - const isObject = ret && typeof ret === 'object'; - if (utils.hasTag(tagName) && (ret === false || isObject && !ret.replacement)) { - if (skipReportingBlockedTag) { - return { - blocked: true, - tagName, - }; + utils.getPreferredTagName = (args) => { + return jsdocUtils.getPreferredTagName( + jsdoc, { + ...args, + context, mode, report, tagNamePreference, } - - const message = isObject && ret.message || defaultMessage; - report(message, null, utils.getTags(tagName)[0]); - - return false; - } - - return isObject && !allowObjectReturn ? ret.replacement : ret; + ); }; /** @type {IsValidTag} */ @@ -1619,21 +1566,19 @@ const getUtils = ( /** @type {GetTags} */ utils.getTags = (tagName) => { - return utils.filterTags((item) => { - return item.tag === tagName; - }); + return jsdocUtils.getTags(jsdoc, tagName); }; /** @type {GetPresentTags} */ utils.getPresentTags = (tagList) => { - return utils.filterTags((tag) => { + return jsdocUtils.filterTags(jsdoc, (tag) => { return tagList.includes(tag.tag); }); }; /** @type {FilterTags} */ utils.filterTags = (filter) => { - return jsdoc.tags.filter((tag) => { + return jsdocUtils.filterTags(jsdoc, (tag) => { return filter(tag); }); }; @@ -1699,34 +1644,13 @@ const getUtils = ( }; /** @type {ForEachPreferredTag} */ - utils.forEachPreferredTag = (tagName, arrayHandler, skipReportingBlockedTag = false) => { - const targetTagName = /** @type {string|false} */ ( - utils.getPreferredTagName({ + utils.forEachPreferredTag = (tagName, arrayHandler, skipReportingBlockedTag) => { + return jsdocUtils.forEachPreferredTag( + jsdoc, tagName, arrayHandler, { skipReportingBlockedTag, - tagName, - }) + context, mode, report, tagNamePreference + } ); - if (!targetTagName || - skipReportingBlockedTag && targetTagName && typeof targetTagName === 'object' - ) { - return; - } - - const matchingJsdocTags = jsdoc.tags.filter(({ - tag, - }) => { - return tag === targetTagName; - }); - - for (const matchingJsdocTag of matchingJsdocTags) { - arrayHandler( - /** - * @type {import('@es-joy/jsdoccomment').JsdocTagWithInline} - */ ( - matchingJsdocTag - ), targetTagName, - ); - } }; /** @type {FindContext} */ @@ -2030,8 +1954,8 @@ const iterate = ( !ruleConfig.checkPrivate && settings.ignorePrivate && ( utils.hasTag('private') || - jsdoc.tags - .filter(({ + jsdocUtils + .filterTags(jsdoc, ({ tag, }) => { return tag === 'access'; diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/jsdocUtils.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/jsdocUtils.js index 96ef6ac925f98e..c599bc372e8327 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/jsdocUtils.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/jsdocUtils.js @@ -521,7 +521,7 @@ const modeWarnSettings = WarnSettings(); /** * @param {ParserMode|undefined} mode - * @param {import('eslint').Rule.RuleContext} context + * @param {Reporter} context * @returns {import('./tagNames.js').AliasedTags} */ const getTagNamesForMode = (mode, context) => { @@ -556,20 +556,76 @@ const getTagNamesForMode = (mode, context) => { }; /** - * @param {import('eslint').Rule.RuleContext} context - * @param {ParserMode|undefined} mode + * @param {import('comment-parser').Spec} tg + * @param {boolean} [returnArray] + * @returns {string[]|string} + */ +const getTagDescription = (tg, returnArray) => { + /** + * @type {string[]} + */ + const descriptions = []; + tg.source.some(({ + tokens: { + end, + lineEnd, + postDelimiter, + tag, + postTag, + name, + type, + description, + }, + }) => { + const desc = ( + tag && postTag || + !tag && !name && !type && postDelimiter || '' + + // Remove space + ).slice(1) + + (description || '') + (lineEnd || ''); + + if (end) { + if (desc) { + descriptions.push(desc); + } + + return true; + } + + descriptions.push(desc); + + return false; + }); + + return returnArray ? descriptions : descriptions.join('\n'); +}; + +/** + * @typedef {{ + * report: (descriptor: import('eslint').Rule.ReportDescriptor) => void + * }} Reporter + */ + +/** * @param {string} name + * @param {ParserMode|undefined} mode * @param {TagNamePreference} tagPreference + * @param {Reporter} context * @returns {string|false|{ * message: string; * replacement?: string|undefined; * }} */ -const getPreferredTagName = ( - context, - mode, +const getPreferredTagNameSimple = ( name, + mode, tagPreference = {}, + context = { + report () { + // No-op + } + }, ) => { const prefValues = Object.values(tagPreference); if (prefValues.includes(name) || prefValues.some((prefVal) => { @@ -649,6 +705,129 @@ const hasTag = (jsdoc, targetTagName) => { }); }; +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {(tag: import('@es-joy/jsdoccomment').JsdocTagWithInline) => boolean} filter + * @returns {import('@es-joy/jsdoccomment').JsdocTagWithInline[]} + */ +const filterTags = (jsdoc, filter) => { + return jsdoc.tags.filter((tag) => { + return filter(tag); + }); +}; + +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {string} tagName + * @returns {import('comment-parser').Spec[]} + */ +const getTags = (jsdoc, tagName) => { + return filterTags(jsdoc, (item) => { + return item.tag === tagName; + }); +}; + +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {{ + * tagName: string, + * context?: import('eslint').Rule.RuleContext, + * mode?: ParserMode, + * report?: import('./iterateJsdoc.js').Report + * tagNamePreference?: TagNamePreference + * skipReportingBlockedTag?: boolean, + * allowObjectReturn?: boolean, + * defaultMessage?: string, + * }} cfg + * @returns {string|undefined|false|{ + * message: string; + * replacement?: string|undefined; + * }|{ + * blocked: true, + * tagName: string + * }} + */ +const getPreferredTagName = (jsdoc, { + tagName, + context, mode, + tagNamePreference, + report = () => {}, + skipReportingBlockedTag = false, + allowObjectReturn = false, + defaultMessage = `Unexpected tag \`@${tagName}\``, +}) => { + const ret = getPreferredTagNameSimple(tagName, mode, tagNamePreference, context); + const isObject = ret && typeof ret === 'object'; + if (hasTag(jsdoc, tagName) && (ret === false || isObject && !ret.replacement)) { + if (skipReportingBlockedTag) { + return { + blocked: true, + tagName, + }; + } + + const message = isObject && ret.message || defaultMessage; + report(message, null, getTags(jsdoc, tagName)[0]); + + return false; + } + + return isObject && !allowObjectReturn ? ret.replacement : ret; +}; + +/** + * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc + * @param {string} tagName + * @param {( + * matchingJsdocTag: import('@es-joy/jsdoccomment').JsdocTagWithInline, + * targetTagName: string + * ) => void} arrayHandler + * @param {object} cfg + * @param {import('eslint').Rule.RuleContext} [cfg.context] + * @param {ParserMode} [cfg.mode] + * @param {import('./iterateJsdoc.js').Report} [cfg.report] + * @param {TagNamePreference} [cfg.tagNamePreference] + * @param {boolean} [cfg.skipReportingBlockedTag] + * @returns {void} + */ +const forEachPreferredTag = ( + jsdoc, tagName, arrayHandler, + { + context, mode, report, + tagNamePreference, + skipReportingBlockedTag = false, + } = {} +) => { + const targetTagName = /** @type {string|false} */ ( + getPreferredTagName(jsdoc, { + skipReportingBlockedTag, + tagName, + context, mode, report, tagNamePreference + }) + ); + if (!targetTagName || + skipReportingBlockedTag && targetTagName && typeof targetTagName === 'object' + ) { + return; + } + + const matchingJsdocTags = jsdoc.tags.filter(({ + tag, + }) => { + return tag === targetTagName; + }); + + for (const matchingJsdocTag of matchingJsdocTags) { + arrayHandler( + /** + * @type {import('@es-joy/jsdoccomment').JsdocTagWithInline} + */ ( + matchingJsdocTag + ), targetTagName, + ); + } +}; + /** * Get all tags, inline tags and inline tags in tags * @param {import('./iterateJsdoc.js').JsdocBlockWithInline} jsdoc @@ -1652,19 +1831,24 @@ const getRegexFromString = (regexString, requiredFlags) => { return new RegExp(regex, flags); }; -export default { +export { comparePaths, dropPathSegmentQuotes, enforcedContexts, exemptSpeciaMethods, + filterTags, flattenRoots, + forEachPreferredTag, getAllTags, getContextObject, getFunctionParameterNames, getIndent, getJsdocTagsDeep, getPreferredTagName, + getPreferredTagNameSimple, getRegexFromString, + getTagDescription, + getTags, getTagsByType, getTagStructureForMode, hasATag, diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkExamples.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkExamples.js index 5d0f79875d6693..5e676d405b2913 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkExamples.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkExamples.js @@ -117,9 +117,8 @@ export default iterateJsdoc(({ }) => { if (semver.gte(ESLint.version, '8.0.0')) { report( - 'This rule cannot yet be supported for ESLint 8; you ' + - 'should either downgrade to ESLint 7 or disable this rule. The ' + - 'possibility for ESLint 8 support is being tracked at https://github.com/eslint/eslint/issues/14745', + 'This rule does not work for ESLint 8+; you should disable this rule and use' + + 'the processor mentioned in the docs.', null, { column: 1, diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkTemplateNames.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkTemplateNames.js index a7480d0aab40c4..df38316bbb71f6 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkTemplateNames.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/checkTemplateNames.js @@ -20,14 +20,48 @@ export default iterateJsdoc(({ const usedNames = new Set(); /** - * @param {import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration + * @param {string} potentialType */ - const checkParameters = (aliasDeclaration) => { - /* c8 ignore next -- Guard */ - const {params} = aliasDeclaration.typeParameters ?? {params: []}; - for (const {name: {name}} of params) { - usedNames.add(name); + const checkForUsedTypes = (potentialType) => { + let parsedType; + try { + parsedType = mode === 'permissive' ? + tryParseType(/** @type {string} */ (potentialType)) : + parseType(/** @type {string} */ (potentialType), mode); + } catch { + return; } + + traverse(parsedType, (nde) => { + const { + type, + value, + } = /** @type {import('jsdoc-type-pratt-parser').NameResult} */ (nde); + if (type === 'JsdocTypeName' && (/^[A-Z]$/).test(value)) { + usedNames.add(value); + } + }); + }; + + const checkParamsAndReturnsTags = () => { + const paramName = /** @type {string} */ (utils.getPreferredTagName({ + tagName: 'param', + })); + const paramTags = utils.getTags(paramName); + for (const paramTag of paramTags) { + checkForUsedTypes(paramTag.type); + } + + const returnsName = /** @type {string} */ (utils.getPreferredTagName({ + tagName: 'returns', + })); + const returnsTags = utils.getTags(returnsName); + for (const returnsTag of returnsTags) { + checkForUsedTypes(returnsTag.type); + } + }; + + const checkTemplateTags = () => { for (const tag of templateTags) { const {name} = tag; const names = name.split(/,\s*/); @@ -39,6 +73,26 @@ export default iterateJsdoc(({ } }; + /** + * @param {import('@typescript-eslint/types').TSESTree.FunctionDeclaration| + * import('@typescript-eslint/types').TSESTree.ClassDeclaration| + * import('@typescript-eslint/types').TSESTree.TSInterfaceDeclaration| + * import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration + * @param {boolean} [checkParamsAndReturns] + */ + const checkParameters = (aliasDeclaration, checkParamsAndReturns) => { + /* c8 ignore next -- Guard */ + const {params} = aliasDeclaration.typeParameters ?? {params: []}; + for (const {name: {name}} of params) { + usedNames.add(name); + } + if (checkParamsAndReturns) { + checkParamsAndReturnsTags(); + } + + checkTemplateTags(); + }; + const handleTypeAliases = () => { const nde = /** @type {import('@typescript-eslint/types').TSESTree.Node} */ ( node @@ -47,54 +101,51 @@ export default iterateJsdoc(({ return; } switch (nde.type) { + case 'ExportDefaultDeclaration': case 'ExportNamedDeclaration': - if (nde.declaration?.type === 'TSTypeAliasDeclaration') { - checkParameters(nde.declaration); + switch (nde.declaration?.type) { + case 'FunctionDeclaration': + checkParameters(nde.declaration, true); + break; + case 'ClassDeclaration': + case 'TSTypeAliasDeclaration': + case 'TSInterfaceDeclaration': + checkParameters(nde.declaration); + break; } break; + case 'FunctionDeclaration': + checkParameters(nde, true); + break; + case 'ClassDeclaration': case 'TSTypeAliasDeclaration': + case 'TSInterfaceDeclaration': checkParameters(nde); break; } }; + const callbackTags = utils.getTags('callback'); + const functionTags = utils.getTags('function'); + if (callbackTags.length || functionTags.length) { + checkParamsAndReturnsTags(); + checkTemplateTags(); + return; + } + const typedefTags = utils.getTags('typedef'); if (!typedefTags.length || typedefTags.length >= 2) { handleTypeAliases(); return; } - /** - * @param {string} potentialType - */ - const checkForUsedTypes = (potentialType) => { - let parsedType; - try { - parsedType = mode === 'permissive' ? - tryParseType(/** @type {string} */ (potentialType)) : - parseType(/** @type {string} */ (potentialType), mode); - } catch { - return; - } - - traverse(parsedType, (nde) => { - const { - type, - value, - } = /** @type {import('jsdoc-type-pratt-parser').NameResult} */ (nde); - if (type === 'JsdocTypeName' && (/^[A-Z]$/).test(value)) { - usedNames.add(value); - } - }); - }; - const potentialTypedefType = typedefTags[0].type; checkForUsedTypes(potentialTypedefType); - const tagName = /** @type {string} */ (utils.getPreferredTagName({ + const propertyName = /** @type {string} */ (utils.getPreferredTagName({ tagName: 'property', })); - const propertyTags = utils.getTags(tagName); + const propertyTags = utils.getTags(propertyName); for (const propertyTag of propertyTags) { checkForUsedTypes(propertyTag.type); } diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/convertToJsdocComments.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/convertToJsdocComments.js index 81f15b4da021a9..30243daa470143 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/convertToJsdocComments.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/convertToJsdocComments.js @@ -2,7 +2,11 @@ import iterateJsdoc from '../iterateJsdoc.js'; import { getSettings, } from '../iterateJsdoc.js'; -import jsdocUtils from '../jsdocUtils.js'; +import { + getIndent, + getContextObject, + enforcedContexts, +} from '../jsdocUtils.js'; import { getNonJsdocComment, getDecorator, @@ -114,7 +118,7 @@ export default { ); } - const indent = jsdocUtils.getIndent({ + const indent = getIndent({ text: sourceCode.getText( /** @type {import('eslint').Rule.Node} */ (baseNode), /** @type {import('eslint').AST.SourceLocation} */ @@ -255,17 +259,17 @@ export default { // Todo: add contexts to check after (and handle if want both before and after) return { - ...jsdocUtils.getContextObject( - jsdocUtils.enforcedContexts(context, true, settings), + ...getContextObject( + enforcedContexts(context, true, settings), checkNonJsdoc, ), - ...jsdocUtils.getContextObject( + ...getContextObject( contextsAfter, (_info, _handler, node) => { checkNonJsdocAfter(node, contextsAfter); }, ), - ...jsdocUtils.getContextObject( + ...getContextObject( contextsBeforeAndAfter, (_info, _handler, node) => { checkNonJsdoc({}, null, node); diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireJsdoc.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireJsdoc.js index 521f191a06d012..a6630e7a0a2dda 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireJsdoc.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireJsdoc.js @@ -2,7 +2,15 @@ import exportParser from '../exportParser.js'; import { getSettings, } from '../iterateJsdoc.js'; -import jsdocUtils from '../jsdocUtils.js'; +import { + exemptSpeciaMethods, + isConstructor, + getFunctionParameterNames, + hasReturnValue, + getIndent, + getContextObject, + enforcedContexts, +} from '../jsdocUtils.js'; import { getDecorator, getJSDocComment, @@ -381,7 +389,7 @@ export default { // For those who have options configured against ANY constructors (or // setters or getters) being reported - if (jsdocUtils.exemptSpeciaMethods( + if (exemptSpeciaMethods( { description: '', inlineTags: [], @@ -405,10 +413,10 @@ export default { // Avoid reporting param-less, return-less constructor methods (when // `exemptEmptyConstructors` option is set) - exemptEmptyConstructors && jsdocUtils.isConstructor(node) + exemptEmptyConstructors && isConstructor(node) ) { - const functionParameterNames = jsdocUtils.getFunctionParameterNames(node); - if (!functionParameterNames.length && !jsdocUtils.hasReturnValue(node)) { + const functionParameterNames = getFunctionParameterNames(node); + if (!functionParameterNames.length && !hasReturnValue(node)) { return; } } @@ -427,7 +435,7 @@ export default { baseNode = decorator; } - const indent = jsdocUtils.getIndent({ + const indent = getIndent({ text: sourceCode.getText( /** @type {import('eslint').Rule.Node} */ (baseNode), /** @type {import('eslint').AST.SourceLocation} */ @@ -516,8 +524,8 @@ export default { }; return { - ...jsdocUtils.getContextObject( - jsdocUtils.enforcedContexts(context, [], settings), + ...getContextObject( + enforcedContexts(context, [], settings), checkJsDoc, ), ArrowFunctionExpression (node) { diff --git a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireTemplate.js b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireTemplate.js index 6d4bf3e8f9cb6f..7e01c247f5e06a 100644 --- a/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireTemplate.js +++ b/tools/eslint/node_modules/eslint-plugin-jsdoc/src/rules/requireTemplate.js @@ -35,9 +35,12 @@ export default iterateJsdoc(({ } /** - * @param {import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration + * @param {import('@typescript-eslint/types').TSESTree.FunctionDeclaration| + * import('@typescript-eslint/types').TSESTree.ClassDeclaration| + * import('@typescript-eslint/types').TSESTree.TSInterfaceDeclaration| + * import('@typescript-eslint/types').TSESTree.TSTypeAliasDeclaration} aliasDeclaration */ - const checkParameters = (aliasDeclaration) => { + const checkTypeParams = (aliasDeclaration) => { /* c8 ignore next -- Guard */ const {params} = aliasDeclaration.typeParameters ?? {params: []}; for (const {name: {name}} of params) { @@ -50,7 +53,7 @@ export default iterateJsdoc(({ } }; - const handleTypeAliases = () => { + const handleTypes = () => { const nde = /** @type {import('@typescript-eslint/types').TSESTree.Node} */ ( node ); @@ -58,23 +61,34 @@ export default iterateJsdoc(({ return; } switch (nde.type) { + case 'ExportDefaultDeclaration': + switch (nde.declaration?.type) { + case 'ClassDeclaration': + case 'FunctionDeclaration': + case 'TSInterfaceDeclaration': + checkTypeParams(nde.declaration); + break; + } + break; case 'ExportNamedDeclaration': - if (nde.declaration?.type === 'TSTypeAliasDeclaration') { - checkParameters(nde.declaration); + switch (nde.declaration?.type) { + case 'ClassDeclaration': + case 'FunctionDeclaration': + case 'TSTypeAliasDeclaration': + case 'TSInterfaceDeclaration': + checkTypeParams(nde.declaration); + break; } break; + case 'ClassDeclaration': + case 'FunctionDeclaration': case 'TSTypeAliasDeclaration': - checkParameters(nde); + case 'TSInterfaceDeclaration': + checkTypeParams(nde); break; } }; - const typedefTags = utils.getTags('typedef'); - if (!typedefTags.length || typedefTags.length >= 2) { - handleTypeAliases(); - return; - } - const usedNameToTag = new Map(); /** @@ -104,23 +118,45 @@ export default iterateJsdoc(({ }); }; - const potentialTypedef = typedefTags[0]; - checkForUsedTypes(potentialTypedef); + /** + * @param {string[]} tagNames + */ + const checkTagsAndTemplates = (tagNames) => { + for (const tagName of tagNames) { + const preferredTagName = /** @type {string} */ (utils.getPreferredTagName({ + tagName, + })); + const matchingTags = utils.getTags(preferredTagName); + for (const matchingTag of matchingTags) { + checkForUsedTypes(matchingTag); + } + } + + // Could check against whitelist/blacklist + for (const usedName of usedNames) { + if (!templateNames.includes(usedName)) { + report(`Missing @template ${usedName}`, null, usedNameToTag.get(usedName)); + } + } + }; - const tagName = /** @type {string} */ (utils.getPreferredTagName({ - tagName: 'property', - })); - const propertyTags = utils.getTags(tagName); - for (const propertyTag of propertyTags) { - checkForUsedTypes(propertyTag); + const callbackTags = utils.getTags('callback'); + const functionTags = utils.getTags('function'); + if (callbackTags.length || functionTags.length) { + checkTagsAndTemplates(['param', 'returns']); + return; } - // Could check against whitelist/blacklist - for (const usedName of usedNames) { - if (!templateNames.includes(usedName)) { - report(`Missing @template ${usedName}`, null, usedNameToTag.get(usedName)); - } + const typedefTags = utils.getTags('typedef'); + if (!typedefTags.length || typedefTags.length >= 2) { + handleTypes(); + return; } + + const potentialTypedef = typedefTags[0]; + checkForUsedTypes(potentialTypedef); + + checkTagsAndTemplates(['property']); }, { iterateAllJsdocs: true, meta: { diff --git a/tools/eslint/node_modules/eslint/lib/cli.js b/tools/eslint/node_modules/eslint/lib/cli.js index 6ba4fe2ef63a95..8ad99b33b4a033 100644 --- a/tools/eslint/node_modules/eslint/lib/cli.js +++ b/tools/eslint/node_modules/eslint/lib/cli.js @@ -340,16 +340,17 @@ const cli = { /** * Calculates the command string for the --inspect-config operation. * @param {string} configFile The path to the config file to inspect. + * @param {boolean} hasUnstableTSConfigFlag `true` if the `unstable_ts_config` flag is enabled, `false` if it's not. * @returns {Promise} The command string to execute. */ - async calculateInspectConfigFlags(configFile) { + async calculateInspectConfigFlags(configFile, hasUnstableTSConfigFlag) { // find the config file const { configFilePath, basePath, error - } = await locateConfigFileToUse({ cwd: process.cwd(), configFile }); + } = await locateConfigFileToUse({ cwd: process.cwd(), configFile }, hasUnstableTSConfigFlag); if (error) { throw error; @@ -454,7 +455,7 @@ const cli = { try { const flatOptions = await translateOptions(options, "flat"); const spawn = require("cross-spawn"); - const flags = await cli.calculateInspectConfigFlags(flatOptions.overrideConfigFile); + const flags = await cli.calculateInspectConfigFlags(flatOptions.overrideConfigFile, flatOptions.flags ? flatOptions.flags.includes("unstable_ts_config") : false); spawn.sync("npx", ["@eslint/config-inspector@latest", ...flags], { encoding: "utf8", stdio: "inherit" }); } catch (error) { diff --git a/tools/eslint/node_modules/eslint/lib/eslint/eslint.js b/tools/eslint/node_modules/eslint/lib/eslint/eslint.js index f20b2119a418f7..1e69f04ac84e54 100644 --- a/tools/eslint/node_modules/eslint/lib/eslint/eslint.js +++ b/tools/eslint/node_modules/eslint/lib/eslint/eslint.js @@ -63,6 +63,8 @@ const { Retrier } = require("@humanwhocodes/retry"); /** @typedef {import("../shared/types").RuleConf} RuleConf */ /** @typedef {import("../shared/types").Rule} Rule */ /** @typedef {ReturnType} ExtractedConfig */ +/** @typedef {import('../cli-engine/cli-engine').CLIEngine} CLIEngine */ +/** @typedef {import('./legacy-eslint').CLIEngineLintReport} CLIEngineLintReport */ /** * The options with which to configure the ESLint instance. @@ -86,7 +88,7 @@ const { Retrier } = require("@humanwhocodes/retry"); * when a string. * @property {Record} [plugins] An array of plugin implementations. * @property {boolean} [stats] True enables added statistics on lint results. - * @property {boolean} warnIgnored Show warnings when the file list includes ignored files + * @property {boolean} [warnIgnored] Show warnings when the file list includes ignored files * @property {boolean} [passOnNoPatterns=false] When set to true, missing patterns cause * the linting operation to short circuit and not report any failures. */ @@ -100,8 +102,18 @@ const FLAT_CONFIG_FILENAMES = [ "eslint.config.mjs", "eslint.config.cjs" ]; +const FLAT_CONFIG_FILENAMES_WITH_TS = [ + ...FLAT_CONFIG_FILENAMES, + "eslint.config.ts", + "eslint.config.mts", + "eslint.config.cts" +]; const debug = require("debug")("eslint:eslint"); const privateMembers = new WeakMap(); + +/** + * @type {Map} + */ const importedConfigFileModificationTime = new Map(); const removedFormatters = new Set([ "checkstyle", @@ -262,28 +274,59 @@ function compareResultsByFilePath(a, b) { * Searches from the current working directory up until finding the * given flat config filename. * @param {string} cwd The current working directory to search from. + * @param {boolean} hasUnstableTSConfigFlag `true` if the `unstable_ts_config` flag is enabled, `false` if it's not. * @returns {Promise} The filename if found or `undefined` if not. */ -function findFlatConfigFile(cwd) { +function findFlatConfigFile(cwd, hasUnstableTSConfigFlag) { + const filenames = hasUnstableTSConfigFlag ? FLAT_CONFIG_FILENAMES_WITH_TS : FLAT_CONFIG_FILENAMES; + return findUp( - FLAT_CONFIG_FILENAMES, + filenames, { cwd } ); } +/** + * Check if the file is a TypeScript file. + * @param {string} filePath The file path to check. + * @returns {boolean} `true` if the file is a TypeScript file, `false` if it's not. + */ +function isFileTS(filePath) { + const fileExtension = path.extname(filePath); + + return /^\.[mc]?ts$/u.test(fileExtension); +} + +/** + * Check if ESLint is running in Bun. + * @returns {boolean} `true` if the ESLint is running Bun, `false` if it's not. + */ +function isRunningInBun() { + return !!globalThis.Bun; +} + +/** + * Check if ESLint is running in Deno. + * @returns {boolean} `true` if the ESLint is running in Deno, `false` if it's not. + */ +function isRunningInDeno() { + return !!globalThis.Deno; +} + /** * Load the config array from the given filename. * @param {string} filePath The filename to load from. + * @param {boolean} hasUnstableTSConfigFlag `true` if the `unstable_ts_config` flag is enabled, `false` if it's not. * @returns {Promise} The config loaded from the config file. */ -async function loadFlatConfigFile(filePath) { +async function loadFlatConfigFile(filePath, hasUnstableTSConfigFlag) { debug(`Loading config from ${filePath}`); const fileURL = pathToFileURL(filePath); debug(`Config file URL is ${fileURL}`); - const mtime = (await fs.stat(filePath)).mtime.getTime(); + const mtime = (await fs.stat(filePath)).mtime.getTime().toString(); /* * Append a query with the config file's modification time (`mtime`) in order @@ -314,7 +357,37 @@ async function loadFlatConfigFile(filePath) { delete require.cache[filePath]; } - const config = (await import(fileURL)).default; + const isTS = isFileTS(filePath) && hasUnstableTSConfigFlag; + + const isBun = isRunningInBun(); + + const isDeno = isRunningInDeno(); + + if (isTS && !isDeno && !isBun) { + + const createJiti = await import("jiti").then(jitiModule => jitiModule.default, () => { + throw new Error("The 'jiti' library is required for loading TypeScript configuration files. Make sure to install it."); + }); + + /* + * Disabling `moduleCache` allows us to reload a + * config file when the last modified timestamp changes. + */ + + const jiti = createJiti(__filename, { moduleCache: false }); + + if (typeof jiti?.import !== "function") { + throw new Error("You are using an outdated version of the 'jiti' library. Please update to the latest version of 'jiti' to ensure compatibility and access to the latest features."); + } + + const config = await jiti.import(fileURL.href); + + importedConfigFileModificationTime.set(filePath, mtime); + + return config?.default ?? config; + } + + const config = (await import(fileURL.href)).default; importedConfigFileModificationTime.set(filePath, mtime); @@ -326,11 +399,12 @@ async function loadFlatConfigFile(filePath) { * override config file was passed, and if so, using it; otherwise, as long * as override config file is not explicitly set to `false`, it will search * upwards from the cwd for a file named `eslint.config.js`. - * @param {import("./eslint").ESLintOptions} options The ESLint instance options. - * @returns {{configFilePath:string|undefined,basePath:string,error:Error|null}} Location information for + * @param {ESLintOptions} options The ESLint instance options. + * @param {boolean} hasUnstableTSConfigFlag `true` if the `unstable_ts_config` flag is enabled, `false` if it's not. + * @returns {Promise<{configFilePath:string|undefined;basePath:string;error:Error|null}>} Location information for * the config file. */ -async function locateConfigFileToUse({ configFile, cwd }) { +async function locateConfigFileToUse({ configFile, cwd }, hasUnstableTSConfigFlag) { // determine where to load config file from let configFilePath; @@ -342,7 +416,7 @@ async function locateConfigFileToUse({ configFile, cwd }) { configFilePath = path.resolve(cwd, configFile); } else if (configFile !== false) { debug("Searching for eslint.config.js"); - configFilePath = await findFlatConfigFile(cwd); + configFilePath = await findFlatConfigFile(cwd, hasUnstableTSConfigFlag); if (configFilePath) { basePath = path.resolve(path.dirname(configFilePath)); @@ -364,8 +438,8 @@ async function locateConfigFileToUse({ configFile, cwd }) { /** * Calculates the config array for this run based on inputs. * @param {ESLint} eslint The instance to create the config array for. - * @param {import("./eslint").ESLintOptions} options The ESLint instance options. - * @returns {FlatConfigArray} The config array for `eslint``. + * @param {ESLintOptions} options The ESLint instance options. + * @returns {Promise} The config array for `eslint``. */ async function calculateConfigArray(eslint, { cwd, @@ -383,7 +457,9 @@ async function calculateConfigArray(eslint, { return slots.configs; } - const { configFilePath, basePath, error } = await locateConfigFileToUse({ configFile, cwd }); + const hasUnstableTSConfigFlag = eslint.hasFlag("unstable_ts_config"); + + const { configFilePath, basePath, error } = await locateConfigFileToUse({ configFile, cwd }, hasUnstableTSConfigFlag); // config file is required to calculate config if (error) { @@ -394,7 +470,7 @@ async function calculateConfigArray(eslint, { // load config file if (configFilePath) { - const fileConfig = await loadFlatConfigFile(configFilePath); + const fileConfig = await loadFlatConfigFile(configFilePath, hasUnstableTSConfigFlag); if (Array.isArray(fileConfig)) { configs.push(...fileConfig); @@ -570,6 +646,23 @@ function createExtraneousResultsError() { return new TypeError("Results object was not created from this ESLint instance."); } +/** + * Creates a fixer function based on the provided fix, fixTypesSet, and config. + * @param {Function|boolean} fix The original fix option. + * @param {Set} fixTypesSet A set of fix types to filter messages for fixing. + * @param {FlatConfig} config The config for the file that generated the message. + * @returns {Function|boolean} The fixer function or the original fix value. + */ +function getFixerForFixTypes(fix, fixTypesSet, config) { + if (!fix || !fixTypesSet) { + return fix; + } + + const originalFix = (typeof fix === "function") ? fix : () => true; + + return message => shouldMessageBeFixed(message, config, fixTypesSet) && originalFix(message); +} + //----------------------------------------------------------------------------- // Main API //----------------------------------------------------------------------------- @@ -918,16 +1011,7 @@ class ESLint { // set up fixer for fixTypes if necessary - let fixer = fix; - - if (fix && fixTypesSet) { - - // save original value of options.fix in case it's a function - const originalFix = (typeof fix === "function") - ? fix : () => true; - - fixer = message => shouldMessageBeFixed(message, config, fixTypesSet) && originalFix(message); - } + const fixer = getFixerForFixTypes(fix, fixTypesSet, config); return retrier.retry(() => fs.readFile(filePath, { encoding: "utf8", signal: controller.signal }) .then(text => { @@ -1032,13 +1116,18 @@ class ESLint { allowInlineConfig, cwd, fix, + fixTypes, warnIgnored: constructorWarnIgnored, ruleFilter, stats } = eslintOptions; const results = []; const startTime = Date.now(); + const fixTypesSet = fixTypes ? new Set(fixTypes) : null; const resolvedFilename = path.resolve(cwd, filePath || "__placeholder__.js"); + const config = configs.getConfig(resolvedFilename); + + const fixer = getFixerForFixTypes(fix, fixTypesSet, config); // Clear the last used config arrays. if (resolvedFilename && await this.isPathIgnored(resolvedFilename)) { @@ -1057,7 +1146,7 @@ class ESLint { filePath: resolvedFilename.endsWith("__placeholder__.js") ? "" : resolvedFilename, configs, cwd, - fix, + fix: fixer, allowInlineConfig, ruleFilter, stats, @@ -1144,7 +1233,7 @@ class ESLint { /** * The main formatter method. - * @param {LintResults[]} results The lint results to format. + * @param {LintResult[]} results The lint results to format. * @param {ResultsMeta} resultsMeta Warning count and max threshold. * @returns {string} The formatted lint results. */ @@ -1190,12 +1279,12 @@ class ESLint { /** * Finds the config file being used by this instance based on the options * passed to the constructor. - * @returns {string|undefined} The path to the config file being used or + * @returns {Promise} The path to the config file being used or * `undefined` if no config file is being used. */ async findConfigFile() { const options = privateMembers.get(this).options; - const { configFilePath } = await locateConfigFileToUse(options); + const { configFilePath } = await locateConfigFileToUse(options, this.hasFlag("unstable_ts_config")); return configFilePath; } diff --git a/tools/eslint/node_modules/eslint/lib/languages/js/source-code/source-code.js b/tools/eslint/node_modules/eslint/lib/languages/js/source-code/source-code.js index f672fc883156ec..a37383dd3bcb32 100644 --- a/tools/eslint/node_modules/eslint/lib/languages/js/source-code/source-code.js +++ b/tools/eslint/node_modules/eslint/lib/languages/js/source-code/source-code.js @@ -918,7 +918,7 @@ class SourceCode extends TokenStore { } /** - * Returns the locatin of the given node or token. + * Returns the location of the given node or token. * @param {ASTNode|Token} nodeOrToken The node or token to get the location of. * @returns {SourceLocation} The location of the node or token. */ diff --git a/tools/eslint/node_modules/eslint/lib/linter/linter.js b/tools/eslint/node_modules/eslint/lib/linter/linter.js index e5d4d2c789c584..8f683bde4662e3 100644 --- a/tools/eslint/node_modules/eslint/lib/linter/linter.js +++ b/tools/eslint/node_modules/eslint/lib/linter/linter.js @@ -55,6 +55,7 @@ const DEFAULT_ERROR_LOC = { start: { line: 1, column: 0 }, end: { line: 1, colum const parserSymbol = Symbol.for("eslint.RuleTester.parser"); const { LATEST_ECMA_VERSION } = require("../../conf/ecma-version"); const { VFile } = require("./vfile"); +const { ParserService } = require("../services/parser-service"); const STEP_KIND_VISIT = 1; const STEP_KIND_CALL = 2; @@ -922,43 +923,6 @@ function analyzeScope(ast, languageOptions, visitorKeys) { }); } -/** - * Parses file into an AST. Moved out here because the try-catch prevents - * optimization of functions, so it's best to keep the try-catch as isolated - * as possible - * @param {VFile} file The file to parse. - * @param {Language} language The language to use. - * @param {LanguageOptions} languageOptions Options to pass to the parser - * @returns {{success: false, error: LintMessage}|{success: true, sourceCode: SourceCode}} - * An object containing the AST and parser services if parsing was successful, or the error if parsing failed - * @private - */ -function parse(file, language, languageOptions) { - - const result = language.parse(file, { languageOptions }); - - if (result.ok) { - return { - success: true, - sourceCode: language.createSourceCode(file, result, { languageOptions }) - }; - } - - // if we made it to here there was an error - return { - success: false, - errors: result.errors.map(error => ({ - ruleId: null, - nodeType: null, - fatal: true, - severity: 2, - message: `Parsing error: ${error.message}`, - line: error.line, - column: error.column - })) - }; -} - /** * Runs a rule, and gets its listeners * @param {Rule} rule A rule object @@ -1407,10 +1371,13 @@ class Linter { t = startTime(); } - const parseResult = parse( + const parserService = new ParserService(); + const parseResult = parserService.parseSync( file, - jslang, - languageOptions + { + language: jslang, + languageOptions + } ); if (options.stats) { @@ -1420,7 +1387,7 @@ class Linter { storeTime(time, timeOpts, slots); } - if (!parseResult.success) { + if (!parseResult.ok) { return parseResult.errors; } @@ -1712,10 +1679,10 @@ class Linter { t = startTime(); } - const parseResult = parse( + const parserService = new ParserService(); + const parseResult = parserService.parseSync( file, - config.language, - languageOptions + config ); if (options.stats) { @@ -1724,7 +1691,7 @@ class Linter { storeTime(time, { type: "parse" }, slots); } - if (!parseResult.success) { + if (!parseResult.ok) { return parseResult.errors; } diff --git a/tools/eslint/node_modules/eslint/lib/rules/require-await.js b/tools/eslint/node_modules/eslint/lib/rules/require-await.js index 952dde5431fe4a..2a5159d722d4b0 100644 --- a/tools/eslint/node_modules/eslint/lib/rules/require-await.js +++ b/tools/eslint/node_modules/eslint/lib/rules/require-await.js @@ -42,8 +42,11 @@ module.exports = { schema: [], messages: { - missingAwait: "{{name}} has no 'await' expression." - } + missingAwait: "{{name}} has no 'await' expression.", + removeAsync: "Remove 'async'." + }, + + hasSuggestions: true }, create(context) { @@ -69,6 +72,33 @@ module.exports = { */ function exitFunction(node) { if (!node.generator && node.async && !scopeInfo.hasAwait && !astUtils.isEmptyFunction(node)) { + + /* + * If the function belongs to a method definition or + * property, then the function's range may not include the + * `async` keyword and we should look at the parent instead. + */ + const nodeWithAsyncKeyword = + (node.parent.type === "MethodDefinition" && node.parent.value === node) || + (node.parent.type === "Property" && node.parent.method && node.parent.value === node) + ? node.parent + : node; + + const asyncToken = sourceCode.getFirstToken(nodeWithAsyncKeyword, token => token.value === "async"); + const asyncRange = [asyncToken.range[0], sourceCode.getTokenAfter(asyncToken, { includeComments: true }).range[0]]; + + /* + * Removing the `async` keyword can cause parsing errors if the current + * statement is relying on automatic semicolon insertion. If ASI is currently + * being used, then we should replace the `async` keyword with a semicolon. + */ + const nextToken = sourceCode.getTokenAfter(asyncToken); + const addSemiColon = + nextToken.type === "Punctuator" && + (nextToken.value === "[" || nextToken.value === "(") && + (nodeWithAsyncKeyword.type === "MethodDefinition" || astUtils.isStartOfExpressionStatement(nodeWithAsyncKeyword)) && + astUtils.needsPrecedingSemicolon(sourceCode, nodeWithAsyncKeyword); + context.report({ node, loc: astUtils.getFunctionHeadLoc(node, sourceCode), @@ -77,7 +107,11 @@ module.exports = { name: capitalizeFirstLetter( astUtils.getFunctionNameWithKind(node) ) - } + }, + suggest: [{ + messageId: "removeAsync", + fix: fixer => fixer.replaceTextRange(asyncRange, addSemiColon ? ";" : "") + }] }); } diff --git a/tools/eslint/node_modules/eslint/lib/rules/utils/ast-utils.js b/tools/eslint/node_modules/eslint/lib/rules/utils/ast-utils.js index ed9a31af34cfe8..9f4f381de481cd 100644 --- a/tools/eslint/node_modules/eslint/lib/rules/utils/ast-utils.js +++ b/tools/eslint/node_modules/eslint/lib/rules/utils/ast-utils.js @@ -1042,11 +1042,12 @@ function isStartOfExpressionStatement(node) { /** * Determines whether an opening parenthesis `(`, bracket `[` or backtick ``` ` ``` needs to be preceded by a semicolon. - * This opening parenthesis or bracket should be at the start of an `ExpressionStatement` or at the start of the body of an `ArrowFunctionExpression`. + * This opening parenthesis or bracket should be at the start of an `ExpressionStatement`, a `MethodDefinition` or at + * the start of the body of an `ArrowFunctionExpression`. * @type {(sourceCode: SourceCode, node: ASTNode) => boolean} * @param {SourceCode} sourceCode The source code object. * @param {ASTNode} node A node at the position where an opening parenthesis or bracket will be inserted. - * @returns {boolean} Whether a semicolon is required before the opening parenthesis or braket. + * @returns {boolean} Whether a semicolon is required before the opening parenthesis or bracket. */ let needsPrecedingSemicolon; @@ -1106,7 +1107,7 @@ let needsPrecedingSemicolon; if (isClosingBraceToken(prevToken)) { return ( - prevNode.type === "BlockStatement" && prevNode.parent.type === "FunctionExpression" || + prevNode.type === "BlockStatement" && prevNode.parent.type === "FunctionExpression" && prevNode.parent.parent.type !== "MethodDefinition" || prevNode.type === "ClassBody" && prevNode.parent.type === "ClassExpression" || prevNode.type === "ObjectExpression" ); diff --git a/tools/eslint/node_modules/eslint/lib/services/parser-service.js b/tools/eslint/node_modules/eslint/lib/services/parser-service.js new file mode 100644 index 00000000000000..c138b83147494e --- /dev/null +++ b/tools/eslint/node_modules/eslint/lib/services/parser-service.js @@ -0,0 +1,65 @@ +/** + * @fileoverview ESLint Parser + * @author Nicholas C. Zakas + */ +/* eslint class-methods-use-this: off -- Anticipate future constructor arguments. */ + +"use strict"; + +//----------------------------------------------------------------------------- +// Types +//----------------------------------------------------------------------------- + +/** @typedef {import("../linter/vfile.js").VFile} VFile */ +/** @typedef {import("@eslint/core").Language} Language */ +/** @typedef {import("@eslint/core").LanguageOptions} LanguageOptions */ + +//----------------------------------------------------------------------------- +// Exports +//----------------------------------------------------------------------------- + +/** + * The parser for ESLint. + */ +class ParserService { + + /** + * Parses the given file synchronously. + * @param {VFile} file The file to parse. + * @param {{language:Language,languageOptions:LanguageOptions}} config The configuration to use. + * @returns {Object} An object with the parsed source code or errors. + * @throws {Error} If the parser returns a promise. + */ + parseSync(file, config) { + + const { language, languageOptions } = config; + const result = language.parse(file, { languageOptions }); + + if (typeof result.then === "function") { + throw new Error("Unsupported: Language parser returned a promise."); + } + + if (result.ok) { + return { + ok: true, + sourceCode: language.createSourceCode(file, result, { languageOptions }) + }; + } + + // if we made it to here there was an error + return { + ok: false, + errors: result.errors.map(error => ({ + ruleId: null, + nodeType: null, + fatal: true, + severity: 2, + message: `Parsing error: ${error.message}`, + line: error.line, + column: error.column + })) + }; + } +} + +module.exports = { ParserService }; diff --git a/tools/eslint/node_modules/eslint/lib/shared/flags.js b/tools/eslint/node_modules/eslint/lib/shared/flags.js index b05c92403dd94f..9c66efe853b706 100644 --- a/tools/eslint/node_modules/eslint/lib/shared/flags.js +++ b/tools/eslint/node_modules/eslint/lib/shared/flags.js @@ -9,7 +9,8 @@ * @type {Map} */ const activeFlags = new Map([ - ["test_only", "Used only for testing."] + ["test_only", "Used only for testing."], + ["unstable_ts_config", "Enable TypeScript configuration files."] ]); /** diff --git a/tools/eslint/node_modules/eslint/package.json b/tools/eslint/node_modules/eslint/package.json index c3e772bd609f2c..161a1431b1b3de 100644 --- a/tools/eslint/node_modules/eslint/package.json +++ b/tools/eslint/node_modules/eslint/package.json @@ -1,6 +1,6 @@ { "name": "eslint", - "version": "9.8.0", + "version": "9.9.1", "author": "Nicholas C. Zakas ", "description": "An AST-based pattern checker for JavaScript.", "bin": { @@ -18,12 +18,12 @@ "build:webpack": "node Makefile.js webpack", "build:readme": "node tools/update-readme.js", "build:rules-index": "node Makefile.js generateRuleIndexPage", - "lint": "node Makefile.js lint", - "lint:docs:js": "node Makefile.js lintDocsJS", + "lint": "trunk check --no-fix --ignore=docs/**/*.js -a --filter=eslint && trunk check --no-fix --ignore=docs/**/*.js", + "lint:docs:js": "trunk check --no-fix --ignore=** --ignore=!docs/**/*.js -a --filter=eslint && trunk check --no-fix --ignore=** --ignore=!docs/**/*.js", "lint:docs:rule-examples": "node Makefile.js checkRuleExamples", - "lint:fix": "node Makefile.js lint -- fix", - "lint:fix:docs:js": "node Makefile.js lintDocsJS -- fix", "lint:unused": "knip", + "lint:fix": "trunk check -y --ignore=docs/**/*.js -a --filter=eslint && trunk check -y --ignore=docs/**/*.js", + "lint:fix:docs:js": "trunk check -y --ignore=** --ignore=!docs/**/*.js -a --flter=eslint && trunk check -y --ignore=** --ignore=!docs/**/*.js", "release:generate:alpha": "node Makefile.js generatePrerelease -- alpha", "release:generate:beta": "node Makefile.js generatePrerelease -- beta", "release:generate:latest": "node Makefile.js generateRelease", @@ -40,8 +40,8 @@ "pre-commit": "lint-staged" }, "lint-staged": { - "*.js": "eslint --fix", - "*.md": "markdownlint --fix", + "*.js": "trunk check --fix --filter=eslint", + "*.md": "trunk check --fix --filter=markdownlint", "lib/rules/*.js": [ "node tools/update-eslint-all.js", "git add packages/js/src/configs/eslint-all.js" @@ -51,7 +51,7 @@ "node tools/fetch-docs-links.js", "git add docs/src/_data/further_reading_links.json" ], - "docs/**/*.svg": "npx -y svgo -r --multipass" + "docs/**/*.svg": "trunk check --fix --filter=svgo" }, "files": [ "LICENSE", @@ -68,9 +68,9 @@ "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", - "@eslint/config-array": "^0.17.1", + "@eslint/config-array": "^0.18.0", "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "9.8.0", + "@eslint/js": "9.9.1", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", @@ -104,14 +104,15 @@ "devDependencies": { "@babel/core": "^7.4.3", "@babel/preset-env": "^7.4.3", - "@eslint/core": "^0.2.0", - "@eslint/json": "^0.2.0", + "@eslint/core": "^0.4.0", + "@eslint/json": "^0.3.0", + "@trunkio/launcher": "^1.3.0", "@types/estree": "^1.0.5", "@types/node": "^20.11.5", - "@wdio/browser-runner": "^8.38.3", - "@wdio/cli": "^8.38.2", - "@wdio/concise-reporter": "^8.38.2", - "@wdio/mocha-framework": "^8.38.2", + "@wdio/browser-runner": "^9.0.5", + "@wdio/cli": "^9.0.5", + "@wdio/concise-reporter": "^9.0.4", + "@wdio/mocha-framework": "^9.0.5", "babel-loader": "^8.0.5", "c8": "^7.12.0", "chai": "^4.0.1", @@ -122,6 +123,7 @@ "eslint": "file:.", "eslint-config-eslint": "file:packages/eslint-config-eslint", "eslint-plugin-eslint-plugin": "^6.0.0", + "eslint-plugin-yml": "^1.14.0", "eslint-release": "^3.2.2", "eslint-rule-composer": "^0.3.0", "eslump": "^3.0.0", @@ -132,14 +134,12 @@ "globals": "^15.0.0", "got": "^11.8.3", "gray-matter": "^4.0.3", - "js-yaml": "^4.1.0", + "jiti": "^1.21.6", "knip": "^5.21.0", "lint-staged": "^11.0.0", "load-perf": "^0.2.0", "markdown-it": "^12.2.0", "markdown-it-container": "^3.0.0", - "markdownlint": "^0.34.0", - "markdownlint-cli": "^0.41.0", "marked": "^4.0.8", "metascraper": "^5.25.7", "metascraper-description": "^5.25.7", @@ -165,6 +165,14 @@ "webpack-cli": "^4.5.0", "yorkie": "^2.0.0" }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + }, "keywords": [ "ast", "lint", diff --git a/tools/eslint/node_modules/globals/globals.json b/tools/eslint/node_modules/globals/globals.json index c1fd964265cdf4..05b9b39af754e5 100644 --- a/tools/eslint/node_modules/globals/globals.json +++ b/tools/eslint/node_modules/globals/globals.json @@ -33,6 +33,9 @@ "AbstractRange": false, "Accelerometer": false, "addEventListener": false, + "ai": false, + "AI": false, + "AITextSession": false, "alert": false, "AnalyserNode": false, "Animation": false, @@ -102,6 +105,7 @@ "CDATASection": false, "ChannelMergerNode": false, "ChannelSplitterNode": false, + "ChapterInformation": false, "CharacterBoundsUpdateEvent": false, "CharacterData": false, "clearInterval": false, @@ -166,6 +170,7 @@ "CSSNamespaceRule": false, "CSSNumericArray": false, "CSSNumericValue": false, + "CSSPageDescriptors": false, "CSSPageRule": false, "CSSPerspective": false, "CSSPositionTryDescriptors": false, @@ -2618,6 +2623,7 @@ "AbortController": false, "AbortSignal": false, "addEventListener": false, + "ai": false, "atob": false, "AudioData": false, "AudioDecoder": false, diff --git a/tools/eslint/node_modules/globals/package.json b/tools/eslint/node_modules/globals/package.json index f24233f6676d3d..acea53bfeefba6 100644 --- a/tools/eslint/node_modules/globals/package.json +++ b/tools/eslint/node_modules/globals/package.json @@ -1,6 +1,6 @@ { "name": "globals", - "version": "15.8.0", + "version": "15.9.0", "description": "Global identifiers from different JavaScript environments", "license": "MIT", "repository": "sindresorhus/globals", diff --git a/tools/eslint/node_modules/ignore/index.js b/tools/eslint/node_modules/ignore/index.js index c559806457c258..9f0dbfebda0cd8 100644 --- a/tools/eslint/node_modules/ignore/index.js +++ b/tools/eslint/node_modules/ignore/index.js @@ -79,17 +79,26 @@ const REPLACERS = [ [ // (a\ ) -> (a ) // (a ) -> (a) + // (a ) -> (a) // (a \ ) -> (a ) - /\\?\s+$/, - match => match.indexOf('\\') === 0 - ? SPACE - : EMPTY + /((?:\\\\)*?)(\\?\s+)$/, + (_, m1, m2) => m1 + ( + m2.indexOf('\\') === 0 + ? SPACE + : EMPTY + ) ], // replace (\ ) with ' ' + // (\ ) -> ' ' + // (\\ ) -> '\\ ' + // (\\\ ) -> '\\ ' [ - /\\\s/g, - () => SPACE + /(\\+?)\s/g, + (_, m1) => { + const {length} = m1 + return m1.slice(0, length - length % 2) + SPACE + } ], // Escape metacharacters @@ -317,7 +326,8 @@ const makeRegex = (pattern, ignoreCase) => { if (!source) { source = REPLACERS.reduce( - (prev, current) => prev.replace(current[0], current[1].bind(pattern)), + (prev, [matcher, replacer]) => + prev.replace(matcher, replacer.bind(pattern)), pattern ) regexCache[pattern] = source diff --git a/tools/eslint/node_modules/ignore/legacy.js b/tools/eslint/node_modules/ignore/legacy.js index e97047187c37b9..de3f66ce891518 100644 --- a/tools/eslint/node_modules/ignore/legacy.js +++ b/tools/eslint/node_modules/ignore/legacy.js @@ -6,6 +6,12 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } +function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } // A simple implementation of make-array function makeArray(subject) { return Array.isArray(subject) ? subject : [subject]; @@ -82,13 +88,18 @@ var REPLACERS = [[ [ // (a\ ) -> (a ) // (a ) -> (a) +// (a ) -> (a) // (a \ ) -> (a ) -/\\?\s+$/, function (match) { - return match.indexOf('\\') === 0 ? SPACE : EMPTY; +/((?:\\\\)*?)(\\?\s+)$/, function (_, m1, m2) { + return m1 + (m2.indexOf('\\') === 0 ? SPACE : EMPTY); }], // replace (\ ) with ' ' -[/\\\s/g, function () { - return SPACE; +// (\ ) -> ' ' +// (\\ ) -> '\\ ' +// (\\\ ) -> '\\ ' +[/(\\+?)\s/g, function (_, m1) { + var length = m1.length; + return m1.slice(0, length - length % 2) + SPACE; }], // Escape metacharacters // which is written down by users but means special for regular expressions. @@ -277,8 +288,11 @@ var regexCache = Object.create(null); var makeRegex = function makeRegex(pattern, ignoreCase) { var source = regexCache[pattern]; if (!source) { - source = REPLACERS.reduce(function (prev, current) { - return prev.replace(current[0], current[1].bind(pattern)); + source = REPLACERS.reduce(function (prev, _ref) { + var _ref2 = _slicedToArray(_ref, 2), + matcher = _ref2[0], + replacer = _ref2[1]; + return prev.replace(matcher, replacer.bind(pattern)); }, pattern); regexCache[pattern] = source; } @@ -353,13 +367,13 @@ checkPath.convert = function (p) { }; var Ignore = /*#__PURE__*/function () { function Ignore() { - var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, - _ref$ignorecase = _ref.ignorecase, - ignorecase = _ref$ignorecase === void 0 ? true : _ref$ignorecase, - _ref$ignoreCase = _ref.ignoreCase, - ignoreCase = _ref$ignoreCase === void 0 ? ignorecase : _ref$ignoreCase, - _ref$allowRelativePat = _ref.allowRelativePaths, - allowRelativePaths = _ref$allowRelativePat === void 0 ? false : _ref$allowRelativePat; + var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + _ref3$ignorecase = _ref3.ignorecase, + ignorecase = _ref3$ignorecase === void 0 ? true : _ref3$ignorecase, + _ref3$ignoreCase = _ref3.ignoreCase, + ignoreCase = _ref3$ignoreCase === void 0 ? ignorecase : _ref3$ignoreCase, + _ref3$allowRelativePa = _ref3.allowRelativePaths, + allowRelativePaths = _ref3$allowRelativePa === void 0 ? false : _ref3$allowRelativePa; _classCallCheck(this, Ignore); define(this, KEY_IGNORE, true); this._rules = []; diff --git a/tools/eslint/node_modules/ignore/package.json b/tools/eslint/node_modules/ignore/package.json index edc78d3c690dbe..b7f684e98b5bd9 100644 --- a/tools/eslint/node_modules/ignore/package.json +++ b/tools/eslint/node_modules/ignore/package.json @@ -1,6 +1,6 @@ { "name": "ignore", - "version": "5.3.1", + "version": "5.3.2", "description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.", "files": [ "legacy.js", @@ -17,6 +17,7 @@ "tap": "tap --reporter classic", "test:git": "npm run tap test/git-check-ignore.js", "test:ignore": "npm run tap test/ignore.js", + "test:ignore:only": "IGNORE_ONLY_IGNORES=1 npm run tap test/ignore.js", "test:others": "npm run tap test/others.js", "test:cases": "npm run tap test/*.js -- --coverage", "test:no-coverage": "npm run tap test/*.js -- --no-check-coverage", @@ -61,10 +62,10 @@ "eslint-plugin-import": "^2.28.0", "mkdirp": "^3.0.1", "pre-suf": "^1.1.1", - "rimraf": "^5.0.1", + "rimraf": "^6.0.1", "spawn-sync": "^2.0.0", "tap": "^16.3.9", - "tmp": "0.2.1", + "tmp": "0.2.3", "typescript": "^5.1.6" }, "engines": { diff --git a/tools/eslint/node_modules/spdx-license-ids/deprecated.json b/tools/eslint/node_modules/spdx-license-ids/deprecated.json index 278531e40c613d..4f70a14c7469da 100644 --- a/tools/eslint/node_modules/spdx-license-ids/deprecated.json +++ b/tools/eslint/node_modules/spdx-license-ids/deprecated.json @@ -19,6 +19,7 @@ "LGPL-2.0", "LGPL-2.1", "LGPL-3.0", + "Net-SNMP", "Nunit", "StandardML-NJ", "bzip2-1.0.5", diff --git a/tools/eslint/node_modules/spdx-license-ids/index.json b/tools/eslint/node_modules/spdx-license-ids/index.json index c7686a710d61d1..f43d5016bd95ab 100644 --- a/tools/eslint/node_modules/spdx-license-ids/index.json +++ b/tools/eslint/node_modules/spdx-license-ids/index.json @@ -197,6 +197,8 @@ "DRL-1.0", "DRL-1.1", "DSDP", + "DocBook-Schema", + "DocBook-XML", "Dotseqn", "ECL-1.0", "ECL-2.0", @@ -260,6 +262,7 @@ "Glulxe", "Graphics-Gems", "Gutmann", + "HIDAPI", "HP-1986", "HP-1989", "HPND", @@ -270,6 +273,7 @@ "HPND-Kevlin-Henney", "HPND-MIT-disclaimer", "HPND-Markus-Kuhn", + "HPND-Netrek", "HPND-Pbmplus", "HPND-UC", "HPND-UC-export-US", @@ -403,7 +407,6 @@ "NTP", "NTP-0", "Naumen", - "Net-SNMP", "NetCDF", "Newsletr", "Nokia", @@ -485,6 +488,7 @@ "RSCPL", "Rdisc", "Ruby", + "Ruby-pty", "SAX-PD", "SAX-PD-2.0", "SCEA", @@ -541,6 +545,7 @@ "UMich-Merit", "UPL-1.0", "URT-RLE", + "Ubuntu-font-1.0", "Unicode-3.0", "Unicode-DFS-2015", "Unicode-DFS-2016", @@ -559,6 +564,7 @@ "Wsuipa", "X11", "X11-distribute-modifications-variant", + "X11-swapped", "XFree86-1.1", "XSkat", "Xdebug-1.03", diff --git a/tools/eslint/node_modules/spdx-license-ids/package.json b/tools/eslint/node_modules/spdx-license-ids/package.json index 5f5ed9554f2579..7ab34aab6b8b1d 100644 --- a/tools/eslint/node_modules/spdx-license-ids/package.json +++ b/tools/eslint/node_modules/spdx-license-ids/package.json @@ -1,6 +1,6 @@ { "name": "spdx-license-ids", - "version": "3.0.18", + "version": "3.0.20", "description": "A list of SPDX license identifiers", "repository": "jslicense/spdx-license-ids", "author": "Shinnosuke Watanabe (https://github.com/shinnn)", diff --git a/tools/eslint/node_modules/tslib/package.json b/tools/eslint/node_modules/tslib/package.json index a8646d5c157da9..a068b42d4d02ba 100644 --- a/tools/eslint/node_modules/tslib/package.json +++ b/tools/eslint/node_modules/tslib/package.json @@ -2,7 +2,7 @@ "name": "tslib", "author": "Microsoft Corp.", "homepage": "https://www.typescriptlang.org/", - "version": "2.6.3", + "version": "2.7.0", "license": "0BSD", "description": "Runtime library for TypeScript helper functions", "keywords": [ diff --git a/tools/eslint/node_modules/tslib/tslib.es6.js b/tools/eslint/node_modules/tslib/tslib.es6.js index b212c2564d715a..fc18d15bf85038 100644 --- a/tools/eslint/node_modules/tslib/tslib.es6.js +++ b/tools/eslint/node_modules/tslib/tslib.es6.js @@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -123,8 +123,8 @@ export function __awaiter(thisArg, _arguments, P, generator) { } export function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -228,7 +228,7 @@ export function __await(v) { export function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -327,17 +327,22 @@ export function __disposeResources(env) { env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); diff --git a/tools/eslint/node_modules/tslib/tslib.es6.mjs b/tools/eslint/node_modules/tslib/tslib.es6.mjs index 0df91b1b4d6ba1..17bb2ff8f2d6fd 100644 --- a/tools/eslint/node_modules/tslib/tslib.es6.mjs +++ b/tools/eslint/node_modules/tslib/tslib.es6.mjs @@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global Reflect, Promise, SuppressedError, Symbol */ +/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -123,8 +123,8 @@ export function __awaiter(thisArg, _arguments, P, generator) { } export function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -228,7 +228,7 @@ export function __await(v) { export function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -326,17 +326,22 @@ export function __disposeResources(env) { env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { - fail(e); + fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); diff --git a/tools/eslint/node_modules/tslib/tslib.js b/tools/eslint/node_modules/tslib/tslib.js index 0f7c846b75a4b8..429c11a66b48e6 100644 --- a/tools/eslint/node_modules/tslib/tslib.js +++ b/tools/eslint/node_modules/tslib/tslib.js @@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -/* global global, define, Symbol, Reflect, Promise, SuppressedError */ +/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */ var __extends; var __assign; var __rest; @@ -171,8 +171,8 @@ var __disposeResources; }; __generator = function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -276,7 +276,7 @@ var __disposeResources; __asyncGenerator = function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -374,17 +374,22 @@ var __disposeResources; env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } + var r, s = 0; function next() { - while (env.stack.length) { - var rec = env.stack.pop(); + while (r = env.stack.pop()) { try { - var result = rec.dispose && rec.dispose.call(rec.value); - if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; } catch (e) { fail(e); } } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); diff --git a/tools/eslint/package-lock.json b/tools/eslint/package-lock.json index 425095dfa922da..2a334377a802a1 100644 --- a/tools/eslint/package-lock.json +++ b/tools/eslint/package-lock.json @@ -8,15 +8,15 @@ "name": "eslint-tools", "version": "0.0.0", "dependencies": { - "@babel/core": "^7.24.9", - "@babel/eslint-parser": "^7.25.0", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@stylistic/eslint-plugin-js": "^2.4.0", - "eslint": "^9.8.0", + "@babel/core": "^7.25.2", + "@babel/eslint-parser": "^7.25.1", + "@babel/plugin-syntax-import-attributes": "^7.25.6", + "@stylistic/eslint-plugin-js": "^2.7.2", + "eslint": "^9.9.1", "eslint-formatter-tap": "^8.40.0", - "eslint-plugin-jsdoc": "^48.8.3", + "eslint-plugin-jsdoc": "^48.11.0", "eslint-plugin-markdown": "^5.1.0", - "globals": "^15.8.0" + "globals": "^15.9.0" } }, "node_modules/@ampproject/remapping": { @@ -46,30 +46,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.0.tgz", - "integrity": "sha512-P4fwKI2mjEb3ZU5cnMJzvRsRKGBUcs8jvxIoRmr6ufAY9Xk2Bz7JubRTTivkw55c7WQJfTECeqYVa+HZ0FzREg==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.9.tgz", - "integrity": "sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.9", - "@babel/helper-compilation-targets": "^7.24.8", - "@babel/helper-module-transforms": "^7.24.9", - "@babel/helpers": "^7.24.8", - "@babel/parser": "^7.24.8", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.8", - "@babel/types": "^7.24.9", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -85,9 +85,9 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.25.0.tgz", - "integrity": "sha512-mlcTKuQAjczDRwWLIxv+Q925jaMUO8Jl5dxmWJSSGVYfZ4rKMp8daQvVC3rM1G2v8V+/fO0yIVTSLS+2zcB8rg==", + "version": "7.25.1", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.25.1.tgz", + "integrity": "sha512-Y956ghgTT4j7rKesabkh5WeqgSFZVFwaPR0IWFm7KFHFmmJ4afbG49SmfW4S+GyRPx0Dy5jxEWA5t0rpxfElWg==", "license": "MIT", "dependencies": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", @@ -103,12 +103,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", - "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "license": "MIT", "dependencies": { - "@babel/types": "^7.25.0", + "@babel/types": "^7.25.6", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -118,12 +118,12 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.8.tgz", - "integrity": "sha512-oU+UoqCHdp+nWVDkpldqIQL/i/bvAv53tRqLG/s+cOXxe66zOYLU7ar/Xs3LdmBihrUMEUhwu6dMZwbNOYDwvw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.24.8", + "@babel/compat-data": "^7.25.2", "@babel/helper-validator-option": "^7.24.8", "browserslist": "^4.23.1", "lru-cache": "^5.1.1", @@ -147,15 +147,15 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.0.tgz", - "integrity": "sha512-bIkOa2ZJYn7FHnepzr5iX9Kmz8FjIz4UKzJ9zhX3dnYuVW0xul9RuR3skBfoLu+FPTQw90EHW9rJsSZhyLQ3fQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.24.7", "@babel/helper-simple-access": "^7.24.7", "@babel/helper-validator-identifier": "^7.24.7", - "@babel/traverse": "^7.25.0" + "@babel/traverse": "^7.25.2" }, "engines": { "node": ">=6.9.0" @@ -214,13 +214,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.0.tgz", - "integrity": "sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "license": "MIT", "dependencies": { "@babel/template": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/types": "^7.25.6" }, "engines": { "node": ">=6.9.0" @@ -242,10 +242,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.0.tgz", - "integrity": "sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", "license": "MIT", + "dependencies": { + "@babel/types": "^7.25.6" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -254,12 +257,12 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz", - "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz", + "integrity": "sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -283,16 +286,16 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.0.tgz", - "integrity": "sha512-ubALThHQy4GCf6mbb+5ZRNmLLCI7bJ3f8Q6LHBSRlSKSWj5a7dSUzJBLv3VuIhFrFPgjF4IzPF567YG/HSCdZA==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.0", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", "@babel/template": "^7.25.0", - "@babel/types": "^7.25.0", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -310,9 +313,9 @@ } }, "node_modules/@babel/types": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.0.tgz", - "integrity": "sha512-LcnxQSsd9aXOIgmmSpvZ/1yo46ra2ESYyqLcryaBZOghxy5qqOBjvCWP5JfkI8yl9rlxRgdLTTMCQQRcN2hdCg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.24.8", @@ -374,9 +377,9 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.17.1.tgz", - "integrity": "sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", + "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", "license": "Apache-2.0", "dependencies": { "@eslint/object-schema": "^2.1.4", @@ -423,9 +426,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.8.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.8.0.tgz", - "integrity": "sha512-MfluB7EUfxXtv3i/++oh89uzAr4PDI4nn201hsp+qaXqsjAWzinlZEHEfPgAX4doIlKvPG/i0A9dpKxOLII8yA==", + "version": "9.9.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.1.tgz", + "integrity": "sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==", "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -571,13 +574,12 @@ } }, "node_modules/@stylistic/eslint-plugin-js": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin-js/-/eslint-plugin-js-2.4.0.tgz", - "integrity": "sha512-ScIYDFAwNz+ELr3KfAZMuYMCUq7Q6TdEEIq4RBRR77EHucpDrwi5Kx2d0VdYxb4s4o6nOtSkJmY9MCZupDYJow==", + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin-js/-/eslint-plugin-js-2.7.2.tgz", + "integrity": "sha512-PkwTDduCY6+ILlHNEfVT3BtShrtqrDJmyW3BW53PvCb+SHu7z88iReXbN+/uCr39fcP6qH49RA7RFsKRlpyMEQ==", "license": "MIT", "dependencies": { - "@types/eslint": "^9.6.0", - "acorn": "^8.12.1", + "@types/eslint": "^9.6.1", "eslint-visitor-keys": "^4.0.0", "espree": "^10.1.0" }, @@ -601,9 +603,9 @@ } }, "node_modules/@types/eslint": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.0.tgz", - "integrity": "sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "license": "MIT", "dependencies": { "@types/estree": "*", @@ -632,9 +634,9 @@ } }, "node_modules/@types/unist": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", - "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", "license": "MIT" }, "node_modules/acorn": { @@ -727,9 +729,9 @@ } }, "node_modules/browserslist": { - "version": "4.23.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", - "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "funding": [ { "type": "opencollective", @@ -746,9 +748,9 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001640", - "electron-to-chromium": "^1.4.820", - "node-releases": "^2.0.14", + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", "update-browserslist-db": "^1.1.0" }, "bin": { @@ -917,9 +919,9 @@ "license": "MIT" }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "license": "MIT", "engines": { "node": ">=6" @@ -935,16 +937,16 @@ } }, "node_modules/eslint": { - "version": "9.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.8.0.tgz", - "integrity": "sha512-K8qnZ/QJzT2dLKdZJVX6W4XOwBzutMYmt0lqUS+JdXgd+HTYFlonFgkJ8s44d/zMPPCnOOk0kMWCApCPhiOy9A==", + "version": "9.9.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.1.tgz", + "integrity": "sha512-dHvhrbfr4xFQ9/dq+jcVneZMyRYLjggWjk6RVsIiHsP8Rz6yZ8LvZ//iU4TrZF+SXWG+JkNF2OyiZRvzgRDqMg==", "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", - "@eslint/config-array": "^0.17.1", + "@eslint/config-array": "^0.18.0", "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "9.8.0", + "@eslint/js": "9.9.1", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", @@ -983,6 +985,14 @@ }, "funding": { "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, "node_modules/eslint-formatter-tap": { @@ -998,9 +1008,9 @@ } }, "node_modules/eslint-plugin-jsdoc": { - "version": "48.8.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-48.8.3.tgz", - "integrity": "sha512-AtIvwwW9D17MRkM0Z0y3/xZYaa9mdAvJrkY6fU/HNUwGbmMtHVvK4qRM9CDixGVtfNrQitb8c6zQtdh6cTOvLg==", + "version": "48.11.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-48.11.0.tgz", + "integrity": "sha512-d12JHJDPNo7IFwTOAItCeJY1hcqoIxE0lHA8infQByLilQ9xkqrRa6laWCnsuCrf+8rUnvxXY1XuTbibRBNylA==", "license": "BSD-3-Clause", "dependencies": { "@es-joy/jsdoccomment": "~0.46.0", @@ -1008,6 +1018,7 @@ "comment-parser": "1.4.1", "debug": "^4.3.5", "escape-string-regexp": "^4.0.0", + "espree": "^10.1.0", "esquery": "^1.6.0", "parse-imports": "^2.1.1", "semver": "^7.6.3", @@ -1386,9 +1397,9 @@ } }, "node_modules/globals": { - "version": "15.8.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.8.0.tgz", - "integrity": "sha512-VZAJ4cewHTExBWDHR6yptdIBlx9YSSZuwojj9Nt5mBRXQzrKakDsVKQ1J63sklLvzAJm0X5+RpO4i3Y2hcOnFw==", + "version": "15.9.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.9.0.tgz", + "integrity": "sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==", "license": "MIT", "engines": { "node": ">=18" @@ -1407,9 +1418,9 @@ } }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "license": "MIT", "engines": { "node": ">= 4" @@ -1965,9 +1976,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.18", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", - "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", "license": "CC0-1.0" }, "node_modules/strip-ansi": { @@ -2038,9 +2049,9 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, "node_modules/type-check": { diff --git a/tools/eslint/package.json b/tools/eslint/package.json index 2eba4f66d4ae12..941f8bd34ec18a 100644 --- a/tools/eslint/package.json +++ b/tools/eslint/package.json @@ -7,14 +7,14 @@ "electron-to-chromium": "1.4.806" }, "dependencies": { - "@babel/core": "^7.24.9", - "@babel/eslint-parser": "^7.25.0", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@stylistic/eslint-plugin-js": "^2.4.0", - "eslint": "^9.8.0", + "@babel/core": "^7.25.2", + "@babel/eslint-parser": "^7.25.1", + "@babel/plugin-syntax-import-attributes": "^7.25.6", + "@stylistic/eslint-plugin-js": "^2.7.2", + "eslint": "^9.9.1", "eslint-formatter-tap": "^8.40.0", - "eslint-plugin-jsdoc": "^48.8.3", + "eslint-plugin-jsdoc": "^48.11.0", "eslint-plugin-markdown": "^5.1.0", - "globals": "^15.8.0" + "globals": "^15.9.0" } }