🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP →
Sign In

oxc-parser

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oxc-parser - npm Package Compare versions

Comparing version
0.140.0
to
0.141.0
+24
-24
package.json
{
"name": "oxc-parser",
"version": "0.140.0",
"version": "0.141.0",
"description": "Oxc Parser Node API",

@@ -63,3 +63,3 @@ "keywords": [

"dependencies": {
"@oxc-project/types": "^0.140.0"
"@oxc-project/types": "^0.141.0"
},

@@ -70,3 +70,3 @@ "devDependencies": {

"@emnapi/runtime": "1.11.2",
"@napi-rs/cli": "3.7.3",
"@napi-rs/cli": "3.7.4",
"@napi-rs/wasm-runtime": "1.1.6",

@@ -79,3 +79,3 @@ "@types/node": "24.1.0",

"publint": "0.3.21",
"rolldown": "1.1.5",
"rolldown": "1.2.0",
"tinypool": "^2.0.0",

@@ -120,22 +120,22 @@ "vitest": "4.1.10"

"optionalDependencies": {
"@oxc-parser/binding-darwin-arm64": "0.140.0",
"@oxc-parser/binding-android-arm64": "0.140.0",
"@oxc-parser/binding-win32-arm64-msvc": "0.140.0",
"@oxc-parser/binding-linux-arm64-gnu": "0.140.0",
"@oxc-parser/binding-linux-arm64-musl": "0.140.0",
"@oxc-parser/binding-openharmony-arm64": "0.140.0",
"@oxc-parser/binding-android-arm-eabi": "0.140.0",
"@oxc-parser/binding-linux-arm-gnueabihf": "0.140.0",
"@oxc-parser/binding-linux-arm-musleabihf": "0.140.0",
"@oxc-parser/binding-win32-ia32-msvc": "0.140.0",
"@oxc-parser/binding-linux-ppc64-gnu": "0.140.0",
"@oxc-parser/binding-linux-riscv64-gnu": "0.140.0",
"@oxc-parser/binding-linux-riscv64-musl": "0.140.0",
"@oxc-parser/binding-linux-s390x-gnu": "0.140.0",
"@oxc-parser/binding-wasm32-wasi": "0.140.0",
"@oxc-parser/binding-darwin-x64": "0.140.0",
"@oxc-parser/binding-win32-x64-msvc": "0.140.0",
"@oxc-parser/binding-freebsd-x64": "0.140.0",
"@oxc-parser/binding-linux-x64-gnu": "0.140.0",
"@oxc-parser/binding-linux-x64-musl": "0.140.0"
"@oxc-parser/binding-darwin-arm64": "0.141.0",
"@oxc-parser/binding-android-arm64": "0.141.0",
"@oxc-parser/binding-win32-arm64-msvc": "0.141.0",
"@oxc-parser/binding-linux-arm64-gnu": "0.141.0",
"@oxc-parser/binding-linux-arm64-musl": "0.141.0",
"@oxc-parser/binding-openharmony-arm64": "0.141.0",
"@oxc-parser/binding-android-arm-eabi": "0.141.0",
"@oxc-parser/binding-linux-arm-gnueabihf": "0.141.0",
"@oxc-parser/binding-linux-arm-musleabihf": "0.141.0",
"@oxc-parser/binding-win32-ia32-msvc": "0.141.0",
"@oxc-parser/binding-linux-ppc64-gnu": "0.141.0",
"@oxc-parser/binding-linux-riscv64-gnu": "0.141.0",
"@oxc-parser/binding-linux-riscv64-musl": "0.141.0",
"@oxc-parser/binding-linux-s390x-gnu": "0.141.0",
"@oxc-parser/binding-wasm32-wasi": "0.141.0",
"@oxc-parser/binding-darwin-x64": "0.141.0",
"@oxc-parser/binding-win32-x64-msvc": "0.141.0",
"@oxc-parser/binding-freebsd-x64": "0.141.0",
"@oxc-parser/binding-linux-x64-gnu": "0.141.0",
"@oxc-parser/binding-linux-x64-musl": "0.141.0"
},

@@ -142,0 +142,0 @@ "scripts": {

@@ -84,4 +84,4 @@ // prettier-ignore

const bindingPackageVersion = require('@oxc-parser/binding-android-arm64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -101,4 +101,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-android-arm-eabi/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -123,4 +123,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-win32-x64-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -140,4 +140,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-win32-x64-msvc/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -158,4 +158,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -175,4 +175,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-win32-arm64-msvc/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -195,4 +195,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-darwin-universal/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -212,4 +212,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-darwin-x64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -229,4 +229,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-darwin-arm64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -250,4 +250,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-freebsd-x64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -267,4 +267,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-freebsd-arm64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -289,4 +289,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -306,4 +306,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -325,4 +325,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -342,4 +342,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -361,4 +361,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -378,4 +378,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-gnueabihf/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -397,4 +397,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -414,4 +414,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -433,4 +433,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -450,4 +450,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -468,4 +468,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -485,4 +485,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-linux-s390x-gnu/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -506,4 +506,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -523,4 +523,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-openharmony-x64/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -540,4 +540,4 @@ return binding

const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm/package.json').version
if (bindingPackageVersion !== '0.140.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.140.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.141.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.141.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -544,0 +544,0 @@ return binding

@@ -14,179 +14,180 @@ // Auto-generated code, DO NOT EDIT DIRECTLY!

["TemplateElement", 6],
["Super", 7],
["Hashbang", 8],
["EmptyStatement", 9],
["DebuggerStatement", 10],
["PrivateIdentifier", 11],
["BooleanLiteral", 12],
["NullLiteral", 13],
["NumericLiteral", 14],
["StringLiteral", 15],
["BigIntLiteral", 16],
["RegExpLiteral", 17],
["JSXOpeningFragment", 18],
["JSXClosingFragment", 19],
["JSXEmptyExpression", 20],
["JSXIdentifier", 21],
["JSXText", 22],
["TSAnyKeyword", 23],
["TSStringKeyword", 24],
["TSBooleanKeyword", 25],
["TSNumberKeyword", 26],
["TSNeverKeyword", 27],
["TSIntrinsicKeyword", 28],
["TSUnknownKeyword", 29],
["TSNullKeyword", 30],
["TSUndefinedKeyword", 31],
["TSVoidKeyword", 32],
["TSSymbolKeyword", 33],
["TSThisType", 34],
["TSObjectKeyword", 35],
["TSBigIntKeyword", 36],
["JSDocUnknownType", 37],
["ImportMeta", 7],
["NewTarget", 8],
["Super", 9],
["Hashbang", 10],
["EmptyStatement", 11],
["DebuggerStatement", 12],
["PrivateIdentifier", 13],
["BooleanLiteral", 14],
["NullLiteral", 15],
["NumericLiteral", 16],
["StringLiteral", 17],
["BigIntLiteral", 18],
["RegExpLiteral", 19],
["JSXOpeningFragment", 20],
["JSXClosingFragment", 21],
["JSXEmptyExpression", 22],
["JSXIdentifier", 23],
["JSXText", 24],
["TSAnyKeyword", 25],
["TSStringKeyword", 26],
["TSBooleanKeyword", 27],
["TSNumberKeyword", 28],
["TSNeverKeyword", 29],
["TSIntrinsicKeyword", 30],
["TSUnknownKeyword", 31],
["TSNullKeyword", 32],
["TSUndefinedKeyword", 33],
["TSVoidKeyword", 34],
["TSSymbolKeyword", 35],
["TSThisType", 36],
["TSObjectKeyword", 37],
["TSBigIntKeyword", 38],
["JSDocUnknownType", 39],
// Non-leaf nodes
["Program", 38],
["ArrayExpression", 39],
["ObjectExpression", 40],
["ObjectProperty", 41],
["TemplateLiteral", 42],
["TaggedTemplateExpression", 43],
["ComputedMemberExpression", 44],
["StaticMemberExpression", 45],
["PrivateFieldExpression", 46],
["CallExpression", 47],
["NewExpression", 48],
["MetaProperty", 49],
["SpreadElement", 50],
["UpdateExpression", 51],
["UnaryExpression", 52],
["BinaryExpression", 53],
["PrivateInExpression", 54],
["LogicalExpression", 55],
["ConditionalExpression", 56],
["AssignmentExpression", 57],
["ArrayAssignmentTarget", 58],
["ObjectAssignmentTarget", 59],
["AssignmentTargetWithDefault", 60],
["AssignmentTargetPropertyIdentifier", 61],
["AssignmentTargetPropertyProperty", 62],
["SequenceExpression", 63],
["AwaitExpression", 64],
["ChainExpression", 65],
["ParenthesizedExpression", 66],
["BlockStatement", 67],
["VariableDeclaration", 68],
["VariableDeclarator", 69],
["ExpressionStatement", 70],
["IfStatement", 71],
["DoWhileStatement", 72],
["WhileStatement", 73],
["ForStatement", 74],
["ForInStatement", 75],
["ForOfStatement", 76],
["ContinueStatement", 77],
["BreakStatement", 78],
["ReturnStatement", 79],
["WithStatement", 80],
["SwitchStatement", 81],
["SwitchCase", 82],
["LabeledStatement", 83],
["ThrowStatement", 84],
["TryStatement", 85],
["CatchClause", 86],
["AssignmentPattern", 87],
["ObjectPattern", 88],
["BindingProperty", 89],
["ArrayPattern", 90],
["Function", 91],
["FormalParameters", 92],
["FunctionBody", 93],
["ArrowFunctionExpression", 94],
["YieldExpression", 95],
["Class", 96],
["ClassBody", 97],
["MethodDefinition", 98],
["PropertyDefinition", 99],
["StaticBlock", 100],
["AccessorProperty", 101],
["ImportExpression", 102],
["ImportDeclaration", 103],
["ImportSpecifier", 104],
["ImportDefaultSpecifier", 105],
["ImportNamespaceSpecifier", 106],
["ImportAttribute", 107],
["ExportNamedDeclaration", 108],
["ExportDefaultDeclaration", 109],
["ExportAllDeclaration", 110],
["ExportSpecifier", 111],
["V8IntrinsicExpression", 112],
["JSXElement", 113],
["JSXOpeningElement", 114],
["JSXClosingElement", 115],
["JSXFragment", 116],
["JSXNamespacedName", 117],
["JSXMemberExpression", 118],
["JSXExpressionContainer", 119],
["JSXAttribute", 120],
["JSXSpreadAttribute", 121],
["JSXSpreadChild", 122],
["TSEnumDeclaration", 123],
["TSEnumBody", 124],
["TSEnumMember", 125],
["TSTypeAnnotation", 126],
["TSLiteralType", 127],
["TSConditionalType", 128],
["TSUnionType", 129],
["TSIntersectionType", 130],
["TSParenthesizedType", 131],
["TSTypeOperator", 132],
["TSArrayType", 133],
["TSIndexedAccessType", 134],
["TSTupleType", 135],
["TSNamedTupleMember", 136],
["TSOptionalType", 137],
["TSRestType", 138],
["TSTypeReference", 139],
["TSQualifiedName", 140],
["TSTypeParameterInstantiation", 141],
["TSTypeParameter", 142],
["TSTypeParameterDeclaration", 143],
["TSTypeAliasDeclaration", 144],
["TSClassImplements", 145],
["TSInterfaceDeclaration", 146],
["TSInterfaceBody", 147],
["TSPropertySignature", 148],
["TSIndexSignature", 149],
["TSCallSignatureDeclaration", 150],
["TSMethodSignature", 151],
["TSConstructSignatureDeclaration", 152],
["TSIndexSignatureName", 153],
["TSInterfaceHeritage", 154],
["TSTypePredicate", 155],
["TSModuleDeclaration", 156],
["TSGlobalDeclaration", 157],
["TSModuleBlock", 158],
["TSTypeLiteral", 159],
["TSInferType", 160],
["TSTypeQuery", 161],
["TSImportType", 162],
["TSImportTypeQualifiedName", 163],
["TSFunctionType", 164],
["TSConstructorType", 165],
["TSMappedType", 166],
["TSTemplateLiteralType", 167],
["TSAsExpression", 168],
["TSSatisfiesExpression", 169],
["TSTypeAssertion", 170],
["TSImportEqualsDeclaration", 171],
["TSExternalModuleReference", 172],
["TSNonNullExpression", 173],
["Decorator", 174],
["TSExportAssignment", 175],
["TSNamespaceExportDeclaration", 176],
["TSInstantiationExpression", 177],
["JSDocNullableType", 178],
["JSDocNonNullableType", 179],
["Program", 40],
["ArrayExpression", 41],
["ObjectExpression", 42],
["ObjectProperty", 43],
["TemplateLiteral", 44],
["TaggedTemplateExpression", 45],
["ComputedMemberExpression", 46],
["StaticMemberExpression", 47],
["PrivateFieldExpression", 48],
["CallExpression", 49],
["NewExpression", 50],
["SpreadElement", 51],
["UpdateExpression", 52],
["UnaryExpression", 53],
["BinaryExpression", 54],
["PrivateInExpression", 55],
["LogicalExpression", 56],
["ConditionalExpression", 57],
["AssignmentExpression", 58],
["ArrayAssignmentTarget", 59],
["ObjectAssignmentTarget", 60],
["AssignmentTargetWithDefault", 61],
["AssignmentTargetPropertyIdentifier", 62],
["AssignmentTargetPropertyProperty", 63],
["SequenceExpression", 64],
["AwaitExpression", 65],
["ChainExpression", 66],
["ParenthesizedExpression", 67],
["BlockStatement", 68],
["VariableDeclaration", 69],
["VariableDeclarator", 70],
["ExpressionStatement", 71],
["IfStatement", 72],
["DoWhileStatement", 73],
["WhileStatement", 74],
["ForStatement", 75],
["ForInStatement", 76],
["ForOfStatement", 77],
["ContinueStatement", 78],
["BreakStatement", 79],
["ReturnStatement", 80],
["WithStatement", 81],
["SwitchStatement", 82],
["SwitchCase", 83],
["LabeledStatement", 84],
["ThrowStatement", 85],
["TryStatement", 86],
["CatchClause", 87],
["AssignmentPattern", 88],
["ObjectPattern", 89],
["BindingProperty", 90],
["ArrayPattern", 91],
["Function", 92],
["FormalParameters", 93],
["FunctionBody", 94],
["ArrowFunctionExpression", 95],
["YieldExpression", 96],
["Class", 97],
["ClassBody", 98],
["MethodDefinition", 99],
["PropertyDefinition", 100],
["StaticBlock", 101],
["AccessorProperty", 102],
["ImportExpression", 103],
["ImportDeclaration", 104],
["ImportSpecifier", 105],
["ImportDefaultSpecifier", 106],
["ImportNamespaceSpecifier", 107],
["ImportAttribute", 108],
["ExportNamedDeclaration", 109],
["ExportDefaultDeclaration", 110],
["ExportAllDeclaration", 111],
["ExportSpecifier", 112],
["V8IntrinsicExpression", 113],
["JSXElement", 114],
["JSXOpeningElement", 115],
["JSXClosingElement", 116],
["JSXFragment", 117],
["JSXNamespacedName", 118],
["JSXMemberExpression", 119],
["JSXExpressionContainer", 120],
["JSXAttribute", 121],
["JSXSpreadAttribute", 122],
["JSXSpreadChild", 123],
["TSEnumDeclaration", 124],
["TSEnumBody", 125],
["TSEnumMember", 126],
["TSTypeAnnotation", 127],
["TSLiteralType", 128],
["TSConditionalType", 129],
["TSUnionType", 130],
["TSIntersectionType", 131],
["TSParenthesizedType", 132],
["TSTypeOperator", 133],
["TSArrayType", 134],
["TSIndexedAccessType", 135],
["TSTupleType", 136],
["TSNamedTupleMember", 137],
["TSOptionalType", 138],
["TSRestType", 139],
["TSTypeReference", 140],
["TSQualifiedName", 141],
["TSTypeParameterInstantiation", 142],
["TSTypeParameter", 143],
["TSTypeParameterDeclaration", 144],
["TSTypeAliasDeclaration", 145],
["TSClassImplements", 146],
["TSInterfaceDeclaration", 147],
["TSInterfaceBody", 148],
["TSPropertySignature", 149],
["TSIndexSignature", 150],
["TSCallSignatureDeclaration", 151],
["TSMethodSignature", 152],
["TSConstructSignatureDeclaration", 153],
["TSIndexSignatureName", 154],
["TSInterfaceHeritage", 155],
["TSTypePredicate", 156],
["TSModuleDeclaration", 157],
["TSGlobalDeclaration", 158],
["TSModuleBlock", 159],
["TSTypeLiteral", 160],
["TSInferType", 161],
["TSTypeQuery", 162],
["TSImportType", 163],
["TSImportTypeQualifiedName", 164],
["TSFunctionType", 165],
["TSConstructorType", 166],
["TSMappedType", 167],
["TSTemplateLiteralType", 168],
["TSAsExpression", 169],
["TSSatisfiesExpression", 170],
["TSTypeAssertion", 171],
["TSImportEqualsDeclaration", 172],
["TSExternalModuleReference", 173],
["TSNonNullExpression", 174],
["Decorator", 175],
["TSExportAssignment", 176],
["TSNamespaceExportDeclaration", 177],
["TSInstantiationExpression", 178],
["JSDocNullableType", 179],
["JSDocNonNullableType", 180],
]);
export const NODE_TYPES_COUNT = 180;
export const LEAF_NODE_TYPES_COUNT = 38;
export const NODE_TYPES_COUNT = 181;
export const LEAF_NODE_TYPES_COUNT = 40;

@@ -507,3 +507,2 @@ // Auto-generated code, DO NOT EDIT DIRECTLY!

walkTSUnionType(node, visitors);
break;
}

@@ -510,0 +509,0 @@ }

@@ -213,3 +213,2 @@ import { createRequire } from "node:module";

// We have to mask the bottom byte (`& 0xFF`), so may as well mask off bits which can't be set in `Kind` at same time.
// This may allow V8 to generate more efficient code for `TOKEN_TYPES[kind]`.
const kind = kindAndFlags & TOKEN_KIND_MASK;

@@ -216,0 +215,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 too big to display

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 too big to display