diff --git a/.cspell.json b/.cspell.json deleted file mode 100644 index db3334329..000000000 --- a/.cspell.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "version": "0.2", - "language": "en", - "ignorePaths": [ - ".cspell.json", - ".github/workflows/**", - ".vscode/*.json", - "**/*.json", - "**/*.jsonc", - "**/*.pdn", - "**/CHANGELOG.md", - "**/coverage/**", - "**/lib/**", - "**/node_modules/**", - "pnpm-lock.yaml" - ], - "dictionaries": [ - "en_US", - "filetypes", - "misc", - "node", - "npm", - "softwareTerms", - "typescript" - ], - "import": ["@cspell/dict-cryptocurrencies/cspell-ext.json"], - "ignoreRegExpList": [ - "/[^\\s@]+@([^\\s@]+\\.)+[^\\s@]{2,4}/", - "/[A-Fa-f0-9]{6}/", - "/[A-Za-z0-9]{32,}/", - "// @ts-.*", - "/\\.\\/docs\\/rules\\/[^.]*.md/", - "/\\STS\\S+/", - "/`[^`]*`/", - "/``[\\w\\W]*?``/", - "/```[\\w\\W]*?```/", - "/~~~[\\w\\W]*?~~~/", - "/TS[^\\s]+/", - "\\(#.+?\\)" - ], - "words": [ - "globstar", - "IIFE", - "IIFEs", - "Kello", - "litecoin", - "ruleset", - "rulesets" - ], - "overrides": [ - { - "filename": "**/*.{ts,js}", - "ignoreRegExpList": ["/@[a-z]+/", "/#(end)?region/"], - "includeRegExpList": [ - "/\\/\\*[\\s\\S]*?\\*\\/|([^\\\\:]|^)\\/\\/.*$/", - "/(\\/\\/[^\\n\\r]*[\\n\\r]+)/" - ] - } - ] -} diff --git a/.github/renovate.json b/.github/renovate.json index 141cd1f91..debf447b7 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,6 +2,9 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ ":ignoreModulesAndTests", + "replacements:all", + "workarounds:all", + "group:allNonMajor", "group:monorepos", "group:recommended", ":automergeAll", @@ -10,7 +13,6 @@ ":prHourlyLimitNone", ":prConcurrentLimitNone", "helpers:disableTypesNodeMajor", - "workarounds:typesNodeVersioning", "schedule:weekly" ], "labels": ["Type: Maintenance", ":blue_heart:"], diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..7c245e155 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +save-prefix="" +shamefully-hoist=true +strict-peer-dependencies=false diff --git a/CHANGELOG.md b/CHANGELOG.md index aa1e1e5c3..113cafedc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,14 @@ # Changelog All notable changes to this project will be documented in this file. Dates are displayed in UTC. -# [6.0.0](https://github.com/eslint-functional/eslint-plugin-functional/compare/v5.0.8...v6.0.0) (2023-07-30) +## [6.0.1](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0...v6.0.1) (2024-02-23) ### Bug Fixes -* add sanity checks to type immutablity override settings ([d3ce5b0](https://github.com/eslint-functional/eslint-plugin-functional/commit/d3ce5b0db162af843886489850706c070f375d01)) -* further updates for v6 ([71ecdb5](https://github.com/eslint-functional/eslint-plugin-functional/commit/71ecdb50c5fe7cd392141fbd9009dc1d091368be)) -* **immutable-data:** rework logic, it should work now ([9644994](https://github.com/eslint-functional/eslint-plugin-functional/commit/96449949d35b5b8dcbb87f91065f1d08131364fb)), closes [#692](https://github.com/eslint-functional/eslint-plugin-functional/issues/692) -* migrate code for [@typescript-eslint](https://github.com/typescript-eslint) v6 ([5c6b1a2](https://github.com/eslint-functional/eslint-plugin-functional/commit/5c6b1a20937afd63425a65492cb05928f06d80ac)) -* replace `ignorePattern` option with `ignoreIdentifierPattern` and `ignoreCodePattern` ([48d8eba](https://github.com/eslint-functional/eslint-plugin-functional/commit/48d8eba1356c54b2e0fa568c5cb2526e224c31ed)), closes [#467](https://github.com/eslint-functional/eslint-plugin-functional/issues/467) +* typos in function names ([05b2f9c](https://github.com/eslint-functional/eslint-plugin-functional/commit/05b2f9c5129807c5aab0d85862e85062bdf0dd2e)) - -### Build System - -* increase minimum supported TypeScript version to 4.3.5 ([aefe6b2](https://github.com/eslint-functional/eslint-plugin-functional/commit/aefe6b2012440d54d006924732975e75ac903716)) +# [6.0.0](https://github.com/eslint-functional/eslint-plugin-functional/compare/v5.0.8...v6.0.0) (2023-07-30) ### Features @@ -25,70 +18,8 @@ All notable changes to this project will be documented in this file. Dates are d * **no-expression-statements:** add option to ignore self returning functions ([894fb91](https://github.com/eslint-functional/eslint-plugin-functional/commit/894fb915b5418e7ee47019b3d7296eee0e307f20)), closes [#611](https://github.com/eslint-functional/eslint-plugin-functional/issues/611) * **prefer-immutable-types:** use suggestions instead of a fixer by default ([#598](https://github.com/eslint-functional/eslint-plugin-functional/issues/598)) ([3fb9028](https://github.com/eslint-functional/eslint-plugin-functional/commit/3fb902842fa256bde98c0b7fd9c360a6456fd250)) * remove `assumeTypes` option ([6be5862](https://github.com/eslint-functional/eslint-plugin-functional/commit/6be5862a65c65b389f2cc787c93a42b10407938a)) - - -### BREAKING CHANGES - -* replace `ignorePattern` option with `ignoreIdentifierPattern` and `ignoreCodePattern` -* increase minimum supported TypeScript version to 4.3.5 -* remove `assumeTypes` option -* **prefer-immutable-types:** The fixer config no longer inherits as many options as before; be sure to be -explicit in your configs. - -# [6.0.0-next.7](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0-next.6...v6.0.0-next.7) (2023-07-24) - - -### Bug Fixes - -* **immutable-data:** rework logic, it should work now ([9644994](https://github.com/eslint-functional/eslint-plugin-functional/commit/96449949d35b5b8dcbb87f91065f1d08131364fb)), closes [#692](https://github.com/eslint-functional/eslint-plugin-functional/issues/692) - -# [6.0.0-next.6](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0-next.5...v6.0.0-next.6) (2023-07-21) - - -### Features - -* **immutable-data:** add new option `ignoreNonConstDeclarations` ([ecde24a](https://github.com/eslint-functional/eslint-plugin-functional/commit/ecde24afed487b9b495832ea067c662a0848825a)), closes [#691](https://github.com/eslint-functional/eslint-plugin-functional/issues/691) - -# [6.0.0-next.5](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0-next.4...v6.0.0-next.5) (2023-07-21) - - -### Bug Fixes - -* replace `ignorePattern` option with `ignoreIdentifierPattern` and `ignoreCodePattern` ([48d8eba](https://github.com/eslint-functional/eslint-plugin-functional/commit/48d8eba1356c54b2e0fa568c5cb2526e224c31ed)), closes [#467](https://github.com/eslint-functional/eslint-plugin-functional/issues/467) - - -### BREAKING CHANGES - -* replace `ignorePattern` option with `ignoreIdentifierPattern` and `ignoreCodePattern` - -# [6.0.0-next.4](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0-next.3...v6.0.0-next.4) (2023-07-21) - - -### Features - -* **no-expression-statements:** add option to ignore self returning functions ([894fb91](https://github.com/eslint-functional/eslint-plugin-functional/commit/894fb915b5418e7ee47019b3d7296eee0e307f20)), closes [#611](https://github.com/eslint-functional/eslint-plugin-functional/issues/611) - -# [6.0.0-next.3](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0-next.2...v6.0.0-next.3) (2023-07-17) - - -### Bug Fixes - * add sanity checks to type immutablity override settings ([d3ce5b0](https://github.com/eslint-functional/eslint-plugin-functional/commit/d3ce5b0db162af843886489850706c070f375d01)) - -# [6.0.0-next.2](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.0.0-next.1...v6.0.0-next.2) (2023-07-17) - - -### Features - -* **functional-parameters:** add option to ignore getters and setters ([9c89b9e](https://github.com/eslint-functional/eslint-plugin-functional/commit/9c89b9e4f8960e4ee211b640cd7bb2e3c79b0ed8)) - -# [6.0.0-next.1](https://github.com/eslint-functional/eslint-plugin-functional/compare/v5.0.8...v6.0.0-next.1) (2023-07-15) - - -### Bug Fixes - -* further updates for v6 ([71ecdb5](https://github.com/eslint-functional/eslint-plugin-functional/commit/71ecdb50c5fe7cd392141fbd9009dc1d091368be)) -* migrate code for [@typescript-eslint](https://github.com/typescript-eslint) v6 ([5c6b1a2](https://github.com/eslint-functional/eslint-plugin-functional/commit/5c6b1a20937afd63425a65492cb05928f06d80ac)) +* replace `ignorePattern` option with `ignoreIdentifierPattern` and `ignoreCodePattern` ([48d8eba](https://github.com/eslint-functional/eslint-plugin-functional/commit/48d8eba1356c54b2e0fa568c5cb2526e224c31ed)), closes [#467](https://github.com/eslint-functional/eslint-plugin-functional/issues/467) ### Build System @@ -96,14 +27,9 @@ explicit in your configs. * increase minimum supported TypeScript version to 4.3.5 ([aefe6b2](https://github.com/eslint-functional/eslint-plugin-functional/commit/aefe6b2012440d54d006924732975e75ac903716)) -### Features - -* **prefer-immutable-types:** use suggestions instead of a fixer by default ([#598](https://github.com/eslint-functional/eslint-plugin-functional/issues/598)) ([3fb9028](https://github.com/eslint-functional/eslint-plugin-functional/commit/3fb902842fa256bde98c0b7fd9c360a6456fd250)) -* remove `assumeTypes` option ([6be5862](https://github.com/eslint-functional/eslint-plugin-functional/commit/6be5862a65c65b389f2cc787c93a42b10407938a)) - - ### BREAKING CHANGES +* replace `ignorePattern` option with `ignoreIdentifierPattern` and `ignoreCodePattern` * increase minimum supported TypeScript version to 4.3.5 * remove `assumeTypes` option * **prefer-immutable-types:** The fixer config no longer inherits as many options as before; be sure to be diff --git a/DONATIONS.md b/DONATIONS.md index 4ebb4a594..7de630034 100644 --- a/DONATIONS.md +++ b/DONATIONS.md @@ -4,7 +4,7 @@ Any donations would be much appreciated. 😄 ## Enterprise Users -`eslint-plugin-functional` is available as part of the [Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-eslint-plugin-functional?utm_source=npm-eslint-plugin-functional&utm_medium=referral&utm_campaign=enterprise&utm_term=repo). +`eslint-plugin-functional` is available as part of the [Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-eslint-plugin-functional). ## Real money @@ -13,7 +13,7 @@ Any donations would be much appreciated. 😄 ## Cryptocurrencies
- Bitcoin +Bitcoin Logo Bitcoin ![bitcoin address QR code](https://raw.githubusercontent.com/RebeccaStevens/RebeccaStevens/main/assets/cryptocurrencies/wallets/bitcoin.png)\ bc1qgr2xwvkpztsaq9kplud84r3dfz4g3e7d5c5lxm @@ -21,7 +21,7 @@ bc1qgr2xwvkpztsaq9kplud84r3dfz4g3e7d5c5lxm
- Ethereum +Ethereum Logo Ethereum ![ethereum address QR code](https://raw.githubusercontent.com/RebeccaStevens/RebeccaStevens/main/assets/cryptocurrencies/wallets/ethereum.png)\ 0x643769d1DD2Cb912656dAA27C1b97e5A81EF9fd2 @@ -29,7 +29,7 @@ bc1qgr2xwvkpztsaq9kplud84r3dfz4g3e7d5c5lxm
- Litecoin +Litecoin Logo Litecoin ![litecoin address QR code](https://raw.githubusercontent.com/RebeccaStevens/RebeccaStevens/main/assets/cryptocurrencies/wallets/litecoin.png)\ ltc1qxr7p6z4hrh87g9mjjk67chyduwrh2nfrpxksjv diff --git a/cspell.config.yaml b/cspell.config.yaml new file mode 100644 index 000000000..81b061b4e --- /dev/null +++ b/cspell.config.yaml @@ -0,0 +1,61 @@ +$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json +version: "0.2" + +language: en-US + +dictionaryDefinitions: + - name: project-dictionary + path: ./project-dictionary.txt + addWords: true + +dictionaries: + - en_US + - bash + - csharp + - css + - filetypes + - fonts + - html + - misc + - node + - npm + - softwareTerms + - typescript + - project-dictionary + +ignorePaths: + - .eslintrc.json + - .git + - .gitattributes + - .gitignore + - .husky + - .lintstagedrc.yml + - .markdownlint.json + - .npmrc + - .prettierignore + - .prettierrc.yml + - .stylelintrc.json + - .vscode + - "*.pdn" + - CHANGELOG.md + - coverage + - coverage + - cspell.config.yaml + - dist + - lib + - node_modules + - package.json + - patches + - pnpm-lock.yaml + - project-dictionary.txt + +ignoreRegExpList: + - /\b[A-Fa-f0-9]{6}\b/ # ignore hex color codes + - /\b[A-Za-z0-9]{32,}\b/ # ignore long string of hex characters + - /`[^`]*`/ # ignore things in `...` + - /```[\w\W]*?```/ # ignore things in ```...``` + +overrides: + - filename: ".github/(actions|workflows)/*.yml" + ignoreRegExpList: + - /\b(?:[A-Za-z0-9\-_])+\/(?:[A-Za-z0-9\-_])+@v\d+(?:\.\d+){0,2}\b/ui # ignore action diff --git a/package.json b/package.json index 700936170..f2db21ef8 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,6 @@ "@babel/eslint-parser": "7.22.9", "@commitlint/cli": "17.6.7", "@commitlint/config-conventional": "17.6.7", - "@cspell/dict-cryptocurrencies": "3.0.1", "@rebeccastevens/eslint-config": "2.0.2", "@rollup/plugin-typescript": "11.1.2", "@semantic-release/changelog": "6.0.3", @@ -93,7 +92,7 @@ "@semantic-release/npm": "10.0.4", "@semantic-release/release-notes-generator": "11.0.4", "@types/dedent": "0.7.0", - "@types/eslint": "8.44.1", + "@types/eslint": "8.44.2", "@types/node": "16.18.39", "@types/rollup-plugin-auto-external": "2.0.2", "@types/semver": "7.5.0", @@ -105,15 +104,15 @@ "commitizen": "4.3.0", "conventional-commit-types": "3.0.0", "cspell": "6.31.2", - "dedent": "1.3.0", + "dedent": "1.5.1", "eslint": "8.46.0", - "eslint-config-prettier": "8.9.0", + "eslint-config-prettier": "9.0.0", "eslint-doc-generator": "1.4.3", "eslint-import-resolver-typescript": "3.5.5", "eslint-plugin-eslint-comments": "3.2.0", "eslint-plugin-eslint-plugin": "5.1.1", "eslint-plugin-import": "2.28.0", - "eslint-plugin-jsdoc": "46.4.5", + "eslint-plugin-jsdoc": "46.4.6", "eslint-plugin-markdown": "3.0.1", "eslint-plugin-n": "16.0.1", "eslint-plugin-optimize-regex": "1.2.1", @@ -123,13 +122,13 @@ "eslint-plugin-unicorn": "48.0.1", "espree": "9.6.1", "husky": "8.0.3", - "knip": "2.17.1", + "knip": "2.19.0", "lint-staged": "13.2.3", "markdownlint-cli": "0.35.0", - "prettier": "3.0.0", + "prettier": "3.0.1", "prettier-plugin-packagejson": "2.4.5", "rimraf": "5.0.1", - "rollup": "3.27.0", + "rollup": "3.27.2", "rollup-plugin-auto-external": "2.0.0", "semantic-release": "21.0.7", "semantic-release-replace-plugin": "1.2.7", @@ -151,7 +150,7 @@ "optional": true } }, - "packageManager": "pnpm@8.6.10", + "packageManager": "pnpm@8.6.12", "engines": { "node": ">=16.10.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 989cf77aa..46e3345c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,15 +37,12 @@ devDependencies: '@commitlint/config-conventional': specifier: 17.6.7 version: 17.6.7 - '@cspell/dict-cryptocurrencies': - specifier: 3.0.1 - version: 3.0.1 '@rebeccastevens/eslint-config': specifier: 2.0.2 - version: 2.0.2(@typescript-eslint/eslint-plugin@6.2.0)(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint-plugin-eslint-comments@3.2.0)(eslint-plugin-functional@5.0.8)(eslint-plugin-import@2.28.0)(eslint-plugin-jsdoc@46.4.5)(eslint-plugin-markdown@3.0.1)(eslint-plugin-n@16.0.1)(eslint-plugin-optimize-regex@1.2.1)(eslint-plugin-promise@6.1.1)(eslint-plugin-sonarjs@0.19.0)(eslint-plugin-unicorn@48.0.1)(eslint@8.46.0) + version: 2.0.2(@typescript-eslint/eslint-plugin@6.2.0)(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint-plugin-eslint-comments@3.2.0)(eslint-plugin-functional@5.0.8)(eslint-plugin-import@2.28.0)(eslint-plugin-jsdoc@46.4.6)(eslint-plugin-markdown@3.0.1)(eslint-plugin-n@16.0.1)(eslint-plugin-optimize-regex@1.2.1)(eslint-plugin-promise@6.1.1)(eslint-plugin-sonarjs@0.19.0)(eslint-plugin-unicorn@48.0.1)(eslint@8.46.0) '@rollup/plugin-typescript': specifier: 11.1.2 - version: 11.1.2(rollup@3.27.0)(tslib@2.6.1)(typescript@5.1.6) + version: 11.1.2(rollup@3.27.2)(tslib@2.6.1)(typescript@5.1.6) '@semantic-release/changelog': specifier: 6.0.3 version: 6.0.3(semantic-release@21.0.7) @@ -68,8 +65,8 @@ devDependencies: specifier: 0.7.0 version: 0.7.0 '@types/eslint': - specifier: 8.44.1 - version: 8.44.1 + specifier: 8.44.2 + version: 8.44.2 '@types/node': specifier: 16.18.39 version: 16.18.39 @@ -104,14 +101,14 @@ devDependencies: specifier: 6.31.2 version: 6.31.2 dedent: - specifier: 1.3.0 - version: 1.3.0 + specifier: 1.5.1 + version: 1.5.1 eslint: specifier: 8.46.0 version: 8.46.0 eslint-config-prettier: - specifier: 8.9.0 - version: 8.9.0(eslint@8.46.0) + specifier: 9.0.0 + version: 9.0.0(eslint@8.46.0) eslint-doc-generator: specifier: 1.4.3 version: 1.4.3(eslint@8.46.0)(typescript@5.1.6) @@ -128,8 +125,8 @@ devDependencies: specifier: 2.28.0 version: 2.28.0(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0) eslint-plugin-jsdoc: - specifier: 46.4.5 - version: 46.4.5(eslint@8.46.0) + specifier: 46.4.6 + version: 46.4.6(eslint@8.46.0) eslint-plugin-markdown: specifier: 3.0.1 version: 3.0.1(eslint@8.46.0) @@ -141,7 +138,7 @@ devDependencies: version: 1.2.1 eslint-plugin-prettier: specifier: 5.0.0 - version: 5.0.0(@types/eslint@8.44.1)(eslint-config-prettier@8.9.0)(eslint@8.46.0)(prettier@3.0.0) + version: 5.0.0(@types/eslint@8.44.2)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(prettier@3.0.1) eslint-plugin-promise: specifier: 6.1.1 version: 6.1.1(eslint@8.46.0) @@ -158,8 +155,8 @@ devDependencies: specifier: 8.0.3 version: 8.0.3 knip: - specifier: 2.17.1 - version: 2.17.1 + specifier: 2.19.0 + version: 2.19.0 lint-staged: specifier: 13.2.3 version: 13.2.3 @@ -167,20 +164,20 @@ devDependencies: specifier: 0.35.0 version: 0.35.0 prettier: - specifier: 3.0.0 - version: 3.0.0 + specifier: 3.0.1 + version: 3.0.1 prettier-plugin-packagejson: specifier: 2.4.5 - version: 2.4.5(prettier@3.0.0) + version: 2.4.5(prettier@3.0.1) rimraf: specifier: 5.0.1 version: 5.0.1 rollup: - specifier: 3.27.0 - version: 3.27.0 + specifier: 3.27.2 + version: 3.27.2 rollup-plugin-auto-external: specifier: 2.0.0 - version: 2.0.0(rollup@3.27.0) + version: 2.0.0(rollup@3.27.2) semantic-release: specifier: 21.0.7 version: 21.0.7 @@ -218,14 +215,6 @@ packages: resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} - /@ampproject/remapping@2.2.0: - resolution: {integrity: sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/gen-mapping': 0.1.1 - '@jridgewell/trace-mapping': 0.3.17 - dev: true - /@ampproject/remapping@2.2.1: resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} @@ -234,13 +223,6 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true - /@babel/code-frame@7.21.4: - resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.18.6 - dev: true - /@babel/code-frame@7.22.5: resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} engines: {node: '>=6.9.0'} @@ -257,7 +239,7 @@ packages: resolution: {integrity: sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.2.0 + '@ampproject/remapping': 2.2.1 '@babel/code-frame': 7.22.5 '@babel/generator': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) @@ -395,15 +377,6 @@ packages: - supports-color dev: true - /@babel/highlight@7.18.6: - resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.5 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - /@babel/highlight@7.22.5: resolution: {integrity: sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==} engines: {node: '>=6.9.0'} @@ -931,11 +904,11 @@ packages: unescape-js: 1.1.4 dev: true - /@es-joy/jsdoccomment@0.39.4: - resolution: {integrity: sha512-Jvw915fjqQct445+yron7Dufix9A+m9j1fCJYlCo1FWlRvTxa3pjJelxdSTdaLWcTwRU6vbL+NYjO4YuNIS5Qg==} + /@es-joy/jsdoccomment@0.40.1: + resolution: {integrity: sha512-YORCdZSusAlBrFpZ77pJjc5r1bQs5caPWtAu+WWmiSo+8XaUzseapVrfAtiRFbQWnrBxxLLEwF6f6ZG/UgCQCg==} engines: {node: '>=16'} dependencies: - comment-parser: 1.3.1 + comment-parser: 1.4.0 esquery: 1.5.0 jsdoc-type-pratt-parser: 4.0.0 dev: true @@ -1145,12 +1118,7 @@ packages: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: eslint: 8.46.0 - eslint-visitor-keys: 3.4.1 - - /@eslint-community/regexpp@4.5.1: - resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: true + eslint-visitor-keys: 3.4.2 /@eslint-community/regexpp@4.6.2: resolution: {integrity: sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==} @@ -1217,14 +1185,6 @@ packages: '@sinclair/typebox': 0.27.8 dev: true - /@jridgewell/gen-mapping@0.1.1: - resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /@jridgewell/gen-mapping@0.3.2: resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==} engines: {node: '>=6.0.0'} @@ -1444,7 +1404,7 @@ packages: config-chain: 1.1.13 dev: true - /@rebeccastevens/eslint-config@2.0.2(@typescript-eslint/eslint-plugin@6.2.0)(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint-plugin-eslint-comments@3.2.0)(eslint-plugin-functional@5.0.8)(eslint-plugin-import@2.28.0)(eslint-plugin-jsdoc@46.4.5)(eslint-plugin-markdown@3.0.1)(eslint-plugin-n@16.0.1)(eslint-plugin-optimize-regex@1.2.1)(eslint-plugin-promise@6.1.1)(eslint-plugin-sonarjs@0.19.0)(eslint-plugin-unicorn@48.0.1)(eslint@8.46.0): + /@rebeccastevens/eslint-config@2.0.2(@typescript-eslint/eslint-plugin@6.2.0)(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint-plugin-eslint-comments@3.2.0)(eslint-plugin-functional@5.0.8)(eslint-plugin-import@2.28.0)(eslint-plugin-jsdoc@46.4.6)(eslint-plugin-markdown@3.0.1)(eslint-plugin-n@16.0.1)(eslint-plugin-optimize-regex@1.2.1)(eslint-plugin-promise@6.1.1)(eslint-plugin-sonarjs@0.19.0)(eslint-plugin-unicorn@48.0.1)(eslint@8.46.0): resolution: {integrity: sha512-ddBQU8sklFnHmA9ybsubaMaoBC+rBmQnBoU7G7yU3lrfJ07Mm+YAcsFuM3rCrDW+vDg4t5t0yDMX3lyPIHURuw==} engines: {node: '>=18.12.1'} peerDependencies: @@ -1471,7 +1431,7 @@ packages: eslint-plugin-eslint-comments: 3.2.0(eslint@8.46.0) eslint-plugin-functional: 5.0.8(eslint@8.46.0)(typescript@5.1.6) eslint-plugin-import: 2.28.0(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0) - eslint-plugin-jsdoc: 46.4.5(eslint@8.46.0) + eslint-plugin-jsdoc: 46.4.6(eslint@8.46.0) eslint-plugin-markdown: 3.0.1(eslint@8.46.0) eslint-plugin-n: 16.0.1(eslint@8.46.0) eslint-plugin-optimize-regex: 1.2.1 @@ -1480,7 +1440,7 @@ packages: eslint-plugin-unicorn: 48.0.1(eslint@8.46.0) dev: true - /@rollup/plugin-typescript@11.1.2(rollup@3.27.0)(tslib@2.6.1)(typescript@5.1.6): + /@rollup/plugin-typescript@11.1.2(rollup@3.27.2)(tslib@2.6.1)(typescript@5.1.6): resolution: {integrity: sha512-0ghSOCMcA7fl1JM+0gYRf+Q/HWyg+zg7/gDSc+fRLmlJWcW5K1I+CLRzaRhXf4Y3DRyPnnDo4M2ktw+a6JcDEg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1493,14 +1453,14 @@ packages: tslib: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.27.0) - resolve: 1.22.1 - rollup: 3.27.0 + '@rollup/pluginutils': 5.0.2(rollup@3.27.2) + resolve: 1.22.3 + rollup: 3.27.2 tslib: 2.6.1 typescript: 5.1.6 dev: true - /@rollup/pluginutils@5.0.2(rollup@3.27.0): + /@rollup/pluginutils@5.0.2(rollup@3.27.2): resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1512,7 +1472,7 @@ packages: '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.27.0 + rollup: 3.27.2 dev: true /@semantic-release/changelog@6.0.3(semantic-release@21.0.7): @@ -1689,8 +1649,8 @@ packages: resolution: {integrity: sha512-EGlKlgMhnLt/cM4DbUSafFdrkeJoC9Mvnj0PUCU7tFmTjMjNRT957kXCx0wYm3JuEq4o4ZsS5vG+NlkM2DMd2A==} dev: true - /@types/eslint@8.44.1: - resolution: {integrity: sha512-XpNDc4Z5Tb4x+SW1MriMVeIsMoONHCkWFMkR/aPJbzEsxqHy+4Glu/BqTdPrApfDeMaXbtNh6bseNgl5KaWrSg==} + /@types/eslint@8.44.2: + resolution: {integrity: sha512-sdPRb9K6iL5XZOmBubg8yiFp5yS/JdUDQsq5e6h95km91MCYMuvp7mh1fjPEYUhvHepKpZOjnEaMBR4PxjWDzg==} dependencies: '@types/estree': 1.0.0 '@types/json-schema': 7.0.12 @@ -1732,7 +1692,7 @@ packages: /@types/rollup-plugin-auto-external@2.0.2: resolution: {integrity: sha512-1Xtl9S4yQapD+A4mX1sqYVXm3UmVA9oIEf2YKEhRTCUNxlAM3DoKK1HPxrGMemDJNfhe6Yl3w0JsAGvIN5j/ow==} dependencies: - rollup: 3.27.0 + rollup: 3.27.2 dev: true /@types/semver@7.5.0: @@ -1753,7 +1713,7 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.5.1 + '@eslint-community/regexpp': 4.6.2 '@typescript-eslint/parser': 6.2.0(eslint@8.46.0)(typescript@5.1.6) '@typescript-eslint/scope-manager': 6.2.0 '@typescript-eslint/type-utils': 6.2.0(eslint@8.46.0)(typescript@5.1.6) @@ -1820,14 +1780,6 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/scope-manager@6.0.0: - resolution: {integrity: sha512-o4q0KHlgCZTqjuaZ25nw5W57NeykZT9LiMEG4do/ovwvOcPnDO1BI5BQdCsUkjxFyrCL0cSzLjvIMfR9uo7cWg==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/visitor-keys': 6.0.0 - dev: false - /@typescript-eslint/scope-manager@6.2.0: resolution: {integrity: sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1855,26 +1807,6 @@ packages: - supports-color dev: true - /@typescript-eslint/type-utils@6.0.0(eslint@8.46.0)(typescript@5.1.6): - resolution: {integrity: sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.1.6) - '@typescript-eslint/utils': 6.0.0(eslint@8.46.0)(typescript@5.1.6) - debug: 4.3.4 - eslint: 8.46.0 - ts-api-utils: 1.0.1(typescript@5.1.6) - typescript: 5.1.6 - transitivePeerDependencies: - - supports-color - dev: false - /@typescript-eslint/type-utils@6.2.0(eslint@8.46.0)(typescript@5.1.6): resolution: {integrity: sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1893,18 +1825,12 @@ packages: typescript: 5.1.6 transitivePeerDependencies: - supports-color - dev: true /@typescript-eslint/types@5.62.0: resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.0.0: - resolution: {integrity: sha512-Zk9KDggyZM6tj0AJWYYKgF0yQyrcnievdhG0g5FqyU3Y2DRxJn4yWY21sJC0QKBckbsdKKjYDV2yVrrEvuTgxg==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: false - /@typescript-eslint/types@6.2.0: resolution: {integrity: sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1930,27 +1856,6 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.0.0(typescript@5.1.6): - resolution: {integrity: sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/visitor-keys': 6.0.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@5.1.6) - typescript: 5.1.6 - transitivePeerDependencies: - - supports-color - dev: false - /@typescript-eslint/typescript-estree@6.2.0(typescript@5.1.6): resolution: {integrity: sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1991,26 +1896,6 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.0.0(eslint@8.46.0)(typescript@5.1.6): - resolution: {integrity: sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) - '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.1.6) - eslint: 8.46.0 - eslint-scope: 5.1.1 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: false - /@typescript-eslint/utils@6.2.0(eslint@8.46.0)(typescript@5.1.6): resolution: {integrity: sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -2034,26 +1919,19 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: '@typescript-eslint/types': 5.62.0 - eslint-visitor-keys: 3.4.1 + eslint-visitor-keys: 3.4.2 dev: true - /@typescript-eslint/visitor-keys@6.0.0: - resolution: {integrity: sha512-cvJ63l8c0yXdeT5POHpL0Q1cZoRcmRKFCtSjNGJxPkcP571EfZMcNbzWAc7oK3D1dRzm/V5EwtkANTZxqvuuUA==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.0.0 - eslint-visitor-keys: 3.4.1 - dev: false - /@typescript-eslint/visitor-keys@6.2.0: resolution: {integrity: sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: '@typescript-eslint/types': 6.2.0 - eslint-visitor-keys: 3.4.1 + eslint-visitor-keys: 3.4.2 /@vitest/coverage-c8@0.33.0(vitest@0.33.0): resolution: {integrity: sha512-DaF1zJz4dcOZS4k/neiQJokmOWqsGXwhthfmUdPGorXIQHjdPvV6JQSYhQDI41MyI8c+IieQUdIDs5XAMHtDDw==} + deprecated: v8 coverage is moved to @vitest/coverage-v8 package peerDependencies: vitest: '>=0.30.0 <1' dependencies: @@ -2265,8 +2143,8 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 - es-abstract: 1.21.1 - get-intrinsic: 1.2.0 + es-abstract: 1.22.1 + get-intrinsic: 1.2.1 is-string: 1.0.7 dev: true @@ -2291,9 +2169,9 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 - es-abstract: 1.21.1 + es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 - get-intrinsic: 1.2.0 + get-intrinsic: 1.2.1 dev: true /array.prototype.flat@1.3.1: @@ -2302,7 +2180,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 - es-abstract: 1.21.1 + es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 dev: true @@ -2312,7 +2190,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 - es-abstract: 1.21.1 + es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 dev: true @@ -2475,7 +2353,7 @@ packages: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} dependencies: function-bind: 1.1.1 - get-intrinsic: 1.2.0 + get-intrinsic: 1.2.1 dev: true /callsites@3.1.0: @@ -2671,6 +2549,7 @@ packages: /clone@1.0.4: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} + requiresBuild: true dev: true /color-convert@1.9.3: @@ -2727,8 +2606,8 @@ packages: repeat-string: 1.6.1 dev: true - /comment-parser@1.3.1: - resolution: {integrity: sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==} + /comment-parser@1.4.0: + resolution: {integrity: sha512-QLyTNiZ2KDOibvFPlZ6ZngVsZ/0gYnE6uTXi5aoDg8ed3AkJAz4sEje3Y8a29hQ1s6A99MZXe47fLAXQ1rTqaw==} engines: {node: '>= 12.0.0'} dev: true @@ -2770,7 +2649,7 @@ packages: dev: true /concat-map@0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} /config-chain@1.1.13: resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} @@ -3107,8 +2986,8 @@ packages: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} dev: true - /dedent@1.3.0: - resolution: {integrity: sha512-7glNLfvdsMzZm3FpRY1CHuI2lbYDR+71YmrhmTZjYFD5pfT0ACgnGRdrrC9Mk2uICnzkcdelCx5at787UDGOvg==} + /dedent@1.5.1: + resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} peerDependencies: babel-plugin-macros: ^3.1.0 peerDependenciesMeta: @@ -3146,6 +3025,7 @@ packages: /defaults@1.0.4: resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + requiresBuild: true dependencies: clone: 1.0.4 dev: true @@ -3287,45 +3167,6 @@ packages: is-arrayish: 0.2.1 dev: true - /es-abstract@1.21.1: - resolution: {integrity: sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - es-set-tostringtag: 2.0.1 - es-to-primitive: 1.2.1 - function-bind: 1.1.1 - function.prototype.name: 1.1.5 - get-intrinsic: 1.2.0 - get-symbol-description: 1.0.0 - globalthis: 1.0.3 - gopd: 1.0.1 - has: 1.0.3 - has-property-descriptors: 1.0.0 - has-proto: 1.0.1 - has-symbols: 1.0.3 - internal-slot: 1.0.5 - is-array-buffer: 3.0.2 - is-callable: 1.2.7 - is-negative-zero: 2.0.2 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - is-string: 1.0.7 - is-typed-array: 1.1.10 - is-weakref: 1.0.2 - object-inspect: 1.12.3 - object-keys: 1.1.1 - object.assign: 4.1.4 - regexp.prototype.flags: 1.4.3 - safe-regex-test: 1.0.0 - string.prototype.trimend: 1.0.6 - string.prototype.trimstart: 1.0.6 - typed-array-length: 1.0.4 - unbox-primitive: 1.0.2 - which-typed-array: 1.1.9 - dev: true - /es-abstract@1.22.1: resolution: {integrity: sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==} engines: {node: '>= 0.4'} @@ -3444,8 +3285,8 @@ packages: engines: {node: '>=12'} dev: true - /eslint-config-prettier@8.9.0(eslint@8.46.0): - resolution: {integrity: sha512-+sbni7NfVXnOpnRadUA8S28AUlsZt9GjgFvABIRL9Hkn8KqNzOp+7Lw4QWtrwn20KzU3wqu1QoOj2m+7rKRqkA==} + /eslint-config-prettier@9.0.0(eslint@8.46.0): + resolution: {integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==} hasBin: true peerDependencies: eslint: '>=7.0.0' @@ -3468,11 +3309,11 @@ packages: deepmerge: 4.3.0 dot-prop: 7.2.0 eslint: 8.46.0 - jest-diff: 29.5.0 + jest-diff: 29.6.1 json-schema-traverse: 1.0.0 markdown-table: 3.0.3 no-case: 3.0.4 - type-fest: 3.8.0 + type-fest: 3.13.0 transitivePeerDependencies: - supports-color - typescript @@ -3483,7 +3324,7 @@ packages: dependencies: debug: 3.2.7 is-core-module: 2.12.1 - resolve: 1.22.2 + resolve: 1.22.3 transitivePeerDependencies: - supports-color dev: true @@ -3498,11 +3339,11 @@ packages: debug: 4.3.4 enhanced-resolve: 5.12.0 eslint: 8.46.0 - eslint-module-utils: 2.7.4(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0) eslint-plugin-import: 2.28.0(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0) get-tsconfig: 4.5.0 - globby: 13.1.3 - is-core-module: 2.11.0 + globby: 13.2.2 + is-core-module: 2.12.1 is-glob: 4.0.3 synckit: 0.8.5 transitivePeerDependencies: @@ -3512,35 +3353,6 @@ packages: - supports-color dev: true - /eslint-module-utils@2.7.4(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0): - resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true - dependencies: - '@typescript-eslint/parser': 6.2.0(eslint@8.46.0)(typescript@5.1.6) - debug: 3.2.7 - eslint: 8.46.0 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@6.2.0)(eslint-plugin-import@2.28.0)(eslint@8.46.0) - transitivePeerDependencies: - - supports-color - dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.2.0)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.46.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} @@ -3578,7 +3390,7 @@ packages: eslint: '>=8' dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) - '@eslint-community/regexpp': 4.5.1 + '@eslint-community/regexpp': 4.6.2 eslint: 8.46.0 dev: true @@ -3662,15 +3474,15 @@ packages: - supports-color dev: true - /eslint-plugin-jsdoc@46.4.5(eslint@8.46.0): - resolution: {integrity: sha512-HjTuxqDYplAQFu29F3MHFCDDBgeqOxPXI6TyBhL0u2rr4XntJ0z3C9PmJvpjFscKdHwkZDN/0l1QCG0QwyRi4g==} + /eslint-plugin-jsdoc@46.4.6(eslint@8.46.0): + resolution: {integrity: sha512-z4SWYnJfOqftZI+b3RM9AtWL1vF/sLWE/LlO9yOKDof9yN2+n3zOdOJTGX/pRE/xnPsooOLG2Rq6e4d+XW3lNw==} engines: {node: '>=16'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@es-joy/jsdoccomment': 0.39.4 + '@es-joy/jsdoccomment': 0.40.1 are-docs-informative: 0.0.2 - comment-parser: 1.3.1 + comment-parser: 1.4.0 debug: 4.3.4 escape-string-regexp: 4.0.0 eslint: 8.46.0 @@ -3707,7 +3519,7 @@ packages: ignore: 5.2.4 is-core-module: 2.12.1 minimatch: 3.1.2 - resolve: 1.22.2 + resolve: 1.22.3 semver: 7.5.4 dev: true @@ -3715,10 +3527,10 @@ packages: resolution: {integrity: sha512-fUaU7Tj1G/KSTDTABJw4Wp427Rl7RPl9ViYTu1Jrv36fJw4DFhd4elPdXiuYtdPsNsvzn9GcVlKEssGIVjw0UQ==} engines: {node: '>=10'} dependencies: - regexp-tree: 0.1.24 + regexp-tree: 0.1.27 dev: true - /eslint-plugin-prettier@5.0.0(@types/eslint@8.44.1)(eslint-config-prettier@8.9.0)(eslint@8.46.0)(prettier@3.0.0): + /eslint-plugin-prettier@5.0.0(@types/eslint@8.44.2)(eslint-config-prettier@9.0.0)(eslint@8.46.0)(prettier@3.0.1): resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3732,10 +3544,10 @@ packages: eslint-config-prettier: optional: true dependencies: - '@types/eslint': 8.44.1 + '@types/eslint': 8.44.2 eslint: 8.46.0 - eslint-config-prettier: 8.9.0(eslint@8.46.0) - prettier: 3.0.0 + eslint-config-prettier: 9.0.0(eslint@8.46.0) + prettier: 3.0.1 prettier-linter-helpers: 1.0.0 synckit: 0.8.5 dev: true @@ -3788,6 +3600,7 @@ packages: dependencies: esrecurse: 4.3.0 estraverse: 4.3.0 + dev: true /eslint-scope@7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} @@ -3811,10 +3624,6 @@ packages: engines: {node: '>=10'} dev: true - /eslint-visitor-keys@3.4.1: - resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /eslint-visitor-keys@3.4.2: resolution: {integrity: sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3870,7 +3679,7 @@ packages: dependencies: acorn: 8.10.0 acorn-jsx: 5.3.2(acorn@8.10.0) - eslint-visitor-keys: 3.4.1 + eslint-visitor-keys: 3.4.2 /esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} @@ -3893,6 +3702,7 @@ packages: /estraverse@4.3.0: resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} engines: {node: '>=4.0'} + dev: true /estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} @@ -4191,14 +4001,6 @@ packages: resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} dev: true - /get-intrinsic@1.2.0: - resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} - dependencies: - function-bind: 1.1.1 - has: 1.0.3 - has-symbols: 1.0.3 - dev: true - /get-intrinsic@1.2.1: resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==} dependencies: @@ -4384,17 +4186,6 @@ packages: merge2: 1.4.1 slash: 3.0.0 - /globby@13.1.3: - resolution: {integrity: sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - dir-glob: 3.0.1 - fast-glob: 3.3.0 - ignore: 5.2.4 - merge2: 1.4.1 - slash: 4.0.0 - dev: true - /globby@13.2.2: resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -4724,12 +4515,6 @@ packages: engines: {node: '>= 0.4'} dev: true - /is-core-module@2.11.0: - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} - dependencies: - has: 1.0.3 - dev: true - /is-core-module@2.12.1: resolution: {integrity: sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==} dependencies: @@ -4796,7 +4581,7 @@ packages: eslint: '*' typescript: '>=4.7.4' dependencies: - '@typescript-eslint/type-utils': 6.0.0(eslint@8.46.0)(typescript@5.1.6) + '@typescript-eslint/type-utils': 6.2.0(eslint@8.46.0)(typescript@5.1.6) eslint: 8.46.0 ts-api-utils: 1.0.1(typescript@5.1.6) typescript: 5.1.6 @@ -5014,16 +4799,6 @@ packages: engines: {node: '>= 0.6.0'} dev: true - /jest-diff@29.5.0: - resolution: {integrity: sha512-LtxijLLZBduXnHSniy0WMdaHjmQnt3g5sa16W4p0HqukYTTsyTW3GD1q41TyGl5YFXj/5B2U6dlh5FM1LIMgxw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - chalk: 4.1.2 - diff-sequences: 29.4.3 - jest-get-type: 29.4.3 - pretty-format: 29.5.0 - dev: true - /jest-diff@29.6.1: resolution: {integrity: sha512-FsNCvinvl8oVxpNLttNQX7FAq7vR+gMDGj90tiP7siWw1UdakWUGqrylpsYrpvj908IYckm5Y0Q7azNAozU1Kg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -5138,8 +4913,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /knip@2.17.1: - resolution: {integrity: sha512-+pW9RT91f0mM8/iNCy5VOYaLiponmDW2nIOBKPX1JLOvdvfolrsEKLPiNUB9Rza2tOqQYoR25yK86Ty6W7QCiQ==} + /knip@2.19.0: + resolution: {integrity: sha512-6o85NZvCFLJ1Fr0Qaa9WUOzcNWxr5ORB0ec60saBNcXigoSBwoIkViq+Ltp+x1+Ti4eolumV9Kwp5qUcVqK1WQ==} engines: {node: '>=16.17.0 <17 || >=18.6.0'} hasBin: true dependencies: @@ -5728,7 +5503,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.2 + resolve: 1.22.3 semver: 5.7.1 validate-npm-package-license: 3.0.4 dev: true @@ -5889,7 +5664,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 - es-abstract: 1.21.1 + es-abstract: 1.22.1 dev: true /object.groupby@1.0.0: @@ -5907,7 +5682,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 - es-abstract: 1.21.1 + es-abstract: 1.22.1 dev: true /once@1.4.0: @@ -6120,7 +5895,7 @@ packages: resolution: {integrity: sha512-kP+TQYAzAiVnzOlWOe0diD6L35s9bJh0SCn95PIbZFKrOYuIRQsQkeWEYxzVDuHTt9V9YqvYCJ2Qo4z9wdfZPw==} engines: {node: '>=16'} dependencies: - '@babel/code-frame': 7.21.4 + '@babel/code-frame': 7.22.5 error-ex: 1.3.2 json-parse-even-better-errors: 3.0.0 lines-and-columns: 2.0.3 @@ -6261,7 +6036,7 @@ packages: fast-diff: 1.2.0 dev: true - /prettier-plugin-packagejson@2.4.5(prettier@3.0.0): + /prettier-plugin-packagejson@2.4.5(prettier@3.0.1): resolution: {integrity: sha512-glG71jE1gO3y5+JNAhC8X+4yrlN28rub6Aj461SKbaPie9RgMiHKcInH2Moi2VGOfkTXaEHBhg4uVMBqa+kBUA==} peerDependencies: prettier: '>= 1.16.0' @@ -6269,26 +6044,17 @@ packages: prettier: optional: true dependencies: - prettier: 3.0.0 + prettier: 3.0.1 sort-package-json: 2.5.1 synckit: 0.8.5 dev: true - /prettier@3.0.0: - resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==} + /prettier@3.0.1: + resolution: {integrity: sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==} engines: {node: '>=14'} hasBin: true dev: true - /pretty-format@29.5.0: - resolution: {integrity: sha512-V2mGkI31qdttvTFX7Mt4efOqHXqJWMu4/r66Xh3Z3BwZaPfPJgp6/gbwoujRpPUtfEF6AUUWx3Jim3GCw5g/Qw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - dependencies: - '@jest/schemas': 29.6.0 - ansi-styles: 5.2.0 - react-is: 18.2.0 - dev: true - /pretty-format@29.6.1: resolution: {integrity: sha512-7jRj+yXO0W7e4/tSJKoR7HRIHLPPjtNaUGG2xxKQnGvPNRkgWcQ0AZX6P4KBRJN4FcTBWb3sa7DVUJmocYuoog==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -6400,7 +6166,7 @@ packages: '@types/normalize-package-data': 2.4.1 normalize-package-data: 5.0.0 parse-json: 7.0.0 - type-fest: 3.8.0 + type-fest: 3.13.0 dev: true /readable-stream@2.3.8: @@ -6445,25 +6211,11 @@ packages: esprima: 4.0.1 dev: true - /regexp-tree@0.1.24: - resolution: {integrity: sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==} - hasBin: true - dev: true - /regexp-tree@0.1.27: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} hasBin: true dev: true - /regexp.prototype.flags@1.4.3: - resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.2.0 - functions-have-names: 1.2.3 - dev: true - /regexp.prototype.flags@1.5.0: resolution: {integrity: sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==} engines: {node: '>= 0.4'} @@ -6536,24 +6288,6 @@ packages: global-dirs: 0.1.1 dev: true - /resolve@1.22.1: - resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} - hasBin: true - dependencies: - is-core-module: 2.12.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - - /resolve@1.22.2: - resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} - hasBin: true - dependencies: - is-core-module: 2.12.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - /resolve@1.22.3: resolution: {integrity: sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==} hasBin: true @@ -6597,7 +6331,7 @@ packages: glob: 10.3.3 dev: true - /rollup-plugin-auto-external@2.0.0(rollup@3.27.0): + /rollup-plugin-auto-external@2.0.0(rollup@3.27.2): resolution: {integrity: sha512-HQM3ZkZYfSam1uoZtAB9sK26EiAsfs1phrkf91c/YX+S07wugyRXSigBxrIwiLr5EPPilKYmoMxsrnlGBsXnuQ==} engines: {node: '>=6'} peerDependencies: @@ -6605,13 +6339,13 @@ packages: dependencies: builtins: 2.0.1 read-pkg: 3.0.0 - rollup: 3.27.0 + rollup: 3.27.2 safe-resolve: 1.0.0 semver: 5.7.1 dev: true - /rollup@3.27.0: - resolution: {integrity: sha512-aOltLCrYZ0FhJDm7fCqwTjIUEVjWjcydKBV/Zeid6Mn8BWgDCUBBWT5beM5ieForYNo/1ZHuGJdka26kvQ3Gzg==} + /rollup@3.27.2: + resolution: {integrity: sha512-YGwmHf7h2oUHkVBT248x0yt6vZkYQ3/rvE5iQuVBh3WO8GcJ6BNeOkpoX1yMHIiBm18EMLjBPIoUDkhgnyxGOQ==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -7363,11 +7097,6 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@3.8.0: - resolution: {integrity: sha512-FVNSzGQz9Th+/9R6Lvv7WIAkstylfHN2/JYxkyhhmKFYh9At2DST8t6L6Lref9eYO8PXFTfG9Sg1Agg0K3vq3Q==} - engines: {node: '>=14.16'} - dev: true - /typed-array-buffer@1.0.0: resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} engines: {node: '>= 0.4'} @@ -7591,7 +7320,7 @@ packages: '@types/node': 16.18.39 esbuild: 0.18.16 postcss: 8.4.27 - rollup: 3.27.0 + rollup: 3.27.2 optionalDependencies: fsevents: 2.3.2 dev: true @@ -7711,18 +7440,6 @@ packages: has-tostringtag: 1.0.0 dev: true - /which-typed-array@1.1.9: - resolution: {integrity: sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 - is-typed-array: 1.1.10 - dev: true - /which@1.3.1: resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} hasBin: true diff --git a/project-dictionary.txt b/project-dictionary.txt new file mode 100644 index 000000000..3bfc25240 --- /dev/null +++ b/project-dictionary.txt @@ -0,0 +1,18 @@ +automerge +declarator +declarators +deepmerge +espree +IIFE +jonaskello +Kello +klass +knip +lcov +litecoin +noreply +rebeccastevens +ruleset +rulesets +treeshake +TSES diff --git a/src/rules/immutable-data.ts b/src/rules/immutable-data.ts index 02bb7f754..17fb4733d 100644 --- a/src/rules/immutable-data.ts +++ b/src/rules/immutable-data.ts @@ -25,7 +25,7 @@ import { } from "#eslint-plugin-functional/utils/rule"; import { findRootIdentifier, - isDefinedByMutableVaraible, + isDefinedByMutableVariable, isInConstructor, } from "#eslint-plugin-functional/utils/tree"; import { @@ -199,7 +199,7 @@ function checkAssignmentExpression( const rootIdentifier = findRootIdentifier(node.left.object); if ( rootIdentifier !== undefined && - isDefinedByMutableVaraible(rootIdentifier, context) + isDefinedByMutableVariable(rootIdentifier, context) ) { return { context, @@ -252,7 +252,7 @@ function checkUnaryExpression( const rootIdentifier = findRootIdentifier(node.argument.object); if ( rootIdentifier !== undefined && - isDefinedByMutableVaraible(rootIdentifier, context) + isDefinedByMutableVariable(rootIdentifier, context) ) { return { context, @@ -304,7 +304,7 @@ function checkUpdateExpression( const rootIdentifier = findRootIdentifier(node.argument.object); if ( rootIdentifier !== undefined && - isDefinedByMutableVaraible(rootIdentifier, context) + isDefinedByMutableVariable(rootIdentifier, context) ) { return { context, @@ -400,7 +400,7 @@ function checkCallExpression( const rootIdentifier = findRootIdentifier(node.callee.object); if ( rootIdentifier === undefined || - !isDefinedByMutableVaraible(rootIdentifier, context) + !isDefinedByMutableVariable(rootIdentifier, context) ) { return { context, @@ -434,7 +434,7 @@ function checkCallExpression( const rootIdentifier = findRootIdentifier(node.callee.object); if ( rootIdentifier === undefined || - !isDefinedByMutableVaraible(rootIdentifier, context) + !isDefinedByMutableVariable(rootIdentifier, context) ) { return { context, diff --git a/src/rules/prefer-immutable-types.ts b/src/rules/prefer-immutable-types.ts index c4b162c49..5e177ed43 100644 --- a/src/rules/prefer-immutable-types.ts +++ b/src/rules/prefer-immutable-types.ts @@ -342,12 +342,12 @@ function getAllFixers( const fix = fixerConfigs === false ? null - : getConfiuredFixer(node, nodeText, fixerConfigs); + : getConfiguredFixer(node, nodeText, fixerConfigs); const suggestionFixers = suggestionsConfigs === false ? null - : getConfiuredSuggestionFixers(node, nodeText, suggestionsConfigs); + : getConfiguredSuggestionFixers(node, nodeText, suggestionsConfigs); return { fix, suggestionFixers }; } @@ -355,7 +355,7 @@ function getAllFixers( /** * Get a fixer that uses the user config. */ -function getConfiuredFixer( +function getConfiguredFixer( node: TSESTree.Node, text: string, configs: FixerConfig[], @@ -371,7 +371,7 @@ function getConfiuredFixer( /** * Get a fixer that uses the user config. */ -function getConfiuredSuggestionFixers( +function getConfiguredSuggestionFixers( node: TSESTree.Node, text: string, suggestionsConfigs: SuggestionsConfig[], @@ -751,7 +751,7 @@ function checkFunction( /** * Check if the given function node violates this rule. */ -function checkVarible( +function checkVariable( node: TSESTree.VariableDeclarator | TSESTree.PropertyDefinition, context: Readonly>, options: Readonly, @@ -931,7 +931,7 @@ export const rule = createRule( TSEmptyBodyFunctionExpression: checkFunction, TSFunctionType: checkFunction, TSMethodSignature: checkFunction, - PropertyDefinition: checkVarible, - VariableDeclarator: checkVarible, + PropertyDefinition: checkVariable, + VariableDeclarator: checkVariable, }, ); diff --git a/src/rules/type-declaration-immutability.ts b/src/rules/type-declaration-immutability.ts index b7795c5f5..99c3042d1 100644 --- a/src/rules/type-declaration-immutability.ts +++ b/src/rules/type-declaration-immutability.ts @@ -272,7 +272,7 @@ function getRuleToApply( /** * Get a fixer that uses the user config. */ -function getConfiuredFixer( +function getConfiguredFixer( node: T, context: Readonly>, configs: FixerConfig[], @@ -329,7 +329,7 @@ function getResults( const fix = rule.fixers === false || isTSInterfaceDeclaration(node) ? null - : getConfiuredFixer(node.typeAnnotation, context, rule.fixers); + : getConfiguredFixer(node.typeAnnotation, context, rule.fixers); return { context, diff --git a/src/utils/tree.ts b/src/utils/tree.ts index c72c4160e..04b3e0a79 100644 --- a/src/utils/tree.ts +++ b/src/utils/tree.ts @@ -112,14 +112,14 @@ export function getReadonly( } const typeRef = getAncestorOfType(isTSTypeReference, node); - const intHerit = getAncestorOfType(isTSInterfaceHeritage, node); + const intHeritage = getAncestorOfType(isTSInterfaceHeritage, node); - const expressionOrTypeName = typeRef?.typeName ?? intHerit?.expression; + const expressionOrTypeName = typeRef?.typeName ?? intHeritage?.expression; return expressionOrTypeName !== undefined && isIdentifier(expressionOrTypeName) && expressionOrTypeName.name === "Readonly" - ? typeRef ?? intHerit + ? typeRef ?? intHeritage : null; } @@ -271,7 +271,7 @@ export function getKeyOfValueInObjectExpression( /** * Is the given identifier defined by a mutable variable (let or var)? */ -export function isDefinedByMutableVaraible< +export function isDefinedByMutableVariable< Context extends RuleContext, >(node: TSESTree.Identifier, context: Context) { const services = getParserServices(context);