Closed elkinjosetm closed 1 year ago
Is there some updates about this security issue? it's encountered by us too. thank you
I had to force the newer version, in our package.json file, I did a few tests and the upgrade seems safe
@elkinjosetm how did you manage to do this?
@bentleyAl by forcing pnpm (the package manager that we use) to use it. Yarn and npm provide a way for you to do just that.
# package.json
...
"pnpm": {
"overrides": {
"crypto-js": "^4.2.0"
}
}
@elkinjosetm Worked like a charm! Was not aware of npm overrides. Thank you!
If you are using Yarn, add "resolutions" in the package.json
# package.json
...
"resolutions": {
"crypto-js": "^4.2.0"
},
Have bump to 6.7.2 and included this update.
@elkinjosetm Worked like a charm! Was not aware of npm overrides. Thank you!
How were you able to use in it in npm , still getting errors
What
react-native
version are you using? 0.72.5What
react-native-pdf
version are you using? 6.7.1What platform does your issue occur on? (android/ios/both) both
Critical security vulnerability reported by dependabot because of crypto-js v3.2.0 used on this library. According to the report, it was patched on v4.2.0.