FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix vm2 vulnerability: remove superagent-proxy dependency by DmitriyKirakosyan · Pull Request #830 · microsoft/code-push · GitHub

This repository was archived by the owner on May 20, 2025. It is now read-only.
/ code-push Public archive

Fix vm2 vulnerability: remove superagent-proxy dependency - #830

Merged
Dmitriy Kirakosyan (DmitriyKirakosyan) merged 5 commits into
masterfrom
fix/vm2
Aug 16, 2023
Merged

Fix vm2 vulnerability: remove superagent-proxy dependency#830
Dmitriy Kirakosyan (DmitriyKirakosyan) merged 5 commits into
masterfrom
fix/vm2

Conversation

Dmitriy Kirakosyan (DmitriyKirakosyan) commented Aug 3, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

This PR remove the superagent-proxy package, as it's not maintained anymore and depends on the vulnerable vm2 package.
agent-proxy is used directly with superagent's Request object now.

AB#101666

Comment thread src/utils/request-manager.ts Outdated

var superproxy = require("superagent-proxy");
superproxy(superagent);
import superagent_setup from "./superagent-proxy.js";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Why don't we directly use proxy-agent here?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL