wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.6k stars 557 forks source link

import undefined.RNPDFPackage error with 6.7.3 #790

Open Ramaraju1992 opened 1 year ago

Ramaraju1992 commented 1 year ago

Hi Team, we facing the below issue for the last two days(maybe after the 6.7.3 release from the library).

if we remove ^ and try installing node modules again. working fine

Screenshot 2023-11-20 at 12 49 45 PM Screenshot 2023-11-22 at 1 02 29 PM
AEP20 commented 1 year ago

thanks it works

fattahmuhyiddeen commented 11 months ago

i face the issue also. i just downgrade back

ElHurta commented 11 months ago

Downgrading enables a critical vulnerability related to CryptoJS. Is there a way to fix it?

denisseIc commented 11 months ago

I am facing the same critical vulnerability when downgrading.

ElHurta commented 11 months ago

Hi everyone, if you're facing a critical vulnerability from crypto-js, you can Override or create a Resolution for the dependency on your package.json:

NPM:

"overrides": {
    "crypto-js": "^4.2.0"
}