magic-string
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -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" | ||
] | ||
} |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
61283
12
1858
1
178