pdf.js/package.json
Jonas Jenwald e0dba504d2 Fix broken/missing JSDocs and typedefs, to allow updating TypeScript to the latest version (issue 14342)
This patch circumvents the issues seen when trying to update TypeScript to version `4.5`, by "simply" fixing the broken/missing JSDocs and `typedef`s such that `gulp typestest` now passes.
As always, given that I don't really know anything about TypeScript, I cannot tell if this is a "correct" and/or proper way of doing things; we'll need TypeScript users to help out with testing!

*Please note:* I'm sorry about the size of this patch, but given how intertwined all of this unfortunately is it just didn't seem easy to split this into smaller parts.
However, one good thing about this TypeScript update is that it helped uncover a number of pre-existing bugs in our JSDocs comments.
2021-12-15 23:14:25 +01:00

74 lines
2.1 KiB
JSON

{
"name": "pdf.js",
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/runtime": "^7.16.3",
"@javascript-obfuscator/escodegen": "2.2.2",
"acorn": "^8.6.0",
"autoprefixer": "^10.4.0",
"babel-loader": "^8.2.3",
"canvas": "^2.8.0",
"core-js": "^3.19.3",
"cross-env": "^7.0.3",
"dommatrix": "^0.0.24",
"es-module-shims": "^1.3.6",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-fetch-options": "^0.0.5",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mozilla": "^2.11.1",
"eslint-plugin-no-unsanitized": "^4.0.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sort-exports": "^0.6.0",
"eslint-plugin-unicorn": "^39.0.0",
"globals": "^13.12.0",
"gulp": "^4.0.2",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-zip": "^5.1.0",
"jasmine": "^3.10.0",
"jsdoc": "^3.6.7",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^2.0.0",
"mkdirp": "^1.0.4",
"needle": "^3.0.0",
"postcss": "^8.4.4",
"postcss-calc": "^8.0.0",
"prettier": "^2.5.1",
"puppeteer": "^13.0.0",
"rimraf": "^3.0.2",
"streamqueue": "^1.1.2",
"stylelint": "^14.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-prettier": "^2.0.0",
"systemjs": "^0.21.6",
"systemjs-plugin-babel": "^0.0.25",
"terser": "^5.10.0",
"through2": "^4.0.2",
"ttest": "^3.0.0",
"typescript": "^4.5.4",
"typogr": "^0.6.8",
"vinyl": "^2.2.1",
"vinyl-fs": "^3.0.3",
"web-streams-polyfill": "^3.2.0",
"webpack": "^5.65.0",
"webpack-stream": "^7.0.0",
"wintersmith": "^2.5.0",
"yargs": "^17.3.0"
},
"scripts": {
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js"
},
"repository": {
"type": "git",
"url": "git://github.com/mozilla/pdf.js.git"
},
"license": "Apache-2.0"
}