terser 3.16.1 → 3.17.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.

Potentially problematic release.


This version of terser might be problematic. Click here for more details.

package/package.json CHANGED
@@ -4,14 +4,12 @@
4
4
  "homepage": "https://github.com/fabiosantoscode/terser",
5
5
  "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)",
6
6
  "license": "BSD-2-Clause",
7
- "version": "3.16.1",
7
+ "version": "3.17.0",
8
8
  "engines": {
9
9
  "node": ">=6.0.0"
10
10
  },
11
11
  "maintainers": [
12
- "Fábio Santos <fabiosantosart@gmail.com>",
13
- "Alex Lam <alexlamsl@gmail.com>",
14
- "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)"
12
+ "Fábio Santos <fabiosantosart@gmail.com>"
15
13
  ],
16
14
  "repository": "https://github.com/fabiosantoscode/terser.git",
17
15
  "main": "dist/bundle.min.js",
@@ -22,7 +20,6 @@
22
20
  "files": [
23
21
  "bin",
24
22
  "dist",
25
- "!dist/bundle.instrumented.js",
26
23
  "tools",
27
24
  "LICENSE",
28
25
  "README.md",
@@ -30,34 +27,29 @@
30
27
  "PATRONS.md"
31
28
  ],
32
29
  "dependencies": {
33
- "commander": "~2.17.1",
30
+ "commander": "^2.19.0",
34
31
  "source-map": "~0.6.1",
35
- "source-map-support": "~0.5.9"
32
+ "source-map-support": "~0.5.10"
36
33
  },
37
34
  "devDependencies": {
38
35
  "acorn": "^6.0.4",
39
- "coveralls": "^3.0.2",
40
36
  "cross-env": "^5.2.0",
41
37
  "csv": "^5.1.0",
42
- "es6-promise": "^4.2.5",
43
38
  "escodegen": "^1.11.0",
44
39
  "eslint": "^4.19.1",
45
40
  "eslump": "^2.0.0",
46
- "istanbul": "^0.4.5",
47
41
  "mocha": "^3.0.0",
48
42
  "mochallel": "^1.8.6",
49
43
  "pre-commit": "^1.2.2",
50
44
  "rimraf": "^2.6.2",
51
45
  "rollup": "^1.0.1",
52
- "semver": "~5.5.1"
46
+ "semver": "~5.6.0"
53
47
  },
54
48
  "scripts": {
55
- "test": "rimraf dist/* && npm run prepare && istanbul instrument dist/bundle.min.js > dist/bundle.instrumented.js && node test/run-tests.js",
56
- "coverage": "istanbul cover test/run-tests.js",
57
- "coveralls": "coveralls < coverage/lcov.info",
49
+ "test": "npm run prepare --silent && istanbul instrument dist/bundle.min.js > dist/bundle.instrumented.js && node test/run-tests.js",
58
50
  "lint": "eslint lib",
59
51
  "lint-fix": "eslint --fix lib",
60
- "prepare": "rollup -c && cd dist && cross-env TERSER_NO_BUNDLE=1 ../bin/uglifyjs bundle.js -mc --source-map 'content=bundle.js.map,includeSources=true,url=bundle.min.js.map' -o bundle.min.js",
52
+ "prepare": "rimraf dist/* && rollup -c && cd dist && cross-env TERSER_NO_BUNDLE=1 ../bin/uglifyjs bundle.js -mc --source-map 'content=bundle.js.map,includeSources=true,url=bundle.min.js.map' -o bundle.min.js",
61
53
  "postversion": "echo 'Remember to update the changelog!'"
62
54
  },
63
55
  "keywords": [
@@ -83,6 +75,15 @@
83
75
  "parserOptions": {
84
76
  "sourceType": "module"
85
77
  },
78
+ "env": {
79
+ "es6": true
80
+ },
81
+ "globals": {
82
+ "describe": false,
83
+ "it": false,
84
+ "require": false,
85
+ "global": false
86
+ },
86
87
  "rules": {
87
88
  "brace-style": [
88
89
  "error",
package/tools/domprops.js CHANGED
@@ -2732,6 +2732,7 @@ export var domprops = [
2732
2732
  "declare",
2733
2733
  "decode",
2734
2734
  "decodeAudioData",
2735
+ "decodingInfo",
2735
2736
  "decodeURI",
2736
2737
  "decodeURIComponent",
2737
2738
  "decrypt",
@@ -2974,6 +2975,7 @@ export var domprops = [
2974
2975
  "filterResY",
2975
2976
  "filterUnits",
2976
2977
  "filters",
2978
+ "finally",
2977
2979
  "find",
2978
2980
  "findIndex",
2979
2981
  "findRule",
@@ -3697,6 +3699,7 @@ export var domprops = [
3697
3699
  "measure",
3698
3700
  "measureText",
3699
3701
  "media",
3702
+ "mediaCapabilities",
3700
3703
  "mediaDevices",
3701
3704
  "mediaElement",
3702
3705
  "mediaGroup",
@@ -4978,6 +4981,7 @@ export var domprops = [
4978
4981
  "slice",
4979
4982
  "slope",
4980
4983
  "small",
4984
+ "smooth",
4981
4985
  "smil",
4982
4986
  "smoothingTimeConstant",
4983
4987
  "snapToLines",