New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

magic-string

Package Overview
Dependencies
Maintainers
4
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magic-string - npm Package Versions

1
13

0.21.3

Diff

Changelog

Source

0.21.3

  • Clone indentExclusionRanges correctly (#122)
  • Fix more typings (#122)
rich_harris
published 0.21.2 •

Changelog

Source

0.21.2

  • Add default property referencing self in index-legacy.js, to work around TypeScript bug (#121)
rich_harris
published 0.21.1 •

Changelog

Source

0.21.1

  • Add typings file to package
rich_harris
published 0.21.0 •

Changelog

Source

0.21.0

  • Add TypeScript bindings (#119)
rich_harris
published 0.20.0 •

Changelog

Source

0.20.0

  • The fourth argument to overwrite is a {storeName, contentOnly} options object. storeName: true is equivalent to true before. contentOnly will preserve existing appends/prepends to the chunk in question
rich_harris
published 0.19.1 •

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)
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