diff --git a/package-lock.json b/package-lock.json index 12d63abdc6..42661fceef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,9 @@ "shared/*", "docs/examples/*" ], + "dependencies": { + "puppeteer": "^23.1.0" + }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", @@ -46,7 +49,7 @@ "husky": "^9.1.4", "jest": "^29.7.0", "jest-environment-node-single-context": "^29.4.0", - "jest-puppeteer": "^10.0.1", + "jest-puppeteer": "^10.1.0", "jest-regex-util": "^29.4.3", "jest-serializer-html": "^7.1.0", "lint-staged": "^15.2.8", @@ -80,7 +83,7 @@ "@types/nunjucks": "^3.2.6", "@types/slug": "^5.0.9", "@types/vinyl": "^2.0.12", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "typed-query-selector": "^2.11.3" } }, @@ -4706,7 +4709,8 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.3.0.tgz", "integrity": "sha512-ioXoq9gPxkss4MYhD+SFaU9p1IHFUX0ILAWFPyjGaBdjLsYAlZw6j1iLA0N/m12uVHLFDfSYNF7EQccjinIMDA==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "debug": "^4.3.5", "extract-zip": "^2.0.1", @@ -8778,7 +8782,8 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.3.tgz", "integrity": "sha512-qXlsCmpCZJAnoTYI83Iu6EdYQpMYdVkCfq08KDh2pmlVqK5t5IA9mGs4/LwCwp4fqisSOMXZxP3HIh8w8aRn0A==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "mitt": "3.0.1", "urlpattern-polyfill": "10.0.0", @@ -12670,9 +12675,9 @@ } }, "node_modules/expect-puppeteer": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-10.0.0.tgz", - "integrity": "sha512-E7sE6nVdEbrnpDOBMmcLgyqLJKt876AlBg1A+gsu5R8cWx+SLafreOgJAgzXg5Qko7Tk0cW5oZdRbHQLU738dg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-10.1.0.tgz", + "integrity": "sha512-d+RS+LWxlEq4RxWb2ifkXYg6/IS3VaZogAye0o2TZaf2qCFT8LN5yVLKfcYI54RQDBn/wMDRFySP+QMMFq+ZIg==", "dev": true, "engines": { "node": ">=16" @@ -17158,16 +17163,16 @@ } }, "node_modules/jest-dev-server": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/jest-dev-server/-/jest-dev-server-10.0.0.tgz", - "integrity": "sha512-FtyBBDxrAIfTX3hyKSOwj5KU6Z7fFLew5pQYOFpwyf+qpPpULL8aYxtsFkbkAwcs+Mb7qhcNbVLeiWsLOd7CKw==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/jest-dev-server/-/jest-dev-server-10.1.0.tgz", + "integrity": "sha512-zB5phqImkP1w6ANhRPrpr4oW84SDRRAhQhCEJ+NGGET4yapNf0Fu8ymS7inNPNQ8zQYgm8IfqyUGgEforPt8pg==", "dev": true, "dependencies": { "chalk": "^4.1.2", "cwd": "^0.10.0", "find-process": "^1.4.7", "prompts": "^2.4.2", - "spawnd": "^10.0.0", + "spawnd": "^10.1.0", "tree-kill": "^1.2.2", "wait-on": "^7.2.0" }, @@ -17485,15 +17490,15 @@ } }, "node_modules/jest-environment-puppeteer": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/jest-environment-puppeteer/-/jest-environment-puppeteer-10.0.1.tgz", - "integrity": "sha512-FxMzVRyqieQqSy5CPWiwdK5t9dkRHid5eoRTVa8RtYeXLlpW6lU0dAmxEfPkdnDVCiPUhC2APeKOXq0J72bgag==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/jest-environment-puppeteer/-/jest-environment-puppeteer-10.1.0.tgz", + "integrity": "sha512-bP1L64wGPQJMVKcH3XIw1X0R+s8VQ5yYqi/5aRFlqwXerUoop+FFlKBeGWfCxpGwo1ICpVymhP0bfV1S0yzfWA==", "dev": true, "dependencies": { "chalk": "^4.1.2", "cosmiconfig": "^8.3.6", "deepmerge": "^4.3.1", - "jest-dev-server": "^10.0.0", + "jest-dev-server": "^10.1.0", "jest-environment-node": "^29.7.0" }, "engines": { @@ -17833,13 +17838,13 @@ } }, "node_modules/jest-puppeteer": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-10.0.1.tgz", - "integrity": "sha512-FzC35XbqeuQEt1smXh1EOqhJaRkWqJkyWDMfGkcZ8C59QHXeJ7F/iOmiNqYi6l/OsycUuOPCk+IkjfGfS9YbrQ==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-10.1.0.tgz", + "integrity": "sha512-jQY3GfOq5eTi4YEHFqueQtRmOvEmkfqDJPpoU9Y16Gyo73b9xtSd3tlQz9o4pEfDQdmOeTt0FjQSVn2Ydl50ig==", "dev": true, "dependencies": { - "expect-puppeteer": "^10.0.0", - "jest-environment-puppeteer": "^10.0.1" + "expect-puppeteer": "^10.1.0", + "jest-environment-puppeteer": "^10.1.0" }, "engines": { "node": ">=16" @@ -23111,19 +23116,21 @@ } }, "node_modules/puppeteer": { - "version": "22.15.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.15.0.tgz", - "integrity": "sha512-XjCY1SiSEi1T7iSYuxS82ft85kwDJUS7wj1Z0eGVXKdtr5g4xnVcbjwxhq5xBnpK/E7x1VZZoJDxpjAOasHT4Q==", + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.1.0.tgz", + "integrity": "sha512-m+CyicDlGN1AVUeOsCa6/+KQydJzxfsPowL7fQy+VGNeaWafB0m8G5aGfXdfZztKMxzCsdz7KNNzbJPeG9wwFw==", "devOptional": true, "hasInstallScript": true, "dependencies": { - "@puppeteer/browsers": "2.3.0", + "@puppeteer/browsers": "2.3.1", + "chromium-bidi": "0.6.4", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1312386", - "puppeteer-core": "22.15.0" + "puppeteer-core": "23.1.0", + "typed-query-selector": "^2.12.0" }, "bin": { - "puppeteer": "lib/esm/puppeteer/node/cli.js" + "puppeteer": "lib/cjs/puppeteer/node/cli.js" }, "engines": { "node": ">=18" @@ -23133,7 +23140,8 @@ "version": "22.15.0", "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.15.0.tgz", "integrity": "sha512-cHArnywCiAAVXa3t4GGL2vttNxh7GqXtIYGym99egkNJ3oG//wL9LkvO4WE8W1TJe95t1F1ocu9X4xWaGsOKOA==", - "devOptional": true, + "optional": true, + "peer": true, "dependencies": { "@puppeteer/browsers": "2.3.0", "chromium-bidi": "0.6.3", @@ -23145,6 +23153,42 @@ "node": ">=18" } }, + "node_modules/puppeteer/node_modules/@puppeteer/browsers": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.3.1.tgz", + "integrity": "sha512-uK7o3hHkK+naEobMSJ+2ySYyXtQkBxIH8Gn4MK9ciePjNV+Pf+PgY/W7iPzn2MTjl3stcYB5AlcTmPYw7AXDwA==", + "devOptional": true, + "dependencies": { + "debug": "^4.3.6", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "semver": "^7.6.3", + "tar-fs": "^3.0.6", + "unbzip2-stream": "^1.4.3", + "yargs": "^17.7.2" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/puppeteer/node_modules/chromium-bidi": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.4.tgz", + "integrity": "sha512-8zoq6ogmhQQkAKZVKO2ObFTl4uOkqoX1PlKQX3hZQ5E9cbUotcAb7h4pTNVAGGv8Z36PF3CtdOriEp/Rz82JqQ==", + "devOptional": true, + "dependencies": { + "mitt": "3.0.1", + "urlpattern-polyfill": "10.0.0", + "zod": "3.23.8" + }, + "peerDependencies": { + "devtools-protocol": "*" + } + }, "node_modules/puppeteer/node_modules/cosmiconfig": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", @@ -23171,6 +23215,23 @@ } } }, + "node_modules/puppeteer/node_modules/puppeteer-core": { + "version": "23.1.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.1.0.tgz", + "integrity": "sha512-SvAsu+xnLN2FMXE/59bp3s3WXp8ewqUGzVV4AQtml/2xmsciZnU/bXcCW+eETHPWQ6Agg2vTI7QzWXPpEARK2g==", + "devOptional": true, + "dependencies": { + "@puppeteer/browsers": "2.3.1", + "chromium-bidi": "0.6.4", + "debug": "^4.3.6", + "devtools-protocol": "0.0.1312386", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/pure-rand": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.3.tgz", @@ -25701,9 +25762,9 @@ "dev": true }, "node_modules/spawnd": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/spawnd/-/spawnd-10.0.0.tgz", - "integrity": "sha512-6GKcakMTryb5b1SWCvdubCDHEsR2k+5VZUD5G19umZRarkvj1RyCGyizcqhjewI7cqZo8fTVD8HpnDZbVOLMtg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/spawnd/-/spawnd-10.1.0.tgz", + "integrity": "sha512-QeRBuEIUVPHQ908BoyeiLw+MyB78vztbzH+C+Gfd4OfFTLE1PBPqhyN8smkct4esF+uyDr+TZ9mCwZPcQ1krhA==", "dev": true, "dependencies": { "signal-exit": "^4.1.0", @@ -27709,10 +27770,10 @@ } }, "node_modules/typed-query-selector": { - "version": "2.11.3", - "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.11.3.tgz", - "integrity": "sha512-lMG8vpGrthemzydrNhGbpFqLEDEe4ivjNcofh2L2JYC8OBnkIAZLAsNVEkxS8rix2YZhTMqbwwJh91uk31kKTA==", - "optional": true + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "devOptional": true }, "node_modules/typedarray": { "version": "0.0.6", @@ -29703,7 +29764,7 @@ "outdent": "^0.8.0", "postcss": "^8.4.41", "postcss-scss": "^4.0.9", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "rollup": "^4.19.1", "sass-color-helpers": "^2.1.1", "sass-embedded": "^1.77.8", @@ -29752,7 +29813,7 @@ "gulp-cli": "^3.0.0", "nodemon": "^3.1.4", "postcss-pseudo-classes": "^0.4.0", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "rollup": "^4.19.1", "sassdoc": "^2.7.4", "supertest": "^7.0.0", @@ -29805,7 +29866,7 @@ "jest-environment-puppeteer": "^10.0.0", "mime-types": "^2.1.35", "outdent": "^0.8.0", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "sass-embedded": "^1.77.8", "slug": "^9.1.0" }, @@ -29887,7 +29948,7 @@ "plugin-error": "^2.0.1", "postcss": "^8.4.41", "postcss-load-config": "^6.0.1", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "rollup": "^4.19.1", "sass-embedded": "^1.77.8", "slash": "^5.1.0", diff --git a/package.json b/package.json index 311fbe30aa..fcf9a5544a 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "husky": "^9.1.4", "jest": "^29.7.0", "jest-environment-node-single-context": "^29.4.0", - "jest-puppeteer": "^10.0.1", + "jest-puppeteer": "^10.1.0", "jest-regex-util": "^29.4.3", "jest-serializer-html": "^7.1.0", "lint-staged": "^15.2.8", @@ -108,7 +108,7 @@ "@types/nunjucks": "^3.2.6", "@types/slug": "^5.0.9", "@types/vinyl": "^2.0.12", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "typed-query-selector": "^2.11.3" }, "overrides": { diff --git a/packages/govuk-frontend-review/package.json b/packages/govuk-frontend-review/package.json index c62e237b6e..d1ad1ac1ec 100644 --- a/packages/govuk-frontend-review/package.json +++ b/packages/govuk-frontend-review/package.json @@ -57,7 +57,7 @@ "gulp-cli": "^3.0.0", "nodemon": "^3.1.4", "postcss-pseudo-classes": "^0.4.0", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "rollup": "^4.19.1", "sassdoc": "^2.7.4", "supertest": "^7.0.0", diff --git a/packages/govuk-frontend/package.json b/packages/govuk-frontend/package.json index 5b94af8adb..04c6df60d1 100644 --- a/packages/govuk-frontend/package.json +++ b/packages/govuk-frontend/package.json @@ -82,7 +82,7 @@ "outdent": "^0.8.0", "postcss": "^8.4.41", "postcss-scss": "^4.0.9", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "rollup": "^4.19.1", "sass-color-helpers": "^2.1.1", "sass-embedded": "^1.77.8", diff --git a/shared/helpers/package.json b/shared/helpers/package.json index 8d6045056d..66c38b4c5e 100644 --- a/shared/helpers/package.json +++ b/shared/helpers/package.json @@ -26,7 +26,7 @@ "jest-environment-puppeteer": "^10.0.0", "mime-types": "^2.1.35", "outdent": "^0.8.0", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "sass-embedded": "^1.77.8", "slug": "^9.1.0" }, diff --git a/shared/tasks/package.json b/shared/tasks/package.json index 886aaf608b..54561047d6 100644 --- a/shared/tasks/package.json +++ b/shared/tasks/package.json @@ -20,7 +20,7 @@ "plugin-error": "^2.0.1", "postcss": "^8.4.41", "postcss-load-config": "^6.0.1", - "puppeteer": "^22.15.0", + "puppeteer": "^23.1.0", "rollup": "^4.19.1", "sass-embedded": "^1.77.8", "slash": "^5.1.0",