@oxc-node/core-wasm32-wasi 0.0.26 → 0.0.28
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/oxc-node.wasi-browser.js
CHANGED
|
@@ -14,7 +14,7 @@ const __wasi = new __WASI({
|
|
|
14
14
|
const __emnapiContext = __emnapiGetDefaultContext()
|
|
15
15
|
|
|
16
16
|
const __sharedMemory = new WebAssembly.Memory({
|
|
17
|
-
initial:
|
|
17
|
+
initial: 16384,
|
|
18
18
|
maximum: 65536,
|
|
19
19
|
shared: true,
|
|
20
20
|
})
|
|
@@ -53,6 +53,7 @@ const {
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
})
|
|
56
|
+
export default __napiModule.exports
|
|
56
57
|
export const Output = __napiModule.exports.Output
|
|
57
58
|
export const OxcTransformer = __napiModule.exports.OxcTransformer
|
|
58
59
|
export const createResolve = __napiModule.exports.createResolve
|
package/oxc-node.wasi.cjs
CHANGED
|
@@ -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
|
|
@@ -27,7 +27,7 @@ const __wasi = new __nodeWASI({
|
|
|
27
27
|
const __emnapiContext = __emnapiGetDefaultContext()
|
|
28
28
|
|
|
29
29
|
const __sharedMemory = new WebAssembly.Memory({
|
|
30
|
-
initial:
|
|
30
|
+
initial: 16384,
|
|
31
31
|
maximum: 65536,
|
|
32
32
|
shared: true,
|
|
33
33
|
})
|
|
@@ -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.Output = __napiModule.exports.Output
|
|
89
89
|
module.exports.OxcTransformer = __napiModule.exports.OxcTransformer
|
|
90
90
|
module.exports.createResolve = __napiModule.exports.createResolve
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxc-node/core-wasm32-wasi",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"cpu": [
|
|
5
5
|
"wasm32"
|
|
6
6
|
],
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
},
|
|
27
27
|
"browser": "oxc-node.wasi-browser.js",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@napi-rs/wasm-runtime": "^0.2.
|
|
29
|
+
"@napi-rs/wasm-runtime": "^0.2.11"
|
|
30
30
|
}
|
|
31
31
|
}
|