mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-31 15:21:00 +02:00
This is a major version bump containing two breaking changes for us: - the `baseUrl` option is removed; - the `moduleResolution` option doesn't support `node10` (or the `node` alias) anymore. The migration guide at https://github.com/microsoft/TypeScript/issues/62508 indicates that we can remove `baseUrl` and change `moduleResolution` to `bundler` (the latter is consistent with what other projects do that are linked to the issue, and more details on that configuration option can be found at https://www.typescriptlang.org/tsconfig/#moduleResolution). Note that this is enough to get `npx gulp typestest` green and that is all validation we can do on our side, so as usual if any follow-up fixes for types are necessary we rely on the community to provide patches and extend the types test where possible to improve validation.
74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.29.0",
|
|
"@babel/preset-env": "^7.29.5",
|
|
"@babel/runtime": "^7.29.2",
|
|
"@eslint/json": "^1.2.0",
|
|
"@fluent/bundle": "^0.19.1",
|
|
"@fluent/dom": "^0.10.2",
|
|
"@metalsmith/layouts": "^3.0.0",
|
|
"@metalsmith/markdown": "^1.10.0",
|
|
"@napi-rs/canvas": "^1.0.0",
|
|
"@types/node": "^25.6.2",
|
|
"autoprefixer": "^10.5.0",
|
|
"babel-loader": "^10.1.1",
|
|
"babel-plugin-add-header-comment": "^1.0.3",
|
|
"babel-plugin-istanbul": "^8.0.0",
|
|
"cached-iterable": "^0.3.0",
|
|
"caniuse-lite": "^1.0.30001792",
|
|
"core-js": "^3.49.0",
|
|
"eslint": "^10.3.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-import-x": "^4.16.2",
|
|
"eslint-plugin-jasmine": "^4.2.2",
|
|
"eslint-plugin-no-unsanitized": "^4.1.5",
|
|
"eslint-plugin-perfectionist": "^5.9.0",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
"globals": "^17.6.0",
|
|
"gulp": "^5.0.1",
|
|
"gulp-cli": "^3.1.0",
|
|
"gulp-postcss": "^10.0.0",
|
|
"gulp-rename": "^2.1.0",
|
|
"gulp-replace": "^1.1.4",
|
|
"gulp-zip": "^6.1.0",
|
|
"highlight.js": "^11.11.1",
|
|
"istanbul-lib-coverage": "^3.2.2",
|
|
"istanbul-lib-report": "^3.0.1",
|
|
"istanbul-reports": "^3.2.0",
|
|
"jasmine": "^6.2.0",
|
|
"jsdoc": "^4.0.5",
|
|
"jstransformer-nunjucks": "^1.2.0",
|
|
"kleur": "^4.1.5",
|
|
"metalsmith": "^2.7.0",
|
|
"metalsmith-html-relative": "^2.0.12",
|
|
"ordered-read-streams": "^2.0.0",
|
|
"pngjs": "^7.0.0",
|
|
"postcss": "^8.5.14",
|
|
"postcss-discard-comments": "^8.0.0",
|
|
"postcss-values-parser": "^7.0.0",
|
|
"prettier": "^3.8.3",
|
|
"puppeteer": "^24.43.1",
|
|
"stylelint": "^17.11.0",
|
|
"stylelint-prettier": "^5.0.3",
|
|
"svglint": "^4.2.1",
|
|
"terser-webpack-plugin": "^5.6.0",
|
|
"tsc-alias": "^1.8.17",
|
|
"ttest": "^4.0.0",
|
|
"typescript": "^6.0.3",
|
|
"vinyl": "^3.0.1",
|
|
"webpack": "^5.106.2",
|
|
"webpack-stream": "^7.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.13.0 || >=24"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|