magic-string
Advanced tools
Comparing version 0.30.12 to 0.30.13
@@ -173,3 +173,3 @@ export interface BundleOptions { | ||
/** | ||
* Moves the characters from `start and `end` to `index`. | ||
* Moves the characters from `start` and `end` to `index`. | ||
*/ | ||
@@ -176,0 +176,0 @@ move(start: number, end: number, index: number): this; |
@@ -223,2 +223,5 @@ 'use strict'; | ||
} | ||
if (typeof properties.debugId !== 'undefined') { | ||
this.debugId = properties.debugId; | ||
} | ||
} | ||
@@ -225,0 +228,0 @@ |
@@ -318,2 +318,5 @@ (function (global, factory) { | ||
} | ||
if (typeof properties.debugId !== 'undefined') { | ||
this.debugId = properties.debugId; | ||
} | ||
} | ||
@@ -320,0 +323,0 @@ |
{ | ||
"name": "magic-string", | ||
"version": "0.30.12", | ||
"version": "0.30.13", | ||
"packageManager": "pnpm@9.6.0", | ||
@@ -5,0 +5,0 @@ "description": "Modify strings, generate sourcemaps", |
@@ -196,3 +196,3 @@ # magic-string | ||
Same as `s.replace`, but replace all matched strings instead of just one. | ||
If `substitution` is a regex, then it must have the global (`g`) flag set, or a `TypeError` is thrown. Matches the behavior of the builtin [`String.property.replaceAll`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll). | ||
If `regexpOrString` is a regex, then it must have the global (`g`) flag set, or a `TypeError` is thrown. Matches the behavior of the builtin [`String.property.replaceAll`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll). Returns `this`. | ||
@@ -199,0 +199,0 @@ ### s.remove( start, end ) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
464692
4079
2