Socket
Socket
Sign inDemoInstall

lex

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lex - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

11

lib/lexer.js

@@ -7,7 +7,2 @@ if (typeof module === "object" && typeof module.exports === "object") module.exports = Lexer;

Lexer.prototype.setInput = function (input) {
this.input = input;
return this;
};
function Lexer(defunct) {

@@ -41,2 +36,8 @@ if (typeof defunct !== "function") defunct = Lexer.defunct;

this.setInput = function (input) {
remove = 0;
this.input = input;
return this;
};
this.lex = function () {

@@ -43,0 +44,0 @@ this.reject = true;

{
"name": "lex",
"description": "An elegant armor-plated JavaScript lexer modelled after flex. Easily extensible to tailor to your need for perfection.",
"version": "1.3.0",
"version": "1.4.0",
"keywords": ["lexer"],

@@ -6,0 +6,0 @@ "author": "Aadit M Shah (http://aaditmshah.github.com/) <aaditmshah@myopera.com>",

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