terser 5.12.1 → 5.13.0

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/lib/propmangle.js CHANGED
@@ -78,7 +78,7 @@ function find_builtins(reserved) {
78
78
  var global_ref = typeof global === "object" ? global : self;
79
79
 
80
80
  new_globals.forEach(function (new_global) {
81
- objects[new_global] = global_ref[new_global] || new Function();
81
+ objects[new_global] = global_ref[new_global] || function() {};
82
82
  });
83
83
 
84
84
  [
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "homepage": "https://terser.org",
5
5
  "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
6
6
  "license": "BSD-2-Clause",
7
- "version": "5.12.1",
7
+ "version": "5.13.0",
8
8
  "engines": {
9
9
  "node": ">=10"
10
10
  },
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "acorn": "^8.5.0",
47
47
  "commander": "^2.20.0",
48
- "source-map": "~0.7.2",
48
+ "source-map": "~0.8.0-beta.0",
49
49
  "source-map-support": "~0.5.20"
50
50
  },
51
51
  "devDependencies": {
package/tools/domprops.js CHANGED
@@ -2979,6 +2979,7 @@ export var domprops = [
2979
2979
  "applyElement",
2980
2980
  "arc",
2981
2981
  "arcTo",
2982
+ "architecture",
2982
2983
  "archive",
2983
2984
  "areas",
2984
2985
  "arguments",
@@ -3153,6 +3154,7 @@ export var domprops = [
3153
3154
  "bindTexture",
3154
3155
  "bindTransformFeedback",
3155
3156
  "bindVertexArray",
3157
+ "bitness",
3156
3158
  "blendColor",
3157
3159
  "blendEquation",
3158
3160
  "blendEquationSeparate",
@@ -3314,6 +3316,8 @@ export var domprops = [
3314
3316
  "boxDecorationBreak",
3315
3317
  "boxShadow",
3316
3318
  "boxSizing",
3319
+ "brand",
3320
+ "brands",
3317
3321
  "break-after",
3318
3322
  "break-before",
3319
3323
  "break-inside",
@@ -4312,6 +4316,7 @@ export var domprops = [
4312
4316
  "fround",
4313
4317
  "fullPath",
4314
4318
  "fullScreen",
4319
+ "fullVersionList",
4315
4320
  "fullscreen",
4316
4321
  "fullscreenElement",
4317
4322
  "fullscreenEnabled",
@@ -4437,6 +4442,7 @@ export var domprops = [
4437
4442
  "getFrequencyResponse",
4438
4443
  "getFullYear",
4439
4444
  "getGamepads",
4445
+ "getHighEntropyValues",
4440
4446
  "getHitTestResults",
4441
4447
  "getHitTestResultsForTransientInput",
4442
4448
  "getHours",
@@ -5277,7 +5283,9 @@ export var domprops = [
5277
5283
  "mix-blend-mode",
5278
5284
  "mixBlendMode",
5279
5285
  "mm",
5286
+ "mobile",
5280
5287
  "mode",
5288
+ "model",
5281
5289
  "modify",
5282
5290
  "mount",
5283
5291
  "move",
@@ -6183,6 +6191,7 @@ export var domprops = [
6183
6191
  "placeItems",
6184
6192
  "placeSelf",
6185
6193
  "placeholder",
6194
+ "platformVersion",
6186
6195
  "platform",
6187
6196
  "platforms",
6188
6197
  "play",
@@ -7421,6 +7430,7 @@ export var domprops = [
7421
7430
  "user-select",
7422
7431
  "userActivation",
7423
7432
  "userAgent",
7433
+ "userAgentData",
7424
7434
  "userChoice",
7425
7435
  "userHandle",
7426
7436
  "userHint",
@@ -7734,6 +7744,7 @@ export var domprops = [
7734
7744
  "wordSpacing",
7735
7745
  "wordWrap",
7736
7746
  "workerStart",
7747
+ "wow64",
7737
7748
  "wrap",
7738
7749
  "wrapKey",
7739
7750
  "writable",