mirror of
https://github.com/jehna/humanify.git
synced 2026-04-27 17:45:58 +03:00
[GH-ISSUE #52] Remove/update deprecated/unsupported packages #26
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/humanify#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0xdevalias on GitHub (Aug 23, 2024).
Original GitHub issue: https://github.com/jehna/humanify/issues/52
@0xdevalias commented on GitHub (Feb 25, 2025):
RE: This error:
Which comes from the
openaipackage:Here's some updates on the timeline as to when
node-fetchwill no longer be included in it, which I believe will resolve this error:@0xdevalias commented on GitHub (Feb 25, 2025):
RE: These deprecated warnings that all come from
node-llama-cpp@3.0.0-beta.44:Solving the build error in this package bump would likely allow us to resolve this issue:
See my previous exploration/analysis into the build failures for that dependency upgrade in the following comments:
It's been failing for quite a while now:
@0xdevalias commented on GitHub (Mar 28, 2025):
Since
node-llama-cppfinally managed to update without triggering test errors:I decided to check if these
npm warnwarnings were gone now. Pulling the updatedmainbranch (7beba2d324), and runningnpm install, the warnings no longer seem to be present:Though running with
npm start, we can see that theDeprecationWarningrelated topunycodeis still present:As explored previously (https://github.com/jehna/humanify/issues/52#issuecomment-2679978874), this comes from the
openaipackage, and specifically its use ofnode-fetchwhich useswhatwg-url; which will be resolved in the5.xrelease:Once that is resolved, I believe this issue can be closed.
Edit: Though it seems that
node-llama-cppversion bump PR should never have been auto-merged, as it continues to cause the test failure that was preventing it from being updated previously. I've opened a new issue to specifically track this failing test since it's inmainnow:@0xdevalias commented on GitHub (May 30, 2025):
Looks like
openaiv5 is officially out, which moves to the built-infetch:We can see the migration guide here:
We can see that it now supports a new
fetchOptionsproperty for customizing the underlyingfetch:fetchOptionsis also the basis for how to configure proxies now: