From afb93f31284c18ff4e0144bda3294b75390d9f97 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:52:58 +0000 Subject: [PATCH] Update dependency eslint-plugin-xstate to v3 | datasource | package | from | to | | ---------- | -------------------- | ----- | ----- | | npm | eslint-plugin-xstate | 1.1.3 | 3.2.1 | ## [v3.2.1](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.2.1) ##### Bug Fixes - **event-names:** fix event name linting in sendTo and forwardTo action creators ([334b571](https://github.com/rlaffers/eslint-plugin-xstate/commit/334b57120415e06a48b4068ede61e35172b3227e)), closes [#22](https://github.com/rlaffers/eslint-plugin-xstate/issues/22) ## [v3.2.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.2.0) ##### Features - **no-invalid-state-props:** add "output" as a valid prop on the root state ([d946e25](https://github.com/rlaffers/eslint-plugin-xstate/commit/d946e252d77c3bd1ee0f40c5bb51519b03dd100b)) ## [v3.1.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.1.0) ##### Features - **enforce-system-id:** add rule enforce-system-id ([128d239](https://github.com/rlaffers/eslint-plugin-xstate/commit/128d23902e75dbf3cc1ca1a689a77fcb616713db)) - **enforce-system-id:** detect duplicate system IDs ([fbc914c](https://github.com/rlaffers/eslint-plugin-xstate/commit/fbc914c17d480eb810c5efcdb3e0c979043a5a8a)) - **system-id:** add detection of missing systemId within spawn calls ([92d077d](https://github.com/rlaffers/eslint-plugin-xstate/commit/92d077d119e9c2bd0d6778ec8ab059b993164786)) ## [v3.0.1](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.0.1) ##### Bug Fixes - **event-names:** fix event name linting in sendTo and forwardTo action creators ([18e7d86](https://github.com/rlaffers/eslint-plugin-xstate/commit/18e7d863e92184a82ed51d833e33a90aad298db8)), closes [#22](https://github.com/rlaffers/eslint-plugin-xstate/issues/22) ## [v3.0.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v3.0.0) ##### Bug Fixes - prevent errors when the plugin is used with eslint < 8.40.0 by raising the min required version ([3af1b77](https://github.com/rlaffers/eslint-plugin-xstate/commit/3af1b7729dff190a6c740a16b79ef036b3e66381)) ##### Features - **prefer-predictable-action-arguments:** change auto-fix into a suggestion for switching this on ([dcd50f1](https://github.com/rlaffers/eslint-plugin-xstate/commit/dcd50f1b23f0f4c71b564a3bd833c5a180cfd48e)) ##### BREAKING CHANGES - The minimum required eslint version has been raised to 8.40.0 ## [v2.2.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v2.2.0) ##### Bug Fixes - **entry-exit-action:** recognize "guard" in entry/exit actions with xstate v5 ([3136344](https://github.com/rlaffers/eslint-plugin-xstate/commit/3136344364d11635266ea1b64f2053a859bf0fb6)) ##### Features - add a comment directive tu enforce this plugin ([48cd089](https://github.com/rlaffers/eslint-plugin-xstate/commit/48cd08956bfadea19094970f382a12ad6db10f5f)), closes [#20](https://github.com/rlaffers/eslint-plugin-xstate/issues/20) ## [v2.1.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v2.1.0) ##### Features - **no-invalid-conditional-action:** add a new rule for linting conditional actions ([4c7c201](https://github.com/rlaffers/eslint-plugin-xstate/commit/4c7c201a7df7af69cac6ac28d5deb1e409927525)) - **no-invalid-transition-props:** add error for invalid props within "always" transitions ([69ff424](https://github.com/rlaffers/eslint-plugin-xstate/commit/69ff4241433f76f27df087f87cccc2bbe9ea3a52)) ## [v2.0.0](https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v2.0.0) ##### Features - add support for xstate v5 ([0637a6f](https://github.com/rlaffers/eslint-plugin-xstate/commit/0637a6f643673f3bfd7c303a4fbc5f2316da2244)) - **no-async-guard:** support the "guard" prop with xstate v5 ([2b0346d](https://github.com/rlaffers/eslint-plugin-xstate/commit/2b0346d0182ce56b47eea5820ab5a701041f00ef)) - **no-auto-forward:** report error if autoForward is found with XState v5 ([ffa717e](https://github.com/rlaffers/eslint-plugin-xstate/commit/ffa717eb3b4d2dc7a80a847103d751cc70730fe0)) - **no-imperative-actions:** add support for xstate v5 action creators ([409fd67](https://github.com/rlaffers/eslint-plugin-xstate/commit/409fd6765383f3c9e2f0c3f0a579c5a696e2d5d6)) - **no-infinite-loop:** add detection of incorrect eventless transitions in xstate v5 ([360b609](https://github.com/rlaffers/eslint-plugin-xstate/commit/360b609f7b5f5b6090e188abbfd4fc9aace90c86)) - **no-inline-implementation:** allow built-in higher level guards with xstate v5 ([bee4ad5](https://github.com/rlaffers/eslint-plugin-xstate/commit/bee4ad56bb1b15fe5cb82422882fa4805410a29e)) - **no-inline-implementation:** detect inline implementation inside spawn calls with xstate v4 ([9654443](https://github.com/rlaffers/eslint-plugin-xstate/commit/9654443d4cc71ecb8805a3b6f7b2d4501ffed87f)) - **no-inline-implementation:** detect inline implementations inside spawn call with xstate v5 ([b95101d](https://github.com/rlaffers/eslint-plugin-xstate/commit/b95101d760be93f94f5b64962e88656708870ae6)) - **no-invalid-state-props:** modify the rule to accept new xstate@5 state props ([4aecdff](https://github.com/rlaffers/eslint-plugin-xstate/commit/4aecdff9a8a80641f8080fcc8b87ae9d0f233b32)) - **no-invalid-transition-props:** support new transition props from xstate v5 ([c9a2b9c](https://github.com/rlaffers/eslint-plugin-xstate/commit/c9a2b9c821480fcd28731f4357dc960a5e5bc419)) - **prefer-always:** add message about deprecated eventless empty string transitions for xstate v5 ([7678a5b](https://github.com/rlaffers/eslint-plugin-xstate/commit/7678a5b3c08f0f5da2fd8ba408328d84e774faa6)) - **prefer-predictable-action-arguments:** add a deprecation error for this rule with xstate v5 ([15f778c](https://github.com/rlaffers/eslint-plugin-xstate/commit/15f778c632490fc18b77f794ac5c9b50a53c8211)) - **spawn-usage:** throw error if spawn-usage is used with xstate > 4 ([02976f2](https://github.com/rlaffers/eslint-plugin-xstate/commit/02976f269b408502fca65b9c8de66ff404858f8d)) ##### BREAKING CHANGES - **no-inline-implementation:** Option "serviceCreatorRegex" has been renamed to "actorCreatorRegex". - The default configs are no longer compatible with xstate v4. To continue working with xstate v4, use new shareable configs "all_v4" or "recommended_v4". --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 5b9edbe..38180ea 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "eslint-plugin-react": "7.31.10", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-unused-imports": "2.0.0", - "eslint-plugin-xstate": "1.1.3", + "eslint-plugin-xstate": "3.2.1", "execa": "5.1.1", "glob": "8.0.1", "jest": "28.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f2b8d22..3b85129 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,8 +94,8 @@ importers: specifier: 2.0.0 version: 2.0.0(@typescript-eslint/eslint-plugin@5.39.0(@typescript-eslint/parser@5.39.0(eslint@8.23.1)(typescript@4.7.3))(eslint@8.23.1)(typescript@4.7.3))(eslint@8.23.1) eslint-plugin-xstate: - specifier: 1.1.3 - version: 1.1.3(eslint@8.23.1) + specifier: 3.2.1 + version: 3.2.1(eslint@8.23.1) execa: specifier: 5.1.1 version: 5.1.1 @@ -1801,11 +1801,11 @@ packages: '@typescript-eslint/eslint-plugin': optional: true - eslint-plugin-xstate@1.1.3: - resolution: {integrity: sha512-FF2D/K+M4nenz+OJrNQjqnFwaKU2K8ZW9uJbNU053MnhwO4uVchF/Nj4oZgHRP/AQt9trplMPyHjPwDcVOr8Gw==} - engines: {node: '>=8.0.0'} + eslint-plugin-xstate@3.2.1: + resolution: {integrity: sha512-/C51ZtQ51JOO4VJC+/LBRy6mDP2RifypoZvnzx+VSMcDesdOYJDUuclgbR4uk1LSFG/O/ZqmuTxAb80GEj+63Q==} + engines: {node: '>=16.0.0'} peerDependencies: - eslint: ^7.1.0||^8.17.0 + eslint: ^8.40.0 eslint-rule-composer@0.3.0: resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} @@ -5708,7 +5708,7 @@ snapshots: optionalDependencies: '@typescript-eslint/eslint-plugin': 5.39.0(@typescript-eslint/parser@5.39.0(eslint@8.23.1)(typescript@4.7.3))(eslint@8.23.1)(typescript@4.7.3) - eslint-plugin-xstate@1.1.3(eslint@8.23.1): + eslint-plugin-xstate@3.2.1(eslint@8.23.1): dependencies: eslint: 8.23.1 lodash.camelcase: 4.3.0