[Bug]: crypto package deprecated warning on package install

Author: jurgobCreated Oct 15, 2024Updated Aug 20, 2026
Labelsbug

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:

bash
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

bash
% 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.