1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #18506 from timvandermeij/updates

Update dependencies to the most recent versions
This commit is contained in:
Tim van der Meij 2024-07-28 19:56:54 +02:00 committed by GitHub
commit 582866ee50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 258 additions and 390 deletions

622
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -2,9 +2,9 @@
"name": "pdf.js",
"type": "module",
"devDependencies": {
"@babel/core": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@babel/runtime": "^7.24.8",
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.25.0",
"@babel/runtime": "^7.25.0",
"@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.10.0",
"@jazzer.js/core": "^2.1.0",
@ -12,7 +12,7 @@
"@metalsmith/markdown": "^1.10.0",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"caniuse-lite": "^1.0.30001641",
"caniuse-lite": "^1.0.30001643",
"canvas": "^2.11.2",
"core-js": "^3.37.1",
"cross-env": "^7.0.3",
@ -25,9 +25,9 @@
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mozilla": "^3.7.4",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-sort-exports": "^0.9.1",
"eslint-plugin-unicorn": "^54.0.0",
"eslint-plugin-unicorn": "^55.0.0",
"globals": "^15.8.0",
"gulp": "^5.0.0",
"gulp-cli": "^3.0.0",
@ -36,7 +36,7 @@
"gulp-replace": "^1.1.4",
"gulp-zip": "^6.0.0",
"highlight.js": "^11.10.0",
"jasmine": "^5.1.0",
"jasmine": "^5.2.0",
"jsdoc": "^4.0.3",
"jstransformer-nunjucks": "^1.2.0",
"metalsmith": "^2.6.3",
@ -44,19 +44,19 @@
"ordered-read-streams": "^2.0.0",
"path2d": "^0.2.1",
"pngjs": "^7.0.0",
"postcss": "^8.4.39",
"postcss": "^8.4.40",
"postcss-dark-theme-class": "^1.3.0",
"postcss-dir-pseudo-class": "^8.0.1",
"postcss-discard-comments": "^7.0.1",
"postcss-nesting": "^12.1.5",
"prettier": "^3.3.3",
"puppeteer": "^22.13.0",
"puppeteer": "^22.14.0",
"stylelint": "^16.7.0",
"stylelint-prettier": "^5.0.0",
"stylelint-prettier": "^5.0.2",
"terser-webpack-plugin": "^5.3.10",
"tsc-alias": "^1.8.10",
"ttest": "^4.0.0",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"vinyl": "^3.0.0",
"webpack": "^5.93.0",
"webpack-stream": "^7.0.0",

View file

@ -904,6 +904,10 @@ async function startBrowser({
const printFile = path.join(tempDir, "print.pdf");
if (browserName === "chrome") {
// Run tests with the CDP protocol for Chrome only given that the Linux bot
// crashes with timeouts or OOM if WebDriver BiDi is used (issue #17961).
options.protocol = "cdp";
// avoid crash
options.args = ["--no-sandbox", "--disable-setuid-sandbox"];
// silent printing in a pdf