-
Notifications
You must be signed in to change notification settings - Fork 296
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
Replace deprecated querystring component with builtin URLSearchParams API #416
Comments
The deprecation warning on that
There is nothing about this message that suggests there is any real reason to stop using the existing API which has been stable for years. That said, there iss an open PR for this already #411 |
Agreed @glenjamin, but deprecated dependencies typically stop getting support and using standard APIs for such a minor usecase would offer better long term support. Thanks for pointing out the open PR - missed that one and was about to open another. |
Yeah, if this was a random 3rd party module I'd be more inclined to switch, but I suspect that npm warning is annoying enough that it's going to be easier to merge the PR than to leave things as they are |
@glenjamin hey! friendly ping:
are there any plans or barriers to merge that PR? |
The only barrier right now is that I never got around to it, and I really really really dislike that they've marked a core library as actively deprecated rather than just frozen. There is literally nothing wrong with the current code - and it annoys me that someone has created this work for any maintainer that depends on querystring. |
@glenjamin yeah, it's disappointing. I understand. Contrariwise I think I can understand the author of that package. Anyway, on the other hand, we are users of these packages who receive annoying warning that distract from the really important warnings. |
Yeah, I should have some time tomorrow to take a look and get this sorted Thanks for the prompt |
This is now released in |
Expected Behavior / Situation
Installing dependencies (npm install) for my project produces a deprecation warning for the
querystring
dependency.npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
Actual Behavior / Situation
Remove the warning by removing querystring as a dependency and using URLSearchParams API
Modification Proposal
The big question is can we limit webpack-hot-middleware to Node.js 10.12 or higher - webpack@5 requires 10.13 or higher.
The text was updated successfully, but these errors were encountered: