Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Bump https-proxy-agent dep. to 5.0.0 - This PR hopes to fix #181 #183

Merged
merged 2 commits into from
Nov 13, 2020
Merged

Bump https-proxy-agent dep. to 5.0.0 - This PR hopes to fix #181 #183

merged 2 commits into from
Nov 13, 2020

Conversation

kitos9112
Copy link
Contributor

Hi,

This PR is raised to bump a NodeJS dependency which people like us who use bitwarden CLI at work heavily rely on. As described in #181 this library introduced a bug for which we cannot log in successfully when running CLI commands behind an HTTP proxy.

I also bumped the third (patch I guess?) version of the tool.

Please, do review this small code change and let me know if I had to also update the package-lock.json - I don't do much JS lately.

Cheers,

Copy link
Contributor

@cscharf cscharf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a quick note that this package is used by multiple repositories and each of those would also need to be updated.

  • jslib
  • desktop
  • directory-connector
  • web
  • cli (✅ )

If you wouldn't mind scatter-gunning those other repos with this update to the package version as well that would be much appreciated. Thanks again!

package.json Outdated Show resolved Hide resolved
@kitos9112
Copy link
Contributor Author

Hi @cscharf,

Yes, not a problem. I'll fork and raise MR accordingly.

Anything else left in this PR? Not quite sure why the CI job fails though :(

@kitos9112
Copy link
Contributor Author

I've just gone through those listed repositories but only found https-proxy-agent dependency occurrences in the following ones:

  • jslib (✅ )
  • directory-connector (✅ )

Am I missing something? 🤔

@cscharf
Copy link
Contributor

cscharf commented Nov 13, 2020

Am I missing something? 🤔

Yes, it's pretty obvious, you're missing the fact that I was wrong, lol, my apologies and I appreciate you looking! I did a global "search" but missed that each of those were picking up the sub-module jslib dependency in the package.json file, whoops.

@cscharf cscharf self-requested a review November 13, 2020 19:05
Copy link
Contributor

@cscharf cscharf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! that should do it.

Not quite sure why the CI job fails though :(

It doesn't like the TypeScript syntax in one of the core files which hasn't changed in some time, likely something on the AppVeyor agent throwing a fit, the package for deployment scripts work okay when I run them locally. Either way, I don't believe it has anything to do with your change.

@cscharf cscharf merged commit 023a7af into bitwarden:master Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants