Page MenuHomePhabricator

remove nan@2.17.0 from yarn.lock
ClosedPublic

Authored by varun on Aug 7 2024, 10:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 9, 4:32 AM
Unknown Object (File)
Fri, Sep 6, 11:52 PM
Unknown Object (File)
Fri, Sep 6, 11:52 PM
Unknown Object (File)
Fri, Sep 6, 11:52 PM
Unknown Object (File)
Fri, Sep 6, 11:40 PM
Unknown Object (File)
Tue, Sep 3, 5:41 AM
Unknown Object (File)
Fri, Aug 30, 8:14 PM
Unknown Object (File)
Fri, Aug 30, 1:39 PM
Subscribers

Details

Summary

in D13004, @ashoat wrote:

Looks like these dependencies are for fsevents and macos-alias, which are still using the old nan:
macos-alias is used by @electron-forge/maker-dmg, which is used in our electron-forge config
Version 1 of fsevents requires nan, but version 2 doesn't. We have dependencies on version 1 due to an old version of Jest that is required by hazel-server (we have the latest version of hazel-server)
Don't think either of those will be affected by the Windows issues we've seen, so we can leave it. But in the future, one thing we could do here would've been to update all of these to 2.20.0, since it looks like it just fixes bugs and shouldn't have negative effects

Test Plan

successfully built app on windows

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat published this revision for review.Aug 7 2024, 10:28 AM

The resolution isn't necessary here. To achieve this I would have manually modified yarn.lock and just committed that. You could potentially introduce the change with the resolution and then delete it later if you're not comfortable modifying yarn.lock directly. But we should avoid committing the resolution... it locks us to 2.20.0, but there's no reason to do that

package.json
59 ↗(On Diff #43225)

Remove this line

Please remove resolution before landing

This revision is now accepted and ready to land.Aug 7 2024, 10:28 AM
This revision was landed with ongoing or failed builds.Aug 7 2024, 10:39 AM
This revision was automatically updated to reflect the committed changes.