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

@karmaniverous/chain-replace

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@karmaniverous/chain-replace - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/export/chainReplace/chainReplace.js

@@ -15,3 +15,3 @@ "use strict";

* @param {string} input - Input string.
* @param {Array<Array<(string|Object), string>>} [replacements] - Replacements array of [pattern: string|RegExp, replacement: string].
* @param {Array<Array<(string|Object), string>>} [replacements] - Replacements array of [pattern: string\|RegExp, replacement: string].
*

@@ -18,0 +18,0 @@ * @returns {string} String result of chained replacements.

{
"name": "@karmaniverous/chain-replace",
"version": "0.0.4",
"version": "0.0.5",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -23,3 +23,3 @@ # chain-replace

| input | <code>string</code> | Input string. |
| [replacements] | <code>Array.&lt;Array.&lt;(string\|Object), string&gt;&gt;</code> | Replacements array of [pattern: string|RegExp, replacement: string]. |
| [replacements] | <code>Array.&lt;Array.&lt;(string\|Object), string&gt;&gt;</code> | Replacements array of [pattern: string\|RegExp, replacement: string]. |

@@ -26,0 +26,0 @@

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