Parse-SDK-JS
Parse-SDK-JS copied to clipboard
Replace `crypto-js` with `node:crypto`
New Feature / Enhancement Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am not just asking a question.
- [x] I have searched through existing issues.
Current Limitation
crypto-js and react-native-crypto-js are deprecated. crypto-js is listen add as an optional dependency because of the issues.
Feature / Enhancement Description
These should replaced with node:crypto and react-native-quick-crypto respectfully.
quick-crypto is a well maintained drop in replacement for node:crypto. node:crypto is easily polyfilled for browsers
Example Use Case
This will also help with finishing rollup / vite support https://github.com/parse-community/Parse-SDK-JS/pull/2425
Alternatives / Workarounds
Build our own isomorphic CryptoController without dependencies or document how a user could create there own CryptoController
🚀 Thanks for opening this issue! We are excited about your ideas for improvement!