diff --git a/libs/@guardian/prettier/package.json b/libs/@guardian/prettier/package.json index 683ab4cd7..a66350d7c 100644 --- a/libs/@guardian/prettier/package.json +++ b/libs/@guardian/prettier/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@guardian/eslint-config": "workspace:*", "eslint": "9.14.0", - "prettier": "3.2.2", + "prettier": "3.4.2", "tslib": "2.6.2", "wireit": "0.14.8" }, diff --git a/libs/@guardian/react-crossword/package.json b/libs/@guardian/react-crossword/package.json index fcdebe4b5..08ec102e6 100644 --- a/libs/@guardian/react-crossword/package.json +++ b/libs/@guardian/react-crossword/package.json @@ -47,7 +47,7 @@ "dotenv": "16.4.1", "eslint": "9.14.0", "jest": "29.7.0", - "prettier": "3.3.3", + "prettier": "3.4.2", "react": "18.2.0", "rollup": "4.27.4", "storybook": "8.4.1", diff --git a/libs/@guardian/source/package.json b/libs/@guardian/source/package.json index e6f31eaac..b493f61a9 100644 --- a/libs/@guardian/source/package.json +++ b/libs/@guardian/source/package.json @@ -67,7 +67,7 @@ "jest": "29.7.0", "lightningcss": "1.28.1", "mkdirp": "3.0.1", - "prettier": "3.3.3", + "prettier": "3.4.2", "react": "18.2.0", "rollup": "4.27.4", "storybook": "8.4.1", diff --git a/package.json b/package.json index e6beb12b5..69c7d0cc6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@types/node": "22.10.0", "husky": "9.1.4", "lint-staged": "15.2.10", - "prettier": "3.3.3", + "prettier": "3.4.2", "sort-package-json": "2.10.0", "syncpack": "13.0.0", "typescript": "5.5.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a60de7727..de4e98a55 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: 15.2.10 version: 15.2.10 prettier: - specifier: 3.3.3 - version: 3.3.3 + specifier: 3.4.2 + version: 3.4.2 sort-package-json: specifier: 2.10.0 version: 2.10.0 @@ -46,7 +46,7 @@ importers: devDependencies: '@astrojs/check': specifier: 0.9.4 - version: 0.9.4(prettier@3.3.3)(typescript@5.5.2) + version: 0.9.4(prettier@3.4.2)(typescript@5.5.2) '@astrojs/svelte': specifier: 6.0.1 version: 6.0.1(astro@4.16.13)(svelte@5.2.2)(typescript@5.5.2)(vite@5.4.11) @@ -106,7 +106,7 @@ importers: version: 18.2.0(react@18.2.0) storybook: specifier: 8.4.1 - version: 8.4.1(prettier@3.3.3) + version: 8.4.1(prettier@3.4.2) wireit: specifier: 0.14.8 version: 0.14.8 @@ -496,8 +496,8 @@ importers: specifier: 9.14.0 version: 9.14.0 prettier: - specifier: 3.2.2 - version: 3.2.2 + specifier: 3.4.2 + version: 3.4.2 tslib: specifier: 2.6.2 version: 2.6.2 @@ -563,8 +563,8 @@ importers: specifier: 29.7.0 version: 29.7.0(@types/node@22.10.0) prettier: - specifier: 3.3.3 - version: 3.3.3 + specifier: 3.4.2 + version: 3.4.2 react: specifier: 18.2.0 version: 18.2.0 @@ -573,7 +573,7 @@ importers: version: 4.27.4 storybook: specifier: 8.4.1 - version: 8.4.1(prettier@3.3.3) + version: 8.4.1(prettier@3.4.2) ts-jest: specifier: 29.2.3 version: 29.2.3(@babel/core@7.26.0)(esbuild@0.24.0)(jest@29.7.0)(typescript@5.5.2) @@ -678,8 +678,8 @@ importers: specifier: 3.0.1 version: 3.0.1 prettier: - specifier: 3.3.3 - version: 3.3.3 + specifier: 3.4.2 + version: 3.4.2 react: specifier: 18.2.0 version: 18.2.0 @@ -688,7 +688,7 @@ importers: version: 4.27.4 storybook: specifier: 8.4.1 - version: 8.4.1(prettier@3.3.3) + version: 8.4.1(prettier@3.4.2) ts-jest: specifier: 29.2.3 version: 29.2.3(@babel/core@7.26.0)(esbuild@0.24.0)(jest@29.7.0)(typescript@5.5.2) @@ -760,7 +760,7 @@ importers: version: 4.27.4 storybook: specifier: 8.4.1 - version: 8.4.1(prettier@3.3.3) + version: 8.4.1(prettier@3.4.2) ts-jest: specifier: 29.2.3 version: 29.2.3(@babel/core@7.26.0)(esbuild@0.24.0)(jest@29.7.0)(typescript@5.5.2) @@ -814,13 +814,13 @@ packages: resolution: {integrity: sha512-H71nDOOL8Y7kWRLqf6Sums+01Q5msqBW2KhDUTemh1tvY04eSkSXrK0uj/4mmY0Xr16/3zyZmsrxN7CKuRbNRg==} dev: true - /@astrojs/check@0.9.4(prettier@3.3.3)(typescript@5.5.2): + /@astrojs/check@0.9.4(prettier@3.4.2)(typescript@5.5.2): resolution: {integrity: sha512-IOheHwCtpUfvogHHsvu0AbeRZEnjJg3MopdLddkJE70mULItS/Vh37BHcI00mcOJcH1vhD3odbpvWokpxam7xA==} hasBin: true peerDependencies: typescript: ^5.0.0 dependencies: - '@astrojs/language-server': 2.15.4(prettier@3.3.3)(typescript@5.5.2) + '@astrojs/language-server': 2.15.4(prettier@3.4.2)(typescript@5.5.2) chokidar: 4.0.1 kleur: 4.1.5 typescript: 5.5.2 @@ -838,7 +838,7 @@ packages: resolution: {integrity: sha512-bMf9jFihO8YP940uD70SI/RDzIhUHJAolWVcO1v5PUivxGKvfLZTLTVVxEYzGYyPsA3ivdLNqMnL5VgmQySa+g==} dev: true - /@astrojs/language-server@2.15.4(prettier@3.3.3)(typescript@5.5.2): + /@astrojs/language-server@2.15.4(prettier@3.4.2)(typescript@5.5.2): resolution: {integrity: sha512-JivzASqTPR2bao9BWsSc/woPHH7OGSGc9aMxXL4U6egVTqBycB3ZHdBJPuOCVtcGLrzdWTosAqVPz1BVoxE0+A==} hasBin: true peerDependencies: @@ -859,11 +859,11 @@ packages: '@volar/language-service': 2.4.10 fast-glob: 3.3.2 muggle-string: 0.4.1 - prettier: 3.3.3 + prettier: 3.4.2 volar-service-css: 0.0.62(@volar/language-service@2.4.10) volar-service-emmet: 0.0.62(@volar/language-service@2.4.10) volar-service-html: 0.0.62(@volar/language-service@2.4.10) - volar-service-prettier: 0.0.62(@volar/language-service@2.4.10)(prettier@3.3.3) + volar-service-prettier: 0.0.62(@volar/language-service@2.4.10)(prettier@3.4.2) volar-service-typescript: 0.0.62(@volar/language-service@2.4.10) volar-service-typescript-twoslash-queries: 0.0.62(@volar/language-service@2.4.10) volar-service-yaml: 0.0.62(@volar/language-service@2.4.10) @@ -3238,7 +3238,7 @@ packages: dependencies: '@storybook/addon-highlight': 8.4.1(storybook@8.4.1) axe-core: 4.10.0 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/addon-actions@8.4.1(storybook@8.4.1): @@ -3250,7 +3250,7 @@ packages: '@types/uuid': 9.0.8 dequal: 2.0.3 polished: 4.3.1 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) uuid: 9.0.1 dev: true @@ -3261,7 +3261,7 @@ packages: dependencies: '@storybook/global': 5.0.0 memoizerific: 1.11.3 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -3272,7 +3272,7 @@ packages: dependencies: '@storybook/global': 5.0.0 dequal: 2.0.3 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -3287,7 +3287,7 @@ packages: '@storybook/react-dom-shim': 8.4.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.4.1) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 transitivePeerDependencies: - '@types/react' @@ -3307,7 +3307,7 @@ packages: '@storybook/addon-outline': 8.4.1(storybook@8.4.1) '@storybook/addon-toolbars': 8.4.1(storybook@8.4.1) '@storybook/addon-viewport': 8.4.1(storybook@8.4.1) - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 transitivePeerDependencies: - '@types/react' @@ -3319,7 +3319,7 @@ packages: storybook: ^8.4.1 dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/addon-interactions@8.4.1(storybook@8.4.1): @@ -3331,7 +3331,7 @@ packages: '@storybook/instrumenter': 8.4.1(storybook@8.4.1) '@storybook/test': 8.4.1(storybook@8.4.1) polished: 4.3.1 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -3347,7 +3347,7 @@ packages: '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 react: 18.2.0 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -3357,7 +3357,7 @@ packages: storybook: ^8.4.1 dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) tiny-invariant: 1.3.3 dev: true @@ -3367,7 +3367,7 @@ packages: storybook: ^8.4.1 dependencies: '@storybook/global': 5.0.0 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -3376,7 +3376,7 @@ packages: peerDependencies: storybook: ^8.4.1 dependencies: - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/addon-viewport@8.4.1(storybook@8.4.1): @@ -3385,7 +3385,7 @@ packages: storybook: ^8.4.1 dependencies: memoizerific: 1.11.3 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/blocks@8.4.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.4.1): @@ -3404,7 +3404,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.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 dev: true @@ -3416,7 +3416,7 @@ packages: dependencies: '@storybook/csf-plugin': 8.4.1(storybook@8.4.1) browser-assert: 1.2.1 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) ts-dedent: 2.2.0 vite: 5.4.11(@types/node@22.10.0)(lightningcss@1.28.1) dev: true @@ -3426,10 +3426,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.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true - /@storybook/core@8.4.1(prettier@3.3.3): + /@storybook/core@8.4.1(prettier@3.4.2): resolution: {integrity: sha512-q3Q4OFBj7MHHbIFYk/Beejlqv5j7CC3+VWhGcr0TK3SGvdCIZ7EliYuc5JIOgDlEPsnTIk+lkgWI4LAA9mLzSw==} peerDependencies: prettier: ^2 || ^3 @@ -3443,7 +3443,7 @@ packages: esbuild: 0.24.0 esbuild-register: 3.5.0(esbuild@0.24.0) jsdoc-type-pratt-parser: 4.1.0 - prettier: 3.3.3 + prettier: 3.4.2 process: 0.11.10 recast: 0.23.6 semver: 7.6.3 @@ -3460,7 +3460,7 @@ packages: peerDependencies: storybook: ^8.4.1 dependencies: - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) unplugin: 1.10.0 dev: true @@ -3491,7 +3491,7 @@ packages: dependencies: '@storybook/global': 5.0.0 '@vitest/utils': 2.1.2 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/manager-api@8.4.1(storybook@8.4.1): @@ -3499,7 +3499,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.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/preview-api@8.4.1(storybook@8.4.1): @@ -3507,7 +3507,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.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/react-dom-shim@8.4.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.4.1): @@ -3519,7 +3519,7 @@ packages: dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/react-vite@8.4.1(react-dom@18.2.0)(react@18.2.0)(rollup@4.27.4)(storybook@8.4.1)(typescript@5.5.2)(vite@5.4.11): @@ -3541,7 +3541,7 @@ packages: react-docgen: 7.0.3 react-dom: 18.2.0(react@18.2.0) resolve: 1.22.8 - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) tsconfig-paths: 4.2.0 vite: 5.4.11(@types/node@22.10.0)(lightningcss@1.28.1) transitivePeerDependencies: @@ -3574,7 +3574,7 @@ packages: '@storybook/theming': 8.4.1(storybook@8.4.1) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.4.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) typescript: 5.5.2 dev: true @@ -3591,7 +3591,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.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@storybook/theming@8.4.1(storybook@8.4.1): @@ -3599,7 +3599,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.1(prettier@3.3.3) + storybook: 8.4.1(prettier@3.4.2) dev: true /@stylistic/eslint-plugin@2.11.0(eslint@9.14.0)(typescript@5.5.2): @@ -9391,14 +9391,8 @@ packages: hasBin: true dev: true - /prettier@3.2.2: - resolution: {integrity: sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A==} - engines: {node: '>=14'} - hasBin: true - dev: true - - /prettier@3.3.3: - resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + /prettier@3.4.2: + resolution: {integrity: sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==} engines: {node: '>=14'} hasBin: true dev: true @@ -9607,7 +9601,7 @@ packages: esprima: 4.0.1 source-map: 0.6.1 tiny-invariant: 1.3.3 - tslib: 2.8.1 + tslib: 2.6.2 dev: true /redent@3.0.0: @@ -10251,7 +10245,7 @@ packages: internal-slot: 1.0.6 dev: true - /storybook@8.4.1(prettier@3.3.3): + /storybook@8.4.1(prettier@3.4.2): resolution: {integrity: sha512-0tfFIFghjho9FtnFoiJMoxhcs2iIdvEF81GTSVnTsDVJrYA84nB+FxN3UY1fT0BcQ8BFlbf+OhSjZL7ufqqWKA==} hasBin: true peerDependencies: @@ -10260,8 +10254,8 @@ packages: prettier: optional: true dependencies: - '@storybook/core': 8.4.1(prettier@3.3.3) - prettier: 3.3.3 + '@storybook/core': 8.4.1(prettier@3.4.2) + prettier: 3.4.2 transitivePeerDependencies: - bufferutil - supports-color @@ -10700,6 +10694,7 @@ packages: /tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + dev: false /tsx@4.19.0: resolution: {integrity: sha512-bV30kM7bsLZKZIOCHeMNVMJ32/LuJzLVajkQI/qf92J2Qr08ueLQvW00PUZGiuLPP760UINwupgUj8qrSCPUKg==} @@ -11129,7 +11124,7 @@ packages: vscode-uri: 3.0.8 dev: true - /volar-service-prettier@0.0.62(@volar/language-service@2.4.10)(prettier@3.3.3): + /volar-service-prettier@0.0.62(@volar/language-service@2.4.10)(prettier@3.4.2): resolution: {integrity: sha512-h2yk1RqRTE+vkYZaI9KYuwpDfOQRrTEMvoHol0yW4GFKc75wWQRrb5n/5abDrzMPrkQbSip8JH2AXbvrRtYh4w==} peerDependencies: '@volar/language-service': ~2.4.0 @@ -11141,7 +11136,7 @@ packages: optional: true dependencies: '@volar/language-service': 2.4.10 - prettier: 3.3.3 + prettier: 3.4.2 vscode-uri: 3.0.8 dev: true