magic-string
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -54,4 +54,2 @@ (function (global, factory) { | ||
var SourceMap__default = SourceMap; | ||
function getRelativePath ( from, to ) { | ||
@@ -231,4 +229,4 @@ var fromParts, toParts, i; | ||
var Bundle__default = Bundle; | ||
function stringify ( source ) { | ||
@@ -705,2 +703,5 @@ return source.content.toString(); | ||
var i = end; | ||
if ( !d ) return; // replacement is same length as replaced string | ||
while ( i-- > start ) { | ||
@@ -707,0 +708,0 @@ if ( ~mappings[i] ) { |
@@ -5,3 +5,3 @@ { | ||
"author": "Rich Harris", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"repository": "https://github.com/rich-harris/magic-string", | ||
@@ -15,3 +15,3 @@ "main": "magic-string.js", | ||
"gobble": "^0.6.10", | ||
"gobble-esperanto-bundle": "^0.1.2", | ||
"gobble-esperanto-bundle": "^0.1.3", | ||
"source-map": "^0.1.40" | ||
@@ -18,0 +18,0 @@ }, |
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
23009
577