babylon
Advanced tools
Comparing version 6.0.17 to 6.0.18
@@ -55,3 +55,3 @@ /* @flow */ | ||
case "StringLiteral": | ||
case "NumberLiteral": | ||
case "NumericLiteral": | ||
name = String(key.value); | ||
@@ -442,3 +442,3 @@ break; | ||
var value = this.state.value; | ||
node = this.parseLiteral(value.value, "RegexLiteral"); | ||
node = this.parseLiteral(value.value, "RegExpLiteral"); | ||
node.pattern = value.pattern; | ||
@@ -449,3 +449,3 @@ node.flags = value.flags; | ||
case _tokenizerTypes.types.num: | ||
return this.parseLiteral(this.state.value, "NumberLiteral"); | ||
return this.parseLiteral(this.state.value, "NumericLiteral"); | ||
@@ -452,0 +452,0 @@ case _tokenizerTypes.types.string: |
@@ -513,3 +513,3 @@ /* @flow */ | ||
this.next(); | ||
return this.finishNode(node, "NumberLiteralTypeAnnotation"); | ||
return this.finishNode(node, "NumericLiteralTypeAnnotation"); | ||
@@ -516,0 +516,0 @@ default: |
{ | ||
"name": "babylon", | ||
"version": "6.0.17", | ||
"version": "6.0.18", | ||
"description": "A JavaScript parser", | ||
@@ -5,0 +5,0 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", |
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
196823