mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-11 19:58:15 +02:00
In order to use the PDF.js library in Node.js environments the `process.getBuiltinModule` functionality must be available, which was released in [version `20.16.0`](https://nodejs.org/en/blog/release/v20.16.0), however we've seen repeated issues filed by users on older `20.x` versions.
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"name": "pdf.js",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.10",
|
|
"@babel/preset-env": "^7.26.9",
|
|
"@babel/runtime": "^7.27.0",
|
|
"@fluent/bundle": "^0.19.0",
|
|
"@fluent/dom": "^0.10.1",
|
|
"@metalsmith/layouts": "^3.0.0",
|
|
"@metalsmith/markdown": "^1.10.0",
|
|
"@napi-rs/canvas": "^0.1.68",
|
|
"@types/node": "^22.13.14",
|
|
"autoprefixer": "^10.4.21",
|
|
"babel-loader": "^10.0.0",
|
|
"caniuse-lite": "^1.0.30001707",
|
|
"core-js": "^3.41.0",
|
|
"eslint": "^9.23.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-jasmine": "^4.2.2",
|
|
"eslint-plugin-json": "^4.0.1",
|
|
"eslint-plugin-no-unsanitized": "^4.1.2",
|
|
"eslint-plugin-perfectionist": "^4.10.1",
|
|
"eslint-plugin-prettier": "^5.2.5",
|
|
"eslint-plugin-unicorn": "^58.0.0",
|
|
"globals": "^16.0.0",
|
|
"gulp": "^5.0.0",
|
|
"gulp-cli": "^3.0.0",
|
|
"gulp-postcss": "^10.0.0",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-replace": "^1.1.4",
|
|
"gulp-zip": "^6.1.0",
|
|
"highlight.js": "^11.11.1",
|
|
"jasmine": "^5.6.0",
|
|
"jsdoc": "^4.0.4",
|
|
"jstransformer-nunjucks": "^1.2.0",
|
|
"metalsmith": "^2.6.3",
|
|
"metalsmith-html-relative": "^2.0.6",
|
|
"ordered-read-streams": "^2.0.0",
|
|
"pngjs": "^7.0.0",
|
|
"postcss": "^8.5.3",
|
|
"postcss-dark-theme-class": "^1.3.0",
|
|
"postcss-dir-pseudo-class": "^9.0.1",
|
|
"postcss-discard-comments": "^7.0.3",
|
|
"postcss-nesting": "^13.0.1",
|
|
"prettier": "^3.5.3",
|
|
"puppeteer": "^24.4.0",
|
|
"stylelint": "^16.17.0",
|
|
"stylelint-prettier": "^5.0.3",
|
|
"svglint": "^3.1.0",
|
|
"terser-webpack-plugin": "^5.3.14",
|
|
"tsc-alias": "^1.8.13",
|
|
"ttest": "^4.0.0",
|
|
"typescript": "^5.8.2",
|
|
"vinyl": "^3.0.0",
|
|
"webpack": "^5.98.0",
|
|
"webpack-stream": "^7.0.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.16.0"
|
|
},
|
|
"license": "Apache-2.0"
|
|
}
|