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

@lezer/lr

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/lr - npm Package Compare versions

Comparing version 0.15.3 to 0.15.4

7

dist/index.js

@@ -12,5 +12,4 @@ import { Parser, NodeSet, NodeType, DefaultBufferLength, NodeProp, Tree } from '@lezer/common';

p,
/// Holds state, pos, value stack pos (15 bits array index, 15 bits
/// buffer index) triplets for all but the top state
/// @internal
/// Holds state, input pos, buffer index triplets for all but the
/// top state @internal
stack,

@@ -305,3 +304,3 @@ /// The current parse state @internal

let target = this.stack.length - depth * 3;
if (target < 0 || parser.getGoto(this.stack[target], term, true) < 0)
if (target < 0 || parser.getGoto(this.stack[target], term, false) < 0)
return false;

@@ -308,0 +307,0 @@ this.storeNode(0 /* Err */, this.reducePos, this.reducePos, 4, true);

{
"name": "@lezer/lr",
"version": "0.15.3",
"version": "0.15.4",
"description": "Incremental parser",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

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