diff --git a/common/testing/BUILD.bazel b/common/testing/BUILD.bazel index 3bca7f59..77cad4f7 100644 --- a/common/testing/BUILD.bazel +++ b/common/testing/BUILD.bazel @@ -177,7 +177,7 @@ ts_library( deps = [ ":effects", "@npm//@types/node", - "@npm//@types/puppeteer", + "@npm//puppeteer", ], ) @@ -191,13 +191,12 @@ ts_library( ":puppeteer", "@npm//@types/jasmine", "@npm//@types/node", - "@npm//@types/puppeteer", + "@npm//puppeteer", ], ) jasmine_node_test( name = "puppeteer_test", - data = ["@npm//puppeteer"], deps = [":puppeteer_test_lib"], ) diff --git a/examples/components/BUILD.bazel b/examples/components/BUILD.bazel index 91d8d48b..b6a17a20 100644 --- a/examples/components/BUILD.bazel +++ b/examples/components/BUILD.bazel @@ -59,9 +59,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/custom_bundling/BUILD.bazel b/examples/custom_bundling/BUILD.bazel index 3c1536be..b712343a 100644 --- a/examples/custom_bundling/BUILD.bazel +++ b/examples/custom_bundling/BUILD.bazel @@ -82,9 +82,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/data/BUILD.bazel b/examples/data/BUILD.bazel index e58562f6..771bb49f 100644 --- a/examples/data/BUILD.bazel +++ b/examples/data/BUILD.bazel @@ -34,9 +34,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/minimal/BUILD.bazel b/examples/minimal/BUILD.bazel index bb13f3ed..e381c9ac 100644 --- a/examples/minimal/BUILD.bazel +++ b/examples/minimal/BUILD.bazel @@ -44,9 +44,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/multi_page/BUILD.bazel b/examples/multi_page/BUILD.bazel index b5b94f95..f1a6d392 100644 --- a/examples/multi_page/BUILD.bazel +++ b/examples/multi_page/BUILD.bazel @@ -49,10 +49,7 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/resources/BUILD.bazel b/examples/resources/BUILD.bazel index 62572099..6464c3e6 100644 --- a/examples/resources/BUILD.bazel +++ b/examples/resources/BUILD.bazel @@ -47,9 +47,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/scripts/BUILD.bazel b/examples/scripts/BUILD.bazel index cf9d4e49..738a3d23 100644 --- a/examples/scripts/BUILD.bazel +++ b/examples/scripts/BUILD.bazel @@ -36,9 +36,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/examples/site/home/BUILD.bazel b/examples/site/home/BUILD.bazel index 1fcc3c00..376cbb6d 100644 --- a/examples/site/home/BUILD.bazel +++ b/examples/site/home/BUILD.bazel @@ -29,15 +29,11 @@ ts_library( "//common/testing:devserver", "//common/testing:puppeteer", "@npm//@types/jasmine", - "@npm//@types/puppeteer", ], ) jasmine_node_test( name = "home_test", - data = [ - ":home_devserver", - "@npm//puppeteer", - ], + data = [":home_devserver"], deps = [":home_test_lib"], ) diff --git a/examples/styles/BUILD.bazel b/examples/styles/BUILD.bazel index 0b902535..b996382b 100644 --- a/examples/styles/BUILD.bazel +++ b/examples/styles/BUILD.bazel @@ -31,9 +31,6 @@ ts_library( jasmine_node_test( name = "test", - data = [ - ":devserver", - "@npm//puppeteer", - ], + data = [":devserver"], deps = [":test_lib"], ) diff --git a/package-lock.json b/package-lock.json index 4de0a1e9..622b62ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,11 +35,10 @@ "@bazel/typescript": "^3.0.0", "@types/jasmine": "^3.6.2", "@types/node": "^14.14.13", - "@types/puppeteer": "^5.4.2", "@types/yargs": "^15.0.11", "http-status-codes": "^2.1.4", "jasmine": "^3.6.3", - "puppeteer": "^5.5.0", + "puppeteer": "^8.0.0", "tree-kill": "^1.2.2", "typescript": "^3.9.7" }, @@ -354,15 +353,6 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.13.tgz", "integrity": "sha512-vbxr0VZ8exFMMAjCW8rJwaya0dMCDyYW2ZRdTyjtrCvJoENMpdUHOT/eTzvgyA5ZnqRZ/sI0NwqAxNHKYokLJQ==" }, - "node_modules/@types/puppeteer": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/@types/puppeteer/-/puppeteer-5.4.2.tgz", - "integrity": "sha512-yjbHoKjZFOGqA6bIEI2dfBE5UPqU0YGWzP+ipDVP1iGzmlhksVKTBVZfT3Aj3wnvmcJ2PQ9zcncwOwyavmafBw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/resolve": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", @@ -397,10 +387,13 @@ } }, "node_modules/agent-base": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", - "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, + "dependencies": { + "debug": "4" + }, "engines": { "node": ">= 6.0.0" } @@ -819,9 +812,9 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.818844", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz", - "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==", + "version": "0.0.854822", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.854822.tgz", + "integrity": "sha512-xd4D8kHQtB0KtWW0c9xBZD5LVtm9chkMOfs/3Yn01RhT/sFIsVtzTtypfKoFfWBaL+7xCYLxjOLkhwPXaX/Kcg==", "dev": true }, "node_modules/electron-to-chromium": { @@ -1041,16 +1034,16 @@ "dev": true }, "node_modules/https-proxy-agent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", - "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", "dev": true, "dependencies": { - "agent-base": "5", + "agent-base": "6", "debug": "4" }, "engines": { - "node": ">= 6.0.0" + "node": ">= 6" } }, "node_modules/ieee754": { @@ -1526,20 +1519,20 @@ } }, "node_modules/puppeteer": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-5.5.0.tgz", - "integrity": "sha512-OM8ZvTXAhfgFA7wBIIGlPQzvyEETzDjeRa4mZRCRHxYL+GNH5WAuYUQdja3rpWZvkX/JKqmuVgbsxDNsDFjMEg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-8.0.0.tgz", + "integrity": "sha512-D0RzSWlepeWkxPPdK3xhTcefj8rjah1791GE82Pdjsri49sy11ci/JQsAO8K2NRukqvwEtcI+ImP5F4ZiMvtIQ==", "dev": true, "hasInstallScript": true, "dependencies": { "debug": "^4.1.0", - "devtools-protocol": "0.0.818844", + "devtools-protocol": "0.0.854822", "extract-zip": "^2.0.0", - "https-proxy-agent": "^4.0.0", + "https-proxy-agent": "^5.0.0", "node-fetch": "^2.6.1", "pkg-dir": "^4.2.0", "progress": "^2.0.1", - "proxy-from-env": "^1.0.0", + "proxy-from-env": "^1.1.0", "rimraf": "^3.0.2", "tar-fs": "^2.0.0", "unbzip2-stream": "^1.3.3", @@ -2299,15 +2292,6 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.13.tgz", "integrity": "sha512-vbxr0VZ8exFMMAjCW8rJwaya0dMCDyYW2ZRdTyjtrCvJoENMpdUHOT/eTzvgyA5ZnqRZ/sI0NwqAxNHKYokLJQ==" }, - "@types/puppeteer": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/@types/puppeteer/-/puppeteer-5.4.2.tgz", - "integrity": "sha512-yjbHoKjZFOGqA6bIEI2dfBE5UPqU0YGWzP+ipDVP1iGzmlhksVKTBVZfT3Aj3wnvmcJ2PQ9zcncwOwyavmafBw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/resolve": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", @@ -2342,10 +2326,13 @@ } }, "agent-base": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz", - "integrity": "sha512-TMeqbNl2fMW0nMjTEPOwe3J/PRFP4vqeoNuQMG0HlMrtm5QxKqdvAkZ1pRBQ/ulIyDD5Yq0nJ7YbdD8ey0TO3g==", - "dev": true + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "requires": { + "debug": "4" + } }, "ansi-regex": { "version": "5.0.0", @@ -2692,9 +2679,9 @@ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" }, "devtools-protocol": { - "version": "0.0.818844", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.818844.tgz", - "integrity": "sha512-AD1hi7iVJ8OD0aMLQU5VK0XH9LDlA1+BcPIgrAxPfaibx2DbWucuyOhc4oyQCbnvDDO68nN6/LcKfqTP343Jjg==", + "version": "0.0.854822", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.854822.tgz", + "integrity": "sha512-xd4D8kHQtB0KtWW0c9xBZD5LVtm9chkMOfs/3Yn01RhT/sFIsVtzTtypfKoFfWBaL+7xCYLxjOLkhwPXaX/Kcg==", "dev": true }, "electron-to-chromium": { @@ -2870,12 +2857,12 @@ "dev": true }, "https-proxy-agent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz", - "integrity": "sha512-zoDhWrkR3of1l9QAL8/scJZyLu8j/gBkcwcaQOZh7Gyh/+uJQzGVETdgT30akuwkpL8HTRfssqI3BZuV18teDg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", "dev": true, "requires": { - "agent-base": "5", + "agent-base": "6", "debug": "4" } }, @@ -3269,19 +3256,19 @@ } }, "puppeteer": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-5.5.0.tgz", - "integrity": "sha512-OM8ZvTXAhfgFA7wBIIGlPQzvyEETzDjeRa4mZRCRHxYL+GNH5WAuYUQdja3rpWZvkX/JKqmuVgbsxDNsDFjMEg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-8.0.0.tgz", + "integrity": "sha512-D0RzSWlepeWkxPPdK3xhTcefj8rjah1791GE82Pdjsri49sy11ci/JQsAO8K2NRukqvwEtcI+ImP5F4ZiMvtIQ==", "dev": true, "requires": { "debug": "^4.1.0", - "devtools-protocol": "0.0.818844", + "devtools-protocol": "0.0.854822", "extract-zip": "^2.0.0", - "https-proxy-agent": "^4.0.0", + "https-proxy-agent": "^5.0.0", "node-fetch": "^2.6.1", "pkg-dir": "^4.2.0", "progress": "^2.0.1", - "proxy-from-env": "^1.0.0", + "proxy-from-env": "^1.1.0", "rimraf": "^3.0.2", "tar-fs": "^2.0.0", "unbzip2-stream": "^1.3.3", diff --git a/package.json b/package.json index 88da1668..ca5db0dd 100644 --- a/package.json +++ b/package.json @@ -51,11 +51,10 @@ "@bazel/typescript": "^3.0.0", "@types/jasmine": "^3.6.2", "@types/node": "^14.14.13", - "@types/puppeteer": "^5.4.2", "@types/yargs": "^15.0.11", "http-status-codes": "^2.1.4", "jasmine": "^3.6.3", - "puppeteer": "^5.5.0", + "puppeteer": "^8.0.0", "tree-kill": "^1.2.2", "typescript": "^3.9.7" },