-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Webpack-dev-server 4.2.1 depends on url 0.11.0. This package hasn't had a release in 6 years. It in turn depends on querystring ^0.2.0. When you install that you get the deprecation warning:
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
- This is a bug
- This is a modification request
Code
// webpack.config.jsPlease paste the results of npx webpack-cli info here, and mention other relevant information
$ npx webpack-cli info
System:
OS: macOS 11.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 60.38 MB / 16.00 GB
Binaries:
Node: 16.9.1 - /usr/local/homebrew/bin/node
Yarn: 1.22.11 - /usr/local/homebrew/bin/yarn
npm: 7.21.1 - /usr/local/homebrew/bin/npm
Browsers:
Brave Browser: 80.1.4.95
Chrome: 93.0.4577.82
Firefox: 92.0
Safari: 14.1.2
Packages:
eslint-import-resolver-webpack: ^0.13.1 => 0.13.1
html-webpack-plugin: ^5.3.2 => 5.3.2
webpack: ^5.52.0 => 5.53.0
webpack-cli: ^4.8.0 => 4.8.0
webpack-dev-server: ^4.1.1 => 4.2.1
Expected Behavior
No deprecations when you install the package
Actual Behavior
A deprecation warning for querystring is present.
For Bugs; How can we reproduce the behavior?
For Features; What is the motivation and/or use-case for the feature?
polyrainbow, imsobear, jpmc3630, s0me0ther, ghjm and 2 more
Metadata
Metadata
Assignees
Labels
No labels