@react-pdf/layout
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -14,2 +14,4 @@ "use strict"; | ||
var _flatten = _interopRequireDefault(require("@react-pdf/stylesheet/lib/flatten")); | ||
var _getSize = _interopRequireDefault(require("../page/getSize")); | ||
@@ -25,3 +27,3 @@ | ||
var size = (0, _getSize.default)(page); | ||
var style = page.style || {}; | ||
var style = (0, _flatten.default)(page.style || {}); | ||
return (0, _extends2.default)({}, page, { | ||
@@ -28,0 +30,0 @@ style: (0, _extends2.default)({}, style, size) |
{ | ||
"name": "@react-pdf/layout", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"license": "MIT", | ||
@@ -17,7 +17,7 @@ "author": "Diego Muracciole <diegomuracciole@gmail.com>", | ||
"@react-pdf/image": "^2.0.0", | ||
"@react-pdf/pdfkit": "^1.6.0", | ||
"@react-pdf/pdfkit": "^2.0.0", | ||
"@react-pdf/primitives": "^2.0.0", | ||
"@react-pdf/stylesheet": "^2.0.2", | ||
"@react-pdf/stylesheet": "^2.0.3", | ||
"@react-pdf/textkit": "^2.0.0", | ||
"@react-pdf/types": "^2.0.0", | ||
"@react-pdf/types": "^2.0.1", | ||
"@react-pdf/yoga": "^2.0.1", | ||
@@ -35,3 +35,3 @@ "cross-fetch": "^3.0.4", | ||
], | ||
"gitHead": "ca11273edd7c3e1af62fd2d1d3424b1b767324ea" | ||
"gitHead": "94243722ca1acdb8a5d80f51d00dcb63ce84e6d9" | ||
} |
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
145948
3832
+ Added@react-pdf/fontkit@2.1.2(transitive)
+ Added@react-pdf/pdfkit@2.4.0(transitive)
+ Addedcrypto-js@4.2.0(transitive)
+ Addedunicode-properties@1.4.1(transitive)
+ Addedunicode-trie@2.0.0(transitive)
- Removed@react-pdf/fontkit@1.15.0(transitive)
- Removed@react-pdf/pdfkit@1.6.0(transitive)
- Removed@react-pdf/png-js@1.0.0(transitive)
- Removed@react-pdf/unicode-properties@2.3.0(transitive)
- Removedlz-string@1.5.0(transitive)
Updated@react-pdf/pdfkit@^2.0.0
Updated@react-pdf/stylesheet@^2.0.3
Updated@react-pdf/types@^2.0.1