0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Dan Fabulich 7b5ffa46fe fs,doc: undeprecate existsSync
This has been dragged through various long discussions and has been
elevated to the CTC multiple times.

As noted in
https://github.com/nodejs/node/pull/7455#issuecomment-228961530,
while this API is still generally considered an anti-pattern, there are
still use-cases it is best suited for, such as checking if a git rebase
is in progress by looking if ".git/rebase-apply/rebasing" exists.

The general consensus is to undeprecate just the sync version, given
that the async version still has the "arguments order inconsistency"
problem.

The consensus at the two last CTC meetings this came up at was also
to undeprecate existsSync() but keep exists() deprecated.
See: https://github.com/nodejs/node/issues/8242 &
https://github.com/nodejs/node/issues/8330

(Description write-up by @Fishrock123)

Fixes: https://github.com/nodejs/node/issues/1592
Refs: https://github.com/nodejs/node/pull/4217
Refs: https://github.com/nodejs/node/pull/7455
PR-URL: https://github.com/nodejs/node/pull/8364

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2016-10-05 15:10:40 -04:00
..
api fs,doc: undeprecate existsSync 2016-10-05 15:10:40 -04:00
api_assets doc: make the api doc print-friendly 2016-05-23 12:26:21 +02:00
changelogs 2016-09-27, Version 6.7.0 (Current) 2016-09-27 19:45:55 -05:00
ctc-meetings doc: add CTC meeting minutes 2016-09-14 2016-10-03 14:29:45 +02:00
guides doc: recommend using port 0 instead of common.PORT 2016-10-04 01:05:44 +03:00
topics doc: enable no-file-name-articles remark-lint rule 2016-09-27 07:07:40 -07:00
tsc-meetings tools: enable more remark-lint rules 2016-09-25 13:02:45 +03:00
full-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00
node.1 tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
onboarding-extras.md doc: enable first-heading-level remark-lint rule 2016-09-27 06:31:12 -07:00
onboarding.md doc: encourage 2FA before onboarding 2016-09-28 17:23:22 -07:00
osx_installer_logo.png build: update Node.js logo on OSX installer 2016-02-27 16:49:56 +11:00
releases.md doc: add commit formats for release blog posts 2016-09-27 18:16:24 -04:00
template.html doctool: improve the title of pages in doc 2016-08-04 12:17:58 -07:00
thin-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00