google-closure-compiler
Advanced tools
Comparing version 20161024.2.0 to 20161024.3.0
@@ -199,2 +199,7 @@ /* | ||
if (outputFiles[i].sourceMap) { | ||
if (outputFiles[i].sourceMap.sources) { | ||
outputFiles[i].sourceMap.sources = outputFiles[i].sourceMap.sources.map(function(sourcePath) { | ||
return path.isAbsolute(sourcePath[0]) ? sourcePath.substr(1) : sourcePath; | ||
}); | ||
} | ||
applySourceMap(outputFiles[i], outputFiles[i].sourceMap); | ||
@@ -201,0 +206,0 @@ } |
@@ -44,13 +44,3 @@ /* | ||
if (fileList[i].source_map) { | ||
// Undo what concat-to-json.js did to the source map paths | ||
var sourceMap = JSON.parse(fileList[i].source_map); | ||
var sources = sourceMap.sources; | ||
for (var j = 0; j < sources.length; j++) { | ||
var source = sources[j]; | ||
if (path.isAbsolute(source)) { | ||
sources[j] = path.relative('/', source); | ||
} | ||
} | ||
file.sourceMap = sourceMap; | ||
file.sourceMap = JSON.parse(fileList[i].source_map); | ||
} | ||
@@ -57,0 +47,0 @@ outputFiles.push(file); |
{ | ||
"name": "google-closure-compiler", | ||
"version": "20161024.2.0", | ||
"version": "20161024.3.0", | ||
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/chadkillingsworth/closure-compiler-npm.git" | ||
"url": "https://github.com/google/closure-compiler-npm.git" | ||
}, | ||
@@ -9,0 +9,0 @@ "keywords": [ |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
143
180584
11584175
1
0