pdf.js/package.json
Jonas Jenwald 0ee373f9cc Replace the bundled ReadableStream polyfill with the web-streams-polyfill npm package (issue 11157)
Compared to the recently replaced `URL` polyfill, the new `ReadableStream` polyfill isn't being exported globally for two reasons:
 - We're currently checking for the existence of a global `ReadableStream` implementation when determining if the Fetch API will be used; please see `isFetchSupported` in the src/display/display_utils.js file.
 - Given that it's much newer functionality (compared to `URL`) and that not all browsers may implement all parts of the specification yet, not exposing the `ReadableStream` globally seems safer for now.
2019-09-23 22:16:59 +02:00

65 lines
1.8 KiB
JSON

{
"name": "pdf.js",
"version": "2.0.0",
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/runtime": "^7.6.0",
"acorn": "^6.3.0",
"autoprefixer": "^9.6.1",
"babel-loader": "^8.0.6",
"canvas": "^2.6.0",
"core-js": "^3.2.1",
"escodegen": "^1.12.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-fetch-options": "^0.0.5",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mozilla": "^2.1.0",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-unicorn": "^10.0.0",
"fancy-log": "^1.3.3",
"globals": "^11.12.0",
"gulp": "^4.0.2",
"gulp-postcss": "^8.0.0",
"gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
"gulp-transform": "^3.0.5",
"gulp-zip": "^4.2.0",
"jasmine": "^3.5.0",
"jasmine-core": "^3.5.0",
"jsdoc": "^3.6.3",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^1.0.1",
"mkdirp": "^0.5.1",
"node-ensure": "^0.0.0",
"prettier": "^1.18.2",
"rimraf": "^2.7.1",
"streamqueue": "^1.1.2",
"systemjs": "^0.21.6",
"systemjs-plugin-babel": "^0.0.25",
"terser": "^4.3.1",
"ttest": "^2.1.0",
"typogr": "^0.6.8",
"vinyl": "^2.2.0",
"vinyl-fs": "^3.0.3",
"web-streams-polyfill": "^2.0.4",
"webpack": "^4.40.2",
"webpack-stream": "^4.0.3",
"wintersmith": "^2.5.0",
"yargs": "^11.1.0"
},
"scripts": {
"test": "env SKIP_BABEL=true gulp lint unittestcli externaltest"
},
"repository": {
"type": "git",
"url": "git://github.com/mozilla/pdf.js.git"
},
"license": "Apache-2.0"
}