@rolldown/binding-wasm32-wasi 1.0.0-beta.9-commit.43425a0 → 1.0.0-beta.9-commit.ce72026
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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
createOnMessage as __wasmCreateOnMessageForFsProxy,
|
|
3
3
|
getDefaultContext as __emnapiGetDefaultContext,
|
|
4
|
+
instantiateNapiModule as __emnapiInstantiateNapiModule,
|
|
4
5
|
WASI as __WASI,
|
|
5
|
-
createOnMessage as __wasmCreateOnMessageForFsProxy,
|
|
6
6
|
} from '@napi-rs/wasm-runtime'
|
|
7
7
|
import { memfs } from '@napi-rs/wasm-runtime/fs'
|
|
8
8
|
import __wasmUrl from './rolldown-binding.wasm32-wasi.wasm?url'
|
|
@@ -60,6 +60,7 @@ const {
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
})
|
|
63
|
+
export default __napiModule.exports
|
|
63
64
|
export const BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
64
65
|
export const BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
65
66
|
export const BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
|
|
@@ -9,9 +9,9 @@ const { WASI: __nodeWASI } = require('node:wasi')
|
|
|
9
9
|
const { Worker } = require('node:worker_threads')
|
|
10
10
|
|
|
11
11
|
const {
|
|
12
|
-
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
|
|
13
|
-
getDefaultContext: __emnapiGetDefaultContext,
|
|
14
12
|
createOnMessage: __wasmCreateOnMessageForFsProxy,
|
|
13
|
+
getDefaultContext: __emnapiGetDefaultContext,
|
|
14
|
+
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
|
|
15
15
|
} = require('@napi-rs/wasm-runtime')
|
|
16
16
|
|
|
17
17
|
const __rootDir = __nodePath.parse(process.cwd()).root
|
|
@@ -84,7 +84,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
})
|
|
87
|
-
|
|
87
|
+
module.exports = __napiModule.exports
|
|
88
88
|
module.exports.BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
89
89
|
module.exports.BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
90
90
|
module.exports.BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
|
|
Binary file
|