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.5.0 to 1.6.0

homunculus.js

11

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

@@ -13,4 +13,5 @@ "maintainers": [

"test": "make test",
"build": "gulp build",
"watch": "gulp watch"
"build": "gulp",
"watch": "gulp watch",
"pack": "rollup -c rollup.config.js"
},

@@ -74,2 +75,6 @@ "config": {

"mocha-lcov-reporter": "^0.0.2",
"rollup": "^1.21.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-uglify": "^6.0.3",
"through2": "^0.6.1",

@@ -76,0 +81,0 @@ "unicode-7.0.0": "^0.1.5"

var Lexer = require('./lexer/Lexer');
var Rule = require('./lexer/rule/Rule');
var CssLexer = require('./lexer/CssLexer');

@@ -73,3 +74,3 @@ var HtmlLexer = require('./lexer/HtmlLexer');

default:
throw new Error('Unsupport Language Lexer: ' + lan);
return Lexer;
}

@@ -191,4 +192,6 @@ break;

return EcmascriptRule;
case 'java':
return JavaRule;
default:
throw new Error('Unsupport Language Context: ' + lan);
return Rule;
}

@@ -195,0 +198,0 @@ case 'walk':

define(function(require, exports, module) {var Lexer = require('./lexer/Lexer');
var Rule = require('./lexer/rule/Rule');
var CssLexer = require('./lexer/CssLexer');

@@ -73,3 +74,3 @@ var HtmlLexer = require('./lexer/HtmlLexer');

default:
throw new Error('Unsupport Language Lexer: ' + lan);
return Lexer;
}

@@ -191,4 +192,6 @@ break;

return EcmascriptRule;
case 'java':
return JavaRule;
default:
throw new Error('Unsupport Language Context: ' + lan);
return Rule;
}

@@ -195,0 +198,0 @@ case 'walk':

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