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
1011

0.1.6

Diff

Changelog

Source

0.1.6

  • Version bump for npm's benefit
rich_harris
published 0.1.5 •

Changelog

Source

0.1.5

  • s.indent({ exclude: [ x, y ] }) prevents lines between (original) characters x and y from being indented. Multiple exclusion ranges are also supported (e.g. exclude: [[a, b], [c, d]])
rich_harris
published 0.1.4 •

Changelog

Source

0.1.4

  • s.locate() doesn't throw out-of-bound error if index is equal to original string's length
rich_harris
published 0.1.3 •

Changelog

Source

0.1.3

  • s.trim() returns this (i.e. is chainable)
rich_harris
published 0.1.1 •

Changelog

Source

0.1.1

  • Implement s.trim()
rich_harris
published 0.1.0 •

Changelog

Source

0.1.0

  • First release
1
1011
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