uglify-js
Advanced tools
Comparing version 2.4.21 to 2.4.22
@@ -216,3 +216,3 @@ /*********************************************************************** | ||
var S = { | ||
text : $TEXT.replace(/\uFEFF/g, ''), | ||
text : $TEXT.replace(/^\uFEFF/g, ''), | ||
filename : filename, | ||
@@ -219,0 +219,0 @@ pos : 0, |
@@ -143,6 +143,6 @@ /*********************************************************************** | ||
function can_mangle(name) { | ||
if (reserved.indexOf(name) >= 0) return false; | ||
if (options.only_cache) { | ||
return cache.props.has(name); | ||
} | ||
if (reserved.indexOf(name) >= 0) return false; | ||
if (/^[0-9.]+$/.test(name)) return false; | ||
@@ -153,2 +153,3 @@ return true; | ||
function should_mangle(name) { | ||
if (reserved.indexOf(name) >= 0) return false; | ||
return cache.props.has(name) | ||
@@ -155,0 +156,0 @@ || names_to_mangle.indexOf(name) >= 0; |
@@ -7,3 +7,3 @@ { | ||
"license": "BSD", | ||
"version": "2.4.21", | ||
"version": "2.4.22", | ||
"engines": { | ||
@@ -10,0 +10,0 @@ "node": ">=0.4.0" |
Sorry, the diff of this file is too big to display
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
512096
13486