@fabiosantoscode/uglify-es
Advanced tools
+1
-1
@@ -178,3 +178,3 @@ /*********************************************************************** | ||
| var AST_Block = DEFNODE("Block", "body block_scope", { | ||
| $documentation: "A body of statements (usually bracketed)", | ||
| $documentation: "A body of statements (usually braced)", | ||
| $propdoc: { | ||
@@ -181,0 +181,0 @@ body: "[AST_Statement*] an array of statements", |
+16
-2
| "use strict"; | ||
| var to_ascii = typeof atob == "undefined" ? function(b64) { | ||
| return new Buffer(b64, "base64").toString(); | ||
| if (Buffer.from && Buffer.from !== Uint8Array.from) { | ||
| // Node >= 4.5.0 | ||
| return Buffer.from(b64, "base64").toString("ascii"); | ||
| } else { | ||
| // Node < 4.5.0, old API, manual safeguards | ||
| if (typeof b64 !== "string") throw new Errror("\"b64\" must be a string"); | ||
| return new Buffer(b64, "base64").toString(); | ||
| } | ||
| } : atob; | ||
| var to_base64 = typeof btoa == "undefined" ? function(str) { | ||
| return new Buffer(str).toString("base64"); | ||
| if (Buffer.from && Buffer.from !== Uint8Array.from) { | ||
| // Node >= 4.5.0 | ||
| return Buffer.from(str, "ascii").toString("base64"); | ||
| } else { | ||
| // Node < 4.5.0, old API, manual safeguards | ||
| if (typeof str !== "string") throw new Errror("\"str\" must be a string"); | ||
| return new Buffer(str).toString("base64"); | ||
| } | ||
| } : btoa; | ||
@@ -9,0 +23,0 @@ |
+2
-2
| { | ||
| "name": "@fabiosantoscode/uglify-es", | ||
| "description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+", | ||
| "homepage": "https://github.com/mishoo/UglifyJS2/tree/harmony", | ||
| "homepage": "https://github.com/fabiosantoscode/uglify-es", | ||
| "author": "Mihai Bazon <mihai.bazon@gmail.com> (http://lisperator.net/)", | ||
| "license": "BSD-2-Clause", | ||
| "version": "3.6.0", | ||
| "version": "3.7.0", | ||
| "engines": { | ||
@@ -9,0 +9,0 @@ "node": ">=0.8.0" |
+1
-1
@@ -902,3 +902,3 @@ uglify-es | ||
| - `bracketize` (default `false`) -- always insert brackets in `if`, `for`, | ||
| - `braces` (default `false`) -- always insert braces in `if`, `for`, | ||
| `do`, `while` or `with` statements, even if their body is a single | ||
@@ -905,0 +905,0 @@ statement. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
797389
0.08%20352
0.1%