Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

magic-string

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magic-string - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

4

CHANGELOG.md
# changelog
## 0.6.2
* Noop indents are still chainable (fixes bug introduced in 0.6.1)
## 0.6.1

@@ -4,0 +8,0 @@

4

dist/magic-string.deps.js

@@ -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 || {};

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc