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

Binary install update for axios security vulnerability. #1012

Merged
merged 3 commits into from
Jun 17, 2021

Conversation

simlay
Copy link
Contributor

@simlay simlay commented Jun 3, 2021

Closes #958. Co-PR to #973.

Based on #973 (review), I've ran node run.js and verified that this works.

If we'd like, I'm down to add a test subcrate that's runs node run.js build to actually run the full build. Thoughts?

Make sure these boxes are checked! 📦✅

  • You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨

@simlay simlay changed the title Binary install update for 958 Binary install update for axios security vulnerability. Jun 3, 2021
@Keavon
Copy link

Keavon commented Jun 4, 2021

Thanks for this! I will email @ashleygwilliams since hopefully she just has GitHub notifications disabled but hasn't fallen off the face of the earth.

Edit: done, email sent. It probably won't hurt to tweet at her also, the Twitter handle is listed on her GitHub profile. I'll report back if I hear nothing in a few days.

@Keavon
Copy link

Keavon commented Jun 4, 2021

Do we also want to update the version number to 0.9.2? I believe (some or all of) these are the relevant files?:

  • Cargo.lock:2284
  • Cargo.toml:4
  • CHANGELOG.md (add a section indicating the bumped binary-install version)
  • docs\index.html:45 and :47
  • npm\package.json:3
  • npm\package-lock.json (but you aren't supposed to hand-edit this file, does this perhaps get updated by running npm update or npm install after making the other changes?)

@Keavon
Copy link

Keavon commented Jun 5, 2021

Hmm, what about these test failures?

@simlay
Copy link
Contributor Author

simlay commented Jun 5, 2021

Hmm, what about these test failures?

I'm pretty sure this is fixed in #983.

@Keavon
Copy link

Keavon commented Jun 5, 2021

I see, so we would need to merge that one before this one?

@simlay
Copy link
Contributor Author

simlay commented Jun 5, 2021

I see, so we would need to merge that one before this one?

There have been a couple of PRs to help clean up CI. I think fixing CI is outside the scope of this security fix.

@Keavon
Copy link

Keavon commented Jun 5, 2021

Ok, so that would mean we just merge even though CI is failing, correct? In other words, CI would fail if it were run on the current state of the master branch?

@simlay
Copy link
Contributor Author

simlay commented Jun 6, 2021

Ok, so that would mean we just merge even though CI is failing, correct? In other words, CI would fail if it were run on the current state of the master branch?

It seems that way. The only PR since December to "pass" ci was #983 it seems. If whoever has merge and publish access to this repo wants CI to pass for this PR, I'm fine with fixing it but I'm not gonna look much more into it without someone showing up.

Copy link
Member

@drager drager left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@drager drager merged commit 5b3ff33 into rustwasm:master Jun 17, 2021
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.

Security alert for axios 0.19.0 (npm dependency)
4 participants