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.2 to 1.0.3

2

lib/index.js

@@ -87,3 +87,3 @@ var Base2N = /** @class */ (function () {

var curr = (this.digits[i] >> 1) | (carry << 15);
carry = curr & 1;
carry = this.digits[i] & 1;
result[i] = curr;

@@ -90,0 +90,0 @@ }

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

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

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

const curr = (this.digits[i] >> 1) | (carry << 15);
carry = curr & 1;
carry = this.digits[i] & 1;
result[i] = curr;

@@ -111,0 +111,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