@humanwhocodes/momoa
Advanced tools
Comparing version 2.0.3 to 2.0.4
10
api.js
@@ -390,2 +390,12 @@ 'use strict'; | ||
/* | ||
* Must always have a digit in this position to avoid: | ||
* 5e | ||
* 12E+ | ||
* 42e- | ||
*/ | ||
if (!isDigit(c)) { | ||
unexpected(c); | ||
} | ||
while (isDigit(c)) { | ||
@@ -392,0 +402,0 @@ value += c; |
{ | ||
"name": "@humanwhocodes/momoa", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "JSON AST parser, tokenizer, printer, traverser.", | ||
@@ -5,0 +5,0 @@ "author": "Nicholas C. Zakas", |
49132
924