Socket
Socket
Sign inDemoInstall

big-integer

Package Overview
Dependencies
0
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.48 to 1.6.49

6

package.json
{
"name": "big-integer",
"version": "1.6.48",
"version": "1.6.49",
"author": "Peter Olson <peter.e.c.olson+npm@gmail.com>",

@@ -39,3 +39,3 @@ "description": "An arbitrary length integer library for Javascript",

"karma-phantomjs-launcher": "^1.0.4",
"lodash": "^4.17.11",
"lodash": "^4.17.21",
"typescript": "^3.6.3",

@@ -49,2 +49,2 @@ "uglifyjs": "^2.4.10"

"typings": "./BigInteger.d.ts"
}
}

@@ -217,5 +217,6 @@ # BigInteger.js [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Monthly Downloads][downloads-img]][downloads-url]

#### `isPrime()`
#### `isPrime(strict?)`
Returns `true` if the number is prime, `false` otherwise.
Set "strict" boolean to true to force GRH-supported lower bound of 2*log(N)^2.

@@ -222,0 +223,0 @@ - `bigInt(5).isPrime()` => `true`

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc