doc: add missing `deprecated` badges in `fs.md`

PR-URL: https://github.com/nodejs/node/pull/57384
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Yukihiro Hasegawa 2025-03-13 21:32:11 +09:00 committed by GitHub
parent dfb2536eb1
commit d55f11b943
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -1119,6 +1119,8 @@ const { glob } = require('node:fs/promises');
deprecated: v10.0.0 deprecated: v10.0.0
--> -->
> Stability: 0 - Deprecated
* `path` {string|Buffer|URL} * `path` {string|Buffer|URL}
* `mode` {integer} * `mode` {integer}
* Returns: {Promise} Fulfills with `undefined` upon success. * Returns: {Promise} Fulfills with `undefined` upon success.
@ -3199,6 +3201,8 @@ changes:
it will emit a deprecation warning with id DEP0013. it will emit a deprecation warning with id DEP0013.
--> -->
> Stability: 0 - Deprecated
* `path` {string|Buffer|URL} * `path` {string|Buffer|URL}
* `mode` {integer} * `mode` {integer}
* `callback` {Function} * `callback` {Function}
@ -5718,6 +5722,8 @@ console.log(globSync('**/*.js'));
deprecated: v0.4.7 deprecated: v0.4.7
--> -->
> Stability: 0 - Deprecated
* `path` {string|Buffer|URL} * `path` {string|Buffer|URL}
* `mode` {integer} * `mode` {integer}