Skip to content

Commit

Permalink
fs: deprecate passing invalid types in fs.existsSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceres6 committed Nov 17, 2024
1 parent e577618 commit 9d6313f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3772,6 +3772,19 @@ It is recommended to use the `new` qualifier instead. This applies to all REPL c

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

### DEP0187: `fs.existsSync` never throw on invalid arguments

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/55753

Check warning on line 3780 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Documentation-only.
-->

Type: Documentation-only

Passing invalid argument types is deprecated.

[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
Expand Down

0 comments on commit 9d6313f

Please sign in to comment.