uglify-js
Advanced tools
Comparing version 3.9.0 to 3.9.1
@@ -106,8 +106,12 @@ /*********************************************************************** | ||
var indices = [ 0, 0, 1, 0, 0 ]; | ||
map.mappings = map.mappings.split(/;/).map(function(line) { | ||
indices[0] = 0; | ||
return line.split(/,/).map(function(segment) { | ||
return indices.slice(0, vlq_decode(indices, segment)); | ||
}); | ||
}); | ||
options.orig[name] = { | ||
names: map.names, | ||
mappings: map.mappings.split(/;/).map(function(line) { | ||
indices[0] = 0; | ||
return line.split(/,/).map(function(segment) { | ||
return indices.slice(0, vlq_decode(indices, segment)); | ||
}); | ||
}), | ||
sources: map.sources, | ||
}; | ||
if (!sources_content || !map.sourcesContent) return; | ||
@@ -114,0 +118,0 @@ for (var i = 0; i < map.sources.length; i++) { |
@@ -6,3 +6,3 @@ { | ||
"license": "BSD-2-Clause", | ||
"version": "3.9.0", | ||
"version": "3.9.1", | ||
"engines": { | ||
@@ -9,0 +9,0 @@ "node": ">=0.8.0" |
@@ -8,3 +8,3 @@ // workaround for tty output truncation upon process.exit() | ||
if (process.stdout.bufferSize || process.stderr.bufferSize) { | ||
setImmediate(callback); | ||
setTimeout(callback, 1); | ||
} else { | ||
@@ -11,0 +11,0 @@ exit.apply(process, args); |
Sorry, the diff of this file is not supported yet
809294
20670