New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

varsize-string

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

varsize-string - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

index.js

@@ -17,4 +17,4 @@ function VarSizeString (string, characterLookup) {

const chars = new Uint16Array(string.length)
for (var i = 0; i < string.length; i++) {
chars[i] = string.charCodeAt(i)
for (var j = 0; j < string.length; j++) {
chars[j] = string.charCodeAt(j)
}

@@ -21,0 +21,0 @@ const context = {}

{
"name": "varsize-string",
"version": "2.0.0",
"version": "2.0.1",
"description": "A package for working with strings where the different characters have different sizes.",

@@ -5,0 +5,0 @@ "main": "index.js",

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