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

pdf-viewer-reactjs

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdf-viewer-reactjs - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

.github/ISSUE_TEMPLATE/bug_report.md

6

package.json
{
"name": "pdf-viewer-reactjs",
"version": "2.1.2",
"version": "2.2.0",
"description": "Simple react PDF viewer component with controls based on PDF.js.",

@@ -48,3 +48,3 @@ "source": "src/index.js",

"@babel/core": "^7.11.4",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.11.0",

@@ -67,3 +67,3 @@ "@babel/preset-react": "^7.10.4",

"dependencies": {
"pdfjs-dist": "^2.4.456",
"pdfjs-dist": "^2.6.347",
"prop-types": "^15.7.2"

@@ -70,0 +70,0 @@ },

@@ -59,5 +59,5 @@ # pdf-viewer-reactjs

- `document`:
**`document`:**
* Type:
- Type:

@@ -76,3 +76,3 @@ ```js

* `password`:
**`password`:**

@@ -85,3 +85,3 @@ - Type: _String_

* `withCredentials`:
**`withCredentials`:**

@@ -94,3 +94,3 @@ - Type: _Boolean_

* `page`:
**`page`:**

@@ -103,3 +103,3 @@ - Type: _Number_

* `scale`:
**`scale`:**

@@ -112,3 +112,3 @@ - Type: _Number_

* `scaleStep`:
**`scaleStep`:**

@@ -121,3 +121,3 @@ - Type: _Number_

* `maxScale`:
**`maxScale`:**

@@ -130,3 +130,3 @@ - Type: _Number_

* `minScale`:
**`minScale`:**

@@ -139,3 +139,3 @@ - Type: _Number_

* `rotationAngle`:
**`rotationAngle`:**

@@ -148,3 +148,3 @@ - Type: _Number_

* `onDocumentClick`:
**`onDocumentClick`:**

@@ -157,3 +157,3 @@ - Type: _Function_

* `onPrevBtnClick`:
**`onPrevBtnClick`:**

@@ -166,3 +166,3 @@ - Type: _Function_

* `onNextBtnClick`:
**`onNextBtnClick`:**

@@ -175,3 +175,3 @@ - Type: _Function_

* `onZoom`:
**`onZoom`:**

@@ -184,3 +184,3 @@ - Type: _Function_

* `onRotation`:
**`onRotation`:**

@@ -193,3 +193,3 @@ - Type: _Function_

* `getMaxPageCount`:
**`getMaxPageCount`:**

@@ -202,3 +202,3 @@ - Type: _Function_

* `css`:
**`css`:**

@@ -211,3 +211,3 @@ - Type: _String_

* `canvasCss`:
**`canvasCss`:**

@@ -220,3 +220,3 @@ - Type: _String_

* `hideNavbar`:
**`hideNavbar`:**

@@ -229,3 +229,3 @@ - Type: _Boolean_

* `navbarOnTop`:
**`navbarOnTop`:**

@@ -238,3 +238,3 @@ - Type: _Boolean_

* `hideZoom`:
**`hideZoom`:**

@@ -247,3 +247,3 @@ - Type: _Boolean_

* `hideRotation`:
**`hideRotation`:**

@@ -256,3 +256,3 @@ - Type: _Boolean_

* `loader`:
**`loader`:**

@@ -265,3 +265,3 @@ - Type: _Node_

* `alert`:
**`alert`:**

@@ -274,3 +274,3 @@ - Type: _Node_

* `showThumbnail`:
**`showThumbnail`:**

@@ -291,3 +291,3 @@ - Type:

* `protectContent`:
**`protectContent`:**

@@ -300,3 +300,3 @@ - Type: _Boolean_

* `watermark`:
**`watermark`:**

@@ -325,3 +325,3 @@ - Type:

* `navigation`:
**`navigation`:**

@@ -328,0 +328,0 @@ - Type:

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