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

@react-pdf/layout

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf/layout - npm Package Compare versions

Comparing version 2.0.0-beta.20 to 2.0.0

2

lib/image/getRatio.js

@@ -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"
}
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