From 1d64a335c81b136aafbab4852e14e9a5db859125 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 07:45:07 +0000 Subject: [PATCH] Bump prettier from 2.8.8 to 3.4.2 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.4.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.4.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pnpm-lock.yaml | 98 +++++++++++++++++++---------------- polaris-migrator/package.json | 2 +- 3 files changed, 54 insertions(+), 48 deletions(-) diff --git a/package.json b/package.json index 281e7ac6e44..4c785ecdc1d 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "js-yaml": "^4.1.0", "npm-run-all": "^4.1.5", "postinstall-postinstall": "^2.1.0", - "prettier": "^2.5.0", + "prettier": "^3.4.2", "rollup": "^3.29.5", "rollup-plugin-node-externals": "^5.1.0", "size-limit": "^5.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 148c59f2146..163c90f082f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,10 +61,10 @@ importers: version: 5.1.4(rollup@3.29.5) '@shopify/eslint-plugin': specifier: ^42.0.1 - version: 42.0.1(@babel/core@7.26.0)(eslint@8.10.0)(jest@29.7.0)(prettier@2.8.8)(typescript@4.9.3) + version: 42.0.1(@babel/core@7.26.0)(eslint@8.10.0)(jest@29.7.0)(prettier@3.4.2)(typescript@4.9.3) '@shopify/stylelint-plugin': specifier: ^11.0.0 - version: 11.0.1(prettier@2.8.8)(stylelint@14.15.0) + version: 11.0.1(prettier@3.4.2)(stylelint@14.15.0) '@shopify/typescript-configs': specifier: ^5.1.0 version: 5.1.0 @@ -111,8 +111,8 @@ importers: specifier: ^2.1.0 version: 2.1.0 prettier: - specifier: ^2.5.0 - version: 2.8.8 + specifier: ^3.4.2 + version: 3.4.2 rollup: specifier: ^3.29.5 version: 3.29.5 @@ -255,8 +255,8 @@ importers: specifier: ^0.0.5 version: 0.0.5(plop@3.1.1) prettier: - specifier: ^2.7.1 - version: 2.8.8 + specifier: ^3.4.2 + version: 3.4.2 type-fest: specifier: ^2.19.0 version: 2.19.0 @@ -416,7 +416,7 @@ importers: version: 14.2.4 storybook: specifier: ^8.4.1 - version: 8.4.2(prettier@2.8.8) + version: 8.4.2(prettier@3.4.2) transitions-all-settled: specifier: ^0.4.0 version: 0.4.0 @@ -5225,7 +5225,7 @@ packages: engines: {node: ^14.17.0 || >=16.0.0} dev: true - /@shopify/eslint-plugin@42.0.1(@babel/core@7.26.0)(eslint@8.10.0)(jest@29.7.0)(prettier@2.8.8)(typescript@4.9.3): + /@shopify/eslint-plugin@42.0.1(@babel/core@7.26.0)(eslint@8.10.0)(jest@29.7.0)(prettier@3.4.2)(typescript@4.9.3): resolution: {integrity: sha512-rtWKd0hdXkyhYo8XkG7TYYVFCIQV8cJ2zCQHaYmsq5p7q1EZ9itXoOcNFzrNjSmiqXoDjCDpBj+33bcZYHKG3Q==} peerDependencies: eslint: ^8.3.0 @@ -5246,7 +5246,7 @@ packages: eslint-plugin-jest-formatting: 3.1.0(eslint@8.10.0) eslint-plugin-jsx-a11y: 6.5.1(eslint@8.10.0) eslint-plugin-node: 11.1.0(eslint@8.10.0) - eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.10.0)(prettier@2.8.8) + eslint-plugin-prettier: 4.2.1(eslint-config-prettier@8.5.0)(eslint@8.10.0)(prettier@3.4.2) eslint-plugin-promise: 6.0.0(eslint@8.10.0) eslint-plugin-react: 7.31.10(eslint@8.10.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.10.0) @@ -5304,7 +5304,7 @@ packages: react-reconciler: 0.28.0(react@18.2.0) dev: true - /@shopify/stylelint-plugin@11.0.1(prettier@2.8.8)(stylelint@14.15.0): + /@shopify/stylelint-plugin@11.0.1(prettier@3.4.2)(stylelint@14.15.0): resolution: {integrity: sha512-5QBUaI7uFtXiiRVmH42dUgbKYfoHLc0+9sIaXNvNu2nDLZLxMoXAdj3RNOWJknj4xXETToyBTRJKRasv4CK4iA==} peerDependencies: stylelint: '>=14.1.0' @@ -5314,7 +5314,7 @@ packages: stylelint: 14.15.0 stylelint-config-prettier: 9.0.3(stylelint@14.15.0) stylelint-order: 5.0.0(stylelint@14.15.0) - stylelint-prettier: 2.0.0(prettier@2.8.8)(stylelint@14.15.0) + stylelint-prettier: 2.0.0(prettier@3.4.2)(stylelint@14.15.0) stylelint-scss: 4.7.0(stylelint@14.15.0) transitivePeerDependencies: - prettier @@ -5462,7 +5462,7 @@ packages: dependencies: '@storybook/addon-highlight': 8.4.2(storybook@8.4.2) axe-core: 4.9.0 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/addon-highlight@8.4.2(storybook@8.4.2): @@ -5471,7 +5471,7 @@ packages: storybook: ^8.4.2 dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/addon-toolbars@8.4.2(storybook@8.4.2): @@ -5479,7 +5479,7 @@ packages: peerDependencies: storybook: ^8.4.2 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/addon-viewport@8.4.1(storybook@8.4.2): @@ -5488,7 +5488,7 @@ packages: storybook: ^8.4.1 dependencies: memoizerific: 1.11.3 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/blocks@8.4.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.4.2): @@ -5507,7 +5507,7 @@ packages: '@storybook/icons': 1.2.12(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -5519,7 +5519,7 @@ packages: dependencies: '@storybook/csf-plugin': 8.4.2(storybook@8.4.2) browser-assert: 1.2.1 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) ts-dedent: 2.2.0 vite: 4.5.3(@types/node@20.12.5) dev: true @@ -5529,7 +5529,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/components@8.4.5(storybook@8.4.2): @@ -5537,7 +5537,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/components@8.4.6(storybook@8.4.2): @@ -5545,10 +5545,10 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true - /@storybook/core@8.4.2(prettier@2.8.8): + /@storybook/core@8.4.2(prettier@3.4.2): resolution: {integrity: sha512-hF8GWoUZTjwwuV5j4OLhMHZtZQL/NYcVUBReC2Ba06c8PkFIKqKZwATr1zKd301gQ5Qwcn9WgmZxJTMgdKQtOg==} peerDependencies: prettier: ^2 || ^3 @@ -5562,7 +5562,7 @@ packages: esbuild: 0.18.20 esbuild-register: 3.5.0(esbuild@0.18.20) jsdoc-type-pratt-parser: 4.1.0 - prettier: 2.8.8 + prettier: 3.4.2 process: 0.11.10 recast: 0.23.6 semver: 7.6.3 @@ -5579,7 +5579,7 @@ packages: peerDependencies: storybook: ^8.4.2 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) unplugin: 1.5.1 dev: true @@ -5617,7 +5617,7 @@ packages: dependencies: '@storybook/global': 5.0.0 '@vitest/utils': 2.1.4 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/manager-api@8.4.2(storybook@8.4.2): @@ -5625,7 +5625,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/manager-api@8.4.5(storybook@8.4.2): @@ -5633,7 +5633,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/manager-api@8.4.6(storybook@8.4.2): @@ -5641,7 +5641,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/preview-api@8.4.2(storybook@8.4.2): @@ -5649,7 +5649,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/preview-api@8.4.6(storybook@8.4.2): @@ -5657,7 +5657,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/react-dom-shim@8.4.2(react-dom@18.2.0)(react@18.2.0)(storybook@8.4.2): @@ -5669,7 +5669,7 @@ packages: dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/react-dom-shim@8.4.6(react-dom@18.2.0)(react@18.2.0)(storybook@8.4.2): @@ -5681,7 +5681,7 @@ packages: dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/react-vite@8.4.2(@storybook/test@8.4.5)(react-dom@18.2.0)(react@18.2.0)(rollup@3.29.5)(storybook@8.4.2)(typescript@4.9.3)(vite@4.5.3): @@ -5703,7 +5703,7 @@ packages: react-docgen: 7.0.1 react-dom: 18.2.0(react@18.2.0) resolve: 1.22.8 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) tsconfig-paths: 4.2.0 vite: 4.5.3(@types/node@20.12.5) transitivePeerDependencies: @@ -5737,7 +5737,7 @@ packages: '@storybook/theming': 8.4.2(storybook@8.4.2) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) typescript: 4.9.3 dev: true @@ -5765,7 +5765,7 @@ packages: '@storybook/theming': 8.4.6(storybook@8.4.2) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) typescript: 4.9.3 dev: true @@ -5795,7 +5795,7 @@ packages: jest-watch-typeahead: 2.2.2(jest@29.7.0) nyc: 15.1.0 playwright: 1.43.1 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) transitivePeerDependencies: - '@swc/helpers' - '@types/node' @@ -5819,7 +5819,7 @@ packages: '@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0) '@vitest/expect': 2.0.5 '@vitest/spy': 2.0.5 - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/theming@8.4.2(storybook@8.4.2): @@ -5827,7 +5827,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/theming@8.4.5(storybook@8.4.2): @@ -5835,7 +5835,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@storybook/theming@8.4.6(storybook@8.4.2): @@ -5843,7 +5843,7 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 dependencies: - storybook: 8.4.2(prettier@2.8.8) + storybook: 8.4.2(prettier@3.4.2) dev: true /@svgr/babel-plugin-add-jsx-attribute@4.2.0: @@ -10938,7 +10938,7 @@ packages: semver: 6.3.1 dev: true - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.10.0)(prettier@2.8.8): + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.5.0)(eslint@8.10.0)(prettier@3.4.2): resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -10951,7 +10951,7 @@ packages: dependencies: eslint: 8.10.0 eslint-config-prettier: 8.5.0(eslint@8.10.0) - prettier: 2.8.8 + prettier: 3.4.2 prettier-linter-helpers: 1.0.0 dev: true @@ -18503,6 +18503,12 @@ packages: hasBin: true dev: true + /prettier@3.4.2: + resolution: {integrity: sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==} + engines: {node: '>=14'} + hasBin: true + dev: true + /pretty-error@4.0.0: resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==} dependencies: @@ -20459,7 +20465,7 @@ packages: engines: {node: '>= 0.8'} dev: true - /storybook@8.4.2(prettier@2.8.8): + /storybook@8.4.2(prettier@3.4.2): resolution: {integrity: sha512-GMCgyAulmLNrkUtDkCpFO4SB77YrpiIxq6e5tzaQdXEuaDu1mdNwOuP3VG7nE2FzxmqDvagSgriM68YW9iFaZA==} hasBin: true peerDependencies: @@ -20468,8 +20474,8 @@ packages: prettier: optional: true dependencies: - '@storybook/core': 8.4.2(prettier@2.8.8) - prettier: 2.8.8 + '@storybook/core': 8.4.2(prettier@3.4.2) + prettier: 3.4.2 transitivePeerDependencies: - bufferutil - supports-color @@ -20815,14 +20821,14 @@ packages: stylelint: 14.15.0 dev: true - /stylelint-prettier@2.0.0(prettier@2.8.8)(stylelint@14.15.0): + /stylelint-prettier@2.0.0(prettier@3.4.2)(stylelint@14.15.0): resolution: {integrity: sha512-jvT3G+9lopkeB0ARmDPszyfaOnvnIF+30QCjZxyt7E6fynI1T9mOKgYDNb9bXX17M7PXMZaX3j/26wqakjp1tw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: prettier: '>=2.0.0' stylelint: '>=14.0.0' dependencies: - prettier: 2.8.8 + prettier: 3.4.2 prettier-linter-helpers: 1.0.0 stylelint: 14.15.0 dev: true diff --git a/polaris-migrator/package.json b/polaris-migrator/package.json index 0479539c4ac..de65046aaf1 100644 --- a/polaris-migrator/package.json +++ b/polaris-migrator/package.json @@ -58,7 +58,7 @@ "@shopify/polaris": "^13.9.1", "plop": "^3.1.1", "plop-dir": "^0.0.5", - "prettier": "^2.7.1", + "prettier": "^3.4.2", "type-fest": "^2.19.0" } }