Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Sep 19, 2024
1 parent 3f3cfe2 commit f157bd7
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 49 deletions.
78 changes: 32 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extra/yamlfmt_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import initAsync from "./yamlfmt.js";

const wasm = new URL("./yamlfmt_bg.wasm", import.meta.url);

export default function __wbg_init(init = fs.readFile(wasm)) {
export default function __wbg_init(init = { module_or_path: fs.readFile(wasm) }) {
return initAsync(init);
}

Expand Down
2 changes: 1 addition & 1 deletion extra/yamlfmt_vite.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import initAsync from "./yamlfmt.js";
import wasm from "./yamlfmt_bg.wasm?url";

export default function __wbg_init(input = wasm) {
export default function __wbg_init(input = { module_or_path: wasm }) {
return initAsync(input);
}

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.79.0"
channel = "1.81.0"
profile = "default"
targets = ["wasm32-unknown-unknown"]

0 comments on commit f157bd7

Please sign in to comment.