react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

import undefined.RNPDFPackage error with 6.7.3

Open Ramaraju1992 opened this issue 1 year ago • 5 comments

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

Ramaraju1992 avatar Nov 22 '23 07:11 Ramaraju1992

thanks it works

AEP20 avatar Nov 22 '23 18:11 AEP20

i face the issue also. i just downgrade back

fattahmuhyiddeen avatar Nov 30 '23 07:11 fattahmuhyiddeen

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

ElHurta avatar Dec 07 '23 00:12 ElHurta

I am facing the same critical vulnerability when downgrading.

denisseIc avatar Dec 07 '23 01:12 denisseIc

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"
}

ElHurta avatar Dec 07 '23 16:12 ElHurta