New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@lezer/cpp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/cpp - npm Package Compare versions

Comparing version
1.1.3
to
1.1.4
+6
-0
CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.1.4 (2025-12-09)
### Bug fixes
Fix a bug where the parser would get stuck trying to parse a big expression with multiple less-than operators as a template type.
## 1.1.3 (2025-03-16)

@@ -2,0 +8,0 @@

+1
-1
{
"name": "@lezer/cpp",
"version": "1.1.3",
"version": "1.1.4",
"description": "lezer-based C++ grammar",

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

@@ -45,4 +45,5 @@ // This file was generated by lezer-generator. You probably shouldn't edit it.

incDec = 55,
lessThan = 65,
templateArgsEnd = 66,
CompareOp = 67,
templateArgsEnd = 66,
UpdateOp = 69,

@@ -49,0 +50,0 @@ Number = 71,

@@ -721,1 +721,21 @@ # Scoped function calls

ExpressionStatement(AssignmentExpression(Identifier,InitializerList(Identifier,Identifier))))))
# Chain of less-than operators
if (a < 0 || b < 0 || c < 0 || d < 0) b();
==>
Program(IfStatement(if,
ConditionClause(
BinaryExpression(
BinaryExpression(
BinaryExpression(
BinaryExpression(Identifier,CompareOp,Number),
LogicOp,
BinaryExpression(Identifier,CompareOp,Number)),
LogicOp,
BinaryExpression(Identifier,CompareOp,Number)),
LogicOp,
BinaryExpression(Identifier,CompareOp,Number))),
ExpressionStatement(CallExpression(Identifier,ArgumentList))))

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display