Socket
Socket
Sign inDemoInstall

acorn-bigint

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-bigint - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 0.3.1 (2018-10-06)
* Fix creation of BigInt values everywhere (Thanks, Gus Caplan!)
## 0.3.0 (2018-09-14)

@@ -2,0 +6,0 @@

2

index.js

@@ -48,3 +48,3 @@ "use strict"

let str = this.input.slice(start, this.pos)
let val = typeof BigInt !== "undefined" && BigInt.parseInt ? BigInt.parseInt(str) : null
let val = typeof BigInt !== "undefined" ? BigInt(str) : null
++this.pos

@@ -51,0 +51,0 @@ return this.finishToken(tt.num, val)

@@ -24,3 +24,3 @@ {

},
"version": "0.3.0",
"version": "0.3.1",
"devDependencies": {

@@ -27,0 +27,0 @@ "acorn": "^6.0.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