Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Dec 9, 2024
1 parent 330d078 commit 324d570
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
name: build
path: pkg

- run: npx jsr publish
- run: npx jsr publish --allow-dirty
working-directory: pkg/

publish-github-release:
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.11.0
22.12.0
40 changes: 26 additions & 14 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ serde = "1.0"
serde-wasm-bindgen = "0.6"
serde_json = "1.0"
sqlformat = "0.3.0"
wasm-bindgen = "0.2.93"
wasm-bindgen = "0.2.99"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
4 changes: 2 additions & 2 deletions extra/sql_fmt_node.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import initAsync from "./sql_fmt.js";

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

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

export * from "./sql_fmt.js";
4 changes: 2 additions & 2 deletions extra/sql_fmt_vite.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import initAsync from "./sql_fmt.js";
import wasm from "./sql_fmt_bg.wasm?url";

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

export * from "./sql_fmt.js";

0 comments on commit 324d570

Please sign in to comment.