mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-05-31 23:31:02 +02:00
Enable the recommended preset and fix or per-line-disable the 78 findings it surfaces. Most are equivalent rewrites, intentional patterns (control chars, the whatwg email regex, autolinker URL regex) keep their behavior via targeted disables.
75 lines
2.1 KiB
JSON
75 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.9.1",
|
|
"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.30001793",
|
|
"core-js": "^3.49.0",
|
|
"eslint": "^10.4.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-regexp": "^3.1.0",
|
|
"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.15",
|
|
"postcss-discard-comments": "^8.0.0",
|
|
"postcss-values-parser": "^8.0.0",
|
|
"prettier": "^3.8.3",
|
|
"puppeteer": "^24.43.1",
|
|
"stylelint": "^17.12.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.107.1",
|
|
"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"
|
|
}
|