javascript-obfuscator 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "javascript-obfuscator",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "JavaScript obfuscator",
5
5
  "keywords": [
6
6
  "obfuscator",
@@ -53,45 +53,46 @@
53
53
  "@types/eslint-scope": "3.7.3",
54
54
  "@types/eslint-visitor-keys": "1.0.0",
55
55
  "@types/estraverse": "5.1.1",
56
- "@types/estree": "0.0.50",
56
+ "@types/estree": "0.0.51",
57
57
  "@types/js-beautify": "1.13.3",
58
58
  "@types/js-string-escape": "1.0.1",
59
59
  "@types/md5": "2.3.1",
60
60
  "@types/mkdirp": "1.0.2",
61
61
  "@types/mocha": "9.1.0",
62
62
  "@types/multimatch": "4.0.0",
63
- "@types/node": "17.0.13",
63
+ "@types/node": "17.0.15",
64
64
  "@types/rimraf": "3.0.2",
65
- "@types/sinon": "10.0.9",
65
+ "@types/sinon": "10.0.10",
66
66
  "@types/string-template": "1.0.2",
67
67
  "@types/webpack-env": "1.16.3",
68
- "@typescript-eslint/eslint-plugin": "5.10.1",
69
- "@typescript-eslint/parser": "5.10.1",
68
+ "@typescript-eslint/eslint-plugin": "5.10.2",
69
+ "@typescript-eslint/parser": "5.10.2",
70
70
  "chai": "4.3.6",
71
71
  "chai-exclude": "2.1.0",
72
72
  "cross-env": "7.0.3",
73
73
  "eslint": "8.8.0",
74
74
  "eslint-plugin-import": "2.25.4",
75
- "eslint-plugin-jsdoc": "37.7.0",
75
+ "eslint-plugin-jsdoc": "37.7.1",
76
76
  "eslint-plugin-no-null": "1.0.2",
77
77
  "eslint-plugin-prefer-arrow": "1.2.3",
78
78
  "eslint-plugin-unicorn": "40.1.0",
79
+ "eslint-webpack-plugin": "3.1.1",
79
80
  "fork-ts-checker-notifier-webpack-plugin": "4.0.0",
80
- "fork-ts-checker-webpack-plugin": "6.4.0",
81
+ "fork-ts-checker-webpack-plugin": "7.0.0",
81
82
  "husky": "7.0.4",
82
83
  "js-beautify": "1.14.0",
83
84
  "mocha": "9.2.0",
84
85
  "nyc": "15.1.0",
85
86
  "pjson": "1.0.9",
86
87
  "rimraf": "3.0.2",
87
- "sinon": "13.0.0",
88
+ "sinon": "13.0.1",
88
89
  "source-map-resolve": "0.6.0",
89
90
  "terser": "5.10.0",
90
91
  "threads": "1.7.0",
91
92
  "ts-loader": "9.2.6",
92
93
  "ts-node": "10.4.0",
93
94
  "typescript": "4.5.5",
94
- "webpack": "5.67.0",
95
+ "webpack": "5.68.0",
95
96
  "webpack-cli": "4.9.2",
96
97
  "webpack-node-externals": "3.0.0"
97
98
  },
@@ -3,4 +3,5 @@ export interface IIteratedStatementsSimplifyData {
3
3
  startIndex: number | null;
4
4
  unwrappedExpressions: ESTree.Expression[];
5
5
  hasReturnStatement: boolean;
6
+ hasStatementsAfterReturnStatement: boolean;
6
7
  }
@@ -65,7 +65,7 @@ export declare class NodeGuards {
65
65
  static isReturnStatementNode(node: ESTree.Node): node is ESTree.ReturnStatement;
66
66
  static isSequenceExpressionNode(node: ESTree.Node): node is ESTree.SequenceExpression;
67
67
  static isSpreadElementNode(node: ESTree.Node): node is ESTree.SpreadElement;
68
- static isStaticBlockNode(node: ESTree.Node): boolean;
68
+ static isStaticBlockNode(node: ESTree.Node): node is ESTree.StaticBlock;
69
69
  static isSuperNode(node: ESTree.Node): node is ESTree.Super;
70
70
  static isSwitchCaseNode(node: ESTree.Node): node is ESTree.SwitchCase;
71
71
  static isTaggedTemplateExpressionNode(node: ESTree.Node): node is ESTree.TaggedTemplateExpression;