Checks
Describe the bug (be clear and concise)
Latest version requires @types/express as a peerDependency, printing warnings for non-typescript projects as well.
Step-by-step reproduction instructions
mkdir testproxy
cd testproxy
yarn init -y
yarn add http-proxy-middleware
see message:
`warning " > [email protected]" has unmet peer dependency "@types/express@^4.17.13".`
Expected behavior (be clear and concise)
No warnings when installing package. Don't require users to install @types packages as if everyone is using typescript.
How is http-proxy-middleware used in your project?
via `webpack-dev-server`, like half the web.
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Fedora 35; Node 16.13.2; yarn 1.22.17
Additional context (optional)
Regressed by #700
Checks
http-proxy-middleware.Describe the bug (be clear and concise)
Latest version requires
@types/expressas a peerDependency, printing warnings for non-typescript projects as well.Step-by-step reproduction instructions
Expected behavior (be clear and concise)
No warnings when installing package. Don't require users to install
@typespackages as if everyone is using typescript.How is http-proxy-middleware used in your project?
via `webpack-dev-server`, like half the web.What http-proxy-middleware configuration are you using?
IrrelevantWhat OS/version and node/version are you seeing the problem?
Additional context (optional)
Regressed by #700