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

tendermint

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tendermint - npm Package Compare versions

Comparing version 4.0.5 to 4.0.6

7

lib/common.js

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

var n = parseInt(nStr);
if (!Number.isInteger(n)) {
throw Error('Value ' + JSON.stringify(nStr) + ' is not an integer');
if (!Number.isSafeInteger(n)) {
throw Error('Value ' + JSON.stringify(nStr) + ' is not an integer in the valid range');
}
if (Math.abs(n) >= Number.MAX_SAFE_INTEGER) {
throw Error('Absolute value must be < 2^53');
}
if (String(n) !== String(nStr)) {

@@ -13,0 +10,0 @@ throw Error('Value ' + JSON.stringify(nStr) + ' is not a canonical integer string representation');

@@ -35,2 +35,4 @@ 'use strict';

function encodingLength(n) {
n = safeParseInt(n);
if (signed) n *= 2;

@@ -37,0 +39,0 @@ if (!signed && n < 0 || Math.abs(n) > Number.MAX_SAFE_INTEGER) {

@@ -315,2 +315,4 @@ 'use strict';

}
// TODO: also pass transition if +2/3 of old validator set is still represented in commit
}

@@ -317,0 +319,0 @@ }

{
"name": "tendermint",
"version": "4.0.5",
"version": "4.0.6",
"description": "A light client which talks to your Tendermint node over RPC",

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