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
@@ -3,6 +3,8 @@ declare namespace TsConfigJson {
|
|
3
3
|
export type JSX =
|
4
4
|
| 'preserve'
|
5
5
|
| 'react'
|
6
|
+
| 'react-jsx'
|
7
|
+
| 'react-jsxdev'
|
6
8
|
| 'react-native';
|
7
9
|
|
8
10
|
export type Module =
|
@@ -12,6 +14,8 @@ declare namespace TsConfigJson {
|
|
12
14
|
| 'UMD'
|
13
15
|
| 'ES6'
|
14
16
|
| 'ES2015'
|
17
|
+
| 'ES2020'
|
18
|
+
| 'ES2022'
|
15
19
|
| 'ESNext'
|
16
20
|
| 'None'
|
17
21
|
// Lowercase alternatives
|
@@ -21,6 +25,8 @@ declare namespace TsConfigJson {
|
|
21
25
|
| 'umd'
|
22
26
|
| 'es6'
|
23
27
|
| 'es2015'
|
28
|
+
| 'es2020'
|
29
|
+
| 'es2022'
|
24
30
|
| 'esnext'
|
25
31
|
| 'none';
|
26
32
|
|
@@ -41,6 +47,7 @@ declare namespace TsConfigJson {
|
|
41
47
|
| 'ES2018'
|
42
48
|
| 'ES2019'
|
43
49
|
| 'ES2020'
|
50
|
+
| 'ES2021'
|
44
51
|
| 'ESNext'
|
45
52
|
// Lowercase alternatives
|
46
53
|
| 'es3'
|
@@ -52,6 +59,7 @@ declare namespace TsConfigJson {
|
|
52
59
|
| 'es2018'
|
53
60
|
| 'es2019'
|
54
61
|
| 'es2020'
|
62
|
+
| 'es2021'
|
55
63
|
| 'esnext';
|
56
64
|
|
57
65
|
export type Lib =
|
@@ -77,6 +85,7 @@ declare namespace TsConfigJson {
|
|
77
85
|
| 'ES2017.String'
|
78
86
|
| 'ES2017.TypedArrays'
|
79
87
|
| 'ES2018'
|
88
|
+
| 'ES2018.AsyncGenerator'
|
80
89
|
| 'ES2018.AsyncIterable'
|
81
90
|
| 'ES2018.Intl'
|
82
91
|
| 'ES2018.Promise'
|
@@ -87,19 +96,31 @@ declare namespace TsConfigJson {
|
|
87
96
|
| 'ES2019.String'
|
88
97
|
| 'ES2019.Symbol'
|
89
98
|
| 'ES2020'
|
99
|
+
| 'ES2020.BigInt'
|
100
|
+
| 'ES2020.Promise'
|
90
101
|
| 'ES2020.String'
|
91
102
|
| 'ES2020.Symbol.WellKnown'
|
103
|
+
| 'ES2020.SharedMemory'
|
104
|
+
| 'ES2020.Intl'
|
105
|
+
| 'ES2021'
|
106
|
+
| 'ES2021.Promise'
|
107
|
+
| 'ES2021.String'
|
108
|
+
| 'ES2021.WeakRef'
|
92
109
|
| 'ESNext'
|
93
110
|
| 'ESNext.Array'
|
94
111
|
| 'ESNext.AsyncIterable'
|
95
112
|
| 'ESNext.BigInt'
|
96
113
|
| 'ESNext.Intl'
|
114
|
+
| 'ESNext.Promise'
|
115
|
+
| 'ESNext.String'
|
97
116
|
| 'ESNext.Symbol'
|
117
|
+
| 'ESNext.WeakRef'
|
98
118
|
| 'DOM'
|
99
119
|
| 'DOM.Iterable'
|
100
120
|
| 'ScriptHost'
|
101
121
|
| 'WebWorker'
|
102
122
|
| 'WebWorker.ImportScripts'
|
123
|
+
| 'WebWorker.Iterable'
|
103
124
|
// Lowercase alternatives
|
104
125
|
| 'es5'
|
105
126
|
| 'es6'
|
@@ -123,6 +144,7 @@ declare namespace TsConfigJson {
|
|
123
144
|
| 'es2017.string'
|
124
145
|
| 'es2017.typedarrays'
|
125
146
|
| 'es2018'
|
147
|
+
| 'es2018.asyncgenerator'
|
126
148
|
| 'es2018.asynciterable'
|
127
149
|
| 'es2018.intl'
|
128
150
|
| 'es2018.promise'
|
@@ -133,19 +155,31 @@ declare namespace TsConfigJson {
|
|
133
155
|
| 'es2019.string'
|
134
156
|
| 'es2019.symbol'
|
135
157
|
| 'es2020'
|
158
|
+
| 'es2020.bigint'
|
159
|
+
| 'es2020.promise'
|
136
160
|
| 'es2020.string'
|
137
161
|
| 'es2020.symbol.wellknown'
|
162
|
+
| 'es2020.sharedmemory'
|
163
|
+
| 'es2020.intl'
|
164
|
+
| 'es2021'
|
165
|
+
| 'es2021.promise'
|
166
|
+
| 'es2021.string'
|
167
|
+
| 'es2021.weakref'
|
138
168
|
| 'esnext'
|
139
169
|
| 'esnext.array'
|
140
170
|
| 'esnext.asynciterable'
|
141
171
|
| 'esnext.bigint'
|
142
172
|
| 'esnext.intl'
|
173
|
+
| 'esnext.promise'
|
174
|
+
| 'esnext.string'
|
143
175
|
| 'esnext.symbol'
|
176
|
+
| 'esnext.weakref'
|
144
177
|
| 'dom'
|
145
178
|
| 'dom.iterable'
|
146
179
|
| 'scripthost'
|
147
180
|
| 'webworker'
|
148
|
-
| 'webworker.importscripts'
|
181
|
+
| 'webworker.importscripts'
|
182
|
+
| 'webworker.iterable';
|
149
183
|
|
150
184
|
export interface Plugin {
|
151
185
|
[key: string]: unknown;
|
@@ -154,6 +188,35 @@ declare namespace TsConfigJson {
|
|
154
188
|
*/
|
155
189
|
name?: string;
|
156
190
|
}
|
191
|
+
|
192
|
+
export type ImportsNotUsedAsValues =
|
193
|
+
| 'remove'
|
194
|
+
| 'preserve'
|
195
|
+
| 'error';
|
196
|
+
|
197
|
+
export type FallbackPolling =
|
198
|
+
| 'fixedPollingInterval'
|
199
|
+
| 'priorityPollingInterval'
|
200
|
+
| 'dynamicPriorityPolling'
|
201
|
+
| 'fixedInterval'
|
202
|
+
| 'priorityInterval'
|
203
|
+
| 'dynamicPriority'
|
204
|
+
| 'fixedChunkSize';
|
205
|
+
|
206
|
+
export type WatchDirectory =
|
207
|
+
| 'useFsEvents'
|
208
|
+
| 'fixedPollingInterval'
|
209
|
+
| 'dynamicPriorityPolling'
|
210
|
+
| 'fixedChunkSizePolling';
|
211
|
+
|
212
|
+
export type WatchFile =
|
213
|
+
| 'fixedPollingInterval'
|
214
|
+
| 'priorityPollingInterval'
|
215
|
+
| 'dynamicPriorityPolling'
|
216
|
+
| 'useFsEvents'
|
217
|
+
| 'useFsEventsOnParentDirectory'
|
218
|
+
| 'fixedChunkSizePolling';
|
219
|
+
|
157
220
|
}
|
158
221
|
|
159
222
|
export interface CompilerOptions {
|
@@ -192,6 +255,24 @@ declare namespace TsConfigJson {
|
|
192
255
|
*/
|
193
256
|
diagnostics?: boolean;
|
194
257
|
|
258
|
+
/**
|
259
|
+
Reduce the number of projects loaded automatically by TypeScript.
|
260
|
+
|
261
|
+
Requires TypeScript version 4.0 or later.
|
262
|
+
|
263
|
+
@default false
|
264
|
+
*/
|
265
|
+
disableReferencedProjectLoad?: boolean;
|
266
|
+
|
267
|
+
/**
|
268
|
+
Enforces using indexed accessors for keys declared using an indexed type.
|
269
|
+
|
270
|
+
Requires TypeScript version 4.2 or later.
|
271
|
+
|
272
|
+
@default false
|
273
|
+
*/
|
274
|
+
noPropertyAccessFromIndexSignature?: boolean;
|
275
|
+
|
195
276
|
/**
|
196
277
|
Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
|
197
278
|
|
@@ -206,6 +287,15 @@ declare namespace TsConfigJson {
|
|
206
287
|
*/
|
207
288
|
emitDeclarationOnly?: boolean;
|
208
289
|
|
290
|
+
/**
|
291
|
+
Differentiate between undefined and not present when type checking.
|
292
|
+
|
293
|
+
Requires TypeScript version 4.4 or later.
|
294
|
+
|
295
|
+
@default false
|
296
|
+
*/
|
297
|
+
exactOptionalPropertyTypes?: boolean;
|
298
|
+
|
209
299
|
/**
|
210
300
|
Enable incremental compilation.
|
211
301
|
|
@@ -237,7 +327,7 @@ declare namespace TsConfigJson {
|
|
237
327
|
inlineSources?: boolean;
|
238
328
|
|
239
329
|
/**
|
240
|
-
Specify JSX code
|
330
|
+
Specify what JSX code is generated.
|
241
331
|
|
242
332
|
@default 'preserve'
|
243
333
|
*/
|
@@ -250,6 +340,33 @@ declare namespace TsConfigJson {
|
|
250
340
|
*/
|
251
341
|
reactNamespace?: string;
|
252
342
|
|
343
|
+
/**
|
344
|
+
Specify the JSX factory function to use when targeting React JSX emit, e.g. `React.createElement` or `h`.
|
345
|
+
|
346
|
+
Requires TypeScript version 2.1 or later.
|
347
|
+
|
348
|
+
@default 'React.createElement'
|
349
|
+
*/
|
350
|
+
jsxFactory?: string;
|
351
|
+
|
352
|
+
/**
|
353
|
+
Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.
|
354
|
+
|
355
|
+
Requires TypeScript version 4.0 or later.
|
356
|
+
|
357
|
+
@default 'React.Fragment'
|
358
|
+
*/
|
359
|
+
jsxFragmentFactory?: string;
|
360
|
+
|
361
|
+
/**
|
362
|
+
Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.
|
363
|
+
|
364
|
+
Requires TypeScript version 4.1 or later.
|
365
|
+
|
366
|
+
@default 'react'
|
367
|
+
*/
|
368
|
+
jsxImportSource?: string;
|
369
|
+
|
253
370
|
/**
|
254
371
|
Print names of files part of the compilation.
|
255
372
|
|
@@ -269,6 +386,13 @@ declare namespace TsConfigJson {
|
|
269
386
|
*/
|
270
387
|
module?: CompilerOptions.Module;
|
271
388
|
|
389
|
+
/**
|
390
|
+
Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6).
|
391
|
+
|
392
|
+
@default ['AMD', 'System', 'ES6'].includes(module) ? 'classic' : 'node'
|
393
|
+
*/
|
394
|
+
moduleResolution?: 'classic' | 'node';
|
395
|
+
|
272
396
|
/**
|
273
397
|
Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix).
|
274
398
|
|
@@ -461,13 +585,52 @@ declare namespace TsConfigJson {
|
|
461
585
|
*/
|
462
586
|
target?: CompilerOptions.Target;
|
463
587
|
|
588
|
+
/**
|
589
|
+
Default catch clause variables as `unknown` instead of `any`.
|
590
|
+
|
591
|
+
Requires TypeScript version 4.4 or later.
|
592
|
+
|
593
|
+
@default false
|
594
|
+
*/
|
595
|
+
useUnknownInCatchVariables?: boolean;
|
596
|
+
|
464
597
|
/**
|
465
598
|
Watch input files.
|
466
599
|
|
467
600
|
@default false
|
601
|
+
@deprecated Use watchOptions instead.
|
468
602
|
*/
|
469
603
|
watch?: boolean;
|
470
604
|
|
605
|
+
/**
|
606
|
+
Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
|
607
|
+
|
608
|
+
Requires TypeScript version 3.8 or later.
|
609
|
+
|
610
|
+
@deprecated Use watchOptions.fallbackPolling instead.
|
611
|
+
*/
|
612
|
+
fallbackPolling?: CompilerOptions.FallbackPolling;
|
613
|
+
|
614
|
+
/**
|
615
|
+
Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
|
616
|
+
|
617
|
+
Requires TypeScript version 3.8 or later.
|
618
|
+
|
619
|
+
@default 'useFsEvents'
|
620
|
+
@deprecated Use watchOptions.watchDirectory instead.
|
621
|
+
*/
|
622
|
+
watchDirectory?: CompilerOptions.WatchDirectory;
|
623
|
+
|
624
|
+
/**
|
625
|
+
Specify the strategy for watching individual files.
|
626
|
+
|
627
|
+
Requires TypeScript version 3.8 or later.
|
628
|
+
|
629
|
+
@default 'useFsEvents'
|
630
|
+
@deprecated Use watchOptions.watchFile instead.
|
631
|
+
*/
|
632
|
+
watchFile?: CompilerOptions.WatchFile;
|
633
|
+
|
471
634
|
/**
|
472
635
|
Enables experimental support for ES7 decorators.
|
473
636
|
|
@@ -482,13 +645,6 @@ declare namespace TsConfigJson {
|
|
482
645
|
*/
|
483
646
|
emitDecoratorMetadata?: boolean;
|
484
647
|
|
485
|
-
/**
|
486
|
-
Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6).
|
487
|
-
|
488
|
-
@default ['AMD', 'System', 'ES6'].includes(module) ? 'classic' : 'node'
|
489
|
-
*/
|
490
|
-
moduleResolution?: 'classic' | 'node';
|
491
|
-
|
492
648
|
/**
|
493
649
|
Do not report errors on unused labels.
|
494
650
|
|
@@ -503,6 +659,15 @@ declare namespace TsConfigJson {
|
|
503
659
|
*/
|
504
660
|
noImplicitReturns?: boolean;
|
505
661
|
|
662
|
+
/**
|
663
|
+
Add `undefined` to a type when accessed using an index.
|
664
|
+
|
665
|
+
Requires TypeScript version 4.1 or later.
|
666
|
+
|
667
|
+
@default false
|
668
|
+
*/
|
669
|
+
noUncheckedIndexedAccess?: boolean;
|
670
|
+
|
506
671
|
/**
|
507
672
|
Report errors for fallthrough cases in switch statement.
|
508
673
|
|
@@ -510,6 +675,13 @@ declare namespace TsConfigJson {
|
|
510
675
|
*/
|
511
676
|
noFallthroughCasesInSwitch?: boolean;
|
512
677
|
|
678
|
+
/**
|
679
|
+
Ensure overriding members in derived classes are marked with an override modifier.
|
680
|
+
|
681
|
+
@default false
|
682
|
+
*/
|
683
|
+
noImplicitOverride?: boolean;
|
684
|
+
|
513
685
|
/**
|
514
686
|
Do not report errors on unreachable code.
|
515
687
|
|
@@ -524,6 +696,15 @@ declare namespace TsConfigJson {
|
|
524
696
|
*/
|
525
697
|
forceConsistentCasingInFileNames?: boolean;
|
526
698
|
|
699
|
+
/**
|
700
|
+
Emit a v8 CPU profile of the compiler run for debugging.
|
701
|
+
|
702
|
+
Requires TypeScript version 3.7 or later.
|
703
|
+
|
704
|
+
@default 'profile.cpuprofile'
|
705
|
+
*/
|
706
|
+
generateCpuProfile?: string;
|
707
|
+
|
527
708
|
/**
|
528
709
|
Base directory to resolve non-relative module names.
|
529
710
|
*/
|
@@ -646,13 +827,11 @@ declare namespace TsConfigJson {
|
|
646
827
|
importHelpers?: boolean;
|
647
828
|
|
648
829
|
/**
|
649
|
-
Specify
|
650
|
-
|
651
|
-
Requires TypeScript version 2.1 or later.
|
830
|
+
Specify emit/checking behavior for imports that are only used for types.
|
652
831
|
|
653
|
-
@default '
|
832
|
+
@default 'remove'
|
654
833
|
*/
|
655
|
-
|
834
|
+
importsNotUsedAsValues?: CompilerOptions.ImportsNotUsedAsValues;
|
656
835
|
|
657
836
|
/**
|
658
837
|
Parse in strict mode and emit `'use strict'` for each source file.
|
@@ -766,6 +945,119 @@ declare namespace TsConfigJson {
|
|
766
945
|
@default false
|
767
946
|
*/
|
768
947
|
resolveJsonModule?: boolean;
|
948
|
+
|
949
|
+
/**
|
950
|
+
Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.
|
951
|
+
|
952
|
+
Requires TypeScript version 3.8 or later.
|
953
|
+
|
954
|
+
@default false
|
955
|
+
*/
|
956
|
+
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
957
|
+
|
958
|
+
/**
|
959
|
+
Output more detailed compiler performance information after building.
|
960
|
+
|
961
|
+
@default false
|
962
|
+
*/
|
963
|
+
extendedDiagnostics?: boolean;
|
964
|
+
|
965
|
+
/**
|
966
|
+
Print names of files that are part of the compilation and then stop processing.
|
967
|
+
|
968
|
+
@default false
|
969
|
+
*/
|
970
|
+
listFilesOnly?: boolean;
|
971
|
+
|
972
|
+
/**
|
973
|
+
Disable preferring source files instead of declaration files when referencing composite projects.
|
974
|
+
|
975
|
+
@default true if composite, false otherwise
|
976
|
+
*/
|
977
|
+
disableSourceOfProjectReferenceRedirect?: boolean;
|
978
|
+
|
979
|
+
/**
|
980
|
+
Opt a project out of multi-project reference checking when editing.
|
981
|
+
|
982
|
+
Requires TypeScript version 3.8 or later.
|
983
|
+
|
984
|
+
@default false
|
985
|
+
*/
|
986
|
+
disableSolutionSearching?: boolean;
|
987
|
+
|
988
|
+
/**
|
989
|
+
Print names of files which TypeScript sees as a part of your project and the reason they are part of the compilation.
|
990
|
+
|
991
|
+
Requires TypeScript version 4.2 or later.
|
992
|
+
|
993
|
+
@default false
|
994
|
+
*/
|
995
|
+
explainFiles?: boolean;
|
996
|
+
}
|
997
|
+
|
998
|
+
namespace WatchOptions {
|
999
|
+
export type WatchFileKind =
|
1000
|
+
| 'FixedPollingInterval'
|
1001
|
+
| 'PriorityPollingInterval'
|
1002
|
+
| 'DynamicPriorityPolling'
|
1003
|
+
| 'FixedChunkSizePolling'
|
1004
|
+
| 'UseFsEvents'
|
1005
|
+
| 'UseFsEventsOnParentDirectory';
|
1006
|
+
|
1007
|
+
export type WatchDirectoryKind =
|
1008
|
+
| 'UseFsEvents'
|
1009
|
+
| 'FixedPollingInterval'
|
1010
|
+
| 'DynamicPriorityPolling'
|
1011
|
+
| 'FixedChunkSizePolling';
|
1012
|
+
|
1013
|
+
export type PollingWatchKind =
|
1014
|
+
| 'FixedInterval'
|
1015
|
+
| 'PriorityInterval'
|
1016
|
+
| 'DynamicPriority'
|
1017
|
+
| 'FixedChunkSize';
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
export interface WatchOptions {
|
1021
|
+
|
1022
|
+
/**
|
1023
|
+
Specify the strategy for watching individual files.
|
1024
|
+
|
1025
|
+
Requires TypeScript version 3.8 or later.
|
1026
|
+
|
1027
|
+
@default 'UseFsEvents'
|
1028
|
+
*/
|
1029
|
+
watchFile?: WatchOptions.WatchFileKind | Lowercase<WatchOptions.WatchFileKind>;
|
1030
|
+
|
1031
|
+
/**
|
1032
|
+
Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
|
1033
|
+
|
1034
|
+
Requires TypeScript version 3.8 or later.
|
1035
|
+
|
1036
|
+
@default 'UseFsEvents'
|
1037
|
+
*/
|
1038
|
+
watchDirectory?: WatchOptions.WatchDirectoryKind | Lowercase<WatchOptions.WatchDirectoryKind>;
|
1039
|
+
|
1040
|
+
/**
|
1041
|
+
Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
|
1042
|
+
|
1043
|
+
Requires TypeScript version 3.8 or later.
|
1044
|
+
*/
|
1045
|
+
fallbackPolling?: WatchOptions.PollingWatchKind | Lowercase<WatchOptions.PollingWatchKind>;
|
1046
|
+
|
1047
|
+
/**
|
1048
|
+
Enable synchronous updates on directory watchers for platforms that don't support recursive watching natively.
|
1049
|
+
*/
|
1050
|
+
synchronousWatchDirectory?: boolean;
|
1051
|
+
|
1052
|
+
/**
|
1053
|
+
Specifies a list of directories to exclude from watch
|
1054
|
+
*/
|
1055
|
+
excludeDirectories?: string[];
|
1056
|
+
|
1057
|
+
/**
|
1058
|
+
Specifies a list of files to exclude from watch
|
1059
|
+
*/
|
1060
|
+
excludeFiles?: string[];
|
769
1061
|
}
|
770
1062
|
|
771
1063
|
/**
|
@@ -815,12 +1107,22 @@ declare namespace TsConfigJson {
|
|
815
1107
|
}
|
816
1108
|
}
|
817
1109
|
|
1110
|
+
/**
|
1111
|
+
Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) (TypeScript 3.7).
|
1112
|
+
|
1113
|
+
@category File
|
1114
|
+
*/
|
818
1115
|
export interface TsConfigJson {
|
819
1116
|
/**
|
820
1117
|
Instructs the TypeScript compiler how to compile `.ts` files.
|
821
1118
|
*/
|
822
1119
|
compilerOptions?: TsConfigJson.CompilerOptions;
|
823
1120
|
|
1121
|
+
/**
|
1122
|
+
Instructs the TypeScript compiler how to watch files.
|
1123
|
+
*/
|
1124
|
+
watchOptions?: TsConfigJson.WatchOptions;
|
1125
|
+
|
824
1126
|
/**
|
825
1127
|
Auto type (.d.ts) acquisition options for this project.
|
826
1128
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
Matches any [typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray), like `Uint8Array` or `Float64Array`.
|
3
|
+
|
4
|
+
@category Array
|
5
|
+
*/
|
6
|
+
export type TypedArray =
|
7
|
+
| Int8Array
|
8
|
+
| Uint8Array
|
9
|
+
| Uint8ClampedArray
|
10
|
+
| Int16Array
|
11
|
+
| Uint16Array
|
12
|
+
| Int32Array
|
13
|
+
| Uint32Array
|
14
|
+
| Float32Array
|
15
|
+
| Float64Array
|
16
|
+
| BigInt64Array
|
17
|
+
| BigUint64Array;
|
@@ -5,7 +5,7 @@ Inspired by [this Stack Overflow answer](https://stackoverflow.com/a/50375286/21
|
|
5
5
|
|
6
6
|
@example
|
7
7
|
```
|
8
|
-
import {UnionToIntersection} from 'type-fest';
|
8
|
+
import type {UnionToIntersection} from 'type-fest';
|
9
9
|
|
10
10
|
type Union = {the(): void} | {great(arg: string): void} | {escape: boolean};
|
11
11
|
|
@@ -17,7 +17,7 @@ A more applicable example which could make its way into your library code follow
|
|
17
17
|
|
18
18
|
@example
|
19
19
|
```
|
20
|
-
import {UnionToIntersection} from 'type-fest';
|
20
|
+
import type {UnionToIntersection} from 'type-fest';
|
21
21
|
|
22
22
|
class CommandOne {
|
23
23
|
commands: {
|
@@ -40,6 +40,8 @@ type Union = typeof union;
|
|
40
40
|
type Intersection = UnionToIntersection<Union>;
|
41
41
|
//=> {a1(): void; b1(): void; a2(argA: string): void; b2(argB: string): void}
|
42
42
|
```
|
43
|
+
|
44
|
+
@category Type
|
43
45
|
*/
|
44
46
|
export type UnionToIntersection<Union> = (
|
45
47
|
// `extends unknown` is always going to be the case and is used to convert the
|
@@ -13,7 +13,7 @@ Please upvote [this issue](https://github.com/microsoft/TypeScript/issues/31438)
|
|
13
13
|
}
|
14
14
|
|
15
15
|
// main.ts
|
16
|
-
import {ValueOf} from 'type-fest';
|
16
|
+
import type {ValueOf} from 'type-fest';
|
17
17
|
import data = require('./data.json');
|
18
18
|
|
19
19
|
export function getData(name: string): ValueOf<typeof data> {
|
@@ -36,5 +36,7 @@ onlyBar('foo');
|
|
36
36
|
onlyBar('bar');
|
37
37
|
//=> 2
|
38
38
|
```
|
39
|
+
|
40
|
+
@category Object
|
39
41
|
*/
|
40
42
|
export type ValueOf<ObjectType, ValueType extends keyof ObjectType = keyof ObjectType> = ObjectType[ValueType];
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import type {Except} from './except';
|
2
|
+
import type {Simplify} from './simplify';
|
3
|
+
|
4
|
+
/**
|
5
|
+
Create a type that strips `readonly` from all or some of an object's keys. Inverse of `Readonly<T>`.
|
6
|
+
|
7
|
+
This can be used to [store and mutate options within a class](https://github.com/sindresorhus/pageres/blob/4a5d05fca19a5fbd2f53842cbf3eb7b1b63bddd2/source/index.ts#L72), [edit `readonly` objects within tests](https://stackoverflow.com/questions/50703834), [construct a `readonly` object within a function](https://github.com/Microsoft/TypeScript/issues/24509), or to define a single model where the only thing that changes is whether or not some of the keys are writable.
|
8
|
+
|
9
|
+
@example
|
10
|
+
```
|
11
|
+
import type {Writable} from 'type-fest';
|
12
|
+
|
13
|
+
type Foo = {
|
14
|
+
readonly a: number;
|
15
|
+
readonly b: readonly string[]; // To show that only the mutability status of the properties, not their values, are affected.
|
16
|
+
readonly c: boolean;
|
17
|
+
};
|
18
|
+
|
19
|
+
const writableFoo: Writable<Foo> = {a: 1, b: ['2'], c: true};
|
20
|
+
writableFoo.a = 3;
|
21
|
+
writableFoo.b[0] = 'new value'; // Will still fail as the value of property "b" is still a readonly type.
|
22
|
+
writableFoo.b = ['something']; // Will work as the "b" property itself is no longer readonly.
|
23
|
+
|
24
|
+
type SomeWritable = Writable<Foo, 'b' | 'c'>;
|
25
|
+
// type SomeWritable = {
|
26
|
+
// readonly a: number;
|
27
|
+
// b: readonly string[]; // It's now writable. The type of the property remains unaffected.
|
28
|
+
// c: boolean; // It's now writable.
|
29
|
+
// }
|
30
|
+
```
|
31
|
+
|
32
|
+
@category Object
|
33
|
+
*/
|
34
|
+
export type Writable<BaseType, Keys extends keyof BaseType = keyof BaseType> =
|
35
|
+
Simplify<
|
36
|
+
// Pick just the keys that are not writable from the base type.
|
37
|
+
Except<BaseType, Keys> &
|
38
|
+
// Pick the keys that should be writable from the base type and make them writable by removing the `readonly` modifier from the key.
|
39
|
+
{-readonly [KeyType in keyof Pick<BaseType, Keys>]: Pick<BaseType, Keys>[KeyType]}
|
40
|
+
>;
|
data/package.json
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
"name": "immosquare-cleaner",
|
3
3
|
"private": true,
|
4
4
|
"dependencies": {
|
5
|
-
"eslint": "^
|
5
|
+
"eslint": "^9.2.0",
|
6
6
|
"eslint-config-airbnb-base": "^15.0.0",
|
7
7
|
"eslint-plugin-import": "^2.29.1",
|
8
8
|
"prettier": "^3.2.5"
|
9
9
|
},
|
10
|
-
"devDependencies": {"npm-check-updates": "^16.14.
|
10
|
+
"devDependencies": {"npm-check-updates": "^16.14.20"},
|
11
11
|
"scripts": {"bun-ncu": "bun ncu -u && bun install"}
|
12
12
|
}
|