You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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.]
http-errors@2.0.0 is pinned to statuses@2.0.1, while the rest of the graph depends on statuses@2.0.2. Having the same clause appear in the dependencies section of the involved modules would avoid unnecessary duplication here.
6 of the suggestions - es-define-property, es-errors, function-bind, gopd, has-symbols, hasown - are part of the get-intrinsics module... all of which are suggested to be replaced with modern native equivalents. (This begs the question, "How much value is get-intrinsics really adding? attn @ljharb)
body-parser - I'm skeptical of this one. module-replacements suggests replacing with inline code or milliparsecs, but I'm guessing express 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 by body-parser so may come for free if there's a viable alterantive to that library. module replacement suggests using native URLSearchParams, or other (mostly ESM-friendly) alternatives. Again might be worth input from e18e, attn @43081j
[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
expressteam 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":
http-errors@2.0.0is pinned tostatuses@2.0.1, while the rest of the graph depends onstatuses@2.0.2. Having the same clause appear in thedependenciessection 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)
es-define-property,es-errors,function-bind,gopd,has-symbols,hasown- are part of theget-intrinsicsmodule... all of which are suggested to be replaced with modern native equivalents. (This begs the question, "How much value isget-intrinsicsreally adding? attn @ljharb)body-parser- I'm skeptical of this one. module-replacements suggests replacing with inline code ormilliparsecs, but I'm guessingexpresshas more stringent requirements that make this non-actionable? Might be worth getting someone from e18e to comment on this. attn @43081jinherits- 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-parserso 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