@zntc/wasm 0.1.1 → 0.1.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.
- package/dist/index.js +6 -3
- package/package.json +1 -1
- package/zntc-bundler.wasm +0 -0
- package/zntc.wasm +0 -0
package/dist/index.js
CHANGED
|
@@ -129,6 +129,9 @@ function createWasiImports(memory) {
|
|
|
129
129
|
fd_fdstat_get: ok,
|
|
130
130
|
fd_fdstat_set_flags: ok,
|
|
131
131
|
fd_filestat_get: ok,
|
|
132
|
+
fd_filestat_set_times: ok,
|
|
133
|
+
fd_filestat_set_size: ok,
|
|
134
|
+
fd_readdir: () => 8,
|
|
132
135
|
fd_prestat_get: () => 8,
|
|
133
136
|
fd_prestat_dir_name: ok,
|
|
134
137
|
fd_sync: ok,
|
|
@@ -180,7 +183,8 @@ function createWasiImports(memory) {
|
|
|
180
183
|
path_rename: ok,
|
|
181
184
|
path_link: ok,
|
|
182
185
|
path_symlink: ok,
|
|
183
|
-
path_readlink: () => 8
|
|
186
|
+
path_readlink: () => 8,
|
|
187
|
+
path_filestat_set_times: ok
|
|
184
188
|
},
|
|
185
189
|
wasi: {
|
|
186
190
|
"thread-spawn": () => -1
|
|
@@ -375,8 +379,7 @@ async function initBundler(vfs, input) {
|
|
|
375
379
|
const source = await resolveWasmSource(input, "zntc-bundler.wasm");
|
|
376
380
|
const memory = new WebAssembly.Memory({
|
|
377
381
|
initial: 1024,
|
|
378
|
-
maximum: 65536
|
|
379
|
-
shared: true
|
|
382
|
+
maximum: 65536
|
|
380
383
|
});
|
|
381
384
|
const bundlerImports = createBundlerImports(() => memory);
|
|
382
385
|
const imports = {
|
package/package.json
CHANGED
package/zntc-bundler.wasm
CHANGED
|
Binary file
|
package/zntc.wasm
CHANGED
|
Binary file
|