Skip to content

Commit d048250

Browse files
authored
chore(api): tauri can serialize array buffers from rc.7 (#1694)
* chore(api): tauri can serialize array buffers from rc.7 * fmt * fix audit * update lockfile
1 parent 0c040bc commit d048250

File tree

9 files changed

+36
-39
lines changed

9 files changed

+36
-39
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ dist
66
.vscode
77
.gradle
88
**/capabilities/schemas
9+
.build
10+
.tauri

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@
3131
},
3232
"engines": {
3333
"pnpm": "^9.0.0"
34+
},
35+
"pnpm": {
36+
"overrides": {
37+
"micromatch@<4.0.8": ">=4.0.8"
38+
}
3439
}
3540
}

plugins/fs/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/fs/guest-js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class FileHandle extends Resource {
411411
async write(data: Uint8Array): Promise<number> {
412412
return await invoke("plugin:fs|write", {
413413
rid: this.rid,
414-
data: Array.from(data),
414+
data,
415415
});
416416
}
417417
}

0 commit comments

Comments
 (0)