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

react-pdf-annotator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-pdf-annotator - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

5

lib/components/PdfAnnotator.js

@@ -258,8 +258,3 @@ "use strict";

this.linkService.setViewer(this.viewer);
console.log(this.viewer);
this.viewer.setDocument(pdfDocument);
this.linkService.setDocument(pdfDocument);

@@ -266,0 +261,0 @@

1

lib/components/PdfLoader.js

@@ -43,3 +43,2 @@ "use strict";

_pdfjsDist.PDFJS.getDocument(url).then(function (pdfDocument) {
console.log("Got!", pdfDocument);
_this2.setState({

@@ -46,0 +45,0 @@ pdfDocument: pdfDocument

15

package.json
{
"name": "react-pdf-annotator",
"version": "0.0.4",
"version": "0.0.5",
"description": "Set of React components for PDF annotation",

@@ -17,3 +17,3 @@ "main": "lib/index.js",

"deploy": "npm run build && gh-pages --dist ./demo/dist --branch gh-pages",
"prepublish": "npm run build && npm run copy-files",
"prepublishOnly": "npm run build && npm run copy-files",
"prettier": "prettier --write 'src/**/*.js' 'demo/src/**/*.js'"

@@ -42,11 +42,4 @@ },

"license": "MIT",
"keywords": [
"pdf",
"highlight",
"annotator",
"react-component"
],
"files": [
"lib"
],
"keywords": ["pdf", "highlight", "annotator", "react-component"],
"files": ["lib"],
"directories": {

@@ -53,0 +46,0 @@ "lib": "lib"

## react-pdf-annotator
⚠️ Work in progress
```
npm install react-pdf-annotator
```

@@ -5,0 +7,0 @@ `react-pdf-annotator` provides annotation experience for PDF documents on web

Sorry, the diff of this file is not supported yet

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