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 Compare versions

Comparing version 0.4.0 to 0.4.1

dist/magic-string.deps.js

5

package.json

@@ -5,3 +5,3 @@ {

"author": "Rich Harris",
"version": "0.4.0",
"version": "0.4.1",
"repository": "https://github.com/rich-harris/magic-string",

@@ -34,5 +34,6 @@ "main": "dist/magic-string.js",

"files": [
"magic-string.js",
"src/*",
"dist/*",
"README.md"
]
}

7

README.md

@@ -15,10 +15,9 @@ # magic-string

To use in browser, you'll need to make [vlq](https://github.com/Rich-Harris/vlq) available. Add it, along with [magic-string.js](https://raw.githubusercontent.com/Rich-Harris/magic-string/master/magic-string.js), to your page:
To use in browser, grab the [magic-string.deps.js](https://raw.githubusercontent.com/Rich-Harris/magic-string/master/dist/magic-string.deps.js) file and add it to your page:
```html
<script src='vlq.js'></script>
<script src='magic-string.js'></script>
<script src='magic-string.deps.js'></script>
```
(Both libraries also work with various module systems, if you prefer that sort of thing.)
(It also works with various module systems, if you prefer that sort of thing - it has a dependency on [vlq](https://github.com/Rich-Harris/vlq).)

@@ -25,0 +24,0 @@ ## Usage

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