Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cst

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cst - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

lib/elements/Token.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc