oxc-parser 0.58.0 → 0.58.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.
package/deserialize-js.js CHANGED
@@ -1132,9 +1132,9 @@ function deserializeJSXOpeningElement(pos) {
1132
1132
  type: 'JSXOpeningElement',
1133
1133
  start: deserializeU32(pos),
1134
1134
  end: deserializeU32(pos + 4),
1135
- selfClosing: deserializeBool(pos + 8),
1136
- name: deserializeJSXElementName(pos + 16),
1137
1135
  attributes: deserializeVecJSXAttributeItem(pos + 32),
1136
+ name: deserializeJSXElementName(pos + 16),
1137
+ selfClosing: deserializeBool(pos + 8),
1138
1138
  };
1139
1139
  }
1140
1140
 
@@ -1163,6 +1163,8 @@ function deserializeJSXOpeningFragment(pos) {
1163
1163
  type: 'JSXOpeningFragment',
1164
1164
  start: deserializeU32(pos),
1165
1165
  end: deserializeU32(pos + 4),
1166
+ attributes: [],
1167
+ selfClosing: false,
1166
1168
  };
1167
1169
  }
1168
1170
 
package/deserialize-ts.js CHANGED
@@ -1184,9 +1184,9 @@ function deserializeJSXOpeningElement(pos) {
1184
1184
  type: 'JSXOpeningElement',
1185
1185
  start: deserializeU32(pos),
1186
1186
  end: deserializeU32(pos + 4),
1187
- selfClosing: deserializeBool(pos + 8),
1188
- name: deserializeJSXElementName(pos + 16),
1189
1187
  attributes: deserializeVecJSXAttributeItem(pos + 32),
1188
+ name: deserializeJSXElementName(pos + 16),
1189
+ selfClosing: deserializeBool(pos + 8),
1190
1190
  typeParameters: deserializeOptionBoxTSTypeParameterInstantiation(pos + 64),
1191
1191
  };
1192
1192
  }
@@ -1216,6 +1216,8 @@ function deserializeJSXOpeningFragment(pos) {
1216
1216
  type: 'JSXOpeningFragment',
1217
1217
  start: deserializeU32(pos),
1218
1218
  end: deserializeU32(pos + 4),
1219
+ attributes: [],
1220
+ selfClosing: false,
1219
1221
  };
1220
1222
  }
1221
1223
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxc-parser",
3
- "version": "0.58.0",
3
+ "version": "0.58.1",
4
4
  "main": "index.js",
5
5
  "browser": "browser.js",
6
6
  "engines": {
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@oxc-project/types": "^0.58.0"
39
+ "@oxc-project/types": "^0.58.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@codspeed/vitest-plugin": "^4.0.0",
@@ -65,16 +65,16 @@
65
65
  "dtsHeaderFile": "header.js"
66
66
  },
67
67
  "optionalDependencies": {
68
- "@oxc-parser/binding-win32-x64-msvc": "0.58.0",
69
- "@oxc-parser/binding-win32-arm64-msvc": "0.58.0",
70
- "@oxc-parser/binding-linux-x64-gnu": "0.58.0",
71
- "@oxc-parser/binding-linux-x64-musl": "0.58.0",
72
- "@oxc-parser/binding-linux-arm64-gnu": "0.58.0",
73
- "@oxc-parser/binding-linux-arm64-musl": "0.58.0",
74
- "@oxc-parser/binding-linux-arm-gnueabihf": "0.58.0",
75
- "@oxc-parser/binding-darwin-x64": "0.58.0",
76
- "@oxc-parser/binding-darwin-arm64": "0.58.0",
77
- "@oxc-parser/binding-wasm32-wasi": "0.58.0"
68
+ "@oxc-parser/binding-win32-x64-msvc": "0.58.1",
69
+ "@oxc-parser/binding-win32-arm64-msvc": "0.58.1",
70
+ "@oxc-parser/binding-linux-x64-gnu": "0.58.1",
71
+ "@oxc-parser/binding-linux-x64-musl": "0.58.1",
72
+ "@oxc-parser/binding-linux-arm64-gnu": "0.58.1",
73
+ "@oxc-parser/binding-linux-arm64-musl": "0.58.1",
74
+ "@oxc-parser/binding-linux-arm-gnueabihf": "0.58.1",
75
+ "@oxc-parser/binding-darwin-x64": "0.58.1",
76
+ "@oxc-parser/binding-darwin-arm64": "0.58.1",
77
+ "@oxc-parser/binding-wasm32-wasi": "0.58.1"
78
78
  },
79
79
  "scripts": {
80
80
  "build-dev": "napi build --no-dts-cache --platform --js bindings.js",