yarn why http-proxy-middleware OR npm ls http-proxy-middleware output (mask private folder names with *****)
Describe the bug (be clear and concise)
A breaking change was released with 2.0.1. The response type for onProxyRes used to be express.Response, but is now http.Response. This should have been a major version change.
Step-by-step reproduction instructions
1. Install 2.0.0. Use e.g. `res.status(200).send()` in `onProxyRes`.
2. Update to 2.0.1. See red squiggly lines. Be sad.
Expected behavior (be clear and concise)
No breaking changes in patch version changes.
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
No response
yarn why http-proxy-middlewareORnpm ls http-proxy-middlewareoutput (mask private folder names with *****)http-proxy-middleware.Describe the bug (be clear and concise)
A breaking change was released with 2.0.1. The response type for
onProxyResused to beexpress.Response, but is nowhttp.Response. This should have been a major version change.Step-by-step reproduction instructions
Expected behavior (be clear and concise)
No breaking changes in patch version changes.
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
No response