a9093a7f4d
The original `trimCache` functionality was intended to be exposed on the top-level `puppeteer` module, but due to a bug in Puppeteer this didn't work correctly and we had to call `trimCache` on the default Puppeteer node instance instead, which was fortunately exposed. However, since this didn't feel like intended API usage, this bug was reported and is now fixed in Puppeteer 20.5.0, so this commits updates Puppeteer to that version so we can use the intended API. The full history of this issue can be found at https://github.com/puppeteer/puppeteer/issues/10174.
73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.1",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.21.5",
|
|
"@babel/preset-env": "^7.22.2",
|
|
"@babel/runtime": "^7.22.3",
|
|
"@javascript-obfuscator/escodegen": "2.3.0",
|
|
"acorn": "^8.8.2",
|
|
"autoprefixer": "^10.4.14",
|
|
"babel-loader": "^9.1.2",
|
|
"caniuse-lite": "^1.0.30001489",
|
|
"canvas": "^2.11.2",
|
|
"core-js": "^3.30.2",
|
|
"cross-env": "^7.0.3",
|
|
"es-module-shims": "1.4.7",
|
|
"eslint": "^8.41.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-plugin-fetch-options": "^0.0.5",
|
|
"eslint-plugin-html": "^7.1.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-mozilla": "^3.1.0",
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-sort-exports": "^0.8.0",
|
|
"eslint-plugin-unicorn": "^47.0.0",
|
|
"globals": "^13.20.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-postcss": "^9.0.1",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-replace": "^1.1.4",
|
|
"gulp-zip": "^5.1.0",
|
|
"jasmine": "^5.0.0",
|
|
"jsdoc": "^4.0.2",
|
|
"jstransformer-markdown-it": "^3.0.0",
|
|
"merge-stream": "^2.0.0",
|
|
"mkdirp": "^3.0.1",
|
|
"needle": "^3.2.0",
|
|
"path2d-polyfill": "^2.0.1",
|
|
"postcss": "^8.4.23",
|
|
"postcss-dir-pseudo-class": "^7.0.2",
|
|
"prettier": "^2.8.8",
|
|
"puppeteer": "^20.5.0",
|
|
"rimraf": "^3.0.2",
|
|
"streamqueue": "^1.1.2",
|
|
"stylelint": "^15.6.2",
|
|
"stylelint-prettier": "^3.0.0",
|
|
"terser": "^5.17.6",
|
|
"through2": "^4.0.2",
|
|
"ttest": "^4.0.0",
|
|
"typescript": "^5.0.4",
|
|
"typogr": "^0.6.8",
|
|
"vinyl": "^3.0.0",
|
|
"vinyl-fs": "^3.0.3",
|
|
"webpack": "^5.84.1",
|
|
"webpack-stream": "^7.0.0",
|
|
"wintersmith": "^2.5.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|