Skip to content

Commit

Permalink
Merge pull request #166 from rodneylab/build__update_dependencies
Browse files Browse the repository at this point in the history
build  update dependencies
  • Loading branch information
rodneylab authored Jan 28, 2025
2 parents 1a7d34f + 38a367b commit 330e704
Show file tree
Hide file tree
Showing 10 changed files with 529 additions and 462 deletions.
72 changes: 56 additions & 16 deletions Cargo.lock

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

9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ incremental = true
lto = true
opt-level = "z"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
# [lints.rust]
# unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }

[dependencies]
aho-corasick = "1.1.3"
deunicode = "1.6.0"
getrandom = { version = "0.2.15", features = ["js"] }
# getrandom = { version = "0.3.1", features = ["wasm_js"] }
getrandom = { version = "0.3.1", features = ["wasm_js"] }
html5ever = "0.29.0"
js-sys = "0.3.72"
mrml = { version = "4.0.1", features = ["parse", "render"], default-features = false }
Expand All @@ -37,4 +36,4 @@ serde-wasm-bindgen = "0.6.5"
textwrap = "0.16.1"
thiserror = "2.0.11"
url = "2.5.4"
wasm-bindgen = { version = "=0.2.95", features = ["serde-serialize"] }
wasm-bindgen = { version = "=0.2.100", features = ["serde-serialize"] }
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"tasks": {
"check": "deno fmt --check && deno lint && deno check mod.ts mod_test.ts",
"test": "deno test -A",
"wasmbuild:deno": "deno run -A jsr:@deno/wasmbuild@0.18.0 --project=parsedown",
"wasmbuild:deno": "deno run -A jsr:@deno/wasmbuild@0.19.0 --project=parsedown",
"wasmbuild:node": "wasm-pack build --target nodejs --scope rodneylab",
"wasmbuild": "deno task wasmbuild:deno && deno task wasmbuild:node"
"wasmbuild": "RUSTFLAGS='--cfg getrandom_backend=\"wasm_js\"' deno task wasmbuild:deno && RUSTFLAGS='--cfg getrandom_backend=\"wasm_js\"' deno task wasmbuild:node"
},
"imports": { "@std/assert": "jsr:@std/assert@^1.0.10" }
"imports": { "@std/assert": "jsr:@std/assert@^1.0.11" }
}
10 changes: 5 additions & 5 deletions deno.lock

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

10 changes: 0 additions & 10 deletions lib/parsedown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,12 @@
* # Panics
*
* Will panic if unable to parse options
* @param {string} markdown
* @param {any} options
* @returns {any}
*/
export function markdown_to_html(markdown: string, options: any): any;
/**
* # Panics
*
* Will panic if unable to parse options
* @param {string} markdown
* @param {any} options
* @returns {string}
*/
export function markdown_to_plaintext(markdown: string, options: any): string;
/**
* @param {string} mjml
* @returns {string}
*/
export function mjml_to_html(mjml: string): string;
Loading

0 comments on commit 330e704

Please sign in to comment.