oxc-parser 0.68.0 → 0.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3831,7 +3831,7 @@ function deserializeTSTupleElement(pos) {
3831
3831
  function deserializeTSTypeName(pos) {
3832
3832
  switch (uint8[pos]) {
3833
3833
  case 0:
3834
- let id = deserializeIdentifierReference(pos + 8);
3834
+ let id = deserializeBoxIdentifierReference(pos + 8);
3835
3835
  if (id.name === 'this') id = { type: 'ThisExpression', start: id.start, end: id.end };
3836
3836
  return id;
3837
3837
  case 1:
@@ -3933,7 +3933,7 @@ function deserializeTSModuleDeclarationBody(pos) {
3933
3933
  function deserializeTSTypeQueryExprName(pos) {
3934
3934
  switch (uint8[pos]) {
3935
3935
  case 0:
3936
- let id = deserializeIdentifierReference(pos + 8);
3936
+ let id = deserializeBoxIdentifierReference(pos + 8);
3937
3937
  if (id.name === 'this') id = { type: 'ThisExpression', start: id.start, end: id.end };
3938
3938
  return id;
3939
3939
  case 1:
@@ -3961,7 +3961,7 @@ function deserializeTSMappedTypeModifierOperator(pos) {
3961
3961
  function deserializeTSModuleReference(pos) {
3962
3962
  switch (uint8[pos]) {
3963
3963
  case 0:
3964
- let id = deserializeIdentifierReference(pos + 8);
3964
+ let id = deserializeBoxIdentifierReference(pos + 8);
3965
3965
  if (id.name === 'this') id = { type: 'ThisExpression', start: id.start, end: id.end };
3966
3966
  return id;
3967
3967
  case 1:
@@ -3983,7 +3983,7 @@ function deserializeTSTupleElement(pos) {
3983
3983
  function deserializeTSTypeName(pos) {
3984
3984
  switch (uint8[pos]) {
3985
3985
  case 0:
3986
- let id = deserializeIdentifierReference(pos + 8);
3986
+ let id = deserializeBoxIdentifierReference(pos + 8);
3987
3987
  if (id.name === 'this') id = { type: 'ThisExpression', start: id.start, end: id.end };
3988
3988
  return id;
3989
3989
  case 1:
@@ -4085,7 +4085,7 @@ function deserializeTSModuleDeclarationBody(pos) {
4085
4085
  function deserializeTSTypeQueryExprName(pos) {
4086
4086
  switch (uint8[pos]) {
4087
4087
  case 0:
4088
- let id = deserializeIdentifierReference(pos + 8);
4088
+ let id = deserializeBoxIdentifierReference(pos + 8);
4089
4089
  if (id.name === 'this') id = { type: 'ThisExpression', start: id.start, end: id.end };
4090
4090
  return id;
4091
4091
  case 1:
@@ -4113,7 +4113,7 @@ function deserializeTSMappedTypeModifierOperator(pos) {
4113
4113
  function deserializeTSModuleReference(pos) {
4114
4114
  switch (uint8[pos]) {
4115
4115
  case 0:
4116
- let id = deserializeIdentifierReference(pos + 8);
4116
+ let id = deserializeBoxIdentifierReference(pos + 8);
4117
4117
  if (id.name === 'this') id = { type: 'ThisExpression', start: id.start, end: id.end };
4118
4118
  return id;
4119
4119
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxc-parser",
3
- "version": "0.68.0",
3
+ "version": "0.68.1",
4
4
  "main": "index.js",
5
5
  "browser": "wasm.mjs",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@oxc-project/types": "^0.68.0"
42
+ "@oxc-project/types": "^0.68.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@codspeed/vitest-plugin": "^4.0.0",
@@ -72,16 +72,16 @@
72
72
  "dtsHeaderFile": "header.js"
73
73
  },
74
74
  "optionalDependencies": {
75
- "@oxc-parser/binding-win32-x64-msvc": "0.68.0",
76
- "@oxc-parser/binding-win32-arm64-msvc": "0.68.0",
77
- "@oxc-parser/binding-linux-x64-gnu": "0.68.0",
78
- "@oxc-parser/binding-linux-x64-musl": "0.68.0",
79
- "@oxc-parser/binding-linux-arm64-gnu": "0.68.0",
80
- "@oxc-parser/binding-linux-arm64-musl": "0.68.0",
81
- "@oxc-parser/binding-linux-arm-gnueabihf": "0.68.0",
82
- "@oxc-parser/binding-darwin-x64": "0.68.0",
83
- "@oxc-parser/binding-darwin-arm64": "0.68.0",
84
- "@oxc-parser/binding-wasm32-wasi": "0.68.0"
75
+ "@oxc-parser/binding-win32-x64-msvc": "0.68.1",
76
+ "@oxc-parser/binding-win32-arm64-msvc": "0.68.1",
77
+ "@oxc-parser/binding-linux-x64-gnu": "0.68.1",
78
+ "@oxc-parser/binding-linux-x64-musl": "0.68.1",
79
+ "@oxc-parser/binding-linux-arm64-gnu": "0.68.1",
80
+ "@oxc-parser/binding-linux-arm64-musl": "0.68.1",
81
+ "@oxc-parser/binding-linux-arm-gnueabihf": "0.68.1",
82
+ "@oxc-parser/binding-darwin-x64": "0.68.1",
83
+ "@oxc-parser/binding-darwin-arm64": "0.68.1",
84
+ "@oxc-parser/binding-wasm32-wasi": "0.68.1"
85
85
  },
86
86
  "scripts": {
87
87
  "build-dev": "napi build --no-dts-cache --platform --js bindings.js",