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

fcbuffer

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fcbuffer - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

6

lib/types.js

@@ -476,5 +476,5 @@ 'use strict';

var bn = new BN(bcopy.toBuffer());
var buf = bn.toArrayLike(Buffer, 'le', size);
bn = new BN(buf);
var bn = new BN(bcopy.toHex(), 'hex');
var buf = bn.toArrayLike(Buffer, 'le', size); // convert to little endian
bn = new BN(buf.toString('hex'), 'hex');
if (signed) {

@@ -481,0 +481,0 @@ bn = bn.fromTwos(bits);

{
"name": "fcbuffer",
"description": "Serialization library geared towards immutable data storage such as blockchains.",
"version": "2.0.5",
"version": "2.0.6",
"main": "lib/index.js",

@@ -20,3 +20,3 @@ "license": "MIT",

"dependencies": {
"bn.js": "^4.11.6",
"bn.js": "^4.11.8",
"bytebuffer": "^5.0.1"

@@ -23,0 +23,0 @@ },

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