babel-generator
Advanced tools
Comparing version 6.3.19 to 6.3.20
@@ -255,10 +255,4 @@ /* @flow */ | ||
} else { | ||
if (t.isLiteral(node.object) && !t.isTemplateLiteral(node.object)) { | ||
var val = undefined; | ||
if (this.format.minified) { | ||
val = this._stringLiteral(node.object); | ||
} else { | ||
val = this.getPossibleRaw(node.object) || this._stringLiteral(node.object); | ||
} | ||
if (t.isNumericLiteral(node.object)) { | ||
var val = this.getPossibleRaw(node.object) || node.object.value; | ||
if (_isInteger2["default"](+val) && !SCIENTIFIC_NOTATION.test(val) && !ZERO_DECIMAL_INTEGER.test(val) && !this.endsWith(".")) { | ||
@@ -265,0 +259,0 @@ this.push("."); |
{ | ||
"name": "babel-generator", | ||
"version": "6.3.19", | ||
"version": "6.3.20", | ||
"description": "Turns an AST into code.", | ||
@@ -16,3 +16,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"babel-runtime": "^5.0.0", | ||
"babel-types": "^6.3.18", | ||
"babel-types": "^6.3.20", | ||
"detect-indent": "^3.0.1", | ||
@@ -27,4 +27,4 @@ "is-integer": "^1.0.4", | ||
"babel-helper-fixtures": "^6.3.13", | ||
"babylon": "^6.3.18" | ||
"babylon": "^6.3.20" | ||
} | ||
} |
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
107669
24
3237
Updatedbabel-types@^6.3.20