Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: crypto package deprecated warning on package install #421

Open
jurgob opened this issue Oct 15, 2024 · 0 comments
Open

[Bug]: crypto package deprecated warning on package install #421

jurgob opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jurgob
Copy link

jurgob commented Oct 15, 2024

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 crypto@1.0.1: 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 crypto@1.0.1: 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.
@jurgob jurgob added the bug Something isn't working label Oct 15, 2024
@jurgob jurgob changed the title [Bug]: [Bug]: crypto package deprecated warning on package install Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant