-
-
Notifications
You must be signed in to change notification settings - Fork 19.7k
Open
Description
[Probably more of a tracking issue here than an actual issue in and of itself. I'm putting this up mostly because I'm curious if the express
team has considered any of these concerns than out of any real expectation of action.]
See https://npmgraph.js.org/?q=express.
Under "Modules with Multiple Versions":
-
[email protected]
is pinned to[email protected]
, while the rest of the graph depends on[email protected]
. Having the same clause appear in thedependencies
section of the involved modules would avoid unnecessary duplication here.
Under "Suggested Replacements" (these come from the [e18e module-replacements project](https://github.com/es-tooling/module-replacements project)
- 6 of the suggestions -
es-define-property
,es-errors
,function-bind
,gopd
,has-symbols
,hasown
- are part of theget-intrinsics
module... all of which are suggested to be replaced with modern native equivalents. (This begs the question, "How much value isget-intrinsics
really adding? attn @ljharb) -
body-parser
- I'm skeptical of this one. module-replacements suggests replacing with inline code ormilliparsecs
, but I'm guessingexpress
has more stringent requirements that make this non-actionable? Might be worth getting someone from e18e to comment on this. attn @43081j -
inherits
- module-replacements suggests using native class syntax? Seems reasonable, given that ES class syntax has been widely available for a long time now. -
qs
- This is pulled in bybody-parser
so may come for free if there's a viable alterantive to that library. module replacement suggests using nativeURLSearchParams
, or other (mostly ESM-friendly) alternatives. Again might be worth input from e18e, attn @43081j
Metadata
Metadata
Assignees
Labels
No labels