immosquare-cleaner 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/immosquare-cleaner +1 -2
- data/lib/{immosquare-cleaner → immosquare_cleaner}/railtie.rb +1 -1
- data/lib/{immosquare-cleaner → immosquare_cleaner}/version.rb +1 -1
- data/lib/{immosquare-cleaner.rb → immosquare_cleaner.rb} +60 -25
- data/linters/eslintrc.json +36 -0
- data/linters/rubocop.yml +94 -2
- data/node_modules/@aashutoshrathi/word-wrap/LICENSE +21 -0
- data/node_modules/@aashutoshrathi/word-wrap/README.md +182 -0
- data/node_modules/@aashutoshrathi/word-wrap/index.d.ts +50 -0
- data/node_modules/@aashutoshrathi/word-wrap/index.js +52 -0
- data/node_modules/@aashutoshrathi/word-wrap/package.json +81 -0
- data/node_modules/@eslint/eslintrc/LICENSE +19 -0
- data/node_modules/@eslint/eslintrc/README.md +71 -0
- data/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- data/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
- data/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
- data/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- data/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4333 -0
- data/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- data/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
- data/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- data/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
- data/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- data/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- data/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- data/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- data/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1149 -0
- data/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
- data/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- data/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- data/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- data/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- data/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- data/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- data/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- data/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- data/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- data/node_modules/@eslint/eslintrc/package.json +82 -0
- data/node_modules/@eslint/eslintrc/universal.js +9 -0
- data/node_modules/@eslint/js/LICENSE +19 -0
- data/node_modules/@eslint/js/README.md +57 -0
- data/node_modules/@eslint/js/package.json +31 -0
- data/node_modules/@eslint/js/src/configs/eslint-all.js +278 -0
- data/node_modules/@eslint/js/src/configs/eslint-recommended.js +76 -0
- data/node_modules/@eslint/js/src/index.js +17 -0
- data/node_modules/@eslint-community/eslint-utils/LICENSE +21 -0
- data/node_modules/@eslint-community/eslint-utils/README.md +37 -0
- data/node_modules/@eslint-community/eslint-utils/index.js +2068 -0
- data/node_modules/@eslint-community/eslint-utils/index.js.map +1 -0
- data/node_modules/@eslint-community/eslint-utils/index.mjs +2027 -0
- data/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -0
- data/node_modules/@eslint-community/eslint-utils/package.json +73 -0
- data/node_modules/@eslint-community/regexpp/LICENSE +21 -0
- data/node_modules/@eslint-community/regexpp/README.md +177 -0
- data/node_modules/@eslint-community/regexpp/index.d.ts +1044 -0
- data/node_modules/@eslint-community/regexpp/index.js +2752 -0
- data/node_modules/@eslint-community/regexpp/index.js.map +1 -0
- data/node_modules/@eslint-community/regexpp/index.mjs +2743 -0
- data/node_modules/@eslint-community/regexpp/index.mjs.map +1 -0
- data/node_modules/@eslint-community/regexpp/package.json +93 -0
- data/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
- data/node_modules/@humanwhocodes/config-array/README.md +342 -0
- data/node_modules/@humanwhocodes/config-array/api.js +1061 -0
- data/node_modules/@humanwhocodes/config-array/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/@humanwhocodes/config-array/node_modules/minimatch/README.md +224 -0
- data/node_modules/@humanwhocodes/config-array/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/@humanwhocodes/config-array/node_modules/minimatch/package.json +33 -0
- data/node_modules/@humanwhocodes/config-array/package.json +61 -0
- data/node_modules/@humanwhocodes/module-importer/CHANGELOG.md +15 -0
- data/node_modules/@humanwhocodes/module-importer/LICENSE +201 -0
- data/node_modules/@humanwhocodes/module-importer/README.md +80 -0
- data/node_modules/@humanwhocodes/module-importer/dist/module-importer.cjs +22 -0
- data/node_modules/@humanwhocodes/module-importer/dist/module-importer.d.cts +27 -0
- data/node_modules/@humanwhocodes/module-importer/dist/module-importer.d.ts +2 -0
- data/node_modules/@humanwhocodes/module-importer/dist/module-importer.js +18 -0
- data/node_modules/@humanwhocodes/module-importer/package.json +65 -0
- data/node_modules/@humanwhocodes/module-importer/src/module-importer.cjs +81 -0
- data/node_modules/@humanwhocodes/module-importer/src/module-importer.js +22 -0
- data/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +8 -0
- data/node_modules/@humanwhocodes/object-schema/LICENSE +29 -0
- data/node_modules/@humanwhocodes/object-schema/README.md +234 -0
- data/node_modules/@humanwhocodes/object-schema/package.json +33 -0
- data/node_modules/@humanwhocodes/object-schema/src/index.js +7 -0
- data/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +53 -0
- data/node_modules/@humanwhocodes/object-schema/src/object-schema.js +235 -0
- data/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +102 -0
- data/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +66 -0
- data/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +611 -0
- data/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +186 -0
- data/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
- data/node_modules/@nodelib/fs.scandir/README.md +171 -0
- data/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- data/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
- data/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
- data/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
- data/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
- data/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
- data/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- data/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
- data/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
- data/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
- data/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
- data/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
- data/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- data/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
- data/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- data/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
- data/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
- data/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
- data/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
- data/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
- data/node_modules/@nodelib/fs.scandir/package.json +44 -0
- data/node_modules/@nodelib/fs.stat/LICENSE +21 -0
- data/node_modules/@nodelib/fs.stat/README.md +126 -0
- data/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- data/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
- data/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
- data/node_modules/@nodelib/fs.stat/out/index.js +26 -0
- data/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- data/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
- data/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
- data/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
- data/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
- data/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
- data/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- data/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
- data/node_modules/@nodelib/fs.stat/package.json +37 -0
- data/node_modules/@nodelib/fs.walk/LICENSE +21 -0
- data/node_modules/@nodelib/fs.walk/README.md +215 -0
- data/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
- data/node_modules/@nodelib/fs.walk/out/index.js +34 -0
- data/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- data/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
- data/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
- data/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
- data/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
- data/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
- data/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
- data/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
- data/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- data/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
- data/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
- data/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
- data/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- data/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
- data/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
- data/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
- data/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
- data/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
- data/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- data/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
- data/node_modules/@nodelib/fs.walk/package.json +44 -0
- data/node_modules/@types/json5/README.md +18 -0
- data/node_modules/@types/json5/index.d.ts +44 -0
- data/node_modules/@types/json5/package.json +16 -0
- data/node_modules/@types/json5/types-metadata.json +25 -0
- data/node_modules/acorn/CHANGELOG.md +844 -0
- data/node_modules/acorn/LICENSE +21 -0
- data/node_modules/acorn/README.md +278 -0
- data/node_modules/acorn/bin/acorn +4 -0
- data/node_modules/acorn/dist/acorn.d.mts +26 -0
- data/node_modules/acorn/dist/acorn.d.ts +292 -0
- data/node_modules/acorn/dist/acorn.js +5990 -0
- data/node_modules/acorn/dist/acorn.mjs +5961 -0
- data/node_modules/acorn/dist/bin.js +90 -0
- data/node_modules/acorn/package.json +50 -0
- data/node_modules/acorn-jsx/LICENSE +19 -0
- data/node_modules/acorn-jsx/README.md +40 -0
- data/node_modules/acorn-jsx/index.d.ts +12 -0
- data/node_modules/acorn-jsx/index.js +488 -0
- data/node_modules/acorn-jsx/package.json +27 -0
- data/node_modules/acorn-jsx/xhtml.js +255 -0
- data/node_modules/ajv/LICENSE +22 -0
- data/node_modules/ajv/README.md +1497 -0
- data/node_modules/ajv/dist/ajv.bundle.js +7189 -0
- data/node_modules/ajv/dist/ajv.min.js +3 -0
- data/node_modules/ajv/dist/ajv.min.js.map +1 -0
- data/node_modules/ajv/lib/ajv.d.ts +397 -0
- data/node_modules/ajv/lib/ajv.js +506 -0
- data/node_modules/ajv/lib/cache.js +26 -0
- data/node_modules/ajv/lib/compile/async.js +90 -0
- data/node_modules/ajv/lib/compile/equal.js +5 -0
- data/node_modules/ajv/lib/compile/error_classes.js +34 -0
- data/node_modules/ajv/lib/compile/formats.js +142 -0
- data/node_modules/ajv/lib/compile/index.js +387 -0
- data/node_modules/ajv/lib/compile/resolve.js +270 -0
- data/node_modules/ajv/lib/compile/rules.js +66 -0
- data/node_modules/ajv/lib/compile/schema_obj.js +9 -0
- data/node_modules/ajv/lib/compile/ucs2length.js +20 -0
- data/node_modules/ajv/lib/compile/util.js +239 -0
- data/node_modules/ajv/lib/data.js +49 -0
- data/node_modules/ajv/lib/definition_schema.js +37 -0
- data/node_modules/ajv/lib/dot/_limit.jst +113 -0
- data/node_modules/ajv/lib/dot/_limitItems.jst +12 -0
- data/node_modules/ajv/lib/dot/_limitLength.jst +12 -0
- data/node_modules/ajv/lib/dot/_limitProperties.jst +12 -0
- data/node_modules/ajv/lib/dot/allOf.jst +32 -0
- data/node_modules/ajv/lib/dot/anyOf.jst +46 -0
- data/node_modules/ajv/lib/dot/coerce.def +51 -0
- data/node_modules/ajv/lib/dot/comment.jst +9 -0
- data/node_modules/ajv/lib/dot/const.jst +11 -0
- data/node_modules/ajv/lib/dot/contains.jst +55 -0
- data/node_modules/ajv/lib/dot/custom.jst +191 -0
- data/node_modules/ajv/lib/dot/defaults.def +47 -0
- data/node_modules/ajv/lib/dot/definitions.def +203 -0
- data/node_modules/ajv/lib/dot/dependencies.jst +79 -0
- data/node_modules/ajv/lib/dot/enum.jst +30 -0
- data/node_modules/ajv/lib/dot/errors.def +194 -0
- data/node_modules/ajv/lib/dot/format.jst +106 -0
- data/node_modules/ajv/lib/dot/if.jst +73 -0
- data/node_modules/ajv/lib/dot/items.jst +98 -0
- data/node_modules/ajv/lib/dot/missing.def +39 -0
- data/node_modules/ajv/lib/dot/multipleOf.jst +22 -0
- data/node_modules/ajv/lib/dot/not.jst +43 -0
- data/node_modules/ajv/lib/dot/oneOf.jst +54 -0
- data/node_modules/ajv/lib/dot/pattern.jst +14 -0
- data/node_modules/ajv/lib/dot/properties.jst +245 -0
- data/node_modules/ajv/lib/dot/propertyNames.jst +52 -0
- data/node_modules/ajv/lib/dot/ref.jst +85 -0
- data/node_modules/ajv/lib/dot/required.jst +108 -0
- data/node_modules/ajv/lib/dot/uniqueItems.jst +62 -0
- data/node_modules/ajv/lib/dot/validate.jst +276 -0
- data/node_modules/ajv/lib/dotjs/README.md +3 -0
- data/node_modules/ajv/lib/dotjs/_limit.js +163 -0
- data/node_modules/ajv/lib/dotjs/_limitItems.js +80 -0
- data/node_modules/ajv/lib/dotjs/_limitLength.js +85 -0
- data/node_modules/ajv/lib/dotjs/_limitProperties.js +80 -0
- data/node_modules/ajv/lib/dotjs/allOf.js +42 -0
- data/node_modules/ajv/lib/dotjs/anyOf.js +73 -0
- data/node_modules/ajv/lib/dotjs/comment.js +14 -0
- data/node_modules/ajv/lib/dotjs/const.js +56 -0
- data/node_modules/ajv/lib/dotjs/contains.js +81 -0
- data/node_modules/ajv/lib/dotjs/custom.js +228 -0
- data/node_modules/ajv/lib/dotjs/dependencies.js +168 -0
- data/node_modules/ajv/lib/dotjs/enum.js +66 -0
- data/node_modules/ajv/lib/dotjs/format.js +150 -0
- data/node_modules/ajv/lib/dotjs/if.js +103 -0
- data/node_modules/ajv/lib/dotjs/index.js +33 -0
- data/node_modules/ajv/lib/dotjs/items.js +140 -0
- data/node_modules/ajv/lib/dotjs/multipleOf.js +80 -0
- data/node_modules/ajv/lib/dotjs/not.js +84 -0
- data/node_modules/ajv/lib/dotjs/oneOf.js +73 -0
- data/node_modules/ajv/lib/dotjs/pattern.js +75 -0
- data/node_modules/ajv/lib/dotjs/properties.js +335 -0
- data/node_modules/ajv/lib/dotjs/propertyNames.js +81 -0
- data/node_modules/ajv/lib/dotjs/ref.js +124 -0
- data/node_modules/ajv/lib/dotjs/required.js +270 -0
- data/node_modules/ajv/lib/dotjs/uniqueItems.js +86 -0
- data/node_modules/ajv/lib/dotjs/validate.js +482 -0
- data/node_modules/ajv/lib/keyword.js +146 -0
- data/node_modules/ajv/lib/refs/data.json +17 -0
- data/node_modules/ajv/lib/refs/json-schema-draft-04.json +149 -0
- data/node_modules/ajv/lib/refs/json-schema-draft-06.json +154 -0
- data/node_modules/ajv/lib/refs/json-schema-draft-07.json +168 -0
- data/node_modules/ajv/lib/refs/json-schema-secure.json +94 -0
- data/node_modules/ajv/package.json +106 -0
- data/node_modules/ajv/scripts/bundle.js +61 -0
- data/node_modules/ajv/scripts/compile-dots.js +73 -0
- data/node_modules/ajv/scripts/info +10 -0
- data/node_modules/ajv/scripts/prepare-tests +12 -0
- data/node_modules/ajv/scripts/publish-built-version +32 -0
- data/node_modules/ajv/scripts/travis-gh-pages +23 -0
- data/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/ansi-regex/license +9 -0
- data/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/ansi-styles/index.d.ts +345 -0
- data/node_modules/ansi-styles/index.js +163 -0
- data/node_modules/ansi-styles/license +9 -0
- data/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/ansi-styles/readme.md +152 -0
- data/node_modules/argparse/CHANGELOG.md +216 -0
- data/node_modules/argparse/LICENSE +254 -0
- data/node_modules/argparse/README.md +84 -0
- data/node_modules/argparse/argparse.js +3707 -0
- data/node_modules/argparse/lib/sub.js +67 -0
- data/node_modules/argparse/lib/textwrap.js +440 -0
- data/node_modules/argparse/package.json +31 -0
- data/node_modules/array-buffer-byte-length/CHANGELOG.md +15 -0
- data/node_modules/array-buffer-byte-length/LICENSE +21 -0
- data/node_modules/array-buffer-byte-length/README.md +40 -0
- data/node_modules/array-buffer-byte-length/index.js +13 -0
- data/node_modules/array-buffer-byte-length/package.json +81 -0
- data/node_modules/array-buffer-byte-length/test/index.js +26 -0
- data/node_modules/array-includes/CHANGELOG.md +167 -0
- data/node_modules/array-includes/LICENSE +21 -0
- data/node_modules/array-includes/README.md +105 -0
- data/node_modules/array-includes/auto.js +3 -0
- data/node_modules/array-includes/implementation.js +36 -0
- data/node_modules/array-includes/index.js +27 -0
- data/node_modules/array-includes/package.json +114 -0
- data/node_modules/array-includes/polyfill.js +13 -0
- data/node_modules/array-includes/shim.js +14 -0
- data/node_modules/array-includes/test/implementation.js +20 -0
- data/node_modules/array-includes/test/index.js +17 -0
- data/node_modules/array-includes/test/shimmed.js +39 -0
- data/node_modules/array-includes/test/tests.js +94 -0
- data/node_modules/array.prototype.findlastindex/CHANGELOG.md +75 -0
- data/node_modules/array.prototype.findlastindex/LICENSE +21 -0
- data/node_modules/array.prototype.findlastindex/README.md +74 -0
- data/node_modules/array.prototype.findlastindex/auto.js +3 -0
- data/node_modules/array.prototype.findlastindex/implementation.js +39 -0
- data/node_modules/array.prototype.findlastindex/index.js +28 -0
- data/node_modules/array.prototype.findlastindex/index.mjs +18 -0
- data/node_modules/array.prototype.findlastindex/package.json +120 -0
- data/node_modules/array.prototype.findlastindex/polyfill.js +7 -0
- data/node_modules/array.prototype.findlastindex/shim.js +18 -0
- data/node_modules/array.prototype.findlastindex/test/implementation.js +20 -0
- data/node_modules/array.prototype.findlastindex/test/index.js +18 -0
- data/node_modules/array.prototype.findlastindex/test/index.mjs +31 -0
- data/node_modules/array.prototype.findlastindex/test/shimmed.js +47 -0
- data/node_modules/array.prototype.findlastindex/test/tests.js +246 -0
- data/node_modules/array.prototype.flat/CHANGELOG.md +109 -0
- data/node_modules/array.prototype.flat/LICENSE +21 -0
- data/node_modules/array.prototype.flat/README.md +75 -0
- data/node_modules/array.prototype.flat/auto.js +3 -0
- data/node_modules/array.prototype.flat/implementation.js +22 -0
- data/node_modules/array.prototype.flat/index.js +19 -0
- data/node_modules/array.prototype.flat/package.json +113 -0
- data/node_modules/array.prototype.flat/polyfill.js +7 -0
- data/node_modules/array.prototype.flat/shim.js +20 -0
- data/node_modules/array.prototype.flat/test/implementation.js +20 -0
- data/node_modules/array.prototype.flat/test/index.js +17 -0
- data/node_modules/array.prototype.flat/test/shimmed.js +36 -0
- data/node_modules/array.prototype.flat/test/tests.js +30 -0
- data/node_modules/array.prototype.flatmap/CHANGELOG.md +109 -0
- data/node_modules/array.prototype.flatmap/LICENSE +21 -0
- data/node_modules/array.prototype.flatmap/README.md +82 -0
- data/node_modules/array.prototype.flatmap/auto.js +3 -0
- data/node_modules/array.prototype.flatmap/implementation.js +26 -0
- data/node_modules/array.prototype.flatmap/index.js +19 -0
- data/node_modules/array.prototype.flatmap/package.json +112 -0
- data/node_modules/array.prototype.flatmap/polyfill.js +7 -0
- data/node_modules/array.prototype.flatmap/shim.js +20 -0
- data/node_modules/array.prototype.flatmap/test/implementation.js +20 -0
- data/node_modules/array.prototype.flatmap/test/index.js +18 -0
- data/node_modules/array.prototype.flatmap/test/shimmed.js +36 -0
- data/node_modules/array.prototype.flatmap/test/tests.js +43 -0
- data/node_modules/arraybuffer.prototype.slice/CHANGELOG.md +31 -0
- data/node_modules/arraybuffer.prototype.slice/LICENSE +21 -0
- data/node_modules/arraybuffer.prototype.slice/README.md +61 -0
- data/node_modules/arraybuffer.prototype.slice/auto.js +3 -0
- data/node_modules/arraybuffer.prototype.slice/implementation.js +84 -0
- data/node_modules/arraybuffer.prototype.slice/index.js +18 -0
- data/node_modules/arraybuffer.prototype.slice/package.json +103 -0
- data/node_modules/arraybuffer.prototype.slice/polyfill.js +21 -0
- data/node_modules/arraybuffer.prototype.slice/shim.js +18 -0
- data/node_modules/arraybuffer.prototype.slice/test/implementation.js +32 -0
- data/node_modules/arraybuffer.prototype.slice/test/index.js +29 -0
- data/node_modules/arraybuffer.prototype.slice/test/shimmed.js +54 -0
- data/node_modules/arraybuffer.prototype.slice/test/tests.js +81 -0
- data/node_modules/available-typed-arrays/CHANGELOG.md +79 -0
- data/node_modules/available-typed-arrays/LICENSE +21 -0
- data/node_modules/available-typed-arrays/README.md +52 -0
- data/node_modules/available-typed-arrays/index.js +27 -0
- data/node_modules/available-typed-arrays/package.json +82 -0
- data/node_modules/available-typed-arrays/test/index.js +18 -0
- data/node_modules/balanced-match/LICENSE.md +21 -0
- data/node_modules/balanced-match/README.md +97 -0
- data/node_modules/balanced-match/index.js +62 -0
- data/node_modules/balanced-match/package.json +48 -0
- data/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/call-bind/CHANGELOG.md +42 -0
- data/node_modules/call-bind/LICENSE +21 -0
- data/node_modules/call-bind/README.md +2 -0
- data/node_modules/call-bind/callBound.js +15 -0
- data/node_modules/call-bind/index.js +47 -0
- data/node_modules/call-bind/package.json +80 -0
- data/node_modules/call-bind/test/callBound.js +55 -0
- data/node_modules/call-bind/test/index.js +66 -0
- data/node_modules/callsites/index.d.ts +96 -0
- data/node_modules/callsites/index.js +13 -0
- data/node_modules/callsites/license +9 -0
- data/node_modules/callsites/package.json +39 -0
- data/node_modules/callsites/readme.md +48 -0
- data/node_modules/chalk/index.d.ts +415 -0
- data/node_modules/chalk/license +9 -0
- data/node_modules/chalk/package.json +68 -0
- data/node_modules/chalk/readme.md +341 -0
- data/node_modules/chalk/source/index.js +229 -0
- data/node_modules/chalk/source/templates.js +134 -0
- data/node_modules/chalk/source/util.js +39 -0
- data/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/color-convert/README.md +68 -0
- data/node_modules/color-convert/conversions.js +839 -0
- data/node_modules/color-convert/index.js +81 -0
- data/node_modules/color-convert/package.json +48 -0
- data/node_modules/color-convert/route.js +97 -0
- data/node_modules/color-name/LICENSE +8 -0
- data/node_modules/color-name/README.md +11 -0
- data/node_modules/color-name/index.js +152 -0
- data/node_modules/color-name/package.json +28 -0
- data/node_modules/concat-map/LICENSE +18 -0
- data/node_modules/concat-map/README.markdown +62 -0
- data/node_modules/concat-map/example/map.js +6 -0
- data/node_modules/concat-map/index.js +13 -0
- data/node_modules/concat-map/package.json +43 -0
- data/node_modules/concat-map/test/map.js +39 -0
- data/node_modules/confusing-browser-globals/LICENSE +21 -0
- data/node_modules/confusing-browser-globals/README.md +45 -0
- data/node_modules/confusing-browser-globals/index.js +69 -0
- data/node_modules/confusing-browser-globals/package.json +26 -0
- data/node_modules/cross-spawn/CHANGELOG.md +130 -0
- data/node_modules/cross-spawn/LICENSE +21 -0
- data/node_modules/cross-spawn/README.md +96 -0
- data/node_modules/cross-spawn/index.js +39 -0
- data/node_modules/cross-spawn/lib/enoent.js +59 -0
- data/node_modules/cross-spawn/lib/parse.js +91 -0
- data/node_modules/cross-spawn/lib/util/escape.js +45 -0
- data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- data/node_modules/cross-spawn/package.json +73 -0
- data/node_modules/debug/LICENSE +20 -0
- data/node_modules/debug/README.md +481 -0
- data/node_modules/debug/package.json +59 -0
- data/node_modules/debug/src/browser.js +269 -0
- data/node_modules/debug/src/common.js +274 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/deep-is/LICENSE +22 -0
- data/node_modules/deep-is/README.markdown +70 -0
- data/node_modules/deep-is/example/cmp.js +11 -0
- data/node_modules/deep-is/index.js +102 -0
- data/node_modules/deep-is/package.json +58 -0
- data/node_modules/deep-is/test/NaN.js +16 -0
- data/node_modules/deep-is/test/cmp.js +23 -0
- data/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
- data/node_modules/define-data-property/CHANGELOG.md +31 -0
- data/node_modules/define-data-property/LICENSE +21 -0
- data/node_modules/define-data-property/README.md +67 -0
- data/node_modules/define-data-property/index.d.ts +3 -0
- data/node_modules/define-data-property/index.d.ts.map +1 -0
- data/node_modules/define-data-property/index.js +60 -0
- data/node_modules/define-data-property/package.json +111 -0
- data/node_modules/define-data-property/test/index.js +397 -0
- data/node_modules/define-data-property/tsconfig.json +58 -0
- data/node_modules/define-data-property/tsinit +109 -0
- data/node_modules/define-properties/CHANGELOG.md +91 -0
- data/node_modules/define-properties/LICENSE +21 -0
- data/node_modules/define-properties/README.md +84 -0
- data/node_modules/define-properties/index.js +47 -0
- data/node_modules/define-properties/package.json +88 -0
- data/node_modules/doctrine/CHANGELOG.md +101 -0
- data/node_modules/doctrine/LICENSE +177 -0
- data/node_modules/doctrine/LICENSE.closure-compiler +202 -0
- data/node_modules/doctrine/LICENSE.esprima +19 -0
- data/node_modules/doctrine/README.md +165 -0
- data/node_modules/doctrine/lib/doctrine.js +898 -0
- data/node_modules/doctrine/lib/typed.js +1305 -0
- data/node_modules/doctrine/lib/utility.js +35 -0
- data/node_modules/doctrine/package.json +58 -0
- data/node_modules/es-abstract/2015/AbstractEqualityComparison.js +37 -0
- data/node_modules/es-abstract/2015/AbstractRelationalComparison.js +63 -0
- data/node_modules/es-abstract/2015/AdvanceStringIndex.js +47 -0
- data/node_modules/es-abstract/2015/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2015/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2015/ArraySpeciesCreate.js +47 -0
- data/node_modules/es-abstract/2015/Call.js +20 -0
- data/node_modules/es-abstract/2015/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2015/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2015/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2015/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2015/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2015/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2015/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2015/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2015/CreateListFromArrayLike.js +45 -0
- data/node_modules/es-abstract/2015/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2015/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2015/Day.js +11 -0
- data/node_modules/es-abstract/2015/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2015/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2015/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2015/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2015/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2015/DetachArrayBuffer.js +34 -0
- data/node_modules/es-abstract/2015/EnumerableOwnNames.js +19 -0
- data/node_modules/es-abstract/2015/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2015/Get.js +25 -0
- data/node_modules/es-abstract/2015/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2015/GetIterator.js +34 -0
- data/node_modules/es-abstract/2015/GetMethod.js +36 -0
- data/node_modules/es-abstract/2015/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2015/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2015/GetSubstitution.js +100 -0
- data/node_modules/es-abstract/2015/GetV.js +25 -0
- data/node_modules/es-abstract/2015/GetValueFromBuffer.js +97 -0
- data/node_modules/es-abstract/2015/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2015/HasProperty.js +20 -0
- data/node_modules/es-abstract/2015/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2015/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2015/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2015/Invoke.js +24 -0
- data/node_modules/es-abstract/2015/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2015/IsArray.js +4 -0
- data/node_modules/es-abstract/2015/IsCallable.js +5 -0
- data/node_modules/es-abstract/2015/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2015/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2015/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2015/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2015/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2015/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2015/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2015/IsInteger.js +9 -0
- data/node_modules/es-abstract/2015/IsPromise.js +24 -0
- data/node_modules/es-abstract/2015/IsPropertyDescriptor.js +19 -0
- data/node_modules/es-abstract/2015/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2015/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2015/IsWordChar.js +39 -0
- data/node_modules/es-abstract/2015/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2015/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2015/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2015/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2015/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2015/MakeDate.js +13 -0
- data/node_modules/es-abstract/2015/MakeDay.js +33 -0
- data/node_modules/es-abstract/2015/MakeTime.js +23 -0
- data/node_modules/es-abstract/2015/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2015/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2015/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2015/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2015/ObjectCreate.js +50 -0
- data/node_modules/es-abstract/2015/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2015/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2015/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2015/QuoteJSONString.js +52 -0
- data/node_modules/es-abstract/2015/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2015/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2015/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2015/SameValue.js +13 -0
- data/node_modules/es-abstract/2015/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2015/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2015/Set.js +47 -0
- data/node_modules/es-abstract/2015/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2015/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2015/SetValueInBuffer.js +120 -0
- data/node_modules/es-abstract/2015/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2015/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2015/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2015/StringCreate.js +40 -0
- data/node_modules/es-abstract/2015/StringGetIndexProperty.js +52 -0
- data/node_modules/es-abstract/2015/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2015/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2015/TimeClip.js +21 -0
- data/node_modules/es-abstract/2015/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2015/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2015/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2015/ToDateString.js +23 -0
- data/node_modules/es-abstract/2015/ToInt16.js +10 -0
- data/node_modules/es-abstract/2015/ToInt32.js +9 -0
- data/node_modules/es-abstract/2015/ToInt8.js +10 -0
- data/node_modules/es-abstract/2015/ToInteger.js +12 -0
- data/node_modules/es-abstract/2015/ToLength.js +12 -0
- data/node_modules/es-abstract/2015/ToNumber.js +48 -0
- data/node_modules/es-abstract/2015/ToObject.js +14 -0
- data/node_modules/es-abstract/2015/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2015/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2015/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2015/ToString.js +15 -0
- data/node_modules/es-abstract/2015/ToUint16.js +19 -0
- data/node_modules/es-abstract/2015/ToUint32.js +9 -0
- data/node_modules/es-abstract/2015/ToUint8.js +20 -0
- data/node_modules/es-abstract/2015/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2015/Type.js +12 -0
- data/node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2015/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2015/WeekDay.js +10 -0
- data/node_modules/es-abstract/2015/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2015/abs.js +11 -0
- data/node_modules/es-abstract/2015/floor.js +11 -0
- data/node_modules/es-abstract/2015/max.js +7 -0
- data/node_modules/es-abstract/2015/min.js +7 -0
- data/node_modules/es-abstract/2015/modulo.js +9 -0
- data/node_modules/es-abstract/2015/msFromTime.js +11 -0
- data/node_modules/es-abstract/2015/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2015/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2015/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2015/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2016/AbstractEqualityComparison.js +37 -0
- data/node_modules/es-abstract/2016/AbstractRelationalComparison.js +63 -0
- data/node_modules/es-abstract/2016/AdvanceStringIndex.js +47 -0
- data/node_modules/es-abstract/2016/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2016/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2016/ArraySpeciesCreate.js +47 -0
- data/node_modules/es-abstract/2016/Call.js +20 -0
- data/node_modules/es-abstract/2016/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2016/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2016/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2016/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2016/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2016/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2016/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2016/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2016/CreateListFromArrayLike.js +45 -0
- data/node_modules/es-abstract/2016/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2016/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2016/Day.js +11 -0
- data/node_modules/es-abstract/2016/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2016/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2016/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2016/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2016/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2016/DetachArrayBuffer.js +34 -0
- data/node_modules/es-abstract/2016/EnumerableOwnNames.js +19 -0
- data/node_modules/es-abstract/2016/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2016/Get.js +25 -0
- data/node_modules/es-abstract/2016/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2016/GetIterator.js +34 -0
- data/node_modules/es-abstract/2016/GetMethod.js +36 -0
- data/node_modules/es-abstract/2016/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2016/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2016/GetSubstitution.js +100 -0
- data/node_modules/es-abstract/2016/GetV.js +25 -0
- data/node_modules/es-abstract/2016/GetValueFromBuffer.js +97 -0
- data/node_modules/es-abstract/2016/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2016/HasProperty.js +20 -0
- data/node_modules/es-abstract/2016/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2016/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2016/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2016/Invoke.js +24 -0
- data/node_modules/es-abstract/2016/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2016/IsArray.js +4 -0
- data/node_modules/es-abstract/2016/IsCallable.js +5 -0
- data/node_modules/es-abstract/2016/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2016/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2016/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2016/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2016/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2016/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2016/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2016/IsInteger.js +9 -0
- data/node_modules/es-abstract/2016/IsPromise.js +24 -0
- data/node_modules/es-abstract/2016/IsPropertyDescriptor.js +19 -0
- data/node_modules/es-abstract/2016/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2016/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2016/IsWordChar.js +39 -0
- data/node_modules/es-abstract/2016/IterableToArrayLike.js +39 -0
- data/node_modules/es-abstract/2016/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2016/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2016/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2016/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2016/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2016/MakeDate.js +13 -0
- data/node_modules/es-abstract/2016/MakeDay.js +33 -0
- data/node_modules/es-abstract/2016/MakeTime.js +23 -0
- data/node_modules/es-abstract/2016/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2016/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2016/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2016/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2016/ObjectCreate.js +50 -0
- data/node_modules/es-abstract/2016/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2016/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2016/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2016/QuoteJSONString.js +52 -0
- data/node_modules/es-abstract/2016/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2016/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2016/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2016/SameValue.js +13 -0
- data/node_modules/es-abstract/2016/SameValueNonNumber.js +16 -0
- data/node_modules/es-abstract/2016/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2016/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2016/Set.js +47 -0
- data/node_modules/es-abstract/2016/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2016/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2016/SetValueInBuffer.js +120 -0
- data/node_modules/es-abstract/2016/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2016/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2016/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2016/StringCreate.js +40 -0
- data/node_modules/es-abstract/2016/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2016/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2016/TimeClip.js +21 -0
- data/node_modules/es-abstract/2016/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2016/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2016/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2016/ToDateString.js +23 -0
- data/node_modules/es-abstract/2016/ToInt16.js +10 -0
- data/node_modules/es-abstract/2016/ToInt32.js +9 -0
- data/node_modules/es-abstract/2016/ToInt8.js +10 -0
- data/node_modules/es-abstract/2016/ToInteger.js +12 -0
- data/node_modules/es-abstract/2016/ToLength.js +12 -0
- data/node_modules/es-abstract/2016/ToNumber.js +48 -0
- data/node_modules/es-abstract/2016/ToObject.js +14 -0
- data/node_modules/es-abstract/2016/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2016/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2016/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2016/ToString.js +15 -0
- data/node_modules/es-abstract/2016/ToUint16.js +19 -0
- data/node_modules/es-abstract/2016/ToUint32.js +9 -0
- data/node_modules/es-abstract/2016/ToUint8.js +20 -0
- data/node_modules/es-abstract/2016/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2016/Type.js +12 -0
- data/node_modules/es-abstract/2016/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2016/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2016/UTF16Decode.js +21 -0
- data/node_modules/es-abstract/2016/UTF16Encoding.js +25 -0
- data/node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2016/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2016/WeekDay.js +10 -0
- data/node_modules/es-abstract/2016/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2016/abs.js +11 -0
- data/node_modules/es-abstract/2016/floor.js +11 -0
- data/node_modules/es-abstract/2016/max.js +7 -0
- data/node_modules/es-abstract/2016/min.js +7 -0
- data/node_modules/es-abstract/2016/modulo.js +9 -0
- data/node_modules/es-abstract/2016/msFromTime.js +11 -0
- data/node_modules/es-abstract/2016/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2016/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2016/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2016/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2017/AbstractEqualityComparison.js +37 -0
- data/node_modules/es-abstract/2017/AbstractRelationalComparison.js +63 -0
- data/node_modules/es-abstract/2017/AdvanceStringIndex.js +47 -0
- data/node_modules/es-abstract/2017/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2017/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2017/ArraySpeciesCreate.js +47 -0
- data/node_modules/es-abstract/2017/Call.js +20 -0
- data/node_modules/es-abstract/2017/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2017/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2017/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2017/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2017/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2017/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2017/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2017/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2017/CreateListFromArrayLike.js +45 -0
- data/node_modules/es-abstract/2017/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2017/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2017/Day.js +11 -0
- data/node_modules/es-abstract/2017/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2017/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2017/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2017/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2017/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2017/DetachArrayBuffer.js +35 -0
- data/node_modules/es-abstract/2017/EnumerableOwnProperties.js +43 -0
- data/node_modules/es-abstract/2017/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2017/Get.js +25 -0
- data/node_modules/es-abstract/2017/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2017/GetIterator.js +34 -0
- data/node_modules/es-abstract/2017/GetMethod.js +36 -0
- data/node_modules/es-abstract/2017/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2017/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2017/GetSubstitution.js +100 -0
- data/node_modules/es-abstract/2017/GetV.js +25 -0
- data/node_modules/es-abstract/2017/GetValueFromBuffer.js +108 -0
- data/node_modules/es-abstract/2017/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2017/HasProperty.js +20 -0
- data/node_modules/es-abstract/2017/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2017/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2017/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2017/Invoke.js +24 -0
- data/node_modules/es-abstract/2017/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2017/IsArray.js +4 -0
- data/node_modules/es-abstract/2017/IsCallable.js +5 -0
- data/node_modules/es-abstract/2017/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2017/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2017/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2017/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2017/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2017/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2017/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2017/IsInteger.js +9 -0
- data/node_modules/es-abstract/2017/IsPromise.js +24 -0
- data/node_modules/es-abstract/2017/IsPropertyDescriptor.js +19 -0
- data/node_modules/es-abstract/2017/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2017/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2017/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2017/IsWordChar.js +48 -0
- data/node_modules/es-abstract/2017/IterableToList.js +24 -0
- data/node_modules/es-abstract/2017/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2017/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2017/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2017/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2017/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2017/MakeDate.js +13 -0
- data/node_modules/es-abstract/2017/MakeDay.js +33 -0
- data/node_modules/es-abstract/2017/MakeTime.js +23 -0
- data/node_modules/es-abstract/2017/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2017/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2017/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2017/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2017/NumberToRawBytes.js +74 -0
- data/node_modules/es-abstract/2017/ObjectCreate.js +50 -0
- data/node_modules/es-abstract/2017/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2017/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2017/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2017/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2017/QuoteJSONString.js +52 -0
- data/node_modules/es-abstract/2017/RawBytesToNumber.js +74 -0
- data/node_modules/es-abstract/2017/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2017/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2017/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2017/SameValue.js +13 -0
- data/node_modules/es-abstract/2017/SameValueNonNumber.js +16 -0
- data/node_modules/es-abstract/2017/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2017/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2017/Set.js +47 -0
- data/node_modules/es-abstract/2017/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2017/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2017/SetValueInBuffer.js +120 -0
- data/node_modules/es-abstract/2017/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2017/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2017/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2017/StringCreate.js +40 -0
- data/node_modules/es-abstract/2017/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2017/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2017/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2017/TimeClip.js +21 -0
- data/node_modules/es-abstract/2017/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2017/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2017/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2017/ToDateString.js +23 -0
- data/node_modules/es-abstract/2017/ToIndex.js +26 -0
- data/node_modules/es-abstract/2017/ToInt16.js +10 -0
- data/node_modules/es-abstract/2017/ToInt32.js +9 -0
- data/node_modules/es-abstract/2017/ToInt8.js +10 -0
- data/node_modules/es-abstract/2017/ToInteger.js +12 -0
- data/node_modules/es-abstract/2017/ToLength.js +12 -0
- data/node_modules/es-abstract/2017/ToNumber.js +48 -0
- data/node_modules/es-abstract/2017/ToObject.js +14 -0
- data/node_modules/es-abstract/2017/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2017/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2017/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2017/ToString.js +15 -0
- data/node_modules/es-abstract/2017/ToUint16.js +19 -0
- data/node_modules/es-abstract/2017/ToUint32.js +9 -0
- data/node_modules/es-abstract/2017/ToUint8.js +20 -0
- data/node_modules/es-abstract/2017/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2017/Type.js +12 -0
- data/node_modules/es-abstract/2017/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2017/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2017/UTF16Decode.js +21 -0
- data/node_modules/es-abstract/2017/UTF16Encoding.js +25 -0
- data/node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2017/ValidateAtomicAccess.js +36 -0
- data/node_modules/es-abstract/2017/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2017/WeekDay.js +10 -0
- data/node_modules/es-abstract/2017/WordCharacters.js +49 -0
- data/node_modules/es-abstract/2017/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2017/abs.js +11 -0
- data/node_modules/es-abstract/2017/floor.js +11 -0
- data/node_modules/es-abstract/2017/max.js +7 -0
- data/node_modules/es-abstract/2017/min.js +7 -0
- data/node_modules/es-abstract/2017/modulo.js +9 -0
- data/node_modules/es-abstract/2017/msFromTime.js +11 -0
- data/node_modules/es-abstract/2017/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2017/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2017/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2017/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2018/AbstractEqualityComparison.js +37 -0
- data/node_modules/es-abstract/2018/AbstractRelationalComparison.js +61 -0
- data/node_modules/es-abstract/2018/AdvanceStringIndex.js +47 -0
- data/node_modules/es-abstract/2018/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2018/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2018/ArraySpeciesCreate.js +47 -0
- data/node_modules/es-abstract/2018/AsyncIteratorClose.js +62 -0
- data/node_modules/es-abstract/2018/Call.js +20 -0
- data/node_modules/es-abstract/2018/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2018/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2018/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2018/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2018/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2018/CopyDataProperties.js +68 -0
- data/node_modules/es-abstract/2018/CreateAsyncFromSyncIterator.js +155 -0
- data/node_modules/es-abstract/2018/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2018/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2018/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2018/CreateListFromArrayLike.js +45 -0
- data/node_modules/es-abstract/2018/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2018/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2018/DateString.js +30 -0
- data/node_modules/es-abstract/2018/Day.js +11 -0
- data/node_modules/es-abstract/2018/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2018/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2018/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2018/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2018/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2018/DetachArrayBuffer.js +43 -0
- data/node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js +43 -0
- data/node_modules/es-abstract/2018/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2018/Get.js +25 -0
- data/node_modules/es-abstract/2018/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2018/GetIterator.js +34 -0
- data/node_modules/es-abstract/2018/GetMethod.js +36 -0
- data/node_modules/es-abstract/2018/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2018/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2018/GetSubstitution.js +124 -0
- data/node_modules/es-abstract/2018/GetV.js +25 -0
- data/node_modules/es-abstract/2018/GetValueFromBuffer.js +108 -0
- data/node_modules/es-abstract/2018/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2018/HasProperty.js +20 -0
- data/node_modules/es-abstract/2018/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2018/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2018/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2018/Invoke.js +24 -0
- data/node_modules/es-abstract/2018/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2018/IsArray.js +4 -0
- data/node_modules/es-abstract/2018/IsCallable.js +5 -0
- data/node_modules/es-abstract/2018/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2018/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2018/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2018/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2018/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2018/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2018/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2018/IsInteger.js +9 -0
- data/node_modules/es-abstract/2018/IsPromise.js +24 -0
- data/node_modules/es-abstract/2018/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2018/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2018/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2018/IsStringPrefix.js +47 -0
- data/node_modules/es-abstract/2018/IsWordChar.js +48 -0
- data/node_modules/es-abstract/2018/IterableToList.js +24 -0
- data/node_modules/es-abstract/2018/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2018/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2018/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2018/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2018/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2018/MakeDate.js +13 -0
- data/node_modules/es-abstract/2018/MakeDay.js +33 -0
- data/node_modules/es-abstract/2018/MakeTime.js +23 -0
- data/node_modules/es-abstract/2018/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2018/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2018/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2018/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2018/NumberToRawBytes.js +74 -0
- data/node_modules/es-abstract/2018/NumberToString.js +19 -0
- data/node_modules/es-abstract/2018/ObjectCreate.js +50 -0
- data/node_modules/es-abstract/2018/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2018/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2018/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2018/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2018/PromiseResolve.js +17 -0
- data/node_modules/es-abstract/2018/QuoteJSONString.js +48 -0
- data/node_modules/es-abstract/2018/RawBytesToNumber.js +74 -0
- data/node_modules/es-abstract/2018/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2018/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2018/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2018/SameValue.js +13 -0
- data/node_modules/es-abstract/2018/SameValueNonNumber.js +16 -0
- data/node_modules/es-abstract/2018/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2018/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2018/Set.js +47 -0
- data/node_modules/es-abstract/2018/SetFunctionLength.js +32 -0
- data/node_modules/es-abstract/2018/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2018/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2018/SetValueInBuffer.js +120 -0
- data/node_modules/es-abstract/2018/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2018/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2018/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2018/StringCreate.js +40 -0
- data/node_modules/es-abstract/2018/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2018/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2018/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2018/ThrowCompletion.js +9 -0
- data/node_modules/es-abstract/2018/TimeClip.js +21 -0
- data/node_modules/es-abstract/2018/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2018/TimeString.js +25 -0
- data/node_modules/es-abstract/2018/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2018/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2018/ToDateString.js +23 -0
- data/node_modules/es-abstract/2018/ToIndex.js +26 -0
- data/node_modules/es-abstract/2018/ToInt16.js +10 -0
- data/node_modules/es-abstract/2018/ToInt32.js +9 -0
- data/node_modules/es-abstract/2018/ToInt8.js +10 -0
- data/node_modules/es-abstract/2018/ToInteger.js +12 -0
- data/node_modules/es-abstract/2018/ToLength.js +12 -0
- data/node_modules/es-abstract/2018/ToNumber.js +48 -0
- data/node_modules/es-abstract/2018/ToObject.js +14 -0
- data/node_modules/es-abstract/2018/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2018/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2018/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2018/ToString.js +15 -0
- data/node_modules/es-abstract/2018/ToUint16.js +19 -0
- data/node_modules/es-abstract/2018/ToUint32.js +9 -0
- data/node_modules/es-abstract/2018/ToUint8.js +20 -0
- data/node_modules/es-abstract/2018/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2018/Type.js +12 -0
- data/node_modules/es-abstract/2018/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2018/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2018/UTF16Decode.js +21 -0
- data/node_modules/es-abstract/2018/UTF16Encoding.js +25 -0
- data/node_modules/es-abstract/2018/UnicodeEscape.js +26 -0
- data/node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2018/ValidateAtomicAccess.js +36 -0
- data/node_modules/es-abstract/2018/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2018/WeekDay.js +10 -0
- data/node_modules/es-abstract/2018/WordCharacters.js +49 -0
- data/node_modules/es-abstract/2018/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2018/abs.js +11 -0
- data/node_modules/es-abstract/2018/floor.js +11 -0
- data/node_modules/es-abstract/2018/max.js +7 -0
- data/node_modules/es-abstract/2018/min.js +7 -0
- data/node_modules/es-abstract/2018/modulo.js +9 -0
- data/node_modules/es-abstract/2018/msFromTime.js +11 -0
- data/node_modules/es-abstract/2018/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2018/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2018/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2018/thisSymbolValue.js +19 -0
- data/node_modules/es-abstract/2018/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2019/AbstractEqualityComparison.js +37 -0
- data/node_modules/es-abstract/2019/AbstractRelationalComparison.js +61 -0
- data/node_modules/es-abstract/2019/AddEntriesFromIterable.js +47 -0
- data/node_modules/es-abstract/2019/AdvanceStringIndex.js +47 -0
- data/node_modules/es-abstract/2019/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2019/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2019/ArraySpeciesCreate.js +47 -0
- data/node_modules/es-abstract/2019/AsyncFromSyncIteratorContinuation.js +45 -0
- data/node_modules/es-abstract/2019/AsyncIteratorClose.js +62 -0
- data/node_modules/es-abstract/2019/Call.js +20 -0
- data/node_modules/es-abstract/2019/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2019/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2019/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2019/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2019/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2019/CopyDataProperties.js +68 -0
- data/node_modules/es-abstract/2019/CreateAsyncFromSyncIterator.js +121 -0
- data/node_modules/es-abstract/2019/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2019/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2019/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2019/CreateListFromArrayLike.js +45 -0
- data/node_modules/es-abstract/2019/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2019/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2019/DateString.js +30 -0
- data/node_modules/es-abstract/2019/Day.js +11 -0
- data/node_modules/es-abstract/2019/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2019/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2019/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2019/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2019/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2019/DetachArrayBuffer.js +43 -0
- data/node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js +43 -0
- data/node_modules/es-abstract/2019/FlattenIntoArray.js +57 -0
- data/node_modules/es-abstract/2019/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2019/Get.js +25 -0
- data/node_modules/es-abstract/2019/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2019/GetIterator.js +34 -0
- data/node_modules/es-abstract/2019/GetMethod.js +36 -0
- data/node_modules/es-abstract/2019/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2019/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2019/GetSubstitution.js +124 -0
- data/node_modules/es-abstract/2019/GetV.js +25 -0
- data/node_modules/es-abstract/2019/GetValueFromBuffer.js +106 -0
- data/node_modules/es-abstract/2019/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2019/HasProperty.js +20 -0
- data/node_modules/es-abstract/2019/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2019/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2019/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2019/Invoke.js +24 -0
- data/node_modules/es-abstract/2019/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2019/IsArray.js +4 -0
- data/node_modules/es-abstract/2019/IsCallable.js +5 -0
- data/node_modules/es-abstract/2019/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2019/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2019/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2019/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2019/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2019/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2019/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2019/IsInteger.js +9 -0
- data/node_modules/es-abstract/2019/IsPromise.js +24 -0
- data/node_modules/es-abstract/2019/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2019/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2019/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2019/IsStringPrefix.js +47 -0
- data/node_modules/es-abstract/2019/IsWordChar.js +48 -0
- data/node_modules/es-abstract/2019/IterableToList.js +24 -0
- data/node_modules/es-abstract/2019/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2019/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2019/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2019/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2019/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2019/MakeDate.js +13 -0
- data/node_modules/es-abstract/2019/MakeDay.js +33 -0
- data/node_modules/es-abstract/2019/MakeTime.js +23 -0
- data/node_modules/es-abstract/2019/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2019/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2019/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2019/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2019/NumberToRawBytes.js +74 -0
- data/node_modules/es-abstract/2019/NumberToString.js +19 -0
- data/node_modules/es-abstract/2019/ObjectCreate.js +50 -0
- data/node_modules/es-abstract/2019/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2019/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2019/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2019/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2019/PromiseResolve.js +17 -0
- data/node_modules/es-abstract/2019/QuoteJSONString.js +54 -0
- data/node_modules/es-abstract/2019/RawBytesToNumber.js +74 -0
- data/node_modules/es-abstract/2019/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2019/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2019/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2019/SameValue.js +13 -0
- data/node_modules/es-abstract/2019/SameValueNonNumber.js +16 -0
- data/node_modules/es-abstract/2019/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2019/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2019/Set.js +47 -0
- data/node_modules/es-abstract/2019/SetFunctionLength.js +32 -0
- data/node_modules/es-abstract/2019/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2019/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2019/SetValueInBuffer.js +120 -0
- data/node_modules/es-abstract/2019/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2019/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2019/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2019/StringCreate.js +40 -0
- data/node_modules/es-abstract/2019/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2019/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2019/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2019/ThrowCompletion.js +9 -0
- data/node_modules/es-abstract/2019/TimeClip.js +21 -0
- data/node_modules/es-abstract/2019/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2019/TimeString.js +25 -0
- data/node_modules/es-abstract/2019/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2019/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2019/ToDateString.js +23 -0
- data/node_modules/es-abstract/2019/ToIndex.js +26 -0
- data/node_modules/es-abstract/2019/ToInt16.js +10 -0
- data/node_modules/es-abstract/2019/ToInt32.js +9 -0
- data/node_modules/es-abstract/2019/ToInt8.js +10 -0
- data/node_modules/es-abstract/2019/ToInteger.js +12 -0
- data/node_modules/es-abstract/2019/ToLength.js +12 -0
- data/node_modules/es-abstract/2019/ToNumber.js +48 -0
- data/node_modules/es-abstract/2019/ToObject.js +14 -0
- data/node_modules/es-abstract/2019/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2019/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2019/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2019/ToString.js +15 -0
- data/node_modules/es-abstract/2019/ToUint16.js +19 -0
- data/node_modules/es-abstract/2019/ToUint32.js +9 -0
- data/node_modules/es-abstract/2019/ToUint8.js +20 -0
- data/node_modules/es-abstract/2019/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2019/TrimString.js +29 -0
- data/node_modules/es-abstract/2019/Type.js +12 -0
- data/node_modules/es-abstract/2019/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2019/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2019/UTF16Decode.js +21 -0
- data/node_modules/es-abstract/2019/UTF16Encoding.js +25 -0
- data/node_modules/es-abstract/2019/UnicodeEscape.js +26 -0
- data/node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2019/ValidateAtomicAccess.js +36 -0
- data/node_modules/es-abstract/2019/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2019/WeekDay.js +10 -0
- data/node_modules/es-abstract/2019/WordCharacters.js +49 -0
- data/node_modules/es-abstract/2019/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2019/abs.js +11 -0
- data/node_modules/es-abstract/2019/floor.js +11 -0
- data/node_modules/es-abstract/2019/max.js +7 -0
- data/node_modules/es-abstract/2019/min.js +7 -0
- data/node_modules/es-abstract/2019/modulo.js +9 -0
- data/node_modules/es-abstract/2019/msFromTime.js +11 -0
- data/node_modules/es-abstract/2019/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2019/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2019/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2019/thisSymbolValue.js +19 -0
- data/node_modules/es-abstract/2019/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2020/AbstractEqualityComparison.js +57 -0
- data/node_modules/es-abstract/2020/AbstractRelationalComparison.js +82 -0
- data/node_modules/es-abstract/2020/AddEntriesFromIterable.js +47 -0
- data/node_modules/es-abstract/2020/AdvanceStringIndex.js +34 -0
- data/node_modules/es-abstract/2020/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2020/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2020/ArraySpeciesCreate.js +47 -0
- data/node_modules/es-abstract/2020/AsyncFromSyncIteratorContinuation.js +45 -0
- data/node_modules/es-abstract/2020/AsyncIteratorClose.js +62 -0
- data/node_modules/es-abstract/2020/BigInt/add.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js +17 -0
- data/node_modules/es-abstract/2020/BigInt/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2020/BigInt/divide.js +22 -0
- data/node_modules/es-abstract/2020/BigInt/equal.js +17 -0
- data/node_modules/es-abstract/2020/BigInt/exponentiate.js +31 -0
- data/node_modules/es-abstract/2020/BigInt/index.js +43 -0
- data/node_modules/es-abstract/2020/BigInt/leftShift.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/lessThan.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/multiply.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/remainder.js +30 -0
- data/node_modules/es-abstract/2020/BigInt/sameValue.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/sameValueZero.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/signedRightShift.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/subtract.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/toString.js +18 -0
- data/node_modules/es-abstract/2020/BigInt/unaryMinus.js +24 -0
- data/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js +17 -0
- data/node_modules/es-abstract/2020/BigIntBitwiseOp.js +66 -0
- data/node_modules/es-abstract/2020/BinaryAnd.js +14 -0
- data/node_modules/es-abstract/2020/BinaryOr.js +14 -0
- data/node_modules/es-abstract/2020/BinaryXor.js +14 -0
- data/node_modules/es-abstract/2020/Call.js +20 -0
- data/node_modules/es-abstract/2020/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2020/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2020/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2020/CodePointAt.js +58 -0
- data/node_modules/es-abstract/2020/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2020/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2020/CopyDataProperties.js +64 -0
- data/node_modules/es-abstract/2020/CreateAsyncFromSyncIterator.js +121 -0
- data/node_modules/es-abstract/2020/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2020/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2020/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2020/CreateListFromArrayLike.js +46 -0
- data/node_modules/es-abstract/2020/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2020/CreateRegExpStringIterator.js +100 -0
- data/node_modules/es-abstract/2020/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2020/DateString.js +30 -0
- data/node_modules/es-abstract/2020/Day.js +11 -0
- data/node_modules/es-abstract/2020/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2020/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2020/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2020/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2020/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2020/DetachArrayBuffer.js +43 -0
- data/node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js +43 -0
- data/node_modules/es-abstract/2020/FlattenIntoArray.js +57 -0
- data/node_modules/es-abstract/2020/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2020/Get.js +25 -0
- data/node_modules/es-abstract/2020/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2020/GetIterator.js +66 -0
- data/node_modules/es-abstract/2020/GetMethod.js +36 -0
- data/node_modules/es-abstract/2020/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2020/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2020/GetSubstitution.js +124 -0
- data/node_modules/es-abstract/2020/GetV.js +25 -0
- data/node_modules/es-abstract/2020/GetValueFromBuffer.js +110 -0
- data/node_modules/es-abstract/2020/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2020/HasProperty.js +20 -0
- data/node_modules/es-abstract/2020/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2020/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2020/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2020/Invoke.js +24 -0
- data/node_modules/es-abstract/2020/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2020/IsArray.js +4 -0
- data/node_modules/es-abstract/2020/IsBigIntElementType.js +7 -0
- data/node_modules/es-abstract/2020/IsCallable.js +5 -0
- data/node_modules/es-abstract/2020/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2020/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2020/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2020/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2020/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2020/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2020/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2020/IsInteger.js +9 -0
- data/node_modules/es-abstract/2020/IsNoTearConfiguration.js +16 -0
- data/node_modules/es-abstract/2020/IsNonNegativeInteger.js +9 -0
- data/node_modules/es-abstract/2020/IsPromise.js +24 -0
- data/node_modules/es-abstract/2020/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2020/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2020/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2020/IsStringPrefix.js +47 -0
- data/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js +12 -0
- data/node_modules/es-abstract/2020/IsUnsignedElementType.js +11 -0
- data/node_modules/es-abstract/2020/IsValidIntegerIndex.js +30 -0
- data/node_modules/es-abstract/2020/IsWordChar.js +48 -0
- data/node_modules/es-abstract/2020/IterableToList.js +24 -0
- data/node_modules/es-abstract/2020/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2020/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2020/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2020/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2020/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2020/LengthOfArrayLike.js +20 -0
- data/node_modules/es-abstract/2020/MakeDate.js +13 -0
- data/node_modules/es-abstract/2020/MakeDay.js +33 -0
- data/node_modules/es-abstract/2020/MakeTime.js +23 -0
- data/node_modules/es-abstract/2020/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2020/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2020/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2020/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2020/Number/add.js +44 -0
- data/node_modules/es-abstract/2020/Number/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2020/Number/bitwiseNOT.js +19 -0
- data/node_modules/es-abstract/2020/Number/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2020/Number/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2020/Number/divide.js +22 -0
- data/node_modules/es-abstract/2020/Number/equal.js +21 -0
- data/node_modules/es-abstract/2020/Number/exponentiate.js +77 -0
- data/node_modules/es-abstract/2020/Number/index.js +43 -0
- data/node_modules/es-abstract/2020/Number/leftShift.js +24 -0
- data/node_modules/es-abstract/2020/Number/lessThan.js +26 -0
- data/node_modules/es-abstract/2020/Number/multiply.js +33 -0
- data/node_modules/es-abstract/2020/Number/remainder.js +32 -0
- data/node_modules/es-abstract/2020/Number/sameValue.js +21 -0
- data/node_modules/es-abstract/2020/Number/sameValueZero.js +24 -0
- data/node_modules/es-abstract/2020/Number/signedRightShift.js +24 -0
- data/node_modules/es-abstract/2020/Number/subtract.js +16 -0
- data/node_modules/es-abstract/2020/Number/toString.js +18 -0
- data/node_modules/es-abstract/2020/Number/unaryMinus.js +21 -0
- data/node_modules/es-abstract/2020/Number/unsignedRightShift.js +24 -0
- data/node_modules/es-abstract/2020/NumberBitwiseOp.js +29 -0
- data/node_modules/es-abstract/2020/NumberToBigInt.js +27 -0
- data/node_modules/es-abstract/2020/NumericToRawBytes.js +80 -0
- data/node_modules/es-abstract/2020/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2020/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2020/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2020/OrdinaryObjectCreate.js +56 -0
- data/node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2020/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2020/PromiseResolve.js +17 -0
- data/node_modules/es-abstract/2020/QuoteJSONString.js +54 -0
- data/node_modules/es-abstract/2020/RawBytesToNumeric.js +84 -0
- data/node_modules/es-abstract/2020/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2020/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2020/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2020/SameValue.js +13 -0
- data/node_modules/es-abstract/2020/SameValueNonNumeric.js +21 -0
- data/node_modules/es-abstract/2020/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2020/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2020/Set.js +47 -0
- data/node_modules/es-abstract/2020/SetFunctionLength.js +31 -0
- data/node_modules/es-abstract/2020/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2020/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2020/SetValueInBuffer.js +109 -0
- data/node_modules/es-abstract/2020/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2020/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2020/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2020/StringCreate.js +40 -0
- data/node_modules/es-abstract/2020/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2020/StringPad.js +43 -0
- data/node_modules/es-abstract/2020/StringToBigInt.js +23 -0
- data/node_modules/es-abstract/2020/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2020/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2020/ThrowCompletion.js +9 -0
- data/node_modules/es-abstract/2020/TimeClip.js +21 -0
- data/node_modules/es-abstract/2020/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2020/TimeString.js +25 -0
- data/node_modules/es-abstract/2020/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2020/ToBigInt.js +53 -0
- data/node_modules/es-abstract/2020/ToBigInt64.js +25 -0
- data/node_modules/es-abstract/2020/ToBigUint64.js +22 -0
- data/node_modules/es-abstract/2020/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2020/ToDateString.js +23 -0
- data/node_modules/es-abstract/2020/ToIndex.js +26 -0
- data/node_modules/es-abstract/2020/ToInt16.js +10 -0
- data/node_modules/es-abstract/2020/ToInt32.js +9 -0
- data/node_modules/es-abstract/2020/ToInt8.js +10 -0
- data/node_modules/es-abstract/2020/ToInteger.js +15 -0
- data/node_modules/es-abstract/2020/ToLength.js +12 -0
- data/node_modules/es-abstract/2020/ToNumber.js +51 -0
- data/node_modules/es-abstract/2020/ToNumeric.js +21 -0
- data/node_modules/es-abstract/2020/ToObject.js +14 -0
- data/node_modules/es-abstract/2020/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2020/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2020/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2020/ToString.js +15 -0
- data/node_modules/es-abstract/2020/ToUint16.js +19 -0
- data/node_modules/es-abstract/2020/ToUint32.js +9 -0
- data/node_modules/es-abstract/2020/ToUint8.js +20 -0
- data/node_modules/es-abstract/2020/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2020/TrimString.js +29 -0
- data/node_modules/es-abstract/2020/Type.js +15 -0
- data/node_modules/es-abstract/2020/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2020/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2020/UTF16DecodeString.js +29 -0
- data/node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js +19 -0
- data/node_modules/es-abstract/2020/UTF16Encoding.js +25 -0
- data/node_modules/es-abstract/2020/UnicodeEscape.js +27 -0
- data/node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2020/ValidateAtomicAccess.js +36 -0
- data/node_modules/es-abstract/2020/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2020/WeekDay.js +10 -0
- data/node_modules/es-abstract/2020/WordCharacters.js +49 -0
- data/node_modules/es-abstract/2020/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2020/abs.js +11 -0
- data/node_modules/es-abstract/2020/floor.js +16 -0
- data/node_modules/es-abstract/2020/max.js +7 -0
- data/node_modules/es-abstract/2020/min.js +7 -0
- data/node_modules/es-abstract/2020/modulo.js +9 -0
- data/node_modules/es-abstract/2020/msFromTime.js +11 -0
- data/node_modules/es-abstract/2020/thisBigIntValue.js +22 -0
- data/node_modules/es-abstract/2020/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2020/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2020/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2020/thisSymbolValue.js +19 -0
- data/node_modules/es-abstract/2020/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2021/AbstractEqualityComparison.js +57 -0
- data/node_modules/es-abstract/2021/AbstractRelationalComparison.js +82 -0
- data/node_modules/es-abstract/2021/AddEntriesFromIterable.js +47 -0
- data/node_modules/es-abstract/2021/AddToKeptObjects.js +21 -0
- data/node_modules/es-abstract/2021/AdvanceStringIndex.js +34 -0
- data/node_modules/es-abstract/2021/ApplyStringOrNumericBinaryOperator.js +80 -0
- data/node_modules/es-abstract/2021/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2021/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2021/ArraySpeciesCreate.js +49 -0
- data/node_modules/es-abstract/2021/AsyncFromSyncIteratorContinuation.js +45 -0
- data/node_modules/es-abstract/2021/AsyncIteratorClose.js +68 -0
- data/node_modules/es-abstract/2021/BigInt/add.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2021/BigInt/bitwiseNOT.js +17 -0
- data/node_modules/es-abstract/2021/BigInt/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2021/BigInt/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2021/BigInt/divide.js +22 -0
- data/node_modules/es-abstract/2021/BigInt/equal.js +17 -0
- data/node_modules/es-abstract/2021/BigInt/exponentiate.js +31 -0
- data/node_modules/es-abstract/2021/BigInt/index.js +43 -0
- data/node_modules/es-abstract/2021/BigInt/leftShift.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/lessThan.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/multiply.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/remainder.js +30 -0
- data/node_modules/es-abstract/2021/BigInt/sameValue.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/sameValueZero.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/signedRightShift.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/subtract.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/toString.js +18 -0
- data/node_modules/es-abstract/2021/BigInt/unaryMinus.js +24 -0
- data/node_modules/es-abstract/2021/BigInt/unsignedRightShift.js +17 -0
- data/node_modules/es-abstract/2021/BigIntBitwiseOp.js +66 -0
- data/node_modules/es-abstract/2021/BinaryAnd.js +14 -0
- data/node_modules/es-abstract/2021/BinaryOr.js +14 -0
- data/node_modules/es-abstract/2021/BinaryXor.js +14 -0
- data/node_modules/es-abstract/2021/ByteListBitwiseOp.js +44 -0
- data/node_modules/es-abstract/2021/ByteListEqual.js +33 -0
- data/node_modules/es-abstract/2021/Call.js +20 -0
- data/node_modules/es-abstract/2021/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2021/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2021/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2021/ClearKeptObjects.js +12 -0
- data/node_modules/es-abstract/2021/CloneArrayBuffer.js +49 -0
- data/node_modules/es-abstract/2021/CodePointAt.js +58 -0
- data/node_modules/es-abstract/2021/CodePointsToString.js +27 -0
- data/node_modules/es-abstract/2021/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2021/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2021/CopyDataProperties.js +70 -0
- data/node_modules/es-abstract/2021/CreateAsyncFromSyncIterator.js +121 -0
- data/node_modules/es-abstract/2021/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2021/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2021/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2021/CreateListFromArrayLike.js +46 -0
- data/node_modules/es-abstract/2021/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2021/CreateRegExpStringIterator.js +100 -0
- data/node_modules/es-abstract/2021/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2021/DateString.js +30 -0
- data/node_modules/es-abstract/2021/Day.js +11 -0
- data/node_modules/es-abstract/2021/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2021/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2021/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2021/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2021/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2021/DetachArrayBuffer.js +43 -0
- data/node_modules/es-abstract/2021/EnumerableOwnPropertyNames.js +43 -0
- data/node_modules/es-abstract/2021/FlattenIntoArray.js +57 -0
- data/node_modules/es-abstract/2021/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2021/Get.js +25 -0
- data/node_modules/es-abstract/2021/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2021/GetIterator.js +66 -0
- data/node_modules/es-abstract/2021/GetMethod.js +36 -0
- data/node_modules/es-abstract/2021/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2021/GetPromiseResolve.js +22 -0
- data/node_modules/es-abstract/2021/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2021/GetSubstitution.js +124 -0
- data/node_modules/es-abstract/2021/GetV.js +25 -0
- data/node_modules/es-abstract/2021/GetValueFromBuffer.js +110 -0
- data/node_modules/es-abstract/2021/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2021/HasProperty.js +20 -0
- data/node_modules/es-abstract/2021/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2021/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2021/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2021/Invoke.js +24 -0
- data/node_modules/es-abstract/2021/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2021/IsArray.js +4 -0
- data/node_modules/es-abstract/2021/IsBigIntElementType.js +7 -0
- data/node_modules/es-abstract/2021/IsCallable.js +5 -0
- data/node_modules/es-abstract/2021/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2021/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2021/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2021/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2021/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2021/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2021/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2021/IsIntegralNumber.js +9 -0
- data/node_modules/es-abstract/2021/IsNoTearConfiguration.js +16 -0
- data/node_modules/es-abstract/2021/IsPromise.js +24 -0
- data/node_modules/es-abstract/2021/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2021/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2021/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2021/IsStringPrefix.js +47 -0
- data/node_modules/es-abstract/2021/IsUnclampedIntegerElementType.js +12 -0
- data/node_modules/es-abstract/2021/IsUnsignedElementType.js +11 -0
- data/node_modules/es-abstract/2021/IsValidIntegerIndex.js +33 -0
- data/node_modules/es-abstract/2021/IsWordChar.js +48 -0
- data/node_modules/es-abstract/2021/IterableToList.js +29 -0
- data/node_modules/es-abstract/2021/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2021/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2021/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2021/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2021/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2021/LengthOfArrayLike.js +20 -0
- data/node_modules/es-abstract/2021/MakeDate.js +13 -0
- data/node_modules/es-abstract/2021/MakeDay.js +36 -0
- data/node_modules/es-abstract/2021/MakeTime.js +23 -0
- data/node_modules/es-abstract/2021/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2021/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2021/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2021/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2021/Number/add.js +36 -0
- data/node_modules/es-abstract/2021/Number/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2021/Number/bitwiseNOT.js +19 -0
- data/node_modules/es-abstract/2021/Number/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2021/Number/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2021/Number/divide.js +22 -0
- data/node_modules/es-abstract/2021/Number/equal.js +21 -0
- data/node_modules/es-abstract/2021/Number/exponentiate.js +77 -0
- data/node_modules/es-abstract/2021/Number/index.js +43 -0
- data/node_modules/es-abstract/2021/Number/leftShift.js +25 -0
- data/node_modules/es-abstract/2021/Number/lessThan.js +26 -0
- data/node_modules/es-abstract/2021/Number/multiply.js +33 -0
- data/node_modules/es-abstract/2021/Number/remainder.js +32 -0
- data/node_modules/es-abstract/2021/Number/sameValue.js +21 -0
- data/node_modules/es-abstract/2021/Number/sameValueZero.js +24 -0
- data/node_modules/es-abstract/2021/Number/signedRightShift.js +25 -0
- data/node_modules/es-abstract/2021/Number/subtract.js +19 -0
- data/node_modules/es-abstract/2021/Number/toString.js +18 -0
- data/node_modules/es-abstract/2021/Number/unaryMinus.js +21 -0
- data/node_modules/es-abstract/2021/Number/unsignedRightShift.js +25 -0
- data/node_modules/es-abstract/2021/NumberBitwiseOp.js +29 -0
- data/node_modules/es-abstract/2021/NumberToBigInt.js +26 -0
- data/node_modules/es-abstract/2021/NumericToRawBytes.js +80 -0
- data/node_modules/es-abstract/2021/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2021/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2021/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2021/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2021/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2021/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2021/OrdinaryObjectCreate.js +56 -0
- data/node_modules/es-abstract/2021/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2021/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2021/PromiseResolve.js +17 -0
- data/node_modules/es-abstract/2021/QuoteJSONString.js +54 -0
- data/node_modules/es-abstract/2021/RawBytesToNumeric.js +84 -0
- data/node_modules/es-abstract/2021/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2021/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2021/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2021/SameValue.js +13 -0
- data/node_modules/es-abstract/2021/SameValueNonNumeric.js +21 -0
- data/node_modules/es-abstract/2021/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2021/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2021/Set.js +47 -0
- data/node_modules/es-abstract/2021/SetFunctionLength.js +32 -0
- data/node_modules/es-abstract/2021/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2021/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2021/SetTypedArrayFromArrayLike.js +127 -0
- data/node_modules/es-abstract/2021/SetTypedArrayFromTypedArray.js +167 -0
- data/node_modules/es-abstract/2021/SetValueInBuffer.js +105 -0
- data/node_modules/es-abstract/2021/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2021/SplitMatch.js +39 -0
- data/node_modules/es-abstract/2021/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/2021/StringCreate.js +40 -0
- data/node_modules/es-abstract/2021/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2021/StringIndexOf.js +40 -0
- data/node_modules/es-abstract/2021/StringPad.js +43 -0
- data/node_modules/es-abstract/2021/StringToBigInt.js +23 -0
- data/node_modules/es-abstract/2021/StringToCodePoints.js +29 -0
- data/node_modules/es-abstract/2021/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2021/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2021/ThrowCompletion.js +9 -0
- data/node_modules/es-abstract/2021/TimeClip.js +21 -0
- data/node_modules/es-abstract/2021/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2021/TimeString.js +25 -0
- data/node_modules/es-abstract/2021/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2021/ToBigInt.js +53 -0
- data/node_modules/es-abstract/2021/ToBigInt64.js +25 -0
- data/node_modules/es-abstract/2021/ToBigUint64.js +22 -0
- data/node_modules/es-abstract/2021/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2021/ToDateString.js +23 -0
- data/node_modules/es-abstract/2021/ToIndex.js +26 -0
- data/node_modules/es-abstract/2021/ToInt16.js +10 -0
- data/node_modules/es-abstract/2021/ToInt32.js +9 -0
- data/node_modules/es-abstract/2021/ToInt8.js +10 -0
- data/node_modules/es-abstract/2021/ToIntegerOrInfinity.js +20 -0
- data/node_modules/es-abstract/2021/ToLength.js +12 -0
- data/node_modules/es-abstract/2021/ToNumber.js +51 -0
- data/node_modules/es-abstract/2021/ToNumeric.js +21 -0
- data/node_modules/es-abstract/2021/ToObject.js +14 -0
- data/node_modules/es-abstract/2021/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2021/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2021/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2021/ToString.js +15 -0
- data/node_modules/es-abstract/2021/ToUint16.js +19 -0
- data/node_modules/es-abstract/2021/ToUint32.js +9 -0
- data/node_modules/es-abstract/2021/ToUint8.js +20 -0
- data/node_modules/es-abstract/2021/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2021/TrimString.js +29 -0
- data/node_modules/es-abstract/2021/Type.js +15 -0
- data/node_modules/es-abstract/2021/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2021/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2021/UTF16EncodeCodePoint.js +25 -0
- data/node_modules/es-abstract/2021/UTF16SurrogatePairToCodePoint.js +19 -0
- data/node_modules/es-abstract/2021/UnicodeEscape.js +27 -0
- data/node_modules/es-abstract/2021/ValidateAndApplyPropertyDescriptor.js +170 -0
- data/node_modules/es-abstract/2021/ValidateAtomicAccess.js +59 -0
- data/node_modules/es-abstract/2021/ValidateIntegerTypedArray.js +53 -0
- data/node_modules/es-abstract/2021/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2021/WeakRefDeref.js +24 -0
- data/node_modules/es-abstract/2021/WeekDay.js +10 -0
- data/node_modules/es-abstract/2021/WordCharacters.js +49 -0
- data/node_modules/es-abstract/2021/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2021/abs.js +11 -0
- data/node_modules/es-abstract/2021/clamp.js +18 -0
- data/node_modules/es-abstract/2021/floor.js +16 -0
- data/node_modules/es-abstract/2021/max.js +7 -0
- data/node_modules/es-abstract/2021/min.js +7 -0
- data/node_modules/es-abstract/2021/modulo.js +9 -0
- data/node_modules/es-abstract/2021/msFromTime.js +11 -0
- data/node_modules/es-abstract/2021/substring.js +21 -0
- data/node_modules/es-abstract/2021/thisBigIntValue.js +22 -0
- data/node_modules/es-abstract/2021/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2021/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2021/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2021/thisSymbolValue.js +19 -0
- data/node_modules/es-abstract/2021/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2022/AddEntriesFromIterable.js +47 -0
- data/node_modules/es-abstract/2022/AddToKeptObjects.js +21 -0
- data/node_modules/es-abstract/2022/AdvanceStringIndex.js +34 -0
- data/node_modules/es-abstract/2022/ApplyStringOrNumericBinaryOperator.js +80 -0
- data/node_modules/es-abstract/2022/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2022/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2022/ArraySpeciesCreate.js +49 -0
- data/node_modules/es-abstract/2022/AsyncFromSyncIteratorContinuation.js +45 -0
- data/node_modules/es-abstract/2022/AsyncIteratorClose.js +68 -0
- data/node_modules/es-abstract/2022/BigInt/add.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2022/BigInt/bitwiseNOT.js +17 -0
- data/node_modules/es-abstract/2022/BigInt/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2022/BigInt/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2022/BigInt/divide.js +22 -0
- data/node_modules/es-abstract/2022/BigInt/equal.js +17 -0
- data/node_modules/es-abstract/2022/BigInt/exponentiate.js +31 -0
- data/node_modules/es-abstract/2022/BigInt/index.js +43 -0
- data/node_modules/es-abstract/2022/BigInt/leftShift.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/lessThan.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/multiply.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/remainder.js +30 -0
- data/node_modules/es-abstract/2022/BigInt/sameValue.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/sameValueZero.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/signedRightShift.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/subtract.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/toString.js +18 -0
- data/node_modules/es-abstract/2022/BigInt/unaryMinus.js +24 -0
- data/node_modules/es-abstract/2022/BigInt/unsignedRightShift.js +17 -0
- data/node_modules/es-abstract/2022/BigIntBitwiseOp.js +66 -0
- data/node_modules/es-abstract/2022/BinaryAnd.js +14 -0
- data/node_modules/es-abstract/2022/BinaryOr.js +14 -0
- data/node_modules/es-abstract/2022/BinaryXor.js +14 -0
- data/node_modules/es-abstract/2022/ByteListBitwiseOp.js +44 -0
- data/node_modules/es-abstract/2022/ByteListEqual.js +33 -0
- data/node_modules/es-abstract/2022/Call.js +20 -0
- data/node_modules/es-abstract/2022/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2022/Canonicalize.js +55 -0
- data/node_modules/es-abstract/2022/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2022/ClearKeptObjects.js +12 -0
- data/node_modules/es-abstract/2022/CloneArrayBuffer.js +49 -0
- data/node_modules/es-abstract/2022/CodePointAt.js +58 -0
- data/node_modules/es-abstract/2022/CodePointsToString.js +27 -0
- data/node_modules/es-abstract/2022/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2022/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2022/CopyDataProperties.js +70 -0
- data/node_modules/es-abstract/2022/CreateAsyncFromSyncIterator.js +121 -0
- data/node_modules/es-abstract/2022/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2022/CreateDataPropertyOrThrow.js +25 -0
- data/node_modules/es-abstract/2022/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2022/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2022/CreateListFromArrayLike.js +46 -0
- data/node_modules/es-abstract/2022/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2022/CreateNonEnumerableDataPropertyOrThrow.js +29 -0
- data/node_modules/es-abstract/2022/CreateRegExpStringIterator.js +100 -0
- data/node_modules/es-abstract/2022/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2022/DateString.js +30 -0
- data/node_modules/es-abstract/2022/Day.js +11 -0
- data/node_modules/es-abstract/2022/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2022/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2022/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2022/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2022/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2022/DetachArrayBuffer.js +43 -0
- data/node_modules/es-abstract/2022/EnumerableOwnPropertyNames.js +43 -0
- data/node_modules/es-abstract/2022/FlattenIntoArray.js +57 -0
- data/node_modules/es-abstract/2022/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2022/Get.js +25 -0
- data/node_modules/es-abstract/2022/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2022/GetIterator.js +66 -0
- data/node_modules/es-abstract/2022/GetMatchIndexPair.js +26 -0
- data/node_modules/es-abstract/2022/GetMatchString.js +27 -0
- data/node_modules/es-abstract/2022/GetMethod.js +36 -0
- data/node_modules/es-abstract/2022/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2022/GetPromiseResolve.js +22 -0
- data/node_modules/es-abstract/2022/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2022/GetStringIndex.js +31 -0
- data/node_modules/es-abstract/2022/GetSubstitution.js +124 -0
- data/node_modules/es-abstract/2022/GetV.js +25 -0
- data/node_modules/es-abstract/2022/GetValueFromBuffer.js +110 -0
- data/node_modules/es-abstract/2022/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2022/HasProperty.js +20 -0
- data/node_modules/es-abstract/2022/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2022/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2022/InstallErrorCause.js +23 -0
- data/node_modules/es-abstract/2022/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2022/Invoke.js +24 -0
- data/node_modules/es-abstract/2022/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2022/IsArray.js +4 -0
- data/node_modules/es-abstract/2022/IsBigIntElementType.js +7 -0
- data/node_modules/es-abstract/2022/IsCallable.js +5 -0
- data/node_modules/es-abstract/2022/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2022/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2022/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2022/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2022/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2022/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2022/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2022/IsIntegralNumber.js +9 -0
- data/node_modules/es-abstract/2022/IsLessThan.js +90 -0
- data/node_modules/es-abstract/2022/IsLooselyEqual.js +58 -0
- data/node_modules/es-abstract/2022/IsNoTearConfiguration.js +16 -0
- data/node_modules/es-abstract/2022/IsPromise.js +24 -0
- data/node_modules/es-abstract/2022/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2022/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2022/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2022/IsStrictlyEqual.js +20 -0
- data/node_modules/es-abstract/2022/IsStringPrefix.js +22 -0
- data/node_modules/es-abstract/2022/IsStringWellFormedUnicode.js +26 -0
- data/node_modules/es-abstract/2022/IsUnclampedIntegerElementType.js +12 -0
- data/node_modules/es-abstract/2022/IsUnsignedElementType.js +11 -0
- data/node_modules/es-abstract/2022/IsValidIntegerIndex.js +33 -0
- data/node_modules/es-abstract/2022/IsWordChar.js +48 -0
- data/node_modules/es-abstract/2022/IterableToList.js +29 -0
- data/node_modules/es-abstract/2022/IteratorClose.js +51 -0
- data/node_modules/es-abstract/2022/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2022/IteratorNext.js +18 -0
- data/node_modules/es-abstract/2022/IteratorStep.js +13 -0
- data/node_modules/es-abstract/2022/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2022/LengthOfArrayLike.js +20 -0
- data/node_modules/es-abstract/2022/MakeDate.js +13 -0
- data/node_modules/es-abstract/2022/MakeDay.js +36 -0
- data/node_modules/es-abstract/2022/MakeMatchIndicesIndexPairArray.js +69 -0
- data/node_modules/es-abstract/2022/MakeTime.js +23 -0
- data/node_modules/es-abstract/2022/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2022/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2022/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2022/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2022/Number/add.js +36 -0
- data/node_modules/es-abstract/2022/Number/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2022/Number/bitwiseNOT.js +19 -0
- data/node_modules/es-abstract/2022/Number/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2022/Number/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2022/Number/divide.js +22 -0
- data/node_modules/es-abstract/2022/Number/equal.js +21 -0
- data/node_modules/es-abstract/2022/Number/exponentiate.js +77 -0
- data/node_modules/es-abstract/2022/Number/index.js +43 -0
- data/node_modules/es-abstract/2022/Number/leftShift.js +25 -0
- data/node_modules/es-abstract/2022/Number/lessThan.js +26 -0
- data/node_modules/es-abstract/2022/Number/multiply.js +33 -0
- data/node_modules/es-abstract/2022/Number/remainder.js +32 -0
- data/node_modules/es-abstract/2022/Number/sameValue.js +21 -0
- data/node_modules/es-abstract/2022/Number/sameValueZero.js +24 -0
- data/node_modules/es-abstract/2022/Number/signedRightShift.js +25 -0
- data/node_modules/es-abstract/2022/Number/subtract.js +19 -0
- data/node_modules/es-abstract/2022/Number/toString.js +18 -0
- data/node_modules/es-abstract/2022/Number/unaryMinus.js +21 -0
- data/node_modules/es-abstract/2022/Number/unsignedRightShift.js +25 -0
- data/node_modules/es-abstract/2022/NumberBitwiseOp.js +29 -0
- data/node_modules/es-abstract/2022/NumberToBigInt.js +26 -0
- data/node_modules/es-abstract/2022/NumericToRawBytes.js +80 -0
- data/node_modules/es-abstract/2022/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2022/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2022/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2022/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2022/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2022/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2022/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2022/OrdinaryObjectCreate.js +56 -0
- data/node_modules/es-abstract/2022/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2022/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2022/PromiseResolve.js +17 -0
- data/node_modules/es-abstract/2022/QuoteJSONString.js +54 -0
- data/node_modules/es-abstract/2022/RawBytesToNumeric.js +84 -0
- data/node_modules/es-abstract/2022/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2022/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2022/RegExpHasFlag.js +38 -0
- data/node_modules/es-abstract/2022/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2022/SameValue.js +13 -0
- data/node_modules/es-abstract/2022/SameValueNonNumeric.js +21 -0
- data/node_modules/es-abstract/2022/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2022/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2022/Set.js +47 -0
- data/node_modules/es-abstract/2022/SetFunctionLength.js +32 -0
- data/node_modules/es-abstract/2022/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2022/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2022/SetTypedArrayFromArrayLike.js +97 -0
- data/node_modules/es-abstract/2022/SetTypedArrayFromTypedArray.js +135 -0
- data/node_modules/es-abstract/2022/SetValueInBuffer.js +105 -0
- data/node_modules/es-abstract/2022/SortIndexedProperties.js +64 -0
- data/node_modules/es-abstract/2022/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2022/StringCreate.js +40 -0
- data/node_modules/es-abstract/2022/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2022/StringIndexOf.js +40 -0
- data/node_modules/es-abstract/2022/StringPad.js +43 -0
- data/node_modules/es-abstract/2022/StringToBigInt.js +23 -0
- data/node_modules/es-abstract/2022/StringToCodePoints.js +29 -0
- data/node_modules/es-abstract/2022/StringToNumber.js +45 -0
- data/node_modules/es-abstract/2022/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2022/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2022/ThrowCompletion.js +9 -0
- data/node_modules/es-abstract/2022/TimeClip.js +21 -0
- data/node_modules/es-abstract/2022/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2022/TimeString.js +25 -0
- data/node_modules/es-abstract/2022/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2022/ToBigInt.js +53 -0
- data/node_modules/es-abstract/2022/ToBigInt64.js +25 -0
- data/node_modules/es-abstract/2022/ToBigUint64.js +22 -0
- data/node_modules/es-abstract/2022/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2022/ToDateString.js +23 -0
- data/node_modules/es-abstract/2022/ToIndex.js +26 -0
- data/node_modules/es-abstract/2022/ToInt16.js +10 -0
- data/node_modules/es-abstract/2022/ToInt32.js +9 -0
- data/node_modules/es-abstract/2022/ToInt8.js +10 -0
- data/node_modules/es-abstract/2022/ToIntegerOrInfinity.js +20 -0
- data/node_modules/es-abstract/2022/ToLength.js +12 -0
- data/node_modules/es-abstract/2022/ToNumber.js +26 -0
- data/node_modules/es-abstract/2022/ToNumeric.js +21 -0
- data/node_modules/es-abstract/2022/ToObject.js +14 -0
- data/node_modules/es-abstract/2022/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2022/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2022/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2022/ToString.js +15 -0
- data/node_modules/es-abstract/2022/ToUint16.js +19 -0
- data/node_modules/es-abstract/2022/ToUint32.js +9 -0
- data/node_modules/es-abstract/2022/ToUint8.js +20 -0
- data/node_modules/es-abstract/2022/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2022/ToZeroPaddedDecimalString.js +20 -0
- data/node_modules/es-abstract/2022/TrimString.js +29 -0
- data/node_modules/es-abstract/2022/Type.js +15 -0
- data/node_modules/es-abstract/2022/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2022/TypedArrayElementSize.js +40 -0
- data/node_modules/es-abstract/2022/TypedArrayElementType.js +38 -0
- data/node_modules/es-abstract/2022/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2022/UTF16EncodeCodePoint.js +25 -0
- data/node_modules/es-abstract/2022/UTF16SurrogatePairToCodePoint.js +19 -0
- data/node_modules/es-abstract/2022/UnicodeEscape.js +27 -0
- data/node_modules/es-abstract/2022/ValidateAndApplyPropertyDescriptor.js +177 -0
- data/node_modules/es-abstract/2022/ValidateAtomicAccess.js +42 -0
- data/node_modules/es-abstract/2022/ValidateIntegerTypedArray.js +39 -0
- data/node_modules/es-abstract/2022/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2022/WeakRefDeref.js +24 -0
- data/node_modules/es-abstract/2022/WeekDay.js +10 -0
- data/node_modules/es-abstract/2022/WordCharacters.js +49 -0
- data/node_modules/es-abstract/2022/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2022/abs.js +11 -0
- data/node_modules/es-abstract/2022/clamp.js +18 -0
- data/node_modules/es-abstract/2022/floor.js +16 -0
- data/node_modules/es-abstract/2022/max.js +7 -0
- data/node_modules/es-abstract/2022/min.js +7 -0
- data/node_modules/es-abstract/2022/modulo.js +9 -0
- data/node_modules/es-abstract/2022/msFromTime.js +11 -0
- data/node_modules/es-abstract/2022/substring.js +21 -0
- data/node_modules/es-abstract/2022/thisBigIntValue.js +22 -0
- data/node_modules/es-abstract/2022/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2022/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2022/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2022/thisSymbolValue.js +19 -0
- data/node_modules/es-abstract/2022/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2023/AddEntriesFromIterable.js +47 -0
- data/node_modules/es-abstract/2023/AddToKeptObjects.js +21 -0
- data/node_modules/es-abstract/2023/AdvanceStringIndex.js +34 -0
- data/node_modules/es-abstract/2023/ApplyStringOrNumericBinaryOperator.js +80 -0
- data/node_modules/es-abstract/2023/ArrayCreate.js +54 -0
- data/node_modules/es-abstract/2023/ArraySetLength.js +85 -0
- data/node_modules/es-abstract/2023/ArraySpeciesCreate.js +49 -0
- data/node_modules/es-abstract/2023/AsyncFromSyncIteratorContinuation.js +45 -0
- data/node_modules/es-abstract/2023/AsyncIteratorClose.js +68 -0
- data/node_modules/es-abstract/2023/BigInt/add.js +18 -0
- data/node_modules/es-abstract/2023/BigInt/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2023/BigInt/bitwiseNOT.js +17 -0
- data/node_modules/es-abstract/2023/BigInt/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2023/BigInt/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2023/BigInt/divide.js +22 -0
- data/node_modules/es-abstract/2023/BigInt/equal.js +17 -0
- data/node_modules/es-abstract/2023/BigInt/exponentiate.js +31 -0
- data/node_modules/es-abstract/2023/BigInt/index.js +39 -0
- data/node_modules/es-abstract/2023/BigInt/leftShift.js +18 -0
- data/node_modules/es-abstract/2023/BigInt/lessThan.js +18 -0
- data/node_modules/es-abstract/2023/BigInt/multiply.js +18 -0
- data/node_modules/es-abstract/2023/BigInt/remainder.js +30 -0
- data/node_modules/es-abstract/2023/BigInt/signedRightShift.js +18 -0
- data/node_modules/es-abstract/2023/BigInt/subtract.js +18 -0
- data/node_modules/es-abstract/2023/BigInt/toString.js +32 -0
- data/node_modules/es-abstract/2023/BigInt/unaryMinus.js +24 -0
- data/node_modules/es-abstract/2023/BigInt/unsignedRightShift.js +17 -0
- data/node_modules/es-abstract/2023/BigIntBitwiseOp.js +66 -0
- data/node_modules/es-abstract/2023/BinaryAnd.js +14 -0
- data/node_modules/es-abstract/2023/BinaryOr.js +14 -0
- data/node_modules/es-abstract/2023/BinaryXor.js +14 -0
- data/node_modules/es-abstract/2023/ByteListBitwiseOp.js +44 -0
- data/node_modules/es-abstract/2023/ByteListEqual.js +33 -0
- data/node_modules/es-abstract/2023/Call.js +20 -0
- data/node_modules/es-abstract/2023/CanBeHeldWeakly.js +16 -0
- data/node_modules/es-abstract/2023/CanonicalNumericIndexString.js +22 -0
- data/node_modules/es-abstract/2023/Canonicalize.js +53 -0
- data/node_modules/es-abstract/2023/CharacterRange.js +31 -0
- data/node_modules/es-abstract/2023/ClearKeptObjects.js +12 -0
- data/node_modules/es-abstract/2023/CloneArrayBuffer.js +49 -0
- data/node_modules/es-abstract/2023/CodePointAt.js +58 -0
- data/node_modules/es-abstract/2023/CodePointsToString.js +27 -0
- data/node_modules/es-abstract/2023/CompareArrayElements.js +52 -0
- data/node_modules/es-abstract/2023/CompareTypedArrayElements.js +65 -0
- data/node_modules/es-abstract/2023/CompletePropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/2023/CompletionRecord.js +53 -0
- data/node_modules/es-abstract/2023/CopyDataProperties.js +70 -0
- data/node_modules/es-abstract/2023/CreateAsyncFromSyncIterator.js +121 -0
- data/node_modules/es-abstract/2023/CreateDataProperty.js +27 -0
- data/node_modules/es-abstract/2023/CreateDataPropertyOrThrow.js +24 -0
- data/node_modules/es-abstract/2023/CreateHTML.js +30 -0
- data/node_modules/es-abstract/2023/CreateIterResultObject.js +19 -0
- data/node_modules/es-abstract/2023/CreateListFromArrayLike.js +46 -0
- data/node_modules/es-abstract/2023/CreateMethodProperty.js +40 -0
- data/node_modules/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.js +29 -0
- data/node_modules/es-abstract/2023/CreateRegExpStringIterator.js +100 -0
- data/node_modules/es-abstract/2023/DateFromTime.js +54 -0
- data/node_modules/es-abstract/2023/DateString.js +30 -0
- data/node_modules/es-abstract/2023/Day.js +11 -0
- data/node_modules/es-abstract/2023/DayFromYear.js +10 -0
- data/node_modules/es-abstract/2023/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/2023/DaysInYear.js +18 -0
- data/node_modules/es-abstract/2023/DefinePropertyOrThrow.js +50 -0
- data/node_modules/es-abstract/2023/DeletePropertyOrThrow.js +27 -0
- data/node_modules/es-abstract/2023/DetachArrayBuffer.js +43 -0
- data/node_modules/es-abstract/2023/EnumerableOwnProperties.js +43 -0
- data/node_modules/es-abstract/2023/FindViaPredicate.js +44 -0
- data/node_modules/es-abstract/2023/FlattenIntoArray.js +57 -0
- data/node_modules/es-abstract/2023/FromPropertyDescriptor.js +16 -0
- data/node_modules/es-abstract/2023/Get.js +25 -0
- data/node_modules/es-abstract/2023/GetGlobalObject.js +9 -0
- data/node_modules/es-abstract/2023/GetIterator.js +56 -0
- data/node_modules/es-abstract/2023/GetIteratorFromMethod.js +30 -0
- data/node_modules/es-abstract/2023/GetMatchIndexPair.js +26 -0
- data/node_modules/es-abstract/2023/GetMatchString.js +27 -0
- data/node_modules/es-abstract/2023/GetMethod.js +36 -0
- data/node_modules/es-abstract/2023/GetOwnPropertyKeys.js +31 -0
- data/node_modules/es-abstract/2023/GetPromiseResolve.js +22 -0
- data/node_modules/es-abstract/2023/GetPrototypeFromConstructor.js +32 -0
- data/node_modules/es-abstract/2023/GetStringIndex.js +31 -0
- data/node_modules/es-abstract/2023/GetSubstitution.js +124 -0
- data/node_modules/es-abstract/2023/GetV.js +25 -0
- data/node_modules/es-abstract/2023/GetValueFromBuffer.js +110 -0
- data/node_modules/es-abstract/2023/HasOwnProperty.js +22 -0
- data/node_modules/es-abstract/2023/HasProperty.js +20 -0
- data/node_modules/es-abstract/2023/HourFromTime.js +14 -0
- data/node_modules/es-abstract/2023/InLeapYear.js +21 -0
- data/node_modules/es-abstract/2023/InstallErrorCause.js +23 -0
- data/node_modules/es-abstract/2023/InstanceofOperator.js +30 -0
- data/node_modules/es-abstract/2023/Invoke.js +24 -0
- data/node_modules/es-abstract/2023/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/2023/IsArray.js +4 -0
- data/node_modules/es-abstract/2023/IsBigIntElementType.js +7 -0
- data/node_modules/es-abstract/2023/IsCallable.js +5 -0
- data/node_modules/es-abstract/2023/IsCompatiblePropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/2023/IsConcatSpreadable.js +25 -0
- data/node_modules/es-abstract/2023/IsConstructor.js +40 -0
- data/node_modules/es-abstract/2023/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/2023/IsDetachedBuffer.js +27 -0
- data/node_modules/es-abstract/2023/IsExtensible.js +18 -0
- data/node_modules/es-abstract/2023/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/2023/IsIntegralNumber.js +15 -0
- data/node_modules/es-abstract/2023/IsLessThan.js +100 -0
- data/node_modules/es-abstract/2023/IsLooselyEqual.js +58 -0
- data/node_modules/es-abstract/2023/IsNoTearConfiguration.js +16 -0
- data/node_modules/es-abstract/2023/IsPromise.js +24 -0
- data/node_modules/es-abstract/2023/IsPropertyKey.js +7 -0
- data/node_modules/es-abstract/2023/IsRegExp.js +24 -0
- data/node_modules/es-abstract/2023/IsSharedArrayBuffer.js +19 -0
- data/node_modules/es-abstract/2023/IsStrictlyEqual.js +16 -0
- data/node_modules/es-abstract/2023/IsStringWellFormedUnicode.js +26 -0
- data/node_modules/es-abstract/2023/IsUnclampedIntegerElementType.js +12 -0
- data/node_modules/es-abstract/2023/IsUnsignedElementType.js +11 -0
- data/node_modules/es-abstract/2023/IsValidIntegerIndex.js +33 -0
- data/node_modules/es-abstract/2023/IsWordChar.js +45 -0
- data/node_modules/es-abstract/2023/IteratorClose.js +62 -0
- data/node_modules/es-abstract/2023/IteratorComplete.js +18 -0
- data/node_modules/es-abstract/2023/IteratorNext.js +28 -0
- data/node_modules/es-abstract/2023/IteratorStep.js +18 -0
- data/node_modules/es-abstract/2023/IteratorToList.js +28 -0
- data/node_modules/es-abstract/2023/IteratorValue.js +18 -0
- data/node_modules/es-abstract/2023/KeyForSymbol.js +20 -0
- data/node_modules/es-abstract/2023/LengthOfArrayLike.js +20 -0
- data/node_modules/es-abstract/2023/MakeDate.js +13 -0
- data/node_modules/es-abstract/2023/MakeDay.js +36 -0
- data/node_modules/es-abstract/2023/MakeMatchIndicesIndexPairArray.js +69 -0
- data/node_modules/es-abstract/2023/MakeTime.js +23 -0
- data/node_modules/es-abstract/2023/MinFromTime.js +14 -0
- data/node_modules/es-abstract/2023/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/2023/NewPromiseCapability.js +36 -0
- data/node_modules/es-abstract/2023/NormalCompletion.js +9 -0
- data/node_modules/es-abstract/2023/Number/add.js +36 -0
- data/node_modules/es-abstract/2023/Number/bitwiseAND.js +17 -0
- data/node_modules/es-abstract/2023/Number/bitwiseNOT.js +19 -0
- data/node_modules/es-abstract/2023/Number/bitwiseOR.js +17 -0
- data/node_modules/es-abstract/2023/Number/bitwiseXOR.js +17 -0
- data/node_modules/es-abstract/2023/Number/divide.js +22 -0
- data/node_modules/es-abstract/2023/Number/equal.js +21 -0
- data/node_modules/es-abstract/2023/Number/exponentiate.js +77 -0
- data/node_modules/es-abstract/2023/Number/index.js +43 -0
- data/node_modules/es-abstract/2023/Number/leftShift.js +25 -0
- data/node_modules/es-abstract/2023/Number/lessThan.js +26 -0
- data/node_modules/es-abstract/2023/Number/multiply.js +33 -0
- data/node_modules/es-abstract/2023/Number/remainder.js +42 -0
- data/node_modules/es-abstract/2023/Number/sameValue.js +21 -0
- data/node_modules/es-abstract/2023/Number/sameValueZero.js +24 -0
- data/node_modules/es-abstract/2023/Number/signedRightShift.js +25 -0
- data/node_modules/es-abstract/2023/Number/subtract.js +19 -0
- data/node_modules/es-abstract/2023/Number/toString.js +26 -0
- data/node_modules/es-abstract/2023/Number/unaryMinus.js +21 -0
- data/node_modules/es-abstract/2023/Number/unsignedRightShift.js +25 -0
- data/node_modules/es-abstract/2023/NumberBitwiseOp.js +29 -0
- data/node_modules/es-abstract/2023/NumberToBigInt.js +26 -0
- data/node_modules/es-abstract/2023/NumericToRawBytes.js +80 -0
- data/node_modules/es-abstract/2023/ObjectDefineProperties.js +38 -0
- data/node_modules/es-abstract/2023/OrdinaryCreateFromConstructor.js +20 -0
- data/node_modules/es-abstract/2023/OrdinaryDefineOwnProperty.js +61 -0
- data/node_modules/es-abstract/2023/OrdinaryGetOwnProperty.js +44 -0
- data/node_modules/es-abstract/2023/OrdinaryGetPrototypeOf.js +21 -0
- data/node_modules/es-abstract/2023/OrdinaryHasInstance.js +25 -0
- data/node_modules/es-abstract/2023/OrdinaryHasProperty.js +20 -0
- data/node_modules/es-abstract/2023/OrdinaryObjectCreate.js +56 -0
- data/node_modules/es-abstract/2023/OrdinarySetPrototypeOf.js +53 -0
- data/node_modules/es-abstract/2023/OrdinaryToPrimitive.js +38 -0
- data/node_modules/es-abstract/2023/ParseHexOctet.js +44 -0
- data/node_modules/es-abstract/2023/PromiseResolve.js +17 -0
- data/node_modules/es-abstract/2023/QuoteJSONString.js +54 -0
- data/node_modules/es-abstract/2023/RawBytesToNumeric.js +84 -0
- data/node_modules/es-abstract/2023/RegExpCreate.js +21 -0
- data/node_modules/es-abstract/2023/RegExpExec.js +32 -0
- data/node_modules/es-abstract/2023/RegExpHasFlag.js +38 -0
- data/node_modules/es-abstract/2023/RequireObjectCoercible.js +3 -0
- data/node_modules/es-abstract/2023/SameValue.js +13 -0
- data/node_modules/es-abstract/2023/SameValueNonNumber.js +21 -0
- data/node_modules/es-abstract/2023/SameValueZero.js +9 -0
- data/node_modules/es-abstract/2023/SecFromTime.js +14 -0
- data/node_modules/es-abstract/2023/Set.js +47 -0
- data/node_modules/es-abstract/2023/SetFunctionLength.js +32 -0
- data/node_modules/es-abstract/2023/SetFunctionName.js +44 -0
- data/node_modules/es-abstract/2023/SetIntegrityLevel.js +57 -0
- data/node_modules/es-abstract/2023/SetTypedArrayFromArrayLike.js +97 -0
- data/node_modules/es-abstract/2023/SetTypedArrayFromTypedArray.js +135 -0
- data/node_modules/es-abstract/2023/SetValueInBuffer.js +105 -0
- data/node_modules/es-abstract/2023/SortIndexedProperties.js +52 -0
- data/node_modules/es-abstract/2023/SpeciesConstructor.js +32 -0
- data/node_modules/es-abstract/2023/StringCreate.js +40 -0
- data/node_modules/es-abstract/2023/StringGetOwnProperty.js +48 -0
- data/node_modules/es-abstract/2023/StringIndexOf.js +40 -0
- data/node_modules/es-abstract/2023/StringPad.js +43 -0
- data/node_modules/es-abstract/2023/StringToBigInt.js +23 -0
- data/node_modules/es-abstract/2023/StringToCodePoints.js +29 -0
- data/node_modules/es-abstract/2023/StringToNumber.js +45 -0
- data/node_modules/es-abstract/2023/SymbolDescriptiveString.js +20 -0
- data/node_modules/es-abstract/2023/TestIntegrityLevel.js +42 -0
- data/node_modules/es-abstract/2023/ThrowCompletion.js +9 -0
- data/node_modules/es-abstract/2023/TimeClip.js +21 -0
- data/node_modules/es-abstract/2023/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/2023/TimeString.js +25 -0
- data/node_modules/es-abstract/2023/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/2023/ToBigInt.js +53 -0
- data/node_modules/es-abstract/2023/ToBigInt64.js +25 -0
- data/node_modules/es-abstract/2023/ToBigUint64.js +22 -0
- data/node_modules/es-abstract/2023/ToBoolean.js +5 -0
- data/node_modules/es-abstract/2023/ToDateString.js +23 -0
- data/node_modules/es-abstract/2023/ToIndex.js +26 -0
- data/node_modules/es-abstract/2023/ToInt16.js +21 -0
- data/node_modules/es-abstract/2023/ToInt32.js +23 -0
- data/node_modules/es-abstract/2023/ToInt8.js +19 -0
- data/node_modules/es-abstract/2023/ToIntegerOrInfinity.js +16 -0
- data/node_modules/es-abstract/2023/ToLength.js +12 -0
- data/node_modules/es-abstract/2023/ToNumber.js +26 -0
- data/node_modules/es-abstract/2023/ToNumeric.js +21 -0
- data/node_modules/es-abstract/2023/ToObject.js +14 -0
- data/node_modules/es-abstract/2023/ToPrimitive.js +12 -0
- data/node_modules/es-abstract/2023/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/2023/ToPropertyKey.js +15 -0
- data/node_modules/es-abstract/2023/ToString.js +15 -0
- data/node_modules/es-abstract/2023/ToUint16.js +21 -0
- data/node_modules/es-abstract/2023/ToUint32.js +21 -0
- data/node_modules/es-abstract/2023/ToUint8.js +19 -0
- data/node_modules/es-abstract/2023/ToUint8Clamp.js +19 -0
- data/node_modules/es-abstract/2023/ToZeroPaddedDecimalString.js +20 -0
- data/node_modules/es-abstract/2023/TrimString.js +29 -0
- data/node_modules/es-abstract/2023/Type.js +15 -0
- data/node_modules/es-abstract/2023/TypedArrayCreate.js +50 -0
- data/node_modules/es-abstract/2023/TypedArrayCreateSameType.js +37 -0
- data/node_modules/es-abstract/2023/TypedArrayElementSize.js +40 -0
- data/node_modules/es-abstract/2023/TypedArrayElementType.js +38 -0
- data/node_modules/es-abstract/2023/TypedArraySpeciesCreate.js +39 -0
- data/node_modules/es-abstract/2023/UTF16EncodeCodePoint.js +25 -0
- data/node_modules/es-abstract/2023/UTF16SurrogatePairToCodePoint.js +19 -0
- data/node_modules/es-abstract/2023/UnicodeEscape.js +27 -0
- data/node_modules/es-abstract/2023/ValidateAndApplyPropertyDescriptor.js +177 -0
- data/node_modules/es-abstract/2023/ValidateAtomicAccess.js +42 -0
- data/node_modules/es-abstract/2023/ValidateIntegerTypedArray.js +39 -0
- data/node_modules/es-abstract/2023/ValidateTypedArray.js +30 -0
- data/node_modules/es-abstract/2023/WeakRefDeref.js +24 -0
- data/node_modules/es-abstract/2023/WeekDay.js +10 -0
- data/node_modules/es-abstract/2023/WordCharacters.js +48 -0
- data/node_modules/es-abstract/2023/YearFromTime.js +16 -0
- data/node_modules/es-abstract/2023/abs.js +11 -0
- data/node_modules/es-abstract/2023/clamp.js +18 -0
- data/node_modules/es-abstract/2023/floor.js +16 -0
- data/node_modules/es-abstract/2023/max.js +7 -0
- data/node_modules/es-abstract/2023/min.js +7 -0
- data/node_modules/es-abstract/2023/modulo.js +9 -0
- data/node_modules/es-abstract/2023/msFromTime.js +11 -0
- data/node_modules/es-abstract/2023/substring.js +21 -0
- data/node_modules/es-abstract/2023/thisBigIntValue.js +22 -0
- data/node_modules/es-abstract/2023/thisBooleanValue.js +15 -0
- data/node_modules/es-abstract/2023/thisNumberValue.js +18 -0
- data/node_modules/es-abstract/2023/thisStringValue.js +15 -0
- data/node_modules/es-abstract/2023/thisSymbolValue.js +19 -0
- data/node_modules/es-abstract/2023/thisTimeValue.js +9 -0
- data/node_modules/es-abstract/2023/truncate.js +17 -0
- data/node_modules/es-abstract/5/AbstractEqualityComparison.js +37 -0
- data/node_modules/es-abstract/5/AbstractRelationalComparison.js +63 -0
- data/node_modules/es-abstract/5/Canonicalize.js +42 -0
- data/node_modules/es-abstract/5/CheckObjectCoercible.js +14 -0
- data/node_modules/es-abstract/5/DateFromTime.js +54 -0
- data/node_modules/es-abstract/5/Day.js +11 -0
- data/node_modules/es-abstract/5/DayFromYear.js +10 -0
- data/node_modules/es-abstract/5/DayWithinYear.js +11 -0
- data/node_modules/es-abstract/5/DaysInYear.js +18 -0
- data/node_modules/es-abstract/5/FromPropertyDescriptor.js +39 -0
- data/node_modules/es-abstract/5/HourFromTime.js +14 -0
- data/node_modules/es-abstract/5/InLeapYear.js +21 -0
- data/node_modules/es-abstract/5/IsAccessorDescriptor.js +23 -0
- data/node_modules/es-abstract/5/IsCallable.js +5 -0
- data/node_modules/es-abstract/5/IsDataDescriptor.js +23 -0
- data/node_modules/es-abstract/5/IsGenericDescriptor.js +23 -0
- data/node_modules/es-abstract/5/IsPropertyDescriptor.js +19 -0
- data/node_modules/es-abstract/5/MakeDate.js +13 -0
- data/node_modules/es-abstract/5/MakeDay.js +33 -0
- data/node_modules/es-abstract/5/MakeTime.js +23 -0
- data/node_modules/es-abstract/5/MinFromTime.js +14 -0
- data/node_modules/es-abstract/5/MonthFromTime.js +47 -0
- data/node_modules/es-abstract/5/SameValue.js +13 -0
- data/node_modules/es-abstract/5/SecFromTime.js +14 -0
- data/node_modules/es-abstract/5/StrictEqualityComparison.js +17 -0
- data/node_modules/es-abstract/5/TimeClip.js +21 -0
- data/node_modules/es-abstract/5/TimeFromYear.js +11 -0
- data/node_modules/es-abstract/5/TimeWithinDay.js +12 -0
- data/node_modules/es-abstract/5/ToBoolean.js +5 -0
- data/node_modules/es-abstract/5/ToInt32.js +9 -0
- data/node_modules/es-abstract/5/ToInteger.js +18 -0
- data/node_modules/es-abstract/5/ToNumber.js +32 -0
- data/node_modules/es-abstract/5/ToObject.js +14 -0
- data/node_modules/es-abstract/5/ToPrimitive.js +5 -0
- data/node_modules/es-abstract/5/ToPropertyDescriptor.js +52 -0
- data/node_modules/es-abstract/5/ToString.js +12 -0
- data/node_modules/es-abstract/5/ToUint16.js +19 -0
- data/node_modules/es-abstract/5/ToUint32.js +9 -0
- data/node_modules/es-abstract/5/Type.js +24 -0
- data/node_modules/es-abstract/5/WeekDay.js +10 -0
- data/node_modules/es-abstract/5/YearFromTime.js +16 -0
- data/node_modules/es-abstract/5/abs.js +11 -0
- data/node_modules/es-abstract/5/floor.js +11 -0
- data/node_modules/es-abstract/5/modulo.js +9 -0
- data/node_modules/es-abstract/5/msFromTime.js +11 -0
- data/node_modules/es-abstract/CHANGELOG.md +761 -0
- data/node_modules/es-abstract/GetIntrinsic.js +5 -0
- data/node_modules/es-abstract/LICENSE +21 -0
- data/node_modules/es-abstract/README.md +43 -0
- data/node_modules/es-abstract/es2015.js +139 -0
- data/node_modules/es-abstract/es2016.js +146 -0
- data/node_modules/es-abstract/es2017.js +154 -0
- data/node_modules/es-abstract/es2018.js +165 -0
- data/node_modules/es-abstract/es2019.js +169 -0
- data/node_modules/es-abstract/es2020.js +193 -0
- data/node_modules/es-abstract/es2021.js +207 -0
- data/node_modules/es-abstract/es2022.js +219 -0
- data/node_modules/es-abstract/es2023.js +227 -0
- data/node_modules/es-abstract/es5.js +52 -0
- data/node_modules/es-abstract/es6.js +3 -0
- data/node_modules/es-abstract/es7.js +3 -0
- data/node_modules/es-abstract/helpers/DefineOwnProperty.js +55 -0
- data/node_modules/es-abstract/helpers/IsArray.js +12 -0
- data/node_modules/es-abstract/helpers/OwnPropertyKeys.js +22 -0
- data/node_modules/es-abstract/helpers/assertRecord.js +87 -0
- data/node_modules/es-abstract/helpers/assign.js +22 -0
- data/node_modules/es-abstract/helpers/bytesAsFloat32.js +38 -0
- data/node_modules/es-abstract/helpers/bytesAsFloat64.js +44 -0
- data/node_modules/es-abstract/helpers/bytesAsInteger.js +31 -0
- data/node_modules/es-abstract/helpers/callBind.js +5 -0
- data/node_modules/es-abstract/helpers/callBound.js +5 -0
- data/node_modules/es-abstract/helpers/caseFolding.json +1430 -0
- data/node_modules/es-abstract/helpers/defaultEndianness.js +21 -0
- data/node_modules/es-abstract/helpers/every.js +10 -0
- data/node_modules/es-abstract/helpers/forEach.js +7 -0
- data/node_modules/es-abstract/helpers/fractionToBinaryString.js +33 -0
- data/node_modules/es-abstract/helpers/fromPropertyDescriptor.js +27 -0
- data/node_modules/es-abstract/helpers/getInferredName.js +4 -0
- data/node_modules/es-abstract/helpers/getIteratorMethod.js +47 -0
- data/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js +5 -0
- data/node_modules/es-abstract/helpers/getProto.js +15 -0
- data/node_modules/es-abstract/helpers/getSymbolDescription.js +4 -0
- data/node_modules/es-abstract/helpers/intToBinaryString.js +23 -0
- data/node_modules/es-abstract/helpers/integerToNBytes.js +28 -0
- data/node_modules/es-abstract/helpers/isAbstractClosure.js +9 -0
- data/node_modules/es-abstract/helpers/isByteValue.js +5 -0
- data/node_modules/es-abstract/helpers/isCodePoint.js +5 -0
- data/node_modules/es-abstract/helpers/isFinite.js +5 -0
- data/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js +9 -0
- data/node_modules/es-abstract/helpers/isInteger.js +18 -0
- data/node_modules/es-abstract/helpers/isLeadingSurrogate.js +5 -0
- data/node_modules/es-abstract/helpers/isLineTerminator.js +7 -0
- data/node_modules/es-abstract/helpers/isMatchRecord.js +16 -0
- data/node_modules/es-abstract/helpers/isNaN.js +5 -0
- data/node_modules/es-abstract/helpers/isNegativeZero.js +5 -0
- data/node_modules/es-abstract/helpers/isPrefixOf.js +13 -0
- data/node_modules/es-abstract/helpers/isPrimitive.js +5 -0
- data/node_modules/es-abstract/helpers/isPropertyDescriptor.js +31 -0
- data/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js +20 -0
- data/node_modules/es-abstract/helpers/isStringOrHole.js +7 -0
- data/node_modules/es-abstract/helpers/isTrailingSurrogate.js +5 -0
- data/node_modules/es-abstract/helpers/maxSafeInteger.js +3 -0
- data/node_modules/es-abstract/helpers/maxValue.js +3 -0
- data/node_modules/es-abstract/helpers/mod.js +8 -0
- data/node_modules/es-abstract/helpers/modBigInt.js +6 -0
- data/node_modules/es-abstract/helpers/padTimeComponent.js +9 -0
- data/node_modules/es-abstract/helpers/reduce.js +9 -0
- data/node_modules/es-abstract/helpers/regexTester.js +5 -0
- data/node_modules/es-abstract/helpers/setProto.js +17 -0
- data/node_modules/es-abstract/helpers/sign.js +5 -0
- data/node_modules/es-abstract/helpers/some.js +10 -0
- data/node_modules/es-abstract/helpers/timeConstants.js +19 -0
- data/node_modules/es-abstract/helpers/typedArrayConstructors.js +22 -0
- data/node_modules/es-abstract/helpers/valueToFloat32Bytes.js +69 -0
- data/node_modules/es-abstract/helpers/valueToFloat64Bytes.js +83 -0
- data/node_modules/es-abstract/index.js +34 -0
- data/node_modules/es-abstract/operations/2015.js +744 -0
- data/node_modules/es-abstract/operations/2016.js +813 -0
- data/node_modules/es-abstract/operations/2017.js +954 -0
- data/node_modules/es-abstract/operations/2018.js +1033 -0
- data/node_modules/es-abstract/operations/2019.js +1048 -0
- data/node_modules/es-abstract/operations/2020.js +1228 -0
- data/node_modules/es-abstract/operations/2021.js +1282 -0
- data/node_modules/es-abstract/operations/2022.js +1372 -0
- data/node_modules/es-abstract/operations/2023.js +1441 -0
- data/node_modules/es-abstract/operations/build-unicode.mjs +19 -0
- data/node_modules/es-abstract/package.json +166 -0
- data/node_modules/es-set-tostringtag/CHANGELOG.md +33 -0
- data/node_modules/es-set-tostringtag/LICENSE +21 -0
- data/node_modules/es-set-tostringtag/README.md +43 -0
- data/node_modules/es-set-tostringtag/index.js +26 -0
- data/node_modules/es-set-tostringtag/package.json +69 -0
- data/node_modules/es-set-tostringtag/test/index.js +53 -0
- data/node_modules/es-shim-unscopables/CHANGELOG.md +13 -0
- data/node_modules/es-shim-unscopables/LICENSE +21 -0
- data/node_modules/es-shim-unscopables/README.md +57 -0
- data/node_modules/es-shim-unscopables/index.js +21 -0
- data/node_modules/es-shim-unscopables/package.json +49 -0
- data/node_modules/es-shim-unscopables/test/index.js +67 -0
- data/node_modules/es-shim-unscopables/test/with.js +35 -0
- data/node_modules/es-to-primitive/CHANGELOG.md +49 -0
- data/node_modules/es-to-primitive/LICENSE +22 -0
- data/node_modules/es-to-primitive/Makefile +61 -0
- data/node_modules/es-to-primitive/README.md +49 -0
- data/node_modules/es-to-primitive/es2015.js +75 -0
- data/node_modules/es-to-primitive/es5.js +45 -0
- data/node_modules/es-to-primitive/es6.js +3 -0
- data/node_modules/es-to-primitive/helpers/isPrimitive.js +5 -0
- data/node_modules/es-to-primitive/index.js +17 -0
- data/node_modules/es-to-primitive/package.json +81 -0
- data/node_modules/es-to-primitive/test/es2015.js +151 -0
- data/node_modules/es-to-primitive/test/es5.js +118 -0
- data/node_modules/es-to-primitive/test/es6.js +151 -0
- data/node_modules/es-to-primitive/test/index.js +20 -0
- data/node_modules/escape-string-regexp/index.d.ts +18 -0
- data/node_modules/escape-string-regexp/index.js +13 -0
- data/node_modules/escape-string-regexp/license +9 -0
- data/node_modules/escape-string-regexp/package.json +38 -0
- data/node_modules/escape-string-regexp/readme.md +34 -0
- data/node_modules/eslint/LICENSE +19 -0
- data/node_modules/eslint/README.md +299 -0
- data/node_modules/eslint/bin/eslint.js +140 -0
- data/node_modules/eslint/conf/config-schema.js +93 -0
- data/node_modules/eslint/conf/default-cli-options.js +32 -0
- data/node_modules/eslint/conf/globals.js +154 -0
- data/node_modules/eslint/conf/replacements.json +22 -0
- data/node_modules/eslint/conf/rule-type-list.json +36 -0
- data/node_modules/eslint/lib/api.js +26 -0
- data/node_modules/eslint/lib/cli-engine/cli-engine.js +1078 -0
- data/node_modules/eslint/lib/cli-engine/file-enumerator.js +547 -0
- data/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
- data/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
- data/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +46 -0
- data/node_modules/eslint/lib/cli-engine/formatters/html.js +351 -0
- data/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
- data/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
- data/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
- data/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
- data/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
- data/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
- data/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
- data/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
- data/node_modules/eslint/lib/cli-engine/hash.js +35 -0
- data/node_modules/eslint/lib/cli-engine/index.js +7 -0
- data/node_modules/eslint/lib/cli-engine/lint-result-cache.js +191 -0
- data/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
- data/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
- data/node_modules/eslint/lib/cli.js +441 -0
- data/node_modules/eslint/lib/config/default-config.js +67 -0
- data/node_modules/eslint/lib/config/flat-config-array.js +274 -0
- data/node_modules/eslint/lib/config/flat-config-helpers.js +111 -0
- data/node_modules/eslint/lib/config/flat-config-schema.js +545 -0
- data/node_modules/eslint/lib/config/rule-validator.js +158 -0
- data/node_modules/eslint/lib/eslint/eslint-helpers.js +904 -0
- data/node_modules/eslint/lib/eslint/eslint.js +700 -0
- data/node_modules/eslint/lib/eslint/flat-eslint.js +1140 -0
- data/node_modules/eslint/lib/eslint/index.js +9 -0
- data/node_modules/eslint/lib/linter/apply-disable-directives.js +351 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +852 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +263 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +1483 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +248 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +248 -0
- data/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
- data/node_modules/eslint/lib/linter/config-comment-parser.js +151 -0
- data/node_modules/eslint/lib/linter/index.js +13 -0
- data/node_modules/eslint/lib/linter/interpolate.js +28 -0
- data/node_modules/eslint/lib/linter/linter.js +2134 -0
- data/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
- data/node_modules/eslint/lib/linter/report-translator.js +369 -0
- data/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
- data/node_modules/eslint/lib/linter/rules.js +80 -0
- data/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
- data/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
- data/node_modules/eslint/lib/linter/timing.js +161 -0
- data/node_modules/eslint/lib/options.js +377 -0
- data/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1122 -0
- data/node_modules/eslint/lib/rule-tester/index.js +5 -0
- data/node_modules/eslint/lib/rule-tester/rule-tester.js +1206 -0
- data/node_modules/eslint/lib/rules/accessor-pairs.js +346 -0
- data/node_modules/eslint/lib/rules/array-bracket-newline.js +258 -0
- data/node_modules/eslint/lib/rules/array-bracket-spacing.js +241 -0
- data/node_modules/eslint/lib/rules/array-callback-return.js +446 -0
- data/node_modules/eslint/lib/rules/array-element-newline.js +308 -0
- data/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
- data/node_modules/eslint/lib/rules/arrow-parens.js +183 -0
- data/node_modules/eslint/lib/rules/arrow-spacing.js +161 -0
- data/node_modules/eslint/lib/rules/block-scoped-var.js +135 -0
- data/node_modules/eslint/lib/rules/block-spacing.js +171 -0
- data/node_modules/eslint/lib/rules/brace-style.js +194 -0
- data/node_modules/eslint/lib/rules/callback-return.js +187 -0
- data/node_modules/eslint/lib/rules/camelcase.js +399 -0
- data/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
- data/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
- data/node_modules/eslint/lib/rules/comma-dangle.js +370 -0
- data/node_modules/eslint/lib/rules/comma-spacing.js +189 -0
- data/node_modules/eslint/lib/rules/comma-style.js +311 -0
- data/node_modules/eslint/lib/rules/complexity.js +165 -0
- data/node_modules/eslint/lib/rules/computed-property-spacing.js +205 -0
- data/node_modules/eslint/lib/rules/consistent-return.js +210 -0
- data/node_modules/eslint/lib/rules/consistent-this.js +153 -0
- data/node_modules/eslint/lib/rules/constructor-super.js +446 -0
- data/node_modules/eslint/lib/rules/curly.js +486 -0
- data/node_modules/eslint/lib/rules/default-case-last.js +44 -0
- data/node_modules/eslint/lib/rules/default-case.js +97 -0
- data/node_modules/eslint/lib/rules/default-param-last.js +62 -0
- data/node_modules/eslint/lib/rules/dot-location.js +105 -0
- data/node_modules/eslint/lib/rules/dot-notation.js +176 -0
- data/node_modules/eslint/lib/rules/eol-last.js +112 -0
- data/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
- data/node_modules/eslint/lib/rules/for-direction.js +133 -0
- data/node_modules/eslint/lib/rules/func-call-spacing.js +230 -0
- data/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
- data/node_modules/eslint/lib/rules/func-names.js +191 -0
- data/node_modules/eslint/lib/rules/func-style.js +98 -0
- data/node_modules/eslint/lib/rules/function-call-argument-newline.js +122 -0
- data/node_modules/eslint/lib/rules/function-paren-newline.js +289 -0
- data/node_modules/eslint/lib/rules/generator-star-spacing.js +206 -0
- data/node_modules/eslint/lib/rules/getter-return.js +204 -0
- data/node_modules/eslint/lib/rules/global-require.js +90 -0
- data/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +215 -0
- data/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
- data/node_modules/eslint/lib/rules/handle-callback-err.js +101 -0
- data/node_modules/eslint/lib/rules/id-blacklist.js +246 -0
- data/node_modules/eslint/lib/rules/id-denylist.js +228 -0
- data/node_modules/eslint/lib/rules/id-length.js +177 -0
- data/node_modules/eslint/lib/rules/id-match.js +299 -0
- data/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +81 -0
- data/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
- data/node_modules/eslint/lib/rules/indent.js +1800 -0
- data/node_modules/eslint/lib/rules/index.js +306 -0
- data/node_modules/eslint/lib/rules/init-declarations.js +139 -0
- data/node_modules/eslint/lib/rules/jsx-quotes.js +95 -0
- data/node_modules/eslint/lib/rules/key-spacing.js +684 -0
- data/node_modules/eslint/lib/rules/keyword-spacing.js +637 -0
- data/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
- data/node_modules/eslint/lib/rules/linebreak-style.js +105 -0
- data/node_modules/eslint/lib/rules/lines-around-comment.js +468 -0
- data/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
- data/node_modules/eslint/lib/rules/lines-between-class-members.js +266 -0
- data/node_modules/eslint/lib/rules/logical-assignment-operators.js +476 -0
- data/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
- data/node_modules/eslint/lib/rules/max-depth.js +156 -0
- data/node_modules/eslint/lib/rules/max-len.js +437 -0
- data/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
- data/node_modules/eslint/lib/rules/max-lines.js +193 -0
- data/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
- data/node_modules/eslint/lib/rules/max-params.js +102 -0
- data/node_modules/eslint/lib/rules/max-statements-per-line.js +196 -0
- data/node_modules/eslint/lib/rules/max-statements.js +184 -0
- data/node_modules/eslint/lib/rules/multiline-comment-style.js +474 -0
- data/node_modules/eslint/lib/rules/multiline-ternary.js +171 -0
- data/node_modules/eslint/lib/rules/new-cap.js +276 -0
- data/node_modules/eslint/lib/rules/new-parens.js +90 -0
- data/node_modules/eslint/lib/rules/newline-after-var.js +253 -0
- data/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
- data/node_modules/eslint/lib/rules/newline-per-chained-call.js +123 -0
- data/node_modules/eslint/lib/rules/no-alert.js +138 -0
- data/node_modules/eslint/lib/rules/no-array-constructor.js +54 -0
- data/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
- data/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
- data/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
- data/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
- data/node_modules/eslint/lib/rules/no-caller.js +46 -0
- data/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
- data/node_modules/eslint/lib/rules/no-catch-shadow.js +82 -0
- data/node_modules/eslint/lib/rules/no-class-assign.js +63 -0
- data/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
- data/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
- data/node_modules/eslint/lib/rules/no-confusing-arrow.js +89 -0
- data/node_modules/eslint/lib/rules/no-console.js +135 -0
- data/node_modules/eslint/lib/rules/no-const-assign.js +56 -0
- data/node_modules/eslint/lib/rules/no-constant-binary-expression.js +509 -0
- data/node_modules/eslint/lib/rules/no-constant-condition.js +150 -0
- data/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
- data/node_modules/eslint/lib/rules/no-continue.js +39 -0
- data/node_modules/eslint/lib/rules/no-control-regex.js +138 -0
- data/node_modules/eslint/lib/rules/no-debugger.js +43 -0
- data/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
- data/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
- data/node_modules/eslint/lib/rules/no-dupe-args.js +82 -0
- data/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
- data/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
- data/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
- data/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
- data/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
- data/node_modules/eslint/lib/rules/no-else-return.js +405 -0
- data/node_modules/eslint/lib/rules/no-empty-character-class.js +76 -0
- data/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
- data/node_modules/eslint/lib/rules/no-empty-pattern.js +78 -0
- data/node_modules/eslint/lib/rules/no-empty-static-block.js +47 -0
- data/node_modules/eslint/lib/rules/no-empty.js +103 -0
- data/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
- data/node_modules/eslint/lib/rules/no-eval.js +286 -0
- data/node_modules/eslint/lib/rules/no-ex-assign.js +54 -0
- data/node_modules/eslint/lib/rules/no-extend-native.js +179 -0
- data/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
- data/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
- data/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
- data/node_modules/eslint/lib/rules/no-extra-parens.js +1319 -0
- data/node_modules/eslint/lib/rules/no-extra-semi.js +144 -0
- data/node_modules/eslint/lib/rules/no-fallthrough.js +196 -0
- data/node_modules/eslint/lib/rules/no-floating-decimal.js +70 -0
- data/node_modules/eslint/lib/rules/no-func-assign.js +78 -0
- data/node_modules/eslint/lib/rules/no-global-assign.js +95 -0
- data/node_modules/eslint/lib/rules/no-implicit-coercion.js +380 -0
- data/node_modules/eslint/lib/rules/no-implicit-globals.js +146 -0
- data/node_modules/eslint/lib/rules/no-implied-eval.js +132 -0
- data/node_modules/eslint/lib/rules/no-import-assign.js +241 -0
- data/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
- data/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
- data/node_modules/eslint/lib/rules/no-invalid-regexp.js +194 -0
- data/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
- data/node_modules/eslint/lib/rules/no-irregular-whitespace.js +276 -0
- data/node_modules/eslint/lib/rules/no-iterator.js +52 -0
- data/node_modules/eslint/lib/rules/no-label-var.js +80 -0
- data/node_modules/eslint/lib/rules/no-labels.js +149 -0
- data/node_modules/eslint/lib/rules/no-lone-blocks.js +136 -0
- data/node_modules/eslint/lib/rules/no-lonely-if.js +88 -0
- data/node_modules/eslint/lib/rules/no-loop-func.js +206 -0
- data/node_modules/eslint/lib/rules/no-loss-of-precision.js +214 -0
- data/node_modules/eslint/lib/rules/no-magic-numbers.js +243 -0
- data/node_modules/eslint/lib/rules/no-misleading-character-class.js +300 -0
- data/node_modules/eslint/lib/rules/no-mixed-operators.js +226 -0
- data/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
- data/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +113 -0
- data/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
- data/node_modules/eslint/lib/rules/no-multi-spaces.js +138 -0
- data/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
- data/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +151 -0
- data/node_modules/eslint/lib/rules/no-native-reassign.js +98 -0
- data/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
- data/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
- data/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
- data/node_modules/eslint/lib/rules/no-new-func.js +87 -0
- data/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +66 -0
- data/node_modules/eslint/lib/rules/no-new-object.js +67 -0
- data/node_modules/eslint/lib/rules/no-new-require.js +50 -0
- data/node_modules/eslint/lib/rules/no-new-symbol.js +56 -0
- data/node_modules/eslint/lib/rules/no-new-wrappers.js +60 -0
- data/node_modules/eslint/lib/rules/no-new.js +43 -0
- data/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
- data/node_modules/eslint/lib/rules/no-obj-calls.js +86 -0
- data/node_modules/eslint/lib/rules/no-object-constructor.js +118 -0
- data/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
- data/node_modules/eslint/lib/rules/no-octal.js +45 -0
- data/node_modules/eslint/lib/rules/no-param-reassign.js +230 -0
- data/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
- data/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
- data/node_modules/eslint/lib/rules/no-process-env.js +51 -0
- data/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
- data/node_modules/eslint/lib/rules/no-promise-executor-return.js +260 -0
- data/node_modules/eslint/lib/rules/no-proto.js +48 -0
- data/node_modules/eslint/lib/rules/no-prototype-builtins.js +71 -0
- data/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
- data/node_modules/eslint/lib/rules/no-regex-spaces.js +197 -0
- data/node_modules/eslint/lib/rules/no-restricted-exports.js +193 -0
- data/node_modules/eslint/lib/rules/no-restricted-globals.js +124 -0
- data/node_modules/eslint/lib/rules/no-restricted-imports.js +387 -0
- data/node_modules/eslint/lib/rules/no-restricted-modules.js +213 -0
- data/node_modules/eslint/lib/rules/no-restricted-properties.js +181 -0
- data/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
- data/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
- data/node_modules/eslint/lib/rules/no-return-await.js +135 -0
- data/node_modules/eslint/lib/rules/no-script-url.js +61 -0
- data/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
- data/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
- data/node_modules/eslint/lib/rules/no-sequences.js +138 -0
- data/node_modules/eslint/lib/rules/no-setter-return.js +226 -0
- data/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +65 -0
- data/node_modules/eslint/lib/rules/no-shadow.js +336 -0
- data/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
- data/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
- data/node_modules/eslint/lib/rules/no-sync.js +64 -0
- data/node_modules/eslint/lib/rules/no-tabs.js +78 -0
- data/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
- data/node_modules/eslint/lib/rules/no-ternary.js +41 -0
- data/node_modules/eslint/lib/rules/no-this-before-super.js +331 -0
- data/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
- data/node_modules/eslint/lib/rules/no-trailing-spaces.js +190 -0
- data/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
- data/node_modules/eslint/lib/rules/no-undef.js +79 -0
- data/node_modules/eslint/lib/rules/no-undefined.js +86 -0
- data/node_modules/eslint/lib/rules/no-underscore-dangle.js +335 -0
- data/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
- data/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
- data/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
- data/node_modules/eslint/lib/rules/no-unreachable-loop.js +185 -0
- data/node_modules/eslint/lib/rules/no-unreachable.js +293 -0
- data/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
- data/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
- data/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
- data/node_modules/eslint/lib/rules/no-unused-expressions.js +186 -0
- data/node_modules/eslint/lib/rules/no-unused-labels.js +143 -0
- data/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
- data/node_modules/eslint/lib/rules/no-unused-vars.js +718 -0
- data/node_modules/eslint/lib/rules/no-use-before-define.js +348 -0
- data/node_modules/eslint/lib/rules/no-useless-backreference.js +194 -0
- data/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
- data/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
- data/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
- data/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
- data/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
- data/node_modules/eslint/lib/rules/no-useless-escape.js +333 -0
- data/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
- data/node_modules/eslint/lib/rules/no-useless-return.js +364 -0
- data/node_modules/eslint/lib/rules/no-var.js +334 -0
- data/node_modules/eslint/lib/rules/no-void.js +64 -0
- data/node_modules/eslint/lib/rules/no-warning-comments.js +201 -0
- data/node_modules/eslint/lib/rules/no-whitespace-before-property.js +113 -0
- data/node_modules/eslint/lib/rules/no-with.js +39 -0
- data/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +124 -0
- data/node_modules/eslint/lib/rules/object-curly-newline.js +321 -0
- data/node_modules/eslint/lib/rules/object-curly-spacing.js +308 -0
- data/node_modules/eslint/lib/rules/object-property-newline.js +99 -0
- data/node_modules/eslint/lib/rules/object-shorthand.js +520 -0
- data/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +92 -0
- data/node_modules/eslint/lib/rules/one-var.js +567 -0
- data/node_modules/eslint/lib/rules/operator-assignment.js +209 -0
- data/node_modules/eslint/lib/rules/operator-linebreak.js +250 -0
- data/node_modules/eslint/lib/rules/padded-blocks.js +307 -0
- data/node_modules/eslint/lib/rules/padding-line-between-statements.js +587 -0
- data/node_modules/eslint/lib/rules/prefer-arrow-callback.js +381 -0
- data/node_modules/eslint/lib/rules/prefer-const.js +501 -0
- data/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
- data/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +191 -0
- data/node_modules/eslint/lib/rules/prefer-named-capture-group.js +178 -0
- data/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
- data/node_modules/eslint/lib/rules/prefer-object-has-own.js +114 -0
- data/node_modules/eslint/lib/rules/prefer-object-spread.js +298 -0
- data/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +132 -0
- data/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
- data/node_modules/eslint/lib/rules/prefer-regex-literals.js +507 -0
- data/node_modules/eslint/lib/rules/prefer-rest-params.js +118 -0
- data/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
- data/node_modules/eslint/lib/rules/prefer-template.js +275 -0
- data/node_modules/eslint/lib/rules/quote-props.js +307 -0
- data/node_modules/eslint/lib/rules/quotes.js +347 -0
- data/node_modules/eslint/lib/rules/radix.js +198 -0
- data/node_modules/eslint/lib/rules/require-atomic-updates.js +331 -0
- data/node_modules/eslint/lib/rules/require-await.js +113 -0
- data/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
- data/node_modules/eslint/lib/rules/require-unicode-regexp.js +129 -0
- data/node_modules/eslint/lib/rules/require-yield.js +77 -0
- data/node_modules/eslint/lib/rules/rest-spread-spacing.js +120 -0
- data/node_modules/eslint/lib/rules/semi-spacing.js +245 -0
- data/node_modules/eslint/lib/rules/semi-style.js +155 -0
- data/node_modules/eslint/lib/rules/semi.js +435 -0
- data/node_modules/eslint/lib/rules/sort-imports.js +241 -0
- data/node_modules/eslint/lib/rules/sort-keys.js +230 -0
- data/node_modules/eslint/lib/rules/sort-vars.js +104 -0
- data/node_modules/eslint/lib/rules/space-before-blocks.js +201 -0
- data/node_modules/eslint/lib/rules/space-before-function-paren.js +164 -0
- data/node_modules/eslint/lib/rules/space-in-parens.js +282 -0
- data/node_modules/eslint/lib/rules/space-infix-ops.js +195 -0
- data/node_modules/eslint/lib/rules/space-unary-ops.js +321 -0
- data/node_modules/eslint/lib/rules/spaced-comment.js +382 -0
- data/node_modules/eslint/lib/rules/strict.js +277 -0
- data/node_modules/eslint/lib/rules/switch-colon-spacing.js +129 -0
- data/node_modules/eslint/lib/rules/symbol-description.js +73 -0
- data/node_modules/eslint/lib/rules/template-curly-spacing.js +141 -0
- data/node_modules/eslint/lib/rules/template-tag-spacing.js +90 -0
- data/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
- data/node_modules/eslint/lib/rules/use-isnan.js +141 -0
- data/node_modules/eslint/lib/rules/utils/ast-utils.js +2172 -0
- data/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
- data/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
- data/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- data/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
- data/node_modules/eslint/lib/rules/utils/regular-expressions.js +42 -0
- data/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
- data/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
- data/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- data/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- data/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- data/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
- data/node_modules/eslint/lib/rules/valid-typeof.js +127 -0
- data/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
- data/node_modules/eslint/lib/rules/wrap-iife.js +204 -0
- data/node_modules/eslint/lib/rules/wrap-regex.js +58 -0
- data/node_modules/eslint/lib/rules/yield-star-spacing.js +127 -0
- data/node_modules/eslint/lib/rules/yoda.js +353 -0
- data/node_modules/eslint/lib/shared/ajv.js +34 -0
- data/node_modules/eslint/lib/shared/ast-utils.js +29 -0
- data/node_modules/eslint/lib/shared/config-validator.js +347 -0
- data/node_modules/eslint/lib/shared/deprecation-warnings.js +58 -0
- data/node_modules/eslint/lib/shared/directives.js +15 -0
- data/node_modules/eslint/lib/shared/logging.js +30 -0
- data/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
- data/node_modules/eslint/lib/shared/runtime-info.js +167 -0
- data/node_modules/eslint/lib/shared/string-utils.js +60 -0
- data/node_modules/eslint/lib/shared/traverser.js +195 -0
- data/node_modules/eslint/lib/shared/types.js +216 -0
- data/node_modules/eslint/lib/source-code/index.js +5 -0
- data/node_modules/eslint/lib/source-code/source-code.js +1076 -0
- data/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- data/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
- data/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
- data/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
- data/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
- data/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
- data/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- data/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
- data/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
- data/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
- data/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
- data/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
- data/node_modules/eslint/lib/source-code/token-store/utils.js +107 -0
- data/node_modules/eslint/lib/unsupported-api.js +30 -0
- data/node_modules/eslint/messages/all-files-ignored.js +16 -0
- data/node_modules/eslint/messages/eslintrc-incompat.js +98 -0
- data/node_modules/eslint/messages/eslintrc-plugins.js +24 -0
- data/node_modules/eslint/messages/extend-config-missing.js +13 -0
- data/node_modules/eslint/messages/failed-to-read-json.js +11 -0
- data/node_modules/eslint/messages/file-not-found.js +10 -0
- data/node_modules/eslint/messages/invalid-rule-options.js +17 -0
- data/node_modules/eslint/messages/invalid-rule-severity.js +13 -0
- data/node_modules/eslint/messages/no-config-found.js +15 -0
- data/node_modules/eslint/messages/plugin-conflict.js +22 -0
- data/node_modules/eslint/messages/plugin-invalid.js +16 -0
- data/node_modules/eslint/messages/plugin-missing.js +19 -0
- data/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
- data/node_modules/eslint/messages/shared.js +18 -0
- data/node_modules/eslint/messages/whitespace-found.js +11 -0
- data/node_modules/eslint/package.json +174 -0
- data/node_modules/eslint-config-airbnb-base/CHANGELOG.md +374 -0
- data/node_modules/eslint-config-airbnb-base/LICENSE.md +21 -0
- data/node_modules/eslint-config-airbnb-base/README.md +112 -0
- data/node_modules/eslint-config-airbnb-base/index.js +17 -0
- data/node_modules/eslint-config-airbnb-base/legacy.js +34 -0
- data/node_modules/eslint-config-airbnb-base/package.json +95 -0
- data/node_modules/eslint-config-airbnb-base/rules/best-practices.js +408 -0
- data/node_modules/eslint-config-airbnb-base/rules/errors.js +179 -0
- data/node_modules/eslint-config-airbnb-base/rules/es6.js +185 -0
- data/node_modules/eslint-config-airbnb-base/rules/imports.js +273 -0
- data/node_modules/eslint-config-airbnb-base/rules/node.js +43 -0
- data/node_modules/eslint-config-airbnb-base/rules/strict.js +6 -0
- data/node_modules/eslint-config-airbnb-base/rules/style.js +529 -0
- data/node_modules/eslint-config-airbnb-base/rules/variables.js +56 -0
- data/node_modules/eslint-config-airbnb-base/test/requires.js +13 -0
- data/node_modules/eslint-config-airbnb-base/test/test-base.js +32 -0
- data/node_modules/eslint-config-airbnb-base/whitespace-async.js +96 -0
- data/node_modules/eslint-config-airbnb-base/whitespace.js +102 -0
- data/node_modules/eslint-import-resolver-node/LICENSE +22 -0
- data/node_modules/eslint-import-resolver-node/README.md +44 -0
- data/node_modules/eslint-import-resolver-node/index.js +66 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/CHANGELOG.md +395 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/LICENSE +19 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/README.md +437 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/node.js +1 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/node_modules/ms/index.js +162 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/node_modules/ms/package.json +38 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/node_modules/ms/readme.md +59 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/package.json +51 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/src/browser.js +180 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/src/common.js +249 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/src/index.js +12 -0
- data/node_modules/eslint-import-resolver-node/node_modules/debug/src/node.js +177 -0
- data/node_modules/eslint-import-resolver-node/package.json +41 -0
- data/node_modules/eslint-module-utils/CHANGELOG.md +185 -0
- data/node_modules/eslint-module-utils/LICENSE +22 -0
- data/node_modules/eslint-module-utils/ModuleCache.js +50 -0
- data/node_modules/eslint-module-utils/declaredScope.js +10 -0
- data/node_modules/eslint-module-utils/hash.js +60 -0
- data/node_modules/eslint-module-utils/ignore.js +61 -0
- data/node_modules/eslint-module-utils/module-require.js +31 -0
- data/node_modules/eslint-module-utils/moduleVisitor.js +153 -0
- data/node_modules/eslint-module-utils/node_modules/debug/CHANGELOG.md +395 -0
- data/node_modules/eslint-module-utils/node_modules/debug/LICENSE +19 -0
- data/node_modules/eslint-module-utils/node_modules/debug/README.md +437 -0
- data/node_modules/eslint-module-utils/node_modules/debug/node.js +1 -0
- data/node_modules/eslint-module-utils/node_modules/debug/node_modules/ms/index.js +162 -0
- data/node_modules/eslint-module-utils/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/eslint-module-utils/node_modules/debug/node_modules/ms/package.json +38 -0
- data/node_modules/eslint-module-utils/node_modules/debug/node_modules/ms/readme.md +59 -0
- data/node_modules/eslint-module-utils/node_modules/debug/package.json +51 -0
- data/node_modules/eslint-module-utils/node_modules/debug/src/browser.js +180 -0
- data/node_modules/eslint-module-utils/node_modules/debug/src/common.js +249 -0
- data/node_modules/eslint-module-utils/node_modules/debug/src/index.js +12 -0
- data/node_modules/eslint-module-utils/node_modules/debug/src/node.js +177 -0
- data/node_modules/eslint-module-utils/package.json +36 -0
- data/node_modules/eslint-module-utils/parse.js +149 -0
- data/node_modules/eslint-module-utils/pkgDir.js +11 -0
- data/node_modules/eslint-module-utils/pkgUp.js +57 -0
- data/node_modules/eslint-module-utils/readPkgUp.js +53 -0
- data/node_modules/eslint-module-utils/resolve.js +234 -0
- data/node_modules/eslint-module-utils/unambiguous.js +30 -0
- data/node_modules/eslint-module-utils/visit.js +25 -0
- data/node_modules/eslint-plugin-import/CHANGELOG.md +1899 -0
- data/node_modules/eslint-plugin-import/CONTRIBUTING.md +84 -0
- data/node_modules/eslint-plugin-import/LICENSE +22 -0
- data/node_modules/eslint-plugin-import/README.md +500 -0
- data/node_modules/eslint-plugin-import/RELEASE.md +54 -0
- data/node_modules/eslint-plugin-import/SECURITY.md +11 -0
- data/node_modules/eslint-plugin-import/config/electron.js +8 -0
- data/node_modules/eslint-plugin-import/config/errors.js +14 -0
- data/node_modules/eslint-plugin-import/config/react-native.js +13 -0
- data/node_modules/eslint-plugin-import/config/react.js +18 -0
- data/node_modules/eslint-plugin-import/config/recommended.js +28 -0
- data/node_modules/eslint-plugin-import/config/stage-0.js +12 -0
- data/node_modules/eslint-plugin-import/config/typescript.js +31 -0
- data/node_modules/eslint-plugin-import/config/warnings.js +12 -0
- data/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +91 -0
- data/node_modules/eslint-plugin-import/docs/rules/default.md +72 -0
- data/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +92 -0
- data/node_modules/eslint-plugin-import/docs/rules/export.md +37 -0
- data/node_modules/eslint-plugin-import/docs/rules/exports-last.md +51 -0
- data/node_modules/eslint-plugin-import/docs/rules/extensions.md +174 -0
- data/node_modules/eslint-plugin-import/docs/rules/first.md +75 -0
- data/node_modules/eslint-plugin-import/docs/rules/group-exports.md +118 -0
- data/node_modules/eslint-plugin-import/docs/rules/imports-first.md +9 -0
- data/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +70 -0
- data/node_modules/eslint-plugin-import/docs/rules/named.md +102 -0
- data/node_modules/eslint-plugin-import/docs/rules/namespace.md +106 -0
- data/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +118 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +54 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-amd.md +37 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +83 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +96 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +111 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +65 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +62 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +109 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +25 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +49 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +139 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +81 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +136 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +54 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +52 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +53 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +36 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +79 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +44 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +42 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +70 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +123 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +198 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +32 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +60 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +110 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +125 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +85 -0
- data/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +39 -0
- data/node_modules/eslint-plugin-import/docs/rules/order.md +365 -0
- data/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +185 -0
- data/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +57 -0
- data/node_modules/eslint-plugin-import/lib/ExportMap.js +856 -0
- data/node_modules/eslint-plugin-import/lib/core/importType.js +129 -0
- data/node_modules/eslint-plugin-import/lib/core/packagePath.js +22 -0
- data/node_modules/eslint-plugin-import/lib/core/staticRequire.js +11 -0
- data/node_modules/eslint-plugin-import/lib/docsUrl.js +8 -0
- data/node_modules/eslint-plugin-import/lib/importDeclaration.js +5 -0
- data/node_modules/eslint-plugin-import/lib/index.js +71 -0
- data/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +221 -0
- data/node_modules/eslint-plugin-import/lib/rules/default.js +40 -0
- data/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +120 -0
- data/node_modules/eslint-plugin-import/lib/rules/export.js +250 -0
- data/node_modules/eslint-plugin-import/lib/rules/exports-last.js +40 -0
- data/node_modules/eslint-plugin-import/lib/rules/extensions.js +193 -0
- data/node_modules/eslint-plugin-import/lib/rules/first.js +144 -0
- data/node_modules/eslint-plugin-import/lib/rules/group-exports.js +155 -0
- data/node_modules/eslint-plugin-import/lib/rules/imports-first.js +16 -0
- data/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +60 -0
- data/node_modules/eslint-plugin-import/lib/rules/named.js +143 -0
- data/node_modules/eslint-plugin-import/lib/rules/namespace.js +218 -0
- data/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +228 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +40 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-amd.js +47 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +103 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +141 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +158 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +43 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +138 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +354 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +77 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +105 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +300 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +85 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +144 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +59 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +96 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +45 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +31 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +39 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +175 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +44 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +71 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +48 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +245 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +39 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +79 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +60 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +940 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +147 -0
- data/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +26 -0
- data/node_modules/eslint-plugin-import/lib/rules/order.js +785 -0
- data/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +116 -0
- data/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +38 -0
- data/node_modules/eslint-plugin-import/memo-parser/LICENSE +22 -0
- data/node_modules/eslint-plugin-import/memo-parser/README.md +21 -0
- data/node_modules/eslint-plugin-import/memo-parser/index.js +41 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/CHANGELOG.md +395 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/LICENSE +19 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/README.md +437 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node.js +1 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/index.js +162 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/package.json +38 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/readme.md +59 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/package.json +51 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/src/browser.js +180 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/src/common.js +249 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/src/index.js +12 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/src/node.js +177 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/CHANGELOG.md +94 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/LICENSE +177 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/LICENSE.closure-compiler +202 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/LICENSE.esprima +19 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/README.md +165 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/lib/doctrine.js +899 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/lib/typed.js +1305 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/lib/utility.js +35 -0
- data/node_modules/eslint-plugin-import/node_modules/doctrine/package.json +57 -0
- data/node_modules/eslint-plugin-import/package.json +124 -0
- data/node_modules/eslint-plugin-jsonc/LICENSE +21 -0
- data/node_modules/eslint-plugin-jsonc/README.md +279 -0
- data/node_modules/eslint-plugin-jsonc/conf/eslint-all.js +11 -0
- data/node_modules/eslint-plugin-jsonc/conf/eslint-recommended.js +13 -0
- data/node_modules/eslint-plugin-jsonc/conf/rules.js +10 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/all.js +18 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/auto-config.js +13 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/base.js +15 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/prettier.js +26 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json.js +41 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json5.js +30 -0
- data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-jsonc.js +39 -0
- data/node_modules/eslint-plugin-jsonc/dist/index.js +68 -0
- data/node_modules/eslint-plugin-jsonc/dist/meta.js +5 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-newline.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-spacing.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/array-element-newline.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/auto.js +66 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/comma-dangle.js +27 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/comma-style.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/indent.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/key-name-casing.js +94 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/key-spacing.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-bigint-literals.js +33 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-binary-expression.js +38 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-binary-numeric-literals.js +39 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-comments.js +34 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-dupe-keys.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-escape-sequence-in-identifier.js +57 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-floating-decimal.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-hexadecimal-numeric-literals.js +39 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-infinity.js +37 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-irregular-whitespace.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-multi-str.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-nan.js +37 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-number-props.js +41 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-numeric-separators.js +42 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal-escape.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal-numeric-literals.js +39 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-parenthesized.js +70 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-plus-sign.js +39 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-regexp-literals.js +33 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-sparse-arrays.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-template-literals.js +36 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-undefined-value.js +35 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-unicode-codepoint-escapes.js +73 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/no-useless-escape.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/object-curly-newline.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/object-curly-spacing.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/object-property-newline.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/quote-props.js +27 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/quotes.js +27 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/sort-array-values.js +371 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/sort-keys.js +413 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/space-unary-ops.js +23 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/valid-json-number.js +138 -0
- data/node_modules/eslint-plugin-jsonc/dist/rules/vue-custom-block/no-parsing-error.js +86 -0
- data/node_modules/eslint-plugin-jsonc/dist/types.js +2 -0
- data/node_modules/eslint-plugin-jsonc/dist/utils/casing.js +134 -0
- data/node_modules/eslint-plugin-jsonc/dist/utils/get-auto-jsonc-rules-config.js +97 -0
- data/node_modules/eslint-plugin-jsonc/dist/utils/index.js +121 -0
- data/node_modules/eslint-plugin-jsonc/dist/utils/rules.js +96 -0
- data/node_modules/eslint-plugin-jsonc/index.d.ts +364 -0
- data/node_modules/eslint-plugin-jsonc/package.json +123 -0
- data/node_modules/eslint-scope/LICENSE +22 -0
- data/node_modules/eslint-scope/README.md +70 -0
- data/node_modules/eslint-scope/dist/eslint-scope.cjs +2240 -0
- data/node_modules/eslint-scope/lib/definition.js +85 -0
- data/node_modules/eslint-scope/lib/index.js +172 -0
- data/node_modules/eslint-scope/lib/pattern-visitor.js +153 -0
- data/node_modules/eslint-scope/lib/reference.js +166 -0
- data/node_modules/eslint-scope/lib/referencer.js +654 -0
- data/node_modules/eslint-scope/lib/scope-manager.js +255 -0
- data/node_modules/eslint-scope/lib/scope.js +772 -0
- data/node_modules/eslint-scope/lib/variable.js +87 -0
- data/node_modules/eslint-scope/lib/version.js +3 -0
- data/node_modules/eslint-scope/package.json +63 -0
- data/node_modules/eslint-visitor-keys/LICENSE +201 -0
- data/node_modules/eslint-visitor-keys/README.md +105 -0
- data/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +384 -0
- data/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts +27 -0
- data/node_modules/eslint-visitor-keys/dist/index.d.ts +16 -0
- data/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +12 -0
- data/node_modules/eslint-visitor-keys/lib/index.js +65 -0
- data/node_modules/eslint-visitor-keys/lib/visitor-keys.js +315 -0
- data/node_modules/eslint-visitor-keys/package.json +74 -0
- data/node_modules/espree/LICENSE +25 -0
- data/node_modules/espree/README.md +244 -0
- data/node_modules/espree/dist/espree.cjs +883 -0
- data/node_modules/espree/espree.js +177 -0
- data/node_modules/espree/lib/espree.js +349 -0
- data/node_modules/espree/lib/features.js +27 -0
- data/node_modules/espree/lib/options.js +123 -0
- data/node_modules/espree/lib/token-translator.js +263 -0
- data/node_modules/espree/lib/version.js +3 -0
- data/node_modules/espree/package.json +88 -0
- data/node_modules/esquery/README.md +27 -0
- data/node_modules/esquery/dist/esquery.esm.js +4020 -0
- data/node_modules/esquery/dist/esquery.esm.min.js +2 -0
- data/node_modules/esquery/dist/esquery.esm.min.js.map +1 -0
- data/node_modules/esquery/dist/esquery.js +4028 -0
- data/node_modules/esquery/dist/esquery.lite.js +3318 -0
- data/node_modules/esquery/dist/esquery.lite.min.js +2 -0
- data/node_modules/esquery/dist/esquery.lite.min.js.map +1 -0
- data/node_modules/esquery/dist/esquery.min.js +2 -0
- data/node_modules/esquery/dist/esquery.min.js.map +1 -0
- data/node_modules/esquery/license.txt +24 -0
- data/node_modules/esquery/package.json +78 -0
- data/node_modules/esquery/parser.js +2550 -0
- data/node_modules/esrecurse/README.md +171 -0
- data/node_modules/esrecurse/esrecurse.js +117 -0
- data/node_modules/esrecurse/gulpfile.babel.js +92 -0
- data/node_modules/esrecurse/package.json +52 -0
- data/node_modules/estraverse/LICENSE.BSD +19 -0
- data/node_modules/estraverse/README.md +153 -0
- data/node_modules/estraverse/estraverse.js +805 -0
- data/node_modules/estraverse/gulpfile.js +70 -0
- data/node_modules/estraverse/package.json +40 -0
- data/node_modules/esutils/LICENSE.BSD +19 -0
- data/node_modules/esutils/README.md +174 -0
- data/node_modules/esutils/lib/ast.js +144 -0
- data/node_modules/esutils/lib/code.js +135 -0
- data/node_modules/esutils/lib/keyword.js +165 -0
- data/node_modules/esutils/lib/utils.js +33 -0
- data/node_modules/esutils/package.json +44 -0
- data/node_modules/fast-deep-equal/LICENSE +21 -0
- data/node_modules/fast-deep-equal/README.md +96 -0
- data/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- data/node_modules/fast-deep-equal/es6/index.js +72 -0
- data/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- data/node_modules/fast-deep-equal/es6/react.js +79 -0
- data/node_modules/fast-deep-equal/index.d.ts +4 -0
- data/node_modules/fast-deep-equal/index.js +46 -0
- data/node_modules/fast-deep-equal/package.json +61 -0
- data/node_modules/fast-deep-equal/react.d.ts +2 -0
- data/node_modules/fast-deep-equal/react.js +53 -0
- data/node_modules/fast-json-stable-stringify/LICENSE +21 -0
- data/node_modules/fast-json-stable-stringify/README.md +131 -0
- data/node_modules/fast-json-stable-stringify/benchmark/index.js +31 -0
- data/node_modules/fast-json-stable-stringify/benchmark/test.json +137 -0
- data/node_modules/fast-json-stable-stringify/example/key_cmp.js +7 -0
- data/node_modules/fast-json-stable-stringify/example/nested.js +3 -0
- data/node_modules/fast-json-stable-stringify/example/str.js +3 -0
- data/node_modules/fast-json-stable-stringify/example/value_cmp.js +7 -0
- data/node_modules/fast-json-stable-stringify/index.d.ts +4 -0
- data/node_modules/fast-json-stable-stringify/index.js +59 -0
- data/node_modules/fast-json-stable-stringify/package.json +52 -0
- data/node_modules/fast-json-stable-stringify/test/cmp.js +13 -0
- data/node_modules/fast-json-stable-stringify/test/nested.js +44 -0
- data/node_modules/fast-json-stable-stringify/test/str.js +46 -0
- data/node_modules/fast-json-stable-stringify/test/to-json.js +22 -0
- data/node_modules/fast-levenshtein/LICENSE.md +25 -0
- data/node_modules/fast-levenshtein/README.md +104 -0
- data/node_modules/fast-levenshtein/levenshtein.js +136 -0
- data/node_modules/fast-levenshtein/package.json +39 -0
- data/node_modules/fastq/LICENSE +13 -0
- data/node_modules/fastq/README.md +309 -0
- data/node_modules/fastq/bench.js +66 -0
- data/node_modules/fastq/example.js +14 -0
- data/node_modules/fastq/example.mjs +11 -0
- data/node_modules/fastq/index.d.ts +37 -0
- data/node_modules/fastq/package.json +52 -0
- data/node_modules/fastq/queue.js +289 -0
- data/node_modules/fastq/test/example.ts +81 -0
- data/node_modules/fastq/test/promise.js +248 -0
- data/node_modules/fastq/test/test.js +566 -0
- data/node_modules/fastq/test/tsconfig.json +11 -0
- data/node_modules/file-entry-cache/LICENSE +22 -0
- data/node_modules/file-entry-cache/README.md +112 -0
- data/node_modules/file-entry-cache/cache.js +291 -0
- data/node_modules/file-entry-cache/changelog.md +163 -0
- data/node_modules/file-entry-cache/package.json +80 -0
- data/node_modules/find-up/index.d.ts +138 -0
- data/node_modules/find-up/index.js +89 -0
- data/node_modules/find-up/license +9 -0
- data/node_modules/find-up/package.json +54 -0
- data/node_modules/find-up/readme.md +151 -0
- data/node_modules/flat-cache/LICENSE +22 -0
- data/node_modules/flat-cache/README.md +75 -0
- data/node_modules/flat-cache/changelog.md +328 -0
- data/node_modules/flat-cache/package.json +86 -0
- data/node_modules/flat-cache/src/cache.js +218 -0
- data/node_modules/flat-cache/src/del.js +13 -0
- data/node_modules/flat-cache/src/utils.js +44 -0
- data/node_modules/flatted/LICENSE +15 -0
- data/node_modules/flatted/README.md +115 -0
- data/node_modules/flatted/cjs/index.js +99 -0
- data/node_modules/flatted/cjs/package.json +1 -0
- data/node_modules/flatted/es.js +2 -0
- data/node_modules/flatted/esm/index.js +94 -0
- data/node_modules/flatted/esm.js +2 -0
- data/node_modules/flatted/index.js +135 -0
- data/node_modules/flatted/min.js +2 -0
- data/node_modules/flatted/package.json +64 -0
- data/node_modules/flatted/php/flatted.php +156 -0
- data/node_modules/flatted/python/__pycache__/flatted.cpython-311.pyc +0 -0
- data/node_modules/flatted/python/flatted.py +149 -0
- data/node_modules/flatted/python/test.py +63 -0
- data/node_modules/flatted/types.d.ts +62 -0
- data/node_modules/for-each/LICENSE +22 -0
- data/node_modules/for-each/README.md +43 -0
- data/node_modules/for-each/index.js +62 -0
- data/node_modules/for-each/package.json +65 -0
- data/node_modules/for-each/test/test.js +182 -0
- data/node_modules/fs.realpath/LICENSE +43 -0
- data/node_modules/fs.realpath/README.md +33 -0
- data/node_modules/fs.realpath/index.js +66 -0
- data/node_modules/fs.realpath/old.js +303 -0
- data/node_modules/fs.realpath/package.json +26 -0
- data/node_modules/function-bind/LICENSE +20 -0
- data/node_modules/function-bind/README.md +48 -0
- data/node_modules/function-bind/implementation.js +52 -0
- data/node_modules/function-bind/index.js +5 -0
- data/node_modules/function-bind/package.json +63 -0
- data/node_modules/function-bind/test/index.js +252 -0
- data/node_modules/function.prototype.name/CHANGELOG.md +123 -0
- data/node_modules/function.prototype.name/LICENSE +21 -0
- data/node_modules/function.prototype.name/README.md +55 -0
- data/node_modules/function.prototype.name/auto.js +3 -0
- data/node_modules/function.prototype.name/helpers/functionsHaveNames.js +5 -0
- data/node_modules/function.prototype.name/implementation.js +72 -0
- data/node_modules/function.prototype.name/index.js +18 -0
- data/node_modules/function.prototype.name/package.json +99 -0
- data/node_modules/function.prototype.name/polyfill.js +7 -0
- data/node_modules/function.prototype.name/shim.js +35 -0
- data/node_modules/function.prototype.name/test/implementation.js +20 -0
- data/node_modules/function.prototype.name/test/index.js +23 -0
- data/node_modules/function.prototype.name/test/shimmed.js +21 -0
- data/node_modules/function.prototype.name/test/tests.js +104 -0
- data/node_modules/function.prototype.name/test/uglified.js +17 -0
- data/node_modules/functions-have-names/CHANGELOG.md +89 -0
- data/node_modules/functions-have-names/LICENSE +21 -0
- data/node_modules/functions-have-names/README.md +40 -0
- data/node_modules/functions-have-names/index.js +31 -0
- data/node_modules/functions-have-names/package.json +55 -0
- data/node_modules/functions-have-names/test/index.js +65 -0
- data/node_modules/get-intrinsic/CHANGELOG.md +117 -0
- data/node_modules/get-intrinsic/LICENSE +21 -0
- data/node_modules/get-intrinsic/README.md +71 -0
- data/node_modules/get-intrinsic/index.js +351 -0
- data/node_modules/get-intrinsic/package.json +93 -0
- data/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- data/node_modules/get-symbol-description/CHANGELOG.md +16 -0
- data/node_modules/get-symbol-description/LICENSE +21 -0
- data/node_modules/get-symbol-description/README.md +43 -0
- data/node_modules/get-symbol-description/getInferredName.js +10 -0
- data/node_modules/get-symbol-description/index.js +43 -0
- data/node_modules/get-symbol-description/package.json +71 -0
- data/node_modules/get-symbol-description/test/index.js +67 -0
- data/node_modules/glob/LICENSE +21 -0
- data/node_modules/glob/README.md +378 -0
- data/node_modules/glob/common.js +238 -0
- data/node_modules/glob/glob.js +790 -0
- data/node_modules/glob/package.json +55 -0
- data/node_modules/glob/sync.js +486 -0
- data/node_modules/glob-parent/LICENSE +15 -0
- data/node_modules/glob-parent/README.md +134 -0
- data/node_modules/glob-parent/index.js +75 -0
- data/node_modules/glob-parent/package.json +54 -0
- data/node_modules/globals/globals.json +1973 -0
- data/node_modules/globals/index.d.ts +6 -0
- data/node_modules/globals/index.js +2 -0
- data/node_modules/globals/license +9 -0
- data/node_modules/globals/package.json +55 -0
- data/node_modules/globals/readme.md +56 -0
- data/node_modules/globalthis/CHANGELOG.md +96 -0
- data/node_modules/globalthis/LICENSE +21 -0
- data/node_modules/globalthis/README.md +70 -0
- data/node_modules/globalthis/auto.js +3 -0
- data/node_modules/globalthis/implementation.browser.js +11 -0
- data/node_modules/globalthis/implementation.js +3 -0
- data/node_modules/globalthis/index.js +19 -0
- data/node_modules/globalthis/package.json +97 -0
- data/node_modules/globalthis/polyfill.js +10 -0
- data/node_modules/globalthis/shim.js +22 -0
- data/node_modules/globalthis/test/implementation.js +11 -0
- data/node_modules/globalthis/test/index.js +11 -0
- data/node_modules/globalthis/test/native.js +26 -0
- data/node_modules/globalthis/test/shimmed.js +29 -0
- data/node_modules/globalthis/test/tests.js +36 -0
- data/node_modules/gopd/CHANGELOG.md +25 -0
- data/node_modules/gopd/LICENSE +21 -0
- data/node_modules/gopd/README.md +40 -0
- data/node_modules/gopd/index.js +16 -0
- data/node_modules/gopd/package.json +71 -0
- data/node_modules/gopd/test/index.js +35 -0
- data/node_modules/graphemer/CHANGELOG.md +30 -0
- data/node_modules/graphemer/LICENSE +18 -0
- data/node_modules/graphemer/README.md +132 -0
- data/node_modules/graphemer/lib/Graphemer.d.ts +41 -0
- data/node_modules/graphemer/lib/Graphemer.d.ts.map +1 -0
- data/node_modules/graphemer/lib/Graphemer.js +11959 -0
- data/node_modules/graphemer/lib/GraphemerHelper.d.ts +32 -0
- data/node_modules/graphemer/lib/GraphemerHelper.d.ts.map +1 -0
- data/node_modules/graphemer/lib/GraphemerHelper.js +169 -0
- data/node_modules/graphemer/lib/GraphemerIterator.d.ts +22 -0
- data/node_modules/graphemer/lib/GraphemerIterator.d.ts.map +1 -0
- data/node_modules/graphemer/lib/GraphemerIterator.js +36 -0
- data/node_modules/graphemer/lib/boundaries.d.ts +35 -0
- data/node_modules/graphemer/lib/boundaries.d.ts.map +1 -0
- data/node_modules/graphemer/lib/boundaries.js +38 -0
- data/node_modules/graphemer/lib/index.d.ts +3 -0
- data/node_modules/graphemer/lib/index.d.ts.map +1 -0
- data/node_modules/graphemer/lib/index.js +7 -0
- data/node_modules/graphemer/package.json +54 -0
- data/node_modules/has/LICENSE-MIT +22 -0
- data/node_modules/has/README.md +18 -0
- data/node_modules/has/package.json +48 -0
- data/node_modules/has/src/index.js +5 -0
- data/node_modules/has/test/index.js +10 -0
- data/node_modules/has-bigints/CHANGELOG.md +60 -0
- data/node_modules/has-bigints/LICENSE +21 -0
- data/node_modules/has-bigints/README.md +39 -0
- data/node_modules/has-bigints/index.js +10 -0
- data/node_modules/has-bigints/package.json +54 -0
- data/node_modules/has-bigints/test/index.js +44 -0
- data/node_modules/has-flag/index.d.ts +39 -0
- data/node_modules/has-flag/index.js +8 -0
- data/node_modules/has-flag/license +9 -0
- data/node_modules/has-flag/package.json +46 -0
- data/node_modules/has-flag/readme.md +89 -0
- data/node_modules/has-property-descriptors/CHANGELOG.md +16 -0
- data/node_modules/has-property-descriptors/LICENSE +21 -0
- data/node_modules/has-property-descriptors/README.md +43 -0
- data/node_modules/has-property-descriptors/index.js +33 -0
- data/node_modules/has-property-descriptors/package.json +70 -0
- data/node_modules/has-property-descriptors/test/index.js +57 -0
- data/node_modules/has-proto/CHANGELOG.md +23 -0
- data/node_modules/has-proto/LICENSE +21 -0
- data/node_modules/has-proto/README.md +38 -0
- data/node_modules/has-proto/index.js +11 -0
- data/node_modules/has-proto/package.json +74 -0
- data/node_modules/has-proto/test/index.js +19 -0
- data/node_modules/has-symbols/CHANGELOG.md +75 -0
- data/node_modules/has-symbols/LICENSE +21 -0
- data/node_modules/has-symbols/README.md +46 -0
- data/node_modules/has-symbols/index.js +13 -0
- data/node_modules/has-symbols/package.json +101 -0
- data/node_modules/has-symbols/shams.js +42 -0
- data/node_modules/has-symbols/test/index.js +22 -0
- data/node_modules/has-symbols/test/shams/core-js.js +28 -0
- data/node_modules/has-symbols/test/shams/get-own-property-symbols.js +28 -0
- data/node_modules/has-symbols/test/tests.js +56 -0
- data/node_modules/has-tostringtag/CHANGELOG.md +20 -0
- data/node_modules/has-tostringtag/LICENSE +21 -0
- data/node_modules/has-tostringtag/README.md +46 -0
- data/node_modules/has-tostringtag/index.js +7 -0
- data/node_modules/has-tostringtag/package.json +84 -0
- data/node_modules/has-tostringtag/shams.js +7 -0
- data/node_modules/has-tostringtag/test/index.js +21 -0
- data/node_modules/has-tostringtag/test/shams/core-js.js +28 -0
- data/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +28 -0
- data/node_modules/has-tostringtag/test/tests.js +14 -0
- data/node_modules/ignore/LICENSE-MIT +21 -0
- data/node_modules/ignore/README.md +412 -0
- data/node_modules/ignore/index.d.ts +61 -0
- data/node_modules/ignore/index.js +618 -0
- data/node_modules/ignore/legacy.js +539 -0
- data/node_modules/ignore/package.json +73 -0
- data/node_modules/import-fresh/index.d.ts +30 -0
- data/node_modules/import-fresh/index.js +33 -0
- data/node_modules/import-fresh/license +9 -0
- data/node_modules/import-fresh/package.json +43 -0
- data/node_modules/import-fresh/readme.md +48 -0
- data/node_modules/imurmurhash/README.md +122 -0
- data/node_modules/imurmurhash/imurmurhash.js +138 -0
- data/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- data/node_modules/imurmurhash/package.json +40 -0
- data/node_modules/inflight/LICENSE +15 -0
- data/node_modules/inflight/README.md +37 -0
- data/node_modules/inflight/inflight.js +54 -0
- data/node_modules/inflight/package.json +29 -0
- data/node_modules/inherits/LICENSE +16 -0
- data/node_modules/inherits/README.md +42 -0
- data/node_modules/inherits/inherits.js +9 -0
- data/node_modules/inherits/inherits_browser.js +27 -0
- data/node_modules/inherits/package.json +29 -0
- data/node_modules/internal-slot/CHANGELOG.md +87 -0
- data/node_modules/internal-slot/LICENSE +21 -0
- data/node_modules/internal-slot/README.md +58 -0
- data/node_modules/internal-slot/index.js +62 -0
- data/node_modules/internal-slot/package.json +71 -0
- data/node_modules/internal-slot/test/index.js +121 -0
- data/node_modules/is-array-buffer/CHANGELOG.md +58 -0
- data/node_modules/is-array-buffer/LICENSE +21 -0
- data/node_modules/is-array-buffer/README.md +56 -0
- data/node_modules/is-array-buffer/index.js +43 -0
- data/node_modules/is-array-buffer/package.json +78 -0
- data/node_modules/is-array-buffer/test/index.js +43 -0
- data/node_modules/is-bigint/CHANGELOG.md +71 -0
- data/node_modules/is-bigint/LICENSE +21 -0
- data/node_modules/is-bigint/README.md +44 -0
- data/node_modules/is-bigint/index.js +38 -0
- data/node_modules/is-bigint/package.json +58 -0
- data/node_modules/is-bigint/test/index.js +81 -0
- data/node_modules/is-boolean-object/CHANGELOG.md +107 -0
- data/node_modules/is-boolean-object/LICENSE +22 -0
- data/node_modules/is-boolean-object/README.md +57 -0
- data/node_modules/is-boolean-object/index.js +26 -0
- data/node_modules/is-boolean-object/package.json +87 -0
- data/node_modules/is-boolean-object/test/index.js +48 -0
- data/node_modules/is-callable/CHANGELOG.md +158 -0
- data/node_modules/is-callable/LICENSE +22 -0
- data/node_modules/is-callable/README.md +83 -0
- data/node_modules/is-callable/index.js +101 -0
- data/node_modules/is-callable/package.json +106 -0
- data/node_modules/is-callable/test/index.js +244 -0
- data/node_modules/is-core-module/CHANGELOG.md +173 -0
- data/node_modules/is-core-module/LICENSE +20 -0
- data/node_modules/is-core-module/README.md +40 -0
- data/node_modules/is-core-module/core.json +158 -0
- data/node_modules/is-core-module/index.js +69 -0
- data/node_modules/is-core-module/package.json +73 -0
- data/node_modules/is-core-module/test/index.js +133 -0
- data/node_modules/is-date-object/CHANGELOG.md +114 -0
- data/node_modules/is-date-object/LICENSE +22 -0
- data/node_modules/is-date-object/README.md +52 -0
- data/node_modules/is-date-object/index.js +22 -0
- data/node_modules/is-date-object/package.json +79 -0
- data/node_modules/is-date-object/test/index.js +36 -0
- data/node_modules/is-extglob/LICENSE +21 -0
- data/node_modules/is-extglob/README.md +107 -0
- data/node_modules/is-extglob/index.js +20 -0
- data/node_modules/is-extglob/package.json +69 -0
- data/node_modules/is-glob/LICENSE +21 -0
- data/node_modules/is-glob/README.md +206 -0
- data/node_modules/is-glob/index.js +150 -0
- data/node_modules/is-glob/package.json +81 -0
- data/node_modules/is-negative-zero/CHANGELOG.md +136 -0
- data/node_modules/is-negative-zero/LICENSE +20 -0
- data/node_modules/is-negative-zero/README.md +54 -0
- data/node_modules/is-negative-zero/index.js +6 -0
- data/node_modules/is-negative-zero/package.json +79 -0
- data/node_modules/is-negative-zero/test/index.js +28 -0
- data/node_modules/is-number-object/CHANGELOG.md +125 -0
- data/node_modules/is-number-object/LICENSE +22 -0
- data/node_modules/is-number-object/README.md +55 -0
- data/node_modules/is-number-object/index.js +24 -0
- data/node_modules/is-number-object/package.json +85 -0
- data/node_modules/is-number-object/test/index.js +38 -0
- data/node_modules/is-path-inside/index.d.ts +27 -0
- data/node_modules/is-path-inside/index.js +12 -0
- data/node_modules/is-path-inside/license +9 -0
- data/node_modules/is-path-inside/package.json +36 -0
- data/node_modules/is-path-inside/readme.md +63 -0
- data/node_modules/is-regex/CHANGELOG.md +197 -0
- data/node_modules/is-regex/LICENSE +20 -0
- data/node_modules/is-regex/README.md +52 -0
- data/node_modules/is-regex/index.js +58 -0
- data/node_modules/is-regex/package.json +86 -0
- data/node_modules/is-regex/test/index.js +104 -0
- data/node_modules/is-shared-array-buffer/CHANGELOG.md +44 -0
- data/node_modules/is-shared-array-buffer/LICENSE +21 -0
- data/node_modules/is-shared-array-buffer/README.md +58 -0
- data/node_modules/is-shared-array-buffer/index.js +21 -0
- data/node_modules/is-shared-array-buffer/package.json +70 -0
- data/node_modules/is-shared-array-buffer/test/index.js +27 -0
- data/node_modules/is-string/CHANGELOG.md +114 -0
- data/node_modules/is-string/LICENSE +22 -0
- data/node_modules/is-string/README.md +56 -0
- data/node_modules/is-string/index.js +24 -0
- data/node_modules/is-string/package.json +81 -0
- data/node_modules/is-string/test/index.js +39 -0
- data/node_modules/is-symbol/CHANGELOG.md +113 -0
- data/node_modules/is-symbol/LICENSE +22 -0
- data/node_modules/is-symbol/README.md +45 -0
- data/node_modules/is-symbol/index.js +35 -0
- data/node_modules/is-symbol/package.json +77 -0
- data/node_modules/is-symbol/test/index.js +92 -0
- data/node_modules/is-typed-array/CHANGELOG.md +134 -0
- data/node_modules/is-typed-array/LICENSE +22 -0
- data/node_modules/is-typed-array/README.md +70 -0
- data/node_modules/is-typed-array/index.js +7 -0
- data/node_modules/is-typed-array/package.json +116 -0
- data/node_modules/is-typed-array/test/index.js +103 -0
- data/node_modules/is-weakref/CHANGELOG.md +54 -0
- data/node_modules/is-weakref/LICENSE +21 -0
- data/node_modules/is-weakref/README.md +52 -0
- data/node_modules/is-weakref/index.js +21 -0
- data/node_modules/is-weakref/package.json +63 -0
- data/node_modules/is-weakref/test/index.js +26 -0
- data/node_modules/isarray/LICENSE +21 -0
- data/node_modules/isarray/README.md +38 -0
- data/node_modules/isarray/index.js +5 -0
- data/node_modules/isarray/package.json +48 -0
- data/node_modules/isexe/LICENSE +15 -0
- data/node_modules/isexe/README.md +51 -0
- data/node_modules/isexe/index.js +57 -0
- data/node_modules/isexe/mode.js +41 -0
- data/node_modules/isexe/package.json +31 -0
- data/node_modules/isexe/test/basic.js +221 -0
- data/node_modules/isexe/windows.js +42 -0
- data/node_modules/js-yaml/CHANGELOG.md +616 -0
- data/node_modules/js-yaml/LICENSE +21 -0
- data/node_modules/js-yaml/README.md +246 -0
- data/node_modules/js-yaml/bin/js-yaml.js +126 -0
- data/node_modules/js-yaml/dist/js-yaml.js +3874 -0
- data/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- data/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
- data/node_modules/js-yaml/index.js +47 -0
- data/node_modules/js-yaml/lib/common.js +59 -0
- data/node_modules/js-yaml/lib/dumper.js +965 -0
- data/node_modules/js-yaml/lib/exception.js +55 -0
- data/node_modules/js-yaml/lib/loader.js +1727 -0
- data/node_modules/js-yaml/lib/schema/core.js +11 -0
- data/node_modules/js-yaml/lib/schema/default.js +22 -0
- data/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
- data/node_modules/js-yaml/lib/schema/json.js +19 -0
- data/node_modules/js-yaml/lib/schema.js +121 -0
- data/node_modules/js-yaml/lib/snippet.js +101 -0
- data/node_modules/js-yaml/lib/type/binary.js +125 -0
- data/node_modules/js-yaml/lib/type/bool.js +35 -0
- data/node_modules/js-yaml/lib/type/float.js +97 -0
- data/node_modules/js-yaml/lib/type/int.js +156 -0
- data/node_modules/js-yaml/lib/type/map.js +8 -0
- data/node_modules/js-yaml/lib/type/merge.js +12 -0
- data/node_modules/js-yaml/lib/type/null.js +35 -0
- data/node_modules/js-yaml/lib/type/omap.js +44 -0
- data/node_modules/js-yaml/lib/type/pairs.js +53 -0
- data/node_modules/js-yaml/lib/type/seq.js +8 -0
- data/node_modules/js-yaml/lib/type/set.js +29 -0
- data/node_modules/js-yaml/lib/type/str.js +8 -0
- data/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- data/node_modules/js-yaml/lib/type.js +66 -0
- data/node_modules/js-yaml/package.json +66 -0
- data/node_modules/json-buffer/LICENSE +22 -0
- data/node_modules/json-buffer/README.md +24 -0
- data/node_modules/json-buffer/index.js +58 -0
- data/node_modules/json-buffer/package.json +34 -0
- data/node_modules/json-buffer/test/index.js +63 -0
- data/node_modules/json-schema-traverse/LICENSE +21 -0
- data/node_modules/json-schema-traverse/README.md +83 -0
- data/node_modules/json-schema-traverse/index.js +89 -0
- data/node_modules/json-schema-traverse/package.json +43 -0
- data/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- data/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- data/node_modules/json-stable-stringify-without-jsonify/LICENSE +18 -0
- data/node_modules/json-stable-stringify-without-jsonify/example/key_cmp.js +7 -0
- data/node_modules/json-stable-stringify-without-jsonify/example/nested.js +3 -0
- data/node_modules/json-stable-stringify-without-jsonify/example/str.js +3 -0
- data/node_modules/json-stable-stringify-without-jsonify/example/value_cmp.js +7 -0
- data/node_modules/json-stable-stringify-without-jsonify/index.js +82 -0
- data/node_modules/json-stable-stringify-without-jsonify/package.json +43 -0
- data/node_modules/json-stable-stringify-without-jsonify/readme.markdown +132 -0
- data/node_modules/json-stable-stringify-without-jsonify/test/cmp.js +11 -0
- data/node_modules/json-stable-stringify-without-jsonify/test/nested.js +42 -0
- data/node_modules/json-stable-stringify-without-jsonify/test/replacer.js +74 -0
- data/node_modules/json-stable-stringify-without-jsonify/test/space.js +59 -0
- data/node_modules/json-stable-stringify-without-jsonify/test/str.js +32 -0
- data/node_modules/json-stable-stringify-without-jsonify/test/to-json.js +20 -0
- data/node_modules/json5/LICENSE.md +23 -0
- data/node_modules/json5/README.md +234 -0
- data/node_modules/json5/dist/index.js +1 -0
- data/node_modules/json5/lib/cli.js +2 -0
- data/node_modules/json5/lib/index.js +1 -0
- data/node_modules/json5/lib/parse.js +1 -0
- data/node_modules/json5/lib/register.js +1 -0
- data/node_modules/json5/lib/require.js +1 -0
- data/node_modules/json5/lib/stringify.js +1 -0
- data/node_modules/json5/lib/unicode.js +1 -0
- data/node_modules/json5/lib/util.js +1 -0
- data/node_modules/json5/package.json +76 -0
- data/node_modules/jsonc-eslint-parser/LICENSE +21 -0
- data/node_modules/jsonc-eslint-parser/README.md +96 -0
- data/node_modules/jsonc-eslint-parser/lib/index.d.ts +11 -0
- data/node_modules/jsonc-eslint-parser/lib/index.js +44 -0
- data/node_modules/jsonc-eslint-parser/lib/meta.d.ts +2 -0
- data/node_modules/jsonc-eslint-parser/lib/meta.js +5 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/ast.d.ts +125 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/ast.js +2 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/convert.d.ts +15 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/convert.js +170 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/errors.d.ts +17 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/errors.js +92 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/extend-parser.d.ts +3 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/extend-parser.js +117 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/modules/acorn.d.ts +2 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/modules/acorn.js +74 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/modules/espree.d.ts +8 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/modules/espree.js +59 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/modules/require-utils.d.ts +13 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/modules/require-utils.js +80 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/parser.d.ts +9 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/parser.js +201 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/syntax-context.d.ts +27 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/syntax-context.js +2 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/token-store.d.ts +21 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/token-store.js +48 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/traverse.d.ts +11 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/traverse.js +57 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/utils.d.ts +5 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/utils.js +8 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/validate.d.ts +8 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/validate.js +405 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/visitor-keys.d.ts +2 -0
- data/node_modules/jsonc-eslint-parser/lib/parser/visitor-keys.js +51 -0
- data/node_modules/jsonc-eslint-parser/lib/types.d.ts +11 -0
- data/node_modules/jsonc-eslint-parser/lib/types.js +2 -0
- data/node_modules/jsonc-eslint-parser/lib/utils/ast.d.ts +19 -0
- data/node_modules/jsonc-eslint-parser/lib/utils/ast.js +128 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/LICENSE +15 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/README.md +637 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/bin/semver.js +197 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/classes/comparator.js +141 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/classes/index.js +5 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/classes/range.js +539 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/classes/semver.js +302 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/clean.js +6 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/cmp.js +52 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/coerce.js +52 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/compare-build.js +7 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/compare-loose.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/compare.js +5 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/diff.js +65 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/eq.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/gt.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/gte.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/inc.js +19 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/lt.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/lte.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/major.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/minor.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/neq.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/parse.js +16 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/patch.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/prerelease.js +6 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/rcompare.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/rsort.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/satisfies.js +10 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/sort.js +3 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/functions/valid.js +6 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/index.js +89 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/internal/constants.js +35 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/internal/debug.js +9 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/internal/identifiers.js +23 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/internal/parse-options.js +15 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/internal/re.js +212 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/package.json +87 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/preload.js +2 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/range.bnf +16 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/gtr.js +4 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/intersects.js +7 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/ltr.js +4 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/max-satisfying.js +25 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/min-satisfying.js +24 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/min-version.js +61 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/outside.js +80 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/simplify.js +47 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/subset.js +247 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/to-comparators.js +8 -0
- data/node_modules/jsonc-eslint-parser/node_modules/semver/ranges/valid.js +11 -0
- data/node_modules/jsonc-eslint-parser/package.json +92 -0
- data/node_modules/keyv/README.md +429 -0
- data/node_modules/keyv/package.json +57 -0
- data/node_modules/keyv/src/index.d.ts +112 -0
- data/node_modules/keyv/src/index.js +264 -0
- data/node_modules/levn/LICENSE +22 -0
- data/node_modules/levn/README.md +196 -0
- data/node_modules/levn/lib/cast.js +327 -0
- data/node_modules/levn/lib/index.js +22 -0
- data/node_modules/levn/lib/parse-string.js +113 -0
- data/node_modules/levn/package.json +46 -0
- data/node_modules/locate-path/index.d.ts +83 -0
- data/node_modules/locate-path/index.js +68 -0
- data/node_modules/locate-path/license +9 -0
- data/node_modules/locate-path/package.json +46 -0
- data/node_modules/locate-path/readme.md +125 -0
- data/node_modules/lodash.merge/LICENSE +47 -0
- data/node_modules/lodash.merge/README.md +18 -0
- data/node_modules/lodash.merge/index.js +1977 -0
- data/node_modules/lodash.merge/package.json +16 -0
- data/node_modules/lru-cache/LICENSE +15 -0
- data/node_modules/lru-cache/README.md +166 -0
- data/node_modules/lru-cache/index.js +334 -0
- data/node_modules/lru-cache/package.json +34 -0
- data/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/minimatch/README.md +230 -0
- data/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/minimatch/package.json +33 -0
- data/node_modules/minimist/CHANGELOG.md +298 -0
- data/node_modules/minimist/LICENSE +18 -0
- data/node_modules/minimist/README.md +121 -0
- data/node_modules/minimist/example/parse.js +4 -0
- data/node_modules/minimist/index.js +263 -0
- data/node_modules/minimist/package.json +75 -0
- data/node_modules/minimist/test/all_bool.js +34 -0
- data/node_modules/minimist/test/bool.js +177 -0
- data/node_modules/minimist/test/dash.js +43 -0
- data/node_modules/minimist/test/default_bool.js +37 -0
- data/node_modules/minimist/test/dotted.js +24 -0
- data/node_modules/minimist/test/kv_short.js +32 -0
- data/node_modules/minimist/test/long.js +33 -0
- data/node_modules/minimist/test/num.js +38 -0
- data/node_modules/minimist/test/parse.js +209 -0
- data/node_modules/minimist/test/parse_modified.js +11 -0
- data/node_modules/minimist/test/proto.js +64 -0
- data/node_modules/minimist/test/short.js +69 -0
- data/node_modules/minimist/test/stop_early.js +17 -0
- data/node_modules/minimist/test/unknown.js +104 -0
- data/node_modules/minimist/test/whitespace.js +10 -0
- data/node_modules/ms/index.js +162 -0
- data/node_modules/ms/license.md +21 -0
- data/node_modules/ms/package.json +37 -0
- data/node_modules/ms/readme.md +60 -0
- data/node_modules/natural-compare/README.md +125 -0
- data/node_modules/natural-compare/index.js +57 -0
- data/node_modules/natural-compare/package.json +42 -0
- data/node_modules/object-inspect/CHANGELOG.md +370 -0
- data/node_modules/object-inspect/LICENSE +21 -0
- data/node_modules/object-inspect/example/all.js +23 -0
- data/node_modules/object-inspect/example/circular.js +6 -0
- data/node_modules/object-inspect/example/fn.js +5 -0
- data/node_modules/object-inspect/example/inspect.js +10 -0
- data/node_modules/object-inspect/index.js +516 -0
- data/node_modules/object-inspect/package-support.json +20 -0
- data/node_modules/object-inspect/package.json +97 -0
- data/node_modules/object-inspect/readme.markdown +86 -0
- data/node_modules/object-inspect/test/bigint.js +58 -0
- data/node_modules/object-inspect/test/browser/dom.js +15 -0
- data/node_modules/object-inspect/test/circular.js +16 -0
- data/node_modules/object-inspect/test/deep.js +12 -0
- data/node_modules/object-inspect/test/element.js +53 -0
- data/node_modules/object-inspect/test/err.js +48 -0
- data/node_modules/object-inspect/test/fakes.js +29 -0
- data/node_modules/object-inspect/test/fn.js +76 -0
- data/node_modules/object-inspect/test/has.js +15 -0
- data/node_modules/object-inspect/test/holes.js +15 -0
- data/node_modules/object-inspect/test/indent-option.js +271 -0
- data/node_modules/object-inspect/test/inspect.js +139 -0
- data/node_modules/object-inspect/test/lowbyte.js +12 -0
- data/node_modules/object-inspect/test/number.js +58 -0
- data/node_modules/object-inspect/test/quoteStyle.js +17 -0
- data/node_modules/object-inspect/test/toStringTag.js +40 -0
- data/node_modules/object-inspect/test/undef.js +12 -0
- data/node_modules/object-inspect/test/values.js +211 -0
- data/node_modules/object-inspect/test-core-js.js +26 -0
- data/node_modules/object-inspect/util.inspect.js +1 -0
- data/node_modules/object-keys/CHANGELOG.md +232 -0
- data/node_modules/object-keys/LICENSE +21 -0
- data/node_modules/object-keys/README.md +76 -0
- data/node_modules/object-keys/implementation.js +122 -0
- data/node_modules/object-keys/index.js +32 -0
- data/node_modules/object-keys/isArguments.js +17 -0
- data/node_modules/object-keys/package.json +88 -0
- data/node_modules/object-keys/test/index.js +5 -0
- data/node_modules/object.assign/CHANGELOG.md +225 -0
- data/node_modules/object.assign/LICENSE +21 -0
- data/node_modules/object.assign/README.md +136 -0
- data/node_modules/object.assign/auto.js +3 -0
- data/node_modules/object.assign/dist/browser.js +944 -0
- data/node_modules/object.assign/hasSymbols.js +43 -0
- data/node_modules/object.assign/implementation.js +46 -0
- data/node_modules/object.assign/index.js +22 -0
- data/node_modules/object.assign/package.json +96 -0
- data/node_modules/object.assign/polyfill.js +55 -0
- data/node_modules/object.assign/shim.js +14 -0
- data/node_modules/object.assign/test/implementation.js +19 -0
- data/node_modules/object.assign/test/index.js +17 -0
- data/node_modules/object.assign/test/native.js +49 -0
- data/node_modules/object.assign/test/ses-compat.js +12 -0
- data/node_modules/object.assign/test/shimmed.js +52 -0
- data/node_modules/object.assign/test/tests.js +232 -0
- data/node_modules/object.assign/test.html +18458 -0
- data/node_modules/object.entries/CHANGELOG.md +184 -0
- data/node_modules/object.entries/LICENSE +22 -0
- data/node_modules/object.entries/README.md +58 -0
- data/node_modules/object.entries/auto.js +3 -0
- data/node_modules/object.entries/implementation.js +17 -0
- data/node_modules/object.entries/index.js +18 -0
- data/node_modules/object.entries/package.json +94 -0
- data/node_modules/object.entries/polyfill.js +7 -0
- data/node_modules/object.entries/shim.js +14 -0
- data/node_modules/object.entries/test/implementation.js +20 -0
- data/node_modules/object.entries/test/index.js +17 -0
- data/node_modules/object.entries/test/shimmed.js +35 -0
- data/node_modules/object.entries/test/tests.js +82 -0
- data/node_modules/object.fromentries/CHANGELOG.md +83 -0
- data/node_modules/object.fromentries/LICENSE +21 -0
- data/node_modules/object.fromentries/README.md +50 -0
- data/node_modules/object.fromentries/auto.js +3 -0
- data/node_modules/object.fromentries/implementation.js +18 -0
- data/node_modules/object.fromentries/index.js +18 -0
- data/node_modules/object.fromentries/package.json +90 -0
- data/node_modules/object.fromentries/polyfill.js +7 -0
- data/node_modules/object.fromentries/shim.js +14 -0
- data/node_modules/object.fromentries/test/implementation.js +20 -0
- data/node_modules/object.fromentries/test/index.js +17 -0
- data/node_modules/object.fromentries/test/shimmed.js +44 -0
- data/node_modules/object.fromentries/test/tests.js +17 -0
- data/node_modules/object.groupby/CHANGELOG.md +24 -0
- data/node_modules/object.groupby/LICENSE +21 -0
- data/node_modules/object.groupby/README.md +79 -0
- data/node_modules/object.groupby/aos/AddValueToKeyedGroup.js +26 -0
- data/node_modules/object.groupby/aos/GroupBy.js +77 -0
- data/node_modules/object.groupby/auto.js +3 -0
- data/node_modules/object.groupby/implementation.js +20 -0
- data/node_modules/object.groupby/index.js +19 -0
- data/node_modules/object.groupby/package.json +83 -0
- data/node_modules/object.groupby/polyfill.js +7 -0
- data/node_modules/object.groupby/shim.js +17 -0
- data/node_modules/object.groupby/test/implementation.js +13 -0
- data/node_modules/object.groupby/test/index.js +12 -0
- data/node_modules/object.groupby/test/shimmed.js +35 -0
- data/node_modules/object.groupby/test/tests.js +62 -0
- data/node_modules/object.values/CHANGELOG.md +179 -0
- data/node_modules/object.values/LICENSE +22 -0
- data/node_modules/object.values/README.md +58 -0
- data/node_modules/object.values/auto.js +3 -0
- data/node_modules/object.values/implementation.js +18 -0
- data/node_modules/object.values/index.js +18 -0
- data/node_modules/object.values/package.json +98 -0
- data/node_modules/object.values/polyfill.js +7 -0
- data/node_modules/object.values/shim.js +14 -0
- data/node_modules/object.values/test/implementation.js +20 -0
- data/node_modules/object.values/test/index.js +17 -0
- data/node_modules/object.values/test/shimmed.js +35 -0
- data/node_modules/object.values/test/tests.js +82 -0
- data/node_modules/once/LICENSE +15 -0
- data/node_modules/once/README.md +79 -0
- data/node_modules/once/once.js +42 -0
- data/node_modules/once/package.json +33 -0
- data/node_modules/optionator/CHANGELOG.md +59 -0
- data/node_modules/optionator/LICENSE +22 -0
- data/node_modules/optionator/README.md +238 -0
- data/node_modules/optionator/lib/help.js +260 -0
- data/node_modules/optionator/lib/index.js +465 -0
- data/node_modules/optionator/lib/util.js +54 -0
- data/node_modules/optionator/package.json +43 -0
- data/node_modules/p-limit/index.d.ts +42 -0
- data/node_modules/p-limit/index.js +71 -0
- data/node_modules/p-limit/license +9 -0
- data/node_modules/p-limit/package.json +52 -0
- data/node_modules/p-limit/readme.md +101 -0
- data/node_modules/p-locate/index.d.ts +53 -0
- data/node_modules/p-locate/index.js +50 -0
- data/node_modules/p-locate/license +9 -0
- data/node_modules/p-locate/package.json +54 -0
- data/node_modules/p-locate/readme.md +93 -0
- data/node_modules/parent-module/index.js +37 -0
- data/node_modules/parent-module/license +9 -0
- data/node_modules/parent-module/package.json +46 -0
- data/node_modules/parent-module/readme.md +67 -0
- data/node_modules/path-exists/index.d.ts +28 -0
- data/node_modules/path-exists/index.js +23 -0
- data/node_modules/path-exists/license +9 -0
- data/node_modules/path-exists/package.json +39 -0
- data/node_modules/path-exists/readme.md +52 -0
- data/node_modules/path-is-absolute/index.js +20 -0
- data/node_modules/path-is-absolute/license +21 -0
- data/node_modules/path-is-absolute/package.json +43 -0
- data/node_modules/path-is-absolute/readme.md +59 -0
- data/node_modules/path-key/index.d.ts +40 -0
- data/node_modules/path-key/index.js +16 -0
- data/node_modules/path-key/license +9 -0
- data/node_modules/path-key/package.json +39 -0
- data/node_modules/path-key/readme.md +61 -0
- data/node_modules/path-parse/LICENSE +21 -0
- data/node_modules/path-parse/README.md +42 -0
- data/node_modules/path-parse/index.js +75 -0
- data/node_modules/path-parse/package.json +33 -0
- data/node_modules/prelude-ls/CHANGELOG.md +108 -0
- data/node_modules/prelude-ls/LICENSE +22 -0
- data/node_modules/prelude-ls/README.md +15 -0
- data/node_modules/prelude-ls/lib/Func.js +69 -0
- data/node_modules/prelude-ls/lib/List.js +716 -0
- data/node_modules/prelude-ls/lib/Num.js +130 -0
- data/node_modules/prelude-ls/lib/Obj.js +154 -0
- data/node_modules/prelude-ls/lib/Str.js +92 -0
- data/node_modules/prelude-ls/lib/index.js +178 -0
- data/node_modules/prelude-ls/package.json +46 -0
- data/node_modules/prettier/LICENSE +5195 -0
- data/node_modules/prettier/README.md +109 -0
- data/node_modules/prettier/bin/prettier.cjs +67 -0
- data/node_modules/prettier/doc.d.ts +243 -0
- data/node_modules/prettier/doc.js +1340 -0
- data/node_modules/prettier/doc.mjs +1312 -0
- data/node_modules/prettier/index.cjs +655 -0
- data/node_modules/prettier/index.d.ts +930 -0
- data/node_modules/prettier/index.mjs +21563 -0
- data/node_modules/prettier/internal/cli.mjs +7282 -0
- data/node_modules/prettier/internal/internal.mjs +6555 -0
- data/node_modules/prettier/package.json +195 -0
- data/node_modules/prettier/plugins/acorn.d.ts +6 -0
- data/node_modules/prettier/plugins/acorn.js +13 -0
- data/node_modules/prettier/plugins/acorn.mjs +13 -0
- data/node_modules/prettier/plugins/angular.d.ts +8 -0
- data/node_modules/prettier/plugins/angular.js +2 -0
- data/node_modules/prettier/plugins/angular.mjs +2 -0
- data/node_modules/prettier/plugins/babel.d.ts +17 -0
- data/node_modules/prettier/plugins/babel.js +16 -0
- data/node_modules/prettier/plugins/babel.mjs +16 -0
- data/node_modules/prettier/plugins/estree.d.ts +1 -0
- data/node_modules/prettier/plugins/estree.js +35 -0
- data/node_modules/prettier/plugins/estree.mjs +35 -0
- data/node_modules/prettier/plugins/flow.d.ts +5 -0
- data/node_modules/prettier/plugins/flow.js +21 -0
- data/node_modules/prettier/plugins/flow.mjs +21 -0
- data/node_modules/prettier/plugins/glimmer.d.ts +5 -0
- data/node_modules/prettier/plugins/glimmer.js +30 -0
- data/node_modules/prettier/plugins/glimmer.mjs +30 -0
- data/node_modules/prettier/plugins/graphql.d.ts +5 -0
- data/node_modules/prettier/plugins/graphql.js +29 -0
- data/node_modules/prettier/plugins/graphql.mjs +29 -0
- data/node_modules/prettier/plugins/html.d.ts +8 -0
- data/node_modules/prettier/plugins/html.js +19 -0
- data/node_modules/prettier/plugins/html.mjs +19 -0
- data/node_modules/prettier/plugins/markdown.d.ts +7 -0
- data/node_modules/prettier/plugins/markdown.js +59 -0
- data/node_modules/prettier/plugins/markdown.mjs +59 -0
- data/node_modules/prettier/plugins/meriyah.d.ts +5 -0
- data/node_modules/prettier/plugins/meriyah.js +5 -0
- data/node_modules/prettier/plugins/meriyah.mjs +5 -0
- data/node_modules/prettier/plugins/postcss.d.ts +7 -0
- data/node_modules/prettier/plugins/postcss.js +52 -0
- data/node_modules/prettier/plugins/postcss.mjs +52 -0
- data/node_modules/prettier/plugins/typescript.d.ts +5 -0
- data/node_modules/prettier/plugins/typescript.js +25 -0
- data/node_modules/prettier/plugins/typescript.mjs +25 -0
- data/node_modules/prettier/plugins/yaml.d.ts +5 -0
- data/node_modules/prettier/plugins/yaml.js +161 -0
- data/node_modules/prettier/plugins/yaml.mjs +161 -0
- data/node_modules/prettier/standalone.d.ts +33 -0
- data/node_modules/prettier/standalone.js +37 -0
- data/node_modules/prettier/standalone.mjs +37 -0
- data/node_modules/punycode/LICENSE-MIT.txt +20 -0
- data/node_modules/punycode/README.md +126 -0
- data/node_modules/punycode/package.json +58 -0
- data/node_modules/punycode/punycode.es6.js +444 -0
- data/node_modules/punycode/punycode.js +443 -0
- data/node_modules/queue-microtask/LICENSE +20 -0
- data/node_modules/queue-microtask/README.md +90 -0
- data/node_modules/queue-microtask/index.d.ts +2 -0
- data/node_modules/queue-microtask/index.js +9 -0
- data/node_modules/queue-microtask/package.json +55 -0
- data/node_modules/regexp.prototype.flags/CHANGELOG.md +211 -0
- data/node_modules/regexp.prototype.flags/LICENSE +22 -0
- data/node_modules/regexp.prototype.flags/README.md +54 -0
- data/node_modules/regexp.prototype.flags/auto.js +3 -0
- data/node_modules/regexp.prototype.flags/implementation.js +39 -0
- data/node_modules/regexp.prototype.flags/index.js +18 -0
- data/node_modules/regexp.prototype.flags/package.json +101 -0
- data/node_modules/regexp.prototype.flags/polyfill.js +36 -0
- data/node_modules/regexp.prototype.flags/shim.js +26 -0
- data/node_modules/regexp.prototype.flags/test/implementation.js +20 -0
- data/node_modules/regexp.prototype.flags/test/index.js +17 -0
- data/node_modules/regexp.prototype.flags/test/shimmed.js +48 -0
- data/node_modules/regexp.prototype.flags/test/tests.js +143 -0
- data/node_modules/resolve/LICENSE +21 -0
- data/node_modules/resolve/SECURITY.md +3 -0
- data/node_modules/resolve/async.js +3 -0
- data/node_modules/resolve/bin/resolve +50 -0
- data/node_modules/resolve/example/async.js +5 -0
- data/node_modules/resolve/example/sync.js +3 -0
- data/node_modules/resolve/index.js +6 -0
- data/node_modules/resolve/lib/async.js +329 -0
- data/node_modules/resolve/lib/caller.js +8 -0
- data/node_modules/resolve/lib/core.js +12 -0
- data/node_modules/resolve/lib/core.json +158 -0
- data/node_modules/resolve/lib/homedir.js +24 -0
- data/node_modules/resolve/lib/is-core.js +5 -0
- data/node_modules/resolve/lib/node-modules-paths.js +42 -0
- data/node_modules/resolve/lib/normalize-options.js +10 -0
- data/node_modules/resolve/lib/sync.js +208 -0
- data/node_modules/resolve/package.json +71 -0
- data/node_modules/resolve/readme.markdown +301 -0
- data/node_modules/resolve/sync.js +3 -0
- data/node_modules/resolve/test/core.js +88 -0
- data/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- data/node_modules/resolve/test/dotdot/index.js +1 -0
- data/node_modules/resolve/test/dotdot.js +29 -0
- data/node_modules/resolve/test/faulty_basedir.js +29 -0
- data/node_modules/resolve/test/filter.js +34 -0
- data/node_modules/resolve/test/filter_sync.js +33 -0
- data/node_modules/resolve/test/home_paths.js +127 -0
- data/node_modules/resolve/test/home_paths_sync.js +114 -0
- data/node_modules/resolve/test/mock.js +315 -0
- data/node_modules/resolve/test/mock_sync.js +214 -0
- data/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- data/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- data/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- data/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- data/node_modules/resolve/test/module_dir.js +56 -0
- data/node_modules/resolve/test/node-modules-paths.js +143 -0
- data/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- data/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- data/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- data/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- data/node_modules/resolve/test/node_path.js +70 -0
- data/node_modules/resolve/test/nonstring.js +9 -0
- data/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- data/node_modules/resolve/test/pathfilter.js +75 -0
- data/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- data/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- data/node_modules/resolve/test/precedence/aaa.js +1 -0
- data/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- data/node_modules/resolve/test/precedence/bbb.js +1 -0
- data/node_modules/resolve/test/precedence.js +23 -0
- data/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/node_modules/resolve/test/resolver/baz/package.json +4 -0
- data/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- data/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- data/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
- data/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
- data/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
- data/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
- data/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
- data/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- data/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- data/node_modules/resolve/test/resolver/foo.js +1 -0
- data/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- data/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- data/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
- data/node_modules/resolve/test/resolver/malformed_package_json/index.js +0 -0
- data/node_modules/resolve/test/resolver/malformed_package_json/package.json +1 -0
- data/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/node_modules/resolve/test/resolver/mug.js +0 -0
- data/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
- data/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
- data/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- data/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
- data/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
- data/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- data/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
- data/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
- data/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
- data/node_modules/resolve/test/resolver.js +595 -0
- data/node_modules/resolve/test/resolver_sync.js +726 -0
- data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- data/node_modules/resolve/test/shadowed_core.js +54 -0
- data/node_modules/resolve/test/subdirs.js +13 -0
- data/node_modules/resolve/test/symlinks.js +176 -0
- data/node_modules/resolve-from/index.js +47 -0
- data/node_modules/resolve-from/license +9 -0
- data/node_modules/resolve-from/package.json +34 -0
- data/node_modules/resolve-from/readme.md +72 -0
- data/node_modules/reusify/LICENSE +22 -0
- data/node_modules/reusify/README.md +145 -0
- data/node_modules/reusify/benchmarks/createNoCodeFunction.js +30 -0
- data/node_modules/reusify/benchmarks/fib.js +13 -0
- data/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +38 -0
- data/node_modules/reusify/package.json +45 -0
- data/node_modules/reusify/reusify.js +33 -0
- data/node_modules/reusify/test.js +66 -0
- data/node_modules/rimraf/CHANGELOG.md +65 -0
- data/node_modules/rimraf/LICENSE +15 -0
- data/node_modules/rimraf/README.md +101 -0
- data/node_modules/rimraf/bin.js +68 -0
- data/node_modules/rimraf/package.json +32 -0
- data/node_modules/rimraf/rimraf.js +360 -0
- data/node_modules/run-parallel/LICENSE +20 -0
- data/node_modules/run-parallel/README.md +85 -0
- data/node_modules/run-parallel/index.js +51 -0
- data/node_modules/run-parallel/package.json +58 -0
- data/node_modules/safe-array-concat/CHANGELOG.md +26 -0
- data/node_modules/safe-array-concat/LICENSE +21 -0
- data/node_modules/safe-array-concat/README.md +53 -0
- data/node_modules/safe-array-concat/index.js +36 -0
- data/node_modules/safe-array-concat/package.json +78 -0
- data/node_modules/safe-array-concat/test/index.js +89 -0
- data/node_modules/safe-regex-test/CHANGELOG.md +15 -0
- data/node_modules/safe-regex-test/LICENSE +21 -0
- data/node_modules/safe-regex-test/README.md +42 -0
- data/node_modules/safe-regex-test/index.js +17 -0
- data/node_modules/safe-regex-test/package.json +75 -0
- data/node_modules/safe-regex-test/test/index.js +37 -0
- data/node_modules/semver/LICENSE +15 -0
- data/node_modules/semver/README.md +443 -0
- data/node_modules/semver/bin/semver.js +174 -0
- data/node_modules/semver/package.json +38 -0
- data/node_modules/semver/range.bnf +16 -0
- data/node_modules/semver/semver.js +1643 -0
- data/node_modules/set-function-name/CHANGELOG.md +39 -0
- data/node_modules/set-function-name/LICENSE +21 -0
- data/node_modules/set-function-name/README.md +61 -0
- data/node_modules/set-function-name/index.js +22 -0
- data/node_modules/set-function-name/package.json +80 -0
- data/node_modules/shebang-command/index.js +19 -0
- data/node_modules/shebang-command/license +9 -0
- data/node_modules/shebang-command/package.json +34 -0
- data/node_modules/shebang-command/readme.md +34 -0
- data/node_modules/shebang-regex/index.d.ts +22 -0
- data/node_modules/shebang-regex/index.js +2 -0
- data/node_modules/shebang-regex/license +9 -0
- data/node_modules/shebang-regex/package.json +35 -0
- data/node_modules/shebang-regex/readme.md +33 -0
- data/node_modules/side-channel/CHANGELOG.md +65 -0
- data/node_modules/side-channel/LICENSE +21 -0
- data/node_modules/side-channel/README.md +2 -0
- data/node_modules/side-channel/index.js +124 -0
- data/node_modules/side-channel/package.json +67 -0
- data/node_modules/side-channel/test/index.js +78 -0
- data/node_modules/string.prototype.trim/CHANGELOG.md +182 -0
- data/node_modules/string.prototype.trim/LICENSE +21 -0
- data/node_modules/string.prototype.trim/README.md +48 -0
- data/node_modules/string.prototype.trim/auto.js +3 -0
- data/node_modules/string.prototype.trim/implementation.js +21 -0
- data/node_modules/string.prototype.trim/index.js +23 -0
- data/node_modules/string.prototype.trim/package.json +101 -0
- data/node_modules/string.prototype.trim/polyfill.js +19 -0
- data/node_modules/string.prototype.trim/shim.js +14 -0
- data/node_modules/string.prototype.trim/test/implementation.js +21 -0
- data/node_modules/string.prototype.trim/test/index.js +17 -0
- data/node_modules/string.prototype.trim/test/shimmed.js +36 -0
- data/node_modules/string.prototype.trim/test/tests.js +62 -0
- data/node_modules/string.prototype.trimend/CHANGELOG.md +108 -0
- data/node_modules/string.prototype.trimend/LICENSE +21 -0
- data/node_modules/string.prototype.trimend/README.md +46 -0
- data/node_modules/string.prototype.trimend/auto.js +3 -0
- data/node_modules/string.prototype.trimend/implementation.js +15 -0
- data/node_modules/string.prototype.trimend/index.js +23 -0
- data/node_modules/string.prototype.trimend/package.json +79 -0
- data/node_modules/string.prototype.trimend/polyfill.js +15 -0
- data/node_modules/string.prototype.trimend/shim.js +14 -0
- data/node_modules/string.prototype.trimend/test/implementation.js +20 -0
- data/node_modules/string.prototype.trimend/test/index.js +17 -0
- data/node_modules/string.prototype.trimend/test/shimmed.js +36 -0
- data/node_modules/string.prototype.trimend/test/tests.js +31 -0
- data/node_modules/string.prototype.trimstart/CHANGELOG.md +108 -0
- data/node_modules/string.prototype.trimstart/LICENSE +21 -0
- data/node_modules/string.prototype.trimstart/README.md +46 -0
- data/node_modules/string.prototype.trimstart/auto.js +3 -0
- data/node_modules/string.prototype.trimstart/implementation.js +15 -0
- data/node_modules/string.prototype.trimstart/index.js +23 -0
- data/node_modules/string.prototype.trimstart/package.json +79 -0
- data/node_modules/string.prototype.trimstart/polyfill.js +15 -0
- data/node_modules/string.prototype.trimstart/shim.js +14 -0
- data/node_modules/string.prototype.trimstart/test/implementation.js +20 -0
- data/node_modules/string.prototype.trimstart/test/index.js +18 -0
- data/node_modules/string.prototype.trimstart/test/shimmed.js +36 -0
- data/node_modules/string.prototype.trimstart/test/tests.js +31 -0
- data/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/strip-ansi/license +9 -0
- data/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/strip-bom/index.js +14 -0
- data/node_modules/strip-bom/license +21 -0
- data/node_modules/strip-bom/package.json +40 -0
- data/node_modules/strip-bom/readme.md +36 -0
- data/node_modules/strip-json-comments/index.d.ts +36 -0
- data/node_modules/strip-json-comments/index.js +77 -0
- data/node_modules/strip-json-comments/license +9 -0
- data/node_modules/strip-json-comments/package.json +47 -0
- data/node_modules/strip-json-comments/readme.md +78 -0
- data/node_modules/supports-color/browser.js +5 -0
- data/node_modules/supports-color/index.js +135 -0
- data/node_modules/supports-color/license +9 -0
- data/node_modules/supports-color/package.json +53 -0
- data/node_modules/supports-color/readme.md +76 -0
- data/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- data/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- data/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- data/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- data/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- data/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- data/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- data/node_modules/text-table/LICENSE +18 -0
- data/node_modules/text-table/example/align.js +8 -0
- data/node_modules/text-table/example/center.js +8 -0
- data/node_modules/text-table/example/dotalign.js +9 -0
- data/node_modules/text-table/example/doubledot.js +11 -0
- data/node_modules/text-table/example/table.js +6 -0
- data/node_modules/text-table/index.js +86 -0
- data/node_modules/text-table/package.json +44 -0
- data/node_modules/text-table/readme.markdown +134 -0
- data/node_modules/text-table/test/align.js +18 -0
- data/node_modules/text-table/test/ansi-colors.js +32 -0
- data/node_modules/text-table/test/center.js +18 -0
- data/node_modules/text-table/test/dotalign.js +20 -0
- data/node_modules/text-table/test/doubledot.js +24 -0
- data/node_modules/text-table/test/table.js +14 -0
- data/node_modules/tsconfig-paths/CHANGELOG.md +365 -0
- data/node_modules/tsconfig-paths/LICENSE +21 -0
- data/node_modules/tsconfig-paths/README.md +268 -0
- data/node_modules/tsconfig-paths/lib/__tests__/config-loader.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/config-loader.test.js +88 -0
- data/node_modules/tsconfig-paths/lib/__tests__/config-loader.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/data/match-path-data.d.ts +17 -0
- data/node_modules/tsconfig-paths/lib/__tests__/data/match-path-data.js +205 -0
- data/node_modules/tsconfig-paths/lib/__tests__/data/match-path-data.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/filesystem.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/filesystem.test.js +64 -0
- data/node_modules/tsconfig-paths/lib/__tests__/filesystem.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/mapping-entry.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/mapping-entry.test.js +66 -0
- data/node_modules/tsconfig-paths/lib/__tests__/mapping-entry.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/match-path-async.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/match-path-async.test.js +19 -0
- data/node_modules/tsconfig-paths/lib/__tests__/match-path-async.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.js +15 -0
- data/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/try-path.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/try-path.test.js +175 -0
- data/node_modules/tsconfig-paths/lib/__tests__/try-path.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/tsconfig-loader.test.d.ts +1 -0
- data/node_modules/tsconfig-paths/lib/__tests__/tsconfig-loader.test.js +246 -0
- data/node_modules/tsconfig-paths/lib/__tests__/tsconfig-loader.test.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/config-loader.d.ts +33 -0
- data/node_modules/tsconfig-paths/lib/config-loader.js +57 -0
- data/node_modules/tsconfig-paths/lib/config-loader.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/filesystem.d.ts +33 -0
- data/node_modules/tsconfig-paths/lib/filesystem.js +55 -0
- data/node_modules/tsconfig-paths/lib/filesystem.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/index.d.ts +5 -0
- data/node_modules/tsconfig-paths/lib/index.js +15 -0
- data/node_modules/tsconfig-paths/lib/index.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/mapping-entry.d.ts +17 -0
- data/node_modules/tsconfig-paths/lib/mapping-entry.js +53 -0
- data/node_modules/tsconfig-paths/lib/mapping-entry.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/match-path-async.d.ts +21 -0
- data/node_modules/tsconfig-paths/lib/match-path-async.js +113 -0
- data/node_modules/tsconfig-paths/lib/match-path-async.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/match-path-sync.d.ts +30 -0
- data/node_modules/tsconfig-paths/lib/match-path-sync.js +87 -0
- data/node_modules/tsconfig-paths/lib/match-path-sync.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/options.d.ts +4 -0
- data/node_modules/tsconfig-paths/lib/options.js +15 -0
- data/node_modules/tsconfig-paths/lib/options.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/register.d.ts +6 -0
- data/node_modules/tsconfig-paths/lib/register.js +93 -0
- data/node_modules/tsconfig-paths/lib/register.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/try-path.d.ts +15 -0
- data/node_modules/tsconfig-paths/lib/try-path.js +90 -0
- data/node_modules/tsconfig-paths/lib/try-path.js.map +1 -0
- data/node_modules/tsconfig-paths/lib/tsconfig-loader.d.ts +28 -0
- data/node_modules/tsconfig-paths/lib/tsconfig-loader.js +111 -0
- data/node_modules/tsconfig-paths/lib/tsconfig-loader.js.map +1 -0
- data/node_modules/tsconfig-paths/package.json +67 -0
- data/node_modules/tsconfig-paths/register.js +1 -0
- data/node_modules/tsconfig-paths/src/__tests__/config-loader.test.ts +100 -0
- data/node_modules/tsconfig-paths/src/__tests__/data/match-path-data.ts +219 -0
- data/node_modules/tsconfig-paths/src/__tests__/filesystem.test.ts +65 -0
- data/node_modules/tsconfig-paths/src/__tests__/mapping-entry.test.ts +70 -0
- data/node_modules/tsconfig-paths/src/__tests__/match-path-async.test.ts +27 -0
- data/node_modules/tsconfig-paths/src/__tests__/match-path-sync.test.ts +23 -0
- data/node_modules/tsconfig-paths/src/__tests__/try-path.test.ts +193 -0
- data/node_modules/tsconfig-paths/src/__tests__/tsconfig-loader.test.ts +312 -0
- data/node_modules/tsconfig-paths/src/__tests__/tsconfig-named.json +10 -0
- data/node_modules/tsconfig-paths/src/config-loader.ts +97 -0
- data/node_modules/tsconfig-paths/src/filesystem.ts +87 -0
- data/node_modules/tsconfig-paths/src/index.ts +24 -0
- data/node_modules/tsconfig-paths/src/mapping-entry.ts +64 -0
- data/node_modules/tsconfig-paths/src/match-path-async.ts +218 -0
- data/node_modules/tsconfig-paths/src/match-path-sync.ts +141 -0
- data/node_modules/tsconfig-paths/src/options.ts +18 -0
- data/node_modules/tsconfig-paths/src/register.ts +97 -0
- data/node_modules/tsconfig-paths/src/try-path.ts +102 -0
- data/node_modules/tsconfig-paths/src/tsconfig-loader.ts +172 -0
- data/node_modules/type-check/LICENSE +22 -0
- data/node_modules/type-check/README.md +210 -0
- data/node_modules/type-check/lib/check.js +128 -0
- data/node_modules/type-check/lib/index.js +16 -0
- data/node_modules/type-check/lib/parse-type.js +198 -0
- data/node_modules/type-check/package.json +39 -0
- data/node_modules/type-fest/base.d.ts +38 -0
- data/node_modules/type-fest/index.d.ts +2 -0
- data/node_modules/type-fest/license +9 -0
- data/node_modules/type-fest/package.json +58 -0
- data/node_modules/type-fest/readme.md +658 -0
- data/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- data/node_modules/type-fest/source/asyncify.d.ts +31 -0
- data/node_modules/type-fest/source/basic.d.ts +67 -0
- data/node_modules/type-fest/source/conditional-except.d.ts +43 -0
- data/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
- data/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
- data/node_modules/type-fest/source/entries.d.ts +57 -0
- data/node_modules/type-fest/source/entry.d.ts +60 -0
- data/node_modules/type-fest/source/except.d.ts +22 -0
- data/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
- data/node_modules/type-fest/source/iterable-element.d.ts +46 -0
- data/node_modules/type-fest/source/literal-union.d.ts +33 -0
- data/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
- data/node_modules/type-fest/source/merge.d.ts +22 -0
- data/node_modules/type-fest/source/mutable.d.ts +22 -0
- data/node_modules/type-fest/source/opaque.d.ts +65 -0
- data/node_modules/type-fest/source/package-json.d.ts +611 -0
- data/node_modules/type-fest/source/partial-deep.d.ts +72 -0
- data/node_modules/type-fest/source/promisable.d.ts +23 -0
- data/node_modules/type-fest/source/promise-value.d.ts +27 -0
- data/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
- data/node_modules/type-fest/source/require-at-least-one.d.ts +33 -0
- data/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
- data/node_modules/type-fest/source/set-optional.d.ts +34 -0
- data/node_modules/type-fest/source/set-required.d.ts +34 -0
- data/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- data/node_modules/type-fest/source/stringified.d.ts +21 -0
- data/node_modules/type-fest/source/tsconfig-json.d.ts +870 -0
- data/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
- data/node_modules/type-fest/source/utilities.d.ts +3 -0
- data/node_modules/type-fest/source/value-of.d.ts +40 -0
- data/node_modules/type-fest/ts41/camel-case.d.ts +72 -0
- data/node_modules/type-fest/ts41/delimiter-case.d.ts +85 -0
- data/node_modules/type-fest/ts41/index.d.ts +9 -0
- data/node_modules/type-fest/ts41/kebab-case.d.ts +36 -0
- data/node_modules/type-fest/ts41/pascal-case.d.ts +36 -0
- data/node_modules/type-fest/ts41/snake-case.d.ts +35 -0
- data/node_modules/typed-array-buffer/CHANGELOG.md +15 -0
- data/node_modules/typed-array-buffer/LICENSE +21 -0
- data/node_modules/typed-array-buffer/README.md +42 -0
- data/node_modules/typed-array-buffer/index.js +19 -0
- data/node_modules/typed-array-buffer/package.json +73 -0
- data/node_modules/typed-array-buffer/test/index.js +22 -0
- data/node_modules/typed-array-byte-length/CHANGELOG.md +14 -0
- data/node_modules/typed-array-byte-length/LICENSE +21 -0
- data/node_modules/typed-array-byte-length/README.md +70 -0
- data/node_modules/typed-array-byte-length/index.js +66 -0
- data/node_modules/typed-array-byte-length/package.json +98 -0
- data/node_modules/typed-array-byte-length/test/index.js +81 -0
- data/node_modules/typed-array-byte-offset/CHANGELOG.md +15 -0
- data/node_modules/typed-array-byte-offset/LICENSE +21 -0
- data/node_modules/typed-array-byte-offset/README.md +70 -0
- data/node_modules/typed-array-byte-offset/index.js +66 -0
- data/node_modules/typed-array-byte-offset/package.json +98 -0
- data/node_modules/typed-array-byte-offset/test/index.js +88 -0
- data/node_modules/typed-array-length/CHANGELOG.md +69 -0
- data/node_modules/typed-array-length/LICENSE +21 -0
- data/node_modules/typed-array-length/README.md +64 -0
- data/node_modules/typed-array-length/index.js +77 -0
- data/node_modules/typed-array-length/package.json +89 -0
- data/node_modules/typed-array-length/test/index.js +85 -0
- data/node_modules/unbox-primitive/CHANGELOG.md +60 -0
- data/node_modules/unbox-primitive/LICENSE +21 -0
- data/node_modules/unbox-primitive/README.md +47 -0
- data/node_modules/unbox-primitive/index.js +39 -0
- data/node_modules/unbox-primitive/package.json +65 -0
- data/node_modules/unbox-primitive/test/index.js +59 -0
- data/node_modules/uri-js/LICENSE +11 -0
- data/node_modules/uri-js/README.md +203 -0
- data/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
- data/node_modules/uri-js/dist/es5/uri.all.js +1443 -0
- data/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
- data/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
- data/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
- data/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
- data/node_modules/uri-js/dist/esnext/index.js +17 -0
- data/node_modules/uri-js/dist/esnext/index.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
- data/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
- data/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
- data/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
- data/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
- data/node_modules/uri-js/dist/esnext/schemes/http.js +28 -0
- data/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
- data/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
- data/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
- data/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
- data/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
- data/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
- data/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
- data/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
- data/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
- data/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
- data/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
- data/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
- data/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
- data/node_modules/uri-js/dist/esnext/uri.js +480 -0
- data/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
- data/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
- data/node_modules/uri-js/dist/esnext/util.js +36 -0
- data/node_modules/uri-js/dist/esnext/util.js.map +1 -0
- data/node_modules/uri-js/package.json +77 -0
- data/node_modules/uri-js/yarn.lock +2558 -0
- data/node_modules/which/CHANGELOG.md +166 -0
- data/node_modules/which/LICENSE +15 -0
- data/node_modules/which/README.md +54 -0
- data/node_modules/which/bin/node-which +52 -0
- data/node_modules/which/package.json +43 -0
- data/node_modules/which/which.js +125 -0
- data/node_modules/which-boxed-primitive/CHANGELOG.md +54 -0
- data/node_modules/which-boxed-primitive/LICENSE +21 -0
- data/node_modules/which-boxed-primitive/README.md +73 -0
- data/node_modules/which-boxed-primitive/index.js +30 -0
- data/node_modules/which-boxed-primitive/package.json +65 -0
- data/node_modules/which-boxed-primitive/test/index.js +66 -0
- data/node_modules/which-typed-array/CHANGELOG.md +190 -0
- data/node_modules/which-typed-array/LICENSE +22 -0
- data/node_modules/which-typed-array/README.md +70 -0
- data/node_modules/which-typed-array/index.js +89 -0
- data/node_modules/which-typed-array/package.json +115 -0
- data/node_modules/which-typed-array/test/index.js +99 -0
- data/node_modules/wrappy/LICENSE +15 -0
- data/node_modules/wrappy/README.md +36 -0
- data/node_modules/wrappy/package.json +29 -0
- data/node_modules/wrappy/wrappy.js +33 -0
- data/node_modules/yallist/LICENSE +15 -0
- data/node_modules/yallist/README.md +204 -0
- data/node_modules/yallist/iterator.js +8 -0
- data/node_modules/yallist/package.json +29 -0
- data/node_modules/yallist/yallist.js +426 -0
- data/node_modules/yocto-queue/index.d.ts +56 -0
- data/node_modules/yocto-queue/index.js +68 -0
- data/node_modules/yocto-queue/license +9 -0
- data/node_modules/yocto-queue/package.json +43 -0
- data/node_modules/yocto-queue/readme.md +64 -0
- metadata +4340 -8
- /data/lib/{immosquare-cleaner → immosquare_cleaner}/configuration.rb +0 -0
- /data/lib/tasks/{immosquare-cleaner.rake → immosquare_cleaner.rake} +0 -0
@@ -0,0 +1,4333 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var debugOrig = require('debug');
|
6
|
+
var fs = require('fs');
|
7
|
+
var importFresh = require('import-fresh');
|
8
|
+
var Module = require('module');
|
9
|
+
var path = require('path');
|
10
|
+
var stripComments = require('strip-json-comments');
|
11
|
+
var assert = require('assert');
|
12
|
+
var ignore = require('ignore');
|
13
|
+
var util = require('util');
|
14
|
+
var minimatch = require('minimatch');
|
15
|
+
var Ajv = require('ajv');
|
16
|
+
var globals = require('globals');
|
17
|
+
var os = require('os');
|
18
|
+
|
19
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
20
|
+
|
21
|
+
var debugOrig__default = /*#__PURE__*/_interopDefaultLegacy(debugOrig);
|
22
|
+
var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
|
23
|
+
var importFresh__default = /*#__PURE__*/_interopDefaultLegacy(importFresh);
|
24
|
+
var Module__default = /*#__PURE__*/_interopDefaultLegacy(Module);
|
25
|
+
var path__default = /*#__PURE__*/_interopDefaultLegacy(path);
|
26
|
+
var stripComments__default = /*#__PURE__*/_interopDefaultLegacy(stripComments);
|
27
|
+
var assert__default = /*#__PURE__*/_interopDefaultLegacy(assert);
|
28
|
+
var ignore__default = /*#__PURE__*/_interopDefaultLegacy(ignore);
|
29
|
+
var util__default = /*#__PURE__*/_interopDefaultLegacy(util);
|
30
|
+
var minimatch__default = /*#__PURE__*/_interopDefaultLegacy(minimatch);
|
31
|
+
var Ajv__default = /*#__PURE__*/_interopDefaultLegacy(Ajv);
|
32
|
+
var globals__default = /*#__PURE__*/_interopDefaultLegacy(globals);
|
33
|
+
var os__default = /*#__PURE__*/_interopDefaultLegacy(os);
|
34
|
+
|
35
|
+
/**
|
36
|
+
* @fileoverview `IgnorePattern` class.
|
37
|
+
*
|
38
|
+
* `IgnorePattern` class has the set of glob patterns and the base path.
|
39
|
+
*
|
40
|
+
* It provides two static methods.
|
41
|
+
*
|
42
|
+
* - `IgnorePattern.createDefaultIgnore(cwd)`
|
43
|
+
* Create the default predicate function.
|
44
|
+
* - `IgnorePattern.createIgnore(ignorePatterns)`
|
45
|
+
* Create the predicate function from multiple `IgnorePattern` objects.
|
46
|
+
*
|
47
|
+
* It provides two properties and a method.
|
48
|
+
*
|
49
|
+
* - `patterns`
|
50
|
+
* The glob patterns that ignore to lint.
|
51
|
+
* - `basePath`
|
52
|
+
* The base path of the glob patterns. If absolute paths existed in the
|
53
|
+
* glob patterns, those are handled as relative paths to the base path.
|
54
|
+
* - `getPatternsRelativeTo(basePath)`
|
55
|
+
* Get `patterns` as modified for a given base path. It modifies the
|
56
|
+
* absolute paths in the patterns as prepending the difference of two base
|
57
|
+
* paths.
|
58
|
+
*
|
59
|
+
* `ConfigArrayFactory` creates `IgnorePattern` objects when it processes
|
60
|
+
* `ignorePatterns` properties.
|
61
|
+
*
|
62
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
63
|
+
*/
|
64
|
+
|
65
|
+
const debug$3 = debugOrig__default["default"]("eslintrc:ignore-pattern");
|
66
|
+
|
67
|
+
/** @typedef {ReturnType<import("ignore").default>} Ignore */
|
68
|
+
|
69
|
+
//------------------------------------------------------------------------------
|
70
|
+
// Helpers
|
71
|
+
//------------------------------------------------------------------------------
|
72
|
+
|
73
|
+
/**
|
74
|
+
* Get the path to the common ancestor directory of given paths.
|
75
|
+
* @param {string[]} sourcePaths The paths to calculate the common ancestor.
|
76
|
+
* @returns {string} The path to the common ancestor directory.
|
77
|
+
*/
|
78
|
+
function getCommonAncestorPath(sourcePaths) {
|
79
|
+
let result = sourcePaths[0];
|
80
|
+
|
81
|
+
for (let i = 1; i < sourcePaths.length; ++i) {
|
82
|
+
const a = result;
|
83
|
+
const b = sourcePaths[i];
|
84
|
+
|
85
|
+
// Set the shorter one (it's the common ancestor if one includes the other).
|
86
|
+
result = a.length < b.length ? a : b;
|
87
|
+
|
88
|
+
// Set the common ancestor.
|
89
|
+
for (let j = 0, lastSepPos = 0; j < a.length && j < b.length; ++j) {
|
90
|
+
if (a[j] !== b[j]) {
|
91
|
+
result = a.slice(0, lastSepPos);
|
92
|
+
break;
|
93
|
+
}
|
94
|
+
if (a[j] === path__default["default"].sep) {
|
95
|
+
lastSepPos = j;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
let resolvedResult = result || path__default["default"].sep;
|
101
|
+
|
102
|
+
// if Windows common ancestor is root of drive must have trailing slash to be absolute.
|
103
|
+
if (resolvedResult && resolvedResult.endsWith(":") && process.platform === "win32") {
|
104
|
+
resolvedResult += path__default["default"].sep;
|
105
|
+
}
|
106
|
+
return resolvedResult;
|
107
|
+
}
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Make relative path.
|
111
|
+
* @param {string} from The source path to get relative path.
|
112
|
+
* @param {string} to The destination path to get relative path.
|
113
|
+
* @returns {string} The relative path.
|
114
|
+
*/
|
115
|
+
function relative(from, to) {
|
116
|
+
const relPath = path__default["default"].relative(from, to);
|
117
|
+
|
118
|
+
if (path__default["default"].sep === "/") {
|
119
|
+
return relPath;
|
120
|
+
}
|
121
|
+
return relPath.split(path__default["default"].sep).join("/");
|
122
|
+
}
|
123
|
+
|
124
|
+
/**
|
125
|
+
* Get the trailing slash if existed.
|
126
|
+
* @param {string} filePath The path to check.
|
127
|
+
* @returns {string} The trailing slash if existed.
|
128
|
+
*/
|
129
|
+
function dirSuffix(filePath) {
|
130
|
+
const isDir = (
|
131
|
+
filePath.endsWith(path__default["default"].sep) ||
|
132
|
+
(process.platform === "win32" && filePath.endsWith("/"))
|
133
|
+
);
|
134
|
+
|
135
|
+
return isDir ? "/" : "";
|
136
|
+
}
|
137
|
+
|
138
|
+
const DefaultPatterns = Object.freeze(["/**/node_modules/*"]);
|
139
|
+
const DotPatterns = Object.freeze([".*", "!.eslintrc.*", "!../"]);
|
140
|
+
|
141
|
+
//------------------------------------------------------------------------------
|
142
|
+
// Public
|
143
|
+
//------------------------------------------------------------------------------
|
144
|
+
|
145
|
+
class IgnorePattern {
|
146
|
+
|
147
|
+
/**
|
148
|
+
* The default patterns.
|
149
|
+
* @type {string[]}
|
150
|
+
*/
|
151
|
+
static get DefaultPatterns() {
|
152
|
+
return DefaultPatterns;
|
153
|
+
}
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Create the default predicate function.
|
157
|
+
* @param {string} cwd The current working directory.
|
158
|
+
* @returns {((filePath:string, dot:boolean) => boolean) & {basePath:string; patterns:string[]}}
|
159
|
+
* The preficate function.
|
160
|
+
* The first argument is an absolute path that is checked.
|
161
|
+
* The second argument is the flag to not ignore dotfiles.
|
162
|
+
* If the predicate function returned `true`, it means the path should be ignored.
|
163
|
+
*/
|
164
|
+
static createDefaultIgnore(cwd) {
|
165
|
+
return this.createIgnore([new IgnorePattern(DefaultPatterns, cwd)]);
|
166
|
+
}
|
167
|
+
|
168
|
+
/**
|
169
|
+
* Create the predicate function from multiple `IgnorePattern` objects.
|
170
|
+
* @param {IgnorePattern[]} ignorePatterns The list of ignore patterns.
|
171
|
+
* @returns {((filePath:string, dot?:boolean) => boolean) & {basePath:string; patterns:string[]}}
|
172
|
+
* The preficate function.
|
173
|
+
* The first argument is an absolute path that is checked.
|
174
|
+
* The second argument is the flag to not ignore dotfiles.
|
175
|
+
* If the predicate function returned `true`, it means the path should be ignored.
|
176
|
+
*/
|
177
|
+
static createIgnore(ignorePatterns) {
|
178
|
+
debug$3("Create with: %o", ignorePatterns);
|
179
|
+
|
180
|
+
const basePath = getCommonAncestorPath(ignorePatterns.map(p => p.basePath));
|
181
|
+
const patterns = [].concat(
|
182
|
+
...ignorePatterns.map(p => p.getPatternsRelativeTo(basePath))
|
183
|
+
);
|
184
|
+
const ig = ignore__default["default"]({ allowRelativePaths: true }).add([...DotPatterns, ...patterns]);
|
185
|
+
const dotIg = ignore__default["default"]({ allowRelativePaths: true }).add(patterns);
|
186
|
+
|
187
|
+
debug$3(" processed: %o", { basePath, patterns });
|
188
|
+
|
189
|
+
return Object.assign(
|
190
|
+
(filePath, dot = false) => {
|
191
|
+
assert__default["default"](path__default["default"].isAbsolute(filePath), "'filePath' should be an absolute path.");
|
192
|
+
const relPathRaw = relative(basePath, filePath);
|
193
|
+
const relPath = relPathRaw && (relPathRaw + dirSuffix(filePath));
|
194
|
+
const adoptedIg = dot ? dotIg : ig;
|
195
|
+
const result = relPath !== "" && adoptedIg.ignores(relPath);
|
196
|
+
|
197
|
+
debug$3("Check", { filePath, dot, relativePath: relPath, result });
|
198
|
+
return result;
|
199
|
+
},
|
200
|
+
{ basePath, patterns }
|
201
|
+
);
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Initialize a new `IgnorePattern` instance.
|
206
|
+
* @param {string[]} patterns The glob patterns that ignore to lint.
|
207
|
+
* @param {string} basePath The base path of `patterns`.
|
208
|
+
*/
|
209
|
+
constructor(patterns, basePath) {
|
210
|
+
assert__default["default"](path__default["default"].isAbsolute(basePath), "'basePath' should be an absolute path.");
|
211
|
+
|
212
|
+
/**
|
213
|
+
* The glob patterns that ignore to lint.
|
214
|
+
* @type {string[]}
|
215
|
+
*/
|
216
|
+
this.patterns = patterns;
|
217
|
+
|
218
|
+
/**
|
219
|
+
* The base path of `patterns`.
|
220
|
+
* @type {string}
|
221
|
+
*/
|
222
|
+
this.basePath = basePath;
|
223
|
+
|
224
|
+
/**
|
225
|
+
* If `true` then patterns which don't start with `/` will match the paths to the outside of `basePath`. Defaults to `false`.
|
226
|
+
*
|
227
|
+
* It's set `true` for `.eslintignore`, `package.json`, and `--ignore-path` for backward compatibility.
|
228
|
+
* It's `false` as-is for `ignorePatterns` property in config files.
|
229
|
+
* @type {boolean}
|
230
|
+
*/
|
231
|
+
this.loose = false;
|
232
|
+
}
|
233
|
+
|
234
|
+
/**
|
235
|
+
* Get `patterns` as modified for a given base path. It modifies the
|
236
|
+
* absolute paths in the patterns as prepending the difference of two base
|
237
|
+
* paths.
|
238
|
+
* @param {string} newBasePath The base path.
|
239
|
+
* @returns {string[]} Modifired patterns.
|
240
|
+
*/
|
241
|
+
getPatternsRelativeTo(newBasePath) {
|
242
|
+
assert__default["default"](path__default["default"].isAbsolute(newBasePath), "'newBasePath' should be an absolute path.");
|
243
|
+
const { basePath, loose, patterns } = this;
|
244
|
+
|
245
|
+
if (newBasePath === basePath) {
|
246
|
+
return patterns;
|
247
|
+
}
|
248
|
+
const prefix = `/${relative(newBasePath, basePath)}`;
|
249
|
+
|
250
|
+
return patterns.map(pattern => {
|
251
|
+
const negative = pattern.startsWith("!");
|
252
|
+
const head = negative ? "!" : "";
|
253
|
+
const body = negative ? pattern.slice(1) : pattern;
|
254
|
+
|
255
|
+
if (body.startsWith("/") || body.startsWith("../")) {
|
256
|
+
return `${head}${prefix}${body}`;
|
257
|
+
}
|
258
|
+
return loose ? pattern : `${head}${prefix}/**/${body}`;
|
259
|
+
});
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
/**
|
264
|
+
* @fileoverview `ExtractedConfig` class.
|
265
|
+
*
|
266
|
+
* `ExtractedConfig` class expresses a final configuration for a specific file.
|
267
|
+
*
|
268
|
+
* It provides one method.
|
269
|
+
*
|
270
|
+
* - `toCompatibleObjectAsConfigFileContent()`
|
271
|
+
* Convert this configuration to the compatible object as the content of
|
272
|
+
* config files. It converts the loaded parser and plugins to strings.
|
273
|
+
* `CLIEngine#getConfigForFile(filePath)` method uses this method.
|
274
|
+
*
|
275
|
+
* `ConfigArray#extractConfig(filePath)` creates a `ExtractedConfig` instance.
|
276
|
+
*
|
277
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
278
|
+
*/
|
279
|
+
|
280
|
+
// For VSCode intellisense
|
281
|
+
/** @typedef {import("../../shared/types").ConfigData} ConfigData */
|
282
|
+
/** @typedef {import("../../shared/types").GlobalConf} GlobalConf */
|
283
|
+
/** @typedef {import("../../shared/types").SeverityConf} SeverityConf */
|
284
|
+
/** @typedef {import("./config-dependency").DependentParser} DependentParser */
|
285
|
+
/** @typedef {import("./config-dependency").DependentPlugin} DependentPlugin */
|
286
|
+
|
287
|
+
/**
|
288
|
+
* Check if `xs` starts with `ys`.
|
289
|
+
* @template T
|
290
|
+
* @param {T[]} xs The array to check.
|
291
|
+
* @param {T[]} ys The array that may be the first part of `xs`.
|
292
|
+
* @returns {boolean} `true` if `xs` starts with `ys`.
|
293
|
+
*/
|
294
|
+
function startsWith(xs, ys) {
|
295
|
+
return xs.length >= ys.length && ys.every((y, i) => y === xs[i]);
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* The class for extracted config data.
|
300
|
+
*/
|
301
|
+
class ExtractedConfig {
|
302
|
+
constructor() {
|
303
|
+
|
304
|
+
/**
|
305
|
+
* The config name what `noInlineConfig` setting came from.
|
306
|
+
* @type {string}
|
307
|
+
*/
|
308
|
+
this.configNameOfNoInlineConfig = "";
|
309
|
+
|
310
|
+
/**
|
311
|
+
* Environments.
|
312
|
+
* @type {Record<string, boolean>}
|
313
|
+
*/
|
314
|
+
this.env = {};
|
315
|
+
|
316
|
+
/**
|
317
|
+
* Global variables.
|
318
|
+
* @type {Record<string, GlobalConf>}
|
319
|
+
*/
|
320
|
+
this.globals = {};
|
321
|
+
|
322
|
+
/**
|
323
|
+
* The glob patterns that ignore to lint.
|
324
|
+
* @type {(((filePath:string, dot?:boolean) => boolean) & { basePath:string; patterns:string[] }) | undefined}
|
325
|
+
*/
|
326
|
+
this.ignores = void 0;
|
327
|
+
|
328
|
+
/**
|
329
|
+
* The flag that disables directive comments.
|
330
|
+
* @type {boolean|undefined}
|
331
|
+
*/
|
332
|
+
this.noInlineConfig = void 0;
|
333
|
+
|
334
|
+
/**
|
335
|
+
* Parser definition.
|
336
|
+
* @type {DependentParser|null}
|
337
|
+
*/
|
338
|
+
this.parser = null;
|
339
|
+
|
340
|
+
/**
|
341
|
+
* Options for the parser.
|
342
|
+
* @type {Object}
|
343
|
+
*/
|
344
|
+
this.parserOptions = {};
|
345
|
+
|
346
|
+
/**
|
347
|
+
* Plugin definitions.
|
348
|
+
* @type {Record<string, DependentPlugin>}
|
349
|
+
*/
|
350
|
+
this.plugins = {};
|
351
|
+
|
352
|
+
/**
|
353
|
+
* Processor ID.
|
354
|
+
* @type {string|null}
|
355
|
+
*/
|
356
|
+
this.processor = null;
|
357
|
+
|
358
|
+
/**
|
359
|
+
* The flag that reports unused `eslint-disable` directive comments.
|
360
|
+
* @type {boolean|undefined}
|
361
|
+
*/
|
362
|
+
this.reportUnusedDisableDirectives = void 0;
|
363
|
+
|
364
|
+
/**
|
365
|
+
* Rule settings.
|
366
|
+
* @type {Record<string, [SeverityConf, ...any[]]>}
|
367
|
+
*/
|
368
|
+
this.rules = {};
|
369
|
+
|
370
|
+
/**
|
371
|
+
* Shared settings.
|
372
|
+
* @type {Object}
|
373
|
+
*/
|
374
|
+
this.settings = {};
|
375
|
+
}
|
376
|
+
|
377
|
+
/**
|
378
|
+
* Convert this config to the compatible object as a config file content.
|
379
|
+
* @returns {ConfigData} The converted object.
|
380
|
+
*/
|
381
|
+
toCompatibleObjectAsConfigFileContent() {
|
382
|
+
const {
|
383
|
+
/* eslint-disable no-unused-vars */
|
384
|
+
configNameOfNoInlineConfig: _ignore1,
|
385
|
+
processor: _ignore2,
|
386
|
+
/* eslint-enable no-unused-vars */
|
387
|
+
ignores,
|
388
|
+
...config
|
389
|
+
} = this;
|
390
|
+
|
391
|
+
config.parser = config.parser && config.parser.filePath;
|
392
|
+
config.plugins = Object.keys(config.plugins).filter(Boolean).reverse();
|
393
|
+
config.ignorePatterns = ignores ? ignores.patterns : [];
|
394
|
+
|
395
|
+
// Strip the default patterns from `ignorePatterns`.
|
396
|
+
if (startsWith(config.ignorePatterns, IgnorePattern.DefaultPatterns)) {
|
397
|
+
config.ignorePatterns =
|
398
|
+
config.ignorePatterns.slice(IgnorePattern.DefaultPatterns.length);
|
399
|
+
}
|
400
|
+
|
401
|
+
return config;
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
/**
|
406
|
+
* @fileoverview `ConfigArray` class.
|
407
|
+
*
|
408
|
+
* `ConfigArray` class expresses the full of a configuration. It has the entry
|
409
|
+
* config file, base config files that were extended, loaded parsers, and loaded
|
410
|
+
* plugins.
|
411
|
+
*
|
412
|
+
* `ConfigArray` class provides three properties and two methods.
|
413
|
+
*
|
414
|
+
* - `pluginEnvironments`
|
415
|
+
* - `pluginProcessors`
|
416
|
+
* - `pluginRules`
|
417
|
+
* The `Map` objects that contain the members of all plugins that this
|
418
|
+
* config array contains. Those map objects don't have mutation methods.
|
419
|
+
* Those keys are the member ID such as `pluginId/memberName`.
|
420
|
+
* - `isRoot()`
|
421
|
+
* If `true` then this configuration has `root:true` property.
|
422
|
+
* - `extractConfig(filePath)`
|
423
|
+
* Extract the final configuration for a given file. This means merging
|
424
|
+
* every config array element which that `criteria` property matched. The
|
425
|
+
* `filePath` argument must be an absolute path.
|
426
|
+
*
|
427
|
+
* `ConfigArrayFactory` provides the loading logic of config files.
|
428
|
+
*
|
429
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
430
|
+
*/
|
431
|
+
|
432
|
+
//------------------------------------------------------------------------------
|
433
|
+
// Helpers
|
434
|
+
//------------------------------------------------------------------------------
|
435
|
+
|
436
|
+
// Define types for VSCode IntelliSense.
|
437
|
+
/** @typedef {import("../../shared/types").Environment} Environment */
|
438
|
+
/** @typedef {import("../../shared/types").GlobalConf} GlobalConf */
|
439
|
+
/** @typedef {import("../../shared/types").RuleConf} RuleConf */
|
440
|
+
/** @typedef {import("../../shared/types").Rule} Rule */
|
441
|
+
/** @typedef {import("../../shared/types").Plugin} Plugin */
|
442
|
+
/** @typedef {import("../../shared/types").Processor} Processor */
|
443
|
+
/** @typedef {import("./config-dependency").DependentParser} DependentParser */
|
444
|
+
/** @typedef {import("./config-dependency").DependentPlugin} DependentPlugin */
|
445
|
+
/** @typedef {import("./override-tester")["OverrideTester"]} OverrideTester */
|
446
|
+
|
447
|
+
/**
|
448
|
+
* @typedef {Object} ConfigArrayElement
|
449
|
+
* @property {string} name The name of this config element.
|
450
|
+
* @property {string} filePath The path to the source file of this config element.
|
451
|
+
* @property {InstanceType<OverrideTester>|null} criteria The tester for the `files` and `excludedFiles` of this config element.
|
452
|
+
* @property {Record<string, boolean>|undefined} env The environment settings.
|
453
|
+
* @property {Record<string, GlobalConf>|undefined} globals The global variable settings.
|
454
|
+
* @property {IgnorePattern|undefined} ignorePattern The ignore patterns.
|
455
|
+
* @property {boolean|undefined} noInlineConfig The flag that disables directive comments.
|
456
|
+
* @property {DependentParser|undefined} parser The parser loader.
|
457
|
+
* @property {Object|undefined} parserOptions The parser options.
|
458
|
+
* @property {Record<string, DependentPlugin>|undefined} plugins The plugin loaders.
|
459
|
+
* @property {string|undefined} processor The processor name to refer plugin's processor.
|
460
|
+
* @property {boolean|undefined} reportUnusedDisableDirectives The flag to report unused `eslint-disable` comments.
|
461
|
+
* @property {boolean|undefined} root The flag to express root.
|
462
|
+
* @property {Record<string, RuleConf>|undefined} rules The rule settings
|
463
|
+
* @property {Object|undefined} settings The shared settings.
|
464
|
+
* @property {"config" | "ignore" | "implicit-processor"} type The element type.
|
465
|
+
*/
|
466
|
+
|
467
|
+
/**
|
468
|
+
* @typedef {Object} ConfigArrayInternalSlots
|
469
|
+
* @property {Map<string, ExtractedConfig>} cache The cache to extract configs.
|
470
|
+
* @property {ReadonlyMap<string, Environment>|null} envMap The map from environment ID to environment definition.
|
471
|
+
* @property {ReadonlyMap<string, Processor>|null} processorMap The map from processor ID to environment definition.
|
472
|
+
* @property {ReadonlyMap<string, Rule>|null} ruleMap The map from rule ID to rule definition.
|
473
|
+
*/
|
474
|
+
|
475
|
+
/** @type {WeakMap<ConfigArray, ConfigArrayInternalSlots>} */
|
476
|
+
const internalSlotsMap$2 = new class extends WeakMap {
|
477
|
+
get(key) {
|
478
|
+
let value = super.get(key);
|
479
|
+
|
480
|
+
if (!value) {
|
481
|
+
value = {
|
482
|
+
cache: new Map(),
|
483
|
+
envMap: null,
|
484
|
+
processorMap: null,
|
485
|
+
ruleMap: null
|
486
|
+
};
|
487
|
+
super.set(key, value);
|
488
|
+
}
|
489
|
+
|
490
|
+
return value;
|
491
|
+
}
|
492
|
+
}();
|
493
|
+
|
494
|
+
/**
|
495
|
+
* Get the indices which are matched to a given file.
|
496
|
+
* @param {ConfigArrayElement[]} elements The elements.
|
497
|
+
* @param {string} filePath The path to a target file.
|
498
|
+
* @returns {number[]} The indices.
|
499
|
+
*/
|
500
|
+
function getMatchedIndices(elements, filePath) {
|
501
|
+
const indices = [];
|
502
|
+
|
503
|
+
for (let i = elements.length - 1; i >= 0; --i) {
|
504
|
+
const element = elements[i];
|
505
|
+
|
506
|
+
if (!element.criteria || (filePath && element.criteria.test(filePath))) {
|
507
|
+
indices.push(i);
|
508
|
+
}
|
509
|
+
}
|
510
|
+
|
511
|
+
return indices;
|
512
|
+
}
|
513
|
+
|
514
|
+
/**
|
515
|
+
* Check if a value is a non-null object.
|
516
|
+
* @param {any} x The value to check.
|
517
|
+
* @returns {boolean} `true` if the value is a non-null object.
|
518
|
+
*/
|
519
|
+
function isNonNullObject(x) {
|
520
|
+
return typeof x === "object" && x !== null;
|
521
|
+
}
|
522
|
+
|
523
|
+
/**
|
524
|
+
* Merge two objects.
|
525
|
+
*
|
526
|
+
* Assign every property values of `y` to `x` if `x` doesn't have the property.
|
527
|
+
* If `x`'s property value is an object, it does recursive.
|
528
|
+
* @param {Object} target The destination to merge
|
529
|
+
* @param {Object|undefined} source The source to merge.
|
530
|
+
* @returns {void}
|
531
|
+
*/
|
532
|
+
function mergeWithoutOverwrite(target, source) {
|
533
|
+
if (!isNonNullObject(source)) {
|
534
|
+
return;
|
535
|
+
}
|
536
|
+
|
537
|
+
for (const key of Object.keys(source)) {
|
538
|
+
if (key === "__proto__") {
|
539
|
+
continue;
|
540
|
+
}
|
541
|
+
|
542
|
+
if (isNonNullObject(target[key])) {
|
543
|
+
mergeWithoutOverwrite(target[key], source[key]);
|
544
|
+
} else if (target[key] === void 0) {
|
545
|
+
if (isNonNullObject(source[key])) {
|
546
|
+
target[key] = Array.isArray(source[key]) ? [] : {};
|
547
|
+
mergeWithoutOverwrite(target[key], source[key]);
|
548
|
+
} else if (source[key] !== void 0) {
|
549
|
+
target[key] = source[key];
|
550
|
+
}
|
551
|
+
}
|
552
|
+
}
|
553
|
+
}
|
554
|
+
|
555
|
+
/**
|
556
|
+
* The error for plugin conflicts.
|
557
|
+
*/
|
558
|
+
class PluginConflictError extends Error {
|
559
|
+
|
560
|
+
/**
|
561
|
+
* Initialize this error object.
|
562
|
+
* @param {string} pluginId The plugin ID.
|
563
|
+
* @param {{filePath:string, importerName:string}[]} plugins The resolved plugins.
|
564
|
+
*/
|
565
|
+
constructor(pluginId, plugins) {
|
566
|
+
super(`Plugin "${pluginId}" was conflicted between ${plugins.map(p => `"${p.importerName}"`).join(" and ")}.`);
|
567
|
+
this.messageTemplate = "plugin-conflict";
|
568
|
+
this.messageData = { pluginId, plugins };
|
569
|
+
}
|
570
|
+
}
|
571
|
+
|
572
|
+
/**
|
573
|
+
* Merge plugins.
|
574
|
+
* `target`'s definition is prior to `source`'s.
|
575
|
+
* @param {Record<string, DependentPlugin>} target The destination to merge
|
576
|
+
* @param {Record<string, DependentPlugin>|undefined} source The source to merge.
|
577
|
+
* @returns {void}
|
578
|
+
*/
|
579
|
+
function mergePlugins(target, source) {
|
580
|
+
if (!isNonNullObject(source)) {
|
581
|
+
return;
|
582
|
+
}
|
583
|
+
|
584
|
+
for (const key of Object.keys(source)) {
|
585
|
+
if (key === "__proto__") {
|
586
|
+
continue;
|
587
|
+
}
|
588
|
+
const targetValue = target[key];
|
589
|
+
const sourceValue = source[key];
|
590
|
+
|
591
|
+
// Adopt the plugin which was found at first.
|
592
|
+
if (targetValue === void 0) {
|
593
|
+
if (sourceValue.error) {
|
594
|
+
throw sourceValue.error;
|
595
|
+
}
|
596
|
+
target[key] = sourceValue;
|
597
|
+
} else if (sourceValue.filePath !== targetValue.filePath) {
|
598
|
+
throw new PluginConflictError(key, [
|
599
|
+
{
|
600
|
+
filePath: targetValue.filePath,
|
601
|
+
importerName: targetValue.importerName
|
602
|
+
},
|
603
|
+
{
|
604
|
+
filePath: sourceValue.filePath,
|
605
|
+
importerName: sourceValue.importerName
|
606
|
+
}
|
607
|
+
]);
|
608
|
+
}
|
609
|
+
}
|
610
|
+
}
|
611
|
+
|
612
|
+
/**
|
613
|
+
* Merge rule configs.
|
614
|
+
* `target`'s definition is prior to `source`'s.
|
615
|
+
* @param {Record<string, Array>} target The destination to merge
|
616
|
+
* @param {Record<string, RuleConf>|undefined} source The source to merge.
|
617
|
+
* @returns {void}
|
618
|
+
*/
|
619
|
+
function mergeRuleConfigs(target, source) {
|
620
|
+
if (!isNonNullObject(source)) {
|
621
|
+
return;
|
622
|
+
}
|
623
|
+
|
624
|
+
for (const key of Object.keys(source)) {
|
625
|
+
if (key === "__proto__") {
|
626
|
+
continue;
|
627
|
+
}
|
628
|
+
const targetDef = target[key];
|
629
|
+
const sourceDef = source[key];
|
630
|
+
|
631
|
+
// Adopt the rule config which was found at first.
|
632
|
+
if (targetDef === void 0) {
|
633
|
+
if (Array.isArray(sourceDef)) {
|
634
|
+
target[key] = [...sourceDef];
|
635
|
+
} else {
|
636
|
+
target[key] = [sourceDef];
|
637
|
+
}
|
638
|
+
|
639
|
+
/*
|
640
|
+
* If the first found rule config is severity only and the current rule
|
641
|
+
* config has options, merge the severity and the options.
|
642
|
+
*/
|
643
|
+
} else if (
|
644
|
+
targetDef.length === 1 &&
|
645
|
+
Array.isArray(sourceDef) &&
|
646
|
+
sourceDef.length >= 2
|
647
|
+
) {
|
648
|
+
targetDef.push(...sourceDef.slice(1));
|
649
|
+
}
|
650
|
+
}
|
651
|
+
}
|
652
|
+
|
653
|
+
/**
|
654
|
+
* Create the extracted config.
|
655
|
+
* @param {ConfigArray} instance The config elements.
|
656
|
+
* @param {number[]} indices The indices to use.
|
657
|
+
* @returns {ExtractedConfig} The extracted config.
|
658
|
+
*/
|
659
|
+
function createConfig(instance, indices) {
|
660
|
+
const config = new ExtractedConfig();
|
661
|
+
const ignorePatterns = [];
|
662
|
+
|
663
|
+
// Merge elements.
|
664
|
+
for (const index of indices) {
|
665
|
+
const element = instance[index];
|
666
|
+
|
667
|
+
// Adopt the parser which was found at first.
|
668
|
+
if (!config.parser && element.parser) {
|
669
|
+
if (element.parser.error) {
|
670
|
+
throw element.parser.error;
|
671
|
+
}
|
672
|
+
config.parser = element.parser;
|
673
|
+
}
|
674
|
+
|
675
|
+
// Adopt the processor which was found at first.
|
676
|
+
if (!config.processor && element.processor) {
|
677
|
+
config.processor = element.processor;
|
678
|
+
}
|
679
|
+
|
680
|
+
// Adopt the noInlineConfig which was found at first.
|
681
|
+
if (config.noInlineConfig === void 0 && element.noInlineConfig !== void 0) {
|
682
|
+
config.noInlineConfig = element.noInlineConfig;
|
683
|
+
config.configNameOfNoInlineConfig = element.name;
|
684
|
+
}
|
685
|
+
|
686
|
+
// Adopt the reportUnusedDisableDirectives which was found at first.
|
687
|
+
if (config.reportUnusedDisableDirectives === void 0 && element.reportUnusedDisableDirectives !== void 0) {
|
688
|
+
config.reportUnusedDisableDirectives = element.reportUnusedDisableDirectives;
|
689
|
+
}
|
690
|
+
|
691
|
+
// Collect ignorePatterns
|
692
|
+
if (element.ignorePattern) {
|
693
|
+
ignorePatterns.push(element.ignorePattern);
|
694
|
+
}
|
695
|
+
|
696
|
+
// Merge others.
|
697
|
+
mergeWithoutOverwrite(config.env, element.env);
|
698
|
+
mergeWithoutOverwrite(config.globals, element.globals);
|
699
|
+
mergeWithoutOverwrite(config.parserOptions, element.parserOptions);
|
700
|
+
mergeWithoutOverwrite(config.settings, element.settings);
|
701
|
+
mergePlugins(config.plugins, element.plugins);
|
702
|
+
mergeRuleConfigs(config.rules, element.rules);
|
703
|
+
}
|
704
|
+
|
705
|
+
// Create the predicate function for ignore patterns.
|
706
|
+
if (ignorePatterns.length > 0) {
|
707
|
+
config.ignores = IgnorePattern.createIgnore(ignorePatterns.reverse());
|
708
|
+
}
|
709
|
+
|
710
|
+
return config;
|
711
|
+
}
|
712
|
+
|
713
|
+
/**
|
714
|
+
* Collect definitions.
|
715
|
+
* @template T, U
|
716
|
+
* @param {string} pluginId The plugin ID for prefix.
|
717
|
+
* @param {Record<string,T>} defs The definitions to collect.
|
718
|
+
* @param {Map<string, U>} map The map to output.
|
719
|
+
* @param {function(T): U} [normalize] The normalize function for each value.
|
720
|
+
* @returns {void}
|
721
|
+
*/
|
722
|
+
function collect(pluginId, defs, map, normalize) {
|
723
|
+
if (defs) {
|
724
|
+
const prefix = pluginId && `${pluginId}/`;
|
725
|
+
|
726
|
+
for (const [key, value] of Object.entries(defs)) {
|
727
|
+
map.set(
|
728
|
+
`${prefix}${key}`,
|
729
|
+
normalize ? normalize(value) : value
|
730
|
+
);
|
731
|
+
}
|
732
|
+
}
|
733
|
+
}
|
734
|
+
|
735
|
+
/**
|
736
|
+
* Normalize a rule definition.
|
737
|
+
* @param {Function|Rule} rule The rule definition to normalize.
|
738
|
+
* @returns {Rule} The normalized rule definition.
|
739
|
+
*/
|
740
|
+
function normalizePluginRule(rule) {
|
741
|
+
return typeof rule === "function" ? { create: rule } : rule;
|
742
|
+
}
|
743
|
+
|
744
|
+
/**
|
745
|
+
* Delete the mutation methods from a given map.
|
746
|
+
* @param {Map<any, any>} map The map object to delete.
|
747
|
+
* @returns {void}
|
748
|
+
*/
|
749
|
+
function deleteMutationMethods(map) {
|
750
|
+
Object.defineProperties(map, {
|
751
|
+
clear: { configurable: true, value: void 0 },
|
752
|
+
delete: { configurable: true, value: void 0 },
|
753
|
+
set: { configurable: true, value: void 0 }
|
754
|
+
});
|
755
|
+
}
|
756
|
+
|
757
|
+
/**
|
758
|
+
* Create `envMap`, `processorMap`, `ruleMap` with the plugins in the config array.
|
759
|
+
* @param {ConfigArrayElement[]} elements The config elements.
|
760
|
+
* @param {ConfigArrayInternalSlots} slots The internal slots.
|
761
|
+
* @returns {void}
|
762
|
+
*/
|
763
|
+
function initPluginMemberMaps(elements, slots) {
|
764
|
+
const processed = new Set();
|
765
|
+
|
766
|
+
slots.envMap = new Map();
|
767
|
+
slots.processorMap = new Map();
|
768
|
+
slots.ruleMap = new Map();
|
769
|
+
|
770
|
+
for (const element of elements) {
|
771
|
+
if (!element.plugins) {
|
772
|
+
continue;
|
773
|
+
}
|
774
|
+
|
775
|
+
for (const [pluginId, value] of Object.entries(element.plugins)) {
|
776
|
+
const plugin = value.definition;
|
777
|
+
|
778
|
+
if (!plugin || processed.has(pluginId)) {
|
779
|
+
continue;
|
780
|
+
}
|
781
|
+
processed.add(pluginId);
|
782
|
+
|
783
|
+
collect(pluginId, plugin.environments, slots.envMap);
|
784
|
+
collect(pluginId, plugin.processors, slots.processorMap);
|
785
|
+
collect(pluginId, plugin.rules, slots.ruleMap, normalizePluginRule);
|
786
|
+
}
|
787
|
+
}
|
788
|
+
|
789
|
+
deleteMutationMethods(slots.envMap);
|
790
|
+
deleteMutationMethods(slots.processorMap);
|
791
|
+
deleteMutationMethods(slots.ruleMap);
|
792
|
+
}
|
793
|
+
|
794
|
+
/**
|
795
|
+
* Create `envMap`, `processorMap`, `ruleMap` with the plugins in the config array.
|
796
|
+
* @param {ConfigArray} instance The config elements.
|
797
|
+
* @returns {ConfigArrayInternalSlots} The extracted config.
|
798
|
+
*/
|
799
|
+
function ensurePluginMemberMaps(instance) {
|
800
|
+
const slots = internalSlotsMap$2.get(instance);
|
801
|
+
|
802
|
+
if (!slots.ruleMap) {
|
803
|
+
initPluginMemberMaps(instance, slots);
|
804
|
+
}
|
805
|
+
|
806
|
+
return slots;
|
807
|
+
}
|
808
|
+
|
809
|
+
//------------------------------------------------------------------------------
|
810
|
+
// Public Interface
|
811
|
+
//------------------------------------------------------------------------------
|
812
|
+
|
813
|
+
/**
|
814
|
+
* The Config Array.
|
815
|
+
*
|
816
|
+
* `ConfigArray` instance contains all settings, parsers, and plugins.
|
817
|
+
* You need to call `ConfigArray#extractConfig(filePath)` method in order to
|
818
|
+
* extract, merge and get only the config data which is related to an arbitrary
|
819
|
+
* file.
|
820
|
+
* @extends {Array<ConfigArrayElement>}
|
821
|
+
*/
|
822
|
+
class ConfigArray extends Array {
|
823
|
+
|
824
|
+
/**
|
825
|
+
* Get the plugin environments.
|
826
|
+
* The returned map cannot be mutated.
|
827
|
+
* @type {ReadonlyMap<string, Environment>} The plugin environments.
|
828
|
+
*/
|
829
|
+
get pluginEnvironments() {
|
830
|
+
return ensurePluginMemberMaps(this).envMap;
|
831
|
+
}
|
832
|
+
|
833
|
+
/**
|
834
|
+
* Get the plugin processors.
|
835
|
+
* The returned map cannot be mutated.
|
836
|
+
* @type {ReadonlyMap<string, Processor>} The plugin processors.
|
837
|
+
*/
|
838
|
+
get pluginProcessors() {
|
839
|
+
return ensurePluginMemberMaps(this).processorMap;
|
840
|
+
}
|
841
|
+
|
842
|
+
/**
|
843
|
+
* Get the plugin rules.
|
844
|
+
* The returned map cannot be mutated.
|
845
|
+
* @returns {ReadonlyMap<string, Rule>} The plugin rules.
|
846
|
+
*/
|
847
|
+
get pluginRules() {
|
848
|
+
return ensurePluginMemberMaps(this).ruleMap;
|
849
|
+
}
|
850
|
+
|
851
|
+
/**
|
852
|
+
* Check if this config has `root` flag.
|
853
|
+
* @returns {boolean} `true` if this config array is root.
|
854
|
+
*/
|
855
|
+
isRoot() {
|
856
|
+
for (let i = this.length - 1; i >= 0; --i) {
|
857
|
+
const root = this[i].root;
|
858
|
+
|
859
|
+
if (typeof root === "boolean") {
|
860
|
+
return root;
|
861
|
+
}
|
862
|
+
}
|
863
|
+
return false;
|
864
|
+
}
|
865
|
+
|
866
|
+
/**
|
867
|
+
* Extract the config data which is related to a given file.
|
868
|
+
* @param {string} filePath The absolute path to the target file.
|
869
|
+
* @returns {ExtractedConfig} The extracted config data.
|
870
|
+
*/
|
871
|
+
extractConfig(filePath) {
|
872
|
+
const { cache } = internalSlotsMap$2.get(this);
|
873
|
+
const indices = getMatchedIndices(this, filePath);
|
874
|
+
const cacheKey = indices.join(",");
|
875
|
+
|
876
|
+
if (!cache.has(cacheKey)) {
|
877
|
+
cache.set(cacheKey, createConfig(this, indices));
|
878
|
+
}
|
879
|
+
|
880
|
+
return cache.get(cacheKey);
|
881
|
+
}
|
882
|
+
|
883
|
+
/**
|
884
|
+
* Check if a given path is an additional lint target.
|
885
|
+
* @param {string} filePath The absolute path to the target file.
|
886
|
+
* @returns {boolean} `true` if the file is an additional lint target.
|
887
|
+
*/
|
888
|
+
isAdditionalTargetPath(filePath) {
|
889
|
+
for (const { criteria, type } of this) {
|
890
|
+
if (
|
891
|
+
type === "config" &&
|
892
|
+
criteria &&
|
893
|
+
!criteria.endsWithWildcard &&
|
894
|
+
criteria.test(filePath)
|
895
|
+
) {
|
896
|
+
return true;
|
897
|
+
}
|
898
|
+
}
|
899
|
+
return false;
|
900
|
+
}
|
901
|
+
}
|
902
|
+
|
903
|
+
/**
|
904
|
+
* Get the used extracted configs.
|
905
|
+
* CLIEngine will use this method to collect used deprecated rules.
|
906
|
+
* @param {ConfigArray} instance The config array object to get.
|
907
|
+
* @returns {ExtractedConfig[]} The used extracted configs.
|
908
|
+
* @private
|
909
|
+
*/
|
910
|
+
function getUsedExtractedConfigs(instance) {
|
911
|
+
const { cache } = internalSlotsMap$2.get(instance);
|
912
|
+
|
913
|
+
return Array.from(cache.values());
|
914
|
+
}
|
915
|
+
|
916
|
+
/**
|
917
|
+
* @fileoverview `ConfigDependency` class.
|
918
|
+
*
|
919
|
+
* `ConfigDependency` class expresses a loaded parser or plugin.
|
920
|
+
*
|
921
|
+
* If the parser or plugin was loaded successfully, it has `definition` property
|
922
|
+
* and `filePath` property. Otherwise, it has `error` property.
|
923
|
+
*
|
924
|
+
* When `JSON.stringify()` converted a `ConfigDependency` object to a JSON, it
|
925
|
+
* omits `definition` property.
|
926
|
+
*
|
927
|
+
* `ConfigArrayFactory` creates `ConfigDependency` objects when it loads parsers
|
928
|
+
* or plugins.
|
929
|
+
*
|
930
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
931
|
+
*/
|
932
|
+
|
933
|
+
/**
|
934
|
+
* The class is to store parsers or plugins.
|
935
|
+
* This class hides the loaded object from `JSON.stringify()` and `console.log`.
|
936
|
+
* @template T
|
937
|
+
*/
|
938
|
+
class ConfigDependency {
|
939
|
+
|
940
|
+
/**
|
941
|
+
* Initialize this instance.
|
942
|
+
* @param {Object} data The dependency data.
|
943
|
+
* @param {T} [data.definition] The dependency if the loading succeeded.
|
944
|
+
* @param {Error} [data.error] The error object if the loading failed.
|
945
|
+
* @param {string} [data.filePath] The actual path to the dependency if the loading succeeded.
|
946
|
+
* @param {string} data.id The ID of this dependency.
|
947
|
+
* @param {string} data.importerName The name of the config file which loads this dependency.
|
948
|
+
* @param {string} data.importerPath The path to the config file which loads this dependency.
|
949
|
+
*/
|
950
|
+
constructor({
|
951
|
+
definition = null,
|
952
|
+
error = null,
|
953
|
+
filePath = null,
|
954
|
+
id,
|
955
|
+
importerName,
|
956
|
+
importerPath
|
957
|
+
}) {
|
958
|
+
|
959
|
+
/**
|
960
|
+
* The loaded dependency if the loading succeeded.
|
961
|
+
* @type {T|null}
|
962
|
+
*/
|
963
|
+
this.definition = definition;
|
964
|
+
|
965
|
+
/**
|
966
|
+
* The error object if the loading failed.
|
967
|
+
* @type {Error|null}
|
968
|
+
*/
|
969
|
+
this.error = error;
|
970
|
+
|
971
|
+
/**
|
972
|
+
* The loaded dependency if the loading succeeded.
|
973
|
+
* @type {string|null}
|
974
|
+
*/
|
975
|
+
this.filePath = filePath;
|
976
|
+
|
977
|
+
/**
|
978
|
+
* The ID of this dependency.
|
979
|
+
* @type {string}
|
980
|
+
*/
|
981
|
+
this.id = id;
|
982
|
+
|
983
|
+
/**
|
984
|
+
* The name of the config file which loads this dependency.
|
985
|
+
* @type {string}
|
986
|
+
*/
|
987
|
+
this.importerName = importerName;
|
988
|
+
|
989
|
+
/**
|
990
|
+
* The path to the config file which loads this dependency.
|
991
|
+
* @type {string}
|
992
|
+
*/
|
993
|
+
this.importerPath = importerPath;
|
994
|
+
}
|
995
|
+
|
996
|
+
// eslint-disable-next-line jsdoc/require-description
|
997
|
+
/**
|
998
|
+
* @returns {Object} a JSON compatible object.
|
999
|
+
*/
|
1000
|
+
toJSON() {
|
1001
|
+
const obj = this[util__default["default"].inspect.custom]();
|
1002
|
+
|
1003
|
+
// Display `error.message` (`Error#message` is unenumerable).
|
1004
|
+
if (obj.error instanceof Error) {
|
1005
|
+
obj.error = { ...obj.error, message: obj.error.message };
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
return obj;
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
// eslint-disable-next-line jsdoc/require-description
|
1012
|
+
/**
|
1013
|
+
* @returns {Object} an object to display by `console.log()`.
|
1014
|
+
*/
|
1015
|
+
[util__default["default"].inspect.custom]() {
|
1016
|
+
const {
|
1017
|
+
definition: _ignore, // eslint-disable-line no-unused-vars
|
1018
|
+
...obj
|
1019
|
+
} = this;
|
1020
|
+
|
1021
|
+
return obj;
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
/**
|
1026
|
+
* @fileoverview `OverrideTester` class.
|
1027
|
+
*
|
1028
|
+
* `OverrideTester` class handles `files` property and `excludedFiles` property
|
1029
|
+
* of `overrides` config.
|
1030
|
+
*
|
1031
|
+
* It provides one method.
|
1032
|
+
*
|
1033
|
+
* - `test(filePath)`
|
1034
|
+
* Test if a file path matches the pair of `files` property and
|
1035
|
+
* `excludedFiles` property. The `filePath` argument must be an absolute
|
1036
|
+
* path.
|
1037
|
+
*
|
1038
|
+
* `ConfigArrayFactory` creates `OverrideTester` objects when it processes
|
1039
|
+
* `overrides` properties.
|
1040
|
+
*
|
1041
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
1042
|
+
*/
|
1043
|
+
|
1044
|
+
const { Minimatch } = minimatch__default["default"];
|
1045
|
+
|
1046
|
+
const minimatchOpts = { dot: true, matchBase: true };
|
1047
|
+
|
1048
|
+
/**
|
1049
|
+
* @typedef {Object} Pattern
|
1050
|
+
* @property {InstanceType<Minimatch>[] | null} includes The positive matchers.
|
1051
|
+
* @property {InstanceType<Minimatch>[] | null} excludes The negative matchers.
|
1052
|
+
*/
|
1053
|
+
|
1054
|
+
/**
|
1055
|
+
* Normalize a given pattern to an array.
|
1056
|
+
* @param {string|string[]|undefined} patterns A glob pattern or an array of glob patterns.
|
1057
|
+
* @returns {string[]|null} Normalized patterns.
|
1058
|
+
* @private
|
1059
|
+
*/
|
1060
|
+
function normalizePatterns(patterns) {
|
1061
|
+
if (Array.isArray(patterns)) {
|
1062
|
+
return patterns.filter(Boolean);
|
1063
|
+
}
|
1064
|
+
if (typeof patterns === "string" && patterns) {
|
1065
|
+
return [patterns];
|
1066
|
+
}
|
1067
|
+
return [];
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
/**
|
1071
|
+
* Create the matchers of given patterns.
|
1072
|
+
* @param {string[]} patterns The patterns.
|
1073
|
+
* @returns {InstanceType<Minimatch>[] | null} The matchers.
|
1074
|
+
*/
|
1075
|
+
function toMatcher(patterns) {
|
1076
|
+
if (patterns.length === 0) {
|
1077
|
+
return null;
|
1078
|
+
}
|
1079
|
+
return patterns.map(pattern => {
|
1080
|
+
if (/^\.[/\\]/u.test(pattern)) {
|
1081
|
+
return new Minimatch(
|
1082
|
+
pattern.slice(2),
|
1083
|
+
|
1084
|
+
// `./*.js` should not match with `subdir/foo.js`
|
1085
|
+
{ ...minimatchOpts, matchBase: false }
|
1086
|
+
);
|
1087
|
+
}
|
1088
|
+
return new Minimatch(pattern, minimatchOpts);
|
1089
|
+
});
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
/**
|
1093
|
+
* Convert a given matcher to string.
|
1094
|
+
* @param {Pattern} matchers The matchers.
|
1095
|
+
* @returns {string} The string expression of the matcher.
|
1096
|
+
*/
|
1097
|
+
function patternToJson({ includes, excludes }) {
|
1098
|
+
return {
|
1099
|
+
includes: includes && includes.map(m => m.pattern),
|
1100
|
+
excludes: excludes && excludes.map(m => m.pattern)
|
1101
|
+
};
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
/**
|
1105
|
+
* The class to test given paths are matched by the patterns.
|
1106
|
+
*/
|
1107
|
+
class OverrideTester {
|
1108
|
+
|
1109
|
+
/**
|
1110
|
+
* Create a tester with given criteria.
|
1111
|
+
* If there are no criteria, returns `null`.
|
1112
|
+
* @param {string|string[]} files The glob patterns for included files.
|
1113
|
+
* @param {string|string[]} excludedFiles The glob patterns for excluded files.
|
1114
|
+
* @param {string} basePath The path to the base directory to test paths.
|
1115
|
+
* @returns {OverrideTester|null} The created instance or `null`.
|
1116
|
+
*/
|
1117
|
+
static create(files, excludedFiles, basePath) {
|
1118
|
+
const includePatterns = normalizePatterns(files);
|
1119
|
+
const excludePatterns = normalizePatterns(excludedFiles);
|
1120
|
+
let endsWithWildcard = false;
|
1121
|
+
|
1122
|
+
if (includePatterns.length === 0) {
|
1123
|
+
return null;
|
1124
|
+
}
|
1125
|
+
|
1126
|
+
// Rejects absolute paths or relative paths to parents.
|
1127
|
+
for (const pattern of includePatterns) {
|
1128
|
+
if (path__default["default"].isAbsolute(pattern) || pattern.includes("..")) {
|
1129
|
+
throw new Error(`Invalid override pattern (expected relative path not containing '..'): ${pattern}`);
|
1130
|
+
}
|
1131
|
+
if (pattern.endsWith("*")) {
|
1132
|
+
endsWithWildcard = true;
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
for (const pattern of excludePatterns) {
|
1136
|
+
if (path__default["default"].isAbsolute(pattern) || pattern.includes("..")) {
|
1137
|
+
throw new Error(`Invalid override pattern (expected relative path not containing '..'): ${pattern}`);
|
1138
|
+
}
|
1139
|
+
}
|
1140
|
+
|
1141
|
+
const includes = toMatcher(includePatterns);
|
1142
|
+
const excludes = toMatcher(excludePatterns);
|
1143
|
+
|
1144
|
+
return new OverrideTester(
|
1145
|
+
[{ includes, excludes }],
|
1146
|
+
basePath,
|
1147
|
+
endsWithWildcard
|
1148
|
+
);
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
/**
|
1152
|
+
* Combine two testers by logical and.
|
1153
|
+
* If either of the testers was `null`, returns the other tester.
|
1154
|
+
* The `basePath` property of the two must be the same value.
|
1155
|
+
* @param {OverrideTester|null} a A tester.
|
1156
|
+
* @param {OverrideTester|null} b Another tester.
|
1157
|
+
* @returns {OverrideTester|null} Combined tester.
|
1158
|
+
*/
|
1159
|
+
static and(a, b) {
|
1160
|
+
if (!b) {
|
1161
|
+
return a && new OverrideTester(
|
1162
|
+
a.patterns,
|
1163
|
+
a.basePath,
|
1164
|
+
a.endsWithWildcard
|
1165
|
+
);
|
1166
|
+
}
|
1167
|
+
if (!a) {
|
1168
|
+
return new OverrideTester(
|
1169
|
+
b.patterns,
|
1170
|
+
b.basePath,
|
1171
|
+
b.endsWithWildcard
|
1172
|
+
);
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
assert__default["default"].strictEqual(a.basePath, b.basePath);
|
1176
|
+
return new OverrideTester(
|
1177
|
+
a.patterns.concat(b.patterns),
|
1178
|
+
a.basePath,
|
1179
|
+
a.endsWithWildcard || b.endsWithWildcard
|
1180
|
+
);
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
/**
|
1184
|
+
* Initialize this instance.
|
1185
|
+
* @param {Pattern[]} patterns The matchers.
|
1186
|
+
* @param {string} basePath The base path.
|
1187
|
+
* @param {boolean} endsWithWildcard If `true` then a pattern ends with `*`.
|
1188
|
+
*/
|
1189
|
+
constructor(patterns, basePath, endsWithWildcard = false) {
|
1190
|
+
|
1191
|
+
/** @type {Pattern[]} */
|
1192
|
+
this.patterns = patterns;
|
1193
|
+
|
1194
|
+
/** @type {string} */
|
1195
|
+
this.basePath = basePath;
|
1196
|
+
|
1197
|
+
/** @type {boolean} */
|
1198
|
+
this.endsWithWildcard = endsWithWildcard;
|
1199
|
+
}
|
1200
|
+
|
1201
|
+
/**
|
1202
|
+
* Test if a given path is matched or not.
|
1203
|
+
* @param {string} filePath The absolute path to the target file.
|
1204
|
+
* @returns {boolean} `true` if the path was matched.
|
1205
|
+
*/
|
1206
|
+
test(filePath) {
|
1207
|
+
if (typeof filePath !== "string" || !path__default["default"].isAbsolute(filePath)) {
|
1208
|
+
throw new Error(`'filePath' should be an absolute path, but got ${filePath}.`);
|
1209
|
+
}
|
1210
|
+
const relativePath = path__default["default"].relative(this.basePath, filePath);
|
1211
|
+
|
1212
|
+
return this.patterns.every(({ includes, excludes }) => (
|
1213
|
+
(!includes || includes.some(m => m.match(relativePath))) &&
|
1214
|
+
(!excludes || !excludes.some(m => m.match(relativePath)))
|
1215
|
+
));
|
1216
|
+
}
|
1217
|
+
|
1218
|
+
// eslint-disable-next-line jsdoc/require-description
|
1219
|
+
/**
|
1220
|
+
* @returns {Object} a JSON compatible object.
|
1221
|
+
*/
|
1222
|
+
toJSON() {
|
1223
|
+
if (this.patterns.length === 1) {
|
1224
|
+
return {
|
1225
|
+
...patternToJson(this.patterns[0]),
|
1226
|
+
basePath: this.basePath
|
1227
|
+
};
|
1228
|
+
}
|
1229
|
+
return {
|
1230
|
+
AND: this.patterns.map(patternToJson),
|
1231
|
+
basePath: this.basePath
|
1232
|
+
};
|
1233
|
+
}
|
1234
|
+
|
1235
|
+
// eslint-disable-next-line jsdoc/require-description
|
1236
|
+
/**
|
1237
|
+
* @returns {Object} an object to display by `console.log()`.
|
1238
|
+
*/
|
1239
|
+
[util__default["default"].inspect.custom]() {
|
1240
|
+
return this.toJSON();
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
/**
|
1245
|
+
* @fileoverview `ConfigArray` class.
|
1246
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
1247
|
+
*/
|
1248
|
+
|
1249
|
+
/**
|
1250
|
+
* @fileoverview Config file operations. This file must be usable in the browser,
|
1251
|
+
* so no Node-specific code can be here.
|
1252
|
+
* @author Nicholas C. Zakas
|
1253
|
+
*/
|
1254
|
+
|
1255
|
+
//------------------------------------------------------------------------------
|
1256
|
+
// Private
|
1257
|
+
//------------------------------------------------------------------------------
|
1258
|
+
|
1259
|
+
const RULE_SEVERITY_STRINGS = ["off", "warn", "error"],
|
1260
|
+
RULE_SEVERITY = RULE_SEVERITY_STRINGS.reduce((map, value, index) => {
|
1261
|
+
map[value] = index;
|
1262
|
+
return map;
|
1263
|
+
}, {}),
|
1264
|
+
VALID_SEVERITIES = [0, 1, 2, "off", "warn", "error"];
|
1265
|
+
|
1266
|
+
//------------------------------------------------------------------------------
|
1267
|
+
// Public Interface
|
1268
|
+
//------------------------------------------------------------------------------
|
1269
|
+
|
1270
|
+
/**
|
1271
|
+
* Normalizes the severity value of a rule's configuration to a number
|
1272
|
+
* @param {(number|string|[number, ...*]|[string, ...*])} ruleConfig A rule's configuration value, generally
|
1273
|
+
* received from the user. A valid config value is either 0, 1, 2, the string "off" (treated the same as 0),
|
1274
|
+
* the string "warn" (treated the same as 1), the string "error" (treated the same as 2), or an array
|
1275
|
+
* whose first element is one of the above values. Strings are matched case-insensitively.
|
1276
|
+
* @returns {(0|1|2)} The numeric severity value if the config value was valid, otherwise 0.
|
1277
|
+
*/
|
1278
|
+
function getRuleSeverity(ruleConfig) {
|
1279
|
+
const severityValue = Array.isArray(ruleConfig) ? ruleConfig[0] : ruleConfig;
|
1280
|
+
|
1281
|
+
if (severityValue === 0 || severityValue === 1 || severityValue === 2) {
|
1282
|
+
return severityValue;
|
1283
|
+
}
|
1284
|
+
|
1285
|
+
if (typeof severityValue === "string") {
|
1286
|
+
return RULE_SEVERITY[severityValue.toLowerCase()] || 0;
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
return 0;
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
/**
|
1293
|
+
* Converts old-style severity settings (0, 1, 2) into new-style
|
1294
|
+
* severity settings (off, warn, error) for all rules. Assumption is that severity
|
1295
|
+
* values have already been validated as correct.
|
1296
|
+
* @param {Object} config The config object to normalize.
|
1297
|
+
* @returns {void}
|
1298
|
+
*/
|
1299
|
+
function normalizeToStrings(config) {
|
1300
|
+
|
1301
|
+
if (config.rules) {
|
1302
|
+
Object.keys(config.rules).forEach(ruleId => {
|
1303
|
+
const ruleConfig = config.rules[ruleId];
|
1304
|
+
|
1305
|
+
if (typeof ruleConfig === "number") {
|
1306
|
+
config.rules[ruleId] = RULE_SEVERITY_STRINGS[ruleConfig] || RULE_SEVERITY_STRINGS[0];
|
1307
|
+
} else if (Array.isArray(ruleConfig) && typeof ruleConfig[0] === "number") {
|
1308
|
+
ruleConfig[0] = RULE_SEVERITY_STRINGS[ruleConfig[0]] || RULE_SEVERITY_STRINGS[0];
|
1309
|
+
}
|
1310
|
+
});
|
1311
|
+
}
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
/**
|
1315
|
+
* Determines if the severity for the given rule configuration represents an error.
|
1316
|
+
* @param {int|string|Array} ruleConfig The configuration for an individual rule.
|
1317
|
+
* @returns {boolean} True if the rule represents an error, false if not.
|
1318
|
+
*/
|
1319
|
+
function isErrorSeverity(ruleConfig) {
|
1320
|
+
return getRuleSeverity(ruleConfig) === 2;
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
/**
|
1324
|
+
* Checks whether a given config has valid severity or not.
|
1325
|
+
* @param {number|string|Array} ruleConfig The configuration for an individual rule.
|
1326
|
+
* @returns {boolean} `true` if the configuration has valid severity.
|
1327
|
+
*/
|
1328
|
+
function isValidSeverity(ruleConfig) {
|
1329
|
+
let severity = Array.isArray(ruleConfig) ? ruleConfig[0] : ruleConfig;
|
1330
|
+
|
1331
|
+
if (typeof severity === "string") {
|
1332
|
+
severity = severity.toLowerCase();
|
1333
|
+
}
|
1334
|
+
return VALID_SEVERITIES.indexOf(severity) !== -1;
|
1335
|
+
}
|
1336
|
+
|
1337
|
+
/**
|
1338
|
+
* Checks whether every rule of a given config has valid severity or not.
|
1339
|
+
* @param {Object} config The configuration for rules.
|
1340
|
+
* @returns {boolean} `true` if the configuration has valid severity.
|
1341
|
+
*/
|
1342
|
+
function isEverySeverityValid(config) {
|
1343
|
+
return Object.keys(config).every(ruleId => isValidSeverity(config[ruleId]));
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
/**
|
1347
|
+
* Normalizes a value for a global in a config
|
1348
|
+
* @param {(boolean|string|null)} configuredValue The value given for a global in configuration or in
|
1349
|
+
* a global directive comment
|
1350
|
+
* @returns {("readable"|"writeable"|"off")} The value normalized as a string
|
1351
|
+
* @throws Error if global value is invalid
|
1352
|
+
*/
|
1353
|
+
function normalizeConfigGlobal(configuredValue) {
|
1354
|
+
switch (configuredValue) {
|
1355
|
+
case "off":
|
1356
|
+
return "off";
|
1357
|
+
|
1358
|
+
case true:
|
1359
|
+
case "true":
|
1360
|
+
case "writeable":
|
1361
|
+
case "writable":
|
1362
|
+
return "writable";
|
1363
|
+
|
1364
|
+
case null:
|
1365
|
+
case false:
|
1366
|
+
case "false":
|
1367
|
+
case "readable":
|
1368
|
+
case "readonly":
|
1369
|
+
return "readonly";
|
1370
|
+
|
1371
|
+
default:
|
1372
|
+
throw new Error(`'${configuredValue}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`);
|
1373
|
+
}
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
var ConfigOps = {
|
1377
|
+
__proto__: null,
|
1378
|
+
getRuleSeverity: getRuleSeverity,
|
1379
|
+
normalizeToStrings: normalizeToStrings,
|
1380
|
+
isErrorSeverity: isErrorSeverity,
|
1381
|
+
isValidSeverity: isValidSeverity,
|
1382
|
+
isEverySeverityValid: isEverySeverityValid,
|
1383
|
+
normalizeConfigGlobal: normalizeConfigGlobal
|
1384
|
+
};
|
1385
|
+
|
1386
|
+
/**
|
1387
|
+
* @fileoverview Provide the function that emits deprecation warnings.
|
1388
|
+
* @author Toru Nagashima <http://github.com/mysticatea>
|
1389
|
+
*/
|
1390
|
+
|
1391
|
+
//------------------------------------------------------------------------------
|
1392
|
+
// Private
|
1393
|
+
//------------------------------------------------------------------------------
|
1394
|
+
|
1395
|
+
// Defitions for deprecation warnings.
|
1396
|
+
const deprecationWarningMessages = {
|
1397
|
+
ESLINT_LEGACY_ECMAFEATURES:
|
1398
|
+
"The 'ecmaFeatures' config file property is deprecated and has no effect.",
|
1399
|
+
ESLINT_PERSONAL_CONFIG_LOAD:
|
1400
|
+
"'~/.eslintrc.*' config files have been deprecated. " +
|
1401
|
+
"Please use a config file per project or the '--config' option.",
|
1402
|
+
ESLINT_PERSONAL_CONFIG_SUPPRESS:
|
1403
|
+
"'~/.eslintrc.*' config files have been deprecated. " +
|
1404
|
+
"Please remove it or add 'root:true' to the config files in your " +
|
1405
|
+
"projects in order to avoid loading '~/.eslintrc.*' accidentally."
|
1406
|
+
};
|
1407
|
+
|
1408
|
+
const sourceFileErrorCache = new Set();
|
1409
|
+
|
1410
|
+
/**
|
1411
|
+
* Emits a deprecation warning containing a given filepath. A new deprecation warning is emitted
|
1412
|
+
* for each unique file path, but repeated invocations with the same file path have no effect.
|
1413
|
+
* No warnings are emitted if the `--no-deprecation` or `--no-warnings` Node runtime flags are active.
|
1414
|
+
* @param {string} source The name of the configuration source to report the warning for.
|
1415
|
+
* @param {string} errorCode The warning message to show.
|
1416
|
+
* @returns {void}
|
1417
|
+
*/
|
1418
|
+
function emitDeprecationWarning(source, errorCode) {
|
1419
|
+
const cacheKey = JSON.stringify({ source, errorCode });
|
1420
|
+
|
1421
|
+
if (sourceFileErrorCache.has(cacheKey)) {
|
1422
|
+
return;
|
1423
|
+
}
|
1424
|
+
sourceFileErrorCache.add(cacheKey);
|
1425
|
+
|
1426
|
+
const rel = path__default["default"].relative(process.cwd(), source);
|
1427
|
+
const message = deprecationWarningMessages[errorCode];
|
1428
|
+
|
1429
|
+
process.emitWarning(
|
1430
|
+
`${message} (found in "${rel}")`,
|
1431
|
+
"DeprecationWarning",
|
1432
|
+
errorCode
|
1433
|
+
);
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
/**
|
1437
|
+
* @fileoverview The instance of Ajv validator.
|
1438
|
+
* @author Evgeny Poberezkin
|
1439
|
+
*/
|
1440
|
+
|
1441
|
+
//-----------------------------------------------------------------------------
|
1442
|
+
// Helpers
|
1443
|
+
//-----------------------------------------------------------------------------
|
1444
|
+
|
1445
|
+
/*
|
1446
|
+
* Copied from ajv/lib/refs/json-schema-draft-04.json
|
1447
|
+
* The MIT License (MIT)
|
1448
|
+
* Copyright (c) 2015-2017 Evgeny Poberezkin
|
1449
|
+
*/
|
1450
|
+
const metaSchema = {
|
1451
|
+
id: "http://json-schema.org/draft-04/schema#",
|
1452
|
+
$schema: "http://json-schema.org/draft-04/schema#",
|
1453
|
+
description: "Core schema meta-schema",
|
1454
|
+
definitions: {
|
1455
|
+
schemaArray: {
|
1456
|
+
type: "array",
|
1457
|
+
minItems: 1,
|
1458
|
+
items: { $ref: "#" }
|
1459
|
+
},
|
1460
|
+
positiveInteger: {
|
1461
|
+
type: "integer",
|
1462
|
+
minimum: 0
|
1463
|
+
},
|
1464
|
+
positiveIntegerDefault0: {
|
1465
|
+
allOf: [{ $ref: "#/definitions/positiveInteger" }, { default: 0 }]
|
1466
|
+
},
|
1467
|
+
simpleTypes: {
|
1468
|
+
enum: ["array", "boolean", "integer", "null", "number", "object", "string"]
|
1469
|
+
},
|
1470
|
+
stringArray: {
|
1471
|
+
type: "array",
|
1472
|
+
items: { type: "string" },
|
1473
|
+
minItems: 1,
|
1474
|
+
uniqueItems: true
|
1475
|
+
}
|
1476
|
+
},
|
1477
|
+
type: "object",
|
1478
|
+
properties: {
|
1479
|
+
id: {
|
1480
|
+
type: "string"
|
1481
|
+
},
|
1482
|
+
$schema: {
|
1483
|
+
type: "string"
|
1484
|
+
},
|
1485
|
+
title: {
|
1486
|
+
type: "string"
|
1487
|
+
},
|
1488
|
+
description: {
|
1489
|
+
type: "string"
|
1490
|
+
},
|
1491
|
+
default: { },
|
1492
|
+
multipleOf: {
|
1493
|
+
type: "number",
|
1494
|
+
minimum: 0,
|
1495
|
+
exclusiveMinimum: true
|
1496
|
+
},
|
1497
|
+
maximum: {
|
1498
|
+
type: "number"
|
1499
|
+
},
|
1500
|
+
exclusiveMaximum: {
|
1501
|
+
type: "boolean",
|
1502
|
+
default: false
|
1503
|
+
},
|
1504
|
+
minimum: {
|
1505
|
+
type: "number"
|
1506
|
+
},
|
1507
|
+
exclusiveMinimum: {
|
1508
|
+
type: "boolean",
|
1509
|
+
default: false
|
1510
|
+
},
|
1511
|
+
maxLength: { $ref: "#/definitions/positiveInteger" },
|
1512
|
+
minLength: { $ref: "#/definitions/positiveIntegerDefault0" },
|
1513
|
+
pattern: {
|
1514
|
+
type: "string",
|
1515
|
+
format: "regex"
|
1516
|
+
},
|
1517
|
+
additionalItems: {
|
1518
|
+
anyOf: [
|
1519
|
+
{ type: "boolean" },
|
1520
|
+
{ $ref: "#" }
|
1521
|
+
],
|
1522
|
+
default: { }
|
1523
|
+
},
|
1524
|
+
items: {
|
1525
|
+
anyOf: [
|
1526
|
+
{ $ref: "#" },
|
1527
|
+
{ $ref: "#/definitions/schemaArray" }
|
1528
|
+
],
|
1529
|
+
default: { }
|
1530
|
+
},
|
1531
|
+
maxItems: { $ref: "#/definitions/positiveInteger" },
|
1532
|
+
minItems: { $ref: "#/definitions/positiveIntegerDefault0" },
|
1533
|
+
uniqueItems: {
|
1534
|
+
type: "boolean",
|
1535
|
+
default: false
|
1536
|
+
},
|
1537
|
+
maxProperties: { $ref: "#/definitions/positiveInteger" },
|
1538
|
+
minProperties: { $ref: "#/definitions/positiveIntegerDefault0" },
|
1539
|
+
required: { $ref: "#/definitions/stringArray" },
|
1540
|
+
additionalProperties: {
|
1541
|
+
anyOf: [
|
1542
|
+
{ type: "boolean" },
|
1543
|
+
{ $ref: "#" }
|
1544
|
+
],
|
1545
|
+
default: { }
|
1546
|
+
},
|
1547
|
+
definitions: {
|
1548
|
+
type: "object",
|
1549
|
+
additionalProperties: { $ref: "#" },
|
1550
|
+
default: { }
|
1551
|
+
},
|
1552
|
+
properties: {
|
1553
|
+
type: "object",
|
1554
|
+
additionalProperties: { $ref: "#" },
|
1555
|
+
default: { }
|
1556
|
+
},
|
1557
|
+
patternProperties: {
|
1558
|
+
type: "object",
|
1559
|
+
additionalProperties: { $ref: "#" },
|
1560
|
+
default: { }
|
1561
|
+
},
|
1562
|
+
dependencies: {
|
1563
|
+
type: "object",
|
1564
|
+
additionalProperties: {
|
1565
|
+
anyOf: [
|
1566
|
+
{ $ref: "#" },
|
1567
|
+
{ $ref: "#/definitions/stringArray" }
|
1568
|
+
]
|
1569
|
+
}
|
1570
|
+
},
|
1571
|
+
enum: {
|
1572
|
+
type: "array",
|
1573
|
+
minItems: 1,
|
1574
|
+
uniqueItems: true
|
1575
|
+
},
|
1576
|
+
type: {
|
1577
|
+
anyOf: [
|
1578
|
+
{ $ref: "#/definitions/simpleTypes" },
|
1579
|
+
{
|
1580
|
+
type: "array",
|
1581
|
+
items: { $ref: "#/definitions/simpleTypes" },
|
1582
|
+
minItems: 1,
|
1583
|
+
uniqueItems: true
|
1584
|
+
}
|
1585
|
+
]
|
1586
|
+
},
|
1587
|
+
format: { type: "string" },
|
1588
|
+
allOf: { $ref: "#/definitions/schemaArray" },
|
1589
|
+
anyOf: { $ref: "#/definitions/schemaArray" },
|
1590
|
+
oneOf: { $ref: "#/definitions/schemaArray" },
|
1591
|
+
not: { $ref: "#" }
|
1592
|
+
},
|
1593
|
+
dependencies: {
|
1594
|
+
exclusiveMaximum: ["maximum"],
|
1595
|
+
exclusiveMinimum: ["minimum"]
|
1596
|
+
},
|
1597
|
+
default: { }
|
1598
|
+
};
|
1599
|
+
|
1600
|
+
//------------------------------------------------------------------------------
|
1601
|
+
// Public Interface
|
1602
|
+
//------------------------------------------------------------------------------
|
1603
|
+
|
1604
|
+
var ajvOrig = (additionalOptions = {}) => {
|
1605
|
+
const ajv = new Ajv__default["default"]({
|
1606
|
+
meta: false,
|
1607
|
+
useDefaults: true,
|
1608
|
+
validateSchema: false,
|
1609
|
+
missingRefs: "ignore",
|
1610
|
+
verbose: true,
|
1611
|
+
schemaId: "auto",
|
1612
|
+
...additionalOptions
|
1613
|
+
});
|
1614
|
+
|
1615
|
+
ajv.addMetaSchema(metaSchema);
|
1616
|
+
// eslint-disable-next-line no-underscore-dangle
|
1617
|
+
ajv._opts.defaultMeta = metaSchema.id;
|
1618
|
+
|
1619
|
+
return ajv;
|
1620
|
+
};
|
1621
|
+
|
1622
|
+
/**
|
1623
|
+
* @fileoverview Defines a schema for configs.
|
1624
|
+
* @author Sylvan Mably
|
1625
|
+
*/
|
1626
|
+
|
1627
|
+
const baseConfigProperties = {
|
1628
|
+
$schema: { type: "string" },
|
1629
|
+
env: { type: "object" },
|
1630
|
+
extends: { $ref: "#/definitions/stringOrStrings" },
|
1631
|
+
globals: { type: "object" },
|
1632
|
+
overrides: {
|
1633
|
+
type: "array",
|
1634
|
+
items: { $ref: "#/definitions/overrideConfig" },
|
1635
|
+
additionalItems: false
|
1636
|
+
},
|
1637
|
+
parser: { type: ["string", "null"] },
|
1638
|
+
parserOptions: { type: "object" },
|
1639
|
+
plugins: { type: "array" },
|
1640
|
+
processor: { type: "string" },
|
1641
|
+
rules: { type: "object" },
|
1642
|
+
settings: { type: "object" },
|
1643
|
+
noInlineConfig: { type: "boolean" },
|
1644
|
+
reportUnusedDisableDirectives: { type: "boolean" },
|
1645
|
+
|
1646
|
+
ecmaFeatures: { type: "object" } // deprecated; logs a warning when used
|
1647
|
+
};
|
1648
|
+
|
1649
|
+
const configSchema = {
|
1650
|
+
definitions: {
|
1651
|
+
stringOrStrings: {
|
1652
|
+
oneOf: [
|
1653
|
+
{ type: "string" },
|
1654
|
+
{
|
1655
|
+
type: "array",
|
1656
|
+
items: { type: "string" },
|
1657
|
+
additionalItems: false
|
1658
|
+
}
|
1659
|
+
]
|
1660
|
+
},
|
1661
|
+
stringOrStringsRequired: {
|
1662
|
+
oneOf: [
|
1663
|
+
{ type: "string" },
|
1664
|
+
{
|
1665
|
+
type: "array",
|
1666
|
+
items: { type: "string" },
|
1667
|
+
additionalItems: false,
|
1668
|
+
minItems: 1
|
1669
|
+
}
|
1670
|
+
]
|
1671
|
+
},
|
1672
|
+
|
1673
|
+
// Config at top-level.
|
1674
|
+
objectConfig: {
|
1675
|
+
type: "object",
|
1676
|
+
properties: {
|
1677
|
+
root: { type: "boolean" },
|
1678
|
+
ignorePatterns: { $ref: "#/definitions/stringOrStrings" },
|
1679
|
+
...baseConfigProperties
|
1680
|
+
},
|
1681
|
+
additionalProperties: false
|
1682
|
+
},
|
1683
|
+
|
1684
|
+
// Config in `overrides`.
|
1685
|
+
overrideConfig: {
|
1686
|
+
type: "object",
|
1687
|
+
properties: {
|
1688
|
+
excludedFiles: { $ref: "#/definitions/stringOrStrings" },
|
1689
|
+
files: { $ref: "#/definitions/stringOrStringsRequired" },
|
1690
|
+
...baseConfigProperties
|
1691
|
+
},
|
1692
|
+
required: ["files"],
|
1693
|
+
additionalProperties: false
|
1694
|
+
}
|
1695
|
+
},
|
1696
|
+
|
1697
|
+
$ref: "#/definitions/objectConfig"
|
1698
|
+
};
|
1699
|
+
|
1700
|
+
/**
|
1701
|
+
* @fileoverview Defines environment settings and globals.
|
1702
|
+
* @author Elan Shanker
|
1703
|
+
*/
|
1704
|
+
|
1705
|
+
//------------------------------------------------------------------------------
|
1706
|
+
// Helpers
|
1707
|
+
//------------------------------------------------------------------------------
|
1708
|
+
|
1709
|
+
/**
|
1710
|
+
* Get the object that has difference.
|
1711
|
+
* @param {Record<string,boolean>} current The newer object.
|
1712
|
+
* @param {Record<string,boolean>} prev The older object.
|
1713
|
+
* @returns {Record<string,boolean>} The difference object.
|
1714
|
+
*/
|
1715
|
+
function getDiff(current, prev) {
|
1716
|
+
const retv = {};
|
1717
|
+
|
1718
|
+
for (const [key, value] of Object.entries(current)) {
|
1719
|
+
if (!Object.hasOwnProperty.call(prev, key)) {
|
1720
|
+
retv[key] = value;
|
1721
|
+
}
|
1722
|
+
}
|
1723
|
+
|
1724
|
+
return retv;
|
1725
|
+
}
|
1726
|
+
|
1727
|
+
const newGlobals2015 = getDiff(globals__default["default"].es2015, globals__default["default"].es5); // 19 variables such as Promise, Map, ...
|
1728
|
+
const newGlobals2017 = {
|
1729
|
+
Atomics: false,
|
1730
|
+
SharedArrayBuffer: false
|
1731
|
+
};
|
1732
|
+
const newGlobals2020 = {
|
1733
|
+
BigInt: false,
|
1734
|
+
BigInt64Array: false,
|
1735
|
+
BigUint64Array: false,
|
1736
|
+
globalThis: false
|
1737
|
+
};
|
1738
|
+
|
1739
|
+
const newGlobals2021 = {
|
1740
|
+
AggregateError: false,
|
1741
|
+
FinalizationRegistry: false,
|
1742
|
+
WeakRef: false
|
1743
|
+
};
|
1744
|
+
|
1745
|
+
//------------------------------------------------------------------------------
|
1746
|
+
// Public Interface
|
1747
|
+
//------------------------------------------------------------------------------
|
1748
|
+
|
1749
|
+
/** @type {Map<string, import("../lib/shared/types").Environment>} */
|
1750
|
+
var environments = new Map(Object.entries({
|
1751
|
+
|
1752
|
+
// Language
|
1753
|
+
builtin: {
|
1754
|
+
globals: globals__default["default"].es5
|
1755
|
+
},
|
1756
|
+
es6: {
|
1757
|
+
globals: newGlobals2015,
|
1758
|
+
parserOptions: {
|
1759
|
+
ecmaVersion: 6
|
1760
|
+
}
|
1761
|
+
},
|
1762
|
+
es2015: {
|
1763
|
+
globals: newGlobals2015,
|
1764
|
+
parserOptions: {
|
1765
|
+
ecmaVersion: 6
|
1766
|
+
}
|
1767
|
+
},
|
1768
|
+
es2016: {
|
1769
|
+
globals: newGlobals2015,
|
1770
|
+
parserOptions: {
|
1771
|
+
ecmaVersion: 7
|
1772
|
+
}
|
1773
|
+
},
|
1774
|
+
es2017: {
|
1775
|
+
globals: { ...newGlobals2015, ...newGlobals2017 },
|
1776
|
+
parserOptions: {
|
1777
|
+
ecmaVersion: 8
|
1778
|
+
}
|
1779
|
+
},
|
1780
|
+
es2018: {
|
1781
|
+
globals: { ...newGlobals2015, ...newGlobals2017 },
|
1782
|
+
parserOptions: {
|
1783
|
+
ecmaVersion: 9
|
1784
|
+
}
|
1785
|
+
},
|
1786
|
+
es2019: {
|
1787
|
+
globals: { ...newGlobals2015, ...newGlobals2017 },
|
1788
|
+
parserOptions: {
|
1789
|
+
ecmaVersion: 10
|
1790
|
+
}
|
1791
|
+
},
|
1792
|
+
es2020: {
|
1793
|
+
globals: { ...newGlobals2015, ...newGlobals2017, ...newGlobals2020 },
|
1794
|
+
parserOptions: {
|
1795
|
+
ecmaVersion: 11
|
1796
|
+
}
|
1797
|
+
},
|
1798
|
+
es2021: {
|
1799
|
+
globals: { ...newGlobals2015, ...newGlobals2017, ...newGlobals2020, ...newGlobals2021 },
|
1800
|
+
parserOptions: {
|
1801
|
+
ecmaVersion: 12
|
1802
|
+
}
|
1803
|
+
},
|
1804
|
+
es2022: {
|
1805
|
+
globals: { ...newGlobals2015, ...newGlobals2017, ...newGlobals2020, ...newGlobals2021 },
|
1806
|
+
parserOptions: {
|
1807
|
+
ecmaVersion: 13
|
1808
|
+
}
|
1809
|
+
},
|
1810
|
+
es2023: {
|
1811
|
+
globals: { ...newGlobals2015, ...newGlobals2017, ...newGlobals2020, ...newGlobals2021 },
|
1812
|
+
parserOptions: {
|
1813
|
+
ecmaVersion: 14
|
1814
|
+
}
|
1815
|
+
},
|
1816
|
+
es2024: {
|
1817
|
+
globals: { ...newGlobals2015, ...newGlobals2017, ...newGlobals2020, ...newGlobals2021 },
|
1818
|
+
parserOptions: {
|
1819
|
+
ecmaVersion: 15
|
1820
|
+
}
|
1821
|
+
},
|
1822
|
+
|
1823
|
+
// Platforms
|
1824
|
+
browser: {
|
1825
|
+
globals: globals__default["default"].browser
|
1826
|
+
},
|
1827
|
+
node: {
|
1828
|
+
globals: globals__default["default"].node,
|
1829
|
+
parserOptions: {
|
1830
|
+
ecmaFeatures: {
|
1831
|
+
globalReturn: true
|
1832
|
+
}
|
1833
|
+
}
|
1834
|
+
},
|
1835
|
+
"shared-node-browser": {
|
1836
|
+
globals: globals__default["default"]["shared-node-browser"]
|
1837
|
+
},
|
1838
|
+
worker: {
|
1839
|
+
globals: globals__default["default"].worker
|
1840
|
+
},
|
1841
|
+
serviceworker: {
|
1842
|
+
globals: globals__default["default"].serviceworker
|
1843
|
+
},
|
1844
|
+
|
1845
|
+
// Frameworks
|
1846
|
+
commonjs: {
|
1847
|
+
globals: globals__default["default"].commonjs,
|
1848
|
+
parserOptions: {
|
1849
|
+
ecmaFeatures: {
|
1850
|
+
globalReturn: true
|
1851
|
+
}
|
1852
|
+
}
|
1853
|
+
},
|
1854
|
+
amd: {
|
1855
|
+
globals: globals__default["default"].amd
|
1856
|
+
},
|
1857
|
+
mocha: {
|
1858
|
+
globals: globals__default["default"].mocha
|
1859
|
+
},
|
1860
|
+
jasmine: {
|
1861
|
+
globals: globals__default["default"].jasmine
|
1862
|
+
},
|
1863
|
+
jest: {
|
1864
|
+
globals: globals__default["default"].jest
|
1865
|
+
},
|
1866
|
+
phantomjs: {
|
1867
|
+
globals: globals__default["default"].phantomjs
|
1868
|
+
},
|
1869
|
+
jquery: {
|
1870
|
+
globals: globals__default["default"].jquery
|
1871
|
+
},
|
1872
|
+
qunit: {
|
1873
|
+
globals: globals__default["default"].qunit
|
1874
|
+
},
|
1875
|
+
prototypejs: {
|
1876
|
+
globals: globals__default["default"].prototypejs
|
1877
|
+
},
|
1878
|
+
shelljs: {
|
1879
|
+
globals: globals__default["default"].shelljs
|
1880
|
+
},
|
1881
|
+
meteor: {
|
1882
|
+
globals: globals__default["default"].meteor
|
1883
|
+
},
|
1884
|
+
mongo: {
|
1885
|
+
globals: globals__default["default"].mongo
|
1886
|
+
},
|
1887
|
+
protractor: {
|
1888
|
+
globals: globals__default["default"].protractor
|
1889
|
+
},
|
1890
|
+
applescript: {
|
1891
|
+
globals: globals__default["default"].applescript
|
1892
|
+
},
|
1893
|
+
nashorn: {
|
1894
|
+
globals: globals__default["default"].nashorn
|
1895
|
+
},
|
1896
|
+
atomtest: {
|
1897
|
+
globals: globals__default["default"].atomtest
|
1898
|
+
},
|
1899
|
+
embertest: {
|
1900
|
+
globals: globals__default["default"].embertest
|
1901
|
+
},
|
1902
|
+
webextensions: {
|
1903
|
+
globals: globals__default["default"].webextensions
|
1904
|
+
},
|
1905
|
+
greasemonkey: {
|
1906
|
+
globals: globals__default["default"].greasemonkey
|
1907
|
+
}
|
1908
|
+
}));
|
1909
|
+
|
1910
|
+
/**
|
1911
|
+
* @fileoverview Validates configs.
|
1912
|
+
* @author Brandon Mills
|
1913
|
+
*/
|
1914
|
+
|
1915
|
+
const ajv = ajvOrig();
|
1916
|
+
|
1917
|
+
const ruleValidators = new WeakMap();
|
1918
|
+
const noop = Function.prototype;
|
1919
|
+
|
1920
|
+
//------------------------------------------------------------------------------
|
1921
|
+
// Private
|
1922
|
+
//------------------------------------------------------------------------------
|
1923
|
+
let validateSchema;
|
1924
|
+
const severityMap = {
|
1925
|
+
error: 2,
|
1926
|
+
warn: 1,
|
1927
|
+
off: 0
|
1928
|
+
};
|
1929
|
+
|
1930
|
+
const validated = new WeakSet();
|
1931
|
+
|
1932
|
+
//-----------------------------------------------------------------------------
|
1933
|
+
// Exports
|
1934
|
+
//-----------------------------------------------------------------------------
|
1935
|
+
|
1936
|
+
class ConfigValidator {
|
1937
|
+
constructor({ builtInRules = new Map() } = {}) {
|
1938
|
+
this.builtInRules = builtInRules;
|
1939
|
+
}
|
1940
|
+
|
1941
|
+
/**
|
1942
|
+
* Gets a complete options schema for a rule.
|
1943
|
+
* @param {{create: Function, schema: (Array|null)}} rule A new-style rule object
|
1944
|
+
* @returns {Object} JSON Schema for the rule's options.
|
1945
|
+
*/
|
1946
|
+
getRuleOptionsSchema(rule) {
|
1947
|
+
if (!rule) {
|
1948
|
+
return null;
|
1949
|
+
}
|
1950
|
+
|
1951
|
+
const schema = rule.schema || rule.meta && rule.meta.schema;
|
1952
|
+
|
1953
|
+
// Given a tuple of schemas, insert warning level at the beginning
|
1954
|
+
if (Array.isArray(schema)) {
|
1955
|
+
if (schema.length) {
|
1956
|
+
return {
|
1957
|
+
type: "array",
|
1958
|
+
items: schema,
|
1959
|
+
minItems: 0,
|
1960
|
+
maxItems: schema.length
|
1961
|
+
};
|
1962
|
+
}
|
1963
|
+
return {
|
1964
|
+
type: "array",
|
1965
|
+
minItems: 0,
|
1966
|
+
maxItems: 0
|
1967
|
+
};
|
1968
|
+
|
1969
|
+
}
|
1970
|
+
|
1971
|
+
// Given a full schema, leave it alone
|
1972
|
+
return schema || null;
|
1973
|
+
}
|
1974
|
+
|
1975
|
+
/**
|
1976
|
+
* Validates a rule's severity and returns the severity value. Throws an error if the severity is invalid.
|
1977
|
+
* @param {options} options The given options for the rule.
|
1978
|
+
* @returns {number|string} The rule's severity value
|
1979
|
+
*/
|
1980
|
+
validateRuleSeverity(options) {
|
1981
|
+
const severity = Array.isArray(options) ? options[0] : options;
|
1982
|
+
const normSeverity = typeof severity === "string" ? severityMap[severity.toLowerCase()] : severity;
|
1983
|
+
|
1984
|
+
if (normSeverity === 0 || normSeverity === 1 || normSeverity === 2) {
|
1985
|
+
return normSeverity;
|
1986
|
+
}
|
1987
|
+
|
1988
|
+
throw new Error(`\tSeverity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${util__default["default"].inspect(severity).replace(/'/gu, "\"").replace(/\n/gu, "")}').\n`);
|
1989
|
+
|
1990
|
+
}
|
1991
|
+
|
1992
|
+
/**
|
1993
|
+
* Validates the non-severity options passed to a rule, based on its schema.
|
1994
|
+
* @param {{create: Function}} rule The rule to validate
|
1995
|
+
* @param {Array} localOptions The options for the rule, excluding severity
|
1996
|
+
* @returns {void}
|
1997
|
+
*/
|
1998
|
+
validateRuleSchema(rule, localOptions) {
|
1999
|
+
if (!ruleValidators.has(rule)) {
|
2000
|
+
const schema = this.getRuleOptionsSchema(rule);
|
2001
|
+
|
2002
|
+
if (schema) {
|
2003
|
+
ruleValidators.set(rule, ajv.compile(schema));
|
2004
|
+
}
|
2005
|
+
}
|
2006
|
+
|
2007
|
+
const validateRule = ruleValidators.get(rule);
|
2008
|
+
|
2009
|
+
if (validateRule) {
|
2010
|
+
validateRule(localOptions);
|
2011
|
+
if (validateRule.errors) {
|
2012
|
+
throw new Error(validateRule.errors.map(
|
2013
|
+
error => `\tValue ${JSON.stringify(error.data)} ${error.message}.\n`
|
2014
|
+
).join(""));
|
2015
|
+
}
|
2016
|
+
}
|
2017
|
+
}
|
2018
|
+
|
2019
|
+
/**
|
2020
|
+
* Validates a rule's options against its schema.
|
2021
|
+
* @param {{create: Function}|null} rule The rule that the config is being validated for
|
2022
|
+
* @param {string} ruleId The rule's unique name.
|
2023
|
+
* @param {Array|number} options The given options for the rule.
|
2024
|
+
* @param {string|null} source The name of the configuration source to report in any errors. If null or undefined,
|
2025
|
+
* no source is prepended to the message.
|
2026
|
+
* @returns {void}
|
2027
|
+
*/
|
2028
|
+
validateRuleOptions(rule, ruleId, options, source = null) {
|
2029
|
+
try {
|
2030
|
+
const severity = this.validateRuleSeverity(options);
|
2031
|
+
|
2032
|
+
if (severity !== 0) {
|
2033
|
+
this.validateRuleSchema(rule, Array.isArray(options) ? options.slice(1) : []);
|
2034
|
+
}
|
2035
|
+
} catch (err) {
|
2036
|
+
const enhancedMessage = `Configuration for rule "${ruleId}" is invalid:\n${err.message}`;
|
2037
|
+
|
2038
|
+
if (typeof source === "string") {
|
2039
|
+
throw new Error(`${source}:\n\t${enhancedMessage}`);
|
2040
|
+
} else {
|
2041
|
+
throw new Error(enhancedMessage);
|
2042
|
+
}
|
2043
|
+
}
|
2044
|
+
}
|
2045
|
+
|
2046
|
+
/**
|
2047
|
+
* Validates an environment object
|
2048
|
+
* @param {Object} environment The environment config object to validate.
|
2049
|
+
* @param {string} source The name of the configuration source to report in any errors.
|
2050
|
+
* @param {function(envId:string): Object} [getAdditionalEnv] A map from strings to loaded environments.
|
2051
|
+
* @returns {void}
|
2052
|
+
*/
|
2053
|
+
validateEnvironment(
|
2054
|
+
environment,
|
2055
|
+
source,
|
2056
|
+
getAdditionalEnv = noop
|
2057
|
+
) {
|
2058
|
+
|
2059
|
+
// not having an environment is ok
|
2060
|
+
if (!environment) {
|
2061
|
+
return;
|
2062
|
+
}
|
2063
|
+
|
2064
|
+
Object.keys(environment).forEach(id => {
|
2065
|
+
const env = getAdditionalEnv(id) || environments.get(id) || null;
|
2066
|
+
|
2067
|
+
if (!env) {
|
2068
|
+
const message = `${source}:\n\tEnvironment key "${id}" is unknown\n`;
|
2069
|
+
|
2070
|
+
throw new Error(message);
|
2071
|
+
}
|
2072
|
+
});
|
2073
|
+
}
|
2074
|
+
|
2075
|
+
/**
|
2076
|
+
* Validates a rules config object
|
2077
|
+
* @param {Object} rulesConfig The rules config object to validate.
|
2078
|
+
* @param {string} source The name of the configuration source to report in any errors.
|
2079
|
+
* @param {function(ruleId:string): Object} getAdditionalRule A map from strings to loaded rules
|
2080
|
+
* @returns {void}
|
2081
|
+
*/
|
2082
|
+
validateRules(
|
2083
|
+
rulesConfig,
|
2084
|
+
source,
|
2085
|
+
getAdditionalRule = noop
|
2086
|
+
) {
|
2087
|
+
if (!rulesConfig) {
|
2088
|
+
return;
|
2089
|
+
}
|
2090
|
+
|
2091
|
+
Object.keys(rulesConfig).forEach(id => {
|
2092
|
+
const rule = getAdditionalRule(id) || this.builtInRules.get(id) || null;
|
2093
|
+
|
2094
|
+
this.validateRuleOptions(rule, id, rulesConfig[id], source);
|
2095
|
+
});
|
2096
|
+
}
|
2097
|
+
|
2098
|
+
/**
|
2099
|
+
* Validates a `globals` section of a config file
|
2100
|
+
* @param {Object} globalsConfig The `globals` section
|
2101
|
+
* @param {string|null} source The name of the configuration source to report in the event of an error.
|
2102
|
+
* @returns {void}
|
2103
|
+
*/
|
2104
|
+
validateGlobals(globalsConfig, source = null) {
|
2105
|
+
if (!globalsConfig) {
|
2106
|
+
return;
|
2107
|
+
}
|
2108
|
+
|
2109
|
+
Object.entries(globalsConfig)
|
2110
|
+
.forEach(([configuredGlobal, configuredValue]) => {
|
2111
|
+
try {
|
2112
|
+
normalizeConfigGlobal(configuredValue);
|
2113
|
+
} catch (err) {
|
2114
|
+
throw new Error(`ESLint configuration of global '${configuredGlobal}' in ${source} is invalid:\n${err.message}`);
|
2115
|
+
}
|
2116
|
+
});
|
2117
|
+
}
|
2118
|
+
|
2119
|
+
/**
|
2120
|
+
* Validate `processor` configuration.
|
2121
|
+
* @param {string|undefined} processorName The processor name.
|
2122
|
+
* @param {string} source The name of config file.
|
2123
|
+
* @param {function(id:string): Processor} getProcessor The getter of defined processors.
|
2124
|
+
* @returns {void}
|
2125
|
+
*/
|
2126
|
+
validateProcessor(processorName, source, getProcessor) {
|
2127
|
+
if (processorName && !getProcessor(processorName)) {
|
2128
|
+
throw new Error(`ESLint configuration of processor in '${source}' is invalid: '${processorName}' was not found.`);
|
2129
|
+
}
|
2130
|
+
}
|
2131
|
+
|
2132
|
+
/**
|
2133
|
+
* Formats an array of schema validation errors.
|
2134
|
+
* @param {Array} errors An array of error messages to format.
|
2135
|
+
* @returns {string} Formatted error message
|
2136
|
+
*/
|
2137
|
+
formatErrors(errors) {
|
2138
|
+
return errors.map(error => {
|
2139
|
+
if (error.keyword === "additionalProperties") {
|
2140
|
+
const formattedPropertyPath = error.dataPath.length ? `${error.dataPath.slice(1)}.${error.params.additionalProperty}` : error.params.additionalProperty;
|
2141
|
+
|
2142
|
+
return `Unexpected top-level property "${formattedPropertyPath}"`;
|
2143
|
+
}
|
2144
|
+
if (error.keyword === "type") {
|
2145
|
+
const formattedField = error.dataPath.slice(1);
|
2146
|
+
const formattedExpectedType = Array.isArray(error.schema) ? error.schema.join("/") : error.schema;
|
2147
|
+
const formattedValue = JSON.stringify(error.data);
|
2148
|
+
|
2149
|
+
return `Property "${formattedField}" is the wrong type (expected ${formattedExpectedType} but got \`${formattedValue}\`)`;
|
2150
|
+
}
|
2151
|
+
|
2152
|
+
const field = error.dataPath[0] === "." ? error.dataPath.slice(1) : error.dataPath;
|
2153
|
+
|
2154
|
+
return `"${field}" ${error.message}. Value: ${JSON.stringify(error.data)}`;
|
2155
|
+
}).map(message => `\t- ${message}.\n`).join("");
|
2156
|
+
}
|
2157
|
+
|
2158
|
+
/**
|
2159
|
+
* Validates the top level properties of the config object.
|
2160
|
+
* @param {Object} config The config object to validate.
|
2161
|
+
* @param {string} source The name of the configuration source to report in any errors.
|
2162
|
+
* @returns {void}
|
2163
|
+
*/
|
2164
|
+
validateConfigSchema(config, source = null) {
|
2165
|
+
validateSchema = validateSchema || ajv.compile(configSchema);
|
2166
|
+
|
2167
|
+
if (!validateSchema(config)) {
|
2168
|
+
throw new Error(`ESLint configuration in ${source} is invalid:\n${this.formatErrors(validateSchema.errors)}`);
|
2169
|
+
}
|
2170
|
+
|
2171
|
+
if (Object.hasOwnProperty.call(config, "ecmaFeatures")) {
|
2172
|
+
emitDeprecationWarning(source, "ESLINT_LEGACY_ECMAFEATURES");
|
2173
|
+
}
|
2174
|
+
}
|
2175
|
+
|
2176
|
+
/**
|
2177
|
+
* Validates an entire config object.
|
2178
|
+
* @param {Object} config The config object to validate.
|
2179
|
+
* @param {string} source The name of the configuration source to report in any errors.
|
2180
|
+
* @param {function(ruleId:string): Object} [getAdditionalRule] A map from strings to loaded rules.
|
2181
|
+
* @param {function(envId:string): Object} [getAdditionalEnv] A map from strings to loaded envs.
|
2182
|
+
* @returns {void}
|
2183
|
+
*/
|
2184
|
+
validate(config, source, getAdditionalRule, getAdditionalEnv) {
|
2185
|
+
this.validateConfigSchema(config, source);
|
2186
|
+
this.validateRules(config.rules, source, getAdditionalRule);
|
2187
|
+
this.validateEnvironment(config.env, source, getAdditionalEnv);
|
2188
|
+
this.validateGlobals(config.globals, source);
|
2189
|
+
|
2190
|
+
for (const override of config.overrides || []) {
|
2191
|
+
this.validateRules(override.rules, source, getAdditionalRule);
|
2192
|
+
this.validateEnvironment(override.env, source, getAdditionalEnv);
|
2193
|
+
this.validateGlobals(config.globals, source);
|
2194
|
+
}
|
2195
|
+
}
|
2196
|
+
|
2197
|
+
/**
|
2198
|
+
* Validate config array object.
|
2199
|
+
* @param {ConfigArray} configArray The config array to validate.
|
2200
|
+
* @returns {void}
|
2201
|
+
*/
|
2202
|
+
validateConfigArray(configArray) {
|
2203
|
+
const getPluginEnv = Map.prototype.get.bind(configArray.pluginEnvironments);
|
2204
|
+
const getPluginProcessor = Map.prototype.get.bind(configArray.pluginProcessors);
|
2205
|
+
const getPluginRule = Map.prototype.get.bind(configArray.pluginRules);
|
2206
|
+
|
2207
|
+
// Validate.
|
2208
|
+
for (const element of configArray) {
|
2209
|
+
if (validated.has(element)) {
|
2210
|
+
continue;
|
2211
|
+
}
|
2212
|
+
validated.add(element);
|
2213
|
+
|
2214
|
+
this.validateEnvironment(element.env, element.name, getPluginEnv);
|
2215
|
+
this.validateGlobals(element.globals, element.name);
|
2216
|
+
this.validateProcessor(element.processor, element.name, getPluginProcessor);
|
2217
|
+
this.validateRules(element.rules, element.name, getPluginRule);
|
2218
|
+
}
|
2219
|
+
}
|
2220
|
+
|
2221
|
+
}
|
2222
|
+
|
2223
|
+
/**
|
2224
|
+
* @fileoverview Common helpers for naming of plugins, formatters and configs
|
2225
|
+
*/
|
2226
|
+
|
2227
|
+
const NAMESPACE_REGEX = /^@.*\//iu;
|
2228
|
+
|
2229
|
+
/**
|
2230
|
+
* Brings package name to correct format based on prefix
|
2231
|
+
* @param {string} name The name of the package.
|
2232
|
+
* @param {string} prefix Can be either "eslint-plugin", "eslint-config" or "eslint-formatter"
|
2233
|
+
* @returns {string} Normalized name of the package
|
2234
|
+
* @private
|
2235
|
+
*/
|
2236
|
+
function normalizePackageName(name, prefix) {
|
2237
|
+
let normalizedName = name;
|
2238
|
+
|
2239
|
+
/**
|
2240
|
+
* On Windows, name can come in with Windows slashes instead of Unix slashes.
|
2241
|
+
* Normalize to Unix first to avoid errors later on.
|
2242
|
+
* https://github.com/eslint/eslint/issues/5644
|
2243
|
+
*/
|
2244
|
+
if (normalizedName.includes("\\")) {
|
2245
|
+
normalizedName = normalizedName.replace(/\\/gu, "/");
|
2246
|
+
}
|
2247
|
+
|
2248
|
+
if (normalizedName.charAt(0) === "@") {
|
2249
|
+
|
2250
|
+
/**
|
2251
|
+
* it's a scoped package
|
2252
|
+
* package name is the prefix, or just a username
|
2253
|
+
*/
|
2254
|
+
const scopedPackageShortcutRegex = new RegExp(`^(@[^/]+)(?:/(?:${prefix})?)?$`, "u"),
|
2255
|
+
scopedPackageNameRegex = new RegExp(`^${prefix}(-|$)`, "u");
|
2256
|
+
|
2257
|
+
if (scopedPackageShortcutRegex.test(normalizedName)) {
|
2258
|
+
normalizedName = normalizedName.replace(scopedPackageShortcutRegex, `$1/${prefix}`);
|
2259
|
+
} else if (!scopedPackageNameRegex.test(normalizedName.split("/")[1])) {
|
2260
|
+
|
2261
|
+
/**
|
2262
|
+
* for scoped packages, insert the prefix after the first / unless
|
2263
|
+
* the path is already @scope/eslint or @scope/eslint-xxx-yyy
|
2264
|
+
*/
|
2265
|
+
normalizedName = normalizedName.replace(/^@([^/]+)\/(.*)$/u, `@$1/${prefix}-$2`);
|
2266
|
+
}
|
2267
|
+
} else if (!normalizedName.startsWith(`${prefix}-`)) {
|
2268
|
+
normalizedName = `${prefix}-${normalizedName}`;
|
2269
|
+
}
|
2270
|
+
|
2271
|
+
return normalizedName;
|
2272
|
+
}
|
2273
|
+
|
2274
|
+
/**
|
2275
|
+
* Removes the prefix from a fullname.
|
2276
|
+
* @param {string} fullname The term which may have the prefix.
|
2277
|
+
* @param {string} prefix The prefix to remove.
|
2278
|
+
* @returns {string} The term without prefix.
|
2279
|
+
*/
|
2280
|
+
function getShorthandName(fullname, prefix) {
|
2281
|
+
if (fullname[0] === "@") {
|
2282
|
+
let matchResult = new RegExp(`^(@[^/]+)/${prefix}$`, "u").exec(fullname);
|
2283
|
+
|
2284
|
+
if (matchResult) {
|
2285
|
+
return matchResult[1];
|
2286
|
+
}
|
2287
|
+
|
2288
|
+
matchResult = new RegExp(`^(@[^/]+)/${prefix}-(.+)$`, "u").exec(fullname);
|
2289
|
+
if (matchResult) {
|
2290
|
+
return `${matchResult[1]}/${matchResult[2]}`;
|
2291
|
+
}
|
2292
|
+
} else if (fullname.startsWith(`${prefix}-`)) {
|
2293
|
+
return fullname.slice(prefix.length + 1);
|
2294
|
+
}
|
2295
|
+
|
2296
|
+
return fullname;
|
2297
|
+
}
|
2298
|
+
|
2299
|
+
/**
|
2300
|
+
* Gets the scope (namespace) of a term.
|
2301
|
+
* @param {string} term The term which may have the namespace.
|
2302
|
+
* @returns {string} The namespace of the term if it has one.
|
2303
|
+
*/
|
2304
|
+
function getNamespaceFromTerm(term) {
|
2305
|
+
const match = term.match(NAMESPACE_REGEX);
|
2306
|
+
|
2307
|
+
return match ? match[0] : "";
|
2308
|
+
}
|
2309
|
+
|
2310
|
+
var naming = {
|
2311
|
+
__proto__: null,
|
2312
|
+
normalizePackageName: normalizePackageName,
|
2313
|
+
getShorthandName: getShorthandName,
|
2314
|
+
getNamespaceFromTerm: getNamespaceFromTerm
|
2315
|
+
};
|
2316
|
+
|
2317
|
+
/**
|
2318
|
+
* Utility for resolving a module relative to another module
|
2319
|
+
* @author Teddy Katz
|
2320
|
+
*/
|
2321
|
+
|
2322
|
+
/*
|
2323
|
+
* `Module.createRequire` is added in v12.2.0. It supports URL as well.
|
2324
|
+
* We only support the case where the argument is a filepath, not a URL.
|
2325
|
+
*/
|
2326
|
+
const createRequire = Module__default["default"].createRequire;
|
2327
|
+
|
2328
|
+
/**
|
2329
|
+
* Resolves a Node module relative to another module
|
2330
|
+
* @param {string} moduleName The name of a Node module, or a path to a Node module.
|
2331
|
+
* @param {string} relativeToPath An absolute path indicating the module that `moduleName` should be resolved relative to. This must be
|
2332
|
+
* a file rather than a directory, but the file need not actually exist.
|
2333
|
+
* @returns {string} The absolute path that would result from calling `require.resolve(moduleName)` in a file located at `relativeToPath`
|
2334
|
+
*/
|
2335
|
+
function resolve(moduleName, relativeToPath) {
|
2336
|
+
try {
|
2337
|
+
return createRequire(relativeToPath).resolve(moduleName);
|
2338
|
+
} catch (error) {
|
2339
|
+
|
2340
|
+
// This `if` block is for older Node.js than 12.0.0. We can remove this block in the future.
|
2341
|
+
if (
|
2342
|
+
typeof error === "object" &&
|
2343
|
+
error !== null &&
|
2344
|
+
error.code === "MODULE_NOT_FOUND" &&
|
2345
|
+
!error.requireStack &&
|
2346
|
+
error.message.includes(moduleName)
|
2347
|
+
) {
|
2348
|
+
error.message += `\nRequire stack:\n- ${relativeToPath}`;
|
2349
|
+
}
|
2350
|
+
throw error;
|
2351
|
+
}
|
2352
|
+
}
|
2353
|
+
|
2354
|
+
var ModuleResolver = {
|
2355
|
+
__proto__: null,
|
2356
|
+
resolve: resolve
|
2357
|
+
};
|
2358
|
+
|
2359
|
+
/**
|
2360
|
+
* @fileoverview The factory of `ConfigArray` objects.
|
2361
|
+
*
|
2362
|
+
* This class provides methods to create `ConfigArray` instance.
|
2363
|
+
*
|
2364
|
+
* - `create(configData, options)`
|
2365
|
+
* Create a `ConfigArray` instance from a config data. This is to handle CLI
|
2366
|
+
* options except `--config`.
|
2367
|
+
* - `loadFile(filePath, options)`
|
2368
|
+
* Create a `ConfigArray` instance from a config file. This is to handle
|
2369
|
+
* `--config` option. If the file was not found, throws the following error:
|
2370
|
+
* - If the filename was `*.js`, a `MODULE_NOT_FOUND` error.
|
2371
|
+
* - If the filename was `package.json`, an IO error or an
|
2372
|
+
* `ESLINT_CONFIG_FIELD_NOT_FOUND` error.
|
2373
|
+
* - Otherwise, an IO error such as `ENOENT`.
|
2374
|
+
* - `loadInDirectory(directoryPath, options)`
|
2375
|
+
* Create a `ConfigArray` instance from a config file which is on a given
|
2376
|
+
* directory. This tries to load `.eslintrc.*` or `package.json`. If not
|
2377
|
+
* found, returns an empty `ConfigArray`.
|
2378
|
+
* - `loadESLintIgnore(filePath)`
|
2379
|
+
* Create a `ConfigArray` instance from a config file that is `.eslintignore`
|
2380
|
+
* format. This is to handle `--ignore-path` option.
|
2381
|
+
* - `loadDefaultESLintIgnore()`
|
2382
|
+
* Create a `ConfigArray` instance from `.eslintignore` or `package.json` in
|
2383
|
+
* the current working directory.
|
2384
|
+
*
|
2385
|
+
* `ConfigArrayFactory` class has the responsibility that loads configuration
|
2386
|
+
* files, including loading `extends`, `parser`, and `plugins`. The created
|
2387
|
+
* `ConfigArray` instance has the loaded `extends`, `parser`, and `plugins`.
|
2388
|
+
*
|
2389
|
+
* But this class doesn't handle cascading. `CascadingConfigArrayFactory` class
|
2390
|
+
* handles cascading and hierarchy.
|
2391
|
+
*
|
2392
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
2393
|
+
*/
|
2394
|
+
|
2395
|
+
const require$1 = Module.createRequire(require('url').pathToFileURL(__filename).toString());
|
2396
|
+
|
2397
|
+
const debug$2 = debugOrig__default["default"]("eslintrc:config-array-factory");
|
2398
|
+
|
2399
|
+
//------------------------------------------------------------------------------
|
2400
|
+
// Helpers
|
2401
|
+
//------------------------------------------------------------------------------
|
2402
|
+
|
2403
|
+
const configFilenames = [
|
2404
|
+
".eslintrc.js",
|
2405
|
+
".eslintrc.cjs",
|
2406
|
+
".eslintrc.yaml",
|
2407
|
+
".eslintrc.yml",
|
2408
|
+
".eslintrc.json",
|
2409
|
+
".eslintrc",
|
2410
|
+
"package.json"
|
2411
|
+
];
|
2412
|
+
|
2413
|
+
// Define types for VSCode IntelliSense.
|
2414
|
+
/** @typedef {import("./shared/types").ConfigData} ConfigData */
|
2415
|
+
/** @typedef {import("./shared/types").OverrideConfigData} OverrideConfigData */
|
2416
|
+
/** @typedef {import("./shared/types").Parser} Parser */
|
2417
|
+
/** @typedef {import("./shared/types").Plugin} Plugin */
|
2418
|
+
/** @typedef {import("./shared/types").Rule} Rule */
|
2419
|
+
/** @typedef {import("./config-array/config-dependency").DependentParser} DependentParser */
|
2420
|
+
/** @typedef {import("./config-array/config-dependency").DependentPlugin} DependentPlugin */
|
2421
|
+
/** @typedef {ConfigArray[0]} ConfigArrayElement */
|
2422
|
+
|
2423
|
+
/**
|
2424
|
+
* @typedef {Object} ConfigArrayFactoryOptions
|
2425
|
+
* @property {Map<string,Plugin>} [additionalPluginPool] The map for additional plugins.
|
2426
|
+
* @property {string} [cwd] The path to the current working directory.
|
2427
|
+
* @property {string} [resolvePluginsRelativeTo] A path to the directory that plugins should be resolved from. Defaults to `cwd`.
|
2428
|
+
* @property {Map<string,Rule>} builtInRules The rules that are built in to ESLint.
|
2429
|
+
* @property {Object} [resolver=ModuleResolver] The module resolver object.
|
2430
|
+
* @property {string} eslintAllPath The path to the definitions for eslint:all.
|
2431
|
+
* @property {Function} getEslintAllConfig Returns the config data for eslint:all.
|
2432
|
+
* @property {string} eslintRecommendedPath The path to the definitions for eslint:recommended.
|
2433
|
+
* @property {Function} getEslintRecommendedConfig Returns the config data for eslint:recommended.
|
2434
|
+
*/
|
2435
|
+
|
2436
|
+
/**
|
2437
|
+
* @typedef {Object} ConfigArrayFactoryInternalSlots
|
2438
|
+
* @property {Map<string,Plugin>} additionalPluginPool The map for additional plugins.
|
2439
|
+
* @property {string} cwd The path to the current working directory.
|
2440
|
+
* @property {string | undefined} resolvePluginsRelativeTo An absolute path the the directory that plugins should be resolved from.
|
2441
|
+
* @property {Map<string,Rule>} builtInRules The rules that are built in to ESLint.
|
2442
|
+
* @property {Object} [resolver=ModuleResolver] The module resolver object.
|
2443
|
+
* @property {string} eslintAllPath The path to the definitions for eslint:all.
|
2444
|
+
* @property {Function} getEslintAllConfig Returns the config data for eslint:all.
|
2445
|
+
* @property {string} eslintRecommendedPath The path to the definitions for eslint:recommended.
|
2446
|
+
* @property {Function} getEslintRecommendedConfig Returns the config data for eslint:recommended.
|
2447
|
+
*/
|
2448
|
+
|
2449
|
+
/**
|
2450
|
+
* @typedef {Object} ConfigArrayFactoryLoadingContext
|
2451
|
+
* @property {string} filePath The path to the current configuration.
|
2452
|
+
* @property {string} matchBasePath The base path to resolve relative paths in `overrides[].files`, `overrides[].excludedFiles`, and `ignorePatterns`.
|
2453
|
+
* @property {string} name The name of the current configuration.
|
2454
|
+
* @property {string} pluginBasePath The base path to resolve plugins.
|
2455
|
+
* @property {"config" | "ignore" | "implicit-processor"} type The type of the current configuration. This is `"config"` in normal. This is `"ignore"` if it came from `.eslintignore`. This is `"implicit-processor"` if it came from legacy file-extension processors.
|
2456
|
+
*/
|
2457
|
+
|
2458
|
+
/**
|
2459
|
+
* @typedef {Object} ConfigArrayFactoryLoadingContext
|
2460
|
+
* @property {string} filePath The path to the current configuration.
|
2461
|
+
* @property {string} matchBasePath The base path to resolve relative paths in `overrides[].files`, `overrides[].excludedFiles`, and `ignorePatterns`.
|
2462
|
+
* @property {string} name The name of the current configuration.
|
2463
|
+
* @property {"config" | "ignore" | "implicit-processor"} type The type of the current configuration. This is `"config"` in normal. This is `"ignore"` if it came from `.eslintignore`. This is `"implicit-processor"` if it came from legacy file-extension processors.
|
2464
|
+
*/
|
2465
|
+
|
2466
|
+
/** @type {WeakMap<ConfigArrayFactory, ConfigArrayFactoryInternalSlots>} */
|
2467
|
+
const internalSlotsMap$1 = new WeakMap();
|
2468
|
+
|
2469
|
+
/** @type {WeakMap<object, Plugin>} */
|
2470
|
+
const normalizedPlugins = new WeakMap();
|
2471
|
+
|
2472
|
+
/**
|
2473
|
+
* Check if a given string is a file path.
|
2474
|
+
* @param {string} nameOrPath A module name or file path.
|
2475
|
+
* @returns {boolean} `true` if the `nameOrPath` is a file path.
|
2476
|
+
*/
|
2477
|
+
function isFilePath(nameOrPath) {
|
2478
|
+
return (
|
2479
|
+
/^\.{1,2}[/\\]/u.test(nameOrPath) ||
|
2480
|
+
path__default["default"].isAbsolute(nameOrPath)
|
2481
|
+
);
|
2482
|
+
}
|
2483
|
+
|
2484
|
+
/**
|
2485
|
+
* Convenience wrapper for synchronously reading file contents.
|
2486
|
+
* @param {string} filePath The filename to read.
|
2487
|
+
* @returns {string} The file contents, with the BOM removed.
|
2488
|
+
* @private
|
2489
|
+
*/
|
2490
|
+
function readFile(filePath) {
|
2491
|
+
return fs__default["default"].readFileSync(filePath, "utf8").replace(/^\ufeff/u, "");
|
2492
|
+
}
|
2493
|
+
|
2494
|
+
/**
|
2495
|
+
* Loads a YAML configuration from a file.
|
2496
|
+
* @param {string} filePath The filename to load.
|
2497
|
+
* @returns {ConfigData} The configuration object from the file.
|
2498
|
+
* @throws {Error} If the file cannot be read.
|
2499
|
+
* @private
|
2500
|
+
*/
|
2501
|
+
function loadYAMLConfigFile(filePath) {
|
2502
|
+
debug$2(`Loading YAML config file: ${filePath}`);
|
2503
|
+
|
2504
|
+
// lazy load YAML to improve performance when not used
|
2505
|
+
const yaml = require$1("js-yaml");
|
2506
|
+
|
2507
|
+
try {
|
2508
|
+
|
2509
|
+
// empty YAML file can be null, so always use
|
2510
|
+
return yaml.load(readFile(filePath)) || {};
|
2511
|
+
} catch (e) {
|
2512
|
+
debug$2(`Error reading YAML file: ${filePath}`);
|
2513
|
+
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
2514
|
+
throw e;
|
2515
|
+
}
|
2516
|
+
}
|
2517
|
+
|
2518
|
+
/**
|
2519
|
+
* Loads a JSON configuration from a file.
|
2520
|
+
* @param {string} filePath The filename to load.
|
2521
|
+
* @returns {ConfigData} The configuration object from the file.
|
2522
|
+
* @throws {Error} If the file cannot be read.
|
2523
|
+
* @private
|
2524
|
+
*/
|
2525
|
+
function loadJSONConfigFile(filePath) {
|
2526
|
+
debug$2(`Loading JSON config file: ${filePath}`);
|
2527
|
+
|
2528
|
+
try {
|
2529
|
+
return JSON.parse(stripComments__default["default"](readFile(filePath)));
|
2530
|
+
} catch (e) {
|
2531
|
+
debug$2(`Error reading JSON file: ${filePath}`);
|
2532
|
+
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
2533
|
+
e.messageTemplate = "failed-to-read-json";
|
2534
|
+
e.messageData = {
|
2535
|
+
path: filePath,
|
2536
|
+
message: e.message
|
2537
|
+
};
|
2538
|
+
throw e;
|
2539
|
+
}
|
2540
|
+
}
|
2541
|
+
|
2542
|
+
/**
|
2543
|
+
* Loads a legacy (.eslintrc) configuration from a file.
|
2544
|
+
* @param {string} filePath The filename to load.
|
2545
|
+
* @returns {ConfigData} The configuration object from the file.
|
2546
|
+
* @throws {Error} If the file cannot be read.
|
2547
|
+
* @private
|
2548
|
+
*/
|
2549
|
+
function loadLegacyConfigFile(filePath) {
|
2550
|
+
debug$2(`Loading legacy config file: ${filePath}`);
|
2551
|
+
|
2552
|
+
// lazy load YAML to improve performance when not used
|
2553
|
+
const yaml = require$1("js-yaml");
|
2554
|
+
|
2555
|
+
try {
|
2556
|
+
return yaml.load(stripComments__default["default"](readFile(filePath))) || /* istanbul ignore next */ {};
|
2557
|
+
} catch (e) {
|
2558
|
+
debug$2("Error reading YAML file: %s\n%o", filePath, e);
|
2559
|
+
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
2560
|
+
throw e;
|
2561
|
+
}
|
2562
|
+
}
|
2563
|
+
|
2564
|
+
/**
|
2565
|
+
* Loads a JavaScript configuration from a file.
|
2566
|
+
* @param {string} filePath The filename to load.
|
2567
|
+
* @returns {ConfigData} The configuration object from the file.
|
2568
|
+
* @throws {Error} If the file cannot be read.
|
2569
|
+
* @private
|
2570
|
+
*/
|
2571
|
+
function loadJSConfigFile(filePath) {
|
2572
|
+
debug$2(`Loading JS config file: ${filePath}`);
|
2573
|
+
try {
|
2574
|
+
return importFresh__default["default"](filePath);
|
2575
|
+
} catch (e) {
|
2576
|
+
debug$2(`Error reading JavaScript file: ${filePath}`);
|
2577
|
+
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
2578
|
+
throw e;
|
2579
|
+
}
|
2580
|
+
}
|
2581
|
+
|
2582
|
+
/**
|
2583
|
+
* Loads a configuration from a package.json file.
|
2584
|
+
* @param {string} filePath The filename to load.
|
2585
|
+
* @returns {ConfigData} The configuration object from the file.
|
2586
|
+
* @throws {Error} If the file cannot be read.
|
2587
|
+
* @private
|
2588
|
+
*/
|
2589
|
+
function loadPackageJSONConfigFile(filePath) {
|
2590
|
+
debug$2(`Loading package.json config file: ${filePath}`);
|
2591
|
+
try {
|
2592
|
+
const packageData = loadJSONConfigFile(filePath);
|
2593
|
+
|
2594
|
+
if (!Object.hasOwnProperty.call(packageData, "eslintConfig")) {
|
2595
|
+
throw Object.assign(
|
2596
|
+
new Error("package.json file doesn't have 'eslintConfig' field."),
|
2597
|
+
{ code: "ESLINT_CONFIG_FIELD_NOT_FOUND" }
|
2598
|
+
);
|
2599
|
+
}
|
2600
|
+
|
2601
|
+
return packageData.eslintConfig;
|
2602
|
+
} catch (e) {
|
2603
|
+
debug$2(`Error reading package.json file: ${filePath}`);
|
2604
|
+
e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
|
2605
|
+
throw e;
|
2606
|
+
}
|
2607
|
+
}
|
2608
|
+
|
2609
|
+
/**
|
2610
|
+
* Loads a `.eslintignore` from a file.
|
2611
|
+
* @param {string} filePath The filename to load.
|
2612
|
+
* @returns {string[]} The ignore patterns from the file.
|
2613
|
+
* @private
|
2614
|
+
*/
|
2615
|
+
function loadESLintIgnoreFile(filePath) {
|
2616
|
+
debug$2(`Loading .eslintignore file: ${filePath}`);
|
2617
|
+
|
2618
|
+
try {
|
2619
|
+
return readFile(filePath)
|
2620
|
+
.split(/\r?\n/gu)
|
2621
|
+
.filter(line => line.trim() !== "" && !line.startsWith("#"));
|
2622
|
+
} catch (e) {
|
2623
|
+
debug$2(`Error reading .eslintignore file: ${filePath}`);
|
2624
|
+
e.message = `Cannot read .eslintignore file: ${filePath}\nError: ${e.message}`;
|
2625
|
+
throw e;
|
2626
|
+
}
|
2627
|
+
}
|
2628
|
+
|
2629
|
+
/**
|
2630
|
+
* Creates an error to notify about a missing config to extend from.
|
2631
|
+
* @param {string} configName The name of the missing config.
|
2632
|
+
* @param {string} importerName The name of the config that imported the missing config
|
2633
|
+
* @param {string} messageTemplate The text template to source error strings from.
|
2634
|
+
* @returns {Error} The error object to throw
|
2635
|
+
* @private
|
2636
|
+
*/
|
2637
|
+
function configInvalidError(configName, importerName, messageTemplate) {
|
2638
|
+
return Object.assign(
|
2639
|
+
new Error(`Failed to load config "${configName}" to extend from.`),
|
2640
|
+
{
|
2641
|
+
messageTemplate,
|
2642
|
+
messageData: { configName, importerName }
|
2643
|
+
}
|
2644
|
+
);
|
2645
|
+
}
|
2646
|
+
|
2647
|
+
/**
|
2648
|
+
* Loads a configuration file regardless of the source. Inspects the file path
|
2649
|
+
* to determine the correctly way to load the config file.
|
2650
|
+
* @param {string} filePath The path to the configuration.
|
2651
|
+
* @returns {ConfigData|null} The configuration information.
|
2652
|
+
* @private
|
2653
|
+
*/
|
2654
|
+
function loadConfigFile(filePath) {
|
2655
|
+
switch (path__default["default"].extname(filePath)) {
|
2656
|
+
case ".js":
|
2657
|
+
case ".cjs":
|
2658
|
+
return loadJSConfigFile(filePath);
|
2659
|
+
|
2660
|
+
case ".json":
|
2661
|
+
if (path__default["default"].basename(filePath) === "package.json") {
|
2662
|
+
return loadPackageJSONConfigFile(filePath);
|
2663
|
+
}
|
2664
|
+
return loadJSONConfigFile(filePath);
|
2665
|
+
|
2666
|
+
case ".yaml":
|
2667
|
+
case ".yml":
|
2668
|
+
return loadYAMLConfigFile(filePath);
|
2669
|
+
|
2670
|
+
default:
|
2671
|
+
return loadLegacyConfigFile(filePath);
|
2672
|
+
}
|
2673
|
+
}
|
2674
|
+
|
2675
|
+
/**
|
2676
|
+
* Write debug log.
|
2677
|
+
* @param {string} request The requested module name.
|
2678
|
+
* @param {string} relativeTo The file path to resolve the request relative to.
|
2679
|
+
* @param {string} filePath The resolved file path.
|
2680
|
+
* @returns {void}
|
2681
|
+
*/
|
2682
|
+
function writeDebugLogForLoading(request, relativeTo, filePath) {
|
2683
|
+
/* istanbul ignore next */
|
2684
|
+
if (debug$2.enabled) {
|
2685
|
+
let nameAndVersion = null;
|
2686
|
+
|
2687
|
+
try {
|
2688
|
+
const packageJsonPath = resolve(
|
2689
|
+
`${request}/package.json`,
|
2690
|
+
relativeTo
|
2691
|
+
);
|
2692
|
+
const { version = "unknown" } = require$1(packageJsonPath);
|
2693
|
+
|
2694
|
+
nameAndVersion = `${request}@${version}`;
|
2695
|
+
} catch (error) {
|
2696
|
+
debug$2("package.json was not found:", error.message);
|
2697
|
+
nameAndVersion = request;
|
2698
|
+
}
|
2699
|
+
|
2700
|
+
debug$2("Loaded: %s (%s)", nameAndVersion, filePath);
|
2701
|
+
}
|
2702
|
+
}
|
2703
|
+
|
2704
|
+
/**
|
2705
|
+
* Create a new context with default values.
|
2706
|
+
* @param {ConfigArrayFactoryInternalSlots} slots The internal slots.
|
2707
|
+
* @param {"config" | "ignore" | "implicit-processor" | undefined} providedType The type of the current configuration. Default is `"config"`.
|
2708
|
+
* @param {string | undefined} providedName The name of the current configuration. Default is the relative path from `cwd` to `filePath`.
|
2709
|
+
* @param {string | undefined} providedFilePath The path to the current configuration. Default is empty string.
|
2710
|
+
* @param {string | undefined} providedMatchBasePath The type of the current configuration. Default is the directory of `filePath` or `cwd`.
|
2711
|
+
* @returns {ConfigArrayFactoryLoadingContext} The created context.
|
2712
|
+
*/
|
2713
|
+
function createContext(
|
2714
|
+
{ cwd, resolvePluginsRelativeTo },
|
2715
|
+
providedType,
|
2716
|
+
providedName,
|
2717
|
+
providedFilePath,
|
2718
|
+
providedMatchBasePath
|
2719
|
+
) {
|
2720
|
+
const filePath = providedFilePath
|
2721
|
+
? path__default["default"].resolve(cwd, providedFilePath)
|
2722
|
+
: "";
|
2723
|
+
const matchBasePath =
|
2724
|
+
(providedMatchBasePath && path__default["default"].resolve(cwd, providedMatchBasePath)) ||
|
2725
|
+
(filePath && path__default["default"].dirname(filePath)) ||
|
2726
|
+
cwd;
|
2727
|
+
const name =
|
2728
|
+
providedName ||
|
2729
|
+
(filePath && path__default["default"].relative(cwd, filePath)) ||
|
2730
|
+
"";
|
2731
|
+
const pluginBasePath =
|
2732
|
+
resolvePluginsRelativeTo ||
|
2733
|
+
(filePath && path__default["default"].dirname(filePath)) ||
|
2734
|
+
cwd;
|
2735
|
+
const type = providedType || "config";
|
2736
|
+
|
2737
|
+
return { filePath, matchBasePath, name, pluginBasePath, type };
|
2738
|
+
}
|
2739
|
+
|
2740
|
+
/**
|
2741
|
+
* Normalize a given plugin.
|
2742
|
+
* - Ensure the object to have four properties: configs, environments, processors, and rules.
|
2743
|
+
* - Ensure the object to not have other properties.
|
2744
|
+
* @param {Plugin} plugin The plugin to normalize.
|
2745
|
+
* @returns {Plugin} The normalized plugin.
|
2746
|
+
*/
|
2747
|
+
function normalizePlugin(plugin) {
|
2748
|
+
|
2749
|
+
// first check the cache
|
2750
|
+
let normalizedPlugin = normalizedPlugins.get(plugin);
|
2751
|
+
|
2752
|
+
if (normalizedPlugin) {
|
2753
|
+
return normalizedPlugin;
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
normalizedPlugin = {
|
2757
|
+
configs: plugin.configs || {},
|
2758
|
+
environments: plugin.environments || {},
|
2759
|
+
processors: plugin.processors || {},
|
2760
|
+
rules: plugin.rules || {}
|
2761
|
+
};
|
2762
|
+
|
2763
|
+
// save the reference for later
|
2764
|
+
normalizedPlugins.set(plugin, normalizedPlugin);
|
2765
|
+
|
2766
|
+
return normalizedPlugin;
|
2767
|
+
}
|
2768
|
+
|
2769
|
+
//------------------------------------------------------------------------------
|
2770
|
+
// Public Interface
|
2771
|
+
//------------------------------------------------------------------------------
|
2772
|
+
|
2773
|
+
/**
|
2774
|
+
* The factory of `ConfigArray` objects.
|
2775
|
+
*/
|
2776
|
+
class ConfigArrayFactory {
|
2777
|
+
|
2778
|
+
/**
|
2779
|
+
* Initialize this instance.
|
2780
|
+
* @param {ConfigArrayFactoryOptions} [options] The map for additional plugins.
|
2781
|
+
*/
|
2782
|
+
constructor({
|
2783
|
+
additionalPluginPool = new Map(),
|
2784
|
+
cwd = process.cwd(),
|
2785
|
+
resolvePluginsRelativeTo,
|
2786
|
+
builtInRules,
|
2787
|
+
resolver = ModuleResolver,
|
2788
|
+
eslintAllPath,
|
2789
|
+
getEslintAllConfig,
|
2790
|
+
eslintRecommendedPath,
|
2791
|
+
getEslintRecommendedConfig
|
2792
|
+
} = {}) {
|
2793
|
+
internalSlotsMap$1.set(this, {
|
2794
|
+
additionalPluginPool,
|
2795
|
+
cwd,
|
2796
|
+
resolvePluginsRelativeTo:
|
2797
|
+
resolvePluginsRelativeTo &&
|
2798
|
+
path__default["default"].resolve(cwd, resolvePluginsRelativeTo),
|
2799
|
+
builtInRules,
|
2800
|
+
resolver,
|
2801
|
+
eslintAllPath,
|
2802
|
+
getEslintAllConfig,
|
2803
|
+
eslintRecommendedPath,
|
2804
|
+
getEslintRecommendedConfig
|
2805
|
+
});
|
2806
|
+
}
|
2807
|
+
|
2808
|
+
/**
|
2809
|
+
* Create `ConfigArray` instance from a config data.
|
2810
|
+
* @param {ConfigData|null} configData The config data to create.
|
2811
|
+
* @param {Object} [options] The options.
|
2812
|
+
* @param {string} [options.basePath] The base path to resolve relative paths in `overrides[].files`, `overrides[].excludedFiles`, and `ignorePatterns`.
|
2813
|
+
* @param {string} [options.filePath] The path to this config data.
|
2814
|
+
* @param {string} [options.name] The config name.
|
2815
|
+
* @returns {ConfigArray} Loaded config.
|
2816
|
+
*/
|
2817
|
+
create(configData, { basePath, filePath, name } = {}) {
|
2818
|
+
if (!configData) {
|
2819
|
+
return new ConfigArray();
|
2820
|
+
}
|
2821
|
+
|
2822
|
+
const slots = internalSlotsMap$1.get(this);
|
2823
|
+
const ctx = createContext(slots, "config", name, filePath, basePath);
|
2824
|
+
const elements = this._normalizeConfigData(configData, ctx);
|
2825
|
+
|
2826
|
+
return new ConfigArray(...elements);
|
2827
|
+
}
|
2828
|
+
|
2829
|
+
/**
|
2830
|
+
* Load a config file.
|
2831
|
+
* @param {string} filePath The path to a config file.
|
2832
|
+
* @param {Object} [options] The options.
|
2833
|
+
* @param {string} [options.basePath] The base path to resolve relative paths in `overrides[].files`, `overrides[].excludedFiles`, and `ignorePatterns`.
|
2834
|
+
* @param {string} [options.name] The config name.
|
2835
|
+
* @returns {ConfigArray} Loaded config.
|
2836
|
+
*/
|
2837
|
+
loadFile(filePath, { basePath, name } = {}) {
|
2838
|
+
const slots = internalSlotsMap$1.get(this);
|
2839
|
+
const ctx = createContext(slots, "config", name, filePath, basePath);
|
2840
|
+
|
2841
|
+
return new ConfigArray(...this._loadConfigData(ctx));
|
2842
|
+
}
|
2843
|
+
|
2844
|
+
/**
|
2845
|
+
* Load the config file on a given directory if exists.
|
2846
|
+
* @param {string} directoryPath The path to a directory.
|
2847
|
+
* @param {Object} [options] The options.
|
2848
|
+
* @param {string} [options.basePath] The base path to resolve relative paths in `overrides[].files`, `overrides[].excludedFiles`, and `ignorePatterns`.
|
2849
|
+
* @param {string} [options.name] The config name.
|
2850
|
+
* @returns {ConfigArray} Loaded config. An empty `ConfigArray` if any config doesn't exist.
|
2851
|
+
*/
|
2852
|
+
loadInDirectory(directoryPath, { basePath, name } = {}) {
|
2853
|
+
const slots = internalSlotsMap$1.get(this);
|
2854
|
+
|
2855
|
+
for (const filename of configFilenames) {
|
2856
|
+
const ctx = createContext(
|
2857
|
+
slots,
|
2858
|
+
"config",
|
2859
|
+
name,
|
2860
|
+
path__default["default"].join(directoryPath, filename),
|
2861
|
+
basePath
|
2862
|
+
);
|
2863
|
+
|
2864
|
+
if (fs__default["default"].existsSync(ctx.filePath) && fs__default["default"].statSync(ctx.filePath).isFile()) {
|
2865
|
+
let configData;
|
2866
|
+
|
2867
|
+
try {
|
2868
|
+
configData = loadConfigFile(ctx.filePath);
|
2869
|
+
} catch (error) {
|
2870
|
+
if (!error || error.code !== "ESLINT_CONFIG_FIELD_NOT_FOUND") {
|
2871
|
+
throw error;
|
2872
|
+
}
|
2873
|
+
}
|
2874
|
+
|
2875
|
+
if (configData) {
|
2876
|
+
debug$2(`Config file found: ${ctx.filePath}`);
|
2877
|
+
return new ConfigArray(
|
2878
|
+
...this._normalizeConfigData(configData, ctx)
|
2879
|
+
);
|
2880
|
+
}
|
2881
|
+
}
|
2882
|
+
}
|
2883
|
+
|
2884
|
+
debug$2(`Config file not found on ${directoryPath}`);
|
2885
|
+
return new ConfigArray();
|
2886
|
+
}
|
2887
|
+
|
2888
|
+
/**
|
2889
|
+
* Check if a config file on a given directory exists or not.
|
2890
|
+
* @param {string} directoryPath The path to a directory.
|
2891
|
+
* @returns {string | null} The path to the found config file. If not found then null.
|
2892
|
+
*/
|
2893
|
+
static getPathToConfigFileInDirectory(directoryPath) {
|
2894
|
+
for (const filename of configFilenames) {
|
2895
|
+
const filePath = path__default["default"].join(directoryPath, filename);
|
2896
|
+
|
2897
|
+
if (fs__default["default"].existsSync(filePath)) {
|
2898
|
+
if (filename === "package.json") {
|
2899
|
+
try {
|
2900
|
+
loadPackageJSONConfigFile(filePath);
|
2901
|
+
return filePath;
|
2902
|
+
} catch { /* ignore */ }
|
2903
|
+
} else {
|
2904
|
+
return filePath;
|
2905
|
+
}
|
2906
|
+
}
|
2907
|
+
}
|
2908
|
+
return null;
|
2909
|
+
}
|
2910
|
+
|
2911
|
+
/**
|
2912
|
+
* Load `.eslintignore` file.
|
2913
|
+
* @param {string} filePath The path to a `.eslintignore` file to load.
|
2914
|
+
* @returns {ConfigArray} Loaded config. An empty `ConfigArray` if any config doesn't exist.
|
2915
|
+
*/
|
2916
|
+
loadESLintIgnore(filePath) {
|
2917
|
+
const slots = internalSlotsMap$1.get(this);
|
2918
|
+
const ctx = createContext(
|
2919
|
+
slots,
|
2920
|
+
"ignore",
|
2921
|
+
void 0,
|
2922
|
+
filePath,
|
2923
|
+
slots.cwd
|
2924
|
+
);
|
2925
|
+
const ignorePatterns = loadESLintIgnoreFile(ctx.filePath);
|
2926
|
+
|
2927
|
+
return new ConfigArray(
|
2928
|
+
...this._normalizeESLintIgnoreData(ignorePatterns, ctx)
|
2929
|
+
);
|
2930
|
+
}
|
2931
|
+
|
2932
|
+
/**
|
2933
|
+
* Load `.eslintignore` file in the current working directory.
|
2934
|
+
* @returns {ConfigArray} Loaded config. An empty `ConfigArray` if any config doesn't exist.
|
2935
|
+
*/
|
2936
|
+
loadDefaultESLintIgnore() {
|
2937
|
+
const slots = internalSlotsMap$1.get(this);
|
2938
|
+
const eslintIgnorePath = path__default["default"].resolve(slots.cwd, ".eslintignore");
|
2939
|
+
const packageJsonPath = path__default["default"].resolve(slots.cwd, "package.json");
|
2940
|
+
|
2941
|
+
if (fs__default["default"].existsSync(eslintIgnorePath)) {
|
2942
|
+
return this.loadESLintIgnore(eslintIgnorePath);
|
2943
|
+
}
|
2944
|
+
if (fs__default["default"].existsSync(packageJsonPath)) {
|
2945
|
+
const data = loadJSONConfigFile(packageJsonPath);
|
2946
|
+
|
2947
|
+
if (Object.hasOwnProperty.call(data, "eslintIgnore")) {
|
2948
|
+
if (!Array.isArray(data.eslintIgnore)) {
|
2949
|
+
throw new Error("Package.json eslintIgnore property requires an array of paths");
|
2950
|
+
}
|
2951
|
+
const ctx = createContext(
|
2952
|
+
slots,
|
2953
|
+
"ignore",
|
2954
|
+
"eslintIgnore in package.json",
|
2955
|
+
packageJsonPath,
|
2956
|
+
slots.cwd
|
2957
|
+
);
|
2958
|
+
|
2959
|
+
return new ConfigArray(
|
2960
|
+
...this._normalizeESLintIgnoreData(data.eslintIgnore, ctx)
|
2961
|
+
);
|
2962
|
+
}
|
2963
|
+
}
|
2964
|
+
|
2965
|
+
return new ConfigArray();
|
2966
|
+
}
|
2967
|
+
|
2968
|
+
/**
|
2969
|
+
* Load a given config file.
|
2970
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
2971
|
+
* @returns {IterableIterator<ConfigArrayElement>} Loaded config.
|
2972
|
+
* @private
|
2973
|
+
*/
|
2974
|
+
_loadConfigData(ctx) {
|
2975
|
+
return this._normalizeConfigData(loadConfigFile(ctx.filePath), ctx);
|
2976
|
+
}
|
2977
|
+
|
2978
|
+
/**
|
2979
|
+
* Normalize a given `.eslintignore` data to config array elements.
|
2980
|
+
* @param {string[]} ignorePatterns The patterns to ignore files.
|
2981
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
2982
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
2983
|
+
* @private
|
2984
|
+
*/
|
2985
|
+
*_normalizeESLintIgnoreData(ignorePatterns, ctx) {
|
2986
|
+
const elements = this._normalizeObjectConfigData(
|
2987
|
+
{ ignorePatterns },
|
2988
|
+
ctx
|
2989
|
+
);
|
2990
|
+
|
2991
|
+
// Set `ignorePattern.loose` flag for backward compatibility.
|
2992
|
+
for (const element of elements) {
|
2993
|
+
if (element.ignorePattern) {
|
2994
|
+
element.ignorePattern.loose = true;
|
2995
|
+
}
|
2996
|
+
yield element;
|
2997
|
+
}
|
2998
|
+
}
|
2999
|
+
|
3000
|
+
/**
|
3001
|
+
* Normalize a given config to an array.
|
3002
|
+
* @param {ConfigData} configData The config data to normalize.
|
3003
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3004
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3005
|
+
* @private
|
3006
|
+
*/
|
3007
|
+
_normalizeConfigData(configData, ctx) {
|
3008
|
+
const validator = new ConfigValidator();
|
3009
|
+
|
3010
|
+
validator.validateConfigSchema(configData, ctx.name || ctx.filePath);
|
3011
|
+
return this._normalizeObjectConfigData(configData, ctx);
|
3012
|
+
}
|
3013
|
+
|
3014
|
+
/**
|
3015
|
+
* Normalize a given config to an array.
|
3016
|
+
* @param {ConfigData|OverrideConfigData} configData The config data to normalize.
|
3017
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3018
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3019
|
+
* @private
|
3020
|
+
*/
|
3021
|
+
*_normalizeObjectConfigData(configData, ctx) {
|
3022
|
+
const { files, excludedFiles, ...configBody } = configData;
|
3023
|
+
const criteria = OverrideTester.create(
|
3024
|
+
files,
|
3025
|
+
excludedFiles,
|
3026
|
+
ctx.matchBasePath
|
3027
|
+
);
|
3028
|
+
const elements = this._normalizeObjectConfigDataBody(configBody, ctx);
|
3029
|
+
|
3030
|
+
// Apply the criteria to every element.
|
3031
|
+
for (const element of elements) {
|
3032
|
+
|
3033
|
+
/*
|
3034
|
+
* Merge the criteria.
|
3035
|
+
* This is for the `overrides` entries that came from the
|
3036
|
+
* configurations of `overrides[].extends`.
|
3037
|
+
*/
|
3038
|
+
element.criteria = OverrideTester.and(criteria, element.criteria);
|
3039
|
+
|
3040
|
+
/*
|
3041
|
+
* Remove `root` property to ignore `root` settings which came from
|
3042
|
+
* `extends` in `overrides`.
|
3043
|
+
*/
|
3044
|
+
if (element.criteria) {
|
3045
|
+
element.root = void 0;
|
3046
|
+
}
|
3047
|
+
|
3048
|
+
yield element;
|
3049
|
+
}
|
3050
|
+
}
|
3051
|
+
|
3052
|
+
/**
|
3053
|
+
* Normalize a given config to an array.
|
3054
|
+
* @param {ConfigData} configData The config data to normalize.
|
3055
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3056
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3057
|
+
* @private
|
3058
|
+
*/
|
3059
|
+
*_normalizeObjectConfigDataBody(
|
3060
|
+
{
|
3061
|
+
env,
|
3062
|
+
extends: extend,
|
3063
|
+
globals,
|
3064
|
+
ignorePatterns,
|
3065
|
+
noInlineConfig,
|
3066
|
+
parser: parserName,
|
3067
|
+
parserOptions,
|
3068
|
+
plugins: pluginList,
|
3069
|
+
processor,
|
3070
|
+
reportUnusedDisableDirectives,
|
3071
|
+
root,
|
3072
|
+
rules,
|
3073
|
+
settings,
|
3074
|
+
overrides: overrideList = []
|
3075
|
+
},
|
3076
|
+
ctx
|
3077
|
+
) {
|
3078
|
+
const extendList = Array.isArray(extend) ? extend : [extend];
|
3079
|
+
const ignorePattern = ignorePatterns && new IgnorePattern(
|
3080
|
+
Array.isArray(ignorePatterns) ? ignorePatterns : [ignorePatterns],
|
3081
|
+
ctx.matchBasePath
|
3082
|
+
);
|
3083
|
+
|
3084
|
+
// Flatten `extends`.
|
3085
|
+
for (const extendName of extendList.filter(Boolean)) {
|
3086
|
+
yield* this._loadExtends(extendName, ctx);
|
3087
|
+
}
|
3088
|
+
|
3089
|
+
// Load parser & plugins.
|
3090
|
+
const parser = parserName && this._loadParser(parserName, ctx);
|
3091
|
+
const plugins = pluginList && this._loadPlugins(pluginList, ctx);
|
3092
|
+
|
3093
|
+
// Yield pseudo config data for file extension processors.
|
3094
|
+
if (plugins) {
|
3095
|
+
yield* this._takeFileExtensionProcessors(plugins, ctx);
|
3096
|
+
}
|
3097
|
+
|
3098
|
+
// Yield the config data except `extends` and `overrides`.
|
3099
|
+
yield {
|
3100
|
+
|
3101
|
+
// Debug information.
|
3102
|
+
type: ctx.type,
|
3103
|
+
name: ctx.name,
|
3104
|
+
filePath: ctx.filePath,
|
3105
|
+
|
3106
|
+
// Config data.
|
3107
|
+
criteria: null,
|
3108
|
+
env,
|
3109
|
+
globals,
|
3110
|
+
ignorePattern,
|
3111
|
+
noInlineConfig,
|
3112
|
+
parser,
|
3113
|
+
parserOptions,
|
3114
|
+
plugins,
|
3115
|
+
processor,
|
3116
|
+
reportUnusedDisableDirectives,
|
3117
|
+
root,
|
3118
|
+
rules,
|
3119
|
+
settings
|
3120
|
+
};
|
3121
|
+
|
3122
|
+
// Flatten `overries`.
|
3123
|
+
for (let i = 0; i < overrideList.length; ++i) {
|
3124
|
+
yield* this._normalizeObjectConfigData(
|
3125
|
+
overrideList[i],
|
3126
|
+
{ ...ctx, name: `${ctx.name}#overrides[${i}]` }
|
3127
|
+
);
|
3128
|
+
}
|
3129
|
+
}
|
3130
|
+
|
3131
|
+
/**
|
3132
|
+
* Load configs of an element in `extends`.
|
3133
|
+
* @param {string} extendName The name of a base config.
|
3134
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3135
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3136
|
+
* @private
|
3137
|
+
*/
|
3138
|
+
_loadExtends(extendName, ctx) {
|
3139
|
+
debug$2("Loading {extends:%j} relative to %s", extendName, ctx.filePath);
|
3140
|
+
try {
|
3141
|
+
if (extendName.startsWith("eslint:")) {
|
3142
|
+
return this._loadExtendedBuiltInConfig(extendName, ctx);
|
3143
|
+
}
|
3144
|
+
if (extendName.startsWith("plugin:")) {
|
3145
|
+
return this._loadExtendedPluginConfig(extendName, ctx);
|
3146
|
+
}
|
3147
|
+
return this._loadExtendedShareableConfig(extendName, ctx);
|
3148
|
+
} catch (error) {
|
3149
|
+
error.message += `\nReferenced from: ${ctx.filePath || ctx.name}`;
|
3150
|
+
throw error;
|
3151
|
+
}
|
3152
|
+
}
|
3153
|
+
|
3154
|
+
/**
|
3155
|
+
* Load configs of an element in `extends`.
|
3156
|
+
* @param {string} extendName The name of a base config.
|
3157
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3158
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3159
|
+
* @private
|
3160
|
+
*/
|
3161
|
+
_loadExtendedBuiltInConfig(extendName, ctx) {
|
3162
|
+
const {
|
3163
|
+
eslintAllPath,
|
3164
|
+
getEslintAllConfig,
|
3165
|
+
eslintRecommendedPath,
|
3166
|
+
getEslintRecommendedConfig
|
3167
|
+
} = internalSlotsMap$1.get(this);
|
3168
|
+
|
3169
|
+
if (extendName === "eslint:recommended") {
|
3170
|
+
const name = `${ctx.name} » ${extendName}`;
|
3171
|
+
|
3172
|
+
if (getEslintRecommendedConfig) {
|
3173
|
+
if (typeof getEslintRecommendedConfig !== "function") {
|
3174
|
+
throw new Error(`getEslintRecommendedConfig must be a function instead of '${getEslintRecommendedConfig}'`);
|
3175
|
+
}
|
3176
|
+
return this._normalizeConfigData(getEslintRecommendedConfig(), { ...ctx, name, filePath: "" });
|
3177
|
+
}
|
3178
|
+
return this._loadConfigData({
|
3179
|
+
...ctx,
|
3180
|
+
name,
|
3181
|
+
filePath: eslintRecommendedPath
|
3182
|
+
});
|
3183
|
+
}
|
3184
|
+
if (extendName === "eslint:all") {
|
3185
|
+
const name = `${ctx.name} » ${extendName}`;
|
3186
|
+
|
3187
|
+
if (getEslintAllConfig) {
|
3188
|
+
if (typeof getEslintAllConfig !== "function") {
|
3189
|
+
throw new Error(`getEslintAllConfig must be a function instead of '${getEslintAllConfig}'`);
|
3190
|
+
}
|
3191
|
+
return this._normalizeConfigData(getEslintAllConfig(), { ...ctx, name, filePath: "" });
|
3192
|
+
}
|
3193
|
+
return this._loadConfigData({
|
3194
|
+
...ctx,
|
3195
|
+
name,
|
3196
|
+
filePath: eslintAllPath
|
3197
|
+
});
|
3198
|
+
}
|
3199
|
+
|
3200
|
+
throw configInvalidError(extendName, ctx.name, "extend-config-missing");
|
3201
|
+
}
|
3202
|
+
|
3203
|
+
/**
|
3204
|
+
* Load configs of an element in `extends`.
|
3205
|
+
* @param {string} extendName The name of a base config.
|
3206
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3207
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3208
|
+
* @private
|
3209
|
+
*/
|
3210
|
+
_loadExtendedPluginConfig(extendName, ctx) {
|
3211
|
+
const slashIndex = extendName.lastIndexOf("/");
|
3212
|
+
|
3213
|
+
if (slashIndex === -1) {
|
3214
|
+
throw configInvalidError(extendName, ctx.filePath, "plugin-invalid");
|
3215
|
+
}
|
3216
|
+
|
3217
|
+
const pluginName = extendName.slice("plugin:".length, slashIndex);
|
3218
|
+
const configName = extendName.slice(slashIndex + 1);
|
3219
|
+
|
3220
|
+
if (isFilePath(pluginName)) {
|
3221
|
+
throw new Error("'extends' cannot use a file path for plugins.");
|
3222
|
+
}
|
3223
|
+
|
3224
|
+
const plugin = this._loadPlugin(pluginName, ctx);
|
3225
|
+
const configData =
|
3226
|
+
plugin.definition &&
|
3227
|
+
plugin.definition.configs[configName];
|
3228
|
+
|
3229
|
+
if (configData) {
|
3230
|
+
return this._normalizeConfigData(configData, {
|
3231
|
+
...ctx,
|
3232
|
+
filePath: plugin.filePath || ctx.filePath,
|
3233
|
+
name: `${ctx.name} » plugin:${plugin.id}/${configName}`
|
3234
|
+
});
|
3235
|
+
}
|
3236
|
+
|
3237
|
+
throw plugin.error || configInvalidError(extendName, ctx.filePath, "extend-config-missing");
|
3238
|
+
}
|
3239
|
+
|
3240
|
+
/**
|
3241
|
+
* Load configs of an element in `extends`.
|
3242
|
+
* @param {string} extendName The name of a base config.
|
3243
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3244
|
+
* @returns {IterableIterator<ConfigArrayElement>} The normalized config.
|
3245
|
+
* @private
|
3246
|
+
*/
|
3247
|
+
_loadExtendedShareableConfig(extendName, ctx) {
|
3248
|
+
const { cwd, resolver } = internalSlotsMap$1.get(this);
|
3249
|
+
const relativeTo = ctx.filePath || path__default["default"].join(cwd, "__placeholder__.js");
|
3250
|
+
let request;
|
3251
|
+
|
3252
|
+
if (isFilePath(extendName)) {
|
3253
|
+
request = extendName;
|
3254
|
+
} else if (extendName.startsWith(".")) {
|
3255
|
+
request = `./${extendName}`; // For backward compatibility. A ton of tests depended on this behavior.
|
3256
|
+
} else {
|
3257
|
+
request = normalizePackageName(
|
3258
|
+
extendName,
|
3259
|
+
"eslint-config"
|
3260
|
+
);
|
3261
|
+
}
|
3262
|
+
|
3263
|
+
let filePath;
|
3264
|
+
|
3265
|
+
try {
|
3266
|
+
filePath = resolver.resolve(request, relativeTo);
|
3267
|
+
} catch (error) {
|
3268
|
+
/* istanbul ignore else */
|
3269
|
+
if (error && error.code === "MODULE_NOT_FOUND") {
|
3270
|
+
throw configInvalidError(extendName, ctx.filePath, "extend-config-missing");
|
3271
|
+
}
|
3272
|
+
throw error;
|
3273
|
+
}
|
3274
|
+
|
3275
|
+
writeDebugLogForLoading(request, relativeTo, filePath);
|
3276
|
+
return this._loadConfigData({
|
3277
|
+
...ctx,
|
3278
|
+
filePath,
|
3279
|
+
name: `${ctx.name} » ${request}`
|
3280
|
+
});
|
3281
|
+
}
|
3282
|
+
|
3283
|
+
/**
|
3284
|
+
* Load given plugins.
|
3285
|
+
* @param {string[]} names The plugin names to load.
|
3286
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3287
|
+
* @returns {Record<string,DependentPlugin>} The loaded parser.
|
3288
|
+
* @private
|
3289
|
+
*/
|
3290
|
+
_loadPlugins(names, ctx) {
|
3291
|
+
return names.reduce((map, name) => {
|
3292
|
+
if (isFilePath(name)) {
|
3293
|
+
throw new Error("Plugins array cannot includes file paths.");
|
3294
|
+
}
|
3295
|
+
const plugin = this._loadPlugin(name, ctx);
|
3296
|
+
|
3297
|
+
map[plugin.id] = plugin;
|
3298
|
+
|
3299
|
+
return map;
|
3300
|
+
}, {});
|
3301
|
+
}
|
3302
|
+
|
3303
|
+
/**
|
3304
|
+
* Load a given parser.
|
3305
|
+
* @param {string} nameOrPath The package name or the path to a parser file.
|
3306
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3307
|
+
* @returns {DependentParser} The loaded parser.
|
3308
|
+
*/
|
3309
|
+
_loadParser(nameOrPath, ctx) {
|
3310
|
+
debug$2("Loading parser %j from %s", nameOrPath, ctx.filePath);
|
3311
|
+
|
3312
|
+
const { cwd, resolver } = internalSlotsMap$1.get(this);
|
3313
|
+
const relativeTo = ctx.filePath || path__default["default"].join(cwd, "__placeholder__.js");
|
3314
|
+
|
3315
|
+
try {
|
3316
|
+
const filePath = resolver.resolve(nameOrPath, relativeTo);
|
3317
|
+
|
3318
|
+
writeDebugLogForLoading(nameOrPath, relativeTo, filePath);
|
3319
|
+
|
3320
|
+
return new ConfigDependency({
|
3321
|
+
definition: require$1(filePath),
|
3322
|
+
filePath,
|
3323
|
+
id: nameOrPath,
|
3324
|
+
importerName: ctx.name,
|
3325
|
+
importerPath: ctx.filePath
|
3326
|
+
});
|
3327
|
+
} catch (error) {
|
3328
|
+
|
3329
|
+
// If the parser name is "espree", load the espree of ESLint.
|
3330
|
+
if (nameOrPath === "espree") {
|
3331
|
+
debug$2("Fallback espree.");
|
3332
|
+
return new ConfigDependency({
|
3333
|
+
definition: require$1("espree"),
|
3334
|
+
filePath: require$1.resolve("espree"),
|
3335
|
+
id: nameOrPath,
|
3336
|
+
importerName: ctx.name,
|
3337
|
+
importerPath: ctx.filePath
|
3338
|
+
});
|
3339
|
+
}
|
3340
|
+
|
3341
|
+
debug$2("Failed to load parser '%s' declared in '%s'.", nameOrPath, ctx.name);
|
3342
|
+
error.message = `Failed to load parser '${nameOrPath}' declared in '${ctx.name}': ${error.message}`;
|
3343
|
+
|
3344
|
+
return new ConfigDependency({
|
3345
|
+
error,
|
3346
|
+
id: nameOrPath,
|
3347
|
+
importerName: ctx.name,
|
3348
|
+
importerPath: ctx.filePath
|
3349
|
+
});
|
3350
|
+
}
|
3351
|
+
}
|
3352
|
+
|
3353
|
+
/**
|
3354
|
+
* Load a given plugin.
|
3355
|
+
* @param {string} name The plugin name to load.
|
3356
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3357
|
+
* @returns {DependentPlugin} The loaded plugin.
|
3358
|
+
* @private
|
3359
|
+
*/
|
3360
|
+
_loadPlugin(name, ctx) {
|
3361
|
+
debug$2("Loading plugin %j from %s", name, ctx.filePath);
|
3362
|
+
|
3363
|
+
const { additionalPluginPool, resolver } = internalSlotsMap$1.get(this);
|
3364
|
+
const request = normalizePackageName(name, "eslint-plugin");
|
3365
|
+
const id = getShorthandName(request, "eslint-plugin");
|
3366
|
+
const relativeTo = path__default["default"].join(ctx.pluginBasePath, "__placeholder__.js");
|
3367
|
+
|
3368
|
+
if (name.match(/\s+/u)) {
|
3369
|
+
const error = Object.assign(
|
3370
|
+
new Error(`Whitespace found in plugin name '${name}'`),
|
3371
|
+
{
|
3372
|
+
messageTemplate: "whitespace-found",
|
3373
|
+
messageData: { pluginName: request }
|
3374
|
+
}
|
3375
|
+
);
|
3376
|
+
|
3377
|
+
return new ConfigDependency({
|
3378
|
+
error,
|
3379
|
+
id,
|
3380
|
+
importerName: ctx.name,
|
3381
|
+
importerPath: ctx.filePath
|
3382
|
+
});
|
3383
|
+
}
|
3384
|
+
|
3385
|
+
// Check for additional pool.
|
3386
|
+
const plugin =
|
3387
|
+
additionalPluginPool.get(request) ||
|
3388
|
+
additionalPluginPool.get(id);
|
3389
|
+
|
3390
|
+
if (plugin) {
|
3391
|
+
return new ConfigDependency({
|
3392
|
+
definition: normalizePlugin(plugin),
|
3393
|
+
filePath: "", // It's unknown where the plugin came from.
|
3394
|
+
id,
|
3395
|
+
importerName: ctx.name,
|
3396
|
+
importerPath: ctx.filePath
|
3397
|
+
});
|
3398
|
+
}
|
3399
|
+
|
3400
|
+
let filePath;
|
3401
|
+
let error;
|
3402
|
+
|
3403
|
+
try {
|
3404
|
+
filePath = resolver.resolve(request, relativeTo);
|
3405
|
+
} catch (resolveError) {
|
3406
|
+
error = resolveError;
|
3407
|
+
/* istanbul ignore else */
|
3408
|
+
if (error && error.code === "MODULE_NOT_FOUND") {
|
3409
|
+
error.messageTemplate = "plugin-missing";
|
3410
|
+
error.messageData = {
|
3411
|
+
pluginName: request,
|
3412
|
+
resolvePluginsRelativeTo: ctx.pluginBasePath,
|
3413
|
+
importerName: ctx.name
|
3414
|
+
};
|
3415
|
+
}
|
3416
|
+
}
|
3417
|
+
|
3418
|
+
if (filePath) {
|
3419
|
+
try {
|
3420
|
+
writeDebugLogForLoading(request, relativeTo, filePath);
|
3421
|
+
|
3422
|
+
const startTime = Date.now();
|
3423
|
+
const pluginDefinition = require$1(filePath);
|
3424
|
+
|
3425
|
+
debug$2(`Plugin ${filePath} loaded in: ${Date.now() - startTime}ms`);
|
3426
|
+
|
3427
|
+
return new ConfigDependency({
|
3428
|
+
definition: normalizePlugin(pluginDefinition),
|
3429
|
+
filePath,
|
3430
|
+
id,
|
3431
|
+
importerName: ctx.name,
|
3432
|
+
importerPath: ctx.filePath
|
3433
|
+
});
|
3434
|
+
} catch (loadError) {
|
3435
|
+
error = loadError;
|
3436
|
+
}
|
3437
|
+
}
|
3438
|
+
|
3439
|
+
debug$2("Failed to load plugin '%s' declared in '%s'.", name, ctx.name);
|
3440
|
+
error.message = `Failed to load plugin '${name}' declared in '${ctx.name}': ${error.message}`;
|
3441
|
+
return new ConfigDependency({
|
3442
|
+
error,
|
3443
|
+
id,
|
3444
|
+
importerName: ctx.name,
|
3445
|
+
importerPath: ctx.filePath
|
3446
|
+
});
|
3447
|
+
}
|
3448
|
+
|
3449
|
+
/**
|
3450
|
+
* Take file expression processors as config array elements.
|
3451
|
+
* @param {Record<string,DependentPlugin>} plugins The plugin definitions.
|
3452
|
+
* @param {ConfigArrayFactoryLoadingContext} ctx The loading context.
|
3453
|
+
* @returns {IterableIterator<ConfigArrayElement>} The config array elements of file expression processors.
|
3454
|
+
* @private
|
3455
|
+
*/
|
3456
|
+
*_takeFileExtensionProcessors(plugins, ctx) {
|
3457
|
+
for (const pluginId of Object.keys(plugins)) {
|
3458
|
+
const processors =
|
3459
|
+
plugins[pluginId] &&
|
3460
|
+
plugins[pluginId].definition &&
|
3461
|
+
plugins[pluginId].definition.processors;
|
3462
|
+
|
3463
|
+
if (!processors) {
|
3464
|
+
continue;
|
3465
|
+
}
|
3466
|
+
|
3467
|
+
for (const processorId of Object.keys(processors)) {
|
3468
|
+
if (processorId.startsWith(".")) {
|
3469
|
+
yield* this._normalizeObjectConfigData(
|
3470
|
+
{
|
3471
|
+
files: [`*${processorId}`],
|
3472
|
+
processor: `${pluginId}/${processorId}`
|
3473
|
+
},
|
3474
|
+
{
|
3475
|
+
...ctx,
|
3476
|
+
type: "implicit-processor",
|
3477
|
+
name: `${ctx.name}#processors["${pluginId}/${processorId}"]`
|
3478
|
+
}
|
3479
|
+
);
|
3480
|
+
}
|
3481
|
+
}
|
3482
|
+
}
|
3483
|
+
}
|
3484
|
+
}
|
3485
|
+
|
3486
|
+
/**
|
3487
|
+
* @fileoverview `CascadingConfigArrayFactory` class.
|
3488
|
+
*
|
3489
|
+
* `CascadingConfigArrayFactory` class has a responsibility:
|
3490
|
+
*
|
3491
|
+
* 1. Handles cascading of config files.
|
3492
|
+
*
|
3493
|
+
* It provides two methods:
|
3494
|
+
*
|
3495
|
+
* - `getConfigArrayForFile(filePath)`
|
3496
|
+
* Get the corresponded configuration of a given file. This method doesn't
|
3497
|
+
* throw even if the given file didn't exist.
|
3498
|
+
* - `clearCache()`
|
3499
|
+
* Clear the internal cache. You have to call this method when
|
3500
|
+
* `additionalPluginPool` was updated if `baseConfig` or `cliConfig` depends
|
3501
|
+
* on the additional plugins. (`CLIEngine#addPlugin()` method calls this.)
|
3502
|
+
*
|
3503
|
+
* @author Toru Nagashima <https://github.com/mysticatea>
|
3504
|
+
*/
|
3505
|
+
|
3506
|
+
const debug$1 = debugOrig__default["default"]("eslintrc:cascading-config-array-factory");
|
3507
|
+
|
3508
|
+
//------------------------------------------------------------------------------
|
3509
|
+
// Helpers
|
3510
|
+
//------------------------------------------------------------------------------
|
3511
|
+
|
3512
|
+
// Define types for VSCode IntelliSense.
|
3513
|
+
/** @typedef {import("./shared/types").ConfigData} ConfigData */
|
3514
|
+
/** @typedef {import("./shared/types").Parser} Parser */
|
3515
|
+
/** @typedef {import("./shared/types").Plugin} Plugin */
|
3516
|
+
/** @typedef {import("./shared/types").Rule} Rule */
|
3517
|
+
/** @typedef {ReturnType<ConfigArrayFactory["create"]>} ConfigArray */
|
3518
|
+
|
3519
|
+
/**
|
3520
|
+
* @typedef {Object} CascadingConfigArrayFactoryOptions
|
3521
|
+
* @property {Map<string,Plugin>} [additionalPluginPool] The map for additional plugins.
|
3522
|
+
* @property {ConfigData} [baseConfig] The config by `baseConfig` option.
|
3523
|
+
* @property {ConfigData} [cliConfig] The config by CLI options (`--env`, `--global`, `--ignore-pattern`, `--parser`, `--parser-options`, `--plugin`, and `--rule`). CLI options overwrite the setting in config files.
|
3524
|
+
* @property {string} [cwd] The base directory to start lookup.
|
3525
|
+
* @property {string} [ignorePath] The path to the alternative file of `.eslintignore`.
|
3526
|
+
* @property {string[]} [rulePaths] The value of `--rulesdir` option.
|
3527
|
+
* @property {string} [specificConfigPath] The value of `--config` option.
|
3528
|
+
* @property {boolean} [useEslintrc] if `false` then it doesn't load config files.
|
3529
|
+
* @property {Function} loadRules The function to use to load rules.
|
3530
|
+
* @property {Map<string,Rule>} builtInRules The rules that are built in to ESLint.
|
3531
|
+
* @property {Object} [resolver=ModuleResolver] The module resolver object.
|
3532
|
+
* @property {string} eslintAllPath The path to the definitions for eslint:all.
|
3533
|
+
* @property {Function} getEslintAllConfig Returns the config data for eslint:all.
|
3534
|
+
* @property {string} eslintRecommendedPath The path to the definitions for eslint:recommended.
|
3535
|
+
* @property {Function} getEslintRecommendedConfig Returns the config data for eslint:recommended.
|
3536
|
+
*/
|
3537
|
+
|
3538
|
+
/**
|
3539
|
+
* @typedef {Object} CascadingConfigArrayFactoryInternalSlots
|
3540
|
+
* @property {ConfigArray} baseConfigArray The config array of `baseConfig` option.
|
3541
|
+
* @property {ConfigData} baseConfigData The config data of `baseConfig` option. This is used to reset `baseConfigArray`.
|
3542
|
+
* @property {ConfigArray} cliConfigArray The config array of CLI options.
|
3543
|
+
* @property {ConfigData} cliConfigData The config data of CLI options. This is used to reset `cliConfigArray`.
|
3544
|
+
* @property {ConfigArrayFactory} configArrayFactory The factory for config arrays.
|
3545
|
+
* @property {Map<string, ConfigArray>} configCache The cache from directory paths to config arrays.
|
3546
|
+
* @property {string} cwd The base directory to start lookup.
|
3547
|
+
* @property {WeakMap<ConfigArray, ConfigArray>} finalizeCache The cache from config arrays to finalized config arrays.
|
3548
|
+
* @property {string} [ignorePath] The path to the alternative file of `.eslintignore`.
|
3549
|
+
* @property {string[]|null} rulePaths The value of `--rulesdir` option. This is used to reset `baseConfigArray`.
|
3550
|
+
* @property {string|null} specificConfigPath The value of `--config` option. This is used to reset `cliConfigArray`.
|
3551
|
+
* @property {boolean} useEslintrc if `false` then it doesn't load config files.
|
3552
|
+
* @property {Function} loadRules The function to use to load rules.
|
3553
|
+
* @property {Map<string,Rule>} builtInRules The rules that are built in to ESLint.
|
3554
|
+
* @property {Object} [resolver=ModuleResolver] The module resolver object.
|
3555
|
+
* @property {string} eslintAllPath The path to the definitions for eslint:all.
|
3556
|
+
* @property {Function} getEslintAllConfig Returns the config data for eslint:all.
|
3557
|
+
* @property {string} eslintRecommendedPath The path to the definitions for eslint:recommended.
|
3558
|
+
* @property {Function} getEslintRecommendedConfig Returns the config data for eslint:recommended.
|
3559
|
+
*/
|
3560
|
+
|
3561
|
+
/** @type {WeakMap<CascadingConfigArrayFactory, CascadingConfigArrayFactoryInternalSlots>} */
|
3562
|
+
const internalSlotsMap = new WeakMap();
|
3563
|
+
|
3564
|
+
/**
|
3565
|
+
* Create the config array from `baseConfig` and `rulePaths`.
|
3566
|
+
* @param {CascadingConfigArrayFactoryInternalSlots} slots The slots.
|
3567
|
+
* @returns {ConfigArray} The config array of the base configs.
|
3568
|
+
*/
|
3569
|
+
function createBaseConfigArray({
|
3570
|
+
configArrayFactory,
|
3571
|
+
baseConfigData,
|
3572
|
+
rulePaths,
|
3573
|
+
cwd,
|
3574
|
+
loadRules
|
3575
|
+
}) {
|
3576
|
+
const baseConfigArray = configArrayFactory.create(
|
3577
|
+
baseConfigData,
|
3578
|
+
{ name: "BaseConfig" }
|
3579
|
+
);
|
3580
|
+
|
3581
|
+
/*
|
3582
|
+
* Create the config array element for the default ignore patterns.
|
3583
|
+
* This element has `ignorePattern` property that ignores the default
|
3584
|
+
* patterns in the current working directory.
|
3585
|
+
*/
|
3586
|
+
baseConfigArray.unshift(configArrayFactory.create(
|
3587
|
+
{ ignorePatterns: IgnorePattern.DefaultPatterns },
|
3588
|
+
{ name: "DefaultIgnorePattern" }
|
3589
|
+
)[0]);
|
3590
|
+
|
3591
|
+
/*
|
3592
|
+
* Load rules `--rulesdir` option as a pseudo plugin.
|
3593
|
+
* Use a pseudo plugin to define rules of `--rulesdir`, so we can validate
|
3594
|
+
* the rule's options with only information in the config array.
|
3595
|
+
*/
|
3596
|
+
if (rulePaths && rulePaths.length > 0) {
|
3597
|
+
baseConfigArray.push({
|
3598
|
+
type: "config",
|
3599
|
+
name: "--rulesdir",
|
3600
|
+
filePath: "",
|
3601
|
+
plugins: {
|
3602
|
+
"": new ConfigDependency({
|
3603
|
+
definition: {
|
3604
|
+
rules: rulePaths.reduce(
|
3605
|
+
(map, rulesPath) => Object.assign(
|
3606
|
+
map,
|
3607
|
+
loadRules(rulesPath, cwd)
|
3608
|
+
),
|
3609
|
+
{}
|
3610
|
+
)
|
3611
|
+
},
|
3612
|
+
filePath: "",
|
3613
|
+
id: "",
|
3614
|
+
importerName: "--rulesdir",
|
3615
|
+
importerPath: ""
|
3616
|
+
})
|
3617
|
+
}
|
3618
|
+
});
|
3619
|
+
}
|
3620
|
+
|
3621
|
+
return baseConfigArray;
|
3622
|
+
}
|
3623
|
+
|
3624
|
+
/**
|
3625
|
+
* Create the config array from CLI options.
|
3626
|
+
* @param {CascadingConfigArrayFactoryInternalSlots} slots The slots.
|
3627
|
+
* @returns {ConfigArray} The config array of the base configs.
|
3628
|
+
*/
|
3629
|
+
function createCLIConfigArray({
|
3630
|
+
cliConfigData,
|
3631
|
+
configArrayFactory,
|
3632
|
+
cwd,
|
3633
|
+
ignorePath,
|
3634
|
+
specificConfigPath
|
3635
|
+
}) {
|
3636
|
+
const cliConfigArray = configArrayFactory.create(
|
3637
|
+
cliConfigData,
|
3638
|
+
{ name: "CLIOptions" }
|
3639
|
+
);
|
3640
|
+
|
3641
|
+
cliConfigArray.unshift(
|
3642
|
+
...(ignorePath
|
3643
|
+
? configArrayFactory.loadESLintIgnore(ignorePath)
|
3644
|
+
: configArrayFactory.loadDefaultESLintIgnore())
|
3645
|
+
);
|
3646
|
+
|
3647
|
+
if (specificConfigPath) {
|
3648
|
+
cliConfigArray.unshift(
|
3649
|
+
...configArrayFactory.loadFile(
|
3650
|
+
specificConfigPath,
|
3651
|
+
{ name: "--config", basePath: cwd }
|
3652
|
+
)
|
3653
|
+
);
|
3654
|
+
}
|
3655
|
+
|
3656
|
+
return cliConfigArray;
|
3657
|
+
}
|
3658
|
+
|
3659
|
+
/**
|
3660
|
+
* The error type when there are files matched by a glob, but all of them have been ignored.
|
3661
|
+
*/
|
3662
|
+
class ConfigurationNotFoundError extends Error {
|
3663
|
+
|
3664
|
+
// eslint-disable-next-line jsdoc/require-description
|
3665
|
+
/**
|
3666
|
+
* @param {string} directoryPath The directory path.
|
3667
|
+
*/
|
3668
|
+
constructor(directoryPath) {
|
3669
|
+
super(`No ESLint configuration found in ${directoryPath}.`);
|
3670
|
+
this.messageTemplate = "no-config-found";
|
3671
|
+
this.messageData = { directoryPath };
|
3672
|
+
}
|
3673
|
+
}
|
3674
|
+
|
3675
|
+
/**
|
3676
|
+
* This class provides the functionality that enumerates every file which is
|
3677
|
+
* matched by given glob patterns and that configuration.
|
3678
|
+
*/
|
3679
|
+
class CascadingConfigArrayFactory {
|
3680
|
+
|
3681
|
+
/**
|
3682
|
+
* Initialize this enumerator.
|
3683
|
+
* @param {CascadingConfigArrayFactoryOptions} options The options.
|
3684
|
+
*/
|
3685
|
+
constructor({
|
3686
|
+
additionalPluginPool = new Map(),
|
3687
|
+
baseConfig: baseConfigData = null,
|
3688
|
+
cliConfig: cliConfigData = null,
|
3689
|
+
cwd = process.cwd(),
|
3690
|
+
ignorePath,
|
3691
|
+
resolvePluginsRelativeTo,
|
3692
|
+
rulePaths = [],
|
3693
|
+
specificConfigPath = null,
|
3694
|
+
useEslintrc = true,
|
3695
|
+
builtInRules = new Map(),
|
3696
|
+
loadRules,
|
3697
|
+
resolver,
|
3698
|
+
eslintRecommendedPath,
|
3699
|
+
getEslintRecommendedConfig,
|
3700
|
+
eslintAllPath,
|
3701
|
+
getEslintAllConfig
|
3702
|
+
} = {}) {
|
3703
|
+
const configArrayFactory = new ConfigArrayFactory({
|
3704
|
+
additionalPluginPool,
|
3705
|
+
cwd,
|
3706
|
+
resolvePluginsRelativeTo,
|
3707
|
+
builtInRules,
|
3708
|
+
resolver,
|
3709
|
+
eslintRecommendedPath,
|
3710
|
+
getEslintRecommendedConfig,
|
3711
|
+
eslintAllPath,
|
3712
|
+
getEslintAllConfig
|
3713
|
+
});
|
3714
|
+
|
3715
|
+
internalSlotsMap.set(this, {
|
3716
|
+
baseConfigArray: createBaseConfigArray({
|
3717
|
+
baseConfigData,
|
3718
|
+
configArrayFactory,
|
3719
|
+
cwd,
|
3720
|
+
rulePaths,
|
3721
|
+
loadRules
|
3722
|
+
}),
|
3723
|
+
baseConfigData,
|
3724
|
+
cliConfigArray: createCLIConfigArray({
|
3725
|
+
cliConfigData,
|
3726
|
+
configArrayFactory,
|
3727
|
+
cwd,
|
3728
|
+
ignorePath,
|
3729
|
+
specificConfigPath
|
3730
|
+
}),
|
3731
|
+
cliConfigData,
|
3732
|
+
configArrayFactory,
|
3733
|
+
configCache: new Map(),
|
3734
|
+
cwd,
|
3735
|
+
finalizeCache: new WeakMap(),
|
3736
|
+
ignorePath,
|
3737
|
+
rulePaths,
|
3738
|
+
specificConfigPath,
|
3739
|
+
useEslintrc,
|
3740
|
+
builtInRules,
|
3741
|
+
loadRules
|
3742
|
+
});
|
3743
|
+
}
|
3744
|
+
|
3745
|
+
/**
|
3746
|
+
* The path to the current working directory.
|
3747
|
+
* This is used by tests.
|
3748
|
+
* @type {string}
|
3749
|
+
*/
|
3750
|
+
get cwd() {
|
3751
|
+
const { cwd } = internalSlotsMap.get(this);
|
3752
|
+
|
3753
|
+
return cwd;
|
3754
|
+
}
|
3755
|
+
|
3756
|
+
/**
|
3757
|
+
* Get the config array of a given file.
|
3758
|
+
* If `filePath` was not given, it returns the config which contains only
|
3759
|
+
* `baseConfigData` and `cliConfigData`.
|
3760
|
+
* @param {string} [filePath] The file path to a file.
|
3761
|
+
* @param {Object} [options] The options.
|
3762
|
+
* @param {boolean} [options.ignoreNotFoundError] If `true` then it doesn't throw `ConfigurationNotFoundError`.
|
3763
|
+
* @returns {ConfigArray} The config array of the file.
|
3764
|
+
*/
|
3765
|
+
getConfigArrayForFile(filePath, { ignoreNotFoundError = false } = {}) {
|
3766
|
+
const {
|
3767
|
+
baseConfigArray,
|
3768
|
+
cliConfigArray,
|
3769
|
+
cwd
|
3770
|
+
} = internalSlotsMap.get(this);
|
3771
|
+
|
3772
|
+
if (!filePath) {
|
3773
|
+
return new ConfigArray(...baseConfigArray, ...cliConfigArray);
|
3774
|
+
}
|
3775
|
+
|
3776
|
+
const directoryPath = path__default["default"].dirname(path__default["default"].resolve(cwd, filePath));
|
3777
|
+
|
3778
|
+
debug$1(`Load config files for ${directoryPath}.`);
|
3779
|
+
|
3780
|
+
return this._finalizeConfigArray(
|
3781
|
+
this._loadConfigInAncestors(directoryPath),
|
3782
|
+
directoryPath,
|
3783
|
+
ignoreNotFoundError
|
3784
|
+
);
|
3785
|
+
}
|
3786
|
+
|
3787
|
+
/**
|
3788
|
+
* Set the config data to override all configs.
|
3789
|
+
* Require to call `clearCache()` method after this method is called.
|
3790
|
+
* @param {ConfigData} configData The config data to override all configs.
|
3791
|
+
* @returns {void}
|
3792
|
+
*/
|
3793
|
+
setOverrideConfig(configData) {
|
3794
|
+
const slots = internalSlotsMap.get(this);
|
3795
|
+
|
3796
|
+
slots.cliConfigData = configData;
|
3797
|
+
}
|
3798
|
+
|
3799
|
+
/**
|
3800
|
+
* Clear config cache.
|
3801
|
+
* @returns {void}
|
3802
|
+
*/
|
3803
|
+
clearCache() {
|
3804
|
+
const slots = internalSlotsMap.get(this);
|
3805
|
+
|
3806
|
+
slots.baseConfigArray = createBaseConfigArray(slots);
|
3807
|
+
slots.cliConfigArray = createCLIConfigArray(slots);
|
3808
|
+
slots.configCache.clear();
|
3809
|
+
}
|
3810
|
+
|
3811
|
+
/**
|
3812
|
+
* Load and normalize config files from the ancestor directories.
|
3813
|
+
* @param {string} directoryPath The path to a leaf directory.
|
3814
|
+
* @param {boolean} configsExistInSubdirs `true` if configurations exist in subdirectories.
|
3815
|
+
* @returns {ConfigArray} The loaded config.
|
3816
|
+
* @private
|
3817
|
+
*/
|
3818
|
+
_loadConfigInAncestors(directoryPath, configsExistInSubdirs = false) {
|
3819
|
+
const {
|
3820
|
+
baseConfigArray,
|
3821
|
+
configArrayFactory,
|
3822
|
+
configCache,
|
3823
|
+
cwd,
|
3824
|
+
useEslintrc
|
3825
|
+
} = internalSlotsMap.get(this);
|
3826
|
+
|
3827
|
+
if (!useEslintrc) {
|
3828
|
+
return baseConfigArray;
|
3829
|
+
}
|
3830
|
+
|
3831
|
+
let configArray = configCache.get(directoryPath);
|
3832
|
+
|
3833
|
+
// Hit cache.
|
3834
|
+
if (configArray) {
|
3835
|
+
debug$1(`Cache hit: ${directoryPath}.`);
|
3836
|
+
return configArray;
|
3837
|
+
}
|
3838
|
+
debug$1(`No cache found: ${directoryPath}.`);
|
3839
|
+
|
3840
|
+
const homePath = os__default["default"].homedir();
|
3841
|
+
|
3842
|
+
// Consider this is root.
|
3843
|
+
if (directoryPath === homePath && cwd !== homePath) {
|
3844
|
+
debug$1("Stop traversing because of considered root.");
|
3845
|
+
if (configsExistInSubdirs) {
|
3846
|
+
const filePath = ConfigArrayFactory.getPathToConfigFileInDirectory(directoryPath);
|
3847
|
+
|
3848
|
+
if (filePath) {
|
3849
|
+
emitDeprecationWarning(
|
3850
|
+
filePath,
|
3851
|
+
"ESLINT_PERSONAL_CONFIG_SUPPRESS"
|
3852
|
+
);
|
3853
|
+
}
|
3854
|
+
}
|
3855
|
+
return this._cacheConfig(directoryPath, baseConfigArray);
|
3856
|
+
}
|
3857
|
+
|
3858
|
+
// Load the config on this directory.
|
3859
|
+
try {
|
3860
|
+
configArray = configArrayFactory.loadInDirectory(directoryPath);
|
3861
|
+
} catch (error) {
|
3862
|
+
/* istanbul ignore next */
|
3863
|
+
if (error.code === "EACCES") {
|
3864
|
+
debug$1("Stop traversing because of 'EACCES' error.");
|
3865
|
+
return this._cacheConfig(directoryPath, baseConfigArray);
|
3866
|
+
}
|
3867
|
+
throw error;
|
3868
|
+
}
|
3869
|
+
|
3870
|
+
if (configArray.length > 0 && configArray.isRoot()) {
|
3871
|
+
debug$1("Stop traversing because of 'root:true'.");
|
3872
|
+
configArray.unshift(...baseConfigArray);
|
3873
|
+
return this._cacheConfig(directoryPath, configArray);
|
3874
|
+
}
|
3875
|
+
|
3876
|
+
// Load from the ancestors and merge it.
|
3877
|
+
const parentPath = path__default["default"].dirname(directoryPath);
|
3878
|
+
const parentConfigArray = parentPath && parentPath !== directoryPath
|
3879
|
+
? this._loadConfigInAncestors(
|
3880
|
+
parentPath,
|
3881
|
+
configsExistInSubdirs || configArray.length > 0
|
3882
|
+
)
|
3883
|
+
: baseConfigArray;
|
3884
|
+
|
3885
|
+
if (configArray.length > 0) {
|
3886
|
+
configArray.unshift(...parentConfigArray);
|
3887
|
+
} else {
|
3888
|
+
configArray = parentConfigArray;
|
3889
|
+
}
|
3890
|
+
|
3891
|
+
// Cache and return.
|
3892
|
+
return this._cacheConfig(directoryPath, configArray);
|
3893
|
+
}
|
3894
|
+
|
3895
|
+
/**
|
3896
|
+
* Freeze and cache a given config.
|
3897
|
+
* @param {string} directoryPath The path to a directory as a cache key.
|
3898
|
+
* @param {ConfigArray} configArray The config array as a cache value.
|
3899
|
+
* @returns {ConfigArray} The `configArray` (frozen).
|
3900
|
+
*/
|
3901
|
+
_cacheConfig(directoryPath, configArray) {
|
3902
|
+
const { configCache } = internalSlotsMap.get(this);
|
3903
|
+
|
3904
|
+
Object.freeze(configArray);
|
3905
|
+
configCache.set(directoryPath, configArray);
|
3906
|
+
|
3907
|
+
return configArray;
|
3908
|
+
}
|
3909
|
+
|
3910
|
+
/**
|
3911
|
+
* Finalize a given config array.
|
3912
|
+
* Concatenate `--config` and other CLI options.
|
3913
|
+
* @param {ConfigArray} configArray The parent config array.
|
3914
|
+
* @param {string} directoryPath The path to the leaf directory to find config files.
|
3915
|
+
* @param {boolean} ignoreNotFoundError If `true` then it doesn't throw `ConfigurationNotFoundError`.
|
3916
|
+
* @returns {ConfigArray} The loaded config.
|
3917
|
+
* @private
|
3918
|
+
*/
|
3919
|
+
_finalizeConfigArray(configArray, directoryPath, ignoreNotFoundError) {
|
3920
|
+
const {
|
3921
|
+
cliConfigArray,
|
3922
|
+
configArrayFactory,
|
3923
|
+
finalizeCache,
|
3924
|
+
useEslintrc,
|
3925
|
+
builtInRules
|
3926
|
+
} = internalSlotsMap.get(this);
|
3927
|
+
|
3928
|
+
let finalConfigArray = finalizeCache.get(configArray);
|
3929
|
+
|
3930
|
+
if (!finalConfigArray) {
|
3931
|
+
finalConfigArray = configArray;
|
3932
|
+
|
3933
|
+
// Load the personal config if there are no regular config files.
|
3934
|
+
if (
|
3935
|
+
useEslintrc &&
|
3936
|
+
configArray.every(c => !c.filePath) &&
|
3937
|
+
cliConfigArray.every(c => !c.filePath) // `--config` option can be a file.
|
3938
|
+
) {
|
3939
|
+
const homePath = os__default["default"].homedir();
|
3940
|
+
|
3941
|
+
debug$1("Loading the config file of the home directory:", homePath);
|
3942
|
+
|
3943
|
+
const personalConfigArray = configArrayFactory.loadInDirectory(
|
3944
|
+
homePath,
|
3945
|
+
{ name: "PersonalConfig" }
|
3946
|
+
);
|
3947
|
+
|
3948
|
+
if (
|
3949
|
+
personalConfigArray.length > 0 &&
|
3950
|
+
!directoryPath.startsWith(homePath)
|
3951
|
+
) {
|
3952
|
+
const lastElement =
|
3953
|
+
personalConfigArray[personalConfigArray.length - 1];
|
3954
|
+
|
3955
|
+
emitDeprecationWarning(
|
3956
|
+
lastElement.filePath,
|
3957
|
+
"ESLINT_PERSONAL_CONFIG_LOAD"
|
3958
|
+
);
|
3959
|
+
}
|
3960
|
+
|
3961
|
+
finalConfigArray = finalConfigArray.concat(personalConfigArray);
|
3962
|
+
}
|
3963
|
+
|
3964
|
+
// Apply CLI options.
|
3965
|
+
if (cliConfigArray.length > 0) {
|
3966
|
+
finalConfigArray = finalConfigArray.concat(cliConfigArray);
|
3967
|
+
}
|
3968
|
+
|
3969
|
+
// Validate rule settings and environments.
|
3970
|
+
const validator = new ConfigValidator({
|
3971
|
+
builtInRules
|
3972
|
+
});
|
3973
|
+
|
3974
|
+
validator.validateConfigArray(finalConfigArray);
|
3975
|
+
|
3976
|
+
// Cache it.
|
3977
|
+
Object.freeze(finalConfigArray);
|
3978
|
+
finalizeCache.set(configArray, finalConfigArray);
|
3979
|
+
|
3980
|
+
debug$1(
|
3981
|
+
"Configuration was determined: %o on %s",
|
3982
|
+
finalConfigArray,
|
3983
|
+
directoryPath
|
3984
|
+
);
|
3985
|
+
}
|
3986
|
+
|
3987
|
+
// At least one element (the default ignore patterns) exists.
|
3988
|
+
if (!ignoreNotFoundError && useEslintrc && finalConfigArray.length <= 1) {
|
3989
|
+
throw new ConfigurationNotFoundError(directoryPath);
|
3990
|
+
}
|
3991
|
+
|
3992
|
+
return finalConfigArray;
|
3993
|
+
}
|
3994
|
+
}
|
3995
|
+
|
3996
|
+
/**
|
3997
|
+
* @fileoverview Compatibility class for flat config.
|
3998
|
+
* @author Nicholas C. Zakas
|
3999
|
+
*/
|
4000
|
+
|
4001
|
+
//-----------------------------------------------------------------------------
|
4002
|
+
// Helpers
|
4003
|
+
//-----------------------------------------------------------------------------
|
4004
|
+
|
4005
|
+
/** @typedef {import("../../shared/types").Environment} Environment */
|
4006
|
+
/** @typedef {import("../../shared/types").Processor} Processor */
|
4007
|
+
|
4008
|
+
const debug = debugOrig__default["default"]("eslintrc:flat-compat");
|
4009
|
+
const cafactory = Symbol("cafactory");
|
4010
|
+
|
4011
|
+
/**
|
4012
|
+
* Translates an ESLintRC-style config object into a flag-config-style config
|
4013
|
+
* object.
|
4014
|
+
* @param {Object} eslintrcConfig An ESLintRC-style config object.
|
4015
|
+
* @param {Object} options Options to help translate the config.
|
4016
|
+
* @param {string} options.resolveConfigRelativeTo To the directory to resolve
|
4017
|
+
* configs from.
|
4018
|
+
* @param {string} options.resolvePluginsRelativeTo The directory to resolve
|
4019
|
+
* plugins from.
|
4020
|
+
* @param {ReadOnlyMap<string,Environment>} options.pluginEnvironments A map of plugin environment
|
4021
|
+
* names to objects.
|
4022
|
+
* @param {ReadOnlyMap<string,Processor>} options.pluginProcessors A map of plugin processor
|
4023
|
+
* names to objects.
|
4024
|
+
* @returns {Object} A flag-config-style config object.
|
4025
|
+
*/
|
4026
|
+
function translateESLintRC(eslintrcConfig, {
|
4027
|
+
resolveConfigRelativeTo,
|
4028
|
+
resolvePluginsRelativeTo,
|
4029
|
+
pluginEnvironments,
|
4030
|
+
pluginProcessors
|
4031
|
+
}) {
|
4032
|
+
|
4033
|
+
const flatConfig = {};
|
4034
|
+
const configs = [];
|
4035
|
+
const languageOptions = {};
|
4036
|
+
const linterOptions = {};
|
4037
|
+
const keysToCopy = ["settings", "rules", "processor"];
|
4038
|
+
const languageOptionsKeysToCopy = ["globals", "parser", "parserOptions"];
|
4039
|
+
const linterOptionsKeysToCopy = ["noInlineConfig", "reportUnusedDisableDirectives"];
|
4040
|
+
|
4041
|
+
// copy over simple translations
|
4042
|
+
for (const key of keysToCopy) {
|
4043
|
+
if (key in eslintrcConfig && typeof eslintrcConfig[key] !== "undefined") {
|
4044
|
+
flatConfig[key] = eslintrcConfig[key];
|
4045
|
+
}
|
4046
|
+
}
|
4047
|
+
|
4048
|
+
// copy over languageOptions
|
4049
|
+
for (const key of languageOptionsKeysToCopy) {
|
4050
|
+
if (key in eslintrcConfig && typeof eslintrcConfig[key] !== "undefined") {
|
4051
|
+
|
4052
|
+
// create the languageOptions key in the flat config
|
4053
|
+
flatConfig.languageOptions = languageOptions;
|
4054
|
+
|
4055
|
+
if (key === "parser") {
|
4056
|
+
debug(`Resolving parser '${languageOptions[key]}' relative to ${resolveConfigRelativeTo}`);
|
4057
|
+
|
4058
|
+
if (eslintrcConfig[key].error) {
|
4059
|
+
throw eslintrcConfig[key].error;
|
4060
|
+
}
|
4061
|
+
|
4062
|
+
languageOptions[key] = eslintrcConfig[key].definition;
|
4063
|
+
continue;
|
4064
|
+
}
|
4065
|
+
|
4066
|
+
// clone any object values that are in the eslintrc config
|
4067
|
+
if (eslintrcConfig[key] && typeof eslintrcConfig[key] === "object") {
|
4068
|
+
languageOptions[key] = {
|
4069
|
+
...eslintrcConfig[key]
|
4070
|
+
};
|
4071
|
+
} else {
|
4072
|
+
languageOptions[key] = eslintrcConfig[key];
|
4073
|
+
}
|
4074
|
+
}
|
4075
|
+
}
|
4076
|
+
|
4077
|
+
// copy over linterOptions
|
4078
|
+
for (const key of linterOptionsKeysToCopy) {
|
4079
|
+
if (key in eslintrcConfig && typeof eslintrcConfig[key] !== "undefined") {
|
4080
|
+
flatConfig.linterOptions = linterOptions;
|
4081
|
+
linterOptions[key] = eslintrcConfig[key];
|
4082
|
+
}
|
4083
|
+
}
|
4084
|
+
|
4085
|
+
// move ecmaVersion a level up
|
4086
|
+
if (languageOptions.parserOptions) {
|
4087
|
+
|
4088
|
+
if ("ecmaVersion" in languageOptions.parserOptions) {
|
4089
|
+
languageOptions.ecmaVersion = languageOptions.parserOptions.ecmaVersion;
|
4090
|
+
delete languageOptions.parserOptions.ecmaVersion;
|
4091
|
+
}
|
4092
|
+
|
4093
|
+
if ("sourceType" in languageOptions.parserOptions) {
|
4094
|
+
languageOptions.sourceType = languageOptions.parserOptions.sourceType;
|
4095
|
+
delete languageOptions.parserOptions.sourceType;
|
4096
|
+
}
|
4097
|
+
|
4098
|
+
// check to see if we even need parserOptions anymore and remove it if not
|
4099
|
+
if (Object.keys(languageOptions.parserOptions).length === 0) {
|
4100
|
+
delete languageOptions.parserOptions;
|
4101
|
+
}
|
4102
|
+
}
|
4103
|
+
|
4104
|
+
// overrides
|
4105
|
+
if (eslintrcConfig.criteria) {
|
4106
|
+
flatConfig.files = [absoluteFilePath => eslintrcConfig.criteria.test(absoluteFilePath)];
|
4107
|
+
}
|
4108
|
+
|
4109
|
+
// translate plugins
|
4110
|
+
if (eslintrcConfig.plugins && typeof eslintrcConfig.plugins === "object") {
|
4111
|
+
debug(`Translating plugins: ${eslintrcConfig.plugins}`);
|
4112
|
+
|
4113
|
+
flatConfig.plugins = {};
|
4114
|
+
|
4115
|
+
for (const pluginName of Object.keys(eslintrcConfig.plugins)) {
|
4116
|
+
|
4117
|
+
debug(`Translating plugin: ${pluginName}`);
|
4118
|
+
debug(`Resolving plugin '${pluginName} relative to ${resolvePluginsRelativeTo}`);
|
4119
|
+
|
4120
|
+
const { definition: plugin, error } = eslintrcConfig.plugins[pluginName];
|
4121
|
+
|
4122
|
+
if (error) {
|
4123
|
+
throw error;
|
4124
|
+
}
|
4125
|
+
|
4126
|
+
flatConfig.plugins[pluginName] = plugin;
|
4127
|
+
|
4128
|
+
// create a config for any processors
|
4129
|
+
if (plugin.processors) {
|
4130
|
+
for (const processorName of Object.keys(plugin.processors)) {
|
4131
|
+
if (processorName.startsWith(".")) {
|
4132
|
+
debug(`Assigning processor: ${pluginName}/${processorName}`);
|
4133
|
+
|
4134
|
+
configs.unshift({
|
4135
|
+
files: [`**/*${processorName}`],
|
4136
|
+
processor: pluginProcessors.get(`${pluginName}/${processorName}`)
|
4137
|
+
});
|
4138
|
+
}
|
4139
|
+
|
4140
|
+
}
|
4141
|
+
}
|
4142
|
+
}
|
4143
|
+
}
|
4144
|
+
|
4145
|
+
// translate env - must come after plugins
|
4146
|
+
if (eslintrcConfig.env && typeof eslintrcConfig.env === "object") {
|
4147
|
+
for (const envName of Object.keys(eslintrcConfig.env)) {
|
4148
|
+
|
4149
|
+
// only add environments that are true
|
4150
|
+
if (eslintrcConfig.env[envName]) {
|
4151
|
+
debug(`Translating environment: ${envName}`);
|
4152
|
+
|
4153
|
+
if (environments.has(envName)) {
|
4154
|
+
|
4155
|
+
// built-in environments should be defined first
|
4156
|
+
configs.unshift(...translateESLintRC({
|
4157
|
+
criteria: eslintrcConfig.criteria,
|
4158
|
+
...environments.get(envName)
|
4159
|
+
}, {
|
4160
|
+
resolveConfigRelativeTo,
|
4161
|
+
resolvePluginsRelativeTo
|
4162
|
+
}));
|
4163
|
+
} else if (pluginEnvironments.has(envName)) {
|
4164
|
+
|
4165
|
+
// if the environment comes from a plugin, it should come after the plugin config
|
4166
|
+
configs.push(...translateESLintRC({
|
4167
|
+
criteria: eslintrcConfig.criteria,
|
4168
|
+
...pluginEnvironments.get(envName)
|
4169
|
+
}, {
|
4170
|
+
resolveConfigRelativeTo,
|
4171
|
+
resolvePluginsRelativeTo
|
4172
|
+
}));
|
4173
|
+
}
|
4174
|
+
}
|
4175
|
+
}
|
4176
|
+
}
|
4177
|
+
|
4178
|
+
// only add if there are actually keys in the config
|
4179
|
+
if (Object.keys(flatConfig).length > 0) {
|
4180
|
+
configs.push(flatConfig);
|
4181
|
+
}
|
4182
|
+
|
4183
|
+
return configs;
|
4184
|
+
}
|
4185
|
+
|
4186
|
+
|
4187
|
+
//-----------------------------------------------------------------------------
|
4188
|
+
// Exports
|
4189
|
+
//-----------------------------------------------------------------------------
|
4190
|
+
|
4191
|
+
/**
|
4192
|
+
* A compatibility class for working with configs.
|
4193
|
+
*/
|
4194
|
+
class FlatCompat {
|
4195
|
+
|
4196
|
+
constructor({
|
4197
|
+
baseDirectory = process.cwd(),
|
4198
|
+
resolvePluginsRelativeTo = baseDirectory,
|
4199
|
+
recommendedConfig,
|
4200
|
+
allConfig
|
4201
|
+
} = {}) {
|
4202
|
+
this.baseDirectory = baseDirectory;
|
4203
|
+
this.resolvePluginsRelativeTo = resolvePluginsRelativeTo;
|
4204
|
+
this[cafactory] = new ConfigArrayFactory({
|
4205
|
+
cwd: baseDirectory,
|
4206
|
+
resolvePluginsRelativeTo,
|
4207
|
+
getEslintAllConfig: () => {
|
4208
|
+
|
4209
|
+
if (!allConfig) {
|
4210
|
+
throw new TypeError("Missing parameter 'allConfig' in FlatCompat constructor.");
|
4211
|
+
}
|
4212
|
+
|
4213
|
+
return allConfig;
|
4214
|
+
},
|
4215
|
+
getEslintRecommendedConfig: () => {
|
4216
|
+
|
4217
|
+
if (!recommendedConfig) {
|
4218
|
+
throw new TypeError("Missing parameter 'recommendedConfig' in FlatCompat constructor.");
|
4219
|
+
}
|
4220
|
+
|
4221
|
+
return recommendedConfig;
|
4222
|
+
}
|
4223
|
+
});
|
4224
|
+
}
|
4225
|
+
|
4226
|
+
/**
|
4227
|
+
* Translates an ESLintRC-style config into a flag-config-style config.
|
4228
|
+
* @param {Object} eslintrcConfig The ESLintRC-style config object.
|
4229
|
+
* @returns {Object} A flag-config-style config object.
|
4230
|
+
*/
|
4231
|
+
config(eslintrcConfig) {
|
4232
|
+
const eslintrcArray = this[cafactory].create(eslintrcConfig, {
|
4233
|
+
basePath: this.baseDirectory
|
4234
|
+
});
|
4235
|
+
|
4236
|
+
const flatArray = [];
|
4237
|
+
let hasIgnorePatterns = false;
|
4238
|
+
|
4239
|
+
eslintrcArray.forEach(configData => {
|
4240
|
+
if (configData.type === "config") {
|
4241
|
+
hasIgnorePatterns = hasIgnorePatterns || configData.ignorePattern;
|
4242
|
+
flatArray.push(...translateESLintRC(configData, {
|
4243
|
+
resolveConfigRelativeTo: path__default["default"].join(this.baseDirectory, "__placeholder.js"),
|
4244
|
+
resolvePluginsRelativeTo: path__default["default"].join(this.resolvePluginsRelativeTo, "__placeholder.js"),
|
4245
|
+
pluginEnvironments: eslintrcArray.pluginEnvironments,
|
4246
|
+
pluginProcessors: eslintrcArray.pluginProcessors
|
4247
|
+
}));
|
4248
|
+
}
|
4249
|
+
});
|
4250
|
+
|
4251
|
+
// combine ignorePatterns to emulate ESLintRC behavior better
|
4252
|
+
if (hasIgnorePatterns) {
|
4253
|
+
flatArray.unshift({
|
4254
|
+
ignores: [filePath => {
|
4255
|
+
|
4256
|
+
// Compute the final config for this file.
|
4257
|
+
// This filters config array elements by `files`/`excludedFiles` then merges the elements.
|
4258
|
+
const finalConfig = eslintrcArray.extractConfig(filePath);
|
4259
|
+
|
4260
|
+
// Test the `ignorePattern` properties of the final config.
|
4261
|
+
return Boolean(finalConfig.ignores) && finalConfig.ignores(filePath);
|
4262
|
+
}]
|
4263
|
+
});
|
4264
|
+
}
|
4265
|
+
|
4266
|
+
return flatArray;
|
4267
|
+
}
|
4268
|
+
|
4269
|
+
/**
|
4270
|
+
* Translates the `env` section of an ESLintRC-style config.
|
4271
|
+
* @param {Object} envConfig The `env` section of an ESLintRC config.
|
4272
|
+
* @returns {Object[]} An array of flag-config objects representing the environments.
|
4273
|
+
*/
|
4274
|
+
env(envConfig) {
|
4275
|
+
return this.config({
|
4276
|
+
env: envConfig
|
4277
|
+
});
|
4278
|
+
}
|
4279
|
+
|
4280
|
+
/**
|
4281
|
+
* Translates the `extends` section of an ESLintRC-style config.
|
4282
|
+
* @param {...string} configsToExtend The names of the configs to load.
|
4283
|
+
* @returns {Object[]} An array of flag-config objects representing the config.
|
4284
|
+
*/
|
4285
|
+
extends(...configsToExtend) {
|
4286
|
+
return this.config({
|
4287
|
+
extends: configsToExtend
|
4288
|
+
});
|
4289
|
+
}
|
4290
|
+
|
4291
|
+
/**
|
4292
|
+
* Translates the `plugins` section of an ESLintRC-style config.
|
4293
|
+
* @param {...string} plugins The names of the plugins to load.
|
4294
|
+
* @returns {Object[]} An array of flag-config objects representing the plugins.
|
4295
|
+
*/
|
4296
|
+
plugins(...plugins) {
|
4297
|
+
return this.config({
|
4298
|
+
plugins
|
4299
|
+
});
|
4300
|
+
}
|
4301
|
+
}
|
4302
|
+
|
4303
|
+
/**
|
4304
|
+
* @fileoverview Package exports for @eslint/eslintrc
|
4305
|
+
* @author Nicholas C. Zakas
|
4306
|
+
*/
|
4307
|
+
|
4308
|
+
//-----------------------------------------------------------------------------
|
4309
|
+
// Exports
|
4310
|
+
//-----------------------------------------------------------------------------
|
4311
|
+
|
4312
|
+
const Legacy = {
|
4313
|
+
ConfigArray,
|
4314
|
+
createConfigArrayFactoryContext: createContext,
|
4315
|
+
CascadingConfigArrayFactory,
|
4316
|
+
ConfigArrayFactory,
|
4317
|
+
ConfigDependency,
|
4318
|
+
ExtractedConfig,
|
4319
|
+
IgnorePattern,
|
4320
|
+
OverrideTester,
|
4321
|
+
getUsedExtractedConfigs,
|
4322
|
+
environments,
|
4323
|
+
|
4324
|
+
// shared
|
4325
|
+
ConfigOps,
|
4326
|
+
ConfigValidator,
|
4327
|
+
ModuleResolver,
|
4328
|
+
naming
|
4329
|
+
};
|
4330
|
+
|
4331
|
+
exports.FlatCompat = FlatCompat;
|
4332
|
+
exports.Legacy = Legacy;
|
4333
|
+
//# sourceMappingURL=eslintrc.cjs.map
|