@start9labs/start-sdk 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/node_modules/@eslint/config-array/LICENSE +201 -0
- package/node_modules/@eslint/config-array/README.md +368 -0
- package/node_modules/@eslint/config-array/dist/cjs/index.cjs +1539 -0
- package/node_modules/@eslint/config-array/dist/cjs/index.d.cts +145 -0
- package/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs +1336 -0
- package/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs +1678 -0
- package/node_modules/@eslint/config-array/dist/cjs/types.cts +29 -0
- package/node_modules/@eslint/config-array/dist/esm/index.d.ts +145 -0
- package/node_modules/@eslint/config-array/dist/esm/index.js +1514 -0
- package/node_modules/@eslint/config-array/dist/esm/std__path/posix.js +1314 -0
- package/node_modules/@eslint/config-array/dist/esm/std__path/windows.js +1656 -0
- package/node_modules/@eslint/config-array/dist/esm/types.d.ts +23 -0
- package/node_modules/@eslint/config-array/dist/esm/types.ts +29 -0
- package/node_modules/@eslint/config-array/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/@eslint/config-array/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/@eslint/config-array/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/@eslint/config-array/node_modules/brace-expansion/package.json +50 -0
- package/node_modules/@eslint/config-array/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/@eslint/config-array/node_modules/minimatch/README.md +267 -0
- package/node_modules/@eslint/config-array/node_modules/minimatch/minimatch.js +1005 -0
- package/node_modules/@eslint/config-array/node_modules/minimatch/package.json +33 -0
- package/node_modules/@eslint/config-array/package.json +64 -0
- package/node_modules/@eslint/config-helpers/LICENSE +201 -0
- package/node_modules/@eslint/config-helpers/README.md +97 -0
- package/node_modules/@eslint/config-helpers/dist/cjs/index.cjs +588 -0
- package/node_modules/@eslint/config-helpers/dist/cjs/index.d.cts +26 -0
- package/node_modules/@eslint/config-helpers/dist/cjs/types.cts +29 -0
- package/node_modules/@eslint/config-helpers/dist/esm/index.d.ts +26 -0
- package/node_modules/@eslint/config-helpers/dist/esm/index.js +586 -0
- package/node_modules/@eslint/config-helpers/dist/esm/types.d.ts +23 -0
- package/node_modules/@eslint/config-helpers/dist/esm/types.ts +29 -0
- package/node_modules/@eslint/config-helpers/package.json +60 -0
- package/node_modules/@eslint/core/LICENSE +201 -0
- package/node_modules/@eslint/core/README.md +29 -0
- package/node_modules/@eslint/core/dist/cjs/types.d.cts +1179 -0
- package/node_modules/@eslint/core/dist/esm/types.d.ts +1179 -0
- package/node_modules/@eslint/core/package.json +49 -0
- package/node_modules/@eslint/eslintrc/LICENSE +19 -0
- package/node_modules/@eslint/eslintrc/README.md +145 -0
- package/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- package/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
- package/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1212 -0
- package/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- package/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4466 -0
- package/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- package/node_modules/@eslint/eslintrc/dist/eslintrc.d.cts +76 -0
- package/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +534 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +512 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +124 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +239 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- package/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +227 -0
- package/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1162 -0
- package/node_modules/@eslint/eslintrc/lib/flat-compat.js +329 -0
- package/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- package/node_modules/@eslint/eslintrc/lib/index.js +58 -0
- package/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- package/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- package/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +383 -0
- package/node_modules/@eslint/eslintrc/lib/shared/deep-merge-arrays.js +58 -0
- package/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- package/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- package/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +43 -0
- package/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- package/node_modules/@eslint/eslintrc/lib/types/index.d.ts +76 -0
- package/node_modules/@eslint/eslintrc/node_modules/argparse/LICENSE +254 -0
- package/node_modules/@eslint/eslintrc/node_modules/argparse/README.md +84 -0
- package/node_modules/@eslint/eslintrc/node_modules/argparse/argparse.js +3707 -0
- package/node_modules/@eslint/eslintrc/node_modules/argparse/lib/sub.js +67 -0
- package/node_modules/@eslint/eslintrc/node_modules/argparse/lib/textwrap.js +440 -0
- package/node_modules/@eslint/eslintrc/node_modules/argparse/package.json +31 -0
- package/node_modules/@eslint/eslintrc/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/@eslint/eslintrc/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/@eslint/eslintrc/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/@eslint/eslintrc/node_modules/brace-expansion/package.json +50 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/LICENSE +21 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/README.md +231 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/bin/js-yaml.js +117 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/dist/js-yaml.js +2404 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/dist/js-yaml.min.js +33 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/dist/js-yaml.mjs +2382 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/index.js +44 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/common.js +50 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/dumper.js +937 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/exception.js +51 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +37 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/loader.js +1794 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/schema/core.js +9 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/schema/default.js +20 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/schema/failsafe.js +14 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/schema/json.js +17 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/schema.js +109 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/snippet.js +96 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/binary.js +122 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/float.js +99 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/int.js +142 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/map.js +8 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/null.js +35 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/omap.js +45 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/pairs.js +50 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/set.js +29 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/str.js +8 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/lib/type.js +66 -0
- package/node_modules/@eslint/eslintrc/node_modules/js-yaml/package.json +77 -0
- package/node_modules/@eslint/eslintrc/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/@eslint/eslintrc/node_modules/minimatch/README.md +267 -0
- package/node_modules/@eslint/eslintrc/node_modules/minimatch/minimatch.js +1005 -0
- package/node_modules/@eslint/eslintrc/node_modules/minimatch/package.json +33 -0
- package/node_modules/@eslint/eslintrc/package.json +78 -0
- package/node_modules/@eslint/eslintrc/universal.js +10 -0
- package/node_modules/@eslint/js/LICENSE +19 -0
- package/node_modules/@eslint/js/README.md +103 -0
- package/node_modules/@eslint/js/package.json +36 -0
- package/node_modules/@eslint/js/src/configs/eslint-all.js +217 -0
- package/node_modules/@eslint/js/src/configs/eslint-recommended.js +79 -0
- package/node_modules/@eslint/js/src/index.js +23 -0
- package/node_modules/@eslint/js/types/index.d.ts +14 -0
- package/node_modules/@eslint/object-schema/LICENSE +201 -0
- package/node_modules/@eslint/object-schema/README.md +242 -0
- package/node_modules/@eslint/object-schema/dist/cjs/index.cjs +457 -0
- package/node_modules/@eslint/object-schema/dist/cjs/index.d.cts +125 -0
- package/node_modules/@eslint/object-schema/dist/cjs/types.cts +57 -0
- package/node_modules/@eslint/object-schema/dist/esm/index.d.ts +125 -0
- package/node_modules/@eslint/object-schema/dist/esm/index.js +454 -0
- package/node_modules/@eslint/object-schema/dist/esm/types.d.ts +40 -0
- package/node_modules/@eslint/object-schema/dist/esm/types.ts +57 -0
- package/node_modules/@eslint/object-schema/package.json +59 -0
- package/node_modules/@eslint/plugin-kit/LICENSE +201 -0
- package/node_modules/@eslint/plugin-kit/README.md +273 -0
- package/node_modules/@eslint/plugin-kit/dist/cjs/index.cjs +884 -0
- package/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts +328 -0
- package/node_modules/@eslint/plugin-kit/dist/cjs/types.cts +7 -0
- package/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts +328 -0
- package/node_modules/@eslint/plugin-kit/dist/esm/index.js +879 -0
- package/node_modules/@eslint/plugin-kit/dist/esm/types.d.ts +6 -0
- package/node_modules/@eslint/plugin-kit/dist/esm/types.ts +7 -0
- package/node_modules/@eslint/plugin-kit/package.json +61 -0
- package/node_modules/@eslint-community/eslint-utils/LICENSE +21 -0
- package/node_modules/@eslint-community/eslint-utils/README.md +37 -0
- package/node_modules/@eslint-community/eslint-utils/index.d.mts +217 -0
- package/node_modules/@eslint-community/eslint-utils/index.d.ts +217 -0
- package/node_modules/@eslint-community/eslint-utils/index.js +2620 -0
- package/node_modules/@eslint-community/eslint-utils/index.js.map +1 -0
- package/node_modules/@eslint-community/eslint-utils/index.mjs +2579 -0
- package/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/LICENSE +201 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md +105 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +384 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts +27 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/index.d.ts +16 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +12 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js +65 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.js +315 -0
- package/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/package.json +74 -0
- package/node_modules/@eslint-community/eslint-utils/package.json +89 -0
- package/node_modules/@eslint-community/regexpp/LICENSE +21 -0
- package/node_modules/@eslint-community/regexpp/README.md +177 -0
- package/node_modules/@eslint-community/regexpp/index.d.ts +1163 -0
- package/node_modules/@eslint-community/regexpp/index.js +3042 -0
- package/node_modules/@eslint-community/regexpp/index.js.map +1 -0
- package/node_modules/@eslint-community/regexpp/index.mjs +3032 -0
- package/node_modules/@eslint-community/regexpp/index.mjs.map +1 -0
- package/node_modules/@eslint-community/regexpp/package.json +91 -0
- package/node_modules/@humanfs/core/LICENSE +201 -0
- package/node_modules/@humanfs/core/README.md +140 -0
- package/node_modules/@humanfs/core/dist/errors.d.ts +64 -0
- package/node_modules/@humanfs/core/dist/fsx.d.ts +193 -0
- package/node_modules/@humanfs/core/dist/hfs.d.ts +288 -0
- package/node_modules/@humanfs/core/dist/index.d.ts +3 -0
- package/node_modules/@humanfs/core/dist/path.d.ts +82 -0
- package/node_modules/@humanfs/core/package.json +54 -0
- package/node_modules/@humanfs/core/src/errors.js +105 -0
- package/node_modules/@humanfs/core/src/hfs.js +699 -0
- package/node_modules/@humanfs/core/src/index.js +8 -0
- package/node_modules/@humanfs/core/src/path.js +237 -0
- package/node_modules/@humanfs/node/LICENSE +201 -0
- package/node_modules/@humanfs/node/README.md +141 -0
- package/node_modules/@humanfs/node/dist/index.d.ts +2 -0
- package/node_modules/@humanfs/node/dist/node-fsx.d.ts +150 -0
- package/node_modules/@humanfs/node/dist/node-hfs.d.ts +176 -0
- package/node_modules/@humanfs/node/package.json +58 -0
- package/node_modules/@humanfs/node/src/index.js +7 -0
- package/node_modules/@humanfs/node/src/node-hfs.js +460 -0
- package/node_modules/@humanfs/types/CHANGELOG.md +150 -0
- package/node_modules/@humanfs/types/README.md +13 -0
- package/node_modules/@humanfs/types/package.json +42 -0
- package/node_modules/@humanfs/types/src/hfs-types.ts +192 -0
- package/node_modules/@humanfs/types/tsconfig.json +13 -0
- package/node_modules/@humanwhocodes/module-importer/LICENSE +201 -0
- package/node_modules/@humanwhocodes/module-importer/README.md +80 -0
- package/node_modules/@humanwhocodes/module-importer/dist/module-importer.cjs +22 -0
- package/node_modules/@humanwhocodes/module-importer/dist/module-importer.d.cts +27 -0
- package/node_modules/@humanwhocodes/module-importer/dist/module-importer.d.ts +2 -0
- package/node_modules/@humanwhocodes/module-importer/dist/module-importer.js +18 -0
- package/node_modules/@humanwhocodes/module-importer/package.json +65 -0
- package/node_modules/@humanwhocodes/module-importer/src/module-importer.cjs +81 -0
- package/node_modules/@humanwhocodes/module-importer/src/module-importer.js +22 -0
- package/node_modules/@humanwhocodes/retry/LICENSE +201 -0
- package/node_modules/@humanwhocodes/retry/README.md +177 -0
- package/node_modules/@humanwhocodes/retry/dist/retrier.cjs +478 -0
- package/node_modules/@humanwhocodes/retry/dist/retrier.d.cts +46 -0
- package/node_modules/@humanwhocodes/retry/dist/retrier.d.ts +46 -0
- package/node_modules/@humanwhocodes/retry/dist/retrier.js +477 -0
- package/node_modules/@humanwhocodes/retry/dist/retrier.min.js +1 -0
- package/node_modules/@humanwhocodes/retry/dist/retrier.mjs +476 -0
- package/node_modules/@humanwhocodes/retry/package.json +77 -0
- package/node_modules/@start9labs/start-core/interfaces/Host.js +1 -1
- package/node_modules/@start9labs/start-core/osBindings/AddPublicDomainRes.d.ts +4 -1
- package/node_modules/@start9labs/start-core/osBindings/BindingSetGuaWanParams.d.ts +6 -0
- package/node_modules/@start9labs/start-core/osBindings/BindingSetGuaWanParams.js +3 -0
- package/node_modules/@start9labs/start-core/osBindings/BindingSetGuaWanParams.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/CheckPortV6Res.d.ts +10 -0
- package/node_modules/@start9labs/start-core/osBindings/CheckPortV6Res.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/CheckPortV6Res.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/DerivedAddressInfo.d.ts +5 -6
- package/node_modules/@start9labs/start-core/osBindings/NetworkInterfaceInfo.d.ts +1 -1
- package/node_modules/@start9labs/start-core/osBindings/QueryDnsRes.d.ts +9 -0
- package/node_modules/@start9labs/start-core/osBindings/QueryDnsRes.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/QueryDnsRes.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/index.d.ts +29 -28
- package/node_modules/@start9labs/start-core/osBindings/index.js.map +1 -1
- package/node_modules/@start9labs/start-core/osBindings/tunnel/AddPinholeParams.d.ts +21 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/AddPinholeParams.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/AddPinholeParams.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/HttpRedirectStatus.d.ts +12 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/HttpRedirectStatus.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/HttpRedirectStatus.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/HttpRedirects.d.ts +9 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/HttpRedirects.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/HttpRedirects.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/NetworkInterfaceInfo.d.ts +1 -1
- package/node_modules/@start9labs/start-core/osBindings/tunnel/Pinhole.d.ts +24 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/Pinhole.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/Pinhole.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/Pinholes6.d.ts +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/Pinholes6.js +3 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/Pinholes6.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/RemovePinholeParams.d.ts +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/RemovePinholeParams.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/RemovePinholeParams.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetHttpRedirectEnabledParams.d.ts +7 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetHttpRedirectEnabledParams.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetHttpRedirectEnabledParams.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetPinholeEnabledParams.d.ts +5 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetPinholeEnabledParams.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetPinholeEnabledParams.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetSubnetIpv6Params.d.ts +8 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetSubnetIpv6Params.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetSubnetIpv6Params.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/ShowConfigParams.d.ts +0 -1
- package/node_modules/@start9labs/start-core/osBindings/tunnel/TunnelDatabase.d.ts +9 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/UpdatePinholeLabelParams.d.ts +5 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/UpdatePinholeLabelParams.js +4 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/UpdatePinholeLabelParams.js.map +1 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/WgServer.d.ts +0 -6
- package/node_modules/@start9labs/start-core/osBindings/tunnel/WgSubnetConfig.d.ts +6 -0
- package/node_modules/@start9labs/start-core/osBindings/tunnel/index.d.ts +12 -3
- package/node_modules/@start9labs/start-core/package.json +3 -1
- package/node_modules/@start9labs/start-core/util/ip.d.ts +9 -0
- package/node_modules/@start9labs/start-core/util/ip.js +50 -32
- package/node_modules/@start9labs/start-core/util/ip.js.map +1 -1
- package/node_modules/@types/estree/LICENSE +21 -0
- package/node_modules/@types/estree/README.md +15 -0
- package/node_modules/@types/estree/flow.d.ts +167 -0
- package/node_modules/@types/estree/index.d.ts +694 -0
- package/node_modules/@types/estree/package.json +27 -0
- package/node_modules/@types/json-schema/LICENSE +21 -0
- package/node_modules/@types/json-schema/README.md +15 -0
- package/node_modules/@types/json-schema/index.d.ts +749 -0
- package/node_modules/@types/json-schema/package.json +40 -0
- package/node_modules/@typescript-eslint/eslint-plugin/LICENSE +21 -0
- package/node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js +46 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.d.ts +159 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js +165 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.d.ts +8 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.d.ts +71 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.js +73 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/eslint-recommended.js +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.d.ts +33 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked-only.js +39 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.d.ts +56 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended-type-checked.js +62 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.d.ts +29 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/recommended.js +35 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.d.ts +64 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked-only.js +79 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.d.ts +98 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict-type-checked.js +114 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.d.ts +40 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/strict.js +47 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked-only.js +21 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.d.ts +29 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic-type-checked.js +35 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.d.ts +20 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/stylistic.js +26 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/all.js +179 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.d.ts +8 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/base.js +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/disable-type-checked.js +81 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/eslint-recommended.js +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked-only.js +53 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended-type-checked.js +76 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/recommended.js +49 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked-only.js +93 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict-type-checked.js +128 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/strict.js +61 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked-only.js +35 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic-type-checked.js +49 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/flat/stylistic.js +40 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.d.ts +1128 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.d.ts +1152 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js +122 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +124 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +224 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +228 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.d.ts +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +195 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +53 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +160 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-methods-use-this.js +219 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +126 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +256 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.d.ts +18 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-return.js +135 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +256 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +100 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +335 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +608 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +68 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.d.ts +23 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +139 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.d.ts +36 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +121 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.d.ts +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +179 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.d.ts +19 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +299 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +386 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.d.ts +448 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +275 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +105 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.d.ts +25 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/max-params.js +72 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.d.ts +33 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +833 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +186 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.d.ts +79 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/enums.js +102 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +89 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/index.js +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +69 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +305 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.d.ts +39 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +349 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.d.ts +8 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +506 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +62 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-delete.js +80 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +322 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +142 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +357 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js +404 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +39 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +83 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +227 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +42 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +134 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +102 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-object-type.js +143 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +197 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +35 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +121 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +377 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +86 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +152 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +53 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +182 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +75 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +210 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +187 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +35 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.d.ts +29 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +249 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +102 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +81 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.d.ts +21 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +765 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js +260 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +200 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +60 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +73 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +65 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +93 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +199 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +431 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +115 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +243 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +171 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +551 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +66 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.d.ts +18 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +268 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +261 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +689 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-parameter-property-assignment.js +148 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +156 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +361 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +202 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +745 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +119 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-conversion.js +356 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +422 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +272 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +322 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +136 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +54 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +192 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-function-type.js +45 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +183 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +184 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-type-assertion.js +165 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-unary-minus.js +78 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.d.ts +19 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +64 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-private-class-members.js +44 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.d.ts +24 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1035 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +303 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +57 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-default-assignment.js +321 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +70 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +83 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-wrapper-object-types.js +60 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +132 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/only-throw-error.js +158 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +164 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +72 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.d.ts +19 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-destructuring.js +216 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +62 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-find.js +247 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +115 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +186 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +242 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +116 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +42 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.d.ts +22 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +647 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +612 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/checkNullishAndReport.js +45 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/compareNodes.js +326 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.d.ts +61 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/gatherLogicalOperands.js +411 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +150 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-promise-reject-errors.js +124 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +98 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +439 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +114 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +182 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +154 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +512 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +71 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +204 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/related-getter-setter-pairs.js +71 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +63 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.d.ts +4 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +263 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +231 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.d.ts +19 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +119 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +363 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.d.ts +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +272 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.d.ts +19 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +882 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.d.ts +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-void-return.js +377 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.d.ts +33 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +291 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +110 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +239 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +334 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +465 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +261 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.d.ts +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/assertionFunctionUtils.js +116 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.d.ts +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +143 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/baseTypeUtils.js +75 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.d.ts +52 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/classScopeAnalyzer.js +566 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.d.ts +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/extractComputedName.js +70 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/class-scope-analyzer/types.js +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.d.ts +15 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +601 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/createRule.js +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.d.ts +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.d.ts +47 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js +238 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getBaseTypesOfClassMember.js +31 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.d.ts +35 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getConstraintInfo.js +70 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.d.ts +27 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.d.ts +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFixOrSuggest.js +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.d.ts +17 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getForStatementHeadLoc.js +26 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.d.ts +101 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js +161 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.d.ts +36 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getMemberHeadLoc.js +79 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.d.ts +39 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +421 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getParentFunctionNode.js +18 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStaticStringValue.js +44 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.d.ts +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +14 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getTextWithParentheses.js +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js +24 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getValueOfLiteralType.js +16 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappedCode.js +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.d.ts +42 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js +184 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.d.ts +6 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/hasOverloadSignatures.js +47 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.d.ts +40 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +53 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isArrayMethodCallWithPredicate.js +64 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isAssignee.js +50 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isHigherPrecedenceThanAwait.js +46 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js +25 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isPromiseAggregatorMethod.js +22 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js +22 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.d.ts +12 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isTypeImport.js +21 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.d.ts +115 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +270 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.d.ts +11 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js +97 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsToBeAwaited.js +63 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +25 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.d.ts +27 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/promiseUtils.js +98 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/rangeToLoc.js +9 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypePredicate.js +18 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.d.ts +5 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/referenceContainsTypeQuery.js +19 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/scopeUtils.js +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/skipChainExpression.js +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.d.ts +3 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/truthinessUtils.js +60 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.d.ts +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/types.js +2 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.d.ts +7 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/walkStatements.js +56 -0
- package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +13 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/README.md +452 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.d.ts +81 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/index.js +784 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/legacy.js +681 -0
- package/node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore/package.json +87 -0
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +126 -0
- package/node_modules/@typescript-eslint/eslint-plugin/raw-plugin.d.ts +25 -0
- package/node_modules/@typescript-eslint/eslint-plugin/rules.d.ts +87 -0
- package/node_modules/@typescript-eslint/parser/LICENSE +21 -0
- package/node_modules/@typescript-eslint/parser/README.md +12 -0
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts +7 -0
- package/node_modules/@typescript-eslint/parser/dist/index.js +17 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +22 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js +144 -0
- package/node_modules/@typescript-eslint/parser/package.json +86 -0
- package/node_modules/@typescript-eslint/project-service/LICENSE +21 -0
- package/node_modules/@typescript-eslint/project-service/README.md +12 -0
- package/node_modules/@typescript-eslint/project-service/dist/createProjectService.d.ts +65 -0
- package/node_modules/@typescript-eslint/project-service/dist/createProjectService.js +138 -0
- package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.d.ts +2 -0
- package/node_modules/@typescript-eslint/project-service/dist/getParsedConfigFileFromTSServer.js +15 -0
- package/node_modules/@typescript-eslint/project-service/dist/index.d.ts +1 -0
- package/node_modules/@typescript-eslint/project-service/dist/index.js +17 -0
- package/node_modules/@typescript-eslint/project-service/package.json +83 -0
- package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
- package/node_modules/@typescript-eslint/scope-manager/README.md +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +77 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +189 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +53 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +41 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +29 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.js +25 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/decorators.legacy.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.asynciterable.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1812 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +62 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +32 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +47 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.arraybuffer.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.date.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.regexp.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.array.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.collection.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2023.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.arraybuffer.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.collection.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.js +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.promise.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.regexp.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.sharedmemory.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2024.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.collection.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.float16.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.intl.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.iterator.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2025.regexp.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +118 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +32 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.collection.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.date.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.decorators.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.disposable.js +27 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.error.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.float16.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.iterator.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.regexp.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.temporal.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.typedarrays.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +247 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.asynciterable.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +842 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +27 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +178 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +71 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +36 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +27 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +94 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +87 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +119 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +91 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +558 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +31 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +221 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +29 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +67 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +5 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +35 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +60 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +96 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +308 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +8 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +35 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +32 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +35 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +27 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +32 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +42 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +47 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +9 -0
- package/node_modules/@typescript-eslint/scope-manager/package.json +82 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/LICENSE +21 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/README.md +12 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.d.ts +8 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/compilerOptions.js +13 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.d.ts +8 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/getParsedConfigFile.js +79 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/dist/index.js +18 -0
- package/node_modules/@typescript-eslint/tsconfig-utils/package.json +74 -0
- package/node_modules/@typescript-eslint/type-utils/LICENSE +21 -0
- package/node_modules/@typescript-eslint/type-utils/README.md +12 -0
- package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.d.ts +132 -0
- package/node_modules/@typescript-eslint/type-utils/dist/TypeOrValueSpecifier.js +212 -0
- package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.d.ts +53 -0
- package/node_modules/@typescript-eslint/type-utils/dist/builtinSymbolLikes.js +165 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts +9 -0
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +69 -0
- package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.d.ts +12 -0
- package/node_modules/@typescript-eslint/type-utils/dist/discriminateAnyType.js +77 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +12 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.js +19 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.d.ts +7 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +76 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.js +14 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.d.ts +6 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +47 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.d.ts +7 -0
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +84 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +18 -0
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +38 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.d.ts +2 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isSymbolFromDefaultLibrary.js +16 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.d.ts +2 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeBrandedLiteralLike.js +74 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts +100 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +255 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +16 -0
- package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js +114 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +37 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +157 -0
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +35 -0
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.d.ts +3 -0
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +52 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.d.ts +17 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +70 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.d.ts +2 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/specifierNameMatches.js +16 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.d.ts +2 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +16 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.d.ts +2 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +11 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.d.ts +2 -0
- package/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +70 -0
- package/node_modules/@typescript-eslint/type-utils/package.json +85 -0
- package/node_modules/@typescript-eslint/types/LICENSE +21 -0
- package/node_modules/@typescript-eslint/types/README.md +12 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +2163 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +200 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/types/dist/index.js +23 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js +6 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +68 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +2 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +188 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +37 -0
- package/node_modules/@typescript-eslint/types/package.json +103 -0
- package/node_modules/@typescript-eslint/typescript-estree/LICENSE +21 -0
- package/node_modules/@typescript-eslint/typescript-estree/README.md +14 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +60 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-modifiers.js +289 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/check-syntax-errors.js +440 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js +27 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +61 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +142 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2400 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +96 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +23 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js +74 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +62 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +30 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +80 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +380 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +27 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +130 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +81 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/validateDefaultProjectForFilesGlob.js +23 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/createParserServices.js +33 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +74 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +14 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +41 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +258 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +189 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +673 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.d.ts +16 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/ExpiringCache.js +46 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/candidateTSConfigRootDirs.js +28 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +252 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +82 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.d.ts +126 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/index.js +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.d.ts +14 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +62 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.d.ts +18 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/resolveProjectList.js +95 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.d.ts +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/warnAboutTSVersion.js +81 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +210 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +17 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +184 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +94 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +58 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/source-files.js +49 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +178 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +24 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +17 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.d.ts +7 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/use-at-your-own-risk.js +29 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.d.ts +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/useProgramFromProjectService.js +205 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +63 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version.d.ts +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version.js +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/withoutProjectParserOptions.js +16 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/LICENSE.md +23 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/README.md +57 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match/package.json +68 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/LICENSE +23 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/README.md +94 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/commonjs/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/commonjs/index.js +201 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/esm/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/esm/index.js +197 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/package.json +64 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/LICENSE.md +55 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/README.md +528 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/package.json +73 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/LICENSE +15 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/README.md +680 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/index.js +7 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/range.js +564 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/major.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/index.js +93 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/internal/re.js +223 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/package.json +78 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/preload.js +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/range.bnf +17 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/package.json +95 -0
- package/node_modules/@typescript-eslint/utils/LICENSE +21 -0
- package/node_modules/@typescript-eslint/utils/README.md +12 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +47 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +44 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +71 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +48 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +83 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +101 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.d.ts +5 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +21 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +31 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +59 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +16 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +51 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +18 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +21 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +20 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +10 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js +15 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +68 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +108 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +9 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +32 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +54 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.d.ts +8 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/applyDefault.js +33 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.d.ts +14 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/deepMerge.js +46 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +22 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +41 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +22 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.d.ts +12 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/nullThrows.js +21 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.d.ts +1 -0
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/parserSeemsToBeTSESLint.js +6 -0
- package/node_modules/@typescript-eslint/utils/dist/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/utils/dist/index.js +45 -0
- package/node_modules/@typescript-eslint/utils/dist/json-schema.d.ts +387 -0
- package/node_modules/@typescript-eslint/utils/dist/json-schema.js +8 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts +8 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.js +3 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.d.ts +291 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Config.js +3 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +7 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js +13 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +255 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js +13 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.d.ts +94 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Parser.js +3 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.d.ts +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ParserOptions.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.d.ts +63 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Processor.js +3 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +614 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +183 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js +11 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +42 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +43 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +354 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js +8 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.d.ts +381 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/ESLintShared.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.d.ts +87 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js +19 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.d.ts +72 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/eslint/LegacyESLint.js +36 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.d.ts +11 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +27 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-estree.d.ts +3 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-estree.js +9 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.d.ts +9 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/NoInfer.js +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/index.js +18 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.d.ts +1 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-utils/isArray.js +7 -0
- package/node_modules/@typescript-eslint/utils/package.json +115 -0
- package/node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
- package/node_modules/@typescript-eslint/visitor-keys/README.md +10 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +2 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +5 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +7 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +2 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +194 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/LICENSE +201 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/README.md +123 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +187 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts +28 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/dist/index.d.ts +16 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +12 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/lib/index.js +67 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/lib/visitor-keys.js +118 -0
- package/node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys/package.json +57 -0
- package/node_modules/@typescript-eslint/visitor-keys/package.json +76 -0
- package/node_modules/acorn/CHANGELOG.md +972 -0
- package/node_modules/acorn/LICENSE +21 -0
- package/node_modules/acorn/README.md +301 -0
- package/node_modules/acorn/bin/acorn +4 -0
- package/node_modules/acorn/dist/acorn.d.mts +883 -0
- package/node_modules/acorn/dist/acorn.d.ts +883 -0
- package/node_modules/acorn/dist/acorn.js +6295 -0
- package/node_modules/acorn/dist/acorn.mjs +6266 -0
- package/node_modules/acorn/dist/bin.js +90 -0
- package/node_modules/acorn/package.json +50 -0
- package/node_modules/acorn-jsx/LICENSE +19 -0
- package/node_modules/acorn-jsx/README.md +40 -0
- package/node_modules/acorn-jsx/index.d.ts +12 -0
- package/node_modules/acorn-jsx/index.js +488 -0
- package/node_modules/acorn-jsx/package.json +27 -0
- package/node_modules/acorn-jsx/xhtml.js +255 -0
- package/node_modules/ajv/.tonic_example.js +20 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +1505 -0
- package/node_modules/ajv/dist/ajv.bundle.js +7201 -0
- package/node_modules/ajv/dist/ajv.min.js +3 -0
- package/node_modules/ajv/dist/ajv.min.js.map +1 -0
- package/node_modules/ajv/lib/ajv.d.ts +402 -0
- package/node_modules/ajv/lib/ajv.js +506 -0
- package/node_modules/ajv/lib/cache.js +26 -0
- package/node_modules/ajv/lib/compile/async.js +90 -0
- package/node_modules/ajv/lib/compile/equal.js +5 -0
- package/node_modules/ajv/lib/compile/error_classes.js +34 -0
- package/node_modules/ajv/lib/compile/formats.js +142 -0
- package/node_modules/ajv/lib/compile/index.js +389 -0
- package/node_modules/ajv/lib/compile/resolve.js +270 -0
- package/node_modules/ajv/lib/compile/rules.js +66 -0
- package/node_modules/ajv/lib/compile/schema_obj.js +9 -0
- package/node_modules/ajv/lib/compile/ucs2length.js +20 -0
- package/node_modules/ajv/lib/compile/util.js +239 -0
- package/node_modules/ajv/lib/data.js +49 -0
- package/node_modules/ajv/lib/definition_schema.js +37 -0
- package/node_modules/ajv/lib/dot/_limit.jst +113 -0
- package/node_modules/ajv/lib/dot/_limitItems.jst +12 -0
- package/node_modules/ajv/lib/dot/_limitLength.jst +12 -0
- package/node_modules/ajv/lib/dot/_limitProperties.jst +12 -0
- package/node_modules/ajv/lib/dot/allOf.jst +32 -0
- package/node_modules/ajv/lib/dot/anyOf.jst +46 -0
- package/node_modules/ajv/lib/dot/coerce.def +51 -0
- package/node_modules/ajv/lib/dot/comment.jst +9 -0
- package/node_modules/ajv/lib/dot/const.jst +11 -0
- package/node_modules/ajv/lib/dot/contains.jst +55 -0
- package/node_modules/ajv/lib/dot/custom.jst +191 -0
- package/node_modules/ajv/lib/dot/defaults.def +47 -0
- package/node_modules/ajv/lib/dot/definitions.def +203 -0
- package/node_modules/ajv/lib/dot/dependencies.jst +79 -0
- package/node_modules/ajv/lib/dot/enum.jst +30 -0
- package/node_modules/ajv/lib/dot/errors.def +194 -0
- package/node_modules/ajv/lib/dot/format.jst +106 -0
- package/node_modules/ajv/lib/dot/if.jst +73 -0
- package/node_modules/ajv/lib/dot/items.jst +98 -0
- package/node_modules/ajv/lib/dot/missing.def +39 -0
- package/node_modules/ajv/lib/dot/multipleOf.jst +22 -0
- package/node_modules/ajv/lib/dot/not.jst +43 -0
- package/node_modules/ajv/lib/dot/oneOf.jst +54 -0
- package/node_modules/ajv/lib/dot/pattern.jst +25 -0
- package/node_modules/ajv/lib/dot/properties.jst +245 -0
- package/node_modules/ajv/lib/dot/propertyNames.jst +52 -0
- package/node_modules/ajv/lib/dot/ref.jst +85 -0
- package/node_modules/ajv/lib/dot/required.jst +108 -0
- package/node_modules/ajv/lib/dot/uniqueItems.jst +62 -0
- package/node_modules/ajv/lib/dot/validate.jst +276 -0
- package/node_modules/ajv/lib/dotjs/README.md +3 -0
- package/node_modules/ajv/lib/dotjs/_limit.js +163 -0
- package/node_modules/ajv/lib/dotjs/_limitItems.js +80 -0
- package/node_modules/ajv/lib/dotjs/_limitLength.js +85 -0
- package/node_modules/ajv/lib/dotjs/_limitProperties.js +80 -0
- package/node_modules/ajv/lib/dotjs/allOf.js +42 -0
- package/node_modules/ajv/lib/dotjs/anyOf.js +73 -0
- package/node_modules/ajv/lib/dotjs/comment.js +14 -0
- package/node_modules/ajv/lib/dotjs/const.js +56 -0
- package/node_modules/ajv/lib/dotjs/contains.js +81 -0
- package/node_modules/ajv/lib/dotjs/custom.js +228 -0
- package/node_modules/ajv/lib/dotjs/dependencies.js +168 -0
- package/node_modules/ajv/lib/dotjs/enum.js +66 -0
- package/node_modules/ajv/lib/dotjs/format.js +150 -0
- package/node_modules/ajv/lib/dotjs/if.js +103 -0
- package/node_modules/ajv/lib/dotjs/index.js +33 -0
- package/node_modules/ajv/lib/dotjs/items.js +140 -0
- package/node_modules/ajv/lib/dotjs/multipleOf.js +80 -0
- package/node_modules/ajv/lib/dotjs/not.js +84 -0
- package/node_modules/ajv/lib/dotjs/oneOf.js +73 -0
- package/node_modules/ajv/lib/dotjs/pattern.js +85 -0
- package/node_modules/ajv/lib/dotjs/properties.js +335 -0
- package/node_modules/ajv/lib/dotjs/propertyNames.js +81 -0
- package/node_modules/ajv/lib/dotjs/ref.js +124 -0
- package/node_modules/ajv/lib/dotjs/required.js +270 -0
- package/node_modules/ajv/lib/dotjs/uniqueItems.js +86 -0
- package/node_modules/ajv/lib/dotjs/validate.js +482 -0
- package/node_modules/ajv/lib/keyword.js +146 -0
- package/node_modules/ajv/lib/refs/data.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-04.json +149 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +154 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +168 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +94 -0
- package/node_modules/ajv/package.json +107 -0
- package/node_modules/ajv/scripts/.eslintrc.yml +3 -0
- package/node_modules/ajv/scripts/bundle.js +61 -0
- package/node_modules/ajv/scripts/compile-dots.js +73 -0
- package/node_modules/ajv/scripts/info +10 -0
- package/node_modules/ajv/scripts/prepare-tests +12 -0
- package/node_modules/ajv/scripts/publish-built-version +32 -0
- package/node_modules/ajv/scripts/travis-gh-pages +23 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +97 -0
- package/node_modules/balanced-match/index.js +62 -0
- package/node_modules/balanced-match/package.json +48 -0
- package/node_modules/callsites/index.d.ts +96 -0
- package/node_modules/callsites/index.js +13 -0
- package/node_modules/callsites/license +9 -0
- package/node_modules/callsites/package.json +39 -0
- package/node_modules/callsites/readme.md +48 -0
- package/node_modules/chalk/index.d.ts +415 -0
- package/node_modules/chalk/license +9 -0
- package/node_modules/chalk/package.json +68 -0
- package/node_modules/chalk/readme.md +341 -0
- package/node_modules/chalk/source/index.js +229 -0
- package/node_modules/chalk/source/templates.js +134 -0
- package/node_modules/chalk/source/util.js +39 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/concat-map/index.js +13 -0
- package/node_modules/concat-map/package.json +43 -0
- package/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +89 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/deep-is/.travis.yml +5 -0
- package/node_modules/deep-is/LICENSE +22 -0
- package/node_modules/deep-is/README.markdown +70 -0
- package/node_modules/deep-is/example/cmp.js +11 -0
- package/node_modules/deep-is/index.js +102 -0
- package/node_modules/deep-is/package.json +58 -0
- package/node_modules/deep-is/test/NaN.js +16 -0
- package/node_modules/deep-is/test/cmp.js +23 -0
- package/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- package/node_modules/eslint/LICENSE +19 -0
- package/node_modules/eslint/README.md +354 -0
- package/node_modules/eslint/bin/eslint.js +196 -0
- package/node_modules/eslint/conf/default-cli-options.js +32 -0
- package/node_modules/eslint/conf/ecma-version.js +16 -0
- package/node_modules/eslint/conf/globals.js +169 -0
- package/node_modules/eslint/conf/replacements.json +26 -0
- package/node_modules/eslint/conf/rule-type-list.json +91 -0
- package/node_modules/eslint/lib/api.js +50 -0
- package/node_modules/eslint/lib/cli-engine/cli-engine.js +1109 -0
- package/node_modules/eslint/lib/cli-engine/file-enumerator.js +541 -0
- package/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +18 -0
- package/node_modules/eslint/lib/cli-engine/formatters/html.js +359 -0
- package/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- package/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- package/node_modules/eslint/lib/cli-engine/formatters/stylish.js +122 -0
- package/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- package/node_modules/eslint/lib/cli-engine/index.js +7 -0
- package/node_modules/eslint/lib/cli-engine/lint-result-cache.js +220 -0
- package/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- package/node_modules/eslint/lib/cli.js +553 -0
- package/node_modules/eslint/lib/config/config-loader.js +816 -0
- package/node_modules/eslint/lib/config/config.js +674 -0
- package/node_modules/eslint/lib/config/default-config.js +78 -0
- package/node_modules/eslint/lib/config/flat-config-array.js +217 -0
- package/node_modules/eslint/lib/config/flat-config-schema.js +598 -0
- package/node_modules/eslint/lib/config-api.js +12 -0
- package/node_modules/eslint/lib/eslint/eslint-helpers.js +1465 -0
- package/node_modules/eslint/lib/eslint/eslint.js +1362 -0
- package/node_modules/eslint/lib/eslint/index.js +9 -0
- package/node_modules/eslint/lib/eslint/legacy-eslint.js +786 -0
- package/node_modules/eslint/lib/eslint/worker.js +173 -0
- package/node_modules/eslint/lib/languages/js/index.js +336 -0
- package/node_modules/eslint/lib/languages/js/source-code/index.js +7 -0
- package/node_modules/eslint/lib/languages/js/source-code/source-code.js +1364 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/backward-token-comment-cursor.js +61 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/backward-token-cursor.js +57 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/cursor.js +76 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/cursors.js +120 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/decorative-cursor.js +38 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/filter-cursor.js +42 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/forward-token-comment-cursor.js +65 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/forward-token-cursor.js +62 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/index.js +721 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/limit-cursor.js +39 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/padded-token-cursor.js +45 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/skip-cursor.js +41 -0
- package/node_modules/eslint/lib/languages/js/source-code/token-store/utils.js +110 -0
- package/node_modules/eslint/lib/languages/js/validate-language-options.js +196 -0
- package/node_modules/eslint/lib/linter/apply-disable-directives.js +584 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +828 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +262 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +2370 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +332 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +223 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +374 -0
- package/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +44 -0
- package/node_modules/eslint/lib/linter/esquery.js +332 -0
- package/node_modules/eslint/lib/linter/file-context.js +144 -0
- package/node_modules/eslint/lib/linter/file-report.js +608 -0
- package/node_modules/eslint/lib/linter/index.js +11 -0
- package/node_modules/eslint/lib/linter/interpolate.js +50 -0
- package/node_modules/eslint/lib/linter/linter.js +2676 -0
- package/node_modules/eslint/lib/linter/rule-fixer.js +169 -0
- package/node_modules/eslint/lib/linter/rules.js +71 -0
- package/node_modules/eslint/lib/linter/source-code-fixer.js +154 -0
- package/node_modules/eslint/lib/linter/source-code-traverser.js +333 -0
- package/node_modules/eslint/lib/linter/source-code-visitor.js +81 -0
- package/node_modules/eslint/lib/linter/timing.js +209 -0
- package/node_modules/eslint/lib/linter/vfile.js +115 -0
- package/node_modules/eslint/lib/options.js +536 -0
- package/node_modules/eslint/lib/rule-tester/index.js +7 -0
- package/node_modules/eslint/lib/rule-tester/rule-tester.js +1579 -0
- package/node_modules/eslint/lib/rules/accessor-pairs.js +420 -0
- package/node_modules/eslint/lib/rules/array-bracket-newline.js +291 -0
- package/node_modules/eslint/lib/rules/array-bracket-spacing.js +301 -0
- package/node_modules/eslint/lib/rules/array-callback-return.js +493 -0
- package/node_modules/eslint/lib/rules/array-element-newline.js +374 -0
- package/node_modules/eslint/lib/rules/arrow-body-style.js +418 -0
- package/node_modules/eslint/lib/rules/arrow-parens.js +237 -0
- package/node_modules/eslint/lib/rules/arrow-spacing.js +188 -0
- package/node_modules/eslint/lib/rules/block-scoped-var.js +137 -0
- package/node_modules/eslint/lib/rules/block-spacing.js +202 -0
- package/node_modules/eslint/lib/rules/brace-style.js +278 -0
- package/node_modules/eslint/lib/rules/callback-return.js +216 -0
- package/node_modules/eslint/lib/rules/camelcase.js +422 -0
- package/node_modules/eslint/lib/rules/capitalized-comments.js +325 -0
- package/node_modules/eslint/lib/rules/class-methods-use-this.js +250 -0
- package/node_modules/eslint/lib/rules/comma-dangle.js +424 -0
- package/node_modules/eslint/lib/rules/comma-spacing.js +208 -0
- package/node_modules/eslint/lib/rules/comma-style.js +391 -0
- package/node_modules/eslint/lib/rules/complexity.js +201 -0
- package/node_modules/eslint/lib/rules/computed-property-spacing.js +251 -0
- package/node_modules/eslint/lib/rules/consistent-return.js +221 -0
- package/node_modules/eslint/lib/rules/consistent-this.js +179 -0
- package/node_modules/eslint/lib/rules/constructor-super.js +453 -0
- package/node_modules/eslint/lib/rules/curly.js +425 -0
- package/node_modules/eslint/lib/rules/default-case-last.js +51 -0
- package/node_modules/eslint/lib/rules/default-case.js +103 -0
- package/node_modules/eslint/lib/rules/default-param-last.js +78 -0
- package/node_modules/eslint/lib/rules/dot-location.js +138 -0
- package/node_modules/eslint/lib/rules/dot-notation.js +216 -0
- package/node_modules/eslint/lib/rules/eol-last.js +135 -0
- package/node_modules/eslint/lib/rules/eqeqeq.js +210 -0
- package/node_modules/eslint/lib/rules/for-direction.js +168 -0
- package/node_modules/eslint/lib/rules/func-call-spacing.js +281 -0
- package/node_modules/eslint/lib/rules/func-name-matching.js +338 -0
- package/node_modules/eslint/lib/rules/func-names.js +192 -0
- package/node_modules/eslint/lib/rules/func-style.js +221 -0
- package/node_modules/eslint/lib/rules/function-call-argument-newline.js +166 -0
- package/node_modules/eslint/lib/rules/function-paren-newline.js +368 -0
- package/node_modules/eslint/lib/rules/generator-star-spacing.js +246 -0
- package/node_modules/eslint/lib/rules/getter-return.js +242 -0
- package/node_modules/eslint/lib/rules/global-require.js +117 -0
- package/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +268 -0
- package/node_modules/eslint/lib/rules/guard-for-in.js +85 -0
- package/node_modules/eslint/lib/rules/handle-callback-err.js +122 -0
- package/node_modules/eslint/lib/rules/id-blacklist.js +241 -0
- package/node_modules/eslint/lib/rules/id-denylist.js +223 -0
- package/node_modules/eslint/lib/rules/id-length.js +217 -0
- package/node_modules/eslint/lib/rules/id-match.js +363 -0
- package/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +125 -0
- package/node_modules/eslint/lib/rules/indent-legacy.js +1369 -0
- package/node_modules/eslint/lib/rules/indent.js +2334 -0
- package/node_modules/eslint/lib/rules/index.js +332 -0
- package/node_modules/eslint/lib/rules/init-declarations.js +172 -0
- package/node_modules/eslint/lib/rules/jsx-quotes.js +128 -0
- package/node_modules/eslint/lib/rules/key-spacing.js +822 -0
- package/node_modules/eslint/lib/rules/keyword-spacing.js +701 -0
- package/node_modules/eslint/lib/rules/line-comment-position.js +157 -0
- package/node_modules/eslint/lib/rules/linebreak-style.js +135 -0
- package/node_modules/eslint/lib/rules/lines-around-comment.js +581 -0
- package/node_modules/eslint/lib/rules/lines-around-directive.js +249 -0
- package/node_modules/eslint/lib/rules/lines-between-class-members.js +358 -0
- package/node_modules/eslint/lib/rules/logical-assignment-operators.js +688 -0
- package/node_modules/eslint/lib/rules/max-classes-per-file.js +90 -0
- package/node_modules/eslint/lib/rules/max-depth.js +159 -0
- package/node_modules/eslint/lib/rules/max-len.js +497 -0
- package/node_modules/eslint/lib/rules/max-lines-per-function.js +238 -0
- package/node_modules/eslint/lib/rules/max-lines.js +189 -0
- package/node_modules/eslint/lib/rules/max-nested-callbacks.js +115 -0
- package/node_modules/eslint/lib/rules/max-params.js +129 -0
- package/node_modules/eslint/lib/rules/max-statements-per-line.js +224 -0
- package/node_modules/eslint/lib/rules/max-statements.js +188 -0
- package/node_modules/eslint/lib/rules/multiline-comment-style.js +652 -0
- package/node_modules/eslint/lib/rules/multiline-ternary.js +257 -0
- package/node_modules/eslint/lib/rules/new-cap.js +277 -0
- package/node_modules/eslint/lib/rules/new-parens.js +120 -0
- package/node_modules/eslint/lib/rules/newline-after-var.js +307 -0
- package/node_modules/eslint/lib/rules/newline-before-return.js +242 -0
- package/node_modules/eslint/lib/rules/newline-per-chained-call.js +159 -0
- package/node_modules/eslint/lib/rules/no-alert.js +149 -0
- package/node_modules/eslint/lib/rules/no-array-constructor.js +195 -0
- package/node_modules/eslint/lib/rules/no-async-promise-executor.js +45 -0
- package/node_modules/eslint/lib/rules/no-await-in-loop.js +115 -0
- package/node_modules/eslint/lib/rules/no-bitwise.js +145 -0
- package/node_modules/eslint/lib/rules/no-buffer-constructor.js +74 -0
- package/node_modules/eslint/lib/rules/no-caller.js +52 -0
- package/node_modules/eslint/lib/rules/no-case-declarations.js +80 -0
- package/node_modules/eslint/lib/rules/no-catch-shadow.js +96 -0
- package/node_modules/eslint/lib/rules/no-class-assign.js +66 -0
- package/node_modules/eslint/lib/rules/no-compare-neg-zero.js +74 -0
- package/node_modules/eslint/lib/rules/no-cond-assign.js +175 -0
- package/node_modules/eslint/lib/rules/no-confusing-arrow.js +127 -0
- package/node_modules/eslint/lib/rules/no-console.js +221 -0
- package/node_modules/eslint/lib/rules/no-const-assign.js +73 -0
- package/node_modules/eslint/lib/rules/no-constant-binary-expression.js +603 -0
- package/node_modules/eslint/lib/rules/no-constant-condition.js +177 -0
- package/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- package/node_modules/eslint/lib/rules/no-continue.js +38 -0
- package/node_modules/eslint/lib/rules/no-control-regex.js +142 -0
- package/node_modules/eslint/lib/rules/no-debugger.js +41 -0
- package/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- package/node_modules/eslint/lib/rules/no-div-regex.js +60 -0
- package/node_modules/eslint/lib/rules/no-dupe-args.js +92 -0
- package/node_modules/eslint/lib/rules/no-dupe-class-members.js +117 -0
- package/node_modules/eslint/lib/rules/no-dupe-else-if.js +145 -0
- package/node_modules/eslint/lib/rules/no-dupe-keys.js +165 -0
- package/node_modules/eslint/lib/rules/no-duplicate-case.js +78 -0
- package/node_modules/eslint/lib/rules/no-duplicate-imports.js +368 -0
- package/node_modules/eslint/lib/rules/no-else-return.js +450 -0
- package/node_modules/eslint/lib/rules/no-empty-character-class.js +83 -0
- package/node_modules/eslint/lib/rules/no-empty-function.js +236 -0
- package/node_modules/eslint/lib/rules/no-empty-pattern.js +85 -0
- package/node_modules/eslint/lib/rules/no-empty-static-block.js +73 -0
- package/node_modules/eslint/lib/rules/no-empty.js +153 -0
- package/node_modules/eslint/lib/rules/no-eq-null.js +51 -0
- package/node_modules/eslint/lib/rules/no-eval.js +295 -0
- package/node_modules/eslint/lib/rules/no-ex-assign.js +57 -0
- package/node_modules/eslint/lib/rules/no-extend-native.js +180 -0
- package/node_modules/eslint/lib/rules/no-extra-bind.js +224 -0
- package/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +420 -0
- package/node_modules/eslint/lib/rules/no-extra-label.js +169 -0
- package/node_modules/eslint/lib/rules/no-extra-parens.js +1669 -0
- package/node_modules/eslint/lib/rules/no-extra-semi.js +167 -0
- package/node_modules/eslint/lib/rules/no-fallthrough.js +260 -0
- package/node_modules/eslint/lib/rules/no-floating-decimal.js +99 -0
- package/node_modules/eslint/lib/rules/no-func-assign.js +77 -0
- package/node_modules/eslint/lib/rules/no-global-assign.js +101 -0
- package/node_modules/eslint/lib/rules/no-implicit-coercion.js +468 -0
- package/node_modules/eslint/lib/rules/no-implicit-globals.js +187 -0
- package/node_modules/eslint/lib/rules/no-implied-eval.js +170 -0
- package/node_modules/eslint/lib/rules/no-import-assign.js +227 -0
- package/node_modules/eslint/lib/rules/no-inline-comments.js +115 -0
- package/node_modules/eslint/lib/rules/no-inner-declarations.js +147 -0
- package/node_modules/eslint/lib/rules/no-invalid-regexp.js +243 -0
- package/node_modules/eslint/lib/rules/no-invalid-this.js +178 -0
- package/node_modules/eslint/lib/rules/no-irregular-whitespace.js +292 -0
- package/node_modules/eslint/lib/rules/no-iterator.js +48 -0
- package/node_modules/eslint/lib/rules/no-label-var.js +78 -0
- package/node_modules/eslint/lib/rules/no-labels.js +156 -0
- package/node_modules/eslint/lib/rules/no-lone-blocks.js +140 -0
- package/node_modules/eslint/lib/rules/no-lonely-if.js +126 -0
- package/node_modules/eslint/lib/rules/no-loop-func.js +267 -0
- package/node_modules/eslint/lib/rules/no-loss-of-precision.js +249 -0
- package/node_modules/eslint/lib/rules/no-magic-numbers.js +365 -0
- package/node_modules/eslint/lib/rules/no-misleading-character-class.js +595 -0
- package/node_modules/eslint/lib/rules/no-mixed-operators.js +253 -0
- package/node_modules/eslint/lib/rules/no-mixed-requires.js +267 -0
- package/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +148 -0
- package/node_modules/eslint/lib/rules/no-multi-assign.js +66 -0
- package/node_modules/eslint/lib/rules/no-multi-spaces.js +179 -0
- package/node_modules/eslint/lib/rules/no-multi-str.js +67 -0
- package/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +210 -0
- package/node_modules/eslint/lib/rules/no-native-reassign.js +114 -0
- package/node_modules/eslint/lib/rules/no-negated-condition.js +100 -0
- package/node_modules/eslint/lib/rules/no-negated-in-lhs.js +59 -0
- package/node_modules/eslint/lib/rules/no-nested-ternary.js +46 -0
- package/node_modules/eslint/lib/rules/no-new-func.js +96 -0
- package/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +70 -0
- package/node_modules/eslint/lib/rules/no-new-object.js +76 -0
- package/node_modules/eslint/lib/rules/no-new-require.js +67 -0
- package/node_modules/eslint/lib/rules/no-new-symbol.js +74 -0
- package/node_modules/eslint/lib/rules/no-new-wrappers.js +62 -0
- package/node_modules/eslint/lib/rules/no-new.js +42 -0
- package/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +176 -0
- package/node_modules/eslint/lib/rules/no-obj-calls.js +99 -0
- package/node_modules/eslint/lib/rules/no-object-constructor.js +124 -0
- package/node_modules/eslint/lib/rules/no-octal-escape.js +53 -0
- package/node_modules/eslint/lib/rules/no-octal.js +42 -0
- package/node_modules/eslint/lib/rules/no-param-reassign.js +248 -0
- package/node_modules/eslint/lib/rules/no-path-concat.js +79 -0
- package/node_modules/eslint/lib/rules/no-plusplus.js +102 -0
- package/node_modules/eslint/lib/rules/no-process-env.js +68 -0
- package/node_modules/eslint/lib/rules/no-process-exit.js +67 -0
- package/node_modules/eslint/lib/rules/no-promise-executor-return.js +264 -0
- package/node_modules/eslint/lib/rules/no-proto.js +45 -0
- package/node_modules/eslint/lib/rules/no-prototype-builtins.js +181 -0
- package/node_modules/eslint/lib/rules/no-redeclare.js +173 -0
- package/node_modules/eslint/lib/rules/no-regex-spaces.js +219 -0
- package/node_modules/eslint/lib/rules/no-restricted-exports.js +227 -0
- package/node_modules/eslint/lib/rules/no-restricted-globals.js +266 -0
- package/node_modules/eslint/lib/rules/no-restricted-imports.js +850 -0
- package/node_modules/eslint/lib/rules/no-restricted-modules.js +249 -0
- package/node_modules/eslint/lib/rules/no-restricted-properties.js +233 -0
- package/node_modules/eslint/lib/rules/no-restricted-syntax.js +74 -0
- package/node_modules/eslint/lib/rules/no-return-assign.js +87 -0
- package/node_modules/eslint/lib/rules/no-return-await.js +162 -0
- package/node_modules/eslint/lib/rules/no-script-url.js +68 -0
- package/node_modules/eslint/lib/rules/no-self-assign.js +186 -0
- package/node_modules/eslint/lib/rules/no-self-compare.js +77 -0
- package/node_modules/eslint/lib/rules/no-sequences.js +158 -0
- package/node_modules/eslint/lib/rules/no-setter-return.js +224 -0
- package/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +113 -0
- package/node_modules/eslint/lib/rules/no-shadow.js +624 -0
- package/node_modules/eslint/lib/rules/no-spaced-func.js +105 -0
- package/node_modules/eslint/lib/rules/no-sparse-arrays.js +68 -0
- package/node_modules/eslint/lib/rules/no-sync.js +81 -0
- package/node_modules/eslint/lib/rules/no-tabs.js +110 -0
- package/node_modules/eslint/lib/rules/no-template-curly-in-string.js +45 -0
- package/node_modules/eslint/lib/rules/no-ternary.js +38 -0
- package/node_modules/eslint/lib/rules/no-this-before-super.js +365 -0
- package/node_modules/eslint/lib/rules/no-throw-literal.js +46 -0
- package/node_modules/eslint/lib/rules/no-trailing-spaces.js +227 -0
- package/node_modules/eslint/lib/rules/no-unassigned-vars.js +80 -0
- package/node_modules/eslint/lib/rules/no-undef-init.js +101 -0
- package/node_modules/eslint/lib/rules/no-undef.js +84 -0
- package/node_modules/eslint/lib/rules/no-undefined.js +85 -0
- package/node_modules/eslint/lib/rules/no-underscore-dangle.js +383 -0
- package/node_modules/eslint/lib/rules/no-unexpected-multiline.js +130 -0
- package/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- package/node_modules/eslint/lib/rules/no-unneeded-ternary.js +232 -0
- package/node_modules/eslint/lib/rules/no-unreachable-loop.js +190 -0
- package/node_modules/eslint/lib/rules/no-unreachable.js +300 -0
- package/node_modules/eslint/lib/rules/no-unsafe-finally.js +119 -0
- package/node_modules/eslint/lib/rules/no-unsafe-negation.js +152 -0
- package/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +221 -0
- package/node_modules/eslint/lib/rules/no-unused-expressions.js +227 -0
- package/node_modules/eslint/lib/rules/no-unused-labels.js +158 -0
- package/node_modules/eslint/lib/rules/no-unused-private-class-members.js +219 -0
- package/node_modules/eslint/lib/rules/no-unused-vars.js +1739 -0
- package/node_modules/eslint/lib/rules/no-use-before-define.js +446 -0
- package/node_modules/eslint/lib/rules/no-useless-assignment.js +654 -0
- package/node_modules/eslint/lib/rules/no-useless-backreference.js +263 -0
- package/node_modules/eslint/lib/rules/no-useless-call.js +95 -0
- package/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- package/node_modules/eslint/lib/rules/no-useless-computed-key.js +204 -0
- package/node_modules/eslint/lib/rules/no-useless-concat.js +121 -0
- package/node_modules/eslint/lib/rules/no-useless-constructor.js +252 -0
- package/node_modules/eslint/lib/rules/no-useless-escape.js +406 -0
- package/node_modules/eslint/lib/rules/no-useless-rename.js +202 -0
- package/node_modules/eslint/lib/rules/no-useless-return.js +401 -0
- package/node_modules/eslint/lib/rules/no-var.js +367 -0
- package/node_modules/eslint/lib/rules/no-void.js +69 -0
- package/node_modules/eslint/lib/rules/no-warning-comments.js +209 -0
- package/node_modules/eslint/lib/rules/no-whitespace-before-property.js +150 -0
- package/node_modules/eslint/lib/rules/no-with.js +37 -0
- package/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +164 -0
- package/node_modules/eslint/lib/rules/object-curly-newline.js +383 -0
- package/node_modules/eslint/lib/rules/object-curly-spacing.js +375 -0
- package/node_modules/eslint/lib/rules/object-property-newline.js +151 -0
- package/node_modules/eslint/lib/rules/object-shorthand.js +652 -0
- package/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +117 -0
- package/node_modules/eslint/lib/rules/one-var.js +717 -0
- package/node_modules/eslint/lib/rules/operator-assignment.js +270 -0
- package/node_modules/eslint/lib/rules/operator-linebreak.js +315 -0
- package/node_modules/eslint/lib/rules/padded-blocks.js +366 -0
- package/node_modules/eslint/lib/rules/padding-line-between-statements.js +612 -0
- package/node_modules/eslint/lib/rules/prefer-arrow-callback.js +437 -0
- package/node_modules/eslint/lib/rules/prefer-const.js +546 -0
- package/node_modules/eslint/lib/rules/prefer-destructuring.js +332 -0
- package/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +235 -0
- package/node_modules/eslint/lib/rules/prefer-named-capture-group.js +197 -0
- package/node_modules/eslint/lib/rules/prefer-numeric-literals.js +157 -0
- package/node_modules/eslint/lib/rules/prefer-object-has-own.js +148 -0
- package/node_modules/eslint/lib/rules/prefer-object-spread.js +319 -0
- package/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +154 -0
- package/node_modules/eslint/lib/rules/prefer-reflect.js +150 -0
- package/node_modules/eslint/lib/rules/prefer-regex-literals.js +605 -0
- package/node_modules/eslint/lib/rules/prefer-rest-params.js +117 -0
- package/node_modules/eslint/lib/rules/prefer-spread.js +91 -0
- package/node_modules/eslint/lib/rules/prefer-template.js +347 -0
- package/node_modules/eslint/lib/rules/preserve-caught-error.js +535 -0
- package/node_modules/eslint/lib/rules/quote-props.js +394 -0
- package/node_modules/eslint/lib/rules/quotes.js +416 -0
- package/node_modules/eslint/lib/rules/radix.js +216 -0
- package/node_modules/eslint/lib/rules/require-atomic-updates.js +365 -0
- package/node_modules/eslint/lib/rules/require-await.js +184 -0
- package/node_modules/eslint/lib/rules/require-unicode-regexp.js +317 -0
- package/node_modules/eslint/lib/rules/require-yield.js +76 -0
- package/node_modules/eslint/lib/rules/rest-spread-spacing.js +153 -0
- package/node_modules/eslint/lib/rules/semi-spacing.js +297 -0
- package/node_modules/eslint/lib/rules/semi-style.js +218 -0
- package/node_modules/eslint/lib/rules/semi.js +476 -0
- package/node_modules/eslint/lib/rules/sort-imports.js +319 -0
- package/node_modules/eslint/lib/rules/sort-keys.js +268 -0
- package/node_modules/eslint/lib/rules/sort-vars.js +140 -0
- package/node_modules/eslint/lib/rules/space-before-blocks.js +232 -0
- package/node_modules/eslint/lib/rules/space-before-function-paren.js +205 -0
- package/node_modules/eslint/lib/rules/space-in-parens.js +374 -0
- package/node_modules/eslint/lib/rules/space-infix-ops.js +252 -0
- package/node_modules/eslint/lib/rules/space-unary-ops.js +400 -0
- package/node_modules/eslint/lib/rules/spaced-comment.js +447 -0
- package/node_modules/eslint/lib/rules/strict.js +314 -0
- package/node_modules/eslint/lib/rules/switch-colon-spacing.js +158 -0
- package/node_modules/eslint/lib/rules/symbol-description.js +70 -0
- package/node_modules/eslint/lib/rules/template-curly-spacing.js +168 -0
- package/node_modules/eslint/lib/rules/template-tag-spacing.js +121 -0
- package/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- package/node_modules/eslint/lib/rules/use-isnan.js +268 -0
- package/node_modules/eslint/lib/rules/utils/ast-utils.js +2733 -0
- package/node_modules/eslint/lib/rules/utils/char-source.js +247 -0
- package/node_modules/eslint/lib/rules/utils/fix-tracker.js +125 -0
- package/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- package/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +118 -0
- package/node_modules/eslint/lib/rules/utils/regular-expressions.js +58 -0
- package/node_modules/eslint/lib/rules/utils/unicode/index.js +16 -0
- package/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/node_modules/eslint/lib/rules/valid-typeof.js +171 -0
- package/node_modules/eslint/lib/rules/vars-on-top.js +165 -0
- package/node_modules/eslint/lib/rules/wrap-iife.js +238 -0
- package/node_modules/eslint/lib/rules/wrap-regex.js +91 -0
- package/node_modules/eslint/lib/rules/yield-star-spacing.js +159 -0
- package/node_modules/eslint/lib/rules/yoda.js +362 -0
- package/node_modules/eslint/lib/services/parser-service.js +65 -0
- package/node_modules/eslint/lib/services/processor-service.js +101 -0
- package/node_modules/eslint/lib/services/suppressions-service.js +302 -0
- package/node_modules/eslint/lib/services/warning-service.js +111 -0
- package/node_modules/eslint/lib/shared/ajv.js +34 -0
- package/node_modules/eslint/lib/shared/assert.js +21 -0
- package/node_modules/eslint/lib/shared/ast-utils.js +30 -0
- package/node_modules/eslint/lib/shared/deep-merge-arrays.js +62 -0
- package/node_modules/eslint/lib/shared/directives.js +16 -0
- package/node_modules/eslint/lib/shared/flags.js +108 -0
- package/node_modules/eslint/lib/shared/logging.js +38 -0
- package/node_modules/eslint/lib/shared/naming.js +109 -0
- package/node_modules/eslint/lib/shared/option-utils.js +63 -0
- package/node_modules/eslint/lib/shared/relative-module-resolver.js +28 -0
- package/node_modules/eslint/lib/shared/runtime-info.js +177 -0
- package/node_modules/eslint/lib/shared/serialization.js +78 -0
- package/node_modules/eslint/lib/shared/severity.js +49 -0
- package/node_modules/eslint/lib/shared/stats.js +30 -0
- package/node_modules/eslint/lib/shared/string-utils.js +58 -0
- package/node_modules/eslint/lib/shared/text-table.js +68 -0
- package/node_modules/eslint/lib/shared/translate-cli-options.js +281 -0
- package/node_modules/eslint/lib/shared/traverser.js +202 -0
- package/node_modules/eslint/lib/types/config-api.d.ts +12 -0
- package/node_modules/eslint/lib/types/index.d.ts +1915 -0
- package/node_modules/eslint/lib/types/rules.d.ts +5589 -0
- package/node_modules/eslint/lib/types/universal.d.ts +6 -0
- package/node_modules/eslint/lib/types/use-at-your-own-risk.d.ts +87 -0
- package/node_modules/eslint/lib/universal.js +10 -0
- package/node_modules/eslint/lib/unsupported-api.js +29 -0
- package/node_modules/eslint/messages/all-files-ignored.js +16 -0
- package/node_modules/eslint/messages/all-matched-files-ignored.js +21 -0
- package/node_modules/eslint/messages/config-file-missing.js +16 -0
- package/node_modules/eslint/messages/config-plugin-missing.js +14 -0
- package/node_modules/eslint/messages/config-serialize-function.js +30 -0
- package/node_modules/eslint/messages/eslintrc-incompat.js +117 -0
- package/node_modules/eslint/messages/eslintrc-plugins.js +27 -0
- package/node_modules/eslint/messages/extend-config-missing.js +13 -0
- package/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- package/node_modules/eslint/messages/file-not-found.js +10 -0
- package/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- package/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- package/node_modules/eslint/messages/no-config-found.js +15 -0
- package/node_modules/eslint/messages/plugin-conflict.js +22 -0
- package/node_modules/eslint/messages/plugin-invalid.js +16 -0
- package/node_modules/eslint/messages/plugin-missing.js +19 -0
- package/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- package/node_modules/eslint/messages/shared.js +23 -0
- package/node_modules/eslint/messages/whitespace-found.js +11 -0
- package/node_modules/eslint/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/eslint/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/eslint/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/eslint/node_modules/brace-expansion/package.json +50 -0
- package/node_modules/eslint/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/node_modules/eslint/node_modules/escape-string-regexp/index.js +13 -0
- package/node_modules/eslint/node_modules/escape-string-regexp/license +9 -0
- package/node_modules/eslint/node_modules/escape-string-regexp/package.json +38 -0
- package/node_modules/eslint/node_modules/escape-string-regexp/readme.md +34 -0
- package/node_modules/eslint/node_modules/find-up/index.d.ts +138 -0
- package/node_modules/eslint/node_modules/find-up/index.js +89 -0
- package/node_modules/eslint/node_modules/find-up/license +9 -0
- package/node_modules/eslint/node_modules/find-up/package.json +54 -0
- package/node_modules/eslint/node_modules/find-up/readme.md +151 -0
- package/node_modules/eslint/node_modules/glob-parent/LICENSE +15 -0
- package/node_modules/eslint/node_modules/glob-parent/README.md +134 -0
- package/node_modules/eslint/node_modules/glob-parent/index.js +75 -0
- package/node_modules/eslint/node_modules/glob-parent/package.json +54 -0
- package/node_modules/eslint/node_modules/locate-path/index.d.ts +83 -0
- package/node_modules/eslint/node_modules/locate-path/index.js +68 -0
- package/node_modules/eslint/node_modules/locate-path/license +9 -0
- package/node_modules/eslint/node_modules/locate-path/package.json +46 -0
- package/node_modules/eslint/node_modules/locate-path/readme.md +125 -0
- package/node_modules/eslint/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/eslint/node_modules/minimatch/README.md +267 -0
- package/node_modules/eslint/node_modules/minimatch/minimatch.js +1005 -0
- package/node_modules/eslint/node_modules/minimatch/package.json +33 -0
- package/node_modules/eslint/node_modules/p-locate/index.d.ts +53 -0
- package/node_modules/eslint/node_modules/p-locate/index.js +50 -0
- package/node_modules/eslint/node_modules/p-locate/license +9 -0
- package/node_modules/eslint/node_modules/p-locate/package.json +54 -0
- package/node_modules/eslint/node_modules/p-locate/readme.md +93 -0
- package/node_modules/eslint/package.json +226 -0
- package/node_modules/eslint-scope/LICENSE +22 -0
- package/node_modules/eslint-scope/README.md +198 -0
- package/node_modules/eslint-scope/dist/eslint-scope.cjs +2339 -0
- package/node_modules/eslint-scope/lib/assert.js +17 -0
- package/node_modules/eslint-scope/lib/definition.js +85 -0
- package/node_modules/eslint-scope/lib/index.js +170 -0
- package/node_modules/eslint-scope/lib/pattern-visitor.js +154 -0
- package/node_modules/eslint-scope/lib/reference.js +166 -0
- package/node_modules/eslint-scope/lib/referencer.js +708 -0
- package/node_modules/eslint-scope/lib/scope-manager.js +253 -0
- package/node_modules/eslint-scope/lib/scope.js +793 -0
- package/node_modules/eslint-scope/lib/variable.js +87 -0
- package/node_modules/eslint-scope/lib/version.js +3 -0
- package/node_modules/eslint-scope/package.json +64 -0
- package/node_modules/eslint-visitor-keys/LICENSE +201 -0
- package/node_modules/eslint-visitor-keys/README.md +121 -0
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +396 -0
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts +28 -0
- package/node_modules/eslint-visitor-keys/dist/index.d.ts +16 -0
- package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +12 -0
- package/node_modules/eslint-visitor-keys/lib/index.js +67 -0
- package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +327 -0
- package/node_modules/eslint-visitor-keys/package.json +70 -0
- package/node_modules/espree/LICENSE +25 -0
- package/node_modules/espree/README.md +262 -0
- package/node_modules/espree/dist/espree.cjs +940 -0
- package/node_modules/espree/espree.js +174 -0
- package/node_modules/espree/lib/espree.js +349 -0
- package/node_modules/espree/lib/features.js +27 -0
- package/node_modules/espree/lib/options.js +125 -0
- package/node_modules/espree/lib/token-translator.js +263 -0
- package/node_modules/espree/lib/version.js +3 -0
- package/node_modules/espree/package.json +77 -0
- package/node_modules/esquery/README.md +27 -0
- package/node_modules/esquery/dist/esquery.esm.js +4418 -0
- package/node_modules/esquery/dist/esquery.esm.min.js +2 -0
- package/node_modules/esquery/dist/esquery.esm.min.js.map +1 -0
- package/node_modules/esquery/dist/esquery.js +4426 -0
- package/node_modules/esquery/dist/esquery.lite.js +3716 -0
- package/node_modules/esquery/dist/esquery.lite.min.js +2 -0
- package/node_modules/esquery/dist/esquery.lite.min.js.map +1 -0
- package/node_modules/esquery/dist/esquery.min.js +2 -0
- package/node_modules/esquery/dist/esquery.min.js.map +1 -0
- package/node_modules/esquery/license.txt +24 -0
- package/node_modules/esquery/package.json +78 -0
- package/node_modules/esquery/parser.js +2941 -0
- package/node_modules/esrecurse/.babelrc +3 -0
- package/node_modules/esrecurse/README.md +171 -0
- package/node_modules/esrecurse/esrecurse.js +117 -0
- package/node_modules/esrecurse/gulpfile.babel.js +92 -0
- package/node_modules/esrecurse/package.json +52 -0
- package/node_modules/estraverse/.jshintrc +16 -0
- package/node_modules/estraverse/LICENSE.BSD +19 -0
- package/node_modules/estraverse/README.md +153 -0
- package/node_modules/estraverse/estraverse.js +805 -0
- package/node_modules/estraverse/gulpfile.js +70 -0
- package/node_modules/estraverse/package.json +40 -0
- package/node_modules/esutils/LICENSE.BSD +19 -0
- package/node_modules/esutils/README.md +174 -0
- package/node_modules/esutils/lib/ast.js +144 -0
- package/node_modules/esutils/lib/code.js +135 -0
- package/node_modules/esutils/lib/keyword.js +165 -0
- package/node_modules/esutils/lib/utils.js +33 -0
- package/node_modules/esutils/package.json +44 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-json-stable-stringify/.eslintrc.yml +26 -0
- package/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +1 -0
- package/node_modules/fast-json-stable-stringify/.travis.yml +8 -0
- package/node_modules/fast-json-stable-stringify/LICENSE +21 -0
- package/node_modules/fast-json-stable-stringify/README.md +131 -0
- package/node_modules/fast-json-stable-stringify/benchmark/index.js +31 -0
- package/node_modules/fast-json-stable-stringify/benchmark/test.json +137 -0
- package/node_modules/fast-json-stable-stringify/example/key_cmp.js +7 -0
- package/node_modules/fast-json-stable-stringify/example/nested.js +3 -0
- package/node_modules/fast-json-stable-stringify/example/str.js +3 -0
- package/node_modules/fast-json-stable-stringify/example/value_cmp.js +7 -0
- package/node_modules/fast-json-stable-stringify/index.d.ts +4 -0
- package/node_modules/fast-json-stable-stringify/index.js +59 -0
- package/node_modules/fast-json-stable-stringify/package.json +52 -0
- package/node_modules/fast-json-stable-stringify/test/cmp.js +13 -0
- package/node_modules/fast-json-stable-stringify/test/nested.js +44 -0
- package/node_modules/fast-json-stable-stringify/test/str.js +46 -0
- package/node_modules/fast-json-stable-stringify/test/to-json.js +22 -0
- package/node_modules/fast-levenshtein/LICENSE.md +25 -0
- package/node_modules/fast-levenshtein/README.md +104 -0
- package/node_modules/fast-levenshtein/levenshtein.js +136 -0
- package/node_modules/fast-levenshtein/package.json +39 -0
- package/node_modules/fdir/LICENSE +7 -0
- package/node_modules/fdir/README.md +91 -0
- package/node_modules/fdir/dist/index.cjs +588 -0
- package/node_modules/fdir/dist/index.d.cts +155 -0
- package/node_modules/fdir/dist/index.d.mts +155 -0
- package/node_modules/fdir/dist/index.mjs +570 -0
- package/node_modules/fdir/package.json +103 -0
- package/node_modules/file-entry-cache/LICENSE +22 -0
- package/node_modules/file-entry-cache/README.md +115 -0
- package/node_modules/file-entry-cache/cache.js +291 -0
- package/node_modules/file-entry-cache/package.json +56 -0
- package/node_modules/flat-cache/LICENSE +22 -0
- package/node_modules/flat-cache/README.md +77 -0
- package/node_modules/flat-cache/package.json +63 -0
- package/node_modules/flat-cache/src/cache.js +214 -0
- package/node_modules/flat-cache/src/del.js +30 -0
- package/node_modules/flat-cache/src/utils.js +42 -0
- package/node_modules/flatted/LICENSE +15 -0
- package/node_modules/flatted/README.md +111 -0
- package/node_modules/flatted/cjs/index.js +132 -0
- package/node_modules/flatted/cjs/package.json +1 -0
- package/node_modules/flatted/es.js +1 -0
- package/node_modules/flatted/esm/index.js +127 -0
- package/node_modules/flatted/esm.js +1 -0
- package/node_modules/flatted/golang/README.md +60 -0
- package/node_modules/flatted/golang/pkg/flatted/flatted.go +277 -0
- package/node_modules/flatted/index.js +155 -0
- package/node_modules/flatted/min.js +1 -0
- package/node_modules/flatted/package.json +80 -0
- package/node_modules/flatted/php/flatted.php +156 -0
- package/node_modules/flatted/python/flatted.py +144 -0
- package/node_modules/flatted/types/index.d.ts +4 -0
- package/node_modules/globals/globals.json +1998 -0
- package/node_modules/globals/index.d.ts +2077 -0
- package/node_modules/globals/index.js +2 -0
- package/node_modules/globals/license +9 -0
- package/node_modules/globals/package.json +58 -0
- package/node_modules/globals/readme.md +44 -0
- package/node_modules/has-flag/index.d.ts +39 -0
- package/node_modules/has-flag/index.js +8 -0
- package/node_modules/has-flag/license +9 -0
- package/node_modules/has-flag/package.json +46 -0
- package/node_modules/has-flag/readme.md +89 -0
- package/node_modules/ignore/LICENSE-MIT +21 -0
- package/node_modules/ignore/README.md +412 -0
- package/node_modules/ignore/index.d.ts +61 -0
- package/node_modules/ignore/index.js +636 -0
- package/node_modules/ignore/legacy.js +559 -0
- package/node_modules/ignore/package.json +74 -0
- package/node_modules/import-fresh/index.d.ts +30 -0
- package/node_modules/import-fresh/index.js +34 -0
- package/node_modules/import-fresh/license +9 -0
- package/node_modules/import-fresh/node_modules/resolve-from/index.js +47 -0
- package/node_modules/import-fresh/node_modules/resolve-from/license +9 -0
- package/node_modules/import-fresh/node_modules/resolve-from/package.json +34 -0
- package/node_modules/import-fresh/node_modules/resolve-from/readme.md +72 -0
- package/node_modules/import-fresh/package.json +48 -0
- package/node_modules/import-fresh/readme.md +54 -0
- package/node_modules/imurmurhash/README.md +122 -0
- package/node_modules/imurmurhash/imurmurhash.js +138 -0
- package/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- package/node_modules/imurmurhash/package.json +40 -0
- package/node_modules/is-extglob/LICENSE +21 -0
- package/node_modules/is-extglob/README.md +107 -0
- package/node_modules/is-extglob/index.js +20 -0
- package/node_modules/is-extglob/package.json +69 -0
- package/node_modules/is-glob/LICENSE +21 -0
- package/node_modules/is-glob/README.md +206 -0
- package/node_modules/is-glob/index.js +150 -0
- package/node_modules/is-glob/package.json +81 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/json-buffer/.travis.yml +3 -0
- package/node_modules/json-buffer/LICENSE +22 -0
- package/node_modules/json-buffer/README.md +24 -0
- package/node_modules/json-buffer/index.js +58 -0
- package/node_modules/json-buffer/package.json +34 -0
- package/node_modules/json-buffer/test/index.js +63 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.travis.yml +8 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +83 -0
- package/node_modules/json-schema-traverse/index.js +89 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/json-stable-stringify-without-jsonify/.npmignore +1 -0
- package/node_modules/json-stable-stringify-without-jsonify/.travis.yml +4 -0
- package/node_modules/json-stable-stringify-without-jsonify/LICENSE +18 -0
- package/node_modules/json-stable-stringify-without-jsonify/example/key_cmp.js +7 -0
- package/node_modules/json-stable-stringify-without-jsonify/example/nested.js +3 -0
- package/node_modules/json-stable-stringify-without-jsonify/example/str.js +3 -0
- package/node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js +7 -0
- package/node_modules/json-stable-stringify-without-jsonify/index.js +82 -0
- package/node_modules/json-stable-stringify-without-jsonify/package.json +43 -0
- package/node_modules/json-stable-stringify-without-jsonify/readme.markdown +132 -0
- package/node_modules/json-stable-stringify-without-jsonify/test/cmp.js +11 -0
- package/node_modules/json-stable-stringify-without-jsonify/test/nested.js +42 -0
- package/node_modules/json-stable-stringify-without-jsonify/test/replacer.js +74 -0
- package/node_modules/json-stable-stringify-without-jsonify/test/space.js +59 -0
- package/node_modules/json-stable-stringify-without-jsonify/test/str.js +32 -0
- package/node_modules/json-stable-stringify-without-jsonify/test/to-json.js +20 -0
- package/node_modules/keyv/README.md +429 -0
- package/node_modules/keyv/package.json +57 -0
- package/node_modules/keyv/src/index.d.ts +112 -0
- package/node_modules/keyv/src/index.js +259 -0
- package/node_modules/levn/LICENSE +22 -0
- package/node_modules/levn/README.md +196 -0
- package/node_modules/levn/lib/cast.js +327 -0
- package/node_modules/levn/lib/index.js +22 -0
- package/node_modules/levn/lib/parse-string.js +113 -0
- package/node_modules/levn/package.json +46 -0
- package/node_modules/lodash.merge/LICENSE +47 -0
- package/node_modules/lodash.merge/README.md +18 -0
- package/node_modules/lodash.merge/index.js +1977 -0
- package/node_modules/lodash.merge/package.json +16 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/natural-compare/README.md +125 -0
- package/node_modules/natural-compare/index.js +57 -0
- package/node_modules/natural-compare/package.json +42 -0
- package/node_modules/optionator/LICENSE +22 -0
- package/node_modules/optionator/README.md +238 -0
- package/node_modules/optionator/lib/help.js +260 -0
- package/node_modules/optionator/lib/index.js +465 -0
- package/node_modules/optionator/lib/util.js +54 -0
- package/node_modules/optionator/package.json +43 -0
- package/node_modules/p-limit/index.d.ts +42 -0
- package/node_modules/p-limit/index.js +71 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +52 -0
- package/node_modules/p-limit/readme.md +101 -0
- package/node_modules/parent-module/index.js +37 -0
- package/node_modules/parent-module/license +9 -0
- package/node_modules/parent-module/package.json +46 -0
- package/node_modules/parent-module/readme.md +67 -0
- package/node_modules/path-exists/index.d.ts +28 -0
- package/node_modules/path-exists/index.js +23 -0
- package/node_modules/path-exists/license +9 -0
- package/node_modules/path-exists/package.json +39 -0
- package/node_modules/path-exists/readme.md +52 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +749 -0
- package/node_modules/picomatch/index.js +17 -0
- package/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/picomatch/lib/parse.js +1386 -0
- package/node_modules/picomatch/lib/picomatch.js +349 -0
- package/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/picomatch/lib/utils.js +72 -0
- package/node_modules/picomatch/package.json +82 -0
- package/node_modules/picomatch/posix.js +3 -0
- package/node_modules/prelude-ls/LICENSE +22 -0
- package/node_modules/prelude-ls/README.md +15 -0
- package/node_modules/prelude-ls/lib/Func.js +69 -0
- package/node_modules/prelude-ls/lib/List.js +716 -0
- package/node_modules/prelude-ls/lib/Num.js +130 -0
- package/node_modules/prelude-ls/lib/Obj.js +154 -0
- package/node_modules/prelude-ls/lib/Str.js +92 -0
- package/node_modules/prelude-ls/lib/index.js +178 -0
- package/node_modules/prelude-ls/package.json +46 -0
- package/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/node_modules/punycode/README.md +148 -0
- package/node_modules/punycode/package.json +58 -0
- package/node_modules/punycode/punycode.es6.js +444 -0
- package/node_modules/punycode/punycode.js +443 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/strip-json-comments/index.d.ts +36 -0
- package/node_modules/strip-json-comments/index.js +77 -0
- package/node_modules/strip-json-comments/license +9 -0
- package/node_modules/strip-json-comments/package.json +47 -0
- package/node_modules/strip-json-comments/readme.md +78 -0
- package/node_modules/supports-color/browser.js +5 -0
- package/node_modules/supports-color/index.js +135 -0
- package/node_modules/supports-color/license +9 -0
- package/node_modules/supports-color/package.json +53 -0
- package/node_modules/supports-color/readme.md +76 -0
- package/node_modules/tinyglobby/LICENSE +21 -0
- package/node_modules/tinyglobby/README.md +25 -0
- package/node_modules/tinyglobby/dist/index.cjs +335 -0
- package/node_modules/tinyglobby/dist/index.d.cts +148 -0
- package/node_modules/tinyglobby/dist/index.d.mts +148 -0
- package/node_modules/tinyglobby/dist/index.mjs +307 -0
- package/node_modules/tinyglobby/package.json +70 -0
- package/node_modules/ts-api-utils/LICENSE.md +20 -0
- package/node_modules/ts-api-utils/README.md +40 -0
- package/node_modules/ts-api-utils/lib/index.cjs +2308 -0
- package/node_modules/ts-api-utils/lib/index.d.cts +3053 -0
- package/node_modules/ts-api-utils/lib/index.d.ts +3053 -0
- package/node_modules/ts-api-utils/lib/index.js +2107 -0
- package/node_modules/ts-api-utils/package.json +101 -0
- package/node_modules/type-check/LICENSE +22 -0
- package/node_modules/type-check/README.md +210 -0
- package/node_modules/type-check/lib/check.js +128 -0
- package/node_modules/type-check/lib/index.js +16 -0
- package/node_modules/type-check/lib/parse-type.js +198 -0
- package/node_modules/type-check/package.json +39 -0
- package/node_modules/typescript-eslint/LICENSE +21 -0
- package/node_modules/typescript-eslint/README.md +12 -0
- package/node_modules/typescript-eslint/dist/compatibility-types.d.ts +16 -0
- package/node_modules/typescript-eslint/dist/compatibility-types.js +7 -0
- package/node_modules/typescript-eslint/dist/config-helper.d.ts +70 -0
- package/node_modules/typescript-eslint/dist/config-helper.js +130 -0
- package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.d.ts +8 -0
- package/node_modules/typescript-eslint/dist/getTSConfigRootDirFromStack.js +52 -0
- package/node_modules/typescript-eslint/dist/index.d.ts +155 -0
- package/node_modules/typescript-eslint/dist/index.js +173 -0
- package/node_modules/typescript-eslint/package.json +104 -0
- package/node_modules/uri-js/LICENSE +11 -0
- package/node_modules/uri-js/README.md +203 -0
- package/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
- package/node_modules/uri-js/dist/es5/uri.all.js +1443 -0
- package/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
- package/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
- package/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
- package/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
- package/node_modules/uri-js/dist/esnext/index.js +17 -0
- package/node_modules/uri-js/dist/esnext/index.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
- package/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.js +28 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
- package/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
- package/node_modules/uri-js/dist/esnext/uri.js +480 -0
- package/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
- package/node_modules/uri-js/dist/esnext/util.js +36 -0
- package/node_modules/uri-js/dist/esnext/util.js.map +1 -0
- package/node_modules/uri-js/package.json +77 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +54 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/word-wrap/LICENSE +21 -0
- package/node_modules/word-wrap/README.md +201 -0
- package/node_modules/word-wrap/index.d.ts +50 -0
- package/node_modules/word-wrap/index.js +61 -0
- package/node_modules/word-wrap/package.json +77 -0
- package/node_modules/yocto-queue/index.d.ts +56 -0
- package/node_modules/yocto-queue/index.js +68 -0
- package/node_modules/yocto-queue/license +9 -0
- package/node_modules/yocto-queue/package.json +43 -0
- package/node_modules/yocto-queue/readme.md +64 -0
- package/package.json +7 -5
- package/s9pk.mk +8 -4
- package/node_modules/@start9labs/start-core/osBindings/BindingSetGuaAccessParams.d.ts +0 -7
- package/node_modules/@start9labs/start-core/osBindings/BindingSetGuaAccessParams.js +0 -3
- package/node_modules/@start9labs/start-core/osBindings/BindingSetGuaAccessParams.js.map +0 -1
- package/node_modules/@start9labs/start-core/osBindings/GuaAccess.d.ts +0 -18
- package/node_modules/@start9labs/start-core/osBindings/GuaAccess.js +0 -4
- package/node_modules/@start9labs/start-core/osBindings/GuaAccess.js.map +0 -1
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetIpv6Params.d.ts +0 -7
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetIpv6Params.js +0 -4
- package/node_modules/@start9labs/start-core/osBindings/tunnel/SetIpv6Params.js.map +0 -1
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/LICENSE +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/README.md +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/index.d.ts +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/create-date.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/create-datetime-float.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/create-datetime.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/create-time.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/format-num.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/parser-debug.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/parser.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/lib/toml-parser.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/package.json +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/parse-async.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/parse-pretty-error.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/parse-stream.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/parse-string.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/parse.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/stringify.js +0 -0
- /package/node_modules/{@iarna → @start9labs/start-core/node_modules/@iarna}/toml/toml.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/LICENSE +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/README.md +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/_shortw_utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/_shortw_utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/_shortw_utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/_shortw_utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/bls.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/bls.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/bls.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/bls.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/curve.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/curve.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/curve.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/curve.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/edwards.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/edwards.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/edwards.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/edwards.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/fft.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/fft.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/fft.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/fft.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/hash-to-curve.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/hash-to-curve.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/hash-to-curve.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/hash-to-curve.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/modular.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/modular.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/modular.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/modular.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/montgomery.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/montgomery.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/montgomery.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/montgomery.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/poseidon.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/poseidon.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/poseidon.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/poseidon.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/tower.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/tower.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/tower.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/tower.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/weierstrass.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/weierstrass.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/weierstrass.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/abstract/weierstrass.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bls12-381.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bls12-381.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bls12-381.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bls12-381.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bn254.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bn254.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bn254.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/bn254.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed25519.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed25519.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed25519.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed25519.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed448.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed448.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed448.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/ed448.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/_shortw_utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/_shortw_utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/_shortw_utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/_shortw_utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/bls.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/bls.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/bls.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/bls.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/curve.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/curve.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/curve.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/curve.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/edwards.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/edwards.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/edwards.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/edwards.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/fft.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/fft.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/fft.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/fft.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/hash-to-curve.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/hash-to-curve.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/hash-to-curve.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/hash-to-curve.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/modular.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/modular.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/modular.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/modular.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/montgomery.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/montgomery.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/montgomery.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/montgomery.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/poseidon.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/poseidon.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/poseidon.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/poseidon.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/tower.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/tower.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/tower.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/tower.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/weierstrass.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/weierstrass.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/weierstrass.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/abstract/weierstrass.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bls12-381.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bls12-381.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bls12-381.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bls12-381.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bn254.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bn254.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bn254.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/bn254.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed25519.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed25519.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed25519.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed25519.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed448.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed448.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed448.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/ed448.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/index.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/index.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/index.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/index.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/jubjub.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/jubjub.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/jubjub.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/jubjub.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/misc.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/misc.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/misc.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/misc.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/nist.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/nist.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/nist.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/nist.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p256.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p256.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p256.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p256.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p384.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p384.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p384.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p384.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p521.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p521.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p521.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/p521.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/package.json +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/pasta.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/pasta.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/pasta.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/pasta.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/secp256k1.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/secp256k1.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/secp256k1.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/secp256k1.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/esm/utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/index.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/index.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/index.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/index.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/jubjub.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/jubjub.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/jubjub.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/jubjub.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/misc.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/misc.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/misc.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/misc.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/nist.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/nist.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/nist.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/nist.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p256.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p256.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p256.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p256.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p384.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p384.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p384.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p384.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p521.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p521.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p521.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/p521.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/package.json +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/pasta.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/pasta.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/pasta.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/pasta.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/secp256k1.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/secp256k1.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/secp256k1.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/secp256k1.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/_shortw_utils.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/bls.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/curve.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/edwards.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/fft.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/hash-to-curve.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/modular.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/montgomery.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/poseidon.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/tower.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/utils.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/abstract/weierstrass.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/bls12-381.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/bn254.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/ed25519.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/ed448.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/index.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/jubjub.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/misc.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/nist.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/p256.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/p384.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/p521.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/package.json +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/pasta.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/secp256k1.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/src/utils.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/curves/utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/LICENSE +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/README.md +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_assert.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_assert.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_assert.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_assert.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_blake.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_blake.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_blake.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_blake.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_md.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_md.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_md.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_md.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_u64.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_u64.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_u64.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/_u64.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/argon2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/argon2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/argon2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/argon2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake1.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake1.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake1.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake1.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2b.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2b.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2b.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2b.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2s.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2s.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2s.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake2s.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake3.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake3.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake3.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/blake3.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/crypto.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/crypto.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/crypto.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/crypto.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/cryptoNode.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/cryptoNode.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/cryptoNode.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/cryptoNode.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/eskdf.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/eskdf.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/eskdf.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/eskdf.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_assert.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_assert.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_assert.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_assert.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_blake.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_blake.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_blake.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_blake.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_md.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_md.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_md.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_md.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_u64.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_u64.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_u64.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/_u64.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/argon2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/argon2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/argon2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/argon2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake1.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake1.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake1.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake1.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2b.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2b.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2b.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2b.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2s.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2s.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2s.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake2s.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake3.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake3.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake3.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/blake3.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/crypto.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/crypto.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/crypto.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/crypto.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/cryptoNode.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/cryptoNode.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/cryptoNode.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/cryptoNode.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/eskdf.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/eskdf.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/eskdf.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/eskdf.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hkdf.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hkdf.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hkdf.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hkdf.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hmac.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hmac.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hmac.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/hmac.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/index.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/index.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/index.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/index.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/legacy.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/legacy.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/legacy.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/legacy.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/package.json +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/pbkdf2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/pbkdf2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/pbkdf2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/pbkdf2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/ripemd160.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/ripemd160.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/ripemd160.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/ripemd160.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/scrypt.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/scrypt.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/scrypt.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/scrypt.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha1.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha1.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha1.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha1.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha256.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha256.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha256.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha256.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3-addons.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3-addons.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3-addons.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3-addons.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha3.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha512.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha512.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha512.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/sha512.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/esm/utils.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hkdf.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hkdf.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hkdf.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hkdf.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hmac.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hmac.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hmac.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/hmac.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/index.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/index.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/index.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/index.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/legacy.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/legacy.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/legacy.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/legacy.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/package.json +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/pbkdf2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/pbkdf2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/pbkdf2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/pbkdf2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/ripemd160.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/ripemd160.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/ripemd160.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/ripemd160.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/scrypt.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/scrypt.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/scrypt.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/scrypt.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha1.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha1.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha1.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha1.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha2.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha2.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha2.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha2.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha256.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha256.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha256.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha256.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3-addons.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3-addons.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3-addons.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3-addons.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha3.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha512.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha512.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha512.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/sha512.js.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/_assert.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/_blake.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/_md.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/_u64.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/argon2.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/blake1.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/blake2.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/blake2b.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/blake2s.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/blake3.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/crypto.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/cryptoNode.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/eskdf.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/hkdf.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/hmac.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/index.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/legacy.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/pbkdf2.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/ripemd160.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/scrypt.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/sha1.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/sha2.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/sha256.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/sha3-addons.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/sha3.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/sha512.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/src/utils.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/utils.d.ts +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/utils.d.ts.map +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/utils.js +0 -0
- /package/node_modules/{@noble → @start9labs/start-core/node_modules/@noble}/hashes/utils.js.map +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/.editorconfig +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/.jshintrc +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/.travis.yml +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/LICENSE +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/README.md +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/bower.json +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/fetch-bower.js +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/fetch-npm-browserify.js +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/fetch-npm-node.js +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/package.json +0 -0
- /package/node_modules/{isomorphic-fetch → @start9labs/start-core/node_modules/isomorphic-fetch}/test/api.test.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/LICENSE +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/README.md +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/bin/cli.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/Mime.d.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/Mime.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/index.d.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/index.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/index_lite.d.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/index_lite.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/mime_cli.d.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/src/mime_cli.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/types/other.d.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/types/other.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/types/standard.d.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/dist/types/standard.js +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/package.json +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/src/Mime.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/src/index.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/src/index_lite.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/src/mime_cli.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/types/other.ts +0 -0
- /package/node_modules/{mime → @start9labs/start-core/node_modules/mime}/types/standard.ts +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/LICENSE.md +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/README.md +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/browser.js +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/lib/index.es.js +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/lib/index.js +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/lib/index.mjs +0 -0
- /package/node_modules/{node-fetch → @start9labs/start-core/node_modules/node-fetch}/package.json +0 -0
- /package/node_modules/{object-hash → @start9labs/start-core/node_modules/object-hash}/LICENSE +0 -0
- /package/node_modules/{object-hash → @start9labs/start-core/node_modules/object-hash}/dist/object_hash.js +0 -0
- /package/node_modules/{object-hash → @start9labs/start-core/node_modules/object-hash}/index.js +0 -0
- /package/node_modules/{object-hash → @start9labs/start-core/node_modules/object-hash}/package.json +0 -0
- /package/node_modules/{object-hash → @start9labs/start-core/node_modules/object-hash}/readme.markdown +0 -0
- /package/node_modules/{tr46 → @start9labs/start-core/node_modules/tr46}/.npmignore +0 -0
- /package/node_modules/{tr46 → @start9labs/start-core/node_modules/tr46}/index.js +0 -0
- /package/node_modules/{tr46 → @start9labs/start-core/node_modules/tr46}/lib/.gitkeep +0 -0
- /package/node_modules/{tr46 → @start9labs/start-core/node_modules/tr46}/lib/mappingTable.json +0 -0
- /package/node_modules/{tr46 → @start9labs/start-core/node_modules/tr46}/package.json +0 -0
- /package/node_modules/{webidl-conversions → @start9labs/start-core/node_modules/webidl-conversions}/LICENSE.md +0 -0
- /package/node_modules/{webidl-conversions → @start9labs/start-core/node_modules/webidl-conversions}/README.md +0 -0
- /package/node_modules/{webidl-conversions → @start9labs/start-core/node_modules/webidl-conversions}/lib/index.js +0 -0
- /package/node_modules/{webidl-conversions → @start9labs/start-core/node_modules/webidl-conversions}/package.json +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/LICENSE +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/README.md +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/dist/fetch.umd.js +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/dist/fetch.umd.js.flow +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/fetch.js +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/fetch.js.flow +0 -0
- /package/node_modules/{whatwg-fetch → @start9labs/start-core/node_modules/whatwg-fetch}/package.json +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/LICENSE.txt +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/README.md +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/lib/URL-impl.js +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/lib/URL.js +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/lib/public-api.js +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/lib/url-state-machine.js +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/lib/utils.js +0 -0
- /package/node_modules/{whatwg-url → @start9labs/start-core/node_modules/whatwg-url}/package.json +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/LICENSE +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/README.md +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/bin.mjs +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/compose-collection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/compose-doc.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/compose-node.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/compose-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/composer.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-block-map.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-block-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-block-seq.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-end.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-flow-collection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-flow-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/resolve-props.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/util-contains-newline.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/util-empty-scalar-position.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/util-flow-indent-check.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/compose/util-map-includes.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/doc/Document.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/doc/anchors.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/doc/applyReviver.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/doc/createNode.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/doc/directives.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/errors.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/index.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/log.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/Alias.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/Collection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/Node.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/Pair.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/Scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/YAMLMap.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/YAMLSeq.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/addPairToJSMap.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/identity.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/nodes/toJS.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/cst-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/cst-stringify.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/cst-visit.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/cst.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/lexer.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/line-counter.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/parse/parser.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/public-api.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/Schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/common/map.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/common/null.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/common/seq.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/common/string.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/core/bool.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/core/float.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/core/int.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/core/schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/json/schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/tags.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/binary.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/bool.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/float.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/int.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/merge.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/omap.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/pairs.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/set.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/schema/yaml-1.1/timestamp.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/foldFlowLines.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringify.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringifyCollection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringifyComment.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringifyDocument.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringifyNumber.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringifyPair.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/stringify/stringifyString.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/util.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/dist/visit.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/index.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/browser/package.json +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/cli.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/cli.mjs +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-collection.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-collection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-doc.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-doc.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-node.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-node.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-scalar.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/compose-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/composer.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/composer.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-block-map.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-block-map.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-block-scalar.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-block-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-block-seq.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-block-seq.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-end.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-end.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-flow-collection.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-flow-collection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-flow-scalar.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-flow-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-props.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/resolve-props.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-contains-newline.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-contains-newline.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-empty-scalar-position.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-empty-scalar-position.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-flow-indent-check.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-flow-indent-check.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-map-includes.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/compose/util-map-includes.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/Document.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/Document.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/anchors.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/anchors.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/applyReviver.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/applyReviver.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/createNode.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/createNode.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/directives.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/doc/directives.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/errors.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/errors.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/index.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/index.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/log.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/log.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Alias.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Alias.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Collection.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Collection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Node.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Node.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Pair.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Pair.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Scalar.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/Scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/YAMLMap.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/YAMLMap.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/YAMLSeq.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/YAMLSeq.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/addPairToJSMap.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/addPairToJSMap.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/identity.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/identity.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/toJS.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/nodes/toJS.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/options.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst-scalar.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst-scalar.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst-stringify.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst-stringify.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst-visit.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst-visit.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/cst.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/lexer.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/lexer.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/line-counter.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/line-counter.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/parser.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/parse/parser.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/public-api.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/public-api.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/Schema.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/Schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/map.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/map.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/null.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/null.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/seq.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/seq.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/string.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/common/string.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/bool.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/bool.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/float.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/float.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/int.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/int.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/schema.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/core/schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/json/schema.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/json/schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/json-schema.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/tags.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/tags.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/types.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/binary.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/binary.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/bool.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/bool.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/float.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/float.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/int.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/int.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/merge.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/merge.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/omap.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/omap.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/pairs.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/pairs.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/schema.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/schema.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/set.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/set.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/timestamp.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/schema/yaml-1.1/timestamp.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/foldFlowLines.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/foldFlowLines.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringify.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringify.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyCollection.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyCollection.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyComment.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyComment.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyDocument.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyDocument.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyNumber.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyNumber.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyPair.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyPair.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyString.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/stringify/stringifyString.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/test-events.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/test-events.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/util.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/util.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/visit.d.ts +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/dist/visit.js +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/package.json +0 -0
- /package/node_modules/{yaml → @start9labs/start-core/node_modules/yaml}/util.js +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/LICENSE +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/README.md +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/dist/index.d.ts +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/dist/index.js +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/dist/index.js.map +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/dist/types.d.ts +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/dist/types.js +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/dist/types.js.map +0 -0
- /package/node_modules/{zod-deep-partial → @start9labs/start-core/node_modules/zod-deep-partial}/package.json +0 -0
|
@@ -0,0 +1,2733 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Common utils for AST.
|
|
3
|
+
* @author Gyandeep Singh
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
//------------------------------------------------------------------------------
|
|
9
|
+
// Requirements
|
|
10
|
+
//------------------------------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
const { KEYS: eslintVisitorKeys } = require("eslint-visitor-keys");
|
|
13
|
+
const esutils = require("esutils");
|
|
14
|
+
const espree = require("espree");
|
|
15
|
+
const escapeRegExp = require("escape-string-regexp");
|
|
16
|
+
const {
|
|
17
|
+
breakableTypePattern,
|
|
18
|
+
createGlobalLinebreakMatcher,
|
|
19
|
+
lineBreakPattern,
|
|
20
|
+
shebangPattern,
|
|
21
|
+
} = require("../../shared/ast-utils");
|
|
22
|
+
const globals = require("../../../conf/globals");
|
|
23
|
+
const { LATEST_ECMA_VERSION } = require("../../../conf/ecma-version");
|
|
24
|
+
|
|
25
|
+
//------------------------------------------------------------------------------
|
|
26
|
+
// Helpers
|
|
27
|
+
//------------------------------------------------------------------------------
|
|
28
|
+
|
|
29
|
+
const anyFunctionPattern =
|
|
30
|
+
/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u;
|
|
31
|
+
const anyLoopPattern = /^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u;
|
|
32
|
+
const arrayMethodWithThisArgPattern =
|
|
33
|
+
/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|some)$/u;
|
|
34
|
+
const arrayOrTypedArrayPattern = /Array$/u;
|
|
35
|
+
const bindOrCallOrApplyPattern = /^(?:bind|call|apply)$/u;
|
|
36
|
+
const thisTagPattern = /^[\s*]*@this/mu;
|
|
37
|
+
|
|
38
|
+
const COMMENTS_IGNORE_PATTERN =
|
|
39
|
+
/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u;
|
|
40
|
+
const ESLINT_DIRECTIVE_PATTERN = /^(?:eslint[- ]|(?:globals?|exported) )/u;
|
|
41
|
+
const LINEBREAKS = new Set(["\r\n", "\r", "\n", "\u2028", "\u2029"]);
|
|
42
|
+
|
|
43
|
+
// A set of node types that can contain a list of statements
|
|
44
|
+
const STATEMENT_LIST_PARENTS = new Set([
|
|
45
|
+
"Program",
|
|
46
|
+
"BlockStatement",
|
|
47
|
+
"StaticBlock",
|
|
48
|
+
"SwitchCase",
|
|
49
|
+
]);
|
|
50
|
+
const LEXICAL_DECLARATION_KINDS = new Set([
|
|
51
|
+
"let",
|
|
52
|
+
"const",
|
|
53
|
+
"using",
|
|
54
|
+
"await using",
|
|
55
|
+
]);
|
|
56
|
+
|
|
57
|
+
const DECIMAL_INTEGER_PATTERN = /^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u;
|
|
58
|
+
|
|
59
|
+
// Tests the presence of at least one LegacyOctalEscapeSequence or NonOctalDecimalEscapeSequence in a raw string
|
|
60
|
+
const OCTAL_OR_NON_OCTAL_DECIMAL_ESCAPE_PATTERN =
|
|
61
|
+
/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su;
|
|
62
|
+
|
|
63
|
+
const LOGICAL_ASSIGNMENT_OPERATORS = new Set(["&&=", "||=", "??="]);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* All builtin global variables defined in the latest ECMAScript specification.
|
|
67
|
+
* @type {Record<string,boolean>} Key is the name of the variable. Value is `true` if the variable is considered writable, `false` otherwise.
|
|
68
|
+
*/
|
|
69
|
+
const ECMASCRIPT_GLOBALS = globals[`es${LATEST_ECMA_VERSION}`];
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Checks reference if is non initializer and writable.
|
|
73
|
+
* @param {Reference} reference A reference to check.
|
|
74
|
+
* @param {number} index The index of the reference in the references.
|
|
75
|
+
* @param {Reference[]} references The array that the reference belongs to.
|
|
76
|
+
* @returns {boolean} Success/Failure
|
|
77
|
+
* @private
|
|
78
|
+
*/
|
|
79
|
+
function isModifyingReference(reference, index, references) {
|
|
80
|
+
const identifier = reference.identifier;
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* Destructuring assignments can have multiple default value, so
|
|
84
|
+
* possibly there are multiple writeable references for the same
|
|
85
|
+
* identifier.
|
|
86
|
+
*/
|
|
87
|
+
const modifyingDifferentIdentifier =
|
|
88
|
+
index === 0 || references[index - 1].identifier !== identifier;
|
|
89
|
+
|
|
90
|
+
return (
|
|
91
|
+
identifier &&
|
|
92
|
+
reference.init === false &&
|
|
93
|
+
reference.isWrite() &&
|
|
94
|
+
modifyingDifferentIdentifier
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Checks whether the given string starts with uppercase or not.
|
|
100
|
+
* @param {string} s The string to check.
|
|
101
|
+
* @returns {boolean} `true` if the string starts with uppercase.
|
|
102
|
+
*/
|
|
103
|
+
function startsWithUpperCase(s) {
|
|
104
|
+
return s[0] !== s[0].toLocaleLowerCase();
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Checks whether or not a node is a constructor.
|
|
109
|
+
* @param {ASTNode} node A function node to check.
|
|
110
|
+
* @returns {boolean} Whether or not a node is a constructor.
|
|
111
|
+
*/
|
|
112
|
+
function isES5Constructor(node) {
|
|
113
|
+
return node.id && startsWithUpperCase(node.id.name);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Finds a function node from ancestors of a node.
|
|
118
|
+
* @param {ASTNode} node A start node to find.
|
|
119
|
+
* @returns {Node|null} A found function node.
|
|
120
|
+
*/
|
|
121
|
+
function getUpperFunction(node) {
|
|
122
|
+
for (
|
|
123
|
+
let currentNode = node;
|
|
124
|
+
currentNode;
|
|
125
|
+
currentNode = currentNode.parent
|
|
126
|
+
) {
|
|
127
|
+
if (anyFunctionPattern.test(currentNode.type)) {
|
|
128
|
+
return currentNode;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Checks whether a given node is a function node or not.
|
|
136
|
+
* The following types are function nodes:
|
|
137
|
+
*
|
|
138
|
+
* - ArrowFunctionExpression
|
|
139
|
+
* - FunctionDeclaration
|
|
140
|
+
* - FunctionExpression
|
|
141
|
+
* @param {ASTNode|null} node A node to check.
|
|
142
|
+
* @returns {boolean} `true` if the node is a function node.
|
|
143
|
+
*/
|
|
144
|
+
function isFunction(node) {
|
|
145
|
+
return Boolean(node && anyFunctionPattern.test(node.type));
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Checks whether a given node is a loop node or not.
|
|
150
|
+
* The following types are loop nodes:
|
|
151
|
+
*
|
|
152
|
+
* - DoWhileStatement
|
|
153
|
+
* - ForInStatement
|
|
154
|
+
* - ForOfStatement
|
|
155
|
+
* - ForStatement
|
|
156
|
+
* - WhileStatement
|
|
157
|
+
* @param {ASTNode|null} node A node to check.
|
|
158
|
+
* @returns {boolean} `true` if the node is a loop node.
|
|
159
|
+
*/
|
|
160
|
+
function isLoop(node) {
|
|
161
|
+
return Boolean(node && anyLoopPattern.test(node.type));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Checks whether the given node is in a loop or not.
|
|
166
|
+
* @param {ASTNode} node The node to check.
|
|
167
|
+
* @returns {boolean} `true` if the node is in a loop.
|
|
168
|
+
*/
|
|
169
|
+
function isInLoop(node) {
|
|
170
|
+
for (
|
|
171
|
+
let currentNode = node;
|
|
172
|
+
currentNode && !isFunction(currentNode);
|
|
173
|
+
currentNode = currentNode.parent
|
|
174
|
+
) {
|
|
175
|
+
if (isLoop(currentNode)) {
|
|
176
|
+
return true;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return false;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Determines whether the given node is a `null` literal.
|
|
185
|
+
* @param {ASTNode} node The node to check
|
|
186
|
+
* @returns {boolean} `true` if the node is a `null` literal
|
|
187
|
+
*/
|
|
188
|
+
function isNullLiteral(node) {
|
|
189
|
+
/*
|
|
190
|
+
* Checking `node.value === null` does not guarantee that a literal is a null literal.
|
|
191
|
+
* When parsing values that cannot be represented in the current environment (e.g. unicode
|
|
192
|
+
* regexes in Node 4), `node.value` is set to `null` because it wouldn't be possible to
|
|
193
|
+
* set `node.value` to a unicode regex. To make sure a literal is actually `null`, check
|
|
194
|
+
* `node.regex` instead. Also see: https://github.com/eslint/eslint/issues/8020
|
|
195
|
+
*/
|
|
196
|
+
return (
|
|
197
|
+
node.type === "Literal" &&
|
|
198
|
+
node.value === null &&
|
|
199
|
+
!node.regex &&
|
|
200
|
+
!node.bigint
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Checks whether or not a node is `null` or `undefined`.
|
|
206
|
+
* @param {ASTNode} node A node to check.
|
|
207
|
+
* @returns {boolean} Whether or not the node is a `null` or `undefined`.
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
function isNullOrUndefined(node) {
|
|
211
|
+
return (
|
|
212
|
+
isNullLiteral(node) ||
|
|
213
|
+
(node.type === "Identifier" && node.name === "undefined") ||
|
|
214
|
+
(node.type === "UnaryExpression" && node.operator === "void")
|
|
215
|
+
);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Checks whether or not a node is callee.
|
|
220
|
+
* @param {ASTNode} node A node to check.
|
|
221
|
+
* @returns {boolean} Whether or not the node is callee.
|
|
222
|
+
*/
|
|
223
|
+
function isCallee(node) {
|
|
224
|
+
return node.parent.type === "CallExpression" && node.parent.callee === node;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Returns the result of the string conversion applied to the evaluated value of the given expression node,
|
|
229
|
+
* if it can be determined statically.
|
|
230
|
+
*
|
|
231
|
+
* This function returns a `string` value for all `Literal` nodes and simple `TemplateLiteral` nodes only.
|
|
232
|
+
* In all other cases, this function returns `null`.
|
|
233
|
+
* @param {ASTNode} node Expression node.
|
|
234
|
+
* @returns {string|null} String value if it can be determined. Otherwise, `null`.
|
|
235
|
+
*/
|
|
236
|
+
function getStaticStringValue(node) {
|
|
237
|
+
switch (node.type) {
|
|
238
|
+
case "Literal":
|
|
239
|
+
if (node.value === null) {
|
|
240
|
+
if (isNullLiteral(node)) {
|
|
241
|
+
return String(node.value); // "null"
|
|
242
|
+
}
|
|
243
|
+
if (node.regex) {
|
|
244
|
+
return `/${node.regex.pattern}/${node.regex.flags}`;
|
|
245
|
+
}
|
|
246
|
+
if (node.bigint) {
|
|
247
|
+
return node.bigint;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// Otherwise, this is an unknown literal. The function will return null.
|
|
251
|
+
} else {
|
|
252
|
+
return String(node.value);
|
|
253
|
+
}
|
|
254
|
+
break;
|
|
255
|
+
case "TemplateLiteral":
|
|
256
|
+
if (node.expressions.length === 0 && node.quasis.length === 1) {
|
|
257
|
+
return node.quasis[0].value.cooked;
|
|
258
|
+
}
|
|
259
|
+
break;
|
|
260
|
+
|
|
261
|
+
// no default
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
return null;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Gets the property name of a given node.
|
|
269
|
+
* The node can be a MemberExpression, a Property, or a MethodDefinition.
|
|
270
|
+
*
|
|
271
|
+
* If the name is dynamic, this returns `null`.
|
|
272
|
+
*
|
|
273
|
+
* For examples:
|
|
274
|
+
*
|
|
275
|
+
* a.b // => "b"
|
|
276
|
+
* a["b"] // => "b"
|
|
277
|
+
* a['b'] // => "b"
|
|
278
|
+
* a[`b`] // => "b"
|
|
279
|
+
* a[100] // => "100"
|
|
280
|
+
* a[b] // => null
|
|
281
|
+
* a["a" + "b"] // => null
|
|
282
|
+
* a[tag`b`] // => null
|
|
283
|
+
* a[`${b}`] // => null
|
|
284
|
+
*
|
|
285
|
+
* let a = {b: 1} // => "b"
|
|
286
|
+
* let a = {["b"]: 1} // => "b"
|
|
287
|
+
* let a = {['b']: 1} // => "b"
|
|
288
|
+
* let a = {[`b`]: 1} // => "b"
|
|
289
|
+
* let a = {[100]: 1} // => "100"
|
|
290
|
+
* let a = {[b]: 1} // => null
|
|
291
|
+
* let a = {["a" + "b"]: 1} // => null
|
|
292
|
+
* let a = {[tag`b`]: 1} // => null
|
|
293
|
+
* let a = {[`${b}`]: 1} // => null
|
|
294
|
+
* @param {ASTNode} node The node to get.
|
|
295
|
+
* @returns {string|null} The property name if static. Otherwise, null.
|
|
296
|
+
*/
|
|
297
|
+
function getStaticPropertyName(node) {
|
|
298
|
+
let prop;
|
|
299
|
+
|
|
300
|
+
switch (node && node.type) {
|
|
301
|
+
case "ChainExpression":
|
|
302
|
+
return getStaticPropertyName(node.expression);
|
|
303
|
+
|
|
304
|
+
case "Property":
|
|
305
|
+
case "PropertyDefinition":
|
|
306
|
+
case "MethodDefinition":
|
|
307
|
+
case "TSPropertySignature":
|
|
308
|
+
case "TSMethodSignature":
|
|
309
|
+
prop = node.key;
|
|
310
|
+
break;
|
|
311
|
+
|
|
312
|
+
case "MemberExpression":
|
|
313
|
+
prop = node.property;
|
|
314
|
+
break;
|
|
315
|
+
|
|
316
|
+
// no default
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
if (prop) {
|
|
320
|
+
if (prop.type === "Identifier" && !node.computed) {
|
|
321
|
+
return prop.name;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
return getStaticStringValue(prop);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
return null;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Retrieve `ChainExpression#expression` value if the given node a `ChainExpression` node. Otherwise, pass through it.
|
|
332
|
+
* @param {ASTNode} node The node to address.
|
|
333
|
+
* @returns {ASTNode} The `ChainExpression#expression` value if the node is a `ChainExpression` node. Otherwise, the node.
|
|
334
|
+
*/
|
|
335
|
+
function skipChainExpression(node) {
|
|
336
|
+
return node && node.type === "ChainExpression" ? node.expression : node;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Check if the `actual` is an expected value.
|
|
341
|
+
* @param {string} actual The string value to check.
|
|
342
|
+
* @param {string | RegExp} expected The expected string value or pattern.
|
|
343
|
+
* @returns {boolean} `true` if the `actual` is an expected value.
|
|
344
|
+
*/
|
|
345
|
+
function checkText(actual, expected) {
|
|
346
|
+
return typeof expected === "string"
|
|
347
|
+
? actual === expected
|
|
348
|
+
: expected.test(actual);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Check if a given node is an Identifier node with a given name.
|
|
353
|
+
* @param {ASTNode} node The node to check.
|
|
354
|
+
* @param {string | RegExp} name The expected name or the expected pattern of the object name.
|
|
355
|
+
* @returns {boolean} `true` if the node is an Identifier node with the name.
|
|
356
|
+
*/
|
|
357
|
+
function isSpecificId(node, name) {
|
|
358
|
+
return node.type === "Identifier" && checkText(node.name, name);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Check if a given node is member access with a given object name and property name pair.
|
|
363
|
+
* This is regardless of optional or not.
|
|
364
|
+
* @param {ASTNode} node The node to check.
|
|
365
|
+
* @param {string | RegExp | null} objectName The expected name or the expected pattern of the object name. If this is nullish, this method doesn't check object.
|
|
366
|
+
* @param {string | RegExp | null} propertyName The expected name or the expected pattern of the property name. If this is nullish, this method doesn't check property.
|
|
367
|
+
* @returns {boolean} `true` if the node is member access with the object name and property name pair.
|
|
368
|
+
* The node is a `MemberExpression` or `ChainExpression`.
|
|
369
|
+
*/
|
|
370
|
+
function isSpecificMemberAccess(node, objectName, propertyName) {
|
|
371
|
+
const checkNode = skipChainExpression(node);
|
|
372
|
+
|
|
373
|
+
if (checkNode.type !== "MemberExpression") {
|
|
374
|
+
return false;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
if (objectName && !isSpecificId(checkNode.object, objectName)) {
|
|
378
|
+
return false;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
if (propertyName) {
|
|
382
|
+
const actualPropertyName = getStaticPropertyName(checkNode);
|
|
383
|
+
|
|
384
|
+
if (
|
|
385
|
+
typeof actualPropertyName !== "string" ||
|
|
386
|
+
!checkText(actualPropertyName, propertyName)
|
|
387
|
+
) {
|
|
388
|
+
return false;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
return true;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Check if two literal nodes are the same value.
|
|
397
|
+
* @param {ASTNode} left The Literal node to compare.
|
|
398
|
+
* @param {ASTNode} right The other Literal node to compare.
|
|
399
|
+
* @returns {boolean} `true` if the two literal nodes are the same value.
|
|
400
|
+
*/
|
|
401
|
+
function equalLiteralValue(left, right) {
|
|
402
|
+
// RegExp literal.
|
|
403
|
+
if (left.regex || right.regex) {
|
|
404
|
+
return Boolean(
|
|
405
|
+
left.regex &&
|
|
406
|
+
right.regex &&
|
|
407
|
+
left.regex.pattern === right.regex.pattern &&
|
|
408
|
+
left.regex.flags === right.regex.flags,
|
|
409
|
+
);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
// BigInt literal.
|
|
413
|
+
if (left.bigint || right.bigint) {
|
|
414
|
+
return left.bigint === right.bigint;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
return left.value === right.value;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Check if two expressions reference the same value. For example:
|
|
422
|
+
* a = a
|
|
423
|
+
* a.b = a.b
|
|
424
|
+
* a[0] = a[0]
|
|
425
|
+
* a['b'] = a['b']
|
|
426
|
+
* @param {ASTNode} left The left side of the comparison.
|
|
427
|
+
* @param {ASTNode} right The right side of the comparison.
|
|
428
|
+
* @param {boolean} [disableStaticComputedKey] Don't address `a.b` and `a["b"]` are the same if `true`. For backward compatibility.
|
|
429
|
+
* @returns {boolean} `true` if both sides match and reference the same value.
|
|
430
|
+
*/
|
|
431
|
+
function isSameReference(left, right, disableStaticComputedKey = false) {
|
|
432
|
+
if (left.type !== right.type) {
|
|
433
|
+
// Handle `a.b` and `a?.b` are samely.
|
|
434
|
+
if (left.type === "ChainExpression") {
|
|
435
|
+
return isSameReference(
|
|
436
|
+
left.expression,
|
|
437
|
+
right,
|
|
438
|
+
disableStaticComputedKey,
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
if (right.type === "ChainExpression") {
|
|
442
|
+
return isSameReference(
|
|
443
|
+
left,
|
|
444
|
+
right.expression,
|
|
445
|
+
disableStaticComputedKey,
|
|
446
|
+
);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
return false;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
switch (left.type) {
|
|
453
|
+
case "Super":
|
|
454
|
+
case "ThisExpression":
|
|
455
|
+
return true;
|
|
456
|
+
|
|
457
|
+
case "Identifier":
|
|
458
|
+
case "PrivateIdentifier":
|
|
459
|
+
return left.name === right.name;
|
|
460
|
+
case "Literal":
|
|
461
|
+
return equalLiteralValue(left, right);
|
|
462
|
+
|
|
463
|
+
case "ChainExpression":
|
|
464
|
+
return isSameReference(
|
|
465
|
+
left.expression,
|
|
466
|
+
right.expression,
|
|
467
|
+
disableStaticComputedKey,
|
|
468
|
+
);
|
|
469
|
+
|
|
470
|
+
case "MemberExpression": {
|
|
471
|
+
if (!disableStaticComputedKey) {
|
|
472
|
+
const nameA = getStaticPropertyName(left);
|
|
473
|
+
|
|
474
|
+
// x.y = x["y"]
|
|
475
|
+
if (nameA !== null) {
|
|
476
|
+
return (
|
|
477
|
+
isSameReference(
|
|
478
|
+
left.object,
|
|
479
|
+
right.object,
|
|
480
|
+
disableStaticComputedKey,
|
|
481
|
+
) && nameA === getStaticPropertyName(right)
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/*
|
|
487
|
+
* x[0] = x[0]
|
|
488
|
+
* x[y] = x[y]
|
|
489
|
+
* x.y = x.y
|
|
490
|
+
*/
|
|
491
|
+
return (
|
|
492
|
+
left.computed === right.computed &&
|
|
493
|
+
isSameReference(
|
|
494
|
+
left.object,
|
|
495
|
+
right.object,
|
|
496
|
+
disableStaticComputedKey,
|
|
497
|
+
) &&
|
|
498
|
+
isSameReference(
|
|
499
|
+
left.property,
|
|
500
|
+
right.property,
|
|
501
|
+
disableStaticComputedKey,
|
|
502
|
+
)
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
default:
|
|
507
|
+
return false;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Checks whether or not a node is `Reflect.apply`.
|
|
513
|
+
* @param {ASTNode} node A node to check.
|
|
514
|
+
* @returns {boolean} Whether or not the node is a `Reflect.apply`.
|
|
515
|
+
*/
|
|
516
|
+
function isReflectApply(node) {
|
|
517
|
+
return isSpecificMemberAccess(node, "Reflect", "apply");
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Checks whether or not a node is `Array.from`.
|
|
522
|
+
* @param {ASTNode} node A node to check.
|
|
523
|
+
* @returns {boolean} Whether or not the node is a `Array.from`.
|
|
524
|
+
*/
|
|
525
|
+
function isArrayFromMethod(node) {
|
|
526
|
+
return isSpecificMemberAccess(node, arrayOrTypedArrayPattern, "from");
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Checks whether or not a node is a method which expects a function as a first argument, and `thisArg` as a second argument.
|
|
531
|
+
* @param {ASTNode} node A node to check.
|
|
532
|
+
* @returns {boolean} Whether or not the node is a method which expects a function as a first argument, and `thisArg` as a second argument.
|
|
533
|
+
*/
|
|
534
|
+
function isMethodWhichHasThisArg(node) {
|
|
535
|
+
return isSpecificMemberAccess(node, null, arrayMethodWithThisArgPattern);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Creates the negate function of the given function.
|
|
540
|
+
* @param {Function} f The function to negate.
|
|
541
|
+
* @returns {Function} Negated function.
|
|
542
|
+
*/
|
|
543
|
+
function negate(f) {
|
|
544
|
+
return token => !f(token);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Checks whether or not a node has a `@this` tag in its comments.
|
|
549
|
+
* @param {ASTNode} node A node to check.
|
|
550
|
+
* @param {SourceCode} sourceCode A SourceCode instance to get comments.
|
|
551
|
+
* @returns {boolean} Whether or not the node has a `@this` tag in its comments.
|
|
552
|
+
*/
|
|
553
|
+
function hasJSDocThisTag(node, sourceCode) {
|
|
554
|
+
const jsdocComment = sourceCode.getJSDocComment(node);
|
|
555
|
+
|
|
556
|
+
if (jsdocComment && thisTagPattern.test(jsdocComment.value)) {
|
|
557
|
+
return true;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
// Checks `@this` in its leading comments for callbacks,
|
|
561
|
+
// because callbacks don't have its JSDoc comment.
|
|
562
|
+
// e.g.
|
|
563
|
+
// sinon.test(/* @this sinon.Sandbox */function() { this.spy(); });
|
|
564
|
+
return sourceCode
|
|
565
|
+
.getCommentsBefore(node)
|
|
566
|
+
.some(comment => thisTagPattern.test(comment.value));
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Determines if a node is surrounded by parentheses.
|
|
571
|
+
* @param {SourceCode} sourceCode The ESLint source code object
|
|
572
|
+
* @param {ASTNode} node The node to be checked.
|
|
573
|
+
* @returns {boolean} True if the node is parenthesised.
|
|
574
|
+
* @private
|
|
575
|
+
*/
|
|
576
|
+
function isParenthesised(sourceCode, node) {
|
|
577
|
+
const previousToken = sourceCode.getTokenBefore(node),
|
|
578
|
+
nextToken = sourceCode.getTokenAfter(node);
|
|
579
|
+
|
|
580
|
+
return (
|
|
581
|
+
Boolean(previousToken && nextToken) &&
|
|
582
|
+
previousToken.value === "(" &&
|
|
583
|
+
previousToken.range[1] <= node.range[0] &&
|
|
584
|
+
nextToken.value === ")" &&
|
|
585
|
+
nextToken.range[0] >= node.range[1]
|
|
586
|
+
);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Checks if the given token is a `=` token or not.
|
|
591
|
+
* @param {Token} token The token to check.
|
|
592
|
+
* @returns {boolean} `true` if the token is a `=` token.
|
|
593
|
+
*/
|
|
594
|
+
function isEqToken(token) {
|
|
595
|
+
return token.value === "=" && token.type === "Punctuator";
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Checks if the given token is an arrow token or not.
|
|
600
|
+
* @param {Token} token The token to check.
|
|
601
|
+
* @returns {boolean} `true` if the token is an arrow token.
|
|
602
|
+
*/
|
|
603
|
+
function isArrowToken(token) {
|
|
604
|
+
return token.value === "=>" && token.type === "Punctuator";
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Checks if the given token is a comma token or not.
|
|
609
|
+
* @param {Token} token The token to check.
|
|
610
|
+
* @returns {boolean} `true` if the token is a comma token.
|
|
611
|
+
*/
|
|
612
|
+
function isCommaToken(token) {
|
|
613
|
+
return token.value === "," && token.type === "Punctuator";
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Checks if the given token is a dot token or not.
|
|
618
|
+
* @param {Token} token The token to check.
|
|
619
|
+
* @returns {boolean} `true` if the token is a dot token.
|
|
620
|
+
*/
|
|
621
|
+
function isDotToken(token) {
|
|
622
|
+
return token.value === "." && token.type === "Punctuator";
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Checks if the given token is a `?.` token or not.
|
|
627
|
+
* @param {Token} token The token to check.
|
|
628
|
+
* @returns {boolean} `true` if the token is a `?.` token.
|
|
629
|
+
*/
|
|
630
|
+
function isQuestionDotToken(token) {
|
|
631
|
+
return token.value === "?." && token.type === "Punctuator";
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Checks if the given token is a semicolon token or not.
|
|
636
|
+
* @param {Token} token The token to check.
|
|
637
|
+
* @returns {boolean} `true` if the token is a semicolon token.
|
|
638
|
+
*/
|
|
639
|
+
function isSemicolonToken(token) {
|
|
640
|
+
return token.value === ";" && token.type === "Punctuator";
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Checks if the given token is a colon token or not.
|
|
645
|
+
* @param {Token} token The token to check.
|
|
646
|
+
* @returns {boolean} `true` if the token is a colon token.
|
|
647
|
+
*/
|
|
648
|
+
function isColonToken(token) {
|
|
649
|
+
return token.value === ":" && token.type === "Punctuator";
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Checks if the given token is an opening parenthesis token or not.
|
|
654
|
+
* @param {Token} token The token to check.
|
|
655
|
+
* @returns {boolean} `true` if the token is an opening parenthesis token.
|
|
656
|
+
*/
|
|
657
|
+
function isOpeningParenToken(token) {
|
|
658
|
+
return token.value === "(" && token.type === "Punctuator";
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Checks if the given token is a closing parenthesis token or not.
|
|
663
|
+
* @param {Token} token The token to check.
|
|
664
|
+
* @returns {boolean} `true` if the token is a closing parenthesis token.
|
|
665
|
+
*/
|
|
666
|
+
function isClosingParenToken(token) {
|
|
667
|
+
return token.value === ")" && token.type === "Punctuator";
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Checks if the given token is an opening square bracket token or not.
|
|
672
|
+
* @param {Token} token The token to check.
|
|
673
|
+
* @returns {boolean} `true` if the token is an opening square bracket token.
|
|
674
|
+
*/
|
|
675
|
+
function isOpeningBracketToken(token) {
|
|
676
|
+
return token.value === "[" && token.type === "Punctuator";
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Checks if the given token is a closing square bracket token or not.
|
|
681
|
+
* @param {Token} token The token to check.
|
|
682
|
+
* @returns {boolean} `true` if the token is a closing square bracket token.
|
|
683
|
+
*/
|
|
684
|
+
function isClosingBracketToken(token) {
|
|
685
|
+
return token.value === "]" && token.type === "Punctuator";
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Checks if the given token is an opening brace token or not.
|
|
690
|
+
* @param {Token} token The token to check.
|
|
691
|
+
* @returns {boolean} `true` if the token is an opening brace token.
|
|
692
|
+
*/
|
|
693
|
+
function isOpeningBraceToken(token) {
|
|
694
|
+
return token.value === "{" && token.type === "Punctuator";
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Checks if the given token is a closing brace token or not.
|
|
699
|
+
* @param {Token} token The token to check.
|
|
700
|
+
* @returns {boolean} `true` if the token is a closing brace token.
|
|
701
|
+
*/
|
|
702
|
+
function isClosingBraceToken(token) {
|
|
703
|
+
return token.value === "}" && token.type === "Punctuator";
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Checks if the given token is a comment token or not.
|
|
708
|
+
* @param {Token} token The token to check.
|
|
709
|
+
* @returns {boolean} `true` if the token is a comment token.
|
|
710
|
+
*/
|
|
711
|
+
function isCommentToken(token) {
|
|
712
|
+
return (
|
|
713
|
+
token.type === "Line" ||
|
|
714
|
+
token.type === "Block" ||
|
|
715
|
+
token.type === "Shebang"
|
|
716
|
+
);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Checks if the given token is a keyword token or not.
|
|
721
|
+
* @param {Token} token The token to check.
|
|
722
|
+
* @returns {boolean} `true` if the token is a keyword token.
|
|
723
|
+
*/
|
|
724
|
+
function isKeywordToken(token) {
|
|
725
|
+
return token.type === "Keyword";
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Gets the `(` token of the given function node.
|
|
730
|
+
* @param {ASTNode} node The function node to get.
|
|
731
|
+
* @param {SourceCode} sourceCode The source code object to get tokens.
|
|
732
|
+
* @returns {Token} `(` token.
|
|
733
|
+
*/
|
|
734
|
+
function getOpeningParenOfParams(node, sourceCode) {
|
|
735
|
+
// If the node is an arrow function and doesn't have parens, this returns the identifier of the first param.
|
|
736
|
+
if (node.type === "ArrowFunctionExpression" && node.params.length === 1) {
|
|
737
|
+
const argToken = sourceCode.getFirstToken(node.params[0]);
|
|
738
|
+
const maybeParenToken = sourceCode.getTokenBefore(argToken);
|
|
739
|
+
|
|
740
|
+
return isOpeningParenToken(maybeParenToken)
|
|
741
|
+
? maybeParenToken
|
|
742
|
+
: argToken;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
// Otherwise, returns paren.
|
|
746
|
+
return node.id
|
|
747
|
+
? sourceCode.getTokenAfter(node.id, isOpeningParenToken)
|
|
748
|
+
: sourceCode.getFirstToken(node, isOpeningParenToken);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Checks whether or not the tokens of two given nodes are same.
|
|
753
|
+
* @param {ASTNode} left A node 1 to compare.
|
|
754
|
+
* @param {ASTNode} right A node 2 to compare.
|
|
755
|
+
* @param {SourceCode} sourceCode The ESLint source code object.
|
|
756
|
+
* @returns {boolean} the source code for the given node.
|
|
757
|
+
*/
|
|
758
|
+
function equalTokens(left, right, sourceCode) {
|
|
759
|
+
const tokensL = sourceCode.getTokens(left);
|
|
760
|
+
const tokensR = sourceCode.getTokens(right);
|
|
761
|
+
|
|
762
|
+
if (tokensL.length !== tokensR.length) {
|
|
763
|
+
return false;
|
|
764
|
+
}
|
|
765
|
+
for (let i = 0; i < tokensL.length; ++i) {
|
|
766
|
+
if (
|
|
767
|
+
tokensL[i].type !== tokensR[i].type ||
|
|
768
|
+
tokensL[i].value !== tokensR[i].value
|
|
769
|
+
) {
|
|
770
|
+
return false;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
return true;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Check if the given node is a true logical expression or not.
|
|
779
|
+
*
|
|
780
|
+
* The three binary expressions logical-or (`||`), logical-and (`&&`), and
|
|
781
|
+
* coalesce (`??`) are known as `ShortCircuitExpression`.
|
|
782
|
+
* But ESTree represents those by `LogicalExpression` node.
|
|
783
|
+
*
|
|
784
|
+
* This function rejects coalesce expressions of `LogicalExpression` node.
|
|
785
|
+
* @param {ASTNode} node The node to check.
|
|
786
|
+
* @returns {boolean} `true` if the node is `&&` or `||`.
|
|
787
|
+
* @see https://tc39.es/ecma262/#prod-ShortCircuitExpression
|
|
788
|
+
*/
|
|
789
|
+
function isLogicalExpression(node) {
|
|
790
|
+
return (
|
|
791
|
+
node.type === "LogicalExpression" &&
|
|
792
|
+
(node.operator === "&&" || node.operator === "||")
|
|
793
|
+
);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Check if the given node is a nullish coalescing expression or not.
|
|
798
|
+
*
|
|
799
|
+
* The three binary expressions logical-or (`||`), logical-and (`&&`), and
|
|
800
|
+
* coalesce (`??`) are known as `ShortCircuitExpression`.
|
|
801
|
+
* But ESTree represents those by `LogicalExpression` node.
|
|
802
|
+
*
|
|
803
|
+
* This function finds only coalesce expressions of `LogicalExpression` node.
|
|
804
|
+
* @param {ASTNode} node The node to check.
|
|
805
|
+
* @returns {boolean} `true` if the node is `??`.
|
|
806
|
+
*/
|
|
807
|
+
function isCoalesceExpression(node) {
|
|
808
|
+
return node.type === "LogicalExpression" && node.operator === "??";
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Check if given two nodes are the pair of a logical expression and a coalesce expression.
|
|
813
|
+
* @param {ASTNode} left A node to check.
|
|
814
|
+
* @param {ASTNode} right Another node to check.
|
|
815
|
+
* @returns {boolean} `true` if the two nodes are the pair of a logical expression and a coalesce expression.
|
|
816
|
+
*/
|
|
817
|
+
function isMixedLogicalAndCoalesceExpressions(left, right) {
|
|
818
|
+
return (
|
|
819
|
+
(isLogicalExpression(left) && isCoalesceExpression(right)) ||
|
|
820
|
+
(isCoalesceExpression(left) && isLogicalExpression(right))
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Checks if the given operator is a logical assignment operator.
|
|
826
|
+
* @param {string} operator The operator to check.
|
|
827
|
+
* @returns {boolean} `true` if the operator is a logical assignment operator.
|
|
828
|
+
*/
|
|
829
|
+
function isLogicalAssignmentOperator(operator) {
|
|
830
|
+
return LOGICAL_ASSIGNMENT_OPERATORS.has(operator);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Get the colon token of the given SwitchCase node.
|
|
835
|
+
* @param {ASTNode} node The SwitchCase node to get.
|
|
836
|
+
* @param {SourceCode} sourceCode The source code object to get tokens.
|
|
837
|
+
* @returns {Token} The colon token of the node.
|
|
838
|
+
*/
|
|
839
|
+
function getSwitchCaseColonToken(node, sourceCode) {
|
|
840
|
+
if (node.test) {
|
|
841
|
+
return sourceCode.getTokenAfter(node.test, isColonToken);
|
|
842
|
+
}
|
|
843
|
+
return sourceCode.getFirstToken(node, 1);
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Gets ESM module export name represented by the given node.
|
|
848
|
+
* @param {ASTNode} node `Identifier` or string `Literal` node in a position
|
|
849
|
+
* that represents a module export name:
|
|
850
|
+
* - `ImportSpecifier#imported`
|
|
851
|
+
* - `ExportSpecifier#local` (if it is a re-export from another module)
|
|
852
|
+
* - `ExportSpecifier#exported`
|
|
853
|
+
* - `ExportAllDeclaration#exported`
|
|
854
|
+
* @returns {string} The module export name.
|
|
855
|
+
*/
|
|
856
|
+
function getModuleExportName(node) {
|
|
857
|
+
if (node.type === "Identifier") {
|
|
858
|
+
return node.name;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
// string literal
|
|
862
|
+
return node.value;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Returns literal's value converted to the Boolean type
|
|
867
|
+
* @param {ASTNode} node any `Literal` node
|
|
868
|
+
* @returns {boolean | null} `true` when node is truthy, `false` when node is falsy,
|
|
869
|
+
* `null` when it cannot be determined.
|
|
870
|
+
*/
|
|
871
|
+
function getBooleanValue(node) {
|
|
872
|
+
if (node.value === null) {
|
|
873
|
+
/*
|
|
874
|
+
* it might be a null literal or bigint/regex literal in unsupported environments .
|
|
875
|
+
* https://github.com/estree/estree/blob/14df8a024956ea289bd55b9c2226a1d5b8a473ee/es5.md#regexpliteral
|
|
876
|
+
* https://github.com/estree/estree/blob/14df8a024956ea289bd55b9c2226a1d5b8a473ee/es2020.md#bigintliteral
|
|
877
|
+
*/
|
|
878
|
+
|
|
879
|
+
if (node.raw === "null") {
|
|
880
|
+
return false;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
// regex is always truthy
|
|
884
|
+
if (typeof node.regex === "object") {
|
|
885
|
+
return true;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
return null;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
return !!node.value;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* Checks if a branch node of LogicalExpression short circuits the whole condition
|
|
896
|
+
* @param {ASTNode} node The branch of main condition which needs to be checked
|
|
897
|
+
* @param {string} operator The operator of the main LogicalExpression.
|
|
898
|
+
* @returns {boolean} true when condition short circuits whole condition
|
|
899
|
+
*/
|
|
900
|
+
function isLogicalIdentity(node, operator) {
|
|
901
|
+
switch (node.type) {
|
|
902
|
+
case "Literal":
|
|
903
|
+
return (
|
|
904
|
+
(operator === "||" && getBooleanValue(node) === true) ||
|
|
905
|
+
(operator === "&&" && getBooleanValue(node) === false)
|
|
906
|
+
);
|
|
907
|
+
|
|
908
|
+
case "UnaryExpression":
|
|
909
|
+
return operator === "&&" && node.operator === "void";
|
|
910
|
+
|
|
911
|
+
case "LogicalExpression":
|
|
912
|
+
/*
|
|
913
|
+
* handles `a && false || b`
|
|
914
|
+
* `false` is an identity element of `&&` but not `||`
|
|
915
|
+
*/
|
|
916
|
+
return (
|
|
917
|
+
operator === node.operator &&
|
|
918
|
+
(isLogicalIdentity(node.left, operator) ||
|
|
919
|
+
isLogicalIdentity(node.right, operator))
|
|
920
|
+
);
|
|
921
|
+
|
|
922
|
+
case "AssignmentExpression":
|
|
923
|
+
return (
|
|
924
|
+
["||=", "&&="].includes(node.operator) &&
|
|
925
|
+
operator === node.operator.slice(0, -1) &&
|
|
926
|
+
isLogicalIdentity(node.right, operator)
|
|
927
|
+
);
|
|
928
|
+
|
|
929
|
+
// no default
|
|
930
|
+
}
|
|
931
|
+
return false;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Checks if an identifier is a reference to a global variable.
|
|
936
|
+
* @param {Scope} scope The scope in which the identifier is referenced.
|
|
937
|
+
* @param {ASTNode} node An identifier node to check.
|
|
938
|
+
* @returns {boolean} `true` if the identifier is a reference to a global variable.
|
|
939
|
+
*/
|
|
940
|
+
function isReferenceToGlobalVariable(scope, node) {
|
|
941
|
+
const reference = scope.references.find(ref => ref.identifier === node);
|
|
942
|
+
|
|
943
|
+
return Boolean(
|
|
944
|
+
reference &&
|
|
945
|
+
reference.resolved &&
|
|
946
|
+
reference.resolved.scope.type === "global" &&
|
|
947
|
+
reference.resolved.defs.length === 0,
|
|
948
|
+
);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Checks if a node has a constant truthiness value.
|
|
953
|
+
* @param {Scope} scope Scope in which the node appears.
|
|
954
|
+
* @param {ASTNode} node The AST node to check.
|
|
955
|
+
* @param {boolean} inBooleanPosition `true` if checking the test of a
|
|
956
|
+
* condition. `false` in all other cases. When `false`, checks if -- for
|
|
957
|
+
* both string and number -- if coerced to that type, the value will
|
|
958
|
+
* be constant.
|
|
959
|
+
* @returns {boolean} true when node's truthiness is constant
|
|
960
|
+
* @private
|
|
961
|
+
*/
|
|
962
|
+
function isConstant(scope, node, inBooleanPosition) {
|
|
963
|
+
// node.elements can return null values in the case of sparse arrays ex. [,]
|
|
964
|
+
if (!node) {
|
|
965
|
+
return true;
|
|
966
|
+
}
|
|
967
|
+
switch (node.type) {
|
|
968
|
+
case "Literal":
|
|
969
|
+
case "ArrowFunctionExpression":
|
|
970
|
+
case "FunctionExpression":
|
|
971
|
+
return true;
|
|
972
|
+
case "ClassExpression":
|
|
973
|
+
case "ObjectExpression":
|
|
974
|
+
/**
|
|
975
|
+
* In theory objects like:
|
|
976
|
+
*
|
|
977
|
+
* `{toString: () => a}`
|
|
978
|
+
* `{valueOf: () => a}`
|
|
979
|
+
*
|
|
980
|
+
* Or a classes like:
|
|
981
|
+
*
|
|
982
|
+
* `class { static toString() { return a } }`
|
|
983
|
+
* `class { static valueOf() { return a } }`
|
|
984
|
+
*
|
|
985
|
+
* Are not constant verifiably when `inBooleanPosition` is
|
|
986
|
+
* false, but it's an edge case we've opted not to handle.
|
|
987
|
+
*/
|
|
988
|
+
return true;
|
|
989
|
+
case "TemplateLiteral":
|
|
990
|
+
return (
|
|
991
|
+
(inBooleanPosition &&
|
|
992
|
+
node.quasis.some(quasi => quasi.value.cooked.length)) ||
|
|
993
|
+
node.expressions.every(exp => isConstant(scope, exp, false))
|
|
994
|
+
);
|
|
995
|
+
|
|
996
|
+
case "ArrayExpression": {
|
|
997
|
+
if (!inBooleanPosition) {
|
|
998
|
+
return node.elements.every(element =>
|
|
999
|
+
isConstant(scope, element, false),
|
|
1000
|
+
);
|
|
1001
|
+
}
|
|
1002
|
+
return true;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
case "UnaryExpression":
|
|
1006
|
+
if (
|
|
1007
|
+
node.operator === "void" ||
|
|
1008
|
+
(node.operator === "typeof" && inBooleanPosition)
|
|
1009
|
+
) {
|
|
1010
|
+
return true;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
if (node.operator === "!") {
|
|
1014
|
+
return isConstant(scope, node.argument, true);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
return isConstant(scope, node.argument, false);
|
|
1018
|
+
|
|
1019
|
+
case "BinaryExpression":
|
|
1020
|
+
return (
|
|
1021
|
+
isConstant(scope, node.left, false) &&
|
|
1022
|
+
isConstant(scope, node.right, false) &&
|
|
1023
|
+
node.operator !== "in"
|
|
1024
|
+
);
|
|
1025
|
+
|
|
1026
|
+
case "LogicalExpression": {
|
|
1027
|
+
const isLeftConstant = isConstant(
|
|
1028
|
+
scope,
|
|
1029
|
+
node.left,
|
|
1030
|
+
inBooleanPosition,
|
|
1031
|
+
);
|
|
1032
|
+
const isRightConstant = isConstant(
|
|
1033
|
+
scope,
|
|
1034
|
+
node.right,
|
|
1035
|
+
inBooleanPosition,
|
|
1036
|
+
);
|
|
1037
|
+
const isLeftShortCircuit =
|
|
1038
|
+
isLeftConstant && isLogicalIdentity(node.left, node.operator);
|
|
1039
|
+
const isRightShortCircuit =
|
|
1040
|
+
inBooleanPosition &&
|
|
1041
|
+
isRightConstant &&
|
|
1042
|
+
isLogicalIdentity(node.right, node.operator);
|
|
1043
|
+
|
|
1044
|
+
return (
|
|
1045
|
+
(isLeftConstant && isRightConstant) ||
|
|
1046
|
+
isLeftShortCircuit ||
|
|
1047
|
+
isRightShortCircuit
|
|
1048
|
+
);
|
|
1049
|
+
}
|
|
1050
|
+
case "NewExpression":
|
|
1051
|
+
return inBooleanPosition;
|
|
1052
|
+
case "AssignmentExpression":
|
|
1053
|
+
if (node.operator === "=") {
|
|
1054
|
+
return isConstant(scope, node.right, inBooleanPosition);
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
if (["||=", "&&="].includes(node.operator) && inBooleanPosition) {
|
|
1058
|
+
return isLogicalIdentity(
|
|
1059
|
+
node.right,
|
|
1060
|
+
node.operator.slice(0, -1),
|
|
1061
|
+
);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
return false;
|
|
1065
|
+
|
|
1066
|
+
case "SequenceExpression":
|
|
1067
|
+
return isConstant(
|
|
1068
|
+
scope,
|
|
1069
|
+
node.expressions.at(-1),
|
|
1070
|
+
inBooleanPosition,
|
|
1071
|
+
);
|
|
1072
|
+
case "SpreadElement":
|
|
1073
|
+
return isConstant(scope, node.argument, inBooleanPosition);
|
|
1074
|
+
case "CallExpression":
|
|
1075
|
+
if (
|
|
1076
|
+
node.callee.type === "Identifier" &&
|
|
1077
|
+
node.callee.name === "Boolean"
|
|
1078
|
+
) {
|
|
1079
|
+
if (
|
|
1080
|
+
node.arguments.length === 0 ||
|
|
1081
|
+
isConstant(scope, node.arguments[0], true)
|
|
1082
|
+
) {
|
|
1083
|
+
return isReferenceToGlobalVariable(scope, node.callee);
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
return false;
|
|
1087
|
+
case "Identifier":
|
|
1088
|
+
return (
|
|
1089
|
+
node.name === "undefined" &&
|
|
1090
|
+
isReferenceToGlobalVariable(scope, node)
|
|
1091
|
+
);
|
|
1092
|
+
|
|
1093
|
+
// no default
|
|
1094
|
+
}
|
|
1095
|
+
return false;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Checks whether a node is an ExpressionStatement at the top level of a file, function body, or TypeScript module block.
|
|
1100
|
+
* A top-level ExpressionStatement node is a directive if it contains a single unparenthesized
|
|
1101
|
+
* string literal and if it occurs either as the first sibling or immediately after another
|
|
1102
|
+
* directive.
|
|
1103
|
+
* @param {ASTNode} node The node to check.
|
|
1104
|
+
* @returns {boolean} Whether or not the node is an ExpressionStatement at the top level of a
|
|
1105
|
+
* file, function body, or TypeScript module block.
|
|
1106
|
+
*/
|
|
1107
|
+
function isTopLevelExpressionStatement(node) {
|
|
1108
|
+
if (node.type !== "ExpressionStatement") {
|
|
1109
|
+
return false;
|
|
1110
|
+
}
|
|
1111
|
+
const parent = node.parent;
|
|
1112
|
+
|
|
1113
|
+
return (
|
|
1114
|
+
parent.type === "Program" ||
|
|
1115
|
+
parent.type === "TSModuleBlock" ||
|
|
1116
|
+
(parent.type === "BlockStatement" && isFunction(parent.parent))
|
|
1117
|
+
);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Check whether the given node is a part of a directive prologue or not.
|
|
1122
|
+
* @param {ASTNode} node The node to check.
|
|
1123
|
+
* @returns {boolean} `true` if the node is a part of directive prologue.
|
|
1124
|
+
*/
|
|
1125
|
+
function isDirective(node) {
|
|
1126
|
+
return (
|
|
1127
|
+
node.type === "ExpressionStatement" &&
|
|
1128
|
+
typeof node.directive === "string"
|
|
1129
|
+
);
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* Tests if a node appears at the beginning of an ancestor ExpressionStatement node.
|
|
1134
|
+
* @param {ASTNode} node The node to check.
|
|
1135
|
+
* @returns {boolean} Whether the node appears at the beginning of an ancestor ExpressionStatement node.
|
|
1136
|
+
*/
|
|
1137
|
+
function isStartOfExpressionStatement(node) {
|
|
1138
|
+
const start = node.range[0];
|
|
1139
|
+
let ancestor = node;
|
|
1140
|
+
|
|
1141
|
+
while ((ancestor = ancestor.parent) && ancestor.range[0] === start) {
|
|
1142
|
+
if (ancestor.type === "ExpressionStatement") {
|
|
1143
|
+
return true;
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
return false;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Determines whether an opening parenthesis `(`, bracket `[` or backtick ``` ` ``` needs to be preceded by a semicolon.
|
|
1151
|
+
* This opening parenthesis or bracket should be at the start of an `ExpressionStatement`, a `MethodDefinition` or at
|
|
1152
|
+
* the start of the body of an `ArrowFunctionExpression`.
|
|
1153
|
+
* @type {(sourceCode: SourceCode, node: ASTNode) => boolean}
|
|
1154
|
+
* @param {SourceCode} sourceCode The source code object.
|
|
1155
|
+
* @param {ASTNode} node A node at the position where an opening parenthesis or bracket will be inserted.
|
|
1156
|
+
* @returns {boolean} Whether a semicolon is required before the opening parenthesis or bracket.
|
|
1157
|
+
*/
|
|
1158
|
+
let needsPrecedingSemicolon;
|
|
1159
|
+
|
|
1160
|
+
{
|
|
1161
|
+
const BREAK_OR_CONTINUE = new Set(["BreakStatement", "ContinueStatement"]);
|
|
1162
|
+
|
|
1163
|
+
// Declaration types that cannot be continued by a punctuator when ending with a string Literal that is a direct child.
|
|
1164
|
+
const DECLARATIONS = new Set([
|
|
1165
|
+
"ExportAllDeclaration",
|
|
1166
|
+
"ExportNamedDeclaration",
|
|
1167
|
+
"ImportDeclaration",
|
|
1168
|
+
]);
|
|
1169
|
+
|
|
1170
|
+
const IDENTIFIER_OR_KEYWORD = new Set(["Identifier", "Keyword"]);
|
|
1171
|
+
|
|
1172
|
+
// Keywords that can immediately precede an ExpressionStatement node, mapped to the their node types.
|
|
1173
|
+
const NODE_TYPES_BY_KEYWORD = {
|
|
1174
|
+
__proto__: null,
|
|
1175
|
+
break: "BreakStatement",
|
|
1176
|
+
continue: "ContinueStatement",
|
|
1177
|
+
debugger: "DebuggerStatement",
|
|
1178
|
+
do: "DoWhileStatement",
|
|
1179
|
+
else: "IfStatement",
|
|
1180
|
+
return: "ReturnStatement",
|
|
1181
|
+
yield: "YieldExpression",
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
/*
|
|
1185
|
+
* Before an opening parenthesis, postfix `++` and `--` always trigger ASI;
|
|
1186
|
+
* the tokens `:`, `;`, `{` and `=>` don't expect a semicolon, as that would count as an empty statement.
|
|
1187
|
+
*/
|
|
1188
|
+
const PUNCTUATORS = new Set([":", ";", "{", "=>", "++", "--"]);
|
|
1189
|
+
|
|
1190
|
+
/*
|
|
1191
|
+
* Statements that can contain an `ExpressionStatement` after a closing parenthesis.
|
|
1192
|
+
* DoWhileStatement is an exception in that it always triggers ASI after the closing parenthesis.
|
|
1193
|
+
*/
|
|
1194
|
+
const STATEMENTS = new Set([
|
|
1195
|
+
"DoWhileStatement",
|
|
1196
|
+
"ForInStatement",
|
|
1197
|
+
"ForOfStatement",
|
|
1198
|
+
"ForStatement",
|
|
1199
|
+
"IfStatement",
|
|
1200
|
+
"WhileStatement",
|
|
1201
|
+
"WithStatement",
|
|
1202
|
+
]);
|
|
1203
|
+
|
|
1204
|
+
const TS_TYPE_NODE_TYPES = new Set([
|
|
1205
|
+
"TSAsExpression",
|
|
1206
|
+
"TSSatisfiesExpression",
|
|
1207
|
+
"TSTypeAliasDeclaration",
|
|
1208
|
+
"TSTypeAnnotation",
|
|
1209
|
+
]);
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Determines whether a specified node is inside a TypeScript type context.
|
|
1213
|
+
* @param {ASTNode} node The node to check.
|
|
1214
|
+
* @returns {boolean} Whether the node is inside a TypeScript type context.
|
|
1215
|
+
*/
|
|
1216
|
+
function isInType(node) {
|
|
1217
|
+
for (let currNode = node; ; ) {
|
|
1218
|
+
const { parent } = currNode;
|
|
1219
|
+
if (!parent) {
|
|
1220
|
+
break;
|
|
1221
|
+
}
|
|
1222
|
+
if (
|
|
1223
|
+
TS_TYPE_NODE_TYPES.has(parent.type) &&
|
|
1224
|
+
currNode === parent.typeAnnotation
|
|
1225
|
+
) {
|
|
1226
|
+
return true;
|
|
1227
|
+
}
|
|
1228
|
+
currNode = parent;
|
|
1229
|
+
}
|
|
1230
|
+
return false;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
needsPrecedingSemicolon = function (sourceCode, node) {
|
|
1234
|
+
const prevToken = sourceCode.getTokenBefore(node);
|
|
1235
|
+
|
|
1236
|
+
if (
|
|
1237
|
+
!prevToken ||
|
|
1238
|
+
(prevToken.type === "Punctuator" &&
|
|
1239
|
+
PUNCTUATORS.has(prevToken.value))
|
|
1240
|
+
) {
|
|
1241
|
+
return false;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
const prevNode = sourceCode.getNodeByRangeIndex(prevToken.range[0]);
|
|
1245
|
+
|
|
1246
|
+
if (
|
|
1247
|
+
prevNode.type === "TSDeclareFunction" ||
|
|
1248
|
+
prevNode.parent.type === "TSImportEqualsDeclaration" ||
|
|
1249
|
+
prevNode.parent.parent?.type === "TSImportEqualsDeclaration" ||
|
|
1250
|
+
TS_TYPE_NODE_TYPES.has(prevNode.type) ||
|
|
1251
|
+
isInType(prevNode)
|
|
1252
|
+
) {
|
|
1253
|
+
return false;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
if (isClosingParenToken(prevToken)) {
|
|
1257
|
+
return !STATEMENTS.has(prevNode.type);
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
if (isClosingBraceToken(prevToken)) {
|
|
1261
|
+
return (
|
|
1262
|
+
(prevNode.type === "BlockStatement" &&
|
|
1263
|
+
prevNode.parent.type === "FunctionExpression" &&
|
|
1264
|
+
prevNode.parent.parent.type !== "MethodDefinition") ||
|
|
1265
|
+
(prevNode.type === "ClassBody" &&
|
|
1266
|
+
prevNode.parent.type === "ClassExpression") ||
|
|
1267
|
+
prevNode.type === "ObjectExpression"
|
|
1268
|
+
);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
if (IDENTIFIER_OR_KEYWORD.has(prevToken.type)) {
|
|
1272
|
+
if (
|
|
1273
|
+
prevNode.parent.type === "VariableDeclarator" &&
|
|
1274
|
+
!prevNode.parent.init
|
|
1275
|
+
) {
|
|
1276
|
+
return false;
|
|
1277
|
+
}
|
|
1278
|
+
if (BREAK_OR_CONTINUE.has(prevNode.parent.type)) {
|
|
1279
|
+
return false;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
const keyword = prevToken.value;
|
|
1283
|
+
const nodeType = NODE_TYPES_BY_KEYWORD[keyword];
|
|
1284
|
+
|
|
1285
|
+
return prevNode.type !== nodeType;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
if (prevToken.type === "String") {
|
|
1289
|
+
return !DECLARATIONS.has(prevNode.parent.type);
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
return true;
|
|
1293
|
+
};
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Checks if a node is used as an import attribute key, either in a static or dynamic import.
|
|
1298
|
+
* @param {ASTNode} node The node to check.
|
|
1299
|
+
* @returns {boolean} Whether the node is used as an import attribute key.
|
|
1300
|
+
*/
|
|
1301
|
+
function isImportAttributeKey(node) {
|
|
1302
|
+
const { parent } = node;
|
|
1303
|
+
|
|
1304
|
+
// static import/re-export
|
|
1305
|
+
if (parent.type === "ImportAttribute" && parent.key === node) {
|
|
1306
|
+
return true;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
// dynamic import
|
|
1310
|
+
if (
|
|
1311
|
+
parent.type === "Property" &&
|
|
1312
|
+
!parent.computed &&
|
|
1313
|
+
(parent.key === node ||
|
|
1314
|
+
(parent.value === node && parent.shorthand && !parent.method)) &&
|
|
1315
|
+
parent.parent.type === "ObjectExpression"
|
|
1316
|
+
) {
|
|
1317
|
+
const objectExpression = parent.parent;
|
|
1318
|
+
const objectExpressionParent = objectExpression.parent;
|
|
1319
|
+
|
|
1320
|
+
if (
|
|
1321
|
+
objectExpressionParent.type === "ImportExpression" &&
|
|
1322
|
+
objectExpressionParent.options === objectExpression
|
|
1323
|
+
) {
|
|
1324
|
+
return true;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
// nested key
|
|
1328
|
+
if (
|
|
1329
|
+
objectExpressionParent.type === "Property" &&
|
|
1330
|
+
objectExpressionParent.value === objectExpression
|
|
1331
|
+
) {
|
|
1332
|
+
return isImportAttributeKey(objectExpressionParent.key);
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
return false;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
//------------------------------------------------------------------------------
|
|
1340
|
+
// Public Interface
|
|
1341
|
+
//------------------------------------------------------------------------------
|
|
1342
|
+
|
|
1343
|
+
module.exports = {
|
|
1344
|
+
COMMENTS_IGNORE_PATTERN,
|
|
1345
|
+
LINEBREAKS,
|
|
1346
|
+
LINEBREAK_MATCHER: lineBreakPattern,
|
|
1347
|
+
SHEBANG_MATCHER: shebangPattern,
|
|
1348
|
+
STATEMENT_LIST_PARENTS,
|
|
1349
|
+
ECMASCRIPT_GLOBALS,
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Determines whether two adjacent tokens are on the same line.
|
|
1353
|
+
* @param {Object} left The left token object.
|
|
1354
|
+
* @param {Object} right The right token object.
|
|
1355
|
+
* @returns {boolean} Whether or not the tokens are on the same line.
|
|
1356
|
+
* @public
|
|
1357
|
+
*/
|
|
1358
|
+
isTokenOnSameLine(left, right) {
|
|
1359
|
+
return left.loc.end.line === right.loc.start.line;
|
|
1360
|
+
},
|
|
1361
|
+
|
|
1362
|
+
isNullOrUndefined,
|
|
1363
|
+
isCallee,
|
|
1364
|
+
isES5Constructor,
|
|
1365
|
+
getUpperFunction,
|
|
1366
|
+
isFunction,
|
|
1367
|
+
isLoop,
|
|
1368
|
+
isInLoop,
|
|
1369
|
+
isArrayFromMethod,
|
|
1370
|
+
isParenthesised,
|
|
1371
|
+
createGlobalLinebreakMatcher,
|
|
1372
|
+
equalTokens,
|
|
1373
|
+
|
|
1374
|
+
isArrowToken,
|
|
1375
|
+
isClosingBraceToken,
|
|
1376
|
+
isClosingBracketToken,
|
|
1377
|
+
isClosingParenToken,
|
|
1378
|
+
isColonToken,
|
|
1379
|
+
isCommaToken,
|
|
1380
|
+
isCommentToken,
|
|
1381
|
+
isDotToken,
|
|
1382
|
+
isQuestionDotToken,
|
|
1383
|
+
isKeywordToken,
|
|
1384
|
+
isNotClosingBraceToken: negate(isClosingBraceToken),
|
|
1385
|
+
isNotClosingBracketToken: negate(isClosingBracketToken),
|
|
1386
|
+
isNotClosingParenToken: negate(isClosingParenToken),
|
|
1387
|
+
isNotColonToken: negate(isColonToken),
|
|
1388
|
+
isNotCommaToken: negate(isCommaToken),
|
|
1389
|
+
isNotDotToken: negate(isDotToken),
|
|
1390
|
+
isNotQuestionDotToken: negate(isQuestionDotToken),
|
|
1391
|
+
isNotOpeningBraceToken: negate(isOpeningBraceToken),
|
|
1392
|
+
isNotOpeningBracketToken: negate(isOpeningBracketToken),
|
|
1393
|
+
isNotOpeningParenToken: negate(isOpeningParenToken),
|
|
1394
|
+
isNotSemicolonToken: negate(isSemicolonToken),
|
|
1395
|
+
isOpeningBraceToken,
|
|
1396
|
+
isOpeningBracketToken,
|
|
1397
|
+
isOpeningParenToken,
|
|
1398
|
+
isSemicolonToken,
|
|
1399
|
+
isEqToken,
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Checks whether or not a given node is a string literal.
|
|
1403
|
+
* @param {ASTNode} node A node to check.
|
|
1404
|
+
* @returns {boolean} `true` if the node is a string literal.
|
|
1405
|
+
*/
|
|
1406
|
+
isStringLiteral(node) {
|
|
1407
|
+
return (
|
|
1408
|
+
(node.type === "Literal" && typeof node.value === "string") ||
|
|
1409
|
+
node.type === "TemplateLiteral"
|
|
1410
|
+
);
|
|
1411
|
+
},
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* Checks whether a given node is a breakable statement or not.
|
|
1415
|
+
* The node is breakable if the node is one of the following type:
|
|
1416
|
+
*
|
|
1417
|
+
* - DoWhileStatement
|
|
1418
|
+
* - ForInStatement
|
|
1419
|
+
* - ForOfStatement
|
|
1420
|
+
* - ForStatement
|
|
1421
|
+
* - SwitchStatement
|
|
1422
|
+
* - WhileStatement
|
|
1423
|
+
* @param {ASTNode} node A node to check.
|
|
1424
|
+
* @returns {boolean} `true` if the node is breakable.
|
|
1425
|
+
*/
|
|
1426
|
+
isBreakableStatement(node) {
|
|
1427
|
+
return breakableTypePattern.test(node.type);
|
|
1428
|
+
},
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* Gets references which are non initializer and writable.
|
|
1432
|
+
* @param {Reference[]} references An array of references.
|
|
1433
|
+
* @returns {Reference[]} An array of only references which are non initializer and writable.
|
|
1434
|
+
* @public
|
|
1435
|
+
*/
|
|
1436
|
+
getModifyingReferences(references) {
|
|
1437
|
+
return references.filter(isModifyingReference);
|
|
1438
|
+
},
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* Validate that a string passed in is surrounded by the specified character
|
|
1442
|
+
* @param {string} val The text to check.
|
|
1443
|
+
* @param {string} character The character to see if it's surrounded by.
|
|
1444
|
+
* @returns {boolean} True if the text is surrounded by the character, false if not.
|
|
1445
|
+
* @private
|
|
1446
|
+
*/
|
|
1447
|
+
isSurroundedBy(val, character) {
|
|
1448
|
+
return val[0] === character && val.at(-1) === character;
|
|
1449
|
+
},
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Returns whether the provided node is an ESLint directive comment or not
|
|
1453
|
+
* @param {Line|Block} node The comment token to be checked
|
|
1454
|
+
* @returns {boolean} `true` if the node is an ESLint directive comment
|
|
1455
|
+
*/
|
|
1456
|
+
isDirectiveComment(node) {
|
|
1457
|
+
const comment = node.value.trim();
|
|
1458
|
+
|
|
1459
|
+
return (
|
|
1460
|
+
(node.type === "Line" && comment.startsWith("eslint-")) ||
|
|
1461
|
+
(node.type === "Block" && ESLINT_DIRECTIVE_PATTERN.test(comment))
|
|
1462
|
+
);
|
|
1463
|
+
},
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* Gets the trailing statement of a given node.
|
|
1467
|
+
*
|
|
1468
|
+
* if (code)
|
|
1469
|
+
* consequent;
|
|
1470
|
+
*
|
|
1471
|
+
* When taking this `IfStatement`, returns `consequent;` statement.
|
|
1472
|
+
* @param {ASTNode} A node to get.
|
|
1473
|
+
* @returns {ASTNode|null} The trailing statement's node.
|
|
1474
|
+
*/
|
|
1475
|
+
getTrailingStatement: esutils.ast.trailingStatement,
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* Finds the variable by a given name in a given scope and its upper scopes.
|
|
1479
|
+
* @param {eslint-scope.Scope} initScope A scope to start find.
|
|
1480
|
+
* @param {string} name A variable name to find.
|
|
1481
|
+
* @returns {eslint-scope.Variable|null} A found variable or `null`.
|
|
1482
|
+
*/
|
|
1483
|
+
getVariableByName(initScope, name) {
|
|
1484
|
+
let scope = initScope;
|
|
1485
|
+
|
|
1486
|
+
while (scope) {
|
|
1487
|
+
const variable = scope.set.get(name);
|
|
1488
|
+
|
|
1489
|
+
if (variable) {
|
|
1490
|
+
return variable;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
scope = scope.upper;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
return null;
|
|
1497
|
+
},
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* Checks whether or not a given function node is the default `this` binding.
|
|
1501
|
+
*
|
|
1502
|
+
* First, this checks the node:
|
|
1503
|
+
*
|
|
1504
|
+
* - The given node is not in `PropertyDefinition#value` position.
|
|
1505
|
+
* - The given node is not `StaticBlock`.
|
|
1506
|
+
* - The function name does not start with uppercase. It's a convention to capitalize the names
|
|
1507
|
+
* of constructor functions. This check is not performed if `capIsConstructor` is set to `false`.
|
|
1508
|
+
* - The function does not have a JSDoc comment that has a @this tag.
|
|
1509
|
+
*
|
|
1510
|
+
* Next, this checks the location of the node.
|
|
1511
|
+
* If the location is below, this judges `this` is valid.
|
|
1512
|
+
*
|
|
1513
|
+
* - The location is not on an object literal.
|
|
1514
|
+
* - The location is not assigned to a variable which starts with an uppercase letter. Applies to anonymous
|
|
1515
|
+
* functions only, as the name of the variable is considered to be the name of the function in this case.
|
|
1516
|
+
* This check is not performed if `capIsConstructor` is set to `false`.
|
|
1517
|
+
* - The location is not on an ES2015 class.
|
|
1518
|
+
* - Its `bind`/`call`/`apply` method is not called directly.
|
|
1519
|
+
* - The function is not a callback of array methods (such as `.forEach()`) if `thisArg` is given.
|
|
1520
|
+
* @param {ASTNode} node A function node to check. It also can be an implicit function, like `StaticBlock`
|
|
1521
|
+
* or any expression that is `PropertyDefinition#value` node.
|
|
1522
|
+
* @param {SourceCode} sourceCode A SourceCode instance to get comments.
|
|
1523
|
+
* @param {boolean} [capIsConstructor = true] `false` disables the assumption that functions which name starts
|
|
1524
|
+
* with an uppercase or are assigned to a variable which name starts with an uppercase are constructors.
|
|
1525
|
+
* @returns {boolean} The function node is the default `this` binding.
|
|
1526
|
+
*/
|
|
1527
|
+
isDefaultThisBinding(node, sourceCode, { capIsConstructor = true } = {}) {
|
|
1528
|
+
/*
|
|
1529
|
+
* Class field initializers are implicit functions, but ESTree doesn't have the AST node of field initializers.
|
|
1530
|
+
* Therefore, A expression node at `PropertyDefinition#value` is a function.
|
|
1531
|
+
* In this case, `this` is always not default binding.
|
|
1532
|
+
*/
|
|
1533
|
+
if (
|
|
1534
|
+
node.parent.type === "PropertyDefinition" &&
|
|
1535
|
+
node.parent.value === node
|
|
1536
|
+
) {
|
|
1537
|
+
return false;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
// Class static blocks are implicit functions. In this case, `this` is always not default binding.
|
|
1541
|
+
if (node.type === "StaticBlock") {
|
|
1542
|
+
return false;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
// Check if the function has a parameter named `this`.
|
|
1546
|
+
if (
|
|
1547
|
+
(node.type === "FunctionDeclaration" ||
|
|
1548
|
+
node.type === "FunctionExpression") &&
|
|
1549
|
+
node.params.some(
|
|
1550
|
+
param => param.type === "Identifier" && param.name === "this",
|
|
1551
|
+
)
|
|
1552
|
+
) {
|
|
1553
|
+
return false;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
if (
|
|
1557
|
+
(capIsConstructor && isES5Constructor(node)) ||
|
|
1558
|
+
hasJSDocThisTag(node, sourceCode)
|
|
1559
|
+
) {
|
|
1560
|
+
return false;
|
|
1561
|
+
}
|
|
1562
|
+
const isAnonymous = node.id === null;
|
|
1563
|
+
let currentNode = node;
|
|
1564
|
+
|
|
1565
|
+
while (currentNode) {
|
|
1566
|
+
const parent = currentNode.parent;
|
|
1567
|
+
|
|
1568
|
+
switch (parent.type) {
|
|
1569
|
+
/*
|
|
1570
|
+
* Looks up the destination.
|
|
1571
|
+
* e.g., obj.foo = nativeFoo || function foo() { ... };
|
|
1572
|
+
*/
|
|
1573
|
+
case "LogicalExpression":
|
|
1574
|
+
case "ConditionalExpression":
|
|
1575
|
+
case "ChainExpression":
|
|
1576
|
+
currentNode = parent;
|
|
1577
|
+
break;
|
|
1578
|
+
|
|
1579
|
+
/*
|
|
1580
|
+
* If the upper function is IIFE, checks the destination of the return value.
|
|
1581
|
+
* e.g.
|
|
1582
|
+
* obj.foo = (function() {
|
|
1583
|
+
* // setup...
|
|
1584
|
+
* return function foo() { ... };
|
|
1585
|
+
* })();
|
|
1586
|
+
* obj.foo = (() =>
|
|
1587
|
+
* function foo() { ... }
|
|
1588
|
+
* )();
|
|
1589
|
+
*/
|
|
1590
|
+
case "ReturnStatement": {
|
|
1591
|
+
const func = getUpperFunction(parent);
|
|
1592
|
+
|
|
1593
|
+
if (func === null || !isCallee(func)) {
|
|
1594
|
+
return true;
|
|
1595
|
+
}
|
|
1596
|
+
currentNode = func.parent;
|
|
1597
|
+
break;
|
|
1598
|
+
}
|
|
1599
|
+
case "ArrowFunctionExpression":
|
|
1600
|
+
if (currentNode !== parent.body || !isCallee(parent)) {
|
|
1601
|
+
return true;
|
|
1602
|
+
}
|
|
1603
|
+
currentNode = parent.parent;
|
|
1604
|
+
break;
|
|
1605
|
+
|
|
1606
|
+
/*
|
|
1607
|
+
* e.g.
|
|
1608
|
+
* var obj = { foo() { ... } };
|
|
1609
|
+
* var obj = { foo: function() { ... } };
|
|
1610
|
+
* class A { constructor() { ... } }
|
|
1611
|
+
* class A { foo() { ... } }
|
|
1612
|
+
* class A { get foo() { ... } }
|
|
1613
|
+
* class A { set foo() { ... } }
|
|
1614
|
+
* class A { static foo() { ... } }
|
|
1615
|
+
* class A { foo = function() { ... } }
|
|
1616
|
+
*/
|
|
1617
|
+
case "Property":
|
|
1618
|
+
case "PropertyDefinition":
|
|
1619
|
+
case "MethodDefinition":
|
|
1620
|
+
return parent.value !== currentNode;
|
|
1621
|
+
|
|
1622
|
+
/*
|
|
1623
|
+
* e.g.
|
|
1624
|
+
* obj.foo = function foo() { ... };
|
|
1625
|
+
* Foo = function() { ... };
|
|
1626
|
+
* [obj.foo = function foo() { ... }] = a;
|
|
1627
|
+
* [Foo = function() { ... }] = a;
|
|
1628
|
+
*/
|
|
1629
|
+
case "AssignmentExpression":
|
|
1630
|
+
case "AssignmentPattern":
|
|
1631
|
+
if (parent.left.type === "MemberExpression") {
|
|
1632
|
+
return false;
|
|
1633
|
+
}
|
|
1634
|
+
if (
|
|
1635
|
+
capIsConstructor &&
|
|
1636
|
+
isAnonymous &&
|
|
1637
|
+
parent.left.type === "Identifier" &&
|
|
1638
|
+
startsWithUpperCase(parent.left.name)
|
|
1639
|
+
) {
|
|
1640
|
+
return false;
|
|
1641
|
+
}
|
|
1642
|
+
return true;
|
|
1643
|
+
|
|
1644
|
+
/*
|
|
1645
|
+
* e.g.
|
|
1646
|
+
* var Foo = function() { ... };
|
|
1647
|
+
*/
|
|
1648
|
+
case "VariableDeclarator":
|
|
1649
|
+
return !(
|
|
1650
|
+
capIsConstructor &&
|
|
1651
|
+
isAnonymous &&
|
|
1652
|
+
parent.init === currentNode &&
|
|
1653
|
+
parent.id.type === "Identifier" &&
|
|
1654
|
+
startsWithUpperCase(parent.id.name)
|
|
1655
|
+
);
|
|
1656
|
+
|
|
1657
|
+
/*
|
|
1658
|
+
* e.g.
|
|
1659
|
+
* var foo = function foo() { ... }.bind(obj);
|
|
1660
|
+
* (function foo() { ... }).call(obj);
|
|
1661
|
+
* (function foo() { ... }).apply(obj, []);
|
|
1662
|
+
*/
|
|
1663
|
+
case "MemberExpression":
|
|
1664
|
+
if (
|
|
1665
|
+
parent.object === currentNode &&
|
|
1666
|
+
isSpecificMemberAccess(
|
|
1667
|
+
parent,
|
|
1668
|
+
null,
|
|
1669
|
+
bindOrCallOrApplyPattern,
|
|
1670
|
+
)
|
|
1671
|
+
) {
|
|
1672
|
+
const maybeCalleeNode =
|
|
1673
|
+
parent.parent.type === "ChainExpression"
|
|
1674
|
+
? parent.parent
|
|
1675
|
+
: parent;
|
|
1676
|
+
|
|
1677
|
+
return !(
|
|
1678
|
+
isCallee(maybeCalleeNode) &&
|
|
1679
|
+
maybeCalleeNode.parent.arguments.length >= 1 &&
|
|
1680
|
+
!isNullOrUndefined(
|
|
1681
|
+
maybeCalleeNode.parent.arguments[0],
|
|
1682
|
+
)
|
|
1683
|
+
);
|
|
1684
|
+
}
|
|
1685
|
+
return true;
|
|
1686
|
+
|
|
1687
|
+
/*
|
|
1688
|
+
* e.g.
|
|
1689
|
+
* Reflect.apply(function() {}, obj, []);
|
|
1690
|
+
* Array.from([], function() {}, obj);
|
|
1691
|
+
* list.forEach(function() {}, obj);
|
|
1692
|
+
*/
|
|
1693
|
+
case "CallExpression":
|
|
1694
|
+
if (isReflectApply(parent.callee)) {
|
|
1695
|
+
return (
|
|
1696
|
+
parent.arguments.length !== 3 ||
|
|
1697
|
+
parent.arguments[0] !== currentNode ||
|
|
1698
|
+
isNullOrUndefined(parent.arguments[1])
|
|
1699
|
+
);
|
|
1700
|
+
}
|
|
1701
|
+
if (isArrayFromMethod(parent.callee)) {
|
|
1702
|
+
return (
|
|
1703
|
+
parent.arguments.length !== 3 ||
|
|
1704
|
+
parent.arguments[1] !== currentNode ||
|
|
1705
|
+
isNullOrUndefined(parent.arguments[2])
|
|
1706
|
+
);
|
|
1707
|
+
}
|
|
1708
|
+
if (isMethodWhichHasThisArg(parent.callee)) {
|
|
1709
|
+
return (
|
|
1710
|
+
parent.arguments.length !== 2 ||
|
|
1711
|
+
parent.arguments[0] !== currentNode ||
|
|
1712
|
+
isNullOrUndefined(parent.arguments[1])
|
|
1713
|
+
);
|
|
1714
|
+
}
|
|
1715
|
+
return true;
|
|
1716
|
+
|
|
1717
|
+
// Otherwise `this` is default.
|
|
1718
|
+
default:
|
|
1719
|
+
return true;
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
/* c8 ignore next */
|
|
1724
|
+
return true;
|
|
1725
|
+
},
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Get the precedence level based on the node type
|
|
1729
|
+
* @param {ASTNode} node node to evaluate
|
|
1730
|
+
* @returns {number} precedence level
|
|
1731
|
+
* @private
|
|
1732
|
+
*/
|
|
1733
|
+
getPrecedence(node) {
|
|
1734
|
+
switch (node.type) {
|
|
1735
|
+
case "SequenceExpression":
|
|
1736
|
+
return 0;
|
|
1737
|
+
|
|
1738
|
+
case "AssignmentExpression":
|
|
1739
|
+
case "ArrowFunctionExpression":
|
|
1740
|
+
case "YieldExpression":
|
|
1741
|
+
return 1;
|
|
1742
|
+
|
|
1743
|
+
case "ConditionalExpression":
|
|
1744
|
+
return 3;
|
|
1745
|
+
|
|
1746
|
+
case "LogicalExpression":
|
|
1747
|
+
switch (node.operator) {
|
|
1748
|
+
case "||":
|
|
1749
|
+
case "??":
|
|
1750
|
+
return 4;
|
|
1751
|
+
case "&&":
|
|
1752
|
+
return 5;
|
|
1753
|
+
|
|
1754
|
+
// no default
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/* falls through */
|
|
1758
|
+
|
|
1759
|
+
case "BinaryExpression":
|
|
1760
|
+
switch (node.operator) {
|
|
1761
|
+
case "|":
|
|
1762
|
+
return 6;
|
|
1763
|
+
case "^":
|
|
1764
|
+
return 7;
|
|
1765
|
+
case "&":
|
|
1766
|
+
return 8;
|
|
1767
|
+
case "==":
|
|
1768
|
+
case "!=":
|
|
1769
|
+
case "===":
|
|
1770
|
+
case "!==":
|
|
1771
|
+
return 9;
|
|
1772
|
+
case "<":
|
|
1773
|
+
case "<=":
|
|
1774
|
+
case ">":
|
|
1775
|
+
case ">=":
|
|
1776
|
+
case "in":
|
|
1777
|
+
case "instanceof":
|
|
1778
|
+
return 10;
|
|
1779
|
+
case "<<":
|
|
1780
|
+
case ">>":
|
|
1781
|
+
case ">>>":
|
|
1782
|
+
return 11;
|
|
1783
|
+
case "+":
|
|
1784
|
+
case "-":
|
|
1785
|
+
return 12;
|
|
1786
|
+
case "*":
|
|
1787
|
+
case "/":
|
|
1788
|
+
case "%":
|
|
1789
|
+
return 13;
|
|
1790
|
+
case "**":
|
|
1791
|
+
return 15;
|
|
1792
|
+
|
|
1793
|
+
// no default
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/* falls through */
|
|
1797
|
+
|
|
1798
|
+
case "UnaryExpression":
|
|
1799
|
+
case "AwaitExpression":
|
|
1800
|
+
return 16;
|
|
1801
|
+
|
|
1802
|
+
case "UpdateExpression":
|
|
1803
|
+
return 17;
|
|
1804
|
+
|
|
1805
|
+
case "CallExpression":
|
|
1806
|
+
case "ChainExpression":
|
|
1807
|
+
case "ImportExpression":
|
|
1808
|
+
return 18;
|
|
1809
|
+
|
|
1810
|
+
case "NewExpression":
|
|
1811
|
+
return 19;
|
|
1812
|
+
|
|
1813
|
+
default:
|
|
1814
|
+
if (node.type in eslintVisitorKeys) {
|
|
1815
|
+
return 20;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/*
|
|
1819
|
+
* if the node is not a standard node that we know about, then assume it has the lowest precedence
|
|
1820
|
+
* this will mean that rules will wrap unknown nodes in parentheses where applicable instead of
|
|
1821
|
+
* unwrapping them and potentially changing the meaning of the code or introducing a syntax error.
|
|
1822
|
+
*/
|
|
1823
|
+
return -1;
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* Checks whether the given node is an empty block node or not.
|
|
1829
|
+
* @param {ASTNode|null} node The node to check.
|
|
1830
|
+
* @returns {boolean} `true` if the node is an empty block.
|
|
1831
|
+
*/
|
|
1832
|
+
isEmptyBlock(node) {
|
|
1833
|
+
return Boolean(
|
|
1834
|
+
node && node.type === "BlockStatement" && node.body.length === 0,
|
|
1835
|
+
);
|
|
1836
|
+
},
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Checks whether the given node is an empty function node or not.
|
|
1840
|
+
* @param {ASTNode|null} node The node to check.
|
|
1841
|
+
* @returns {boolean} `true` if the node is an empty function.
|
|
1842
|
+
*/
|
|
1843
|
+
isEmptyFunction(node) {
|
|
1844
|
+
return isFunction(node) && module.exports.isEmptyBlock(node.body);
|
|
1845
|
+
},
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* Get directives from directive prologue of a Program or Function node.
|
|
1849
|
+
* @param {ASTNode} node The node to check.
|
|
1850
|
+
* @returns {ASTNode[]} The directives found in the directive prologue.
|
|
1851
|
+
*/
|
|
1852
|
+
getDirectivePrologue(node) {
|
|
1853
|
+
const directives = [];
|
|
1854
|
+
|
|
1855
|
+
// Directive prologues only occur at the top of files or functions.
|
|
1856
|
+
if (
|
|
1857
|
+
node.type === "Program" ||
|
|
1858
|
+
node.type === "FunctionDeclaration" ||
|
|
1859
|
+
node.type === "FunctionExpression" ||
|
|
1860
|
+
/*
|
|
1861
|
+
* Do not check arrow functions with implicit return.
|
|
1862
|
+
* `() => "use strict";` returns the string `"use strict"`.
|
|
1863
|
+
*/
|
|
1864
|
+
(node.type === "ArrowFunctionExpression" &&
|
|
1865
|
+
node.body.type === "BlockStatement")
|
|
1866
|
+
) {
|
|
1867
|
+
const statements =
|
|
1868
|
+
node.type === "Program" ? node.body : node.body.body;
|
|
1869
|
+
|
|
1870
|
+
for (const statement of statements) {
|
|
1871
|
+
if (
|
|
1872
|
+
statement.type === "ExpressionStatement" &&
|
|
1873
|
+
statement.expression.type === "Literal"
|
|
1874
|
+
) {
|
|
1875
|
+
directives.push(statement);
|
|
1876
|
+
} else {
|
|
1877
|
+
break;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
return directives;
|
|
1883
|
+
},
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* Determines whether this node is a decimal integer literal. If a node is a decimal integer literal, a dot added
|
|
1887
|
+
* after the node will be parsed as a decimal point, rather than a property-access dot.
|
|
1888
|
+
* @param {ASTNode} node The node to check.
|
|
1889
|
+
* @returns {boolean} `true` if this node is a decimal integer.
|
|
1890
|
+
* @example
|
|
1891
|
+
*
|
|
1892
|
+
* 0 // true
|
|
1893
|
+
* 5 // true
|
|
1894
|
+
* 50 // true
|
|
1895
|
+
* 5_000 // true
|
|
1896
|
+
* 1_234_56 // true
|
|
1897
|
+
* 08 // true
|
|
1898
|
+
* 0192 // true
|
|
1899
|
+
* 5. // false
|
|
1900
|
+
* .5 // false
|
|
1901
|
+
* 5.0 // false
|
|
1902
|
+
* 5.00_00 // false
|
|
1903
|
+
* 05 // false
|
|
1904
|
+
* 0x5 // false
|
|
1905
|
+
* 0b101 // false
|
|
1906
|
+
* 0b11_01 // false
|
|
1907
|
+
* 0o5 // false
|
|
1908
|
+
* 5e0 // false
|
|
1909
|
+
* 5e1_000 // false
|
|
1910
|
+
* 5n // false
|
|
1911
|
+
* 1_000n // false
|
|
1912
|
+
* "5" // false
|
|
1913
|
+
*
|
|
1914
|
+
*/
|
|
1915
|
+
isDecimalInteger(node) {
|
|
1916
|
+
return (
|
|
1917
|
+
node.type === "Literal" &&
|
|
1918
|
+
typeof node.value === "number" &&
|
|
1919
|
+
DECIMAL_INTEGER_PATTERN.test(node.raw)
|
|
1920
|
+
);
|
|
1921
|
+
},
|
|
1922
|
+
|
|
1923
|
+
/**
|
|
1924
|
+
* Determines whether this token is a decimal integer numeric token.
|
|
1925
|
+
* This is similar to isDecimalInteger(), but for tokens.
|
|
1926
|
+
* @param {Token} token The token to check.
|
|
1927
|
+
* @returns {boolean} `true` if this token is a decimal integer.
|
|
1928
|
+
*/
|
|
1929
|
+
isDecimalIntegerNumericToken(token) {
|
|
1930
|
+
return (
|
|
1931
|
+
token.type === "Numeric" &&
|
|
1932
|
+
DECIMAL_INTEGER_PATTERN.test(token.value)
|
|
1933
|
+
);
|
|
1934
|
+
},
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Gets the name and kind of the given function node.
|
|
1938
|
+
*
|
|
1939
|
+
* - `function foo() {}` .................... `function 'foo'`
|
|
1940
|
+
* - `(function foo() {})` .................. `function 'foo'`
|
|
1941
|
+
* - `(function() {})` ...................... `function`
|
|
1942
|
+
* - `function* foo() {}` ................... `generator function 'foo'`
|
|
1943
|
+
* - `(function* foo() {})` ................. `generator function 'foo'`
|
|
1944
|
+
* - `(function*() {})` ..................... `generator function`
|
|
1945
|
+
* - `() => {}` ............................. `arrow function`
|
|
1946
|
+
* - `async () => {}` ....................... `async arrow function`
|
|
1947
|
+
* - `({ foo: function foo() {} })` ......... `method 'foo'`
|
|
1948
|
+
* - `({ foo: function() {} })` ............. `method 'foo'`
|
|
1949
|
+
* - `({ ['foo']: function() {} })` ......... `method 'foo'`
|
|
1950
|
+
* - `({ [foo]: function() {} })` ........... `method`
|
|
1951
|
+
* - `({ foo() {} })` ....................... `method 'foo'`
|
|
1952
|
+
* - `({ foo: function* foo() {} })` ........ `generator method 'foo'`
|
|
1953
|
+
* - `({ foo: function*() {} })` ............ `generator method 'foo'`
|
|
1954
|
+
* - `({ ['foo']: function*() {} })` ........ `generator method 'foo'`
|
|
1955
|
+
* - `({ [foo]: function*() {} })` .......... `generator method`
|
|
1956
|
+
* - `({ *foo() {} })` ...................... `generator method 'foo'`
|
|
1957
|
+
* - `({ foo: async function foo() {} })` ... `async method 'foo'`
|
|
1958
|
+
* - `({ foo: async function() {} })` ....... `async method 'foo'`
|
|
1959
|
+
* - `({ ['foo']: async function() {} })` ... `async method 'foo'`
|
|
1960
|
+
* - `({ [foo]: async function() {} })` ..... `async method`
|
|
1961
|
+
* - `({ async foo() {} })` ................. `async method 'foo'`
|
|
1962
|
+
* - `({ get foo() {} })` ................... `getter 'foo'`
|
|
1963
|
+
* - `({ set foo(a) {} })` .................. `setter 'foo'`
|
|
1964
|
+
* - `class A { constructor() {} }` ......... `constructor`
|
|
1965
|
+
* - `class A { foo() {} }` ................. `method 'foo'`
|
|
1966
|
+
* - `class A { *foo() {} }` ................ `generator method 'foo'`
|
|
1967
|
+
* - `class A { async foo() {} }` ........... `async method 'foo'`
|
|
1968
|
+
* - `class A { ['foo']() {} }` ............. `method 'foo'`
|
|
1969
|
+
* - `class A { *['foo']() {} }` ............ `generator method 'foo'`
|
|
1970
|
+
* - `class A { async ['foo']() {} }` ....... `async method 'foo'`
|
|
1971
|
+
* - `class A { [foo]() {} }` ............... `method`
|
|
1972
|
+
* - `class A { *[foo]() {} }` .............. `generator method`
|
|
1973
|
+
* - `class A { async [foo]() {} }` ......... `async method`
|
|
1974
|
+
* - `class A { get foo() {} }` ............. `getter 'foo'`
|
|
1975
|
+
* - `class A { set foo(a) {} }` ............ `setter 'foo'`
|
|
1976
|
+
* - `class A { static foo() {} }` .......... `static method 'foo'`
|
|
1977
|
+
* - `class A { static *foo() {} }` ......... `static generator method 'foo'`
|
|
1978
|
+
* - `class A { static async foo() {} }` .... `static async method 'foo'`
|
|
1979
|
+
* - `class A { static get foo() {} }` ...... `static getter 'foo'`
|
|
1980
|
+
* - `class A { static set foo(a) {} }` ..... `static setter 'foo'`
|
|
1981
|
+
* - `class A { foo = () => {}; }` .......... `method 'foo'`
|
|
1982
|
+
* - `class A { foo = function() {}; }` ..... `method 'foo'`
|
|
1983
|
+
* - `class A { foo = function bar() {}; }` . `method 'foo'`
|
|
1984
|
+
* - `class A { static foo = () => {}; }` ... `static method 'foo'`
|
|
1985
|
+
* - `class A { '#foo' = () => {}; }` ....... `method '#foo'`
|
|
1986
|
+
* - `class A { #foo = () => {}; }` ......... `private method #foo`
|
|
1987
|
+
* - `class A { static #foo = () => {}; }` .. `static private method #foo`
|
|
1988
|
+
* - `class A { '#foo'() {} }` .............. `method '#foo'`
|
|
1989
|
+
* - `class A { #foo() {} }` ................ `private method #foo`
|
|
1990
|
+
* - `class A { static #foo() {} }` ......... `static private method #foo`
|
|
1991
|
+
* @param {ASTNode} node The function node to get.
|
|
1992
|
+
* @returns {string} The name and kind of the function node.
|
|
1993
|
+
*/
|
|
1994
|
+
getFunctionNameWithKind(node) {
|
|
1995
|
+
const parent = node.parent;
|
|
1996
|
+
const tokens = [];
|
|
1997
|
+
|
|
1998
|
+
if (
|
|
1999
|
+
parent.type === "MethodDefinition" ||
|
|
2000
|
+
parent.type === "PropertyDefinition" ||
|
|
2001
|
+
node.type === "TSPropertySignature" ||
|
|
2002
|
+
node.type === "TSMethodSignature"
|
|
2003
|
+
) {
|
|
2004
|
+
// The proposal uses `static` word consistently before visibility words: https://github.com/tc39/proposal-static-class-features
|
|
2005
|
+
if (parent.static) {
|
|
2006
|
+
tokens.push("static");
|
|
2007
|
+
}
|
|
2008
|
+
if (!parent.computed && parent.key?.type === "PrivateIdentifier") {
|
|
2009
|
+
tokens.push("private");
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
if (node.async) {
|
|
2013
|
+
tokens.push("async");
|
|
2014
|
+
}
|
|
2015
|
+
if (node.generator) {
|
|
2016
|
+
tokens.push("generator");
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
if (parent.type === "Property" || parent.type === "MethodDefinition") {
|
|
2020
|
+
if (parent.kind === "constructor") {
|
|
2021
|
+
return "constructor";
|
|
2022
|
+
}
|
|
2023
|
+
if (parent.kind === "get") {
|
|
2024
|
+
tokens.push("getter");
|
|
2025
|
+
} else if (parent.kind === "set") {
|
|
2026
|
+
tokens.push("setter");
|
|
2027
|
+
} else {
|
|
2028
|
+
tokens.push("method");
|
|
2029
|
+
}
|
|
2030
|
+
} else if (node.type === "TSMethodSignature") {
|
|
2031
|
+
if (node.kind === "get") {
|
|
2032
|
+
tokens.push("getter");
|
|
2033
|
+
} else if (node.kind === "set") {
|
|
2034
|
+
tokens.push("setter");
|
|
2035
|
+
} else {
|
|
2036
|
+
tokens.push("method");
|
|
2037
|
+
}
|
|
2038
|
+
} else if (parent.type === "PropertyDefinition") {
|
|
2039
|
+
tokens.push("method");
|
|
2040
|
+
} else {
|
|
2041
|
+
if (node.type === "ArrowFunctionExpression") {
|
|
2042
|
+
tokens.push("arrow");
|
|
2043
|
+
}
|
|
2044
|
+
tokens.push("function");
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
if (
|
|
2048
|
+
parent.type === "Property" ||
|
|
2049
|
+
parent.type === "MethodDefinition" ||
|
|
2050
|
+
parent.type === "PropertyDefinition"
|
|
2051
|
+
) {
|
|
2052
|
+
if (!parent.computed && parent.key.type === "PrivateIdentifier") {
|
|
2053
|
+
tokens.push(`#${parent.key.name}`);
|
|
2054
|
+
} else {
|
|
2055
|
+
const name = getStaticPropertyName(parent);
|
|
2056
|
+
|
|
2057
|
+
if (name !== null) {
|
|
2058
|
+
tokens.push(`'${name}'`);
|
|
2059
|
+
} else if (node.id) {
|
|
2060
|
+
tokens.push(`'${node.id.name}'`);
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
} else if (node.type === "TSMethodSignature") {
|
|
2064
|
+
tokens.push(`'${getStaticPropertyName(node)}'`);
|
|
2065
|
+
} else if (node.id) {
|
|
2066
|
+
tokens.push(`'${node.id.name}'`);
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
return tokens.join(" ");
|
|
2070
|
+
},
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* Gets the location of the given function node for reporting.
|
|
2074
|
+
*
|
|
2075
|
+
* - `function foo() {}`
|
|
2076
|
+
* ^^^^^^^^^^^^
|
|
2077
|
+
* - `(function foo() {})`
|
|
2078
|
+
* ^^^^^^^^^^^^
|
|
2079
|
+
* - `(function() {})`
|
|
2080
|
+
* ^^^^^^^^
|
|
2081
|
+
* - `function* foo() {}`
|
|
2082
|
+
* ^^^^^^^^^^^^^
|
|
2083
|
+
* - `(function* foo() {})`
|
|
2084
|
+
* ^^^^^^^^^^^^^
|
|
2085
|
+
* - `(function*() {})`
|
|
2086
|
+
* ^^^^^^^^^
|
|
2087
|
+
* - `() => {}`
|
|
2088
|
+
* ^^
|
|
2089
|
+
* - `async () => {}`
|
|
2090
|
+
* ^^
|
|
2091
|
+
* - `({ foo: function foo() {} })`
|
|
2092
|
+
* ^^^^^^^^^^^^^^^^^
|
|
2093
|
+
* - `({ foo: function() {} })`
|
|
2094
|
+
* ^^^^^^^^^^^^^
|
|
2095
|
+
* - `({ ['foo']: function() {} })`
|
|
2096
|
+
* ^^^^^^^^^^^^^^^^^
|
|
2097
|
+
* - `({ [foo]: function() {} })`
|
|
2098
|
+
* ^^^^^^^^^^^^^^^
|
|
2099
|
+
* - `({ foo() {} })`
|
|
2100
|
+
* ^^^
|
|
2101
|
+
* - `({ foo: function* foo() {} })`
|
|
2102
|
+
* ^^^^^^^^^^^^^^^^^^
|
|
2103
|
+
* - `({ foo: function*() {} })`
|
|
2104
|
+
* ^^^^^^^^^^^^^^
|
|
2105
|
+
* - `({ ['foo']: function*() {} })`
|
|
2106
|
+
* ^^^^^^^^^^^^^^^^^^
|
|
2107
|
+
* - `({ [foo]: function*() {} })`
|
|
2108
|
+
* ^^^^^^^^^^^^^^^^
|
|
2109
|
+
* - `({ *foo() {} })`
|
|
2110
|
+
* ^^^^
|
|
2111
|
+
* - `({ foo: async function foo() {} })`
|
|
2112
|
+
* ^^^^^^^^^^^^^^^^^^^^^^^
|
|
2113
|
+
* - `({ foo: async function() {} })`
|
|
2114
|
+
* ^^^^^^^^^^^^^^^^^^^
|
|
2115
|
+
* - `({ ['foo']: async function() {} })`
|
|
2116
|
+
* ^^^^^^^^^^^^^^^^^^^^^^^
|
|
2117
|
+
* - `({ [foo]: async function() {} })`
|
|
2118
|
+
* ^^^^^^^^^^^^^^^^^^^^^
|
|
2119
|
+
* - `({ async foo() {} })`
|
|
2120
|
+
* ^^^^^^^^^
|
|
2121
|
+
* - `({ get foo() {} })`
|
|
2122
|
+
* ^^^^^^^
|
|
2123
|
+
* - `({ set foo(a) {} })`
|
|
2124
|
+
* ^^^^^^^
|
|
2125
|
+
* - `class A { constructor() {} }`
|
|
2126
|
+
* ^^^^^^^^^^^
|
|
2127
|
+
* - `class A { foo() {} }`
|
|
2128
|
+
* ^^^
|
|
2129
|
+
* - `class A { *foo() {} }`
|
|
2130
|
+
* ^^^^
|
|
2131
|
+
* - `class A { async foo() {} }`
|
|
2132
|
+
* ^^^^^^^^^
|
|
2133
|
+
* - `class A { ['foo']() {} }`
|
|
2134
|
+
* ^^^^^^^
|
|
2135
|
+
* - `class A { *['foo']() {} }`
|
|
2136
|
+
* ^^^^^^^^
|
|
2137
|
+
* - `class A { async ['foo']() {} }`
|
|
2138
|
+
* ^^^^^^^^^^^^^
|
|
2139
|
+
* - `class A { [foo]() {} }`
|
|
2140
|
+
* ^^^^^
|
|
2141
|
+
* - `class A { *[foo]() {} }`
|
|
2142
|
+
* ^^^^^^
|
|
2143
|
+
* - `class A { async [foo]() {} }`
|
|
2144
|
+
* ^^^^^^^^^^^
|
|
2145
|
+
* - `class A { get foo() {} }`
|
|
2146
|
+
* ^^^^^^^
|
|
2147
|
+
* - `class A { set foo(a) {} }`
|
|
2148
|
+
* ^^^^^^^
|
|
2149
|
+
* - `class A { static foo() {} }`
|
|
2150
|
+
* ^^^^^^^^^^
|
|
2151
|
+
* - `class A { static *foo() {} }`
|
|
2152
|
+
* ^^^^^^^^^^^
|
|
2153
|
+
* - `class A { static async foo() {} }`
|
|
2154
|
+
* ^^^^^^^^^^^^^^^^
|
|
2155
|
+
* - `class A { static get foo() {} }`
|
|
2156
|
+
* ^^^^^^^^^^^^^^
|
|
2157
|
+
* - `class A { static set foo(a) {} }`
|
|
2158
|
+
* ^^^^^^^^^^^^^^
|
|
2159
|
+
* - `class A { foo = function() {} }`
|
|
2160
|
+
* ^^^^^^^^^^^^^^
|
|
2161
|
+
* - `class A { static foo = function() {} }`
|
|
2162
|
+
* ^^^^^^^^^^^^^^^^^^^^^
|
|
2163
|
+
* - `class A { foo = (a, b) => {} }`
|
|
2164
|
+
* ^^^^^^
|
|
2165
|
+
* @param {ASTNode} node The function node to get.
|
|
2166
|
+
* @param {SourceCode} sourceCode The source code object to get tokens.
|
|
2167
|
+
* @returns {string} The location of the function node for reporting.
|
|
2168
|
+
*/
|
|
2169
|
+
getFunctionHeadLoc(node, sourceCode) {
|
|
2170
|
+
const parent = node.parent;
|
|
2171
|
+
let start;
|
|
2172
|
+
let end;
|
|
2173
|
+
|
|
2174
|
+
if (
|
|
2175
|
+
parent.type === "Property" ||
|
|
2176
|
+
parent.type === "MethodDefinition" ||
|
|
2177
|
+
parent.type === "PropertyDefinition" ||
|
|
2178
|
+
parent.type === "TSPropertySignature" ||
|
|
2179
|
+
parent.type === "TSMethodSignature"
|
|
2180
|
+
) {
|
|
2181
|
+
start = parent.loc.start;
|
|
2182
|
+
end = getOpeningParenOfParams(node, sourceCode).loc.start;
|
|
2183
|
+
} else if (node.type === "ArrowFunctionExpression") {
|
|
2184
|
+
const arrowToken = sourceCode.getTokenBefore(
|
|
2185
|
+
node.body,
|
|
2186
|
+
isArrowToken,
|
|
2187
|
+
);
|
|
2188
|
+
|
|
2189
|
+
start = arrowToken.loc.start;
|
|
2190
|
+
end = arrowToken.loc.end;
|
|
2191
|
+
} else {
|
|
2192
|
+
start = node.loc.start;
|
|
2193
|
+
end = getOpeningParenOfParams(node, sourceCode).loc.start;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
return {
|
|
2197
|
+
start: Object.assign({}, start),
|
|
2198
|
+
end: Object.assign({}, end),
|
|
2199
|
+
};
|
|
2200
|
+
},
|
|
2201
|
+
|
|
2202
|
+
/**
|
|
2203
|
+
* Gets next location when the result is not out of bound, otherwise returns null.
|
|
2204
|
+
*
|
|
2205
|
+
* Assumptions:
|
|
2206
|
+
*
|
|
2207
|
+
* - The given location represents a valid location in the given source code.
|
|
2208
|
+
* - Columns are 0-based.
|
|
2209
|
+
* - Lines are 1-based.
|
|
2210
|
+
* - Column immediately after the last character in a line (not incl. linebreaks) is considered to be a valid location.
|
|
2211
|
+
* - If the source code ends with a linebreak, `sourceCode.lines` array will have an extra element (empty string) at the end.
|
|
2212
|
+
* The start (column 0) of that extra line is considered to be a valid location.
|
|
2213
|
+
*
|
|
2214
|
+
* Examples of successive locations (line, column):
|
|
2215
|
+
*
|
|
2216
|
+
* code: foo
|
|
2217
|
+
* locations: (1, 0) -> (1, 1) -> (1, 2) -> (1, 3) -> null
|
|
2218
|
+
*
|
|
2219
|
+
* code: foo<LF>
|
|
2220
|
+
* locations: (1, 0) -> (1, 1) -> (1, 2) -> (1, 3) -> (2, 0) -> null
|
|
2221
|
+
*
|
|
2222
|
+
* code: foo<CR><LF>
|
|
2223
|
+
* locations: (1, 0) -> (1, 1) -> (1, 2) -> (1, 3) -> (2, 0) -> null
|
|
2224
|
+
*
|
|
2225
|
+
* code: a<LF>b
|
|
2226
|
+
* locations: (1, 0) -> (1, 1) -> (2, 0) -> (2, 1) -> null
|
|
2227
|
+
*
|
|
2228
|
+
* code: a<LF>b<LF>
|
|
2229
|
+
* locations: (1, 0) -> (1, 1) -> (2, 0) -> (2, 1) -> (3, 0) -> null
|
|
2230
|
+
*
|
|
2231
|
+
* code: a<CR><LF>b<CR><LF>
|
|
2232
|
+
* locations: (1, 0) -> (1, 1) -> (2, 0) -> (2, 1) -> (3, 0) -> null
|
|
2233
|
+
*
|
|
2234
|
+
* code: a<LF><LF>
|
|
2235
|
+
* locations: (1, 0) -> (1, 1) -> (2, 0) -> (3, 0) -> null
|
|
2236
|
+
*
|
|
2237
|
+
* code: <LF>
|
|
2238
|
+
* locations: (1, 0) -> (2, 0) -> null
|
|
2239
|
+
*
|
|
2240
|
+
* code:
|
|
2241
|
+
* locations: (1, 0) -> null
|
|
2242
|
+
* @param {SourceCode} sourceCode The sourceCode
|
|
2243
|
+
* @param {{line: number, column: number}} location The location
|
|
2244
|
+
* @returns {{line: number, column: number} | null} Next location
|
|
2245
|
+
*/
|
|
2246
|
+
getNextLocation(sourceCode, { line, column }) {
|
|
2247
|
+
if (column < sourceCode.lines[line - 1].length) {
|
|
2248
|
+
return {
|
|
2249
|
+
line,
|
|
2250
|
+
column: column + 1,
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
if (line < sourceCode.lines.length) {
|
|
2255
|
+
return {
|
|
2256
|
+
line: line + 1,
|
|
2257
|
+
column: 0,
|
|
2258
|
+
};
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
return null;
|
|
2262
|
+
},
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* Gets the parenthesized text of a node. This is similar to sourceCode.getText(node), but it also includes any parentheses
|
|
2266
|
+
* surrounding the node.
|
|
2267
|
+
* @param {SourceCode} sourceCode The source code object
|
|
2268
|
+
* @param {ASTNode} node An expression node
|
|
2269
|
+
* @returns {string} The text representing the node, with all surrounding parentheses included
|
|
2270
|
+
*/
|
|
2271
|
+
getParenthesisedText(sourceCode, node) {
|
|
2272
|
+
let leftToken = sourceCode.getFirstToken(node);
|
|
2273
|
+
let rightToken = sourceCode.getLastToken(node);
|
|
2274
|
+
|
|
2275
|
+
while (
|
|
2276
|
+
sourceCode.getTokenBefore(leftToken) &&
|
|
2277
|
+
sourceCode.getTokenBefore(leftToken).type === "Punctuator" &&
|
|
2278
|
+
sourceCode.getTokenBefore(leftToken).value === "(" &&
|
|
2279
|
+
sourceCode.getTokenAfter(rightToken) &&
|
|
2280
|
+
sourceCode.getTokenAfter(rightToken).type === "Punctuator" &&
|
|
2281
|
+
sourceCode.getTokenAfter(rightToken).value === ")"
|
|
2282
|
+
) {
|
|
2283
|
+
leftToken = sourceCode.getTokenBefore(leftToken);
|
|
2284
|
+
rightToken = sourceCode.getTokenAfter(rightToken);
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
return sourceCode
|
|
2288
|
+
.getText()
|
|
2289
|
+
.slice(leftToken.range[0], rightToken.range[1]);
|
|
2290
|
+
},
|
|
2291
|
+
|
|
2292
|
+
/**
|
|
2293
|
+
* Determine if a node has a possibility to be an Error object
|
|
2294
|
+
* @param {ASTNode} node ASTNode to check
|
|
2295
|
+
* @returns {boolean} True if there is a chance it contains an Error obj
|
|
2296
|
+
*/
|
|
2297
|
+
couldBeError(node) {
|
|
2298
|
+
switch (node.type) {
|
|
2299
|
+
case "Identifier":
|
|
2300
|
+
case "CallExpression":
|
|
2301
|
+
case "NewExpression":
|
|
2302
|
+
case "MemberExpression":
|
|
2303
|
+
case "TaggedTemplateExpression":
|
|
2304
|
+
case "YieldExpression":
|
|
2305
|
+
case "AwaitExpression":
|
|
2306
|
+
case "ChainExpression":
|
|
2307
|
+
return true; // possibly an error object.
|
|
2308
|
+
|
|
2309
|
+
case "AssignmentExpression":
|
|
2310
|
+
if (["=", "&&="].includes(node.operator)) {
|
|
2311
|
+
return module.exports.couldBeError(node.right);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
if (["||=", "??="].includes(node.operator)) {
|
|
2315
|
+
return (
|
|
2316
|
+
module.exports.couldBeError(node.left) ||
|
|
2317
|
+
module.exports.couldBeError(node.right)
|
|
2318
|
+
);
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* All other assignment operators are mathematical assignment operators (arithmetic or bitwise).
|
|
2323
|
+
* An assignment expression with a mathematical operator can either evaluate to a primitive value,
|
|
2324
|
+
* or throw, depending on the operands. Thus, it cannot evaluate to an `Error` object.
|
|
2325
|
+
*/
|
|
2326
|
+
return false;
|
|
2327
|
+
|
|
2328
|
+
case "SequenceExpression": {
|
|
2329
|
+
const exprs = node.expressions;
|
|
2330
|
+
|
|
2331
|
+
return (
|
|
2332
|
+
exprs.length !== 0 &&
|
|
2333
|
+
module.exports.couldBeError(exprs.at(-1))
|
|
2334
|
+
);
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
case "LogicalExpression":
|
|
2338
|
+
/*
|
|
2339
|
+
* If the && operator short-circuits, the left side was falsy and therefore not an error, and if it
|
|
2340
|
+
* doesn't short-circuit, it takes the value from the right side, so the right side must always be
|
|
2341
|
+
* a plausible error. A future improvement could verify that the left side could be truthy by
|
|
2342
|
+
* excluding falsy literals.
|
|
2343
|
+
*/
|
|
2344
|
+
if (node.operator === "&&") {
|
|
2345
|
+
return module.exports.couldBeError(node.right);
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
return (
|
|
2349
|
+
module.exports.couldBeError(node.left) ||
|
|
2350
|
+
module.exports.couldBeError(node.right)
|
|
2351
|
+
);
|
|
2352
|
+
|
|
2353
|
+
case "ConditionalExpression":
|
|
2354
|
+
return (
|
|
2355
|
+
module.exports.couldBeError(node.consequent) ||
|
|
2356
|
+
module.exports.couldBeError(node.alternate)
|
|
2357
|
+
);
|
|
2358
|
+
|
|
2359
|
+
default:
|
|
2360
|
+
return false;
|
|
2361
|
+
}
|
|
2362
|
+
},
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Check if a given node is a numeric literal or not.
|
|
2366
|
+
* @param {ASTNode} node The node to check.
|
|
2367
|
+
* @returns {boolean} `true` if the node is a number or bigint literal.
|
|
2368
|
+
*/
|
|
2369
|
+
isNumericLiteral(node) {
|
|
2370
|
+
return (
|
|
2371
|
+
node.type === "Literal" &&
|
|
2372
|
+
(typeof node.value === "number" || Boolean(node.bigint))
|
|
2373
|
+
);
|
|
2374
|
+
},
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Determines whether two tokens can safely be placed next to each other without merging into a single token
|
|
2378
|
+
* @param {Token|string} leftValue The left token. If this is a string, it will be tokenized and the last token will be used.
|
|
2379
|
+
* @param {Token|string} rightValue The right token. If this is a string, it will be tokenized and the first token will be used.
|
|
2380
|
+
* @returns {boolean} If the tokens cannot be safely placed next to each other, returns `false`. If the tokens can be placed
|
|
2381
|
+
* next to each other, behavior is undefined (although it should return `true` in most cases).
|
|
2382
|
+
*/
|
|
2383
|
+
canTokensBeAdjacent(leftValue, rightValue) {
|
|
2384
|
+
const espreeOptions = {
|
|
2385
|
+
ecmaVersion: espree.latestEcmaVersion,
|
|
2386
|
+
comment: true,
|
|
2387
|
+
range: true,
|
|
2388
|
+
};
|
|
2389
|
+
|
|
2390
|
+
let leftToken;
|
|
2391
|
+
|
|
2392
|
+
if (typeof leftValue === "string") {
|
|
2393
|
+
let tokens;
|
|
2394
|
+
|
|
2395
|
+
try {
|
|
2396
|
+
tokens = espree.tokenize(leftValue, espreeOptions);
|
|
2397
|
+
} catch {
|
|
2398
|
+
return false;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
const comments = tokens.comments;
|
|
2402
|
+
|
|
2403
|
+
leftToken = tokens.at(-1);
|
|
2404
|
+
if (comments.length) {
|
|
2405
|
+
const lastComment = comments.at(-1);
|
|
2406
|
+
|
|
2407
|
+
if (!leftToken || lastComment.range[0] > leftToken.range[0]) {
|
|
2408
|
+
leftToken = lastComment;
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
} else {
|
|
2412
|
+
leftToken = leftValue;
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
/*
|
|
2416
|
+
* If a hashbang comment was passed as a token object from SourceCode,
|
|
2417
|
+
* its type will be "Shebang" because of the way ESLint itself handles hashbangs.
|
|
2418
|
+
* If a hashbang comment was passed in a string and then tokenized in this function,
|
|
2419
|
+
* its type will be "Hashbang" because of the way Espree tokenizes hashbangs.
|
|
2420
|
+
*/
|
|
2421
|
+
if (leftToken.type === "Shebang" || leftToken.type === "Hashbang") {
|
|
2422
|
+
return false;
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
let rightToken;
|
|
2426
|
+
|
|
2427
|
+
if (typeof rightValue === "string") {
|
|
2428
|
+
let tokens;
|
|
2429
|
+
|
|
2430
|
+
try {
|
|
2431
|
+
tokens = espree.tokenize(rightValue, espreeOptions);
|
|
2432
|
+
} catch {
|
|
2433
|
+
return false;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
const comments = tokens.comments;
|
|
2437
|
+
|
|
2438
|
+
rightToken = tokens[0];
|
|
2439
|
+
if (comments.length) {
|
|
2440
|
+
const firstComment = comments[0];
|
|
2441
|
+
|
|
2442
|
+
if (
|
|
2443
|
+
!rightToken ||
|
|
2444
|
+
firstComment.range[0] < rightToken.range[0]
|
|
2445
|
+
) {
|
|
2446
|
+
rightToken = firstComment;
|
|
2447
|
+
}
|
|
2448
|
+
}
|
|
2449
|
+
} else {
|
|
2450
|
+
rightToken = rightValue;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
if (
|
|
2454
|
+
leftToken.type === "Punctuator" ||
|
|
2455
|
+
rightToken.type === "Punctuator"
|
|
2456
|
+
) {
|
|
2457
|
+
if (
|
|
2458
|
+
leftToken.type === "Punctuator" &&
|
|
2459
|
+
rightToken.type === "Punctuator"
|
|
2460
|
+
) {
|
|
2461
|
+
const PLUS_TOKENS = new Set(["+", "++"]);
|
|
2462
|
+
const MINUS_TOKENS = new Set(["-", "--"]);
|
|
2463
|
+
|
|
2464
|
+
return !(
|
|
2465
|
+
(PLUS_TOKENS.has(leftToken.value) &&
|
|
2466
|
+
PLUS_TOKENS.has(rightToken.value)) ||
|
|
2467
|
+
(MINUS_TOKENS.has(leftToken.value) &&
|
|
2468
|
+
MINUS_TOKENS.has(rightToken.value))
|
|
2469
|
+
);
|
|
2470
|
+
}
|
|
2471
|
+
if (leftToken.type === "Punctuator" && leftToken.value === "/") {
|
|
2472
|
+
return !["Block", "Line", "RegularExpression"].includes(
|
|
2473
|
+
rightToken.type,
|
|
2474
|
+
);
|
|
2475
|
+
}
|
|
2476
|
+
return true;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
if (
|
|
2480
|
+
leftToken.type === "String" ||
|
|
2481
|
+
rightToken.type === "String" ||
|
|
2482
|
+
leftToken.type === "Template" ||
|
|
2483
|
+
rightToken.type === "Template"
|
|
2484
|
+
) {
|
|
2485
|
+
return true;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
if (
|
|
2489
|
+
leftToken.type !== "Numeric" &&
|
|
2490
|
+
rightToken.type === "Numeric" &&
|
|
2491
|
+
rightToken.value.startsWith(".")
|
|
2492
|
+
) {
|
|
2493
|
+
return true;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
if (
|
|
2497
|
+
leftToken.type === "Block" ||
|
|
2498
|
+
rightToken.type === "Block" ||
|
|
2499
|
+
rightToken.type === "Line"
|
|
2500
|
+
) {
|
|
2501
|
+
return true;
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
if (rightToken.type === "PrivateIdentifier") {
|
|
2505
|
+
return true;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
return false;
|
|
2509
|
+
},
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* Get the `loc` object of a given name in a `/*globals` directive comment.
|
|
2513
|
+
* @param {SourceCode} sourceCode The source code to convert index to loc.
|
|
2514
|
+
* @param {Comment} comment The `/*globals` directive comment which include the name.
|
|
2515
|
+
* @param {string} name The name to find.
|
|
2516
|
+
* @returns {SourceLocation} The `loc` object.
|
|
2517
|
+
*/
|
|
2518
|
+
getNameLocationInGlobalDirectiveComment(sourceCode, comment, name) {
|
|
2519
|
+
const namePattern = new RegExp(
|
|
2520
|
+
`[\\s,]${escapeRegExp(name)}(?:$|[\\s,:])`,
|
|
2521
|
+
"gu",
|
|
2522
|
+
);
|
|
2523
|
+
|
|
2524
|
+
// To ignore the first text "global".
|
|
2525
|
+
namePattern.lastIndex = comment.value.indexOf("global") + 6;
|
|
2526
|
+
|
|
2527
|
+
// Search a given variable name.
|
|
2528
|
+
const match = namePattern.exec(comment.value);
|
|
2529
|
+
|
|
2530
|
+
// Convert the index to loc.
|
|
2531
|
+
const start = sourceCode.getLocFromIndex(
|
|
2532
|
+
comment.range[0] + "/*".length + (match ? match.index + 1 : 0),
|
|
2533
|
+
);
|
|
2534
|
+
const end = {
|
|
2535
|
+
line: start.line,
|
|
2536
|
+
column: start.column + (match ? name.length : 1),
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
return { start, end };
|
|
2540
|
+
},
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* Determines whether the given raw string contains an octal escape sequence
|
|
2544
|
+
* or a non-octal decimal escape sequence ("\8", "\9").
|
|
2545
|
+
*
|
|
2546
|
+
* "\1", "\2" ... "\7", "\8", "\9"
|
|
2547
|
+
* "\00", "\01" ... "\07", "\08", "\09"
|
|
2548
|
+
*
|
|
2549
|
+
* "\0", when not followed by a digit, is not an octal escape sequence.
|
|
2550
|
+
* @param {string} rawString A string in its raw representation.
|
|
2551
|
+
* @returns {boolean} `true` if the string contains at least one octal escape sequence
|
|
2552
|
+
* or at least one non-octal decimal escape sequence.
|
|
2553
|
+
*/
|
|
2554
|
+
hasOctalOrNonOctalDecimalEscapeSequence(rawString) {
|
|
2555
|
+
return OCTAL_OR_NON_OCTAL_DECIMAL_ESCAPE_PATTERN.test(rawString);
|
|
2556
|
+
},
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
* Determines whether the given node is a template literal without expressions.
|
|
2560
|
+
* @param {ASTNode} node Node to check.
|
|
2561
|
+
* @returns {boolean} True if the node is a template literal without expressions.
|
|
2562
|
+
*/
|
|
2563
|
+
isStaticTemplateLiteral(node) {
|
|
2564
|
+
return node.type === "TemplateLiteral" && node.expressions.length === 0;
|
|
2565
|
+
},
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* Determines whether the existing curly braces around the single statement are necessary to preserve the semantics of the code.
|
|
2569
|
+
* The braces, which make the given block body, are necessary in either of the following situations:
|
|
2570
|
+
*
|
|
2571
|
+
* 1. The statement is a lexical declaration.
|
|
2572
|
+
* 2. Without the braces, an `if` within the statement would become associated with an `else` after the closing brace:
|
|
2573
|
+
*
|
|
2574
|
+
* if (a) {
|
|
2575
|
+
* if (b)
|
|
2576
|
+
* foo();
|
|
2577
|
+
* }
|
|
2578
|
+
* else
|
|
2579
|
+
* bar();
|
|
2580
|
+
*
|
|
2581
|
+
* if (a)
|
|
2582
|
+
* while (b)
|
|
2583
|
+
* while (c) {
|
|
2584
|
+
* while (d)
|
|
2585
|
+
* if (e)
|
|
2586
|
+
* while(f)
|
|
2587
|
+
* foo();
|
|
2588
|
+
* }
|
|
2589
|
+
* else
|
|
2590
|
+
* bar();
|
|
2591
|
+
* @param {ASTNode} node `BlockStatement` body with exactly one statement directly inside. The statement can have its own nested statements.
|
|
2592
|
+
* @param {SourceCode} sourceCode The source code
|
|
2593
|
+
* @returns {boolean} `true` if the braces are necessary - removing them (replacing the given `BlockStatement` body with its single statement content)
|
|
2594
|
+
* would change the semantics of the code or produce a syntax error.
|
|
2595
|
+
*/
|
|
2596
|
+
areBracesNecessary(node, sourceCode) {
|
|
2597
|
+
/**
|
|
2598
|
+
* Determines if the given node is a lexical declaration (let, const, using, await using, function, or class)
|
|
2599
|
+
* @param {ASTNode} nodeToCheck The node to check
|
|
2600
|
+
* @returns {boolean} True if the node is a lexical declaration
|
|
2601
|
+
* @private
|
|
2602
|
+
*/
|
|
2603
|
+
function isLexicalDeclaration(nodeToCheck) {
|
|
2604
|
+
if (nodeToCheck.type === "VariableDeclaration") {
|
|
2605
|
+
return LEXICAL_DECLARATION_KINDS.has(nodeToCheck.kind);
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
return (
|
|
2609
|
+
nodeToCheck.type === "FunctionDeclaration" ||
|
|
2610
|
+
nodeToCheck.type === "ClassDeclaration"
|
|
2611
|
+
);
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Checks if the given token is an `else` token or not.
|
|
2616
|
+
* @param {Token} token The token to check.
|
|
2617
|
+
* @returns {boolean} `true` if the token is an `else` token.
|
|
2618
|
+
*/
|
|
2619
|
+
function isElseKeywordToken(token) {
|
|
2620
|
+
return token.value === "else" && token.type === "Keyword";
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
/**
|
|
2624
|
+
* Determines whether the given node has an `else` keyword token as the first token after.
|
|
2625
|
+
* @param {ASTNode} nodeToCheck The node to check.
|
|
2626
|
+
* @returns {boolean} `true` if the node is followed by an `else` keyword token.
|
|
2627
|
+
*/
|
|
2628
|
+
function isFollowedByElseKeyword(nodeToCheck) {
|
|
2629
|
+
const nextToken = sourceCode.getTokenAfter(nodeToCheck);
|
|
2630
|
+
|
|
2631
|
+
return Boolean(nextToken) && isElseKeywordToken(nextToken);
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
/**
|
|
2635
|
+
* Determines whether the code represented by the given node contains an `if` statement
|
|
2636
|
+
* that would become associated with an `else` keyword directly appended to that code.
|
|
2637
|
+
*
|
|
2638
|
+
* Examples where it returns `true`:
|
|
2639
|
+
*
|
|
2640
|
+
* if (a)
|
|
2641
|
+
* foo();
|
|
2642
|
+
*
|
|
2643
|
+
* if (a) {
|
|
2644
|
+
* foo();
|
|
2645
|
+
* }
|
|
2646
|
+
*
|
|
2647
|
+
* if (a)
|
|
2648
|
+
* foo();
|
|
2649
|
+
* else if (b)
|
|
2650
|
+
* bar();
|
|
2651
|
+
*
|
|
2652
|
+
* while (a)
|
|
2653
|
+
* if (b)
|
|
2654
|
+
* if(c)
|
|
2655
|
+
* foo();
|
|
2656
|
+
* else
|
|
2657
|
+
* bar();
|
|
2658
|
+
*
|
|
2659
|
+
* Examples where it returns `false`:
|
|
2660
|
+
*
|
|
2661
|
+
* if (a)
|
|
2662
|
+
* foo();
|
|
2663
|
+
* else
|
|
2664
|
+
* bar();
|
|
2665
|
+
*
|
|
2666
|
+
* while (a) {
|
|
2667
|
+
* if (b)
|
|
2668
|
+
* if(c)
|
|
2669
|
+
* foo();
|
|
2670
|
+
* else
|
|
2671
|
+
* bar();
|
|
2672
|
+
* }
|
|
2673
|
+
*
|
|
2674
|
+
* while (a)
|
|
2675
|
+
* if (b) {
|
|
2676
|
+
* if(c)
|
|
2677
|
+
* foo();
|
|
2678
|
+
* }
|
|
2679
|
+
* else
|
|
2680
|
+
* bar();
|
|
2681
|
+
* @param {ASTNode} nodeToCheck Node representing the code to check.
|
|
2682
|
+
* @returns {boolean} `true` if an `if` statement within the code would become associated with an `else` appended to that code.
|
|
2683
|
+
*/
|
|
2684
|
+
function hasUnsafeIf(nodeToCheck) {
|
|
2685
|
+
switch (nodeToCheck.type) {
|
|
2686
|
+
case "IfStatement":
|
|
2687
|
+
if (!nodeToCheck.alternate) {
|
|
2688
|
+
return true;
|
|
2689
|
+
}
|
|
2690
|
+
return hasUnsafeIf(nodeToCheck.alternate);
|
|
2691
|
+
case "ForStatement":
|
|
2692
|
+
case "ForInStatement":
|
|
2693
|
+
case "ForOfStatement":
|
|
2694
|
+
case "LabeledStatement":
|
|
2695
|
+
case "WithStatement":
|
|
2696
|
+
case "WhileStatement":
|
|
2697
|
+
return hasUnsafeIf(nodeToCheck.body);
|
|
2698
|
+
default:
|
|
2699
|
+
return false;
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
const statement = node.body[0];
|
|
2704
|
+
|
|
2705
|
+
return (
|
|
2706
|
+
isLexicalDeclaration(statement) ||
|
|
2707
|
+
(hasUnsafeIf(statement) && isFollowedByElseKeyword(node))
|
|
2708
|
+
);
|
|
2709
|
+
},
|
|
2710
|
+
|
|
2711
|
+
isReferenceToGlobalVariable,
|
|
2712
|
+
isLogicalExpression,
|
|
2713
|
+
isCoalesceExpression,
|
|
2714
|
+
isMixedLogicalAndCoalesceExpressions,
|
|
2715
|
+
isNullLiteral,
|
|
2716
|
+
getStaticStringValue,
|
|
2717
|
+
getStaticPropertyName,
|
|
2718
|
+
skipChainExpression,
|
|
2719
|
+
isSpecificId,
|
|
2720
|
+
isSpecificMemberAccess,
|
|
2721
|
+
equalLiteralValue,
|
|
2722
|
+
isSameReference,
|
|
2723
|
+
isLogicalAssignmentOperator,
|
|
2724
|
+
getSwitchCaseColonToken,
|
|
2725
|
+
getModuleExportName,
|
|
2726
|
+
isConstant,
|
|
2727
|
+
isTopLevelExpressionStatement,
|
|
2728
|
+
isDirective,
|
|
2729
|
+
isStartOfExpressionStatement,
|
|
2730
|
+
needsPrecedingSemicolon,
|
|
2731
|
+
isImportAttributeKey,
|
|
2732
|
+
getOpeningParenOfParams,
|
|
2733
|
+
};
|