react-pdf-js
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -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", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9978
152
0