Socket
Socket
Sign inDemoInstall

magic-string

Package Overview
Dependencies
Maintainers
1
Versions
115
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.2.5 to 0.2.6

7

magic-string.js

@@ -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 @@ },

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