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

flex-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-js - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "flex-js",
"version": "1.0.2",
"version": "1.0.3",
"description": "FLEX.JS - Fast lexer (tokenizer, scanner) for JavaScript inspired by FLEX lexer generator",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -572,3 +572,6 @@ /**

// rule action could change buffer or position, so EOF state could be changed too
isEOF = this.index >= this.source.length;
// we need revalidate EOF only if EOF was identified before action were executed
if (isEOF) {
isEOF = this.index >= this.source.length;
}

@@ -575,0 +578,0 @@ return isEOF ? this.terminate() : actionResult;

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