Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

-- upgrade dependencies #3425

wants to merge 1 commit into from

Conversation

pavhov
Copy link

@pavhov pavhov commented Aug 29, 2022

PR Checklist:

  • I have run npm test locally and all tests are passing.
  • I have added/updated tests for any new behavior.
  • If this is a significant change, an issue has already been created where the problem / solution was discussed: [N/A, or add link to issue here]

PR Description

Copy link

@rtharston rtharston left a 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)

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 = {}

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants