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

grasp-syntax-javascript

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grasp-syntax-javascript - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

70

index.js

@@ -1,2 +0,2 @@

// Generated by LiveScript 1.4.0
// Generated by LiveScript 1.5.0
(function(){

@@ -22,2 +22,22 @@ var ref$, each, keys, difference, intersection, syntax, syntaxFlat, i$, category, nodeName, node, complexTypes, complexTypeMap, key, val, aliasMap, matchesMap, matchesAliasMap, literals, literalMap, attrMap, attrMapInverse, alias, name, primitiveAttributesSet, nonPrimitiveAttributesSet, that, nonPrimitiveAttributes, primitiveAttributes, eitherAttributes, primitiveOnlyAttributes;

},
StringLiteral: {
alias: 'literal-str',
primitives: ['value'],
example: ['"string"']
},
NumericLiteral: {
alias: 'literal-num',
primitives: ['value'],
example: ['1']
},
BooleanLiteral: {
alias: 'literal-bool',
primitives: ['value'],
example: ['true']
},
NullLiteral: {
alias: 'literal-null',
primitives: ['value'],
example: ['null']
},
RegExpLiteral: {

@@ -408,2 +428,50 @@ alias: 'regex',

}
},
JSX: {
JSXIdentifier: {
alias: 'jsx-ident',
primitives: ['name']
},
JSXMemberExpression: {
alias: 'jsx-member',
nodes: ['object', 'property']
},
JSXNamespacedName: {
alias: 'jsx-namespaced-name',
nodes: ['namespace', 'name']
},
JSXEmptyExpression: {
alias: 'jsx-empty'
},
JSXExpressionContainer: {
alias: 'jsx-exp-container',
nodes: ['expression']
},
JSXSpreadChild: {
alias: 'jsx-spread-child',
nodes: ['expression']
},
JSXOpeningElement: {
alias: 'jsx-open',
nodes: ['name'],
nodeArrays: ['attributes'],
primitives: ['selfClosing']
},
JSXClosingElement: {
alias: 'jsx-close',
nodes: ['name']
},
JSXAttribute: {
alias: 'jsx-attr',
nodes: ['name', 'value']
},
JSXSpreadAttribute: {
alias: 'jsx-spread-attr',
nodes: ['argument']
},
JSXElement: {
alias: 'jsx-element',
nodes: ['openingElement', 'closingElement'],
nodeArrays: ['children']
}
}

@@ -410,0 +478,0 @@ };

4

package.json
{
"name": "grasp-syntax-javascript",
"version": "0.2.0",
"version": "0.2.1",
"author": "George Zahariev <z@georgezahariev.com>",

@@ -33,3 +33,3 @@ "description": "grasp query engines common parts",

"devDependencies": {
"livescript": "~1.4.0",
"livescript": "~1.5.0",
"mocha": "~2.1.0",

@@ -36,0 +36,0 @@ "istanbul": "~0.1.43"

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