Skip to content

Commit

Permalink
Merge pull request #148 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 14, 2025
2 parents 75eb1a0 + b0cdb72 commit d19720a
Show file tree
Hide file tree
Showing 9 changed files with 515 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
msrv: ["1.73.0"]
msrv: ["1.76.0"]
name: ubuntu / ${{ matrix.msrv }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
95 changes: 51 additions & 44 deletions Cargo.lock

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

13 changes: 8 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ authors = ["Rodney Johnson <ask@rodneylab.com>"]
edition = "2021"
license = "BSD-3-Clause"
repository = "https://github.com/rodneylab/parsedown"
# js-sys v.0.3.69 requires rustc 1.73
rust-version = "1.73"
# wasm-bindgen v.0.2.93 requires rust 1.76
rust-version = "1.76"
description = "Markdown processing"

[lib]
Expand All @@ -18,19 +18,22 @@ incremental = true
lto = true
opt-level = "z"

[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"] }
html5ever = "0.29.0"
js-sys = "0.3.69"
js-sys = "0.3.72"
mrml = { version = "4.0.1", features = ["parse", "render"], default-features = false }
nom = { version = "7.1.3", features = ["alloc"] }
pulldown-cmark = "0.12.2"
pulldown-cmark-escape = "0.11.0"
serde = { version = "1.0.217", features = ["derive"] }
serde-wasm-bindgen = "0.6.5"
textwrap = "0.16.1"
thiserror = "2.0.9"
thiserror = "2.0.11"
url = "2.5.4"
wasm-bindgen = { version = "=0.2.92", features = ["serde-serialize"] }
wasm-bindgen = { version = "=0.2.95", features = ["serde-serialize"] }
4 changes: 2 additions & 2 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.17.3 --project=parsedown",
"wasmbuild:deno": "deno run -A jsr:@deno/wasmbuild@0.18.0 --project=parsedown",
"wasmbuild:node": "wasm-pack build --target nodejs --scope rodneylab",
"wasmbuild": "deno task wasmbuild:deno && deno task wasmbuild:node"
},
"imports": { "@std/assert": "jsr:@std/assert@^1.0.8" }
"imports": { "@std/assert": "jsr:@std/assert@^1.0.10" }
}
8 changes: 4 additions & 4 deletions deno.lock

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

27 changes: 27 additions & 0 deletions lib/parsedown.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// @generated file from wasmbuild -- do not edit
// deno-lint-ignore-file
// deno-fmt-ignore-file

/**
* # 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 d19720a

Please sign in to comment.