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]: Punycode warning #334

Closed
zain opened this issue May 7, 2024 · 9 comments
Closed

[Bug]: Punycode warning #334

zain opened this issue May 7, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@zain
Copy link

zain commented May 7, 2024

Opencommit Version

3.0.15

Node Version

21.7.3

NPM Version

10.5.0

What OS are you seeing the problem on?

Mac

What happened?

Seeing this warning when running any oco commends:

(node:39887) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Expected Behavior

No warning

Current Behavior

Is a warning

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

@zain zain added the bug Something isn't working label May 7, 2024
@di-sukharev
Copy link
Owner

hi @zain thanks for the report, do you want to take a look at it an submit a PR making world a better place together?

@bitfactory-robin-martijn

I'm happy to fix this as I'm encountering the same issue. Is there a contribution guide, or any instructions on how to set this up properly?

@di-sukharev
Copy link
Owner

yes, please look into .github/CONTRIBUTION.md

@btglr
Copy link

btglr commented May 21, 2024

The deprecation warning comes from @anthropaic-ai/sdk and openai having dependencies on older node-fetch versions. Unfortunately updating those packages and especially the openai package requires rewriting the API logic.

@di-sukharev
Copy link
Owner

@btglr hi there 👋 could you please share what exactly needs to be rewritten? i will manage, it finally started to annoy me

@di-sukharev
Copy link
Owner

should be fixed with a new version. please update and follow up @zain

@minarc
Copy link

minarc commented Sep 2, 2024

@di-sukharev Got again in new version at 3.1.1 node version is 22.7.0

(node:66000) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

@di-sukharev
Copy link
Owner

thanks @minarc, will investigate and reopen the issue if we get more people here

@aldinokemal
Copy link

image still happen in my end using node `v22.9.0` and oco `3.2.2`

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

6 participants