acorn-bigint
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -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 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20162