Skip to content

Commit 9d6313f

Browse files
committed
fs: deprecate passing invalid types in fs.existsSync
1 parent e577618 commit 9d6313f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/api/deprecations.md

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

37733773
<!-- md-lint skip-deprecation DEP0186 -->
37743774

3775+
### DEP0187: `fs.existsSync` never throw on invalid arguments
3776+
3777+
<!-- YAML
3778+
changes:
3779+
- version: REPLACEME
3780+
pr-url: https://github.com/nodejs/node/pull/55753
3781+
description: Documentation-only.
3782+
-->
3783+
3784+
Type: Documentation-only
3785+
3786+
Passing invalid argument types is deprecated.
3787+
37753788
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
37763789
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
37773790
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4

0 commit comments

Comments
 (0)