@resvg/resvg-js
Advanced tools
Comparing version 2.3.1 to 2.4.0
{ | ||
"name": "@resvg/resvg-js", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "A high-performance SVG renderer and toolkit, powered by Rust based resvg and napi-rs", | ||
@@ -76,11 +76,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@napi-rs/canvas": "^0.1.25", | ||
"@napi-rs/cli": "^2.14.5", | ||
"@napi-rs/cli": "^2.14.6", | ||
"@swc-node/register": "^1.5.1", | ||
"@types/node": "^18.0.0", | ||
"@types/sharp": "^0.31.0", | ||
"@typescript-eslint/eslint-plugin": "^5.30.3", | ||
"@typescript-eslint/parser": "^5.30.3", | ||
"ava": "^5.0.0", | ||
"benny": "^3.7.1", | ||
"copyfiles": "^2.4.1", | ||
@@ -94,3 +91,3 @@ "dts-bundle-generator": "^6.12.0", | ||
"eslint-plugin-sonarjs": "^0.18.0", | ||
"husky": "^7.0.4", | ||
"husky": "^8.0.0", | ||
"jimp-compact": "^0.16.1-2", | ||
@@ -101,3 +98,2 @@ "lint-staged": "^12.5.0", | ||
"prettier": "^2.7.1", | ||
"sharp": "^0.31.0", | ||
"typescript": "^4.7.4" | ||
@@ -143,17 +139,17 @@ }, | ||
}, | ||
"packageManager": "yarn@3.3.1", | ||
"packageManager": "yarn@3.4.1", | ||
"optionalDependencies": { | ||
"@resvg/resvg-js-win32-x64-msvc": "2.3.1", | ||
"@resvg/resvg-js-darwin-x64": "2.3.1", | ||
"@resvg/resvg-js-linux-x64-gnu": "2.3.1", | ||
"@resvg/resvg-js-linux-x64-musl": "2.3.1", | ||
"@resvg/resvg-js-linux-arm64-gnu": "2.3.1", | ||
"@resvg/resvg-js-win32-ia32-msvc": "2.3.1", | ||
"@resvg/resvg-js-linux-arm-gnueabihf": "2.3.1", | ||
"@resvg/resvg-js-darwin-arm64": "2.3.1", | ||
"@resvg/resvg-js-android-arm64": "2.3.1", | ||
"@resvg/resvg-js-android-arm-eabi": "2.3.1", | ||
"@resvg/resvg-js-linux-arm64-musl": "2.3.1", | ||
"@resvg/resvg-js-win32-arm64-msvc": "2.3.1" | ||
"@resvg/resvg-js-win32-x64-msvc": "2.4.0", | ||
"@resvg/resvg-js-darwin-x64": "2.4.0", | ||
"@resvg/resvg-js-linux-x64-gnu": "2.4.0", | ||
"@resvg/resvg-js-linux-x64-musl": "2.4.0", | ||
"@resvg/resvg-js-linux-arm64-gnu": "2.4.0", | ||
"@resvg/resvg-js-win32-ia32-msvc": "2.4.0", | ||
"@resvg/resvg-js-linux-arm-gnueabihf": "2.4.0", | ||
"@resvg/resvg-js-darwin-arm64": "2.4.0", | ||
"@resvg/resvg-js-android-arm64": "2.4.0", | ||
"@resvg/resvg-js-android-arm-eabi": "2.4.0", | ||
"@resvg/resvg-js-linux-arm64-musl": "2.4.0", | ||
"@resvg/resvg-js-win32-arm64-msvc": "2.4.0" | ||
} | ||
} |
@@ -6,2 +6,3 @@ # resvg-js | ||
<a href="https://npmcharts.com/compare/@resvg/resvg-js?minimal=true"><img src="https://img.shields.io/npm/dm/@resvg/resvg-js.svg?sanitize=true" alt="@resvg/resvg-js downloads"></a> | ||
[![Rust 1.65+](https://img.shields.io/badge/rust-1.65+-orange.svg)](https://www.rust-lang.org) | ||
@@ -166,3 +167,3 @@ > resvg-js is a high-performance SVG renderer and toolkit, powered by Rust based [resvg](https://github.com/RazrFalcon/resvg/), with Node.js backend using [napi-rs](https://github.com/napi-rs/napi-rs), also a pure WebAssmebly backend. | ||
See [playground](playground/index.html), it is also possible to [call Wasm in Node.js](example/wasm-node.js), but it is slower. | ||
See [playground](wasm/index.html), it is also possible to [call Wasm in Node.js](example/wasm-node.js), but it is slower. | ||
@@ -172,2 +173,7 @@ ## Sample Benchmark | ||
```shell | ||
npm i benny@3.x sharp@0.x @types/sharp svg2img@0.x | ||
npm run bench | ||
``` | ||
```shell | ||
Running "resize width" suite... | ||
@@ -174,0 +180,0 @@ resvg-js(Rust): |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42513
21
278