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

rlp

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rlp - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

12

index.js

@@ -61,5 +61,13 @@ var internals = {};

//The range of the first byte is [0x80, 0xb7]
var length = firstByte - 0x7f;
var length = firstByte - 0x7f,
data;
//set 0x80 null to 0
if(firstByte === 0x80){
data = new Buffer([0]);
}else{
data = input.slice(1, length);
}
return {
data: input.slice(1, length),
data: data,
remainder: input.slice(length)

@@ -66,0 +74,0 @@ };

2

package.json
{
"name": "rlp",
"version": "0.0.2",
"version": "0.0.3",
"description": "Recursive Length Prefix Encoding Module",

@@ -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