@react-pdf/render
Advanced tools
Comparing version 3.4.1 to 3.4.2
{ | ||
"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
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
146
158586
3741
+ Added@react-pdf/fns@2.2.0(transitive)
- Removed@react-pdf/fns@2.1.0(transitive)
Updated@react-pdf/fns@2.2.0
Updated@react-pdf/textkit@^4.4.0
Updated@react-pdf/types@^2.4.1