From cb3171abfa7944d5ddaf0911f5d21148c051bb06 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2019 01:38:48 -0500 Subject: [PATCH 1/3] Configure Renovate (#1355) * Add renovate.json * [dist] Configure renovate more. --- renovate.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 000000000..fc1d2aa3a --- /dev/null +++ b/renovate.json @@ -0,0 +1,19 @@ +{ + "platform": "github", + "autodiscover": false, + "requireConfig": true, + "ignoreNpmrcFile": true, + "rangeStrategy": "replace", + "packageRules": [ + { + "packagePatterns": [ + "*" + ], + "minor": { + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch" + } + } + ], + "commitMessagePrefix": "[dist]" +} From 569e2ac4fb6d04b0522649027b3f7971121b464d Mon Sep 17 00:00:00 2001 From: Marcin K Date: Thu, 22 Aug 2019 07:39:17 +0100 Subject: [PATCH 2/3] Update .nyc_output (#1339) Currently published version includes .nyc_output and coverage --- .npmignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 081a48c64..d4cb9c574 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,8 @@ test examples doc benchmark +coverage +.nyc_output .travis.yml CHANGELOG.md -UPGRADING.md \ No newline at end of file +UPGRADING.md From acdbec09c69c2f42f73a8ffff62e8afc5af4f080 Mon Sep 17 00:00:00 2001 From: Stein Martin Hustad Date: Thu, 22 Aug 2019 08:40:03 +0200 Subject: [PATCH 3/3] Fix docs for rewrite options - 201 also handled (#1147) Updates options documentation for location rewrite to include 201 responses. See #1024 --- lib/http-proxy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/http-proxy.js b/lib/http-proxy.js index 7dab7a48d..8ea278938 100644 --- a/lib/http-proxy.js +++ b/lib/http-proxy.js @@ -37,9 +37,9 @@ function createProxyServer(options) { * changeOrigin: * preserveHeaderKeyCase: * auth : Basic authentication i.e. 'user:password' to compute an Authorization header. - * hostRewrite: rewrites the location hostname on (301/302/307/308) redirects, Default: null. - * autoRewrite: rewrites the location host/port on (301/302/307/308) redirects based on requested host/port. Default: false. - * protocolRewrite: rewrites the location protocol on (301/302/307/308) redirects to 'http' or 'https'. Default: null. + * hostRewrite: rewrites the location hostname on (201/301/302/307/308) redirects, Default: null. + * autoRewrite: rewrites the location host/port on (201/301/302/307/308) redirects based on requested host/port. Default: false. + * protocolRewrite: rewrites the location protocol on (201/301/302/307/308) redirects to 'http' or 'https'. Default: null. * } * * NOTE: `options.ws` and `options.ssl` are optional.