Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@resvg/resvg-js

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@resvg/resvg-js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

CHANGELOG.md

26

package.json
{
"name": "@resvg/resvg-js",
"version": "1.0.0",
"version": "1.0.1",
"description": "A high-performance SVG renderer, powered by Rust based resvg and napi-rs",

@@ -31,3 +31,2 @@ "main": "index.js",

"aarch64-linux-android",
"x86_64-unknown-freebsd",
"aarch64-unknown-linux-musl",

@@ -120,15 +119,14 @@ "aarch64-pc-windows-msvc"

"optionalDependencies": {
"@resvg/resvg-js-win32-x64-msvc": "1.0.0",
"@resvg/resvg-js-darwin-x64": "1.0.0",
"@resvg/resvg-js-linux-x64-gnu": "1.0.0",
"@resvg/resvg-js-linux-x64-musl": "1.0.0",
"@resvg/resvg-js-linux-arm64-gnu": "1.0.0",
"@resvg/resvg-js-win32-ia32-msvc": "1.0.0",
"@resvg/resvg-js-linux-arm-gnueabihf": "1.0.0",
"@resvg/resvg-js-darwin-arm64": "1.0.0",
"@resvg/resvg-js-android-arm64": "1.0.0",
"@resvg/resvg-js-freebsd-x64": "1.0.0",
"@resvg/resvg-js-linux-arm64-musl": "1.0.0",
"@resvg/resvg-js-win32-arm64-msvc": "1.0.0"
"@resvg/resvg-js-win32-x64-msvc": "1.0.1",
"@resvg/resvg-js-darwin-x64": "1.0.1",
"@resvg/resvg-js-linux-x64-gnu": "1.0.1",
"@resvg/resvg-js-linux-x64-musl": "1.0.1",
"@resvg/resvg-js-linux-arm64-gnu": "1.0.1",
"@resvg/resvg-js-win32-ia32-msvc": "1.0.1",
"@resvg/resvg-js-linux-arm-gnueabihf": "1.0.1",
"@resvg/resvg-js-darwin-arm64": "1.0.1",
"@resvg/resvg-js-android-arm64": "1.0.1",
"@resvg/resvg-js-linux-arm64-musl": "1.0.1",
"@resvg/resvg-js-win32-arm64-msvc": "1.0.1"
}
}
# resvg-js
<a href="https://github.com/yisibl/resvg-js/actions"><img alt="GitHub CI Status" src="https://github.com/yisibl/resvg-js/workflows/CI/badge.svg?branch=main"></a>
<a href="https://www.npmjs.com/package/@resvg/resvg-js"><img src="https://img.shields.io/npm/v/@resvg/resvg-js.svg?sanitize=true" alt="npm version"></a>

@@ -10,2 +11,3 @@ > A high-performance SVG renderer, powered by Rust based [resvg](https://github.com/RazrFalcon/resvg/) and [napi-rs](https://github.com/napi-rs/napi-rs).

- No need for node-gyp and postinstall, the `.node` file has been compiled for you.
- Support system fonts and custom fonts in SVG text.

@@ -22,2 +24,4 @@ ## Installation

This example will load Source Han Serif, and then render the SVG to PNG.
```shell

@@ -33,8 +37,6 @@ node example/index.js

| ---------------------------------------- | -------------------------------------------- |
| <img width="360" src="example/text.svg"> | <img width="360" src="example/text-out.png"> |
| <img width="390" src="example/text.svg"> | <img width="390" src="example/text-out.png"> |
## Support matrix
### Operating Systems
| | node12 | node14 | node16 |

@@ -53,8 +55,5 @@ | ---------------- | ------ | ------ | ------ |

| Android arm64 | ✓ | ✓ | ✓ |
| FreeBSD x64 | ✓ | ✓ | ✓ |
## Ability
## Build
### Build
You can set the name of the generated `.node` file in `napi.name` of package.json.

@@ -64,6 +63,2 @@

### Test
With [ava](https://github.com/avajs/ava), run `npm run test` to testing native addon. You can also switch to another testing framework if you want.
## Develop requirements

@@ -96,12 +91,16 @@

We use GitHub actions to automatically publish npm packages.
```
npm version [xxx]
# 1.0.0 => 1.0.1
npm version patch
# or 1.0.0 => 1.1.0
npm version minor
git push --follow-tags
```
GitHub actions will do the rest job for you.
## License
[MPLv2.0](https://www.mozilla.org/en-US/MPL/)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc