Comparing version 0.1.3 to 0.1.4
@@ -49,3 +49,13 @@ 'use strict'; | ||
value: function _acceptChildren(children) { | ||
var name = children.passToken('Identifier').value; | ||
var name = void 0; | ||
if (children.isToken('Identifier')) { | ||
name = children.passToken('Identifier').value; | ||
// TODO: temporary fix, | ||
// until https://github.com/babel/babylon/issues/18 is resolved | ||
} else { | ||
name = children.passToken('Boolean').value; | ||
} | ||
children.assertEnd(); | ||
@@ -52,0 +62,0 @@ this.name = name; |
{ | ||
"name": "cst", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "JavaScript CST Implementation", | ||
@@ -13,7 +13,5 @@ "author": "Marat Dulin", | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Henry Zhu", | ||
"email": "hi@henryzoo.com" | ||
} | ||
"maintainers": [ | ||
"Henry Zhu <hi@henryzoo.com>", | ||
"Oleg Gaidarenko <markelog@gmail.com>" | ||
], | ||
@@ -20,0 +18,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
699875
8255