updated npm modules
This commit is contained in:
4
node_modules/uglify-js/lib/scope.js
generated
vendored
4
node_modules/uglify-js/lib/scope.js
generated
vendored
@@ -309,8 +309,12 @@ function names_in_use(scope, options) {
|
||||
if (!names) {
|
||||
scope.names_in_use = names = Object.create(scope.mangled_names || null);
|
||||
scope.cname_holes = [];
|
||||
var cache = options.cache && options.cache.props;
|
||||
scope.enclosed.forEach(function(def) {
|
||||
if (def.unmangleable(options)) names[def.name] = true;
|
||||
if (def.global && cache && cache.has(def.name)) {
|
||||
names[cache.get(def.name)] = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
return names;
|
||||
|
||||
Reference in New Issue
Block a user