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
Calling fs.Stats class directly with Stats() or new Stats() is deprecated due to being internals, not intended for public use.
It's used all over including for example in gulp/vinyl-fs: gulpjs/vinyl-fs#356, and it's not clear to me what an alternative could be. Would it make sense to patch it in this library?
The fs.Stats constructor function is marked as deprecated as of Node v22.0.0 - https://nodejs.org/api/deprecations.html#DEP0180:
It's used all over including for example in gulp/vinyl-fs: gulpjs/vinyl-fs#356, and it's not clear to me what an alternative could be. Would it make sense to patch it in this library?
The text was updated successfully, but these errors were encountered: