chore: update dependencies (#10958)

Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
This commit is contained in:
jrandolf 2023-09-20 16:13:32 +02:00 committed by GitHub
parent ce5461d0d5
commit 7aa3063acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 276 additions and 1079 deletions

1287
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -117,36 +117,37 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@actions/core": "1.10.0", "@actions/core": "1.10.1",
"@microsoft/api-documenter": "7.22.33", "@microsoft/api-documenter": "7.23.1",
"@microsoft/api-extractor": "7.36.4", "@microsoft/api-extractor": "7.37.0",
"@microsoft/api-extractor-model": "7.27.6", "@microsoft/api-extractor-model": "7.28.0",
"@pptr/testserver": "file:packages/testserver", "@pptr/testserver": "file:packages/testserver",
"@prettier/sync": "0.3.0", "@prettier/sync": "0.3.0",
"@rollup/plugin-commonjs": "25.0.4", "@rollup/plugin-commonjs": "25.0.4",
"@rollup/plugin-node-resolve": "15.2.1", "@rollup/plugin-node-resolve": "15.2.1",
"@rollup/plugin-terser": "0.4.3", "@rollup/plugin-terser": "0.4.3",
"@types/debug": "4.1.8", "@types/debug": "4.1.8",
"@types/diff": "5.0.3", "@types/diff": "5.0.4",
"@types/mime": "3.0.1", "@types/mime": "3.0.1",
"@types/mocha": "10.0.1", "@types/mocha": "10.0.1",
"@types/node": "18.17.15", "@types/node": "20.6.3",
"@types/pixelmatch": "5.2.4", "@types/pixelmatch": "5.2.4",
"@types/pngjs": "6.0.1", "@types/pngjs": "6.0.1",
"@types/progress": "2.0.5", "@types/progress": "2.0.5",
"@types/semver": "7.5.1", "@types/semver": "7.5.2",
"@types/sinon": "10.0.16", "@types/sinon": "10.0.16",
"@types/tar-fs": "2.0.1", "@types/tar-fs": "2.0.2",
"@types/unbzip2-stream": "1.4.1", "@types/unbzip2-stream": "1.4.1",
"@types/ws": "8.5.5", "@types/ws": "8.5.5",
"@typescript-eslint/eslint-plugin": "6.5.0", "@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.5.0", "@typescript-eslint/parser": "6.7.2",
"@types/yargs": "17.0.24",
"c8": "8.0.1", "c8": "8.0.1",
"commonmark": "0.30.0", "commonmark": "0.30.0",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"diff": "5.1.0", "diff": "5.1.0",
"esbuild": "0.19.2", "esbuild": "0.19.3",
"eslint": "8.48.0", "eslint": "8.49.0",
"eslint-config-prettier": "9.0.0", "eslint-config-prettier": "9.0.0",
"eslint-formatter-codeframe": "7.32.1", "eslint-formatter-codeframe": "7.32.1",
"eslint-plugin-import": "2.28.1", "eslint-plugin-import": "2.28.1",
@ -156,7 +157,7 @@
"eslint-plugin-tsdoc": "0.2.17", "eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-unused-imports": "3.0.0", "eslint-plugin-unused-imports": "3.0.0",
"esprima": "4.0.1", "esprima": "4.0.1",
"expect": "29.6.4", "expect": "29.7.0",
"glob": "10.3.4", "glob": "10.3.4",
"gts": "5.0.1", "gts": "5.0.1",
"jpeg-js": "0.4.4", "jpeg-js": "0.4.4",
@ -170,17 +171,17 @@
"pngjs": "7.0.0", "pngjs": "7.0.0",
"prettier": "3.0.3", "prettier": "3.0.3",
"puppeteer": "file:packages/puppeteer", "puppeteer": "file:packages/puppeteer",
"rollup": "3.28.1", "rollup": "3.29.2",
"rollup-plugin-polyfill-node": "0.12.0", "rollup-plugin-polyfill-node": "0.12.0",
"semver": "7.5.4", "semver": "7.5.4",
"sinon": "15.2.0", "sinon": "16.0.0",
"source-map-support": "0.5.21", "source-map-support": "0.5.21",
"spdx-satisfies": "5.0.1", "spdx-satisfies": "5.0.1",
"text-diff": "1.0.1", "text-diff": "1.0.1",
"tsd": "0.29.0", "tsd": "0.29.0",
"tsx": "3.12.8", "tsx": "3.12.10",
"typescript": "5.2.2", "typescript": "5.2.2",
"wireit": "0.13.0", "wireit": "0.14.0",
"zod": "3.22.2" "zod": "3.22.2"
}, },
"overrides": { "overrides": {

View File

@ -103,9 +103,6 @@
"proxy-agent": "6.3.1", "proxy-agent": "6.3.1",
"tar-fs": "3.0.4", "tar-fs": "3.0.4",
"unbzip2-stream": "1.4.3", "unbzip2-stream": "1.4.3",
"yargs": "17.7.1" "yargs": "17.7.2"
},
"devDependencies": {
"@types/yargs": "17.0.22"
} }
} }

