uglify-js
Advanced tools
Comparing version 2.4.11 to 2.4.12
@@ -49,18 +49,19 @@ /*********************************************************************** | ||
options = defaults(options, { | ||
indent_start : 0, | ||
indent_level : 4, | ||
quote_keys : false, | ||
space_colon : true, | ||
ascii_only : false, | ||
inline_script : false, | ||
width : 80, | ||
max_line_len : 32000, | ||
beautify : false, | ||
source_map : null, | ||
bracketize : false, | ||
semicolons : true, | ||
comments : false, | ||
preserve_line : false, | ||
screw_ie8 : false, | ||
preamble : null, | ||
indent_start : 0, | ||
indent_level : 4, | ||
quote_keys : false, | ||
space_colon : true, | ||
ascii_only : false, | ||
unescape_regexps : false, | ||
inline_script : false, | ||
width : 80, | ||
max_line_len : 32000, | ||
beautify : false, | ||
source_map : null, | ||
bracketize : false, | ||
semicolons : true, | ||
comments : false, | ||
preserve_line : false, | ||
screw_ie8 : false, | ||
preamble : null, | ||
}, true); | ||
@@ -1144,2 +1145,3 @@ | ||
0x0d , // \r | ||
0x00 , // \0 | ||
0xfeff , // Unicode BOM | ||
@@ -1155,3 +1157,3 @@ 0x2028 , // unicode "line separator" | ||
str = output.to_ascii(str); | ||
} else { | ||
} else if (output.option("unescape_regexps")) { | ||
str = str.split("\\\\").map(function(str){ | ||
@@ -1158,0 +1160,0 @@ return str.replace(/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}/g, function(s){ |
@@ -6,3 +6,3 @@ { | ||
"main": "tools/node.js", | ||
"version": "2.4.11", | ||
"version": "2.4.12", | ||
"engines": { "node" : ">=0.4.0" }, | ||
@@ -9,0 +9,0 @@ "maintainers": [{ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
368723
8920