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.2
to
1.1.3
+6
-0
CHANGELOG.md

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

## 1.1.3 (2025-03-16)
### Bug fixes
Enable delimiter detection for the grammar, improving bracket matching and by-syntax cursor navigation.
## 1.1.2 (2023-12-28)

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

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

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

@@ -13,19 +13,30 @@ // This file was generated by lezer-generator. You probably shouldn't edit it.

Identifier = 11,
ArgumentList = 12,
ConditionalExpression = 14,
AssignmentExpression = 15,
CallExpression = 16,
FieldExpression = 18,
FieldIdentifier = 19,
DestructorName = 20,
TemplateMethod = 21,
ScopedFieldIdentifier = 22,
NamespaceIdentifier = 23,
TemplateType = 24,
TypeIdentifier = 25,
ScopedTypeIdentifier = 26,
ScopedNamespaceIdentifier = 27,
TemplateArgumentList = 31,
TypeDescriptor = 33,
MsDeclspecModifier = 44,
ArgumentList = 14,
ConditionalExpression = 15,
AssignmentExpression = 16,
CallExpression = 17,
PrimitiveType = 18,
FieldExpression = 19,
FieldIdentifier = 20,
DestructorName = 21,
TemplateMethod = 22,
ScopedFieldIdentifier = 23,
NamespaceIdentifier = 24,
TemplateType = 25,
TypeIdentifier = 26,
ScopedTypeIdentifier = 27,
ScopedNamespaceIdentifier = 28,
TemplateArgumentList = 32,
TypeDescriptor = 34,
_const = 35,
volatile = 36,
restrict = 37,
_Atomic = 38,
mutable = 39,
constexpr = 40,
constinit = 41,
consteval = 42,
struct = 44,
MsDeclspecModifier = 45,
__declspec = 46,
Attribute = 47,

@@ -35,2 +46,3 @@ AttributeName = 48,

incDec = 55,
CompareOp = 67,
templateArgsEnd = 66,

@@ -40,6 +52,17 @@ UpdateOp = 69,

CharLiteral = 72,
VirtualSpecifier = 74,
BaseClassClause = 75,
Access = 76,
virtual = 77,
FieldDeclarationList = 78,
extern = 80,
_static = 81,
register = 82,
inline = 83,
thread_local = 84,
AttributeSpecifier = 85,
__attribute__ = 86,
MsBasedModifier = 88,
__based = 89,
MsPointerModifier = 90,
ParameterList = 92,

@@ -49,3 +72,5 @@ ParameterDeclaration = 93,

Noexcept = 96,
noexcept = 97,
RequiresClause = 98,
requires = 99,
True = 100,

@@ -60,2 +85,4 @@ False = 101,

TypeParameterDeclaration = 108,
typename = 109,
_class = 110,
VariadicParameterDeclaration = 111,

@@ -65,9 +92,14 @@ VariadicDeclarator = 112,

VariadicTypeParameterDeclaration = 115,
template = 117,
AbstractFunctionDeclarator = 118,
ThrowSpecifier = 123,
_throw = 124,
TrailingReturnType = 125,
CompoundStatement = 126,
FunctionDefinition = 127,
MsCallModifier = 128,
TryStatement = 129,
_try = 130,
CatchClause = 131,
_catch = 132,
LinkageSpecification = 133,

@@ -81,6 +113,10 @@ Declaration = 134,

ExportDeclaration = 140,
_export = 141,
ImportDeclaration = 142,
_import = 143,
ModuleName = 144,
HeaderName = 146,
CaseStatement = 147,
_case = 148,
_default = 149,
LabeledStatement = 150,

@@ -90,27 +126,52 @@ StatementIdentifier = 151,

IfStatement = 153,
_if = 154,
ConditionClause = 155,
_else = 157,
SwitchStatement = 158,
_switch = 159,
DoStatement = 160,
_do = 161,
_while = 162,
WhileStatement = 163,
ForStatement = 164,
_for = 165,
ReturnStatement = 166,
_return = 167,
BreakStatement = 168,
_break = 169,
ContinueStatement = 170,
_continue = 171,
GotoStatement = 172,
goto = 173,
CoReturnStatement = 174,
co_return = 175,
CoYieldStatement = 176,
co_yield = 177,
AttributeStatement = 178,
ForRangeLoop = 179,
AliasDeclaration = 180,
using = 181,
TypeDefinition = 182,
typedef = 183,
ThrowStatement = 188,
NamespaceDefinition = 189,
namespace = 190,
ScopedIdentifier = 191,
operator = 222,
_new = 288,
_delete = 291,
co_await = 201,
ConceptDefinition = 202,
concept = 203,
UsingDeclaration = 204,
_enum = 205,
StaticAssertDeclaration = 206,
static_assert = 207,
ConcatenatedString = 208,
TemplateDeclaration = 209,
FriendDeclaration = 210,
friend = 211,
union = 212,
ExplicitFunctionSpecifier = 214,
explicit = 215,
FieldInitializerList = 216,

@@ -123,2 +184,3 @@ FieldInitializer = 217,

ModuleDeclaration = 227,
module = 228,
RequiresExpression = 229,

@@ -130,5 +192,8 @@ ReturnTypeRequirement = 234,

SizedTypeSpecifier = 258,
TypeSize = 259,
EnumeratorList = 260,
Enumerator = 261,
Decltype = 263,
decltype = 264,
auto = 265,
PointerExpression = 270,

@@ -141,4 +206,6 @@ SubscriptExpression = 271,

SizeofExpression = 282,
sizeof = 283,
CoAwaitExpression = 284,
CompoundLiteralExpression = 285,
NULL = 286,
NewExpression = 287,

@@ -148,2 +215,4 @@ NewDeclarator = 289,

ParameterPackExpansion = 292,
nullptr = 293,
_this = 294,
UserDefinedLiteral = 295,

@@ -150,0 +219,0 @@ PreprocArg = 298,

@@ -380,3 +380,2 @@ # Scoped function calls

# Parameter pack expansions

@@ -383,0 +382,0 @@

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