Socket
Socket
Sign inDemoInstall

cst

Package Overview
Dependencies
Maintainers
3
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.1.3 to 0.1.4

12

lib/elements/types/Identifier.js

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

10

package.json
{
"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

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