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 Versions

1
12

0.19.1

Diff

Changelog

Source

0.19.1

  • Prevent overwrites across a split point (i.e. following a move)
  • Implement remove separately to overwrite
rich_harris
published 0.19.0 •

Changelog

Source

0.19.0

  • More accurate bundle sourcemaps (#114)
rich_harris
published 0.18.0 •

Changelog

Source

0.18.0

  • Optimisation – remove empty chunks following overwrite or remove (#113)
rich_harris
published 0.17.0 •

Changelog

Source

0.17.0

  • Add appendLeft, appendRight, prependLeft, prependRight methods (#109)
  • insertLeft and insertRight are deprecated in favour of appendLeft and prependRight respectively
rich_harris
published 0.16.0 •

Changelog

Source

0.16.0

  • Include inserts in range for overwrite and remove operations (#89)
  • Make options optional for bundle.generateMap(...) (#73)
rich_harris
published 0.15.2 •

Changelog

Source

0.15.2

  • Generate correct bundle sourcemap with prepended/appended content
rich_harris
published 0.15.1 •

Changelog

Source

0.15.1

  • Minor sourcemap fixes
rich_harris
published 0.15.0 •

Changelog

Source

0.15.0

  • Use named export of Bundle in ES build, so ES consumers of magic-string can tree-shake it out
rich_harris
published 0.14.0 •

Changelog

Source

0.14.0

  • Throw if overwrite of zero-length range is attempted
  • Correctly handle redundant move operations
rich_harris
published 0.13.1 •

Changelog

Source

0.13.1

  • Fix a bevy of s.slice() issues (#62)
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