You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently results in a warning about breakage on node v14 installs.
warning gatsby > babel-plugin-add-module-exports > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning gatsby > babel-plugin-add-module-exports > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
The changes are pretty big. First of all, the package is 16 times smaller and uses 15 dependencies instead of 201. We've switched to n-api, which means users won't download fsevents binaries anymore. n-api is included in every nodejs installation, and it's tiny. Directory walking has been improved massively with stream implementation of readdirp. Massive RAM & CPU improvements etc.
The text was updated successfully, but these errors were encountered:
@ljharb it was originally in the devDependencies prior to 1.0.0 it seems. But even then I don't see any usage of it. optionalDependencies is meant to be used for allowing a package to install correctly, even if an optional dependency fails to install(I'm guessing due to those fsevent errors/warnings?).
If it's really not needed for the package, then yeah, it probably should be removed..
Presently results in a warning about breakage on node v14 installs.
Benefits by the maintainer are mentioned here:
The text was updated successfully, but these errors were encountered: