Closed cedx closed 3 weeks ago
fast-url-parser@1.1.3
was released more than 8 years ago in Jan 2015.
fast-url-parser > README says:
This module has exactly the same API and semantics as the require("url");
- module that comes with node.
See Node.JS URL API documentation.
so perhaps the serve-handler
module could be refactored to use Node.js' url
instead?
Still seeing this every time I run vercel dev
Docusaurus has the same problem.
Also still seeing this, node v22.1.0
FYI I published a fork @docusaurus/serve-handler@6.2.0
with this warning fixed.
You can install it directly, or use an alias "serve-handler": "npm:@docusaurus/serve-handler@6.2.0",
I do not plan to maintain it, the goal was only to fix this warning.
This library depends on the
fast-url-parser
package which depends on thepunycode
builtin module... but since Node.js 21, this module is deprecated:Issue also raised on the
fast-url-parser
repository: cf. petkaantonov/urlparser#20