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

magic-string

Package Overview
Dependencies
Maintainers
0
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.7.0

Diff

Changelog

Source

0.7.0

  • The names array is populated when generating sourcemaps, and mappings include name indices where appropriate (#16)
  • Replaced content is mapped correctly in sourcemaps (#15)
rich_harris
published 0.6.6 •

Changelog

Source

0.6.6

  • Adjust mappings correctly when removing replaced content
  • Error correctly when removed characters are used as slice anchors
rich_harris
published 0.6.5 •

Changelog

Source

0.6.5

  • Fix jsnext:main in package.json
rich_harris
published 0.6.4 •

Changelog

Source

0.6.4

  • Fix bug with positive integer coercion
rich_harris
published 0.6.3 •

Changelog

Source

0.6.3

  • Intro content is correctly indented
  • Content following an intro with trailing newline is correctly indented
rich_harris
published 0.6.2 •

Changelog

Source

0.6.2

  • Noop indents are still chainable (fixes bug introduced in 0.6.1)
rich_harris
published 0.6.1 •

Changelog

Source

0.6.1

  • Indenting with an empty string is a noop
rich_harris
published 0.6.0 •

Changelog

Source

0.6.0

  • Use rollup for bundling, instead of esperanto
rich_harris
published 0.5.3 •

Changelog

Source

0.5.3

  • Correct sourcemap generation with bundles containing varied separators
  • s.clone() clones indent exclusion ranges and sourcemap locations
rich_harris
published 0.5.1 •

Changelog

Source

0.5.1

  • Allow bundle separator to be the empty string
  • Indenting is handled correctly with empty string separator
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