emberfeather/less.js-middleware

npm WARN deprecated graceful-fs@3.0.8:

Closed this issue · 2 comments

npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.

Related to 7c43db3/package.json#L12

Refs:

Not quite sure what this entails for this package. No known failures yet... but is in the console none-the-less.

TIA

HI @Martii
This looks like an issue for a dependency on the less package itself. You can open an issue on the Less repo since we just depend on them as a dependency and not directly on graceful fs. There is also one other dev dependencies that depend on it as well that may also generate the warning: mocha is depending on an old version of glob which depends on an old version of graceful-fs.

@Zoramite
Thanks... something that is confusing though is the clean $ npm install here...

less-middleware@2.0.1 node_modules/less-middleware
├── node.extend@1.1.5 (is@3.1.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
└── less@2.4.0 (mime@1.3.4, graceful-fs@3.0.8, image-size@0.3.5, errno@0.1.4, promise@6.1.0, source-map@0.2.0)

and with your latest version bump here with e8f2163 and another $ rm -Rf node_modules then $ npm install:

less-middleware@2.1.0 node_modules/less-middleware
├── node.extend@1.1.5 (is@3.1.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
└── less@2.6.0 (mime@1.3.4, graceful-fs@3.0.8, image-size@0.3.5, errno@0.1.4, promise@6.1.0, source-map@0.4.4)

Ahh I see GH repo is ahead of 2.6.0 but not denoted, plus they don't have a newer 2.6.0 release/tag yet and that's where they are updated already with the newer graceful-fs. This posts most current 4bd5878/package.json for less. Think I'm going to have to directly check the folders from now on to confirm if npmjs.com less is in sync with their repo... I have a feeling this won't be the last time this happens.

Thanks for the clarification and the additional tips... and apologies for the noise. Keep up the great work. :)