[Bug]: crypto package deprecated warning on package install #421
Open
Description
Opencommit Version
3.2.2
Node Version
22.9.0
NPM Version
10.8.3
What OS are you seeing the problem on?
Mac
What happened?
installing open commit with the following command: npm i -g opencommit@latest
is returning the following warning:
npm warn deprecated [email protected]: 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.
Expected Behavior
should not return the error
Current Behavior
it is returning the error
Possible Solution
use the native crypto package as suggested, eventually with a polyfield
Steps to Reproduce
just install the package with npm i -g opencommit@latest on node 22.9.0
Relevant log output
% npm i -g opencommit@latest
npm warn deprecated [email protected]: 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.