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

homunculus

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homunculus - npm Package Compare versions

Comparing version 1.3.4 to 1.4.0

.idea/encodings.xml

5

package.json
{
"name": "homunculus",
"version": "1.3.4",
"version": "1.4.0",
"description": "A lexer&parser by Javascript",

@@ -47,3 +47,4 @@ "maintainers": [

"es6",
"jsx"
"jsx",
"csx"
],

@@ -50,0 +51,0 @@ "author": "army8735",

@@ -6,2 +6,3 @@ var Lexer = require('./lexer/Lexer');

var JSXLexer = require('./lexer/JSXLexer');
var CSXLexer = require('./lexer/CSXLexer');

@@ -18,2 +19,3 @@ var EcmascriptRule = require('./lexer/rule/EcmascriptRule');

var JSXToken = require('./lexer/JSXToken');
var CSXToken = require('./lexer/CSXToken');

@@ -25,2 +27,3 @@ var JsParser = require('./parser/js/Parser');

var JSXParser = require('./parser/jsx/Parser');
var CSXParser = require('./parser/csx/Parser');

@@ -32,2 +35,3 @@ var JsNode = require('./parser/js/Node');

var JSXNode = require('./parser/jsx/Node');
var CSXNode = require('./parser/csx/Node');

@@ -63,2 +67,4 @@ var JsContext = require('./parser/js/Context');

return JSXLexer;
case 'csx':
return CSXLexer;
default:

@@ -88,2 +94,4 @@ throw new Error('Unsupport Language Lexer: ' + lan);

return JSXParser;
case 'csx':
return CSXParser;
default:

@@ -114,2 +122,4 @@ throw new Error('Unsupport Language Parser: ' + lan);

return JSXNode;
case 'csx':
return CSXNode;
default:

@@ -145,2 +155,4 @@ throw new Error('Unsupport Language Node: ' + lan);

return JSXToken;
case 'csx':
return CSXToken;
default:

@@ -169,2 +181,4 @@ return Token;

return EcmascriptRule;
case 'csx':
return EcmascriptRule;
default:

@@ -210,2 +224,4 @@ throw new Error('Unsupport Language Context: ' + lan);

return new JSXLexer(new EcmascriptRule());
case 'csx':
return new CSXLexer(new EcmascriptRule());
default:

@@ -238,2 +254,4 @@ throw new Error('Unsupport Language Lexer: ' + lan);

return new JSXParser(exports.getLexer(lan));
case 'csx':
return new CSXParser(exports.getLexer(lan));
default:

@@ -240,0 +258,0 @@ throw new Error('Unsupport Language Parser: ' + lan);

@@ -6,2 +6,3 @@ define(function(require, exports, module) {var Lexer = require('./lexer/Lexer');

var JSXLexer = require('./lexer/JSXLexer');
var CSXLexer = require('./lexer/CSXLexer');

@@ -18,2 +19,3 @@ var EcmascriptRule = require('./lexer/rule/EcmascriptRule');

var JSXToken = require('./lexer/JSXToken');
var CSXToken = require('./lexer/CSXToken');

@@ -25,2 +27,3 @@ var JsParser = require('./parser/js/Parser');

var JSXParser = require('./parser/jsx/Parser');
var CSXParser = require('./parser/csx/Parser');

@@ -32,2 +35,3 @@ var JsNode = require('./parser/js/Node');

var JSXNode = require('./parser/jsx/Node');
var CSXNode = require('./parser/csx/Node');

@@ -63,2 +67,4 @@ var JsContext = require('./parser/js/Context');

return JSXLexer;
case 'csx':
return CSXLexer;
default:

@@ -88,2 +94,4 @@ throw new Error('Unsupport Language Lexer: ' + lan);

return JSXParser;
case 'csx':
return CSXParser;
default:

@@ -114,2 +122,4 @@ throw new Error('Unsupport Language Parser: ' + lan);

return JSXNode;
case 'csx':
return CSXNode;
default:

@@ -145,2 +155,4 @@ throw new Error('Unsupport Language Node: ' + lan);

return JSXToken;
case 'csx':
return CSXToken;
default:

@@ -169,2 +181,4 @@ return Token;

return EcmascriptRule;
case 'csx':
return EcmascriptRule;
default:

@@ -210,2 +224,4 @@ throw new Error('Unsupport Language Context: ' + lan);

return new JSXLexer(new EcmascriptRule());
case 'csx':
return new CSXLexer(new EcmascriptRule());
default:

@@ -238,2 +254,4 @@ throw new Error('Unsupport Language Lexer: ' + lan);

return new JSXParser(exports.getLexer(lan));
case 'csx':
return new CSXParser(exports.getLexer(lan));
default:

@@ -240,0 +258,0 @@ throw new Error('Unsupport Language Parser: ' + lan);

.idea/workspace.xml

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