@rolldown/binding-wasm32-wasi 0.15.1-commit.4e41a08 → 0.15.1-commit.cc6f557
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/package.json
CHANGED
|
@@ -14,7 +14,7 @@ const __wasi = new __WASI({
|
|
|
14
14
|
fs: __fs,
|
|
15
15
|
preopens: {
|
|
16
16
|
'/': '/',
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
18
|
})
|
|
19
19
|
|
|
20
20
|
const __emnapiContext = __emnapiGetDefaultContext()
|
|
@@ -58,10 +58,11 @@ const {
|
|
|
58
58
|
})
|
|
59
59
|
|
|
60
60
|
function __napi_rs_initialize_modules(__napiInstance) {
|
|
61
|
-
__napiInstance.exports['__napi_register__SourceMap_struct_0']?.()
|
|
62
61
|
__napiInstance.exports['__napi_register__OxcError_struct_0']?.()
|
|
62
|
+
__napiInstance.exports['__napi_register__SourceMap_struct_0']?.()
|
|
63
63
|
__napiInstance.exports['__napi_register__ErrorLabel_struct_1']?.()
|
|
64
64
|
__napiInstance.exports['__napi_register__Severity_2']?.()
|
|
65
|
+
__napiInstance.exports['__napi_register__SourceMap_struct_0']?.()
|
|
65
66
|
__napiInstance.exports['__napi_register__IsolatedDeclarationsResult_struct_0']?.()
|
|
66
67
|
__napiInstance.exports['__napi_register__IsolatedDeclarationsOptions_struct_1']?.()
|
|
67
68
|
__napiInstance.exports['__napi_register__isolated_declaration_2']?.()
|
|
@@ -56,11 +56,11 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
56
56
|
return 4
|
|
57
57
|
}
|
|
58
58
|
})(),
|
|
59
|
+
reuseWorker: true,
|
|
59
60
|
wasi: __wasi,
|
|
60
61
|
onCreateWorker() {
|
|
61
62
|
const worker = new Worker(__nodePath.join(__dirname, 'wasi-worker.mjs'), {
|
|
62
63
|
env: process.env,
|
|
63
|
-
execArgv: ['--experimental-wasi-unstable-preview1'],
|
|
64
64
|
})
|
|
65
65
|
worker.onmessage = ({ data }) => {
|
|
66
66
|
__wasmCreateOnMessageForFsProxy(__nodeFs)(data)
|
|
@@ -82,10 +82,11 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
82
82
|
})
|
|
83
83
|
|
|
84
84
|
function __napi_rs_initialize_modules(__napiInstance) {
|
|
85
|
-
__napiInstance.exports['__napi_register__SourceMap_struct_0']?.()
|
|
86
85
|
__napiInstance.exports['__napi_register__OxcError_struct_0']?.()
|
|
86
|
+
__napiInstance.exports['__napi_register__SourceMap_struct_0']?.()
|
|
87
87
|
__napiInstance.exports['__napi_register__ErrorLabel_struct_1']?.()
|
|
88
88
|
__napiInstance.exports['__napi_register__Severity_2']?.()
|
|
89
|
+
__napiInstance.exports['__napi_register__SourceMap_struct_0']?.()
|
|
89
90
|
__napiInstance.exports['__napi_register__IsolatedDeclarationsResult_struct_0']?.()
|
|
90
91
|
__napiInstance.exports['__napi_register__IsolatedDeclarationsOptions_struct_1']?.()
|
|
91
92
|
__napiInstance.exports['__napi_register__isolated_declaration_2']?.()
|
|
Binary file
|