Comparing version 0.0.10 to 0.0.11
@@ -105,3 +105,3 @@ 'use strict'; | ||
value: function cloneElement() { | ||
return new Token(this._type, this._value); | ||
return new Token(this._type, this._value, this._sourceCode); | ||
} | ||
@@ -108,0 +108,0 @@ }, { |
@@ -40,4 +40,2 @@ 'use strict'; | ||
/*IT*/ClassExpression: ['id', 'superClass', 'body'], | ||
/*--*/ComprehensionBlock: ['left', 'right'], // CAUTION: It's deferred to ES7. | ||
/*--*/ComprehensionExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7. | ||
/*IT*/ConditionalExpression: ['test', 'consequent', 'alternate'], | ||
@@ -58,3 +56,2 @@ /*IT*/ContinueStatement: ['label'], | ||
/*IT*/FunctionExpression: ['id', 'params', 'body'], | ||
/*--*/GeneratorExpression: ['blocks', 'filter', 'body'], // CAUTION: It's deferred to ES7. | ||
/*IT*/Identifier: [], | ||
@@ -61,0 +58,0 @@ /*IT*/IfStatement: ['test', 'consequent', 'alternate'], |
{ | ||
"name": "cst", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "JavaScript CST Implementation", | ||
@@ -5,0 +5,0 @@ "author": "Marat Dulin", |
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
399994
6216