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',
```
This commit is contained in:
Jonas Jenwald 2022-02-06 11:26:07 +01:00
parent 5f7b96c957
commit 38f6e675bc
2 changed files with 25 additions and 13 deletions

36
package-lock.json generated
View File

@ -13,7 +13,7 @@
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.17.0",
"@javascript-obfuscator/escodegen": "2.2.2",
"@javascript-obfuscator/escodegen": "2.3.0",
"acorn": "^8.7.0",
"autoprefixer": "^10.4.2",
"babel-loader": "^8.2.3",
@ -1968,9 +1968,9 @@
"dev": true
},
"node_modules/@javascript-obfuscator/escodegen": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/@javascript-obfuscator/escodegen/-/escodegen-2.2.2.tgz",
"integrity": "sha512-0VoGJun/lpGEPv8J8R8fpwt1iAGyctUjHTQoYoCbKY2rcGc6d+NycrqSMo61vRXhZiTnHgud1UF8dOI7UAPdTw==",
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@javascript-obfuscator/escodegen/-/escodegen-2.3.0.tgz",
"integrity": "sha512-QVXwMIKqYMl3KwtTirYIA6gOCiJ0ZDtptXqAv/8KWLG9uQU2fZqTVy7a/A5RvcoZhbDoFfveTxuGxJ5ibzQtkw==",
"dev": true,
"dependencies": {
"@javascript-obfuscator/estraverse": "^5.3.0",
@ -12142,6 +12142,7 @@
},
"node_modules/npm/node_modules/lodash._baseindexof": {
"version": "3.1.0",
"extraneous": true,
"inBundle": true,
"license": "MIT"
},
@ -12157,16 +12158,19 @@
},
"node_modules/npm/node_modules/lodash._bindcallback": {
"version": "3.0.1",
"extraneous": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/npm/node_modules/lodash._cacheindexof": {
"version": "3.0.2",
"extraneous": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/npm/node_modules/lodash._createcache": {
"version": "3.1.2",
"extraneous": true,
"inBundle": true,
"license": "MIT",
"dependencies": {
@ -12181,6 +12185,7 @@
},
"node_modules/npm/node_modules/lodash._getnative": {
"version": "3.9.1",
"extraneous": true,
"inBundle": true,
"license": "MIT"
},
@ -12198,6 +12203,7 @@
},
"node_modules/npm/node_modules/lodash.restparam": {
"version": "3.6.1",
"extraneous": true,
"inBundle": true,
"license": "MIT"
},
@ -20071,9 +20077,9 @@
"dev": true
},
"@javascript-obfuscator/escodegen": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/@javascript-obfuscator/escodegen/-/escodegen-2.2.2.tgz",
"integrity": "sha512-0VoGJun/lpGEPv8J8R8fpwt1iAGyctUjHTQoYoCbKY2rcGc6d+NycrqSMo61vRXhZiTnHgud1UF8dOI7UAPdTw==",
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@javascript-obfuscator/escodegen/-/escodegen-2.3.0.tgz",
"integrity": "sha512-QVXwMIKqYMl3KwtTirYIA6gOCiJ0ZDtptXqAv/8KWLG9uQU2fZqTVy7a/A5RvcoZhbDoFfveTxuGxJ5ibzQtkw==",
"dev": true,
"requires": {
"@javascript-obfuscator/estraverse": "^5.3.0",
@ -28045,7 +28051,8 @@
},
"lodash._baseindexof": {
"version": "3.1.0",
"bundled": true
"bundled": true,
"extraneous": true
},
"lodash._baseuniq": {
"version": "4.6.0",
@ -28058,15 +28065,18 @@
},
"lodash._bindcallback": {
"version": "3.0.1",
"bundled": true
"bundled": true,
"extraneous": true
},
"lodash._cacheindexof": {
"version": "3.0.2",
"bundled": true
"bundled": true,
"extraneous": true
},
"lodash._createcache": {
"version": "3.1.2",
"bundled": true,
"extraneous": true,
"requires": {
"lodash._getnative": "^3.0.0"
}
@ -28078,7 +28088,8 @@
},
"lodash._getnative": {
"version": "3.9.1",
"bundled": true
"bundled": true,
"extraneous": true
},
"lodash._root": {
"version": "3.0.1",
@ -28092,7 +28103,8 @@
},
"lodash.restparam": {
"version": "3.6.1",
"bundled": true
"bundled": true,
"extraneous": true
},
"lodash.union": {
"version": "4.6.0",

View File

@ -6,7 +6,7 @@
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.17.0",
"@javascript-obfuscator/escodegen": "2.2.2",
"@javascript-obfuscator/escodegen": "2.3.0",
"acorn": "^8.7.0",
"autoprefixer": "^10.4.2",
"babel-loader": "^8.2.3",