Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@igor.dvlpr/magic-string

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@igor.dvlpr/magic-string - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

package.json
{
"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"
}
}

23

README.md

@@ -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

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