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

chore: upgrade cross-fetch #472

Closed

Conversation

lucasgonze
Copy link

chore: upgrade cross-fetch

Closes #471 "Security vulnerability with cross-fetch in fbjs"

Signed-off-by: Lucas Gonze lucas@gonze.com

@lucasgonze lucasgonze marked this pull request as ready for review February 9, 2022 22:21
@lucasgonze
Copy link
Author

Unit tests on my local machine are failing both for the main branch and for my feature branch. It doesn't look like the CI runs tests, so a human with a working unit test environment should look closer at what I have here.

Closes facebook#471 "Security vulnerability with cross-fetch in fbjs"

Bumps fbjs version to 3.0.3 to enable this change to get picked up.

Signed-off-by: Lucas Gonze <lucas@gonze.com>
@mroch
Copy link
Contributor

mroch commented Feb 10, 2022

merged #470 instead since it came first. thanks for bumping this issue though!

@mroch mroch closed this Feb 10, 2022
@lucasgonze
Copy link
Author

merged #470 instead since it came first. thanks for bumping this issue though!

Totally understood. The earlier PR didn't bump the version number to enable upstream users to grab the update, though - is there another way?

image

@mroch
Copy link
Contributor

mroch commented Feb 10, 2022

3.0.3 is published now

bumping the version in package.json isn't the important bit, it also has to be published to npm. we updated it and the changelog as part of the release (d7156a6). but if there was no release, users would have to grab the update with a "commit-ish" github dependency (https://docs.npmjs.com/cli/v8/configuring-npm/package-json#github-urls) which doesn't need the version to be updated

@lucasgonze
Copy link
Author

3.0.3 is published now

Thanks!

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

Successfully merging this pull request may close these issues.

Security vulnerability with cross-fetch in fbjs
3 participants