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

react-pdf-js

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-pdf-js - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

3

es/index.js

@@ -11,3 +11,4 @@ import PdfJsLib from 'pdfjs-dist';

var _usePdf = usePdf({ canvasEl: canvasEl, file: file }),
numPages = _usePdf[0];
loading = _usePdf[0],
numPages = _usePdf[1];

@@ -14,0 +15,0 @@ useEffect(function () {

@@ -23,3 +23,4 @@ 'use strict';

var _usePdf = usePdf({ canvasEl: canvasEl, file: file }),
numPages = _usePdf[0];
loading = _usePdf[0],
numPages = _usePdf[1];

@@ -26,0 +27,0 @@ (0, _react.useEffect)(function () {

{
"name": "react-pdf-js",
"version": "5.0.0",
"version": "5.0.1",
"description": "Simple React component to wrap up PDF.js. The easiest way to render PDFs in your React app.",

@@ -5,0 +5,0 @@ "author": "mikecousins",

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