@react-pdf/layout
Advanced tools
Comparing version 2.0.0-beta.20 to 2.0.0
@@ -15,3 +15,3 @@ "use strict"; | ||
return ((_node$image = node.image) === null || _node$image === void 0 ? void 0 : _node$image.data) ? node.image.width / node.image.height : 1; | ||
return (_node$image = node.image) !== null && _node$image !== void 0 && _node$image.data ? node.image.width / node.image.height : 1; | ||
}; | ||
@@ -18,0 +18,0 @@ |
@@ -42,3 +42,3 @@ "use strict"; | ||
if (fontStore && ((_n$style = n.style) === null || _n$style === void 0 ? void 0 : _n$style.fontFamily)) { | ||
if (fontStore && (_n$style = n.style) !== null && _n$style !== void 0 && _n$style.fontFamily) { | ||
promises.push(fontStore.load(n.style)); | ||
@@ -45,0 +45,0 @@ } |
{ | ||
"name": "@react-pdf/layout", | ||
"version": "2.0.0-beta.20", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
@@ -16,9 +16,9 @@ "author": "Diego Muracciole <diegomuracciole@gmail.com>", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-pdf/image": "^2.0.0-beta.16", | ||
"@react-pdf/image": "^2.0.0", | ||
"@react-pdf/pdfkit": "^1.6.0", | ||
"@react-pdf/primitives": "^2.0.0-beta.16", | ||
"@react-pdf/stylesheet": "^2.0.0-beta.18", | ||
"@react-pdf/primitives": "^2.0.0", | ||
"@react-pdf/stylesheet": "^2.0.0", | ||
"@react-pdf/textkit": "^0.4.2", | ||
"@react-pdf/types": "^2.0.0-beta.18", | ||
"@react-pdf/yoga": "^2.0.0-beta.0", | ||
"@react-pdf/types": "^2.0.0", | ||
"@react-pdf/yoga": "^2.0.0", | ||
"cross-fetch": "^3.0.4", | ||
@@ -35,3 +35,3 @@ "emoji-regex": "^8.0.0", | ||
], | ||
"gitHead": "001b9f0769b75b6abc49cade7237a39b22a1d481" | ||
"gitHead": "84479bd12d42d3f4c2faf8bce62f464909c0ae01" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
145396
Updated@react-pdf/image@^2.0.0
Updated@react-pdf/primitives@^2.0.0
Updated@react-pdf/stylesheet@^2.0.0
Updated@react-pdf/types@^2.0.0
Updated@react-pdf/yoga@^2.0.0