-
Notifications
You must be signed in to change notification settings - Fork 369
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
refactor(deps)!: Remove html-entities
dependency
#1907
Comments
ent
dependencyent
dependency
I do not believe this to be easy to remove. The reason it is imported is that under certain situations (rate limiting if I remember correctly) the GCS API will return a response in HTML. Currently Ent is used to decode the returned HTML. I spoke with other client library owners and while they do not parse the HTML like Node does, if we were to remove this it would be a breaking change. We have two choices, close this issue as will not fix or move it until our next major release which is tentatively scheduled for Spring 2023. |
ent
dependencyent
dependency
Hi, I think this needs revisting. ent relies on the deprecated punycode module. This is now causing issues in Node v21.x. |
Hi @luc122c thanks for the heads up. I will take another look and see if there is a way we can remove |
Not sure if it's a drop in replacement, but perhaps https://www.npmjs.com/package/entities could be used to replace ent (which hasn't been updated in 9 years). |
@drichardson thanks for the heads up. I will poke around in entities to see if it meets our needs. |
@ddelgrosso1 Whoops I just saw your note after making a branch using a different library called he which is pretty old and boring which seemed good for this 😄. |
@luc122c @ddelgrosso1
|
@cfdavidpetter this issue for removing |
@ddelgrosso1 my problem is this:
|
Thanks @cfdavidpetter we are aware of the deprecation of |
Thanks @danielbankhead this is probably a good stop gap before next major version where I hope to remove the dependency altogether. |
|
ent
dependencyhtml-entities
dependency
Remove
ent
&@types/ent
dependencies - they do not seem necessary given the context of its usage.Perhaps
decodeURI
would work as an alternative.The text was updated successfully, but these errors were encountered: