New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-- upgrade dependencies #3425
base: master
Are you sure you want to change the base?
-- upgrade dependencies #3425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title of the PR says you upgraded the dependencies, but this includes a lot of other changes. Please only update the dependencies and revert the rest.
Updating var to const where possible isn't a bad thing, but is not within the scope of your stated change.
@@ -443,7 +443,7 @@ | |||
- [#1116](https://github.com/request/request/pull/1116) Fix typo in `noProxyHost` definition (@FredKSchott) | |||
- [#1114](https://github.com/request/request/pull/1114) linting fix: Added a `new` operator that was missing when creating and throwing a new error (@FredKSchott) | |||
- [#1096](https://github.com/request/request/pull/1096) No_proxy support (@samcday) | |||
- [#1107](https://github.com/request/request/pull/1107) linting-fix: remove unused variables (@FredKSchott) | |||
- [#1107](https://github.com/request/request/pull/1107) linting-fix: remove unused letiables (@FredKSchott) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you performed a search replace on var with let, and it went a bit too far afield.
There are quite a few of these in the changelog and readme, and probably other places too, they'll need changed back.
@@ -125,7 +125,7 @@ request.defaults = function (options, requester) { | |||
} | |||
|
|||
request.forever = function (agentOptions, optionsArg) { | |||
var options = {} | |||
const options = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do all these var to const replacements have to do with upgrading dependencies?
Did you run a linter or something?
PR Checklist:
npm test
locally and all tests are passing.PR Description