View File

@ -141,7 +141,7 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@puppeteer/browsers": "1.7.1", "@puppeteer/browsers": "1.7.1",
"chromium-bidi": "0.4.27", "chromium-bidi": "0.4.28",
"cross-fetch": "4.0.0", "cross-fetch": "4.0.0",
"debug": "4.3.4", "debug": "4.3.4",
"devtools-protocol": "0.0.1179426", "devtools-protocol": "0.0.1179426",
@ -150,6 +150,7 @@
"devDependencies": { "devDependencies": {
"mitt": "3.0.1", "mitt": "3.0.1",
"parsel-js": "1.1.2", "parsel-js": "1.1.2",
"rxjs": "7.8.1" "rxjs": "7.8.1",
"@types/node": "18.17.15"
} }
} }

View File

@ -124,5 +124,8 @@
"cosmiconfig": "8.3.6", "cosmiconfig": "8.3.6",
"puppeteer-core": "21.3.1", "puppeteer-core": "21.3.1",
"@puppeteer/browsers": "1.7.1" "@puppeteer/browsers": "1.7.1"
},
"devDependencies": {
"@types/node": "18.17.15"
} }
} }

View File

@ -24,7 +24,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@swc/core": "1.3.85", "@swc/core": "1.3.86",
"acorn": "8.10.0", "acorn": "8.10.0",
"doctrine": "3.0.0", "doctrine": "3.0.0",
"glob": "10.3.4", "glob": "10.3.4",
@ -35,7 +35,6 @@
}, },
"devDependencies": { "devDependencies": {
"@types/doctrine": "0.0.6", "@types/doctrine": "0.0.6",
"@types/node": "20.6.2",
"@types/source-map-support": "0.5.7" "@types/source-map-support": "0.5.7"
} }
} }

View File

@ -27,16 +27,21 @@
* - `node install-browser.mjs` * - `node install-browser.mjs`
* - `node install-browser.mjs /tmp/cache` * - `node install-browser.mjs /tmp/cache`
*/ */
import {readFile} from 'node:fs/promises';
import fs from 'fs/promises'; import {createRequire} from 'node:module';
import actions from '@actions/core'; import actions from '@actions/core';
import {install, computeExecutablePath} from '@puppeteer/browsers'; import {computeExecutablePath, install} from '@puppeteer/browsers';
const require = createRequire(import.meta.url);
try { try {
const browserSpec = ( const browserSpec = await readFile(
await fs.readFile('node_modules/chromium-bidi/.browser', 'utf-8') require.resolve('chromium-bidi/.browser', {
).trim(); paths: [require.resolve('puppeteer-core')],
}),
'utf-8'
);
const cacheDir = process.argv[2] || process.cwd(); const cacheDir = process.argv[2] || process.cwd();
// See .browser for the format. // See .browser for the format.
const browser = browserSpec.split('@')[0]; const browser = browserSpec.split('@')[0];