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.14.0 to 0.15.0

src/index-legacy.js

4

CHANGELOG.md
# changelog
## 0.15.0
* Use named export of `Bundle` in ES build, so ES consumers of magic-string can tree-shake it out
## 0.14.0

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

4

dist/magic-string.es6.js

@@ -1180,5 +1180,3 @@ import { encode } from 'vlq';

MagicString.Bundle = Bundle;
export default MagicString;
export { Bundle };export default MagicString;
//# sourceMappingURL=magic-string.es6.js.map

@@ -5,3 +5,3 @@ {

"author": "Rich Harris",
"version": "0.14.0",
"version": "0.15.0",
"repository": "https://github.com/rich-harris/magic-string",

@@ -44,5 +44,5 @@ "main": "dist/magic-string.cjs.js",

"ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov",
"build:cjs": "rollup -c -f cjs -o dist/magic-string.cjs.js",
"build:es6": "rollup -c -f es6 -o dist/magic-string.es6.js",
"build:umd": "rollup -c --environment DEPS -f umd -o dist/magic-string.umd.js",
"build:cjs": "rollup -c",
"build:es6": "rollup -c --environment ES",
"build:umd": "rollup -c --environment DEPS",
"build": " npm run build:cjs && npm run build:es6 && npm run build:umd",

@@ -49,0 +49,0 @@ "prepublish": "rm -rf dist && npm test && npm run build:es6 && npm run build:umd",

import MagicString from './MagicString.js';
import Bundle from './Bundle.js';
MagicString.Bundle = Bundle;
export default MagicString;
export { default as Bundle } from './Bundle.js';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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