@oxc-parser/binding-wasm32-wasi 0.72.3 → 0.73.2

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.
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
- // ../../node_modules/.pnpm/@napi-rs+wasm-runtime@0.2.10/node_modules/@napi-rs/wasm-runtime/dist/runtime.js
8
+ // ../../node_modules/.pnpm/@napi-rs+wasm-runtime@0.2.11/node_modules/@napi-rs/wasm-runtime/dist/runtime.js
9
9
  var _WebAssembly$2 = typeof WebAssembly !== "undefined" ? WebAssembly : typeof WXWebAssembly !== "undefined" ? WXWebAssembly : void 0;
10
10
  var ENVIRONMENT_IS_NODE = false;
11
11
  function getPostMessage(options) {
@@ -12559,19 +12559,19 @@ function requireFsProxy() {
12559
12559
  const fn = fs[type];
12560
12560
  try {
12561
12561
  const ret = fn.apply(fs, payload);
12562
- Atomics.store(sab, 0, 0);
12563
12562
  const t = getType(ret);
12564
12563
  Atomics.store(sab, 1, t);
12565
12564
  const v = encodeValue(fs, ret, t);
12566
12565
  Atomics.store(sab, 2, v.length);
12567
12566
  new Uint8Array(sab.buffer).set(v, 16);
12567
+ Atomics.store(sab, 0, 0);
12568
12568
  } catch (err) {
12569
- Atomics.store(sab, 0, 1);
12570
12569
  const t = getType(err);
12571
12570
  Atomics.store(sab, 1, t);
12572
12571
  const v = encodeValue(fs, err, t);
12573
12572
  Atomics.store(sab, 2, v.length);
12574
12573
  new Uint8Array(sab.buffer).set(v, 16);
12574
+ Atomics.store(sab, 0, 1);
12575
12575
  } finally {
12576
12576
  Atomics.notify(sab, 0);
12577
12577
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-parser/binding-wasm32-wasi",
3
- "version": "0.72.3",
3
+ "version": "0.73.2",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -36,6 +36,6 @@
36
36
  "bugs": "https://github.com/oxc-project/oxc/issues",
37
37
  "browser": "parser.wasi-browser.js",
38
38
  "dependencies": {
39
- "@napi-rs/wasm-runtime": "^0.2.10"
39
+ "@napi-rs/wasm-runtime": "^0.2.11"
40
40
  }
41
41
  }
Binary file