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

@navpreetdevpuri/base-2-n

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navpreetdevpuri/base-2-n - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

lib/index.js

@@ -99,6 +99,6 @@ "use strict";

}
var bothOddFlag = 0;
var bothOddFlag = '\u0000';
if (this.digits[this.digits.length - 1] % 2 === 1 &&
other.digits[other.digits.length - 1] % 2 === 1) {
bothOddFlag = 1;
bothOddFlag = '\u0001';
}

@@ -105,0 +105,0 @@ var thisHalf = this.half();

{
"name": "@navpreetdevpuri/base-2-n",
"version": "1.0.5",
"version": "1.0.6",
"description": "To work with base 2^n numbers",

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

@@ -118,3 +118,3 @@ class Base2N {

}
let bothOddFlag = 0;
let bothOddFlag = '\u0000';
if (

@@ -124,3 +124,3 @@ this.digits[this.digits.length - 1] % 2 === 1 &&

) {
bothOddFlag = 1;
bothOddFlag = '\u0001';
}

@@ -127,0 +127,0 @@ const thisHalf = this.half();

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