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

Update fsevents dep #117

Closed
chaffeqa opened this issue May 3, 2018 · 9 comments
Closed

Update fsevents dep #117

chaffeqa opened this issue May 3, 2018 · 9 comments

Comments

@chaffeqa
Copy link

chaffeqa commented May 3, 2018

fsevents@1.2.3 contains a fix for nodev10. This prevents any installation of jest since it tries to pull in sane@^2.0.0 and then finds the non-optional fsevents, which blows up.

I'm also opening a issue in jest refering to this (since I think the updating to sane@^2.5.0 will make it trully optional/opt-in-only).

I think both groups should be aware

@stefanpenner
Copy link
Collaborator

Thanks for letting us know.

Question for you, since we have a ^1.1.1 dep on fsevents, and 1.2.3 contains the fix. Do we have any action items on our end?

@SimenB
Copy link

SimenB commented May 4, 2018

It's useful to bump as doing deep upgrades is not the easiest, especially if current versions are important to keep for other deps.

But it is possible for consumers to update themselves

@stefanpenner
Copy link
Collaborator

It's useful to bump as doing deep upgrades is not the easiest, especially if current versions are important to keep for other deps.

isn't the fix simply reinstalling + deleting lock files?

stefanpenner added a commit that referenced this issue May 4, 2018
@stefanpenner
Copy link
Collaborator

Not that I actually don't agree, we should just bump. It comes at little risk, I want to just understand the above ^.

@chaffeqa
Copy link
Author

chaffeqa commented May 4, 2018

Honestly I don't think I arrived at a suggest-able solution. It's a pretty intricate and deep problem, in lieu of a quick solution coming to mind, I just decided to log it to relevent parties.

My of-the-top-of-the-head solution would be:

  • Bump the fsevents optional dep to ^1.2.3, and release an appropriate semvar version update which if I'm not mistaken, is patch level since updating sane in a project won't automatically update the fsevents

I may be wrong, either way though my hunch is the correct fix is jestjs/jest#6123

@chaffeqa
Copy link
Author

chaffeqa commented May 4, 2018

👍 thanks for the quick turnaround!

@stefanpenner
Copy link
Collaborator

released as v2.5.1 🎉

@stefanpenner
Copy link
Collaborator

👍 thanks for the quick turnaround!

Absolutely!

@SimenB
Copy link

SimenB commented May 4, 2018

isn't the fix simply reinstalling + deleting lock files?

Yes, if it's acceptable to dump the lock files - that's not a given 🙂 We ended up bumping some Istanbul deps in Jest even though they were in semver range as the upgrade internally at FB apparently was difficult (jestjs/jest#5772 (comment))

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

No branches or pull requests

3 participants