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

@react-pdf/render

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf/render - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

10

package.json
{
"name": "@react-pdf/render",
"version": "3.4.1",
"version": "3.4.2",
"license": "MIT",

@@ -24,3 +24,3 @@ "description": "A render engine for Node and the browser",

"scripts": {
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test": "vitest",
"build": "rimraf ./lib && rollup -c",

@@ -31,6 +31,6 @@ "watch": "rimraf ./lib && rollup -c -w"

"@babel/runtime": "^7.20.13",
"@react-pdf/fns": "2.1.0",
"@react-pdf/fns": "2.2.0",
"@react-pdf/primitives": "^3.1.1",
"@react-pdf/textkit": "^4.3.0",
"@react-pdf/types": "^2.4.0",
"@react-pdf/textkit": "^4.4.0",
"@react-pdf/types": "^2.4.1",
"abs-svg-path": "^0.1.1",

@@ -37,0 +37,0 @@ "color-string": "^1.9.1",

@@ -10,2 +10,3 @@ <p align="center">

## How to install
```sh

@@ -65,4 +66,4 @@ yarn add @react-pdf/render

- *ctx*: This is the target context where the document is going to be rendered. React-pdf currently uses a [pdfkit](https://github.com/react-pdf/pdfkit) document as context, but it can target any other type of structure as long as it signature matches pdfkit API. In the future this will enable rendering documents into muliple formats in addition to PDF.
- *node*: Document root node. A node is a nested structure that defines a single element in a document. They are defined by it's `type` and arguments.
- _ctx_: This is the target context where the document is going to be rendered. React-pdf currently uses a [pdfkit](https://github.com/react-pdf/pdfkit) document as context, but it can target any other type of structure as long as it signature matches pdfkit API. In the future this will enable rendering documents into muliple formats in addition to PDF.
- _node_: Document root node. A node is a nested structure that defines a single element in a document. They are defined by it's `type` and arguments.

@@ -69,0 +70,0 @@ ## Node structure

Sorry, the diff of this file is not supported yet

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