Moonlight-io / asteroid-sdk-js

5 stars 3 forks source link

`crypto@1.0.1` is no longer supported #97

Open rockacola opened 4 years ago

rockacola commented 4 years ago

Getting deprecation message from NPM.

The project itself has also now-obsolete for something. Consider seeking for alternative.

rockacola commented 4 years ago

Deprecation message:

This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.

rockacola commented 4 years ago

Potential polyfill:

ftgibran commented 4 years ago

Why don't you use crypto-js? https://www.npmjs.com/package/crypto-js

rockacola commented 4 years ago

The original intend was to provide a direct polyfill, and perhaps a smaller library.