magic-string
Advanced tools
Comparing version 0.6.1 to 0.6.2
# changelog | ||
## 0.6.2 | ||
* Noop indents are still chainable (fixes bug introduced in 0.6.1) | ||
## 0.6.1 | ||
@@ -4,0 +8,0 @@ |
@@ -409,3 +409,3 @@ (function (global, factory) { | ||
if (indentStr === '') return; // noop | ||
if (indentStr === '') return this; // noop | ||
@@ -869,3 +869,3 @@ options = options || {}; | ||
if (indentStr === '') return; // noop | ||
if (indentStr === '') return this; // noop | ||
@@ -872,0 +872,0 @@ var trailingNewline = !this.intro || this.intro.slice(0, -1) === '\n'; |
@@ -362,3 +362,3 @@ (function (global, factory) { | ||
if (indentStr === '') return; // noop | ||
if (indentStr === '') return this; // noop | ||
@@ -822,3 +822,3 @@ options = options || {}; | ||
if (indentStr === '') return; // noop | ||
if (indentStr === '') return this; // noop | ||
@@ -825,0 +825,0 @@ var trailingNewline = !this.intro || this.intro.slice(0, -1) === '\n'; |
@@ -5,3 +5,3 @@ { | ||
"author": "Rich Harris", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"repository": "https://github.com/rich-harris/magic-string", | ||
@@ -8,0 +8,0 @@ "main": "dist/magic-string.js", |
@@ -139,3 +139,3 @@ import MagicString from '../MagicString/index'; | ||
if ( indentStr === '' ) return; // noop | ||
if ( indentStr === '' ) return this; // noop | ||
@@ -142,0 +142,0 @@ let trailingNewline = !this.intro || ( this.intro.slice( 0, -1 ) === '\n' ); |
@@ -97,3 +97,3 @@ import SourceMap from '../utils/SourceMap'; | ||
if ( indentStr === '' ) return; // noop | ||
if ( indentStr === '' ) return this; // noop | ||
@@ -100,0 +100,0 @@ options = options || {}; |
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
82142