@react-pdf/stylesheet 5.2.0 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -15,7 +15,7 @@ yarn add @react-pdf/stylesheet
15
15
  ## How it works
16
16
 
17
17
  ```js
18
- const stylesheet = require('@react-pdf/stylesheet');
18
+ import stylesheet from '@react-pdf/stylesheet';
19
19
 
20
20
  const container = {
21
21
  width: 400,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pdf/stylesheet",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "license": "MIT",
5
5
  "description": "A styles engine for Node and the browser",
6
6
  "author": "Diego Muracciole <diegomuracciole@gmail.com>",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@babel/runtime": "^7.20.13",
22
- "@react-pdf/fns": "3.0.0",
23
- "@react-pdf/types": "^2.7.0",
22
+ "@react-pdf/fns": "3.1.0",
23
+ "@react-pdf/types": "^2.7.1",
24
24
  "color-string": "^1.9.1",
25
25
  "hsl-to-hex": "^1.0.0",
26
26
  "media-engine": "^1.0.3",