terser 3.10.13 → 3.13.1
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/README.md +18 -2
- package/bin/uglifyjs +1 -1
- package/bin/uglifyjsnobundle +3 -0
- package/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/lib/compress.js +16 -6
- package/lib/output.js +8 -1
- package/lib/parse.js +1 -0
- package/lib/propmangle.js +4 -1
- package/lib/scope.js +14 -4
- package/lib/utils.js +1 -0
- package/package.json +6 -3
- package/tools/colorless-console.js +1 -3
- package/tools/node.js +3 -2
- package/tools/terser.d.ts +790 -0
package/README.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
terser
|
2
2
|
======
|
3
3
|
|
4
|
-
|
4
|
+

|
5
|
+
|
6
|
+
*note*: You can support this project on patreon: <a target="_blank" rel="nofollow" href="https://www.patreon.com/terser_jscomp_maintainer"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="patron" width="100px" height="auto"></a>. Check out PATRONS.md for our first-tier patrons.
|
7
|
+
=======
|
8
|
+
*Note:* Support this project with patreon by clicking [here](https://www.patreon.com/terser_jscomp_maintainer) and becoming a patron.
|
5
9
|
|
6
10
|
[](https://travis-ci.org/terser-js/terser) [](https://coveralls.io/github/terser-js/terser?branch=master)
|
7
11
|
|
@@ -1162,7 +1166,7 @@ documentation. See: [tree walker](http://lisperator.net/uglifyjs/walk) and
|
|
1162
1166
|
### ESTree / SpiderMonkey AST
|
1163
1167
|
|
1164
1168
|
Terser has its own abstract syntax tree format; for
|
1165
|
-
[practical reasons](http://lisperator.net/blog/
|
1169
|
+
[practical reasons](http://lisperator.net/blog/uglifyjs-why-not-switching-to-spidermonkey-ast/)
|
1166
1170
|
we can't easily change to using the SpiderMonkey AST internally. However,
|
1167
1171
|
Terser now has a converter which can import a SpiderMonkey AST.
|
1168
1172
|
|
@@ -1266,3 +1270,15 @@ to remove the existing `yarn` lock file and reinstall all packages:
|
|
1266
1270
|
$ rm -rf node_modules yarn.lock
|
1267
1271
|
$ yarn
|
1268
1272
|
```
|
1273
|
+
|
1274
|
+
# Reporting issues
|
1275
|
+
|
1276
|
+
In the terser CLI we use [source-map-support](https://npmjs.com/source-map-support) to produce good error stacks. In your own app, you're expected to enable source-map-support (read their docs) to have nice stack traces that will make good issues.
|
1277
|
+
|
1278
|
+
# README.md Patrons:
|
1279
|
+
|
1280
|
+
*note*: You can support this project on patreon: <a target="_blank" rel="nofollow" href="https://www.patreon.com/terser_jscomp_maintainer"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="patron" width="100px" height="auto"></a>. Check out PATRONS.md for our first-tier patrons.
|
1281
|
+
|
1282
|
+
|
1283
|
+
* CKEditor 
|
1284
|
+
|
package/bin/uglifyjs
CHANGED