Socket
Socket
Sign inDemoInstall

prototypes

Package Overview
Dependencies
0
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.2 to 2.3.3

3

lib/string.js

@@ -141,2 +141,3 @@ 'use strict';

{
if (!this.contains(find)) return this;
return this.split(find).join(replace);

@@ -161,2 +162,3 @@ }

}
if (!this.containsIgnoreCase(find)) return this;
var newCase = new RegExp(find, 'i');

@@ -176,2 +178,3 @@ return this.replace(newCase, replace);

}
if (!this.containsIgnoreCase(find)) return this;
var newCase = new RegExp(find, 'gi');

@@ -178,0 +181,0 @@ return this.replace(newCase, replace);

2

package.json
{
"name": "prototypes",
"version": "2.3.2",
"version": "2.3.3",
"description": "Some common prototypes for node.js: string.startsWith(), object.countProperties() and more. Facilities for functional programming with objects: object.forEach(), object.filter(). Functions are added safely using Object.defineProperty().",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/alexfernandez/prototypes",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc