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.2 to 0.15.3

7

dist/index.js

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

return false;
if (!this.p.parser.validAction(this.state, reduce)) {
let { parser } = this.p;
if (!parser.validAction(this.state, reduce)) {
let depth = reduce >> 19 /* ReduceDepthShift */, term = reduce & 65535 /* ValueMask */;
let target = this.stack.length - depth * 3;
if (target < 0 || parser.getGoto(this.stack[target], term, true) < 0)
return false;
this.storeNode(0 /* Err */, this.reducePos, this.reducePos, 4, true);

@@ -303,0 +308,0 @@ this.score -= 100 /* Reduce */;

2

package.json
{
"name": "@lezer/lr",
"version": "0.15.2",
"version": "0.15.3",
"description": "Incremental parser",

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

# @lezer/lr
[ [**WEBSITE**](http://lezer.codemirror.net) | [**ISSUES**](https://github.com/lezer-parser/lezer/issues) | [**FORUM**](https://discuss.codemirror.net/c/lezer) | [**CHANGELOG**](https://github.com/lezer-parser/lezer/blob/master/CHANGELOG.md) ]
[ [**WEBSITE**](http://lezer.codemirror.net) | [**ISSUES**](https://github.com/lezer-parser/lezer/issues) | [**FORUM**](https://discuss.codemirror.net/c/lezer) | [**CHANGELOG**](https://github.com/lezer-parser/lr/blob/master/CHANGELOG.md) ]

@@ -5,0 +5,0 @@ Lezer ("reader" in Dutch, pronounced pretty much as laser) is an

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