2013-02-02 01:36:58 +09:00
|
|
|
{
|
|
|
|
"name": "pdf.js",
|
2014-04-11 02:01:51 +09:00
|
|
|
"devDependencies": {
|
2023-04-16 05:08:58 +09:00
|
|
|
"@babel/core": "^7.21.4",
|
2023-03-12 18:27:52 +09:00
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
|
2023-04-16 05:08:58 +09:00
|
|
|
"@babel/preset-env": "^7.21.4",
|
2023-03-12 18:27:52 +09:00
|
|
|
"@babel/runtime": "^7.21.0",
|
Update the `@javascript-obfuscator/escodegen` package to the latest version
The only changes are support for [Class static initialization blocks](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Class_static_initialization_blocks), and the diff for the `node_modules\@javascript-obfuscator\escodegen\escodegen.js` file contains only:
```diff
@@ -1506,6 +1506,13 @@
return result;
},
+ StaticBlock: function (stmt, flags) {
+ return [
+ 'static' + space,
+ this.BlockStatement(stmt, flags)
+ ];
+ },
+
ThrowStatement: function (stmt, flags) {
return [join(
'throw',
```
2022-02-06 19:26:07 +09:00
|
|
|
"@javascript-obfuscator/escodegen": "2.3.0",
|
2023-01-28 16:13:13 +09:00
|
|
|
"acorn": "^8.8.2",
|
2023-03-12 18:27:52 +09:00
|
|
|
"autoprefixer": "^10.4.14",
|
2023-01-15 18:34:56 +09:00
|
|
|
"babel-loader": "^9.1.2",
|
2023-04-23 20:48:22 +09:00
|
|
|
"caniuse-lite": "^1.0.30001481",
|
2023-04-16 05:08:58 +09:00
|
|
|
"canvas": "^2.11.2",
|
|
|
|
"core-js": "^3.30.1",
|
2020-12-13 19:38:37 +09:00
|
|
|
"cross-env": "^7.0.3",
|
2022-05-01 21:02:43 +09:00
|
|
|
"es-module-shims": "1.4.7",
|
2023-04-23 20:48:22 +09:00
|
|
|
"eslint": "^8.39.0",
|
2023-03-25 17:41:15 +09:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
2019-09-07 19:37:13 +09:00
|
|
|
"eslint-plugin-fetch-options": "^0.0.5",
|
2022-08-07 17:20:21 +09:00
|
|
|
"eslint-plugin-html": "^7.1.0",
|
2023-01-28 16:13:13 +09:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2021-08-08 17:45:36 +09:00
|
|
|
"eslint-plugin-json": "^3.1.0",
|
2023-04-20 23:09:13 +09:00
|
|
|
"eslint-plugin-mozilla": "^3.1.0",
|
2022-11-27 18:18:30 +09:00
|
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
2022-07-10 17:43:08 +09:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2022-11-14 05:28:21 +09:00
|
|
|
"eslint-plugin-sort-exports": "^0.8.0",
|
2023-03-12 18:27:52 +09:00
|
|
|
"eslint-plugin-unicorn": "^46.0.0",
|
2022-07-07 06:02:53 +09:00
|
|
|
"fit-curve": "^0.2.0",
|
2023-02-11 18:24:22 +09:00
|
|
|
"globals": "^13.20.0",
|
2019-05-25 23:36:42 +09:00
|
|
|
"gulp": "^4.0.2",
|
2021-09-05 16:47:57 +09:00
|
|
|
"gulp-postcss": "^9.0.1",
|
2020-10-05 01:53:43 +09:00
|
|
|
"gulp-rename": "^2.0.0",
|
2022-12-25 20:26:23 +09:00
|
|
|
"gulp-replace": "^1.1.4",
|
2021-03-21 19:00:02 +09:00
|
|
|
"gulp-zip": "^5.1.0",
|
2023-03-25 17:41:15 +09:00
|
|
|
"jasmine": "^4.6.0",
|
2023-03-12 18:27:52 +09:00
|
|
|
"jsdoc": "^4.0.2",
|
2022-10-02 01:02:00 +09:00
|
|
|
"jstransformer-markdown-it": "^3.0.0",
|
2020-10-05 01:53:43 +09:00
|
|
|
"merge-stream": "^2.0.0",
|
2023-04-23 20:57:44 +09:00
|
|
|
"mkdirp": "^3.0.0",
|
2022-11-27 18:18:30 +09:00
|
|
|
"needle": "^3.2.0",
|
2023-01-23 01:01:06 +09:00
|
|
|
"path2d-polyfill": "^2.0.1",
|
2023-04-23 20:48:22 +09:00
|
|
|
"postcss": "^8.4.23",
|
2023-02-11 18:24:22 +09:00
|
|
|
"postcss-dir-pseudo-class": "^7.0.2",
|
2023-04-23 20:48:22 +09:00
|
|
|
"prettier": "^2.8.8",
|
2022-10-16 16:09:38 +09:00
|
|
|
"puppeteer": "^19.0.0",
|
2023-03-07 03:47:18 +09:00
|
|
|
"rimraf": "^3.0.2",
|
2018-01-31 23:51:03 +09:00
|
|
|
"streamqueue": "^1.1.2",
|
2023-04-23 20:48:22 +09:00
|
|
|
"stylelint": "^15.6.0",
|
2023-03-12 18:27:52 +09:00
|
|
|
"stylelint-prettier": "^3.0.0",
|
2023-04-23 20:48:22 +09:00
|
|
|
"terser": "^5.17.1",
|
2020-10-05 01:53:43 +09:00
|
|
|
"through2": "^4.0.2",
|
2022-04-02 23:19:17 +09:00
|
|
|
"ttest": "^4.0.0",
|
2023-04-16 18:29:38 +09:00
|
|
|
"typescript": "^5.0.4",
|
2018-07-01 03:39:31 +09:00
|
|
|
"typogr": "^0.6.8",
|
2022-10-02 01:02:00 +09:00
|
|
|
"vinyl": "^3.0.0",
|
2018-05-20 21:21:08 +09:00
|
|
|
"vinyl-fs": "^3.0.3",
|
2023-04-23 20:48:22 +09:00
|
|
|
"webpack": "^5.80.0",
|
2021-09-05 16:58:59 +09:00
|
|
|
"webpack-stream": "^7.0.0",
|
2018-11-25 05:00:22 +09:00
|
|
|
"wintersmith": "^2.5.0",
|
2023-03-12 18:27:52 +09:00
|
|
|
"yargs": "^17.7.1"
|
2014-04-11 02:01:51 +09:00
|
|
|
},
|
2013-02-02 01:36:58 +09:00
|
|
|
"scripts": {
|
2021-08-27 23:07:07 +09:00
|
|
|
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js"
|
2013-02-02 01:36:58 +09:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/mozilla/pdf.js.git"
|
2013-03-27 17:16:40 +09:00
|
|
|
},
|
2023-03-07 20:03:45 +09:00
|
|
|
"engines": {
|
2023-04-05 17:40:19 +09:00
|
|
|
"node": ">=18"
|
2023-03-07 20:03:45 +09:00
|
|
|
},
|
2015-07-01 12:20:48 +09:00
|
|
|
"license": "Apache-2.0"
|
2013-02-02 01:36:58 +09:00
|
|
|
}
|