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

magic-string

Package Overview
Dependencies
Maintainers
4
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.27.0 to 0.28.0

4

index.d.ts

@@ -38,3 +38,3 @@ export interface BundleOptions {

sources: string[];
sourcesContent: string[];
sourcesContent: (string | null)[];
names: string[];

@@ -50,3 +50,3 @@ mappings: SourceMapSegment[][];

sources: string[];
sourcesContent: string[];
sourcesContent: (string | null)[];
names: string[];

@@ -53,0 +53,0 @@ mappings: string;

{
"name": "magic-string",
"version": "0.27.0",
"version": "0.28.0",
"description": "Modify strings, generate sourcemaps",

@@ -22,5 +22,5 @@ "keywords": [

".": {
"types": "./index.d.ts",
"import": "./dist/magic-string.es.mjs",
"require": "./dist/magic-string.cjs.js",
"types": "./index.d.ts"
"require": "./dist/magic-string.cjs.js"
}

@@ -37,7 +37,7 @@ },

"format": "prettier --single-quote --print-width 100 --use-tabs --write src/*.js src/**/*.js",
"lint": "eslint src test",
"lint": "eslint src test && publint",
"prepare": "npm run build",
"prepublishOnly": "rm -rf dist && npm test",
"prepublishOnly": "npm run lint && rm -rf dist && npm test",
"release": "bumpp -x \"npm run changelog\" --all --commit --tag --push && npm publish",
"pretest": "npm run lint && npm run build",
"pretest": "npm run build",
"test": "mocha",

@@ -56,2 +56,3 @@ "bench": "npm run build && node benchmark/index.mjs",

"prettier": "^2.7.1",
"publint": "^0.1.7",
"rollup": "^2.79.1",

@@ -58,0 +59,0 @@ "source-map-js": "^1.0.2",

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