Socket
Socket
Sign inDemoInstall

@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.16.1 to 0.16.2

4

dist/index.js

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

storeNode(term, start, end, size = 4, isReduce = false) {
if (term == 0 /* Err */) { // Try to omit/merge adjacent error nodes
if (term == 0 /* Err */ &&
(!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
// Try to omit/merge adjacent error nodes
let cur = this, top = this.buffer.length;

@@ -132,0 +134,0 @@ if (top == 0 && cur.parent) {

{
"name": "@lezer/lr",
"version": "0.16.1",
"version": "0.16.2",
"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