immosquare-cleaner 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/node_modules/@eslint/eslintrc/README.md +15 -4
- data/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +57 -18
- data/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -1
- data/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +60 -34
- data/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -1
- data/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +3 -16
- data/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +63 -18
- data/node_modules/@eslint/eslintrc/package.json +4 -4
- data/node_modules/@eslint/js/package.json +2 -2
- data/node_modules/@eslint/js/src/configs/eslint-all.js +9 -1
- data/node_modules/@eslint/js/src/configs/eslint-recommended.js +12 -5
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/LICENSE +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md +105 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +384 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts +27 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/index.d.ts +16 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +12 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js +65 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.js +315 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/package.json +74 -0
- data/node_modules/@humanwhocodes/config-array/api.js +114 -16
- data/node_modules/@humanwhocodes/config-array/package.json +5 -3
- data/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +7 -0
- data/node_modules/@humanwhocodes/object-schema/package.json +6 -1
- data/node_modules/@humanwhocodes/retry/LICENSE +201 -0
- data/node_modules/@humanwhocodes/retry/README.md +122 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.cjs +267 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.d.ts +24 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.js +265 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.min.js +1 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.mjs +265 -0
- data/node_modules/@humanwhocodes/retry/package.json +74 -0
- data/node_modules/@types/semver-utils/LICENSE +21 -0
- data/node_modules/@types/semver-utils/README.md +34 -0
- data/node_modules/@types/semver-utils/index.d.ts +15 -0
- data/node_modules/@types/semver-utils/package.json +25 -0
- data/node_modules/acorn/CHANGELOG.md +36 -0
- data/node_modules/acorn/README.md +8 -3
- data/node_modules/acorn/dist/acorn.d.mts +857 -26
- data/node_modules/acorn/dist/acorn.d.ts +833 -268
- data/node_modules/acorn/dist/acorn.js +33 -21
- data/node_modules/acorn/dist/acorn.mjs +33 -21
- data/node_modules/acorn/package.json +1 -1
- data/node_modules/cacheable-request/node_modules/keyv/README.md +429 -0
- data/node_modules/cacheable-request/node_modules/keyv/package.json +57 -0
- data/node_modules/cacheable-request/node_modules/keyv/src/index.d.ts +112 -0
- data/node_modules/cacheable-request/node_modules/keyv/src/index.js +264 -0
- data/node_modules/doctrine/CHANGELOG.md +0 -7
- data/node_modules/doctrine/lib/doctrine.js +1 -0
- data/node_modules/doctrine/package.json +8 -9
- data/node_modules/eslint/README.md +31 -28
- data/node_modules/eslint/bin/eslint.js +4 -3
- data/node_modules/eslint/conf/ecma-version.js +16 -0
- data/node_modules/eslint/conf/globals.js +1 -0
- data/node_modules/eslint/conf/rule-type-list.json +3 -1
- data/node_modules/eslint/lib/api.js +7 -11
- data/node_modules/eslint/lib/cli-engine/cli-engine.js +14 -3
- data/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +1 -29
- data/node_modules/eslint/lib/cli-engine/lint-result-cache.js +2 -2
- data/node_modules/eslint/lib/cli.js +115 -36
- data/node_modules/eslint/lib/config/default-config.js +3 -0
- data/node_modules/eslint/lib/config/flat-config-array.js +110 -24
- data/node_modules/eslint/lib/config/flat-config-helpers.js +41 -20
- data/node_modules/eslint/lib/config/flat-config-schema.js +1 -7
- data/node_modules/eslint/lib/config/rule-validator.js +42 -6
- data/node_modules/eslint/lib/eslint/eslint-helpers.js +116 -58
- data/node_modules/eslint/lib/eslint/eslint.js +892 -377
- data/node_modules/eslint/lib/eslint/index.js +2 -2
- data/node_modules/eslint/lib/eslint/legacy-eslint.js +728 -0
- data/node_modules/eslint/lib/linter/apply-disable-directives.js +59 -31
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -1
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +32 -30
- data/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +1 -1
- data/node_modules/eslint/lib/linter/config-comment-parser.js +8 -11
- data/node_modules/eslint/lib/linter/index.js +1 -3
- data/node_modules/eslint/lib/linter/interpolate.js +24 -2
- data/node_modules/eslint/lib/linter/linter.js +428 -207
- data/node_modules/eslint/lib/linter/report-translator.js +3 -3
- data/node_modules/eslint/lib/linter/rules.js +6 -15
- data/node_modules/eslint/lib/linter/source-code-fixer.js +1 -1
- data/node_modules/eslint/lib/linter/timing.js +16 -8
- data/node_modules/eslint/lib/options.js +35 -3
- data/node_modules/eslint/lib/rule-tester/index.js +3 -1
- data/node_modules/eslint/lib/rule-tester/rule-tester.js +424 -347
- data/node_modules/eslint/lib/rules/array-bracket-newline.js +1 -1
- data/node_modules/eslint/lib/rules/array-bracket-spacing.js +1 -1
- data/node_modules/eslint/lib/rules/block-scoped-var.js +1 -1
- data/node_modules/eslint/lib/rules/callback-return.js +2 -2
- data/node_modules/eslint/lib/rules/camelcase.js +3 -5
- data/node_modules/eslint/lib/rules/capitalized-comments.js +10 -7
- data/node_modules/eslint/lib/rules/comma-dangle.js +1 -1
- data/node_modules/eslint/lib/rules/comma-style.js +2 -2
- data/node_modules/eslint/lib/rules/complexity.js +14 -1
- data/node_modules/eslint/lib/rules/constructor-super.js +99 -100
- data/node_modules/eslint/lib/rules/default-case.js +1 -1
- data/node_modules/eslint/lib/rules/eol-last.js +2 -2
- data/node_modules/eslint/lib/rules/function-paren-newline.js +2 -2
- data/node_modules/eslint/lib/rules/indent-legacy.js +5 -5
- data/node_modules/eslint/lib/rules/indent.js +5 -5
- data/node_modules/eslint/lib/rules/index.js +1 -2
- data/node_modules/eslint/lib/rules/key-spacing.js +2 -2
- data/node_modules/eslint/lib/rules/line-comment-position.js +1 -1
- data/node_modules/eslint/lib/rules/lines-around-directive.js +2 -2
- data/node_modules/eslint/lib/rules/max-depth.js +1 -1
- data/node_modules/eslint/lib/rules/max-len.js +3 -3
- data/node_modules/eslint/lib/rules/max-lines.js +3 -3
- data/node_modules/eslint/lib/rules/max-nested-callbacks.js +1 -1
- data/node_modules/eslint/lib/rules/max-params.js +1 -1
- data/node_modules/eslint/lib/rules/max-statements.js +1 -1
- data/node_modules/eslint/lib/rules/multiline-comment-style.js +7 -7
- data/node_modules/eslint/lib/rules/new-cap.js +1 -1
- data/node_modules/eslint/lib/rules/newline-after-var.js +1 -1
- data/node_modules/eslint/lib/rules/newline-before-return.js +1 -1
- data/node_modules/eslint/lib/rules/no-case-declarations.js +13 -1
- data/node_modules/eslint/lib/rules/no-constant-binary-expression.js +7 -8
- data/node_modules/eslint/lib/rules/no-constant-condition.js +18 -7
- data/node_modules/eslint/lib/rules/no-constructor-return.js +2 -2
- data/node_modules/eslint/lib/rules/no-dupe-class-members.js +2 -2
- data/node_modules/eslint/lib/rules/no-else-return.js +1 -1
- data/node_modules/eslint/lib/rules/no-empty-function.js +2 -2
- data/node_modules/eslint/lib/rules/no-empty-static-block.js +1 -1
- data/node_modules/eslint/lib/rules/no-extend-native.js +1 -2
- data/node_modules/eslint/lib/rules/no-extra-semi.js +1 -1
- data/node_modules/eslint/lib/rules/no-fallthrough.js +41 -16
- data/node_modules/eslint/lib/rules/no-implicit-coercion.js +66 -24
- data/node_modules/eslint/lib/rules/no-inner-declarations.js +23 -2
- data/node_modules/eslint/lib/rules/no-invalid-regexp.js +1 -1
- data/node_modules/eslint/lib/rules/no-invalid-this.js +1 -1
- data/node_modules/eslint/lib/rules/no-lone-blocks.js +3 -3
- data/node_modules/eslint/lib/rules/no-loss-of-precision.js +1 -1
- data/node_modules/eslint/lib/rules/no-misleading-character-class.js +225 -69
- data/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +1 -1
- data/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +1 -1
- data/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +1 -1
- data/node_modules/eslint/lib/rules/no-new-symbol.js +8 -1
- data/node_modules/eslint/lib/rules/no-restricted-globals.js +1 -1
- data/node_modules/eslint/lib/rules/no-restricted-imports.js +186 -40
- data/node_modules/eslint/lib/rules/no-restricted-modules.js +2 -2
- data/node_modules/eslint/lib/rules/no-return-await.js +1 -1
- data/node_modules/eslint/lib/rules/no-sequences.js +1 -0
- data/node_modules/eslint/lib/rules/no-this-before-super.js +45 -13
- data/node_modules/eslint/lib/rules/no-trailing-spaces.js +2 -3
- data/node_modules/eslint/lib/rules/no-unneeded-ternary.js +1 -1
- data/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +1 -1
- data/node_modules/eslint/lib/rules/no-unused-private-class-members.js +1 -1
- data/node_modules/eslint/lib/rules/no-unused-vars.js +197 -36
- data/node_modules/eslint/lib/rules/no-useless-assignment.js +566 -0
- data/node_modules/eslint/lib/rules/no-useless-backreference.js +1 -1
- data/node_modules/eslint/lib/rules/no-useless-computed-key.js +2 -2
- data/node_modules/eslint/lib/rules/no-useless-return.js +7 -2
- data/node_modules/eslint/lib/rules/object-curly-spacing.js +3 -3
- data/node_modules/eslint/lib/rules/object-property-newline.js +1 -1
- data/node_modules/eslint/lib/rules/one-var.js +5 -5
- data/node_modules/eslint/lib/rules/padded-blocks.js +7 -7
- data/node_modules/eslint/lib/rules/prefer-arrow-callback.js +3 -3
- data/node_modules/eslint/lib/rules/prefer-reflect.js +1 -1
- data/node_modules/eslint/lib/rules/prefer-regex-literals.js +1 -1
- data/node_modules/eslint/lib/rules/prefer-template.js +1 -1
- data/node_modules/eslint/lib/rules/radix.js +2 -2
- data/node_modules/eslint/lib/rules/semi-style.js +1 -1
- data/node_modules/eslint/lib/rules/sort-imports.js +1 -1
- data/node_modules/eslint/lib/rules/sort-keys.js +1 -1
- data/node_modules/eslint/lib/rules/sort-vars.js +1 -1
- data/node_modules/eslint/lib/rules/space-unary-ops.js +1 -1
- data/node_modules/eslint/lib/rules/strict.js +1 -1
- data/node_modules/eslint/lib/rules/use-isnan.js +101 -7
- data/node_modules/eslint/lib/rules/utils/ast-utils.js +16 -7
- data/node_modules/eslint/lib/rules/utils/char-source.js +240 -0
- data/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +1 -1
- data/node_modules/eslint/lib/rules/utils/unicode/index.js +9 -4
- data/node_modules/eslint/lib/rules/yield-star-spacing.js +1 -1
- data/node_modules/eslint/lib/shared/runtime-info.js +1 -0
- data/node_modules/eslint/lib/shared/serialization.js +55 -0
- data/node_modules/eslint/lib/shared/stats.js +30 -0
- data/node_modules/eslint/lib/shared/string-utils.js +9 -11
- data/node_modules/eslint/lib/shared/types.js +35 -1
- data/node_modules/eslint/lib/source-code/index.js +3 -1
- data/node_modules/eslint/lib/source-code/source-code.js +299 -85
- data/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +3 -3
- data/node_modules/eslint/lib/source-code/token-store/cursors.js +4 -2
- data/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +3 -3
- data/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +3 -3
- data/node_modules/eslint/lib/source-code/token-store/index.js +2 -2
- data/node_modules/eslint/lib/unsupported-api.js +3 -5
- data/node_modules/eslint/messages/no-config-found.js +1 -1
- data/node_modules/eslint/messages/plugin-conflict.js +1 -1
- data/node_modules/eslint/messages/plugin-invalid.js +1 -1
- data/node_modules/eslint/messages/plugin-missing.js +1 -1
- data/node_modules/eslint/package.json +32 -29
- data/node_modules/eslint-scope/README.md +23 -2
- data/node_modules/eslint-scope/dist/eslint-scope.cjs +84 -58
- data/node_modules/eslint-scope/lib/index.js +0 -3
- data/node_modules/eslint-scope/lib/pattern-visitor.js +4 -3
- data/node_modules/eslint-scope/lib/referencer.js +13 -11
- data/node_modules/eslint-scope/lib/scope-manager.js +2 -8
- data/node_modules/eslint-scope/lib/scope.js +64 -43
- data/node_modules/eslint-scope/lib/version.js +1 -1
- data/node_modules/eslint-scope/package.json +21 -19
- data/node_modules/eslint-visitor-keys/README.md +1 -1
- data/node_modules/eslint-visitor-keys/package.json +2 -2
- data/node_modules/espree/README.md +1 -1
- data/node_modules/espree/dist/espree.cjs +1 -1
- data/node_modules/espree/lib/version.js +1 -1
- data/node_modules/espree/package.json +18 -20
- data/node_modules/file-entry-cache/LICENSE +1 -1
- data/node_modules/file-entry-cache/README.md +6 -3
- data/node_modules/file-entry-cache/package.json +19 -43
- data/node_modules/flat-cache/README.md +8 -6
- data/node_modules/flat-cache/changelog.md +155 -205
- data/node_modules/flat-cache/package.json +16 -39
- data/node_modules/flat-cache/src/cache.js +22 -26
- data/node_modules/flat-cache/src/del.js +28 -11
- data/node_modules/flat-cache/src/utils.js +39 -41
- data/node_modules/globals/globals.json +25 -0
- data/node_modules/globals/index.d.ts +2074 -3
- data/node_modules/globals/package.json +10 -7
- data/node_modules/globals/readme.md +2 -14
- data/node_modules/keyv/package.json +4 -4
- data/node_modules/keyv/src/index.js +6 -11
- data/node_modules/npm-check-updates/build/cli.js +22 -21
- data/node_modules/npm-check-updates/build/cli.js.map +1 -1
- data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js +66 -0
- data/node_modules/npm-check-updates/build/index-5sFb3Tvv.js.map +1 -0
- data/node_modules/npm-check-updates/build/index-BmUFwMVL.js +6 -0
- data/node_modules/npm-check-updates/build/index-BmUFwMVL.js.map +1 -0
- data/node_modules/npm-check-updates/build/index.d.ts +5 -2
- data/node_modules/npm-check-updates/build/index.js +560 -1
- data/node_modules/npm-check-updates/build/index.js.map +1 -1
- data/node_modules/npm-check-updates/build/package.json +4 -3
- data/node_modules/npm-check-updates/build/src/index.js +1 -1
- data/node_modules/npm-check-updates/build/src/index.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js +2 -2
- data/node_modules/npm-check-updates/build/src/lib/libnpmconfig/index.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js +0 -6
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +4 -3
- data/node_modules/type-fest/index.d.ts +95 -2
- data/node_modules/type-fest/package.json +12 -18
- data/node_modules/type-fest/readme.md +299 -52
- data/node_modules/type-fest/source/async-return-type.d.ts +4 -2
- data/node_modules/type-fest/source/asyncify.d.ts +5 -3
- data/node_modules/type-fest/source/basic.d.ts +21 -43
- data/node_modules/type-fest/{ts41 → source}/camel-case.d.ts +18 -17
- data/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +54 -0
- data/node_modules/type-fest/source/camel-cased-properties.d.ts +36 -0
- data/node_modules/type-fest/source/conditional-except.d.ts +6 -4
- data/node_modules/type-fest/source/conditional-keys.d.ts +5 -1
- data/node_modules/type-fest/source/conditional-pick.d.ts +5 -3
- data/node_modules/type-fest/{ts41 → source}/delimiter-case.d.ts +16 -8
- data/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +60 -0
- data/node_modules/type-fest/source/delimiter-cased-properties.d.ts +37 -0
- data/node_modules/type-fest/source/entries.d.ts +8 -3
- data/node_modules/type-fest/source/entry.d.ts +8 -3
- data/node_modules/type-fest/source/exact.d.ts +73 -0
- data/node_modules/type-fest/source/except.d.ts +38 -3
- data/node_modules/type-fest/source/fixed-length-array.d.ts +6 -1
- data/node_modules/type-fest/source/get.d.ts +184 -0
- data/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- data/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- data/node_modules/type-fest/source/includes.d.ts +22 -0
- data/node_modules/type-fest/source/internal.d.ts +59 -0
- data/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- data/node_modules/type-fest/source/iterable-element.d.ts +8 -0
- data/node_modules/type-fest/source/join.d.ts +30 -0
- data/node_modules/type-fest/source/jsonify.d.ts +90 -0
- data/node_modules/type-fest/{ts41 → source}/kebab-case.d.ts +7 -5
- data/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +47 -0
- data/node_modules/type-fest/source/kebab-cased-properties.d.ts +30 -0
- data/node_modules/type-fest/source/last-array-element.d.ts +28 -0
- data/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- data/node_modules/type-fest/source/literal-union.d.ts +7 -5
- data/node_modules/type-fest/source/merge-exclusive.d.ts +3 -1
- data/node_modules/type-fest/source/merge.d.ts +8 -3
- data/node_modules/type-fest/source/multidimensional-array.d.ts +43 -0
- data/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +47 -0
- data/node_modules/type-fest/source/mutable.d.ts +4 -21
- data/node_modules/type-fest/source/numeric.d.ts +170 -0
- data/node_modules/type-fest/source/observable-like.d.ts +62 -0
- data/node_modules/type-fest/source/opaque.d.ts +45 -3
- data/node_modules/type-fest/source/optional-keys-of.d.ts +38 -0
- data/node_modules/type-fest/source/package-json.d.ts +64 -12
- data/node_modules/type-fest/source/partial-deep.d.ts +57 -16
- data/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +70 -0
- data/node_modules/type-fest/{ts41 → source}/pascal-case.d.ts +6 -4
- data/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +54 -0
- data/node_modules/type-fest/source/pascal-cased-properties.d.ts +34 -0
- data/node_modules/type-fest/source/primitive.d.ts +13 -0
- data/node_modules/type-fest/source/promisable.d.ts +5 -3
- data/node_modules/type-fest/source/promise-value.d.ts +9 -7
- data/node_modules/type-fest/source/readonly-deep.d.ts +33 -7
- data/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- data/node_modules/type-fest/source/remove-index-signature.d.ts +104 -0
- data/node_modules/type-fest/source/replace.d.ts +67 -0
- data/node_modules/type-fest/source/require-all-or-none.d.ts +36 -0
- data/node_modules/type-fest/source/require-at-least-one.d.ts +5 -3
- data/node_modules/type-fest/source/require-exactly-one.d.ts +4 -5
- data/node_modules/type-fest/source/required-keys-of.d.ts +29 -0
- data/node_modules/type-fest/source/schema.d.ts +72 -0
- data/node_modules/type-fest/source/screaming-snake-case.d.ts +33 -0
- data/node_modules/type-fest/source/set-non-nullable.d.ts +35 -0
- data/node_modules/type-fest/source/set-optional.d.ts +12 -11
- data/node_modules/type-fest/source/set-required.d.ts +12 -11
- data/node_modules/type-fest/source/set-return-type.d.ts +3 -1
- data/node_modules/type-fest/source/simplify.d.ts +83 -0
- data/node_modules/type-fest/{ts41 → source}/snake-case.d.ts +7 -4
- data/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +47 -0
- data/node_modules/type-fest/source/snake-cased-properties.d.ts +30 -0
- data/node_modules/type-fest/source/split.d.ts +29 -0
- data/node_modules/type-fest/source/spread.d.ts +85 -0
- data/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- data/node_modules/type-fest/source/stringified.d.ts +3 -1
- data/node_modules/type-fest/source/trim.d.ts +25 -0
- data/node_modules/type-fest/source/tsconfig-json.d.ts +316 -14
- data/node_modules/type-fest/source/typed-array.d.ts +17 -0
- data/node_modules/type-fest/source/union-to-intersection.d.ts +4 -2
- data/node_modules/type-fest/source/value-of.d.ts +3 -1
- data/node_modules/type-fest/source/writable.d.ts +40 -0
- data/package.json +2 -2
- metadata +86 -63
- data/linters/rubocop-2.7.6.yml +0 -86
- data/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +0 -66
- data/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +0 -659
- data/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +0 -186
- data/node_modules/eslint/conf/config-schema.js +0 -93
- data/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
- data/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
- data/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
- data/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
- data/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
- data/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
- data/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
- data/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
- data/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1155
- data/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1131
- data/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
- data/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
- data/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
- data/node_modules/eslint/lib/shared/config-validator.js +0 -347
- data/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
- data/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
- data/node_modules/file-entry-cache/changelog.md +0 -163
- data/node_modules/flat-cache/node_modules/rimraf/CHANGELOG.md +0 -65
- data/node_modules/flat-cache/node_modules/rimraf/LICENSE +0 -15
- data/node_modules/flat-cache/node_modules/rimraf/README.md +0 -101
- data/node_modules/flat-cache/node_modules/rimraf/bin.js +0 -68
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/LICENSE +0 -21
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/README.md +0 -378
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/common.js +0 -238
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/glob.js +0 -790
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -230
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +0 -947
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +0 -33
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/package.json +0 -55
- data/node_modules/flat-cache/node_modules/rimraf/node_modules/glob/sync.js +0 -486
- data/node_modules/flat-cache/node_modules/rimraf/package.json +0 -32
- data/node_modules/flat-cache/node_modules/rimraf/rimraf.js +0 -360
- data/node_modules/npm-check-updates/build/index-CI_x-D21.js +0 -593
- data/node_modules/npm-check-updates/build/index-CI_x-D21.js.map +0 -1
- data/node_modules/npm-check-updates/build/index-Ci8A2QXv.js +0 -6
- data/node_modules/npm-check-updates/build/index-Ci8A2QXv.js.map +0 -1
- data/node_modules/npm-check-updates/build/index-DgVn3Gax.js +0 -36
- data/node_modules/npm-check-updates/build/index-DgVn3Gax.js.map +0 -1
- data/node_modules/npm-check-updates/build/src/types/SpawnPleaseOptions.d.ts +0 -6
- data/node_modules/npm-check-updates/build/src/types/SpawnPleaseOptions.js +0 -3
- data/node_modules/npm-check-updates/build/src/types/SpawnPleaseOptions.js.map +0 -1
- data/node_modules/type-fest/base.d.ts +0 -38
- data/node_modules/type-fest/license +0 -9
- data/node_modules/type-fest/source/utilities.d.ts +0 -3
- data/node_modules/type-fest/ts41/index.d.ts +0 -9
@@ -22,9 +22,6 @@
|
|
22
22
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
23
|
*/
|
24
24
|
|
25
|
-
/* eslint-disable no-underscore-dangle */
|
26
|
-
/* eslint-disable no-undefined */
|
27
|
-
|
28
25
|
import estraverse from "estraverse";
|
29
26
|
import esrecurse from "esrecurse";
|
30
27
|
import Reference from "./reference.js";
|
@@ -51,7 +48,7 @@ function traverseIdentifierInPattern(options, rootPattern, referencer, callback)
|
|
51
48
|
visitor.visit(rootPattern);
|
52
49
|
|
53
50
|
// Process the right hand nodes recursively.
|
54
|
-
if (referencer !== null && referencer !==
|
51
|
+
if (referencer !== null && referencer !== void 0) {
|
55
52
|
visitor.rightHandNodes.forEach(referencer.visit, referencer);
|
56
53
|
}
|
57
54
|
}
|
@@ -62,6 +59,9 @@ function traverseIdentifierInPattern(options, rootPattern, referencer, callback)
|
|
62
59
|
// FIXME: Now, we don't create module environment, because the context is
|
63
60
|
// implementation dependent.
|
64
61
|
|
62
|
+
/**
|
63
|
+
* Visitor for import specifiers.
|
64
|
+
*/
|
65
65
|
class Importer extends esrecurse.Visitor {
|
66
66
|
constructor(declaration, referencer) {
|
67
67
|
super(null, referencer.options);
|
@@ -108,7 +108,9 @@ class Importer extends esrecurse.Visitor {
|
|
108
108
|
}
|
109
109
|
}
|
110
110
|
|
111
|
-
|
111
|
+
/**
|
112
|
+
* Referencing variables and creating bindings.
|
113
|
+
*/
|
112
114
|
class Referencer extends esrecurse.Visitor {
|
113
115
|
constructor(options, scopeManager) {
|
114
116
|
super(null, options);
|
@@ -272,8 +274,6 @@ class Referencer extends esrecurse.Visitor {
|
|
272
274
|
));
|
273
275
|
}
|
274
276
|
|
275
|
-
this.visit(node.superClass);
|
276
|
-
|
277
277
|
this.scopeManager.__nestClassScope(node);
|
278
278
|
|
279
279
|
if (node.id) {
|
@@ -284,6 +284,8 @@ class Referencer extends esrecurse.Visitor {
|
|
284
284
|
node
|
285
285
|
));
|
286
286
|
}
|
287
|
+
|
288
|
+
this.visit(node.superClass);
|
287
289
|
this.visit(node.body);
|
288
290
|
|
289
291
|
this.close(node);
|
@@ -432,7 +434,7 @@ class Referencer extends esrecurse.Visitor {
|
|
432
434
|
this.currentScope().__referencing(node);
|
433
435
|
}
|
434
436
|
|
435
|
-
// eslint-disable-next-line class-methods-use-this
|
437
|
+
// eslint-disable-next-line class-methods-use-this -- Desired as instance method
|
436
438
|
PrivateIdentifier() {
|
437
439
|
|
438
440
|
// Do nothing.
|
@@ -482,9 +484,9 @@ class Referencer extends esrecurse.Visitor {
|
|
482
484
|
this.visitProperty(node);
|
483
485
|
}
|
484
486
|
|
485
|
-
BreakStatement() {} // eslint-disable-line class-methods-use-this
|
487
|
+
BreakStatement() {} // eslint-disable-line class-methods-use-this -- Desired as instance method
|
486
488
|
|
487
|
-
ContinueStatement() {} // eslint-disable-line class-methods-use-this
|
489
|
+
ContinueStatement() {} // eslint-disable-line class-methods-use-this -- Desired as instance method
|
488
490
|
|
489
491
|
LabeledStatement(node) {
|
490
492
|
this.visit(node.body);
|
@@ -643,7 +645,7 @@ class Referencer extends esrecurse.Visitor {
|
|
643
645
|
this.visit(local);
|
644
646
|
}
|
645
647
|
|
646
|
-
MetaProperty() { // eslint-disable-line class-methods-use-this
|
648
|
+
MetaProperty() { // eslint-disable-line class-methods-use-this -- Desired as instance method
|
647
649
|
|
648
650
|
// do nothing.
|
649
651
|
}
|
@@ -22,8 +22,6 @@
|
|
22
22
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
23
|
*/
|
24
24
|
|
25
|
-
/* eslint-disable no-underscore-dangle */
|
26
|
-
|
27
25
|
import {
|
28
26
|
BlockScope,
|
29
27
|
CatchScope,
|
@@ -53,10 +51,6 @@ class ScopeManager {
|
|
53
51
|
this.__declaredVariables = new WeakMap();
|
54
52
|
}
|
55
53
|
|
56
|
-
__useDirective() {
|
57
|
-
return this.__options.directive;
|
58
|
-
}
|
59
|
-
|
60
54
|
__isOptimistic() {
|
61
55
|
return this.__options.optimistic;
|
62
56
|
}
|
@@ -184,9 +178,9 @@ class ScopeManager {
|
|
184
178
|
return null;
|
185
179
|
}
|
186
180
|
|
187
|
-
attach() { } // eslint-disable-line class-methods-use-this
|
181
|
+
attach() { } // eslint-disable-line class-methods-use-this -- Desired as instance method
|
188
182
|
|
189
|
-
detach() { } // eslint-disable-line class-methods-use-this
|
183
|
+
detach() { } // eslint-disable-line class-methods-use-this -- Desired as instance method
|
190
184
|
|
191
185
|
__nestScope(scope) {
|
192
186
|
if (scope instanceof GlobalScope) {
|
@@ -22,9 +22,6 @@
|
|
22
22
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
23
|
*/
|
24
24
|
|
25
|
-
/* eslint-disable no-underscore-dangle */
|
26
|
-
/* eslint-disable no-undefined */
|
27
|
-
|
28
25
|
import estraverse from "estraverse";
|
29
26
|
|
30
27
|
import Reference from "./reference.js";
|
@@ -39,10 +36,9 @@ const { Syntax } = estraverse;
|
|
39
36
|
* @param {Scope} scope scope
|
40
37
|
* @param {Block} block block
|
41
38
|
* @param {boolean} isMethodDefinition is method definition
|
42
|
-
* @param {boolean} useDirective use directive
|
43
39
|
* @returns {boolean} is strict scope
|
44
40
|
*/
|
45
|
-
function isStrictScope(scope, block, isMethodDefinition
|
41
|
+
function isStrictScope(scope, block, isMethodDefinition) {
|
46
42
|
let body;
|
47
43
|
|
48
44
|
// When upper scope is exists and strict, inner scope is also strict.
|
@@ -82,41 +78,29 @@ function isStrictScope(scope, block, isMethodDefinition, useDirective) {
|
|
82
78
|
return false;
|
83
79
|
}
|
84
80
|
|
85
|
-
// Search 'use strict' directive.
|
86
|
-
|
87
|
-
|
88
|
-
const stmt = body.body[i];
|
81
|
+
// Search for a 'use strict' directive.
|
82
|
+
for (let i = 0, iz = body.body.length; i < iz; ++i) {
|
83
|
+
const stmt = body.body[i];
|
89
84
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
85
|
+
/*
|
86
|
+
* Check if the current statement is a directive.
|
87
|
+
* If it isn't, then we're past the directive prologue
|
88
|
+
* so stop the search because directives cannot
|
89
|
+
* appear after this point.
|
90
|
+
*
|
91
|
+
* Some parsers set `directive:null` on non-directive
|
92
|
+
* statements, so the `typeof` check is safer than
|
93
|
+
* checking for property existence.
|
94
|
+
*/
|
95
|
+
if (typeof stmt.directive !== "string") {
|
96
|
+
break;
|
96
97
|
}
|
97
|
-
} else {
|
98
|
-
for (let i = 0, iz = body.body.length; i < iz; ++i) {
|
99
|
-
const stmt = body.body[i];
|
100
|
-
|
101
|
-
if (stmt.type !== Syntax.ExpressionStatement) {
|
102
|
-
break;
|
103
|
-
}
|
104
|
-
const expr = stmt.expression;
|
105
98
|
|
106
|
-
|
107
|
-
|
108
|
-
}
|
109
|
-
if (expr.raw !== null && expr.raw !== undefined) {
|
110
|
-
if (expr.raw === "\"use strict\"" || expr.raw === "'use strict'") {
|
111
|
-
return true;
|
112
|
-
}
|
113
|
-
} else {
|
114
|
-
if (expr.value === "use strict") {
|
115
|
-
return true;
|
116
|
-
}
|
117
|
-
}
|
99
|
+
if (stmt.directive === "use strict") {
|
100
|
+
return true;
|
118
101
|
}
|
119
102
|
}
|
103
|
+
|
120
104
|
return false;
|
121
105
|
}
|
122
106
|
|
@@ -173,7 +157,8 @@ class Scope {
|
|
173
157
|
/**
|
174
158
|
* The tainted variables of this scope, as <code>{ Variable.name :
|
175
159
|
* boolean }</code>.
|
176
|
-
*
|
160
|
+
* @member {Map} Scope#taints
|
161
|
+
*/
|
177
162
|
this.taints = new Map();
|
178
163
|
|
179
164
|
/**
|
@@ -264,7 +249,7 @@ class Scope {
|
|
264
249
|
* @member {boolean} Scope#isStrict
|
265
250
|
*/
|
266
251
|
this.isStrict = scopeManager.isStrictModeSupported()
|
267
|
-
? isStrictScope(this, block, isMethodDefinition
|
252
|
+
? isStrictScope(this, block, isMethodDefinition)
|
268
253
|
: false;
|
269
254
|
|
270
255
|
/**
|
@@ -352,7 +337,7 @@ class Scope {
|
|
352
337
|
|
353
338
|
// To override by function scopes.
|
354
339
|
// References in default parameters isn't resolved to variables which are in their function body.
|
355
|
-
__isValidResolution(ref, variable) { // eslint-disable-line class-methods-use-this, no-unused-vars
|
340
|
+
__isValidResolution(ref, variable) { // eslint-disable-line class-methods-use-this, no-unused-vars -- Desired as instance method with signature
|
356
341
|
return true;
|
357
342
|
}
|
358
343
|
|
@@ -386,17 +371,17 @@ class Scope {
|
|
386
371
|
}
|
387
372
|
|
388
373
|
__addDeclaredVariablesOfNode(variable, node) {
|
389
|
-
if (node === null || node ===
|
374
|
+
if (node === null || node === void 0) {
|
390
375
|
return;
|
391
376
|
}
|
392
377
|
|
393
378
|
let variables = this.__declaredVariables.get(node);
|
394
379
|
|
395
|
-
if (variables === null || variables ===
|
380
|
+
if (variables === null || variables === void 0) {
|
396
381
|
variables = [];
|
397
382
|
this.__declaredVariables.set(node, variables);
|
398
383
|
}
|
399
|
-
if (variables.
|
384
|
+
if (!variables.includes(variable)) {
|
400
385
|
variables.push(variable);
|
401
386
|
}
|
402
387
|
}
|
@@ -503,7 +488,7 @@ class Scope {
|
|
503
488
|
* @function Scope#isArgumentsMaterialized
|
504
489
|
* @returns {boolean} arguemnts materialized
|
505
490
|
*/
|
506
|
-
isArgumentsMaterialized() { // eslint-disable-line class-methods-use-this
|
491
|
+
isArgumentsMaterialized() { // eslint-disable-line class-methods-use-this -- Desired as instance method
|
507
492
|
return true;
|
508
493
|
}
|
509
494
|
|
@@ -512,7 +497,7 @@ class Scope {
|
|
512
497
|
* @function Scope#isThisMaterialized
|
513
498
|
* @returns {boolean} this materialized
|
514
499
|
*/
|
515
|
-
isThisMaterialized() { // eslint-disable-line class-methods-use-this
|
500
|
+
isThisMaterialized() { // eslint-disable-line class-methods-use-this -- Desired as instance method
|
516
501
|
return true;
|
517
502
|
}
|
518
503
|
|
@@ -529,6 +514,9 @@ class Scope {
|
|
529
514
|
}
|
530
515
|
}
|
531
516
|
|
517
|
+
/**
|
518
|
+
* Global scope.
|
519
|
+
*/
|
532
520
|
class GlobalScope extends Scope {
|
533
521
|
constructor(scopeManager, block) {
|
534
522
|
super(scopeManager, "global", null, block, false);
|
@@ -590,12 +578,18 @@ class GlobalScope extends Scope {
|
|
590
578
|
}
|
591
579
|
}
|
592
580
|
|
581
|
+
/**
|
582
|
+
* Module scope.
|
583
|
+
*/
|
593
584
|
class ModuleScope extends Scope {
|
594
585
|
constructor(scopeManager, upperScope, block) {
|
595
586
|
super(scopeManager, "module", upperScope, block, false);
|
596
587
|
}
|
597
588
|
}
|
598
589
|
|
590
|
+
/**
|
591
|
+
* Function expression name scope.
|
592
|
+
*/
|
599
593
|
class FunctionExpressionNameScope extends Scope {
|
600
594
|
constructor(scopeManager, upperScope, block) {
|
601
595
|
super(scopeManager, "function-expression-name", upperScope, block, false);
|
@@ -612,12 +606,18 @@ class FunctionExpressionNameScope extends Scope {
|
|
612
606
|
}
|
613
607
|
}
|
614
608
|
|
609
|
+
/**
|
610
|
+
* Catch scope.
|
611
|
+
*/
|
615
612
|
class CatchScope extends Scope {
|
616
613
|
constructor(scopeManager, upperScope, block) {
|
617
614
|
super(scopeManager, "catch", upperScope, block, false);
|
618
615
|
}
|
619
616
|
}
|
620
617
|
|
618
|
+
/**
|
619
|
+
* With statement scope.
|
620
|
+
*/
|
621
621
|
class WithScope extends Scope {
|
622
622
|
constructor(scopeManager, upperScope, block) {
|
623
623
|
super(scopeManager, "with", upperScope, block, false);
|
@@ -640,18 +640,27 @@ class WithScope extends Scope {
|
|
640
640
|
}
|
641
641
|
}
|
642
642
|
|
643
|
+
/**
|
644
|
+
* Block scope.
|
645
|
+
*/
|
643
646
|
class BlockScope extends Scope {
|
644
647
|
constructor(scopeManager, upperScope, block) {
|
645
648
|
super(scopeManager, "block", upperScope, block, false);
|
646
649
|
}
|
647
650
|
}
|
648
651
|
|
652
|
+
/**
|
653
|
+
* Switch scope.
|
654
|
+
*/
|
649
655
|
class SwitchScope extends Scope {
|
650
656
|
constructor(scopeManager, upperScope, block) {
|
651
657
|
super(scopeManager, "switch", upperScope, block, false);
|
652
658
|
}
|
653
659
|
}
|
654
660
|
|
661
|
+
/**
|
662
|
+
* Function scope.
|
663
|
+
*/
|
655
664
|
class FunctionScope extends Scope {
|
656
665
|
constructor(scopeManager, upperScope, block, isMethodDefinition) {
|
657
666
|
super(scopeManager, "function", upperScope, block, isMethodDefinition);
|
@@ -729,24 +738,36 @@ class FunctionScope extends Scope {
|
|
729
738
|
}
|
730
739
|
}
|
731
740
|
|
741
|
+
/**
|
742
|
+
* Scope of for, for-in, and for-of statements.
|
743
|
+
*/
|
732
744
|
class ForScope extends Scope {
|
733
745
|
constructor(scopeManager, upperScope, block) {
|
734
746
|
super(scopeManager, "for", upperScope, block, false);
|
735
747
|
}
|
736
748
|
}
|
737
749
|
|
750
|
+
/**
|
751
|
+
* Class scope.
|
752
|
+
*/
|
738
753
|
class ClassScope extends Scope {
|
739
754
|
constructor(scopeManager, upperScope, block) {
|
740
755
|
super(scopeManager, "class", upperScope, block, false);
|
741
756
|
}
|
742
757
|
}
|
743
758
|
|
759
|
+
/**
|
760
|
+
* Class field initializer scope.
|
761
|
+
*/
|
744
762
|
class ClassFieldInitializerScope extends Scope {
|
745
763
|
constructor(scopeManager, upperScope, block) {
|
746
764
|
super(scopeManager, "class-field-initializer", upperScope, block, true);
|
747
765
|
}
|
748
766
|
}
|
749
767
|
|
768
|
+
/**
|
769
|
+
* Class static block scope.
|
770
|
+
*/
|
750
771
|
class ClassStaticBlockScope extends Scope {
|
751
772
|
constructor(scopeManager, upperScope, block) {
|
752
773
|
super(scopeManager, "class-static-block", upperScope, block, true);
|
@@ -11,9 +11,9 @@
|
|
11
11
|
},
|
12
12
|
"./package.json": "./package.json"
|
13
13
|
},
|
14
|
-
"version": "
|
14
|
+
"version": "8.0.1",
|
15
15
|
"engines": {
|
16
|
-
"node": "^
|
16
|
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
17
17
|
},
|
18
18
|
"repository": "eslint/eslint-scope",
|
19
19
|
"funding": "https://opencollective.com/eslint",
|
@@ -23,15 +23,17 @@
|
|
23
23
|
"license": "BSD-2-Clause",
|
24
24
|
"scripts": {
|
25
25
|
"build": "rollup -c",
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"prepublishOnly": "npm run update-version && npm run build",
|
30
|
-
"
|
31
|
-
"generate
|
32
|
-
"generate
|
33
|
-
"generate
|
34
|
-
"
|
26
|
+
"build:update-version": "node tools/update-version.js",
|
27
|
+
"lint": "eslint . --report-unused-disable-directives",
|
28
|
+
"prelint": "npm run build",
|
29
|
+
"prepublishOnly": "npm run build:update-version && npm run build",
|
30
|
+
"pretest": "npm run build",
|
31
|
+
"release:generate:latest": "eslint-generate-release",
|
32
|
+
"release:generate:alpha": "eslint-generate-prerelease alpha",
|
33
|
+
"release:generate:beta": "eslint-generate-prerelease beta",
|
34
|
+
"release:generate:rc": "eslint-generate-prerelease rc",
|
35
|
+
"release:publish": "eslint-publish-release",
|
36
|
+
"test": "node Makefile.js test"
|
35
37
|
},
|
36
38
|
"files": [
|
37
39
|
"LICENSE",
|
@@ -44,20 +46,20 @@
|
|
44
46
|
"estraverse": "^5.2.0"
|
45
47
|
},
|
46
48
|
"devDependencies": {
|
47
|
-
"@typescript-eslint/parser": "^
|
49
|
+
"@typescript-eslint/parser": "^7.1.1",
|
48
50
|
"c8": "^7.7.3",
|
49
51
|
"chai": "^4.3.4",
|
50
|
-
"eslint": "^
|
51
|
-
"eslint-config-eslint": "^
|
52
|
-
"eslint-plugin-
|
53
|
-
"eslint-plugin-node": "^11.1.0",
|
52
|
+
"eslint": "^8.57.0",
|
53
|
+
"eslint-config-eslint": "^9.0.0",
|
54
|
+
"eslint-plugin-chai-friendly": "^0.7.4",
|
54
55
|
"eslint-release": "^3.2.0",
|
55
|
-
"eslint-visitor-keys": "^
|
56
|
-
"espree": "^
|
56
|
+
"eslint-visitor-keys": "^4.0.0",
|
57
|
+
"espree": "^10.0.1",
|
58
|
+
"globals": "^14.0.0",
|
57
59
|
"mocha": "^9.0.1",
|
58
60
|
"npm-license": "^0.3.3",
|
59
61
|
"rollup": "^2.52.7",
|
60
62
|
"shelljs": "^0.8.4",
|
61
|
-
"typescript": "^4.
|
63
|
+
"typescript": "^5.4.2"
|
62
64
|
}
|
63
65
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "eslint-visitor-keys",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.0",
|
4
4
|
"description": "Constants and utilities about visitor keys to traverse AST.",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/eslint-visitor-keys.cjs",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"lib"
|
24
24
|
],
|
25
25
|
"engines": {
|
26
|
-
"node": "^
|
26
|
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@types/estree": "^0.0.51",
|
@@ -183,7 +183,7 @@ We work hard to ensure that Espree is safe for everyone and that security issues
|
|
183
183
|
|
184
184
|
## Build Commands
|
185
185
|
|
186
|
-
* `npm test` - run all
|
186
|
+
* `npm test` - run all tests
|
187
187
|
* `npm run lint` - run all linting
|
188
188
|
|
189
189
|
## Differences from Espree 2.x
|
@@ -16,14 +16,14 @@
|
|
16
16
|
],
|
17
17
|
"./package.json": "./package.json"
|
18
18
|
},
|
19
|
-
"version": "
|
19
|
+
"version": "10.0.1",
|
20
20
|
"files": [
|
21
21
|
"lib",
|
22
22
|
"dist/espree.cjs",
|
23
23
|
"espree.js"
|
24
24
|
],
|
25
25
|
"engines": {
|
26
|
-
"node": "^
|
26
|
+
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
27
27
|
},
|
28
28
|
"repository": "eslint/espree",
|
29
29
|
"bugs": {
|
@@ -32,9 +32,9 @@
|
|
32
32
|
"funding": "https://opencollective.com/eslint",
|
33
33
|
"license": "BSD-2-Clause",
|
34
34
|
"dependencies": {
|
35
|
-
"acorn": "^8.
|
35
|
+
"acorn": "^8.11.3",
|
36
36
|
"acorn-jsx": "^5.3.2",
|
37
|
-
"eslint-visitor-keys": "^
|
37
|
+
"eslint-visitor-keys": "^4.0.0"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
40
|
"@rollup/plugin-commonjs": "^17.1.0",
|
@@ -43,8 +43,7 @@
|
|
43
43
|
"c8": "^7.11.0",
|
44
44
|
"chai": "^4.3.6",
|
45
45
|
"eslint": "^8.44.0",
|
46
|
-
"eslint-config-eslint": "^
|
47
|
-
"eslint-plugin-n": "^16.0.0",
|
46
|
+
"eslint-config-eslint": "^9.0.0",
|
48
47
|
"eslint-release": "^3.2.0",
|
49
48
|
"esprima-fb": "^8001.2001.0-dev-harmony-fb",
|
50
49
|
"globals": "^13.20.0",
|
@@ -67,22 +66,21 @@
|
|
67
66
|
"pre-commit": "lint-staged"
|
68
67
|
},
|
69
68
|
"scripts": {
|
70
|
-
"unit": "npm-run-all -s unit:*",
|
71
|
-
"unit:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
|
72
|
-
"unit:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",
|
73
|
-
"test": "npm-run-all -p unit lint",
|
74
|
-
"lint": "eslint . --report-unused-disable-directives",
|
75
|
-
"fixlint": "npm run lint -- --fix",
|
76
69
|
"build": "rollup -c rollup.config.js",
|
77
70
|
"build:debug": "npm run build -- -m",
|
78
|
-
"
|
71
|
+
"build:docs": "node tools/sync-docs.js",
|
72
|
+
"build:update-version": "node tools/update-version.js",
|
73
|
+
"lint": "eslint . --report-unused-disable-directives",
|
74
|
+
"lint:fix": "npm run lint -- --fix",
|
75
|
+
"prepublishOnly": "npm run build:update-version && npm run build",
|
79
76
|
"pretest": "npm run build",
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"generate
|
83
|
-
"generate
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
77
|
+
"release:generate:latest": "eslint-generate-release",
|
78
|
+
"release:generate:alpha": "eslint-generate-prerelease alpha",
|
79
|
+
"release:generate:beta": "eslint-generate-prerelease beta",
|
80
|
+
"release:generate:rc": "eslint-generate-prerelease rc",
|
81
|
+
"release:publish": "eslint-publish-release",
|
82
|
+
"test": "npm-run-all -s test:*",
|
83
|
+
"test:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
|
84
|
+
"test:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs"
|
87
85
|
}
|
88
86
|
}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
# file-entry-cache
|
2
|
-
> Super simple cache for file metadata, useful for process that work
|
2
|
+
> Super simple cache for file metadata, useful for process that work on a given series of files
|
3
3
|
> and that only need to repeat the job on the changed ones since the previous run of the process — Edit
|
4
4
|
|
5
|
-
[![NPM Version](
|
6
|
-
[![
|
5
|
+
[![NPM Version](https://img.shields.io/npm/v/file-entry-cache.svg?style=flat)](https://npmjs.org/package/file-entry-cache)
|
6
|
+
[![tests](https://github.com/jaredwray/file-entry-cache/actions/workflows/tests.yaml/badge.svg?branch=master)](https://github.com/jaredwray/file-entry-cache/actions/workflows/tests.yaml)
|
7
|
+
[![codecov](https://codecov.io/github/jaredwray/file-entry-cache/graph/badge.svg?token=37tZMQE0Sy)](https://codecov.io/github/jaredwray/file-entry-cache)
|
8
|
+
[![npm](https://img.shields.io/npm/dm/file-entry-cache)](https://npmjs.com/package/file-entry-cache)
|
9
|
+
|
7
10
|
|
8
11
|
## install
|
9
12
|
|