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 Versions

1
12

0.26.3

Diff

Changelog

Source

0.26.3 (2022-08-30)

Performance Improvements

  • delay guess encoded (#216) (69b13c7)
antfu
published 0.26.2 •

Changelog

Source

0.26.2 (2022-05-11)

Bug Fixes

antfu
published 0.26.1 •

Changelog

Source

0.26.1 (2022-03-03)

Bug Fixes

  • replace: match replacer function signature with spec (902541f)
antfu
published 0.26.0 •

Changelog

Source

0.26.0 (2022-03-03)

BREAKING CHANGES

  • Support of Node.js v10 is dropped. Now magic-string requires Node.js v12 or higher. (#204)
  • ESM bundle is now shipped with .mjs extension (#197)
-  "module": "dist/magic-string.es.js",
+  "module": "dist/magic-string.es.mjs",
+  "exports": {
+    "./package.json": "./package.json",
+    ".": {
+      "import": "./dist/magic-string.es.mjs",
+      "require": "./dist/magic-string.cjs.js"
+    }
+  },

Features

antfu
published 0.25.9 •

Changelog

Source

0.25.9 (2022-03-03)

Bug Fixes

  • allowed overwrite across moved content preceded by split (#192) (403fa86)
  • types: make options partial by default (2815e77)
  • use defineProperty for appending prop in storeName (#194) (96b7cd3)
antfu
published 0.25.8 •

Changelog

Source

0.25.8 (2022-03-02)

Bug Fixes

  • types: mark MagicString options as optional (#183) (15c3e66)
rich_harris
published 0.25.7 •

Changelog

Source

0.25.7

  • fix bundle mappings after remove and move in multiple sources (#172)
rich_harris
published 0.25.6 •

Changelog

Source

0.25.6

  • Use bitwise operators for small performance boost (#171)
rich_harris
published 0.25.5 •

Changelog

Source

0.25.5

  • Use a bitset to reduce memory consumption (#167)
rich_harris
published 0.25.4 •

Changelog

Source

0.25.4

  • Clone intro and outro (#162)
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