Socket
Socket
Sign inDemoInstall

utfstring

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utfstring - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

6

dist/utf_string.js

@@ -495,2 +495,5 @@ "use strict";

const startByteIndex = this.findByteIndex(str, start);
if (startByteIndex < 0) {
return -1;
}
const index = str.indexOf(searchValue, startByteIndex);

@@ -525,2 +528,5 @@ return index < 0 ? -1 : this.findCharIndex(str, index);

const startByteIndex = this.findByteIndex(str, start);
if (startByteIndex < 0) {
return -1;
}
index = str.lastIndexOf(searchValue, startByteIndex);

@@ -527,0 +533,0 @@ }

2

package.json
{
"name": "utfstring",
"version": "3.1.0",
"version": "3.1.1",
"description": "UTF-safe string operations",

@@ -5,0 +5,0 @@ "repository": {

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