diff --git a/package-lock.json b/package-lock.json index 218b5b27ca6f..a18076c8a3f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,6 +43,7 @@ "html-entities": "^2.3.3", "imurmurhash": "^0.1.4", "javascript-stringify": "^2.1.0", + "jest-puppeteer": "^6.2.0", "js-cookie": "^3.0.1", "js-yaml": "^4.1.0", "liquidjs": "9.22.1", @@ -170,7 +171,7 @@ "bottleneck": "^2.19.5", "esm": "^3.2.25", "image-size": "^1.0.1", - "jest-puppeteer": "^5.0.4", + "jest-puppeteer": "^6.2.0", "puppeteer": "^9.1.1", "website-scraper": "^5.0.0" } @@ -4947,7 +4948,7 @@ }, "node_modules/axios": { "version": "0.21.4", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "follow-redirects": "^1.14.0" @@ -8479,9 +8480,9 @@ } }, "node_modules/expect-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-5.0.4.tgz", - "integrity": "sha512-NV7jSiKhK+byocxg9A+0av+Q2RSCP9bcLVRz7zhHaESeCOkuomMvl9oD+uo1K+NdqRCXhNkQlUGWlmtbrpR1qw==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-6.1.1.tgz", + "integrity": "sha512-cnQF96qdoEcOD63j5NQMc0RtW9WRMW/WHKXEKsuDQ2tszhVH3qC7zkXXS4D0LTt9qCB3DEExioqylsQXvqPrUw==", "optional": true }, "node_modules/expect/node_modules/@jest/types": { @@ -11479,7 +11480,7 @@ }, "node_modules/jest-dev-server": { "version": "5.0.3", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.1.1", @@ -11493,7 +11494,7 @@ }, "node_modules/jest-dev-server/node_modules/chalk": { "version": "4.1.2", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -11709,7 +11710,7 @@ }, "node_modules/jest-environment-puppeteer": { "version": "5.0.4", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.1.1", @@ -11721,7 +11722,7 @@ }, "node_modules/jest-environment-puppeteer/node_modules/chalk": { "version": "4.1.2", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12070,16 +12071,99 @@ } }, "node_modules/jest-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-5.0.4.tgz", - "integrity": "sha512-IUOVKgHEaKsLqahZy/J/DvXB59SQx4AVpZKTRDvJzCdkvdGc3NVsNwUhovr6SK+HOK1TOiqAiXPTAPiIq3mkrg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-6.2.0.tgz", + "integrity": "sha512-4Ynkgcf9FkHlTNEpdsojGLb3KtsToWqjO6SCigxb9Qj3HzIqhzJzNbDJ/XhiciNDpqDe6KHW9sZ6fjHphNLr6g==", "optional": true, "dependencies": { - "expect-puppeteer": "^5.0.4", - "jest-environment-puppeteer": "^5.0.4" + "expect-puppeteer": "^6.1.1", + "jest-environment-puppeteer": "^6.2.0" }, "peerDependencies": { - "puppeteer": ">= 1.5.0 < 10" + "puppeteer": ">= 1.5.0" + } + }, + "node_modules/jest-puppeteer/node_modules/axios": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", + "integrity": "sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==", + "optional": true, + "dependencies": { + "follow-redirects": "^1.14.7" + } + }, + "node_modules/jest-puppeteer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-puppeteer/node_modules/jest-dev-server": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jest-dev-server/-/jest-dev-server-6.2.0.tgz", + "integrity": "sha512-ZWh8CuvxwjhYfvw4tGeftziqIvw/26R6AG3OTgNTQeXul8aZz48RQjDpnlDwnWX53jxJJl9fcigqIdSU5lYZuw==", + "optional": true, + "dependencies": { + "chalk": "^4.1.2", + "cwd": "^0.10.0", + "find-process": "^1.4.7", + "prompts": "^2.4.2", + "spawnd": "^6.2.0", + "tree-kill": "^1.2.2", + "wait-on": "^6.0.1" + } + }, + "node_modules/jest-puppeteer/node_modules/jest-environment-puppeteer": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jest-environment-puppeteer/-/jest-environment-puppeteer-6.2.0.tgz", + "integrity": "sha512-a/oSu6dO9D+XoDDe3ZY/0Sk79Jl2FcJl7Q0D+3x22l1eWNOYe4ikXnPGhtmNZ3mJIpuAVIX6LytA8EraOk/aqQ==", + "optional": true, + "dependencies": { + "chalk": "^4.1.2", + "cwd": "^0.10.0", + "jest-dev-server": "^6.2.0", + "jest-environment-node": "^27.5.1", + "merge-deep": "^3.0.3" + } + }, + "node_modules/jest-puppeteer/node_modules/spawnd": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/spawnd/-/spawnd-6.2.0.tgz", + "integrity": "sha512-qX/I4lQy4KgVEcNle0kuc4FxFWHISzBhZW1YemPfwmrmQjyZmfTK/OhBKkhrD2ooAaFZEm1maEBLE6/6enwt+g==", + "optional": true, + "dependencies": { + "exit": "^0.1.2", + "signal-exit": "^3.0.7", + "tree-kill": "^1.2.2" + } + }, + "node_modules/jest-puppeteer/node_modules/wait-on": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-6.0.1.tgz", + "integrity": "sha512-zht+KASY3usTY5u2LgaNqn/Cd8MukxLGjdcZxT2ns5QzDmTFc4XoWBgC+C/na+sMRZTuVygQoMYwdcVjHnYIVw==", + "optional": true, + "dependencies": { + "axios": "^0.25.0", + "joi": "^17.6.0", + "lodash": "^4.17.21", + "minimist": "^1.2.5", + "rxjs": "^7.5.4" + }, + "bin": { + "wait-on": "bin/wait-on" + }, + "engines": { + "node": ">=10.0.0" } }, "node_modules/jest-regex-util": { @@ -17823,7 +17907,7 @@ }, "node_modules/rxjs": { "version": "7.5.5", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.1.0" @@ -18392,7 +18476,7 @@ }, "node_modules/spawnd": { "version": "5.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "exit": "^0.1.2", @@ -19916,7 +20000,7 @@ }, "node_modules/wait-on": { "version": "5.3.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "axios": "^0.21.1", @@ -19934,7 +20018,7 @@ }, "node_modules/wait-on/node_modules/rxjs": { "version": "6.6.7", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^1.9.0" @@ -19945,12 +20029,12 @@ }, "node_modules/wait-on/node_modules/tslib": { "version": "1.14.1", - "devOptional": true, + "dev": true, "license": "0BSD" }, "node_modules/wait-port": { "version": "0.2.9", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "chalk": "^2.4.2", @@ -19966,7 +20050,7 @@ }, "node_modules/wait-port/node_modules/ansi-styles": { "version": "3.2.1", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^1.9.0" @@ -19977,7 +20061,7 @@ }, "node_modules/wait-port/node_modules/chalk": { "version": "2.4.2", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", @@ -19990,7 +20074,7 @@ }, "node_modules/wait-port/node_modules/color-convert": { "version": "1.9.3", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "color-name": "1.1.3" @@ -19998,17 +20082,17 @@ }, "node_modules/wait-port/node_modules/color-name": { "version": "1.1.3", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/wait-port/node_modules/commander": { "version": "3.0.2", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/wait-port/node_modules/escape-string-regexp": { "version": "1.0.5", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=0.8.0" @@ -20016,7 +20100,7 @@ }, "node_modules/wait-port/node_modules/has-flag": { "version": "3.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -20024,7 +20108,7 @@ }, "node_modules/wait-port/node_modules/supports-color": { "version": "5.5.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^3.0.0" @@ -24147,7 +24231,7 @@ }, "axios": { "version": "0.21.4", - "devOptional": true, + "dev": true, "requires": { "follow-redirects": "^1.14.0" } @@ -26720,9 +26804,9 @@ } }, "expect-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-5.0.4.tgz", - "integrity": "sha512-NV7jSiKhK+byocxg9A+0av+Q2RSCP9bcLVRz7zhHaESeCOkuomMvl9oD+uo1K+NdqRCXhNkQlUGWlmtbrpR1qw==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-6.1.1.tgz", + "integrity": "sha512-cnQF96qdoEcOD63j5NQMc0RtW9WRMW/WHKXEKsuDQ2tszhVH3qC7zkXXS4D0LTt9qCB3DEExioqylsQXvqPrUw==", "optional": true }, "express": { @@ -28707,7 +28791,7 @@ }, "jest-dev-server": { "version": "5.0.3", - "devOptional": true, + "dev": true, "requires": { "chalk": "^4.1.1", "cwd": "^0.10.0", @@ -28720,7 +28804,7 @@ "dependencies": { "chalk": { "version": "4.1.2", - "devOptional": true, + "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -28891,7 +28975,7 @@ }, "jest-environment-puppeteer": { "version": "5.0.4", - "devOptional": true, + "dev": true, "requires": { "chalk": "^4.1.1", "cwd": "^0.10.0", @@ -28902,7 +28986,7 @@ "dependencies": { "chalk": { "version": "4.1.2", - "devOptional": true, + "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -29164,13 +29248,86 @@ "requires": {} }, "jest-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-5.0.4.tgz", - "integrity": "sha512-IUOVKgHEaKsLqahZy/J/DvXB59SQx4AVpZKTRDvJzCdkvdGc3NVsNwUhovr6SK+HOK1TOiqAiXPTAPiIq3mkrg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-6.2.0.tgz", + "integrity": "sha512-4Ynkgcf9FkHlTNEpdsojGLb3KtsToWqjO6SCigxb9Qj3HzIqhzJzNbDJ/XhiciNDpqDe6KHW9sZ6fjHphNLr6g==", "optional": true, "requires": { - "expect-puppeteer": "^5.0.4", - "jest-environment-puppeteer": "^5.0.4" + "expect-puppeteer": "^6.1.1", + "jest-environment-puppeteer": "^6.2.0" + }, + "dependencies": { + "axios": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.25.0.tgz", + "integrity": "sha512-cD8FOb0tRH3uuEe6+evtAbgJtfxr7ly3fQjYcMcuPlgkwVS9xboaVIpcDV+cYQe+yGykgwZCs1pzjntcGa6l5g==", + "optional": true, + "requires": { + "follow-redirects": "^1.14.7" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "jest-dev-server": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jest-dev-server/-/jest-dev-server-6.2.0.tgz", + "integrity": "sha512-ZWh8CuvxwjhYfvw4tGeftziqIvw/26R6AG3OTgNTQeXul8aZz48RQjDpnlDwnWX53jxJJl9fcigqIdSU5lYZuw==", + "optional": true, + "requires": { + "chalk": "^4.1.2", + "cwd": "^0.10.0", + "find-process": "^1.4.7", + "prompts": "^2.4.2", + "spawnd": "^6.2.0", + "tree-kill": "^1.2.2", + "wait-on": "^6.0.1" + } + }, + "jest-environment-puppeteer": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/jest-environment-puppeteer/-/jest-environment-puppeteer-6.2.0.tgz", + "integrity": "sha512-a/oSu6dO9D+XoDDe3ZY/0Sk79Jl2FcJl7Q0D+3x22l1eWNOYe4ikXnPGhtmNZ3mJIpuAVIX6LytA8EraOk/aqQ==", + "optional": true, + "requires": { + "chalk": "^4.1.2", + "cwd": "^0.10.0", + "jest-dev-server": "^6.2.0", + "jest-environment-node": "^27.5.1", + "merge-deep": "^3.0.3" + } + }, + "spawnd": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/spawnd/-/spawnd-6.2.0.tgz", + "integrity": "sha512-qX/I4lQy4KgVEcNle0kuc4FxFWHISzBhZW1YemPfwmrmQjyZmfTK/OhBKkhrD2ooAaFZEm1maEBLE6/6enwt+g==", + "optional": true, + "requires": { + "exit": "^0.1.2", + "signal-exit": "^3.0.7", + "tree-kill": "^1.2.2" + } + }, + "wait-on": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-6.0.1.tgz", + "integrity": "sha512-zht+KASY3usTY5u2LgaNqn/Cd8MukxLGjdcZxT2ns5QzDmTFc4XoWBgC+C/na+sMRZTuVygQoMYwdcVjHnYIVw==", + "optional": true, + "requires": { + "axios": "^0.25.0", + "joi": "^17.6.0", + "lodash": "^4.17.21", + "minimist": "^1.2.5", + "rxjs": "^7.5.4" + } + } } }, "jest-regex-util": { @@ -32968,7 +33125,7 @@ }, "rxjs": { "version": "7.5.5", - "dev": true, + "devOptional": true, "requires": { "tslib": "^2.1.0" } @@ -33378,7 +33535,7 @@ }, "spawnd": { "version": "5.0.0", - "devOptional": true, + "dev": true, "requires": { "exit": "^0.1.2", "signal-exit": "^3.0.3", @@ -34382,7 +34539,7 @@ }, "wait-on": { "version": "5.3.0", - "devOptional": true, + "dev": true, "requires": { "axios": "^0.21.1", "joi": "^17.3.0", @@ -34393,20 +34550,20 @@ "dependencies": { "rxjs": { "version": "6.6.7", - "devOptional": true, + "dev": true, "requires": { "tslib": "^1.9.0" } }, "tslib": { "version": "1.14.1", - "devOptional": true + "dev": true } } }, "wait-port": { "version": "0.2.9", - "devOptional": true, + "dev": true, "requires": { "chalk": "^2.4.2", "commander": "^3.0.2", @@ -34415,14 +34572,14 @@ "dependencies": { "ansi-styles": { "version": "3.2.1", - "devOptional": true, + "dev": true, "requires": { "color-convert": "^1.9.0" } }, "chalk": { "version": "2.4.2", - "devOptional": true, + "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -34431,30 +34588,30 @@ }, "color-convert": { "version": "1.9.3", - "devOptional": true, + "dev": true, "requires": { "color-name": "1.1.3" } }, "color-name": { "version": "1.1.3", - "devOptional": true + "dev": true }, "commander": { "version": "3.0.2", - "devOptional": true + "dev": true }, "escape-string-regexp": { "version": "1.0.5", - "devOptional": true + "dev": true }, "has-flag": { "version": "3.0.0", - "devOptional": true + "dev": true }, "supports-color": { "version": "5.5.0", - "devOptional": true, + "dev": true, "requires": { "has-flag": "^3.0.0" } diff --git a/package.json b/package.json index 4652ab5556b8..68b34d99618c 100644 --- a/package.json +++ b/package.json @@ -175,7 +175,7 @@ "bottleneck": "^2.19.5", "esm": "^3.2.25", "image-size": "^1.0.1", - "jest-puppeteer": "^5.0.4", + "jest-puppeteer": "^6.2.0", "puppeteer": "^9.1.1", "website-scraper": "^5.0.0" },