Open domdomegg opened 11 months ago
Hi there, just bumping this as it's causing the deprecation warning to show up in popular upstream packages (like eslint
)
Unfortunately last commit is 2 years ago...
Should probably tag @garycourt in case necessary for his GitHub notification settings
@aramshiva you do not know the circumstances he's currently in - he has not committed in a long time... Maybe he's away or stopped interacting with the website. Do not burden him with something he has not agreed to do. As you say, it is open source - one can fork it, fix it, and also publish it.
I agree that this needs to be resolved, but please be understanding.
I've published a fork that addresses this issue: https://www.npmjs.com/package/toad-uri-js
Would appreciate if you give it a try!
I've published a fork that addresses this issue: https://www.npmjs.com/package/toad-uri-js
why did you not fork garycourt/uri-js to kibertoad/toad-uri-js
@milahu I've done forking of other libraries in the past, it gives a very bad developer experience, as then all PRs default to targetting parent repositories, ending up in creating accidental PRs
aah. still, you should preserve the original git history = 89 commits until a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
@milahu PR restoring git history would be welcome.
please help yourself
As this repo is not maintained, you can also nvm install 20 && nvm use 20
to go back to Node v20.11.1 and silence it for now until ajv/eslint/etc update their dependencies
@ttodua, I wholeheartedly disagree. It is our fault for depending on a library with questionable support and when we accepted the license to use it - it says explicitly that, that it is provided "AS-IS".
Now, the fallacy with OSS entitlement has caused a lot of issues in the past but any author of such package, unless contractually obliged, does not owe us a damn thing. We use the code provided "AS-IS" and with us burdening the associated risks, which include what you are describing.
does not owe us a damn thing
I am not sure you read my comment well, because i explicitly said that "I don't say he owes something, but", then followed what I said. There is a big gap between concept of "owe" and professional attitude. Hope you now understand. anyway, i've deleted that comment, in order to avoid such no-make-sense continuations
i've deleted that comment, in order to avoid such no-make-sense continuations
deleting comments is also no "professional attitude"
to continue the off topic chat:
professional attitude
false hopes are a safe recipe for frustration im pretty sure the license does not promise "professional attitude"
hundreds of users are dependent on it
these people need some detox cure someone should tell them about forks and patches
@milahu I think it's better to be a bit calmer. I've replied my to a user on a point that authors 'do not owe' a damn thing, while not personally attacking him, just mentioning my alternative thought. and that user, absolutely in a well manner replied back (thanks @andylamp ). but you started personal (and a bit angry) addressing, making statements like:
deleting comments is also no "professional attitude"
idk where did you hear such a wise lesson. please share to me too. or:
false hopes are a safe recipe for frustration
I don't think you are such an oracle to see who has what hope
these people need some detox cure
and again, stop attacking other people, no one called you for judging illnesses, you'd better concentrate on your problems and for their cures.
and whoever has problems when hearing a free speech and thought and goes on personal ranting, then s/he definitely needs a cure. good luck, bye
Hi there, I created a replacement for library uri-js
https://github.com/andreinwald/uri-js-replace
You can add to package.json of your project:
"overrides": {
"uri-js": "npm:uri-js-replace"
}
This fixes deprecation warnings about using the punycode node module.
That's because
require("punycode")
in node is getting the deprecated in-built node module, rather than the NPM package. Adding a trailing slash (as suggested in punycode's README) fixes this.Fixes https://github.com/garycourt/uri-js/issues/94
Related: