diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 8256292a..952c2e2b 100755 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -200,7 +200,7 @@ jobs: strategy: fail-fast: false matrix: - node: ['12', '14', '16'] + node: ['14', '16', '18'] runs-on: ubuntu-latest steps: @@ -260,9 +260,9 @@ jobs: - host: windows-latest target: x86_64-pc-windows-msvc node: - - '12' - '14' - '16' + - '18' runs-on: ${{ matrix.settings.host }} steps: - uses: actions/checkout@v3 @@ -297,9 +297,9 @@ jobs: fail-fast: false matrix: node: - - '12' - '14' - '16' + - '18' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -334,9 +334,9 @@ jobs: fail-fast: false matrix: node: - - '12' - '14' - '16' + - '18' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -373,9 +373,9 @@ jobs: fail-fast: false matrix: node: - - '12' - '14' - '16' + - '18' runs-on: ubuntu-latest steps: - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset @@ -450,9 +450,9 @@ jobs: fail-fast: false matrix: node: - - '12' - '14' - '16' + - '18' runs-on: ubuntu-latest steps: - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset diff --git a/Cargo.toml b/Cargo.toml index 991ea08e..f906e55a 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,35 +9,35 @@ version = "1.0.0" crate-type = ["cdylib"] [dependencies] -env_logger = "0.9.0" +env_logger = "0.9.1" fontdb = "0.9.1" log = "0.4" serde = { version = "1", features = ["derive"] } serde_json = "1" -svgtypes = "0.8.1" -thiserror = "1.0.30" -png = "0.17.5" +svgtypes = "0.8.2" +thiserror = "1.0.37" +png = "0.17.7" pathfinder_geometry = "0.5.1" pathfinder_content = { version = "0.5.0", default-features = false } pathfinder_simd = { version = "0.5.1", features = ["pf-no-simd"] } futures = "0.3.21" -infer = "0.9.0" +infer = "0.11.0" [target.'cfg(all(not(all(target_os = "linux", target_arch = "aarch64", target_env = "musl")), not(all(target_os = "windows", target_arch = "aarch64")), not(target_arch = "wasm32")))'.dependencies] mimalloc-rust = { version = "0.2" } [target.'cfg(target_arch = "wasm32")'.dependencies] -wasm-bindgen = "0.2.81" -js-sys = "0.3.58" +wasm-bindgen = "0.2.83" +js-sys = "0.3.60" resvg = { version = "0.25.0", default-features = false, features = [ "filter", "dump-svg", ] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -napi = { version = "2.7.0", features = ["serde-json", "async"] } -napi-derive = "2.6.0" +napi = { version = "2.10.0", features = ["serde-json", "async"] } +napi-derive = "2.9.1" resvg = { version = "0.25.0", default-features = false, features = [ "filter", "dump-svg", diff --git a/example/bbox-out.png b/example/bbox-out.png index 945f8577..44c8b8ef 100644 Binary files a/example/bbox-out.png and b/example/bbox-out.png differ diff --git a/example/sprite-out.png b/example/sprite-out.png index 860e5976..1d025773 100644 Binary files a/example/sprite-out.png and b/example/sprite-out.png differ diff --git a/example/text-out-async.png b/example/text-out-async.png index 79056a54..5e03c23d 100644 Binary files a/example/text-out-async.png and b/example/text-out-async.png differ diff --git a/example/text-out.png b/example/text-out.png index 79056a54..5e03c23d 100644 Binary files a/example/text-out.png and b/example/text-out.png differ