🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

pdfjs-viewer-build

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pdfjs-viewer-build

Minified build of Mozilla's PDF.js library with viewer.

2.13.216-0
latest
74

Supply Chain Security

100

Vulnerability

75

Quality

78

Maintenance

80

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Uses eval

Supply chain risk

Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Found 3 instances in 1 package

Network access

Supply chain risk

This module accesses the network.

Found 5 instances in 1 package

Version published
Weekly downloads
637
192.2%
Maintainers
1
Weekly downloads
 
Created

pdfjs-viewer-build

Modified build of Mozilla's PDF.js with viewer.

Changes

Changes after pdf.js is built with gulp minified:

  • Merge build/minified/web and build/minified/build into viewer.
  • Replace relative URL's in viewer/pdf.viewer.js from ../ to ./.
  • Remove default pdf in viewer/pdf.viewer.js.
  • Rename viewer/viewer.html to viewer/index.html.

For more details look for fix.sh in this repository.

FAQs

Package last updated on 13 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts