From d30903a5650155b188b003a56dd77fb282db6b50 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 29 Aug 2024 20:19:31 +0000 Subject: [PATCH] Update dependency eslint-plugin-prettier to v5 | datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 4.2.1 | 5.2.1 | ## [v5.2.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#521) ##### Patch Changes - [#668](https://github.com/prettier/eslint-plugin-prettier/pull/668) [`ac036cc`](https://github.com/prettier/eslint-plugin-prettier/commit/ac036cca2bed4ceb6ee5b63c945426308e36c586) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 ## [v5.1.3](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#513) ##### Patch Changes - [#629](https://github.com/prettier/eslint-plugin-prettier/pull/629) [`985b33c`](https://github.com/prettier/eslint-plugin-prettier/commit/985b33c56f146b2e65ae391a3af57f63b07ecbdf) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map ## [v5.1.2](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512) ##### Patch Changes - [#623](https://github.com/prettier/eslint-plugin-prettier/pull/623) [`8210e44`](https://github.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815) Thanks [@BPScott](https://github.com/BPScott)! - Add exports mapping to package.json, to allow `import eslintPluginRecommended from 'eslint-plugin-prettier/recommended'` to work as expected. Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days. - [#621](https://github.com/prettier/eslint-plugin-prettier/pull/621) [`2b09e7f`](https://github.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively ## [v5.1.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511) ##### Patch Changes - [#619](https://github.com/prettier/eslint-plugin-prettier/pull/619) [`b5c0dc5`](https://github.com/prettier/eslint-plugin-prettier/commit/b5c0dc5715616a0f2a0da8b8c077434efc618a3e) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files ## [v5.1.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#510) ##### Minor Changes - [#616](https://github.com/prettier/eslint-plugin-prettier/pull/616) [`3856413`](https://github.com/prettier/eslint-plugin-prettier/commit/3856413420d3d026e5ae84f29c4bd0d558697135) Thanks [@BPScott](https://github.com/BPScott)! - Add recommended config for the flat config format. If you are using flat config, import the recommended config from `eslint-plugin-prettier/recommended`. Like the legacy format recommended config, this automatically includes the contents of `eslint-config-prettier`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended'); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](https://github.com/prettier/eslint-plugin-prettier/pull/614) [`5270877`](https://github.com/prettier/eslint-plugin-prettier/commit/5270877d169bec05449861c8ad7e6338b0ad47c0) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](https://github.com/prettier/eslint-plugin-prettier/pull/603) [`a63a570`](https://github.com/prettier/eslint-plugin-prettier/commit/a63a570f8f3e3d53b90b1cf35e06fd7e3c387a5a) Thanks [@filiptammergard](https://github.com/filiptammergard)! - fix: specify `eslint-config-prettier` as peer dependency It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`. ## [v5.0.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#501) ##### Patch Changes - [#588](https://github.com/prettier/eslint-plugin-prettier/pull/588) [`21a7146`](https://github.com/prettier/eslint-plugin-prettier/commit/21a7146d78161307dcc7eaa96f41dac51f7ce89f) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config ## [v5.0.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#500) ##### Major Changes - [#508](https://github.com/prettier/eslint-plugin-prettier/pull/508) [`910aeb6`](https://github.com/prettier/eslint-plugin-prettier/commit/910aeb60a7456beb6193c634bb8dec1b7181312d) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](https://github.com/prettier/eslint-plugin-prettier/pull/508) [`910aeb6`](https://github.com/prettier/eslint-plugin-prettier/commit/910aeb60a7456beb6193c634bb8dec1b7181312d) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](https://github.com/prettier/eslint-plugin-prettier/pull/508) [`910aeb6`](https://github.com/prettier/eslint-plugin-prettier/commit/910aeb60a7456beb6193c634bb8dec1b7181312d) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](https://github.com/prettier/eslint-plugin-prettier/pull/548) [`82a3db8`](https://github.com/prettier/eslint-plugin-prettier/commit/82a3db878baf1a8f8ef53393069fe23c3a80ce15) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](https://github.com/prettier/eslint-plugin-prettier/pull/564) [`ae7a73c`](https://github.com/prettier/eslint-plugin-prettier/commit/ae7a73c6c4b306c617c5dd9baaaa2ae7c0f9f44b) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins --- package.json | 2 +- pnpm-lock.yaml | 40 ++++++++++++++++++++++++++++++++-------- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index d801d3b..087a2e8 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-jsx-a11y": "6.9.0", "eslint-plugin-local-rules": "1.3.2", - "eslint-plugin-prettier": "4.2.1", + "eslint-plugin-prettier": "5.2.1", "eslint-plugin-react": "7.31.10", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-unused-imports": "2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63e65be..50eb431 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,8 +82,8 @@ importers: specifier: 1.3.2 version: 1.3.2 eslint-plugin-prettier: - specifier: 4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.23.1))(eslint@8.23.1)(prettier@2.8.8) + specifier: 5.2.1 + version: 5.2.1(eslint-config-prettier@8.10.0(eslint@8.23.1))(eslint@8.23.1)(prettier@2.8.8) eslint-plugin-react: specifier: 7.31.10 version: 7.31.10(eslint@8.23.1) @@ -722,6 +722,10 @@ packages: resolution: {integrity: sha512-CyuLJ0/P7bKZ+kIYw+fnkeVdhUzNuDKgNSI7pU/m7Nod0T7kP+s4s2f0pNmG9HL8/RZN1S0ZWTDll3VTMrFLAw==} engines: {node: '>= 18'} + '@pkgr/core@0.1.1': + resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + '@rollup/rollup-android-arm-eabi@4.20.0': resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} cpu: [arm] @@ -1781,14 +1785,17 @@ packages: eslint-plugin-local-rules@1.3.2: resolution: {integrity: sha512-X4ziX+cjlCYnZa+GB1ly3mmj44v2PeIld3tQVAxelY6AMrhHSjz6zsgsT6nt0+X5b7eZnvL/O7Q3pSSK2kF/+Q==} - eslint-plugin-prettier@4.2.1: - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} + eslint-plugin-prettier@5.2.1: + resolution: {integrity: sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - eslint: '>=7.28.0' + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' eslint-config-prettier: '*' - prettier: '>=2.0.0' + prettier: '>=3.0.0' peerDependenciesMeta: + '@types/eslint': + optional: true eslint-config-prettier: optional: true @@ -3368,6 +3375,10 @@ packages: symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + synckit@0.9.1: + resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} + engines: {node: ^14.18.0 || >=16.0.0} + table@6.8.2: resolution: {integrity: sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==} engines: {node: '>=10.0.0'} @@ -3471,6 +3482,9 @@ packages: tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + tslib@2.7.0: + resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} @@ -4511,6 +4525,8 @@ snapshots: '@octokit/webhooks-types': 7.4.0 aggregate-error: 3.1.0 + '@pkgr/core@0.1.1': {} + '@rollup/rollup-android-arm-eabi@4.20.0': optional: true @@ -5714,11 +5730,12 @@ snapshots: eslint-plugin-local-rules@1.3.2: {} - eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0(eslint@8.23.1))(eslint@8.23.1)(prettier@2.8.8): + eslint-plugin-prettier@5.2.1(eslint-config-prettier@8.10.0(eslint@8.23.1))(eslint@8.23.1)(prettier@2.8.8): dependencies: eslint: 8.23.1 prettier: 2.8.8 prettier-linter-helpers: 1.0.0 + synckit: 0.9.1 optionalDependencies: eslint-config-prettier: 8.10.0(eslint@8.23.1) @@ -7659,6 +7676,11 @@ snapshots: symbol-tree@3.2.4: {} + synckit@0.9.1: + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.7.0 + table@6.8.2: dependencies: ajv: 8.17.1 @@ -7759,6 +7781,8 @@ snapshots: tslib@1.14.1: {} + tslib@2.7.0: {} + tsutils@3.21.0(typescript@4.9.5): dependencies: tslib: 1.14.1