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 CHANGED
@@ -1,7 +1,11 @@
1
1
  terser
2
2
  ======
3
3
 
4
- *note:* Support this project with patreon by clicking [here](https://www.patreon.com/fabiosantoscode) and becoming a patron.
4
+ ![Terser](https://raw.githubusercontent.com/terser-js/terser/master/logo.png)
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
  [![Build Status](https://travis-ci.org/terser-js/terser.svg?branch=master)](https://travis-ci.org/terser-js/terser) [![Coverage Status](https://coveralls.io/repos/github/terser-js/terser/badge.svg?branch=master)](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/terser-why-not-switching-to-spidermonkey-ast/)
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 ![CKEditor](https://c10.patreonusercontent.com/3/eyJoIjoxMDAsInciOjEwMH0%3D/patreon-media/p/user/15452278/f8548dcf48d740619071e8d614459280/1?token-time=2145916800&token-hash=SIQ54PhIPHv3M7CVz9LxS8_8v4sOw4H304HaXsXj8MM%3D)
1284
+
package/bin/uglifyjs CHANGED
@@ -1,4 +1,4 @@
1
- #! /usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  // -*- js -*-
3
3
 
4
4
  "use strict";
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ process.env.TERSER_NO_BUNDLE = '1'
3
+ require('./uglifyjs')