Skip to content

chore: update dependencies - #107

Merged
arcanis merged 2 commits into
mainfrom
update-deps
May 24, 2022
Merged

chore: update dependencies#107
arcanis merged 2 commits into
mainfrom
update-deps

Conversation

@aduh95

@aduh95 aduh95 commented May 15, 2022

Copy link
Copy Markdown
Contributor

When working on #100, I noticed updating proxy-agent was blocked by some issue, so I left the outdated version in the other PR that was big enough as is.

Turned out the reason was upgrading proxy-agent adds vm2 to the dependency tree (even though it's never actually used, at least not by the APIs Corepack uses), and it seems that something between vm2, Webpack, and PnP is not behaving as expected and the build fails. I used yarn patch to basically remove all of vm2 code to replace it by some minimal mock file, and now Webpack doesn't freak out, and the tests are passing.

I've also bumped the other packages that were left over, and the Yarn version itself.

@aduh95

aduh95 commented May 23, 2022

Copy link
Copy Markdown
Contributor Author

@arcanis do you know why using a patch version breaks the CI?

@arcanis

arcanis commented May 23, 2022

Copy link
Copy Markdown
Contributor

The patch file might be gitignored and need an override in the gitignore file 🤔

@aduh95
aduh95 requested a review from arcanis May 23, 2022 23:34
@arcanis
arcanis merged commit 648bd95 into main May 24, 2022
@arcanis
arcanis deleted the update-deps branch May 24, 2022 14:22
@arcanis

arcanis commented Apr 11, 2023

Copy link
Copy Markdown
Contributor

Good thing you disabled vm2, it had a vulnerability: https://security.snyk.io/package/npm/vm2

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.

2 participants