Parse-SDK-JS icon indicating copy to clipboard operation
Parse-SDK-JS copied to clipboard

Replace `crypto-js` with `node:crypto`

Open dplewis opened this issue 9 months ago • 1 comments

New Feature / Enhancement Checklist

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

dplewis avatar Mar 12 '25 00:03 dplewis

🚀 Thanks for opening this issue! We are excited about your ideas for improvement!