stylecow-core
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -99,21 +99,21 @@ "use strict"; | ||
if (mapDest) { | ||
//previous source | ||
if (!previousMap && prev.map) { | ||
previousMap = prev.map; | ||
} | ||
//previous source | ||
if (!previousMap && prev.map) { | ||
previousMap = prev.map; | ||
} | ||
if (previousMap) { | ||
this.map = sourceMapTransfer({ | ||
fromSourceMap: this.map.toString(), | ||
toSourceMap: previousMap | ||
}); | ||
} else { | ||
this.map = this.map.toString(); | ||
} | ||
if (previousMap) { | ||
this.map = sourceMapTransfer({ | ||
fromSourceMap: this.map.toString(), | ||
toSourceMap: previousMap | ||
}); | ||
} else { | ||
this.map = this.map.toString(); | ||
} | ||
if (mapDest) { | ||
//sourcemap annotation | ||
if (mapDest === true) { | ||
this.code += '\n/*# sourceMappingURL=data:application/json;base64,' + (new Buffer(this.map)).toString('base64') + ' */\n'; | ||
} else { | ||
} else if (mapDest !== false) { | ||
this.code += '\n/*# sourceMappingURL=' + path.relative(path.dirname(cssFile), mapDest) + ' */\n'; | ||
@@ -120,0 +120,0 @@ } |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"engines": { | ||
@@ -32,4 +32,4 @@ "node": ">=4.0" | ||
"devDependencies": { | ||
"mocha": "^3.0.2" | ||
"mocha": "^3.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
11679257