New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-fast-pdf

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fast-pdf - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

dist/PageRenderer.js

@@ -64,3 +64,3 @@ "use strict";

const devicePixelRatio = getDevicePixelRatio(pageWidth, pageHeight);
const topPadding = numPages > 1 ? parseFloat(style.top) + constants_1.PAGE_BORDER : containerHeight - parseFloat(style.height) / 2;
const topPadding = numPages > 1 ? parseFloat(style.top) + constants_1.PAGE_BORDER : (containerHeight - parseFloat(style.height)) / 2;
return (react_1.default.createElement("div", { style: Object.assign(Object.assign(Object.assign({}, styles_1.pdfPreviewerStyles.pageWrapper), style), { top: `${topPadding}px` }) },

@@ -67,0 +67,0 @@ react_1.default.createElement(react_pdf_1.Page, { key: `page_${index}`, width: pageWidth, height: pageHeight || estimatedPageHeight, pageIndex: index,

{
"name": "react-fast-pdf",
"version": "1.0.9",
"version": "1.0.10",
"description": "react-fast-pdf",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

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