@igor.dvlpr/magic-string
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "@igor.dvlpr/magic-string", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "🧵 An expressive and chainable library for advanced string manipulations. Supports appending, prepending, trimming, quoting, and path formatting with customizable whitespace handling. Makes advanced String manipulations a piece of cake. 🦥", | ||
@@ -47,3 +47,6 @@ "sideEffects": false, | ||
"vitest": "^2.0.5" | ||
}, | ||
"dependencies": { | ||
"@igor.dvlpr/scramble": "^1.0.0" | ||
} | ||
} |
@@ -49,2 +49,3 @@ <h1 align="center">MagicString</h1> | ||
- [Features](#-features) | ||
- [Usage](#-usage) | ||
- [API](#-api) | ||
@@ -74,2 +75,3 @@ - [StringValue](#type-stringvalue--string--string) | ||
- [substring()](#substringstart-number-end-number) | ||
- [scramble()](#scramble) | ||
- [Examples](#-examples) | ||
@@ -81,4 +83,3 @@ - [Changelog](#-changelog) | ||
<br> | ||
<br> | ||
--- | ||
@@ -91,3 +92,3 @@ ## 🤖 Features | ||
--- | ||
<br> | ||
@@ -340,4 +341,6 @@ ## 🕵🏼 Usage | ||
*If the `index` is greater than or equal to the length of the current accumulator, the value is appended.* | ||
*If the `index` is greater than or equal to the length of the current accumulator, the value is appended.* | ||
<br> | ||
`value` - The value to insert. | ||
@@ -367,2 +370,14 @@ | ||
### `scramble()` | ||
*Scrambles (rearranges characters randomly) of the current accumulator.* | ||
*Requires that the current accumulator value has a `length` > 3.* | ||
<br> | ||
Returns the current instance of `MagicString`. | ||
--- | ||
## ✨ Examples | ||
@@ -369,0 +384,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
28363
317
454
1
+ Added@igor.dvlpr/scramble@^1.0.0
+ Added@igor.dvlpr/scramble@1.0.1(transitive)