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

varintes

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

varintes - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

10

dist/decode-pack.js

@@ -10,9 +10,9 @@ import { decode } from "./decode.js";

const result = [];
let index = 0;
while (buffer.length > 0) {
const [num, bytesRead] = decode(buffer);
result[index++] = num;
buffer = buffer.subarray(bytesRead);
let offset = 0;
while (offset < buffer.length) {
const [num, bytesRead] = decode(buffer, offset);
result.push(num);
offset += bytesRead;
}
return result;
}
{
"name": "varintes",
"version": "2.0.0",
"version": "2.0.1",
"description": "Unsigned Varint encoding and decoding, exposed as ESModule",

@@ -5,0 +5,0 @@ "keywords": [

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