mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: update dependencies (#10958)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
This commit is contained in:
parent
ce5461d0d5
commit
7aa3063acd
1287
package-lock.json
generated
1287
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
35
package.json
35
package.json
@ -117,36 +117,37 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@actions/core": "1.10.0",
|
||||
"@microsoft/api-documenter": "7.22.33",
|
||||
"@microsoft/api-extractor": "7.36.4",
|
||||
"@microsoft/api-extractor-model": "7.27.6",
|
||||
"@actions/core": "1.10.1",
|
||||
"@microsoft/api-documenter": "7.23.1",
|
||||
"@microsoft/api-extractor": "7.37.0",
|
||||
"@microsoft/api-extractor-model": "7.28.0",
|
||||
"@pptr/testserver": "file:packages/testserver",
|
||||
"@prettier/sync": "0.3.0",
|
||||
"@rollup/plugin-commonjs": "25.0.4",
|
||||
"@rollup/plugin-node-resolve": "15.2.1",
|
||||
"@rollup/plugin-terser": "0.4.3",
|
||||
"@types/debug": "4.1.8",
|
||||
"@types/diff": "5.0.3",
|
||||
"@types/diff": "5.0.4",
|
||||
"@types/mime": "3.0.1",
|
||||
"@types/mocha": "10.0.1",
|
||||
"@types/node": "18.17.15",
|
||||
"@types/node": "20.6.3",
|
||||
"@types/pixelmatch": "5.2.4",
|
||||
"@types/pngjs": "6.0.1",
|
||||
"@types/progress": "2.0.5",
|
||||
"@types/semver": "7.5.1",
|
||||
"@types/semver": "7.5.2",
|
||||
"@types/sinon": "10.0.16",
|
||||
"@types/tar-fs": "2.0.1",
|
||||
"@types/tar-fs": "2.0.2",
|
||||
"@types/unbzip2-stream": "1.4.1",
|
||||
"@types/ws": "8.5.5",
|
||||
"@typescript-eslint/eslint-plugin": "6.5.0",
|
||||
"@typescript-eslint/parser": "6.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "6.7.2",
|
||||
"@typescript-eslint/parser": "6.7.2",
|
||||
"@types/yargs": "17.0.24",
|
||||
"c8": "8.0.1",
|
||||
"commonmark": "0.30.0",
|
||||
"cross-env": "7.0.3",
|
||||
"diff": "5.1.0",
|
||||
"esbuild": "0.19.2",
|
||||
"eslint": "8.48.0",
|
||||
"esbuild": "0.19.3",
|
||||
"eslint": "8.49.0",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
"eslint-formatter-codeframe": "7.32.1",
|
||||
"eslint-plugin-import": "2.28.1",
|
||||
@ -156,7 +157,7 @@
|
||||
"eslint-plugin-tsdoc": "0.2.17",
|
||||
"eslint-plugin-unused-imports": "3.0.0",
|
||||
"esprima": "4.0.1",
|
||||
"expect": "29.6.4",
|
||||
"expect": "29.7.0",
|
||||
"glob": "10.3.4",
|
||||
"gts": "5.0.1",
|
||||
"jpeg-js": "0.4.4",
|
||||
@ -170,17 +171,17 @@
|
||||
"pngjs": "7.0.0",
|
||||
"prettier": "3.0.3",
|
||||
"puppeteer": "file:packages/puppeteer",
|
||||
"rollup": "3.28.1",
|
||||
"rollup": "3.29.2",
|
||||
"rollup-plugin-polyfill-node": "0.12.0",
|
||||
"semver": "7.5.4",
|
||||
"sinon": "15.2.0",
|
||||
"sinon": "16.0.0",
|
||||
"source-map-support": "0.5.21",
|
||||
"spdx-satisfies": "5.0.1",
|
||||
"text-diff": "1.0.1",
|
||||
"tsd": "0.29.0",
|
||||
"tsx": "3.12.8",
|
||||
"tsx": "3.12.10",
|
||||
"typescript": "5.2.2",
|
||||
"wireit": "0.13.0",
|
||||
"wireit": "0.14.0",
|
||||
"zod": "3.22.2"
|
||||
},
|
||||
"overrides": {
|
||||
|
@ -103,9 +103,6 @@
|
||||
"proxy-agent": "6.3.1",
|
||||
"tar-fs": "3.0.4",
|
||||
"unbzip2-stream": "1.4.3",
|
||||
"yargs": "17.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/yargs": "17.0.22"
|
||||
"yargs": "17.7.2"
|
||||
}
|
||||
}
|
||||
|
@ -141,7 +141,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "1.7.1",
|
||||
"chromium-bidi": "0.4.27",
|
||||
"chromium-bidi": "0.4.28",
|
||||
"cross-fetch": "4.0.0",
|
||||
"debug": "4.3.4",
|
||||
"devtools-protocol": "0.0.1179426",
|
||||
@ -150,6 +150,7 @@
|
||||
"devDependencies": {
|
||||
"mitt": "3.0.1",
|
||||
"parsel-js": "1.1.2",
|
||||
"rxjs": "7.8.1"
|
||||
"rxjs": "7.8.1",
|
||||
"@types/node": "18.17.15"
|
||||
}
|
||||
}
|
||||
|
@ -124,5 +124,8 @@
|
||||
"cosmiconfig": "8.3.6",
|
||||
"puppeteer-core": "21.3.1",
|
||||
"@puppeteer/browsers": "1.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "18.17.15"
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@swc/core": "1.3.85",
|
||||
"@swc/core": "1.3.86",
|
||||
"acorn": "8.10.0",
|
||||
"doctrine": "3.0.0",
|
||||
"glob": "10.3.4",
|
||||
@ -35,7 +35,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/doctrine": "0.0.6",
|
||||
"@types/node": "20.6.2",
|
||||
"@types/source-map-support": "0.5.7"
|
||||
}
|
||||
}
|
||||
|
@ -27,16 +27,21 @@
|
||||
* - `node install-browser.mjs`
|
||||
* - `node install-browser.mjs /tmp/cache`
|
||||
*/
|
||||
|
||||
import fs from 'fs/promises';
|
||||
import {readFile} from 'node:fs/promises';
|
||||
import {createRequire} from 'node:module';
|
||||
|
||||
import actions from '@actions/core';
|
||||
import {install, computeExecutablePath} from '@puppeteer/browsers';
|
||||
import {computeExecutablePath, install} from '@puppeteer/browsers';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
try {
|
||||
const browserSpec = (
|
||||
await fs.readFile('node_modules/chromium-bidi/.browser', 'utf-8')
|
||||
).trim();
|
||||
const browserSpec = await readFile(
|
||||
require.resolve('chromium-bidi/.browser', {
|
||||
paths: [require.resolve('puppeteer-core')],
|
||||
}),
|
||||
'utf-8'
|
||||
);
|
||||
const cacheDir = process.argv[2] || process.cwd();
|
||||
// See .browser for the format.
|
||||
const browser = browserSpec.split('@')[0];
|
||||
|
Loading…
Reference in New Issue
Block a user