GoogleChromeLabs / native-url

Node's url module implemented using the built-in URL API.
https://npm.im/native-url
Apache License 2.0
284 stars 11 forks source link

use URLSearchParams instead of the querystring package (deprecated) #40

Open mahmoud-triki opened 1 year ago

mahmoud-triki commented 1 year ago

Expected Behavior

the native-url is a popular package and used by next and many other popular packages, so it's important to keep dependencies up-to-date :) Use URLSearchParams instead

Actual Behavior

The native-url npm package is using the querystring package which is deprecated. You can see more details about the deprecating of the querystring package here.

Steps to Reproduce the Problem

You can do npm install and you'll see the npm Deprecation warning

Specifications