wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.

Home Page:https://projects.wojtekmaj.pl/react-pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"2 high severity vulnerabilities" just after installing react-pdf

jadejamig opened this issue · comments

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

I am getting this vulnerability message after running npm install react-pdf
image

I have tried looking for fixes but can't see anyone talking about it.

npm audit fix --force downgrades the package version to 0.0.10 from 8.0.2 which doesn't look pretty good

Steps to reproduce

You can clone my repo here https://github.com/jadejamig/pdf-chatinator and try to install react-pdf

Expected behavior

no vulnerabilities

Actual behavior

2 high vulnerabilities

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version: 8.0.2
  • React version: 18
  • Webpack version (if applicable):