@oxc-parser/binding-wasm32-wasi 0.72.2 → 0.73.0
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/browser-bundle.mjs +4 -4
- package/package.json +2 -2
- package/parser.wasi-browser.js +1 -1
- package/parser.wasi.cjs +1 -1
- package/parser.wasm32-wasi.wasm +0 -0
package/browser-bundle.mjs
CHANGED
|
@@ -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.
|
|
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
|
}
|
|
@@ -12655,6 +12655,7 @@ var {
|
|
|
12655
12655
|
}
|
|
12656
12656
|
});
|
|
12657
12657
|
var parser_wasi_browser_default = __napiModule.exports;
|
|
12658
|
+
var Severity = __napiModule.exports.Severity;
|
|
12658
12659
|
var ParseResult = __napiModule.exports.ParseResult;
|
|
12659
12660
|
var ExportExportNameKind = __napiModule.exports.ExportExportNameKind;
|
|
12660
12661
|
var ExportImportNameKind = __napiModule.exports.ExportImportNameKind;
|
|
@@ -12666,7 +12667,6 @@ var parseAsyncRaw = __napiModule.exports.parseAsyncRaw;
|
|
|
12666
12667
|
var parseSync = __napiModule.exports.parseSync;
|
|
12667
12668
|
var parseSyncRaw = __napiModule.exports.parseSyncRaw;
|
|
12668
12669
|
var rawTransferSupported = __napiModule.exports.rawTransferSupported;
|
|
12669
|
-
var Severity = __napiModule.exports.Severity;
|
|
12670
12670
|
|
|
12671
12671
|
// wrap.mjs
|
|
12672
12672
|
function wrap(result) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxc-parser/binding-wasm32-wasi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.73.0",
|
|
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.
|
|
39
|
+
"@napi-rs/wasm-runtime": "^0.2.11"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/parser.wasi-browser.js
CHANGED
|
@@ -54,6 +54,7 @@ const {
|
|
|
54
54
|
},
|
|
55
55
|
})
|
|
56
56
|
export default __napiModule.exports
|
|
57
|
+
export const Severity = __napiModule.exports.Severity
|
|
57
58
|
export const ParseResult = __napiModule.exports.ParseResult
|
|
58
59
|
export const ExportExportNameKind = __napiModule.exports.ExportExportNameKind
|
|
59
60
|
export const ExportImportNameKind = __napiModule.exports.ExportImportNameKind
|
|
@@ -65,4 +66,3 @@ export const parseAsyncRaw = __napiModule.exports.parseAsyncRaw
|
|
|
65
66
|
export const parseSync = __napiModule.exports.parseSync
|
|
66
67
|
export const parseSyncRaw = __napiModule.exports.parseSyncRaw
|
|
67
68
|
export const rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
68
|
-
export const Severity = __napiModule.exports.Severity
|
package/parser.wasi.cjs
CHANGED
|
@@ -85,6 +85,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
85
85
|
},
|
|
86
86
|
})
|
|
87
87
|
module.exports = __napiModule.exports
|
|
88
|
+
module.exports.Severity = __napiModule.exports.Severity
|
|
88
89
|
module.exports.ParseResult = __napiModule.exports.ParseResult
|
|
89
90
|
module.exports.ExportExportNameKind = __napiModule.exports.ExportExportNameKind
|
|
90
91
|
module.exports.ExportImportNameKind = __napiModule.exports.ExportImportNameKind
|
|
@@ -96,4 +97,3 @@ module.exports.parseAsyncRaw = __napiModule.exports.parseAsyncRaw
|
|
|
96
97
|
module.exports.parseSync = __napiModule.exports.parseSync
|
|
97
98
|
module.exports.parseSyncRaw = __napiModule.exports.parseSyncRaw
|
|
98
99
|
module.exports.rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
99
|
-
module.exports.Severity = __napiModule.exports.Severity
|
package/parser.wasm32-wasi.wasm
CHANGED
|
Binary file
|