Installing fsevents 1.2.11 still produces a variant of node-pre-gyp in package-lock.json. This now resolves to 0.14.0. Is this intentional?
"fsevents": {
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
"integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
"optional": true,
"requires": {
"bindings": "^1.5.0",
"nan": "^2.12.1",
"node-pre-gyp": "*"
},
"dependencies": {
...
"node-pre-gyp": {
"version": "0.14.0",
"bundled": true,
"optional": true,
"requires": {
"detect-libc": "^1.0.2",
"mkdirp": "^0.5.1",
"needle": "^2.2.1",
"nopt": "^4.0.1",
"npm-packlist": "^1.1.6",
"npmlog": "^4.0.2",
"rc": "^1.2.7",
"rimraf": "^2.6.1",
"semver": "^5.3.0",
"tar": "^4.4.2"
}
},
...
}
Update your deps to fsevents 2, or chokidar v3.
I know what I should do. But what about the packages that can not, and get this update through the patch release?
Well, then they鈥檒l have gyp in package-lock. They really should do this. There is really no excuse since january 1st. Which was the date of nodejs v8 end-of-life. Fsevents v2 dropped support for nodejs v6, so even unsupported v8 can be used with fse-v2.
Alternative approach would be to make v1.2.11 to store binaries on AWS. I don鈥檛 know what is the proper way of doing that, there鈥檚 not much documentation from the author who鈥檝e set up aws.
All good them. 馃憤 This issue was just to check wether it was okay or not. As 1.2.11 specifically mentions the removal.
Looks like it removed it from dependencies but left it in bundledDependencies.
I hope you'll consider https://github.com/fsevents/fsevents/pull/309 and a 1.2.12 release.