Commit Graph
5 Commits
Author SHA1 Message Date
David Lechner b729d90907 yarn: add patch for react-dev-utils
https://github.com/facebook/create-react-app/pull/11878
2022-05-14 14:18:49 -05:00
David Lechner da7e983ad2 yarn: drop navigator.locks patch
The fix was merged upstream.
2022-04-05 18:52:59 -05:00
David Lechner b9dbaaa5cb fileStorage: implement file locks
This breaks down reading and writing into low-level and high level sagas.

Opening now takes a lock on the file so that it can only have one writer
or have multiple readers. The low-level read and write sagas use the
file descriptor to determine if the file is still open before actually
performing the action.

Since we are using the web locks api, these locks should work across
browser tabs/windows.

The high-level read/write sagas perform the low-level open, read/write,
close operations in a single call.

The high-level delete and rename sagas are also updated to take locks
on the files while performing the respective operations and will fail
if the file is already being used somewhere else.
2022-04-04 15:24:08 -05:00
David Lechner 062968ed9d yarn: patch mq-polyfill
Works around https://github.com/bigslycat/mq-polyfill/issues/7
2022-03-14 16:30:29 -05:00
David Lechner 5816ca32eb yarn: begin migration to 3.x
https://yarnpkg.com/getting-started/migration#step-by-step
2022-03-14 15:04:38 -05:00