Skip to content

Commit 5738107

Browse files
Ceres6ruyadorno
authored andcommitted
doc: deprecate passing invalid types in fs.existsSync
PR-URL: #55892 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com>
1 parent a4fa31a commit 5738107

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/api/deprecations.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,6 +3687,20 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c
36873687

36883688
<!-- md-lint skip-deprecation DEP0186 -->
36893689

3690+
### DEP0187: Passing invalid argument types to `fs.existsSync`
3691+
3692+
<!-- YAML
3693+
changes:
3694+
- version: REPLACEME
3695+
pr-url: https://github.com/nodejs/node/pull/55892
3696+
description: Documentation-only.
3697+
-->
3698+
3699+
Type: Documentation-only
3700+
3701+
Passing non-supported argument types is deprecated and, instead of returning `false`,
3702+
will throw an error in a future version.
3703+
36903704
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
36913705
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
36923706
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy