xo 0.48.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/plugins.cjs +3 -0
- package/lib/options-manager.js +2 -2
- package/node_modules/@types/json-schema/README.md +2 -2
- package/node_modules/@types/json-schema/index.d.ts +8 -1
- package/node_modules/@types/json-schema/package.json +3 -8
- package/node_modules/@typescript-eslint/eslint-plugin/README.md +132 -128
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js +7 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js +50 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +9 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +8 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +29 -26
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +7 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +10 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +12 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +46 -30
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +9 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/format.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +13 -7
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +85 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +52 -12
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +238 -28
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +10 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +7 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +373 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +3 -4
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +105 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +7 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +40 -6
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +9 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +26 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +7 -5
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +6 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +49 -18
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +91 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +189 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +68 -63
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +53 -3
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +6 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +15 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +25 -9
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +7 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +95 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +9 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +19 -2
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +49 -20
- package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js +307 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getOperatorPrecedence.js.map +1 -0
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +6 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +133 -132
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/TEMPLATE.md +5 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/adjacent-overload-signatures.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/array-type.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/await-thenable.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-ts-comment.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-tslint-comment.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/ban-types.md +9 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/brace-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/class-literal-property-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-dangle.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/comma-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-indexed-object-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-definitions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-exports.md +35 -3
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-imports.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/default-param-last.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/dot-notation.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-function-return-type.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-member-accessibility.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/explicit-module-boundary-types.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/func-call-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/indent.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/init-declarations.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/keyword-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/lines-between-class-members.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-delimiter-style.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +549 -477
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/method-signature-style.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/naming-convention.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-array-constructor.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-base-to-string.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-non-null-assertion.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-confusing-void-expression.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dupe-class-members.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-enum-values.md +64 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-duplicate-imports.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-dynamic-delete.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-function.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-empty-interface.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-explicit-any.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-non-null-assertion.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-parens.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extra-semi.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-extraneous-class.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-floating-promises.md +21 -8
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-for-in-array.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implicit-any-catch.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-implied-eval.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-inferrable-types.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-this.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-invalid-void-type.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loop-func.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-loss-of-precision.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-magic-numbers.md +27 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-meaningless-void-operator.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-new.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-promises.md +55 -11
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-namespace.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-non-null-assertion.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redeclare.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-redundant-type-constituents.md +100 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-require-imports.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-restricted-imports.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-this-alias.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-type-alias.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-condition.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-qualifier.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-arguments.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-assertion.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unnecessary-type-constraint.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-argument.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-assignment.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-call.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-member-access.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-expressions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unused-vars.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-constructor.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-useless-empty-export.md +60 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-var-requires.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/non-nullable-type-assertion-style.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/object-curly-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/padding-line-between-statements.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/parameter-properties.md +496 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-as-const.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-enum-initializers.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-for-of.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-function-type.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-includes.md +13 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-literal-enum-member.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-namespace-keyword.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +23 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md +4 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-readonly.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-reduce-type-parameter.md +13 -2
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-regexp-exec.md +10 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-return-this-type.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-string-starts-ends-with.md +10 -5
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-ts-expect-error.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/promise-function-async.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/quotes.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-array-sort-compare.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/require-await.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-plus-operands.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/restrict-template-expressions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/semi.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/sort-type-union-intersection-members.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-blocks.md +62 -0
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-before-function-paren.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/space-infix-ops.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/switch-exhaustiveness-check.md +16 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/triple-slash-reference.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/type-annotation-spacing.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/typedef.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unbound-method.md +3 -1
- package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/unified-signatures.md +48 -2
- package/node_modules/@typescript-eslint/eslint-plugin/package.json +10 -10
- package/node_modules/@typescript-eslint/parser/README.md +9 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/parser/dist/parser.js +5 -2
- package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
- package/node_modules/@typescript-eslint/parser/package.json +6 -6
- package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +3 -9
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +5 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +4 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +24 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +14 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +4 -3
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +6 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +2 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +3 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +20 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +11 -2
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -6
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -4
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +5 -1
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -1
- package/node_modules/@typescript-eslint/scope-manager/package.json +12 -13
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getContextualType.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getSourceFileOfNode.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/getTypeName.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js +9 -1
- package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts +7 -0
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js +38 -2
- package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js +15 -1
- package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/requiresQuoting.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js +5 -1
- package/node_modules/@typescript-eslint/type-utils/dist/typeFlagUtils.js.map +1 -1
- package/node_modules/@typescript-eslint/type-utils/package.json +5 -5
- package/node_modules/@typescript-eslint/types/dist/{ast-spec.d.ts → generated/ast-spec.d.ts} +3 -2
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/{ast-spec.js → generated/ast-spec.js} +0 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +1 -2
- package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/index.js +7 -4
- package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/lib.js +2 -1
- package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +3 -3
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +6 -2
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -1
- package/node_modules/@typescript-eslint/types/package.json +29 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +6 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +6 -3
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +6 -2
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +5 -1
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
- package/node_modules/@typescript-eslint/typescript-estree/package.json +8 -9
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +29 -0
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js +3 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts +2 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js +7 -2
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +2 -6
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js +2 -6
- package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js +18 -12
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/eslint-utils/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +42 -7
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +3 -4
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +2 -0
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +0 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js +5 -1
- package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/index.js.map +1 -1
- package/node_modules/@typescript-eslint/utils/package.json +5 -5
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +7 -3
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -1
- package/node_modules/@typescript-eslint/visitor-keys/package.json +4 -4
- package/node_modules/debug/README.md +3 -0
- package/node_modules/debug/package.json +1 -1
- package/node_modules/debug/src/common.js +1 -1
- package/node_modules/eslint-config-xo-typescript/index.js +107 -82
- package/node_modules/eslint-config-xo-typescript/package.json +4 -4
- package/node_modules/eslint-config-xo-typescript/readme.md +3 -3
- package/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +18 -5
- package/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
- package/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
- package/node_modules/eslint-visitor-keys/lib/index.js +11 -5
- package/node_modules/eslint-visitor-keys/lib/visitor-keys.js +7 -0
- package/node_modules/eslint-visitor-keys/package.json +11 -4
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/LICENSE-MIT +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/README.md +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.d.ts +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/index.js +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/legacy.js +0 -0
- package/node_modules/{@typescript-eslint/eslint-plugin/node_modules/ignore → ignore}/package.json +0 -0
- package/node_modules/micromatch/README.md +12 -9
- package/node_modules/micromatch/index.js +3 -3
- package/node_modules/micromatch/package.json +5 -5
- package/node_modules/semver/README.md +3 -1
- package/node_modules/semver/bin/semver.js +19 -9
- package/node_modules/semver/classes/comparator.js +3 -2
- package/node_modules/semver/classes/index.js +1 -1
- package/node_modules/semver/classes/range.js +31 -22
- package/node_modules/semver/classes/semver.js +1 -1
- package/node_modules/semver/functions/cmp.js +8 -4
- package/node_modules/semver/functions/coerce.js +3 -2
- package/node_modules/semver/functions/inc.js +4 -1
- package/node_modules/semver/functions/parse.js +1 -1
- package/node_modules/semver/internal/constants.js +2 -2
- package/node_modules/semver/internal/identifiers.js +1 -1
- package/node_modules/semver/internal/parse-options.js +3 -3
- package/node_modules/semver/internal/re.js +3 -3
- package/node_modules/semver/package.json +45 -11
- package/node_modules/semver/ranges/min-version.js +2 -1
- package/node_modules/semver/ranges/outside.js +1 -1
- package/node_modules/semver/ranges/simplify.js +15 -12
- package/node_modules/semver/ranges/subset.js +53 -31
- package/package.json +22 -22
- package/readme.md +16 -0
- package/node_modules/@typescript-eslint/types/dist/ast-spec.d.ts.map +0 -1
- package/node_modules/@typescript-eslint/types/dist/ast-spec.js.map +0 -1
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/LICENSE-MIT +0 -21
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/README.md +0 -412
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.d.ts +0 -61
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/index.js +0 -603
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/legacy.js +0 -498
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/ignore/package.json +0 -71
- package/node_modules/micromatch/CHANGELOG.md +0 -109
- package/node_modules/semver/CHANGELOG.md +0 -111
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
4
|
-
|
|
5
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
6
|
-
|
|
7
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
-
|
|
9
|
-
// A simple implementation of make-array
|
|
10
|
-
function makeArray(subject) {
|
|
11
|
-
return Array.isArray(subject) ? subject : [subject];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
var EMPTY = '';
|
|
15
|
-
var SPACE = ' ';
|
|
16
|
-
var ESCAPE = '\\';
|
|
17
|
-
var REGEX_TEST_BLANK_LINE = /^\s+$/;
|
|
18
|
-
var REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/;
|
|
19
|
-
var REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/;
|
|
20
|
-
var REGEX_SPLITALL_CRLF = /\r?\n/g; // /foo,
|
|
21
|
-
// ./foo,
|
|
22
|
-
// ../foo,
|
|
23
|
-
// .
|
|
24
|
-
// ..
|
|
25
|
-
|
|
26
|
-
var REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/;
|
|
27
|
-
var SLASH = '/';
|
|
28
|
-
var KEY_IGNORE = typeof Symbol !== 'undefined' ? Symbol["for"]('node-ignore')
|
|
29
|
-
/* istanbul ignore next */
|
|
30
|
-
: 'node-ignore';
|
|
31
|
-
|
|
32
|
-
var define = function define(object, key, value) {
|
|
33
|
-
return Object.defineProperty(object, key, {
|
|
34
|
-
value: value
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
|
|
39
|
-
|
|
40
|
-
var RETURN_FALSE = function RETURN_FALSE() {
|
|
41
|
-
return false;
|
|
42
|
-
}; // Sanitize the range of a regular expression
|
|
43
|
-
// The cases are complicated, see test cases for details
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
var sanitizeRange = function sanitizeRange(range) {
|
|
47
|
-
return range.replace(REGEX_REGEXP_RANGE, function (match, from, to) {
|
|
48
|
-
return from.charCodeAt(0) <= to.charCodeAt(0) ? match // Invalid range (out of order) which is ok for gitignore rules but
|
|
49
|
-
// fatal for JavaScript regular expression, so eliminate it.
|
|
50
|
-
: EMPTY;
|
|
51
|
-
});
|
|
52
|
-
}; // See fixtures #59
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
var cleanRangeBackSlash = function cleanRangeBackSlash(slashes) {
|
|
56
|
-
var length = slashes.length;
|
|
57
|
-
return slashes.slice(0, length - length % 2);
|
|
58
|
-
}; // > If the pattern ends with a slash,
|
|
59
|
-
// > it is removed for the purpose of the following description,
|
|
60
|
-
// > but it would only find a match with a directory.
|
|
61
|
-
// > In other words, foo/ will match a directory foo and paths underneath it,
|
|
62
|
-
// > but will not match a regular file or a symbolic link foo
|
|
63
|
-
// > (this is consistent with the way how pathspec works in general in Git).
|
|
64
|
-
// '`foo/`' will not match regular file '`foo`' or symbolic link '`foo`'
|
|
65
|
-
// -> ignore-rules will not deal with it, because it costs extra `fs.stat` call
|
|
66
|
-
// you could use option `mark: true` with `glob`
|
|
67
|
-
// '`foo/`' should not continue with the '`..`'
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
var REPLACERS = [// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
71
|
-
[// (a\ ) -> (a )
|
|
72
|
-
// (a ) -> (a)
|
|
73
|
-
// (a \ ) -> (a )
|
|
74
|
-
/\\?\s+$/, function (match) {
|
|
75
|
-
return match.indexOf('\\') === 0 ? SPACE : EMPTY;
|
|
76
|
-
}], // replace (\ ) with ' '
|
|
77
|
-
[/\\\s/g, function () {
|
|
78
|
-
return SPACE;
|
|
79
|
-
}], // Escape metacharacters
|
|
80
|
-
// which is written down by users but means special for regular expressions.
|
|
81
|
-
// > There are 12 characters with special meanings:
|
|
82
|
-
// > - the backslash \,
|
|
83
|
-
// > - the caret ^,
|
|
84
|
-
// > - the dollar sign $,
|
|
85
|
-
// > - the period or dot .,
|
|
86
|
-
// > - the vertical bar or pipe symbol |,
|
|
87
|
-
// > - the question mark ?,
|
|
88
|
-
// > - the asterisk or star *,
|
|
89
|
-
// > - the plus sign +,
|
|
90
|
-
// > - the opening parenthesis (,
|
|
91
|
-
// > - the closing parenthesis ),
|
|
92
|
-
// > - and the opening square bracket [,
|
|
93
|
-
// > - the opening curly brace {,
|
|
94
|
-
// > These special characters are often called "metacharacters".
|
|
95
|
-
[/[\\$.|*+(){^]/g, function (match) {
|
|
96
|
-
return "\\".concat(match);
|
|
97
|
-
}], [// > a question mark (?) matches a single character
|
|
98
|
-
/(?!\\)\?/g, function () {
|
|
99
|
-
return '[^/]';
|
|
100
|
-
}], // leading slash
|
|
101
|
-
[// > A leading slash matches the beginning of the pathname.
|
|
102
|
-
// > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".
|
|
103
|
-
// A leading slash matches the beginning of the pathname
|
|
104
|
-
/^\//, function () {
|
|
105
|
-
return '^';
|
|
106
|
-
}], // replace special metacharacter slash after the leading slash
|
|
107
|
-
[/\//g, function () {
|
|
108
|
-
return '\\/';
|
|
109
|
-
}], [// > A leading "**" followed by a slash means match in all directories.
|
|
110
|
-
// > For example, "**/foo" matches file or directory "foo" anywhere,
|
|
111
|
-
// > the same as pattern "foo".
|
|
112
|
-
// > "**/foo/bar" matches file or directory "bar" anywhere that is directly
|
|
113
|
-
// > under directory "foo".
|
|
114
|
-
// Notice that the '*'s have been replaced as '\\*'
|
|
115
|
-
/^\^*\\\*\\\*\\\//, // '**/foo' <-> 'foo'
|
|
116
|
-
function () {
|
|
117
|
-
return '^(?:.*\\/)?';
|
|
118
|
-
}], // starting
|
|
119
|
-
[// there will be no leading '/'
|
|
120
|
-
// (which has been replaced by section "leading slash")
|
|
121
|
-
// If starts with '**', adding a '^' to the regular expression also works
|
|
122
|
-
/^(?=[^^])/, function startingReplacer() {
|
|
123
|
-
// If has a slash `/` at the beginning or middle
|
|
124
|
-
return !/\/(?!$)/.test(this) // > Prior to 2.22.1
|
|
125
|
-
// > If the pattern does not contain a slash /,
|
|
126
|
-
// > Git treats it as a shell glob pattern
|
|
127
|
-
// Actually, if there is only a trailing slash,
|
|
128
|
-
// git also treats it as a shell glob pattern
|
|
129
|
-
// After 2.22.1 (compatible but clearer)
|
|
130
|
-
// > If there is a separator at the beginning or middle (or both)
|
|
131
|
-
// > of the pattern, then the pattern is relative to the directory
|
|
132
|
-
// > level of the particular .gitignore file itself.
|
|
133
|
-
// > Otherwise the pattern may also match at any level below
|
|
134
|
-
// > the .gitignore level.
|
|
135
|
-
? '(?:^|\\/)' // > Otherwise, Git treats the pattern as a shell glob suitable for
|
|
136
|
-
// > consumption by fnmatch(3)
|
|
137
|
-
: '^';
|
|
138
|
-
}], // two globstars
|
|
139
|
-
[// Use lookahead assertions so that we could match more than one `'/**'`
|
|
140
|
-
/\\\/\\\*\\\*(?=\\\/|$)/g, // Zero, one or several directories
|
|
141
|
-
// should not use '*', or it will be replaced by the next replacer
|
|
142
|
-
// Check if it is not the last `'/**'`
|
|
143
|
-
function (_, index, str) {
|
|
144
|
-
return index + 6 < str.length // case: /**/
|
|
145
|
-
// > A slash followed by two consecutive asterisks then a slash matches
|
|
146
|
-
// > zero or more directories.
|
|
147
|
-
// > For example, "a/**/b" matches "a/b", "a/x/b", "a/x/y/b" and so on.
|
|
148
|
-
// '/**/'
|
|
149
|
-
? '(?:\\/[^\\/]+)*' // case: /**
|
|
150
|
-
// > A trailing `"/**"` matches everything inside.
|
|
151
|
-
// #21: everything inside but it should not include the current folder
|
|
152
|
-
: '\\/.+';
|
|
153
|
-
}], // intermediate wildcards
|
|
154
|
-
[// Never replace escaped '*'
|
|
155
|
-
// ignore rule '\*' will match the path '*'
|
|
156
|
-
// 'abc.*/' -> go
|
|
157
|
-
// 'abc.*' -> skip this rule
|
|
158
|
-
/(^|[^\\]+)\\\*(?=.+)/g, // '*.js' matches '.js'
|
|
159
|
-
// '*.js' doesn't match 'abc'
|
|
160
|
-
function (_, p1) {
|
|
161
|
-
return "".concat(p1, "[^\\/]*");
|
|
162
|
-
}], [// unescape, revert step 3 except for back slash
|
|
163
|
-
// For example, if a user escape a '\\*',
|
|
164
|
-
// after step 3, the result will be '\\\\\\*'
|
|
165
|
-
/\\\\\\(?=[$.|*+(){^])/g, function () {
|
|
166
|
-
return ESCAPE;
|
|
167
|
-
}], [// '\\\\' -> '\\'
|
|
168
|
-
/\\\\/g, function () {
|
|
169
|
-
return ESCAPE;
|
|
170
|
-
}], [// > The range notation, e.g. [a-zA-Z],
|
|
171
|
-
// > can be used to match one of the characters in a range.
|
|
172
|
-
// `\` is escaped by step 3
|
|
173
|
-
/(\\)?\[([^\]/]*?)(\\*)($|\])/g, function (match, leadEscape, range, endEscape, close) {
|
|
174
|
-
return leadEscape === ESCAPE // '\\[bar]' -> '\\\\[bar\\]'
|
|
175
|
-
? "\\[".concat(range).concat(cleanRangeBackSlash(endEscape)).concat(close) : close === ']' ? endEscape.length % 2 === 0 // A normal case, and it is a range notation
|
|
176
|
-
// '[bar]'
|
|
177
|
-
// '[bar\\\\]'
|
|
178
|
-
? "[".concat(sanitizeRange(range)).concat(endEscape, "]") // Invalid range notaton
|
|
179
|
-
// '[bar\\]' -> '[bar\\\\]'
|
|
180
|
-
: '[]' : '[]';
|
|
181
|
-
}], // ending
|
|
182
|
-
[// 'js' will not match 'js.'
|
|
183
|
-
// 'ab' will not match 'abc'
|
|
184
|
-
/(?:[^*])$/, // WTF!
|
|
185
|
-
// https://git-scm.com/docs/gitignore
|
|
186
|
-
// changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1)
|
|
187
|
-
// which re-fixes #24, #38
|
|
188
|
-
// > If there is a separator at the end of the pattern then the pattern
|
|
189
|
-
// > will only match directories, otherwise the pattern can match both
|
|
190
|
-
// > files and directories.
|
|
191
|
-
// 'js*' will not match 'a.js'
|
|
192
|
-
// 'js/' will not match 'a.js'
|
|
193
|
-
// 'js' will match 'a.js' and 'a.js/'
|
|
194
|
-
function (match) {
|
|
195
|
-
return /\/$/.test(match) // foo/ will not match 'foo'
|
|
196
|
-
? "".concat(match, "$") // foo matches 'foo' and 'foo/'
|
|
197
|
-
: "".concat(match, "(?=$|\\/$)");
|
|
198
|
-
}], // trailing wildcard
|
|
199
|
-
[/(\^|\\\/)?\\\*$/, function (_, p1) {
|
|
200
|
-
var prefix = p1 // '\^':
|
|
201
|
-
// '/*' does not match EMPTY
|
|
202
|
-
// '/*' does not match everything
|
|
203
|
-
// '\\\/':
|
|
204
|
-
// 'abc/*' does not match 'abc/'
|
|
205
|
-
? "".concat(p1, "[^/]+") // 'a*' matches 'a'
|
|
206
|
-
// 'a*' matches 'aa'
|
|
207
|
-
: '[^/]*';
|
|
208
|
-
return "".concat(prefix, "(?=$|\\/$)");
|
|
209
|
-
}]]; // A simple cache, because an ignore rule only has only one certain meaning
|
|
210
|
-
|
|
211
|
-
var regexCache = Object.create(null); // @param {pattern}
|
|
212
|
-
|
|
213
|
-
var makeRegex = function makeRegex(pattern, ignoreCase) {
|
|
214
|
-
var source = regexCache[pattern];
|
|
215
|
-
|
|
216
|
-
if (!source) {
|
|
217
|
-
source = REPLACERS.reduce(function (prev, current) {
|
|
218
|
-
return prev.replace(current[0], current[1].bind(pattern));
|
|
219
|
-
}, pattern);
|
|
220
|
-
regexCache[pattern] = source;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
return ignoreCase ? new RegExp(source, 'i') : new RegExp(source);
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
var isString = function isString(subject) {
|
|
227
|
-
return typeof subject === 'string';
|
|
228
|
-
}; // > A blank line matches no files, so it can serve as a separator for readability.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
var checkPattern = function checkPattern(pattern) {
|
|
232
|
-
return pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) // > A line starting with # serves as a comment.
|
|
233
|
-
&& pattern.indexOf('#') !== 0;
|
|
234
|
-
};
|
|
235
|
-
|
|
236
|
-
var splitPattern = function splitPattern(pattern) {
|
|
237
|
-
return pattern.split(REGEX_SPLITALL_CRLF);
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
var IgnoreRule = function IgnoreRule(origin, pattern, negative, regex) {
|
|
241
|
-
_classCallCheck(this, IgnoreRule);
|
|
242
|
-
|
|
243
|
-
this.origin = origin;
|
|
244
|
-
this.pattern = pattern;
|
|
245
|
-
this.negative = negative;
|
|
246
|
-
this.regex = regex;
|
|
247
|
-
};
|
|
248
|
-
|
|
249
|
-
var createRule = function createRule(pattern, ignoreCase) {
|
|
250
|
-
var origin = pattern;
|
|
251
|
-
var negative = false; // > An optional prefix "!" which negates the pattern;
|
|
252
|
-
|
|
253
|
-
if (pattern.indexOf('!') === 0) {
|
|
254
|
-
negative = true;
|
|
255
|
-
pattern = pattern.substr(1);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
pattern = pattern // > Put a backslash ("\") in front of the first "!" for patterns that
|
|
259
|
-
// > begin with a literal "!", for example, `"\!important!.txt"`.
|
|
260
|
-
.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, '!') // > Put a backslash ("\") in front of the first hash for patterns that
|
|
261
|
-
// > begin with a hash.
|
|
262
|
-
.replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, '#');
|
|
263
|
-
var regex = makeRegex(pattern, ignoreCase);
|
|
264
|
-
return new IgnoreRule(origin, pattern, negative, regex);
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
var throwError = function throwError(message, Ctor) {
|
|
268
|
-
throw new Ctor(message);
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
var checkPath = function checkPath(path, originalPath, doThrow) {
|
|
272
|
-
if (!isString(path)) {
|
|
273
|
-
return doThrow("path must be a string, but got `".concat(originalPath, "`"), TypeError);
|
|
274
|
-
} // We don't know if we should ignore EMPTY, so throw
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
if (!path) {
|
|
278
|
-
return doThrow("path must not be empty", TypeError);
|
|
279
|
-
} // Check if it is a relative path
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
if (checkPath.isNotRelative(path)) {
|
|
283
|
-
var r = '`path.relative()`d';
|
|
284
|
-
return doThrow("path should be a ".concat(r, " string, but got \"").concat(originalPath, "\""), RangeError);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
return true;
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
var isNotRelative = function isNotRelative(path) {
|
|
291
|
-
return REGEX_TEST_INVALID_PATH.test(path);
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
checkPath.isNotRelative = isNotRelative;
|
|
295
|
-
|
|
296
|
-
checkPath.convert = function (p) {
|
|
297
|
-
return p;
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
var Ignore = /*#__PURE__*/function () {
|
|
301
|
-
function Ignore() {
|
|
302
|
-
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
303
|
-
_ref$ignorecase = _ref.ignorecase,
|
|
304
|
-
ignorecase = _ref$ignorecase === void 0 ? true : _ref$ignorecase,
|
|
305
|
-
_ref$ignoreCase = _ref.ignoreCase,
|
|
306
|
-
ignoreCase = _ref$ignoreCase === void 0 ? ignorecase : _ref$ignoreCase,
|
|
307
|
-
_ref$allowRelativePat = _ref.allowRelativePaths,
|
|
308
|
-
allowRelativePaths = _ref$allowRelativePat === void 0 ? false : _ref$allowRelativePat;
|
|
309
|
-
|
|
310
|
-
_classCallCheck(this, Ignore);
|
|
311
|
-
|
|
312
|
-
define(this, KEY_IGNORE, true);
|
|
313
|
-
this._rules = [];
|
|
314
|
-
this._ignoreCase = ignoreCase;
|
|
315
|
-
this._allowRelativePaths = allowRelativePaths;
|
|
316
|
-
|
|
317
|
-
this._initCache();
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
_createClass(Ignore, [{
|
|
321
|
-
key: "_initCache",
|
|
322
|
-
value: function _initCache() {
|
|
323
|
-
this._ignoreCache = Object.create(null);
|
|
324
|
-
this._testCache = Object.create(null);
|
|
325
|
-
}
|
|
326
|
-
}, {
|
|
327
|
-
key: "_addPattern",
|
|
328
|
-
value: function _addPattern(pattern) {
|
|
329
|
-
// #32
|
|
330
|
-
if (pattern && pattern[KEY_IGNORE]) {
|
|
331
|
-
this._rules = this._rules.concat(pattern._rules);
|
|
332
|
-
this._added = true;
|
|
333
|
-
return;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
if (checkPattern(pattern)) {
|
|
337
|
-
var rule = createRule(pattern, this._ignoreCase);
|
|
338
|
-
this._added = true;
|
|
339
|
-
|
|
340
|
-
this._rules.push(rule);
|
|
341
|
-
}
|
|
342
|
-
} // @param {Array<string> | string | Ignore} pattern
|
|
343
|
-
|
|
344
|
-
}, {
|
|
345
|
-
key: "add",
|
|
346
|
-
value: function add(pattern) {
|
|
347
|
-
this._added = false;
|
|
348
|
-
makeArray(isString(pattern) ? splitPattern(pattern) : pattern).forEach(this._addPattern, this); // Some rules have just added to the ignore,
|
|
349
|
-
// making the behavior changed.
|
|
350
|
-
|
|
351
|
-
if (this._added) {
|
|
352
|
-
this._initCache();
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
return this;
|
|
356
|
-
} // legacy
|
|
357
|
-
|
|
358
|
-
}, {
|
|
359
|
-
key: "addPattern",
|
|
360
|
-
value: function addPattern(pattern) {
|
|
361
|
-
return this.add(pattern);
|
|
362
|
-
} // | ignored : unignored
|
|
363
|
-
// negative | 0:0 | 0:1 | 1:0 | 1:1
|
|
364
|
-
// -------- | ------- | ------- | ------- | --------
|
|
365
|
-
// 0 | TEST | TEST | SKIP | X
|
|
366
|
-
// 1 | TESTIF | SKIP | TEST | X
|
|
367
|
-
// - SKIP: always skip
|
|
368
|
-
// - TEST: always test
|
|
369
|
-
// - TESTIF: only test if checkUnignored
|
|
370
|
-
// - X: that never happen
|
|
371
|
-
// @param {boolean} whether should check if the path is unignored,
|
|
372
|
-
// setting `checkUnignored` to `false` could reduce additional
|
|
373
|
-
// path matching.
|
|
374
|
-
// @returns {TestResult} true if a file is ignored
|
|
375
|
-
|
|
376
|
-
}, {
|
|
377
|
-
key: "_testOne",
|
|
378
|
-
value: function _testOne(path, checkUnignored) {
|
|
379
|
-
var ignored = false;
|
|
380
|
-
var unignored = false;
|
|
381
|
-
|
|
382
|
-
this._rules.forEach(function (rule) {
|
|
383
|
-
var negative = rule.negative;
|
|
384
|
-
|
|
385
|
-
if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
|
|
386
|
-
return;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
var matched = rule.regex.test(path);
|
|
390
|
-
|
|
391
|
-
if (matched) {
|
|
392
|
-
ignored = !negative;
|
|
393
|
-
unignored = negative;
|
|
394
|
-
}
|
|
395
|
-
});
|
|
396
|
-
|
|
397
|
-
return {
|
|
398
|
-
ignored: ignored,
|
|
399
|
-
unignored: unignored
|
|
400
|
-
};
|
|
401
|
-
} // @returns {TestResult}
|
|
402
|
-
|
|
403
|
-
}, {
|
|
404
|
-
key: "_test",
|
|
405
|
-
value: function _test(originalPath, cache, checkUnignored, slices) {
|
|
406
|
-
var path = originalPath // Supports nullable path
|
|
407
|
-
&& checkPath.convert(originalPath);
|
|
408
|
-
checkPath(path, originalPath, this._allowRelativePaths ? RETURN_FALSE : throwError);
|
|
409
|
-
return this._t(path, cache, checkUnignored, slices);
|
|
410
|
-
}
|
|
411
|
-
}, {
|
|
412
|
-
key: "_t",
|
|
413
|
-
value: function _t(path, cache, checkUnignored, slices) {
|
|
414
|
-
if (path in cache) {
|
|
415
|
-
return cache[path];
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
if (!slices) {
|
|
419
|
-
// path/to/a.js
|
|
420
|
-
// ['path', 'to', 'a.js']
|
|
421
|
-
slices = path.split(SLASH);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
slices.pop(); // If the path has no parent directory, just test it
|
|
425
|
-
|
|
426
|
-
if (!slices.length) {
|
|
427
|
-
return cache[path] = this._testOne(path, checkUnignored);
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
var parent = this._t(slices.join(SLASH) + SLASH, cache, checkUnignored, slices); // If the path contains a parent directory, check the parent first
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
return cache[path] = parent.ignored // > It is not possible to re-include a file if a parent directory of
|
|
434
|
-
// > that file is excluded.
|
|
435
|
-
? parent : this._testOne(path, checkUnignored);
|
|
436
|
-
}
|
|
437
|
-
}, {
|
|
438
|
-
key: "ignores",
|
|
439
|
-
value: function ignores(path) {
|
|
440
|
-
return this._test(path, this._ignoreCache, false).ignored;
|
|
441
|
-
}
|
|
442
|
-
}, {
|
|
443
|
-
key: "createFilter",
|
|
444
|
-
value: function createFilter() {
|
|
445
|
-
var _this = this;
|
|
446
|
-
|
|
447
|
-
return function (path) {
|
|
448
|
-
return !_this.ignores(path);
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
}, {
|
|
452
|
-
key: "filter",
|
|
453
|
-
value: function filter(paths) {
|
|
454
|
-
return makeArray(paths).filter(this.createFilter());
|
|
455
|
-
} // @returns {TestResult}
|
|
456
|
-
|
|
457
|
-
}, {
|
|
458
|
-
key: "test",
|
|
459
|
-
value: function test(path) {
|
|
460
|
-
return this._test(path, this._testCache, true);
|
|
461
|
-
}
|
|
462
|
-
}]);
|
|
463
|
-
|
|
464
|
-
return Ignore;
|
|
465
|
-
}();
|
|
466
|
-
|
|
467
|
-
var factory = function factory(options) {
|
|
468
|
-
return new Ignore(options);
|
|
469
|
-
};
|
|
470
|
-
|
|
471
|
-
var isPathValid = function isPathValid(path) {
|
|
472
|
-
return checkPath(path && checkPath.convert(path), path, RETURN_FALSE);
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
factory.isPathValid = isPathValid; // Fixes typescript
|
|
476
|
-
|
|
477
|
-
factory["default"] = factory;
|
|
478
|
-
module.exports = factory; // Windows
|
|
479
|
-
// --------------------------------------------------------------
|
|
480
|
-
|
|
481
|
-
/* istanbul ignore if */
|
|
482
|
-
|
|
483
|
-
if ( // Detect `process` so that it can run in browsers.
|
|
484
|
-
typeof process !== 'undefined' && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === 'win32')) {
|
|
485
|
-
/* eslint no-control-regex: "off" */
|
|
486
|
-
var makePosix = function makePosix(str) {
|
|
487
|
-
return /^\\\\\?\\/.test(str) || /[\0-\x1F"<>\|]+/.test(str) ? str : str.replace(/\\/g, '/');
|
|
488
|
-
};
|
|
489
|
-
|
|
490
|
-
checkPath.convert = makePosix; // 'C:\\foo' <- 'C:\\foo' has been converted to 'C:/'
|
|
491
|
-
// 'd:\\foo'
|
|
492
|
-
|
|
493
|
-
var REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
|
|
494
|
-
|
|
495
|
-
checkPath.isNotRelative = function (path) {
|
|
496
|
-
return REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path) || isNotRelative(path);
|
|
497
|
-
};
|
|
498
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ignore",
|
|
3
|
-
"version": "5.2.0",
|
|
4
|
-
"description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.",
|
|
5
|
-
"files": [
|
|
6
|
-
"legacy.js",
|
|
7
|
-
"index.js",
|
|
8
|
-
"index.d.ts",
|
|
9
|
-
"LICENSE-MIT"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"prepublishOnly": "npm run build",
|
|
13
|
-
"build": "babel -o legacy.js index.js",
|
|
14
|
-
"test:lint": "eslint .",
|
|
15
|
-
"test:tsc": "tsc ./test/ts/simple.ts --lib ES6",
|
|
16
|
-
"test:ts": "node ./test/ts/simple.js",
|
|
17
|
-
"tap": "tap --reporter classic",
|
|
18
|
-
"test:git": "npm run tap test/git-check-ignore.js",
|
|
19
|
-
"test:ignore": "npm run tap test/ignore.js",
|
|
20
|
-
"test:others": "npm run tap test/others.js",
|
|
21
|
-
"test:cases": "npm run tap test/*.js -- --coverage",
|
|
22
|
-
"test:only": "npm run test:lint && npm run test:tsc && npm run test:ts && npm run test:cases",
|
|
23
|
-
"test": "npm run test:only",
|
|
24
|
-
"test:win32": "IGNORE_TEST_WIN32=1 npm run test",
|
|
25
|
-
"posttest": "tap --coverage-report=html && codecov"
|
|
26
|
-
},
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git@github.com:kaelzhang/node-ignore.git"
|
|
30
|
-
},
|
|
31
|
-
"keywords": [
|
|
32
|
-
"ignore",
|
|
33
|
-
".gitignore",
|
|
34
|
-
"gitignore",
|
|
35
|
-
"npmignore",
|
|
36
|
-
"rules",
|
|
37
|
-
"manager",
|
|
38
|
-
"filter",
|
|
39
|
-
"regexp",
|
|
40
|
-
"regex",
|
|
41
|
-
"fnmatch",
|
|
42
|
-
"glob",
|
|
43
|
-
"asterisks",
|
|
44
|
-
"regular-expression"
|
|
45
|
-
],
|
|
46
|
-
"author": "kael",
|
|
47
|
-
"license": "MIT",
|
|
48
|
-
"bugs": {
|
|
49
|
-
"url": "https://github.com/kaelzhang/node-ignore/issues"
|
|
50
|
-
},
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"@babel/cli": "^7.8.4",
|
|
53
|
-
"@babel/core": "^7.9.6",
|
|
54
|
-
"@babel/preset-env": "^7.9.6",
|
|
55
|
-
"codecov": "^3.7.0",
|
|
56
|
-
"debug": "^4.1.1",
|
|
57
|
-
"eslint": "^7.0.0",
|
|
58
|
-
"eslint-config-ostai": "^3.0.0",
|
|
59
|
-
"eslint-plugin-import": "^2.20.2",
|
|
60
|
-
"mkdirp": "^1.0.4",
|
|
61
|
-
"pre-suf": "^1.1.1",
|
|
62
|
-
"rimraf": "^3.0.2",
|
|
63
|
-
"spawn-sync": "^2.0.0",
|
|
64
|
-
"tap": "^14.10.7",
|
|
65
|
-
"tmp": "0.2.1",
|
|
66
|
-
"typescript": "^3.9.3"
|
|
67
|
-
},
|
|
68
|
-
"engines": {
|
|
69
|
-
"node": ">= 4"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
# Release history
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
|
-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
<details>
|
|
9
|
-
<summary><strong>Guiding Principles</strong></summary>
|
|
10
|
-
|
|
11
|
-
- Changelogs are for humans, not machines.
|
|
12
|
-
- There should be an entry for every single version.
|
|
13
|
-
- The same types of changes should be grouped.
|
|
14
|
-
- Versions and sections should be linkable.
|
|
15
|
-
- The latest version comes first.
|
|
16
|
-
- The release date of each versions is displayed.
|
|
17
|
-
- Mention whether you follow Semantic Versioning.
|
|
18
|
-
|
|
19
|
-
</details>
|
|
20
|
-
|
|
21
|
-
<details>
|
|
22
|
-
<summary><strong>Types of changes</strong></summary>
|
|
23
|
-
|
|
24
|
-
Changelog entries are classified using the following labels _(from [keep-a-changelog](http://keepachangelog.com/)_):
|
|
25
|
-
|
|
26
|
-
- `Added` for new features.
|
|
27
|
-
- `Changed` for changes in existing functionality.
|
|
28
|
-
- `Deprecated` for soon-to-be removed features.
|
|
29
|
-
- `Removed` for now removed features.
|
|
30
|
-
- `Fixed` for any bug fixes.
|
|
31
|
-
- `Security` in case of vulnerabilities.
|
|
32
|
-
|
|
33
|
-
</details>
|
|
34
|
-
|
|
35
|
-
## [4.0.0] - 2019-03-20
|
|
36
|
-
|
|
37
|
-
### Added
|
|
38
|
-
|
|
39
|
-
- Adds support for `options.onMatch`. See the readme for details
|
|
40
|
-
- Adds support for `options.onIgnore`. See the readme for details
|
|
41
|
-
- Adds support for `options.onResult`. See the readme for details
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Breaking changes
|
|
45
|
-
|
|
46
|
-
- Require Node.js >= 8.6
|
|
47
|
-
- Removed support for passing an array of brace patterns to `micromatch.braces()`.
|
|
48
|
-
- To strictly enforce closing brackets (for `{`, `[`, and `(`), you must now use `strictBrackets=true` instead of `strictErrors`.
|
|
49
|
-
- `cache` - caching and all related options and methods have been removed
|
|
50
|
-
- `options.unixify` was renamed to `options.windows`
|
|
51
|
-
- `options.nodupes` Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the `onMatch`, `onResult` and `onIgnore` functions.
|
|
52
|
-
- `options.snapdragon` was removed, as snapdragon is no longer used.
|
|
53
|
-
- `options.sourcemap` was removed, as snapdragon is no longer used, which provided sourcemap support.
|
|
54
|
-
|
|
55
|
-
## [3.0.0] - 2017-04-11
|
|
56
|
-
|
|
57
|
-
Complete overhaul, with 36,000+ new unit tests validated against actual output generated by Bash and minimatch. More specifically, 35,000+ of the tests:
|
|
58
|
-
|
|
59
|
-
- micromatch results are directly compared to bash results
|
|
60
|
-
- in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results
|
|
61
|
-
- micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.
|
|
62
|
-
|
|
63
|
-
This refactor introduces a parser and compiler that are supersets of more granular parsers and compilers from other sub-modules. Each of these sub-modules has a singular responsibility and focuses on a certain type of matching that aligns with a specific part of the Bash "expansion" API.
|
|
64
|
-
|
|
65
|
-
These sub-modules work like plugins to seamlessly create the micromatch parser/compiler, so that strings are parsed in one pass, an [AST is created](https://gist.github.com/jonschlinkert/099c8914f56529f75bc757cc9e5e8e2a), then a new string is generated by the compiler.
|
|
66
|
-
|
|
67
|
-
Here are those sub-modules with links to related prs on those modules if you want to see how they contribute to this code:
|
|
68
|
-
|
|
69
|
-
[nanomatch](https://github.com/jonschlinkert/nanomatch) (new library) - glob expansion (`*`, `**`, `?` and `[...]`))
|
|
70
|
-
[braces](https://github.com/jonschlinkert/braces/pull/10) - brace expansion (`{1..10}`, `{a,b,c}`, etc)
|
|
71
|
-
[extglob](https://github.com/jonschlinkert/extglob/pull/5) - extended globs (`!(a|b)`, `@(!(foo|bar))`, etc)
|
|
72
|
-
[expand-brackets](https://github.com/jonschlinkert/expand-brackets/pull/5) - POSIX character classes `[[:alpha:][:digit:]]`
|
|
73
|
-
|
|
74
|
-
**Added**
|
|
75
|
-
|
|
76
|
-
- source map support (optionally created when using parse or compile - I have no idea what the use case is yet, but they come for free) (note that source maps are not generated for brace expansion at present, since the braces compiler uses a different strategy. I'll update if/when this changes).
|
|
77
|
-
- parser is exposed, so that implementors can customize or override specific micromatch parsers if necessary
|
|
78
|
-
- compiler is exposed, so that implementors can customize or override specific micromatch compilers if necessary
|
|
79
|
-
|
|
80
|
-
**Fixed**
|
|
81
|
-
|
|
82
|
-
- more accurate matching (passes 100% of Bash 4.3 of the brace expansion and extglob unit tests, as well as all Bash glob tests that are relevant to node.js usage, all minimatch tests, all brace-expansion tests, and also passes a couple of tests that bash fails)
|
|
83
|
-
- even safer - micromatch has always generated optimized patterns so it's not subject to DoS exploits like minimatch (completely different than the regex DoS issue, minimatch and multimatch are still openly exposed to being used for DoS attacks), but more safeguards were built into this refactor
|
|
84
|
-
|
|
85
|
-
**Changed**
|
|
86
|
-
|
|
87
|
-
- the public API of this library did not change in this version and should be safe to upgrade without changing implentor code. However, we have released this as a major version for the following reasons:
|
|
88
|
-
- out of an abundance of caution due to the large amount of code changed in this release
|
|
89
|
-
- we have improved parser accuracy to such a degree that some implementors using invalid globs have noted change in behavior. If this is the case for you, please check that you are using a valid glob expression before logging a bug with this library
|
|
90
|
-
|
|
91
|
-
## [1.0.1] - 2016-12-12
|
|
92
|
-
|
|
93
|
-
**Added**
|
|
94
|
-
|
|
95
|
-
- Support for windows path edge cases where backslashes are used in brackets or other unusual combinations.
|
|
96
|
-
|
|
97
|
-
## [1.0.0] - 2016-12-12
|
|
98
|
-
|
|
99
|
-
Stable release.
|
|
100
|
-
|
|
101
|
-
## [0.1.0] - 2016-10-08
|
|
102
|
-
|
|
103
|
-
First release.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
[Unreleased]: https://github.com/jonschlinkert/micromatch/compare/0.1.0...HEAD
|
|
107
|
-
[0.2.0]: https://github.com/jonschlinkert/micromatch/compare/0.1.0...0.2.0
|
|
108
|
-
|
|
109
|
-
[keep-a-changelog]: https://github.com/olivierlacan/keep-a-changelog
|