0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Ruben Bridgewater 70dcacd710
assert: deprecate assert.fail partially
Using `assert.fail()` with more than one argument is not intuitive
to use and has no benefit over using a message on its own.

Therefore this introduces a runtime deprecation in case it is used
in that way.

PR-URL: https://github.com/nodejs/node/pull/18418
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2018-02-02 19:05:22 +01:00
..
_toc.md doc: update http URLs to https in doc/api 2017-11-23 16:06:35 -05:00
addons.md doc: fix e.g., to e.g. in docs 2018-01-25 16:29:50 +02:00
all.md doc: prepare for v8/V8 linting in doc text 2017-11-22 08:24:46 -08:00
assert.md assert: deprecate assert.fail partially 2018-02-02 19:05:22 +01:00
async_hooks.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
buffer.md doc: correct buffer changelog ordering 2018-01-17 09:06:03 -05:00
child_process.md doc: simplify sentences that use "considered" 2018-01-17 21:22:53 -08:00
cli.md src: allow --perf-(basic-)?prof in NODE_OPTIONS 2018-02-01 13:38:24 +01:00
cluster.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
console.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
crypto.md crypto: docs-only deprecate crypto.fips, replace 2018-02-02 07:50:31 -08:00
debugger.md
deprecations.md assert: deprecate assert.fail partially 2018-02-02 19:05:22 +01:00
dgram.md doc: decapitalize primitive types 2018-01-12 02:47:22 +02:00
dns.md doc: fix e.g., to e.g. in docs 2018-01-25 16:29:50 +02:00
documentation.md doc: improve documentation.md 2017-12-18 10:25:43 -05:00
domain.md
errors.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
esm.md src,lib: implement import.meta 2018-02-01 13:46:56 +01:00
events.md 2019-01-10 Version 9.4.0 (Current) 2018-01-10 10:24:22 -05:00
fs.md fs: partition readFile against pool exhaustion 2018-02-01 11:11:48 +01:00
globals.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
http2.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
http.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
https.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
index.md
inspector.md doc: fix duplicate words & spellings in docs 2017-12-31 18:14:25 +01:00
intl.md
modules.md doc: fix return value for require.resolve.paths() 2018-01-24 20:44:30 +02:00
n-api.md doc: remove uannecessary Require 2018-01-18 10:45:46 -05:00
net.md doc: decapitalize primitive types 2018-01-12 02:47:22 +02:00
os.md doc: remove x86 from os.arch() options 2018-01-03 23:31:34 +00:00
path.md
perf_hooks.md 2018-01-31, Version 9.5.0 (Current) 2018-01-31 18:06:32 -06:00
process.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
punycode.md
querystring.md
readline.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
repl.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
stream.md doc: improve stream documentation 2018-02-01 11:49:18 +01:00
string_decoder.md
synopsis.md doc: not all example code can be run without 1:1 2017-12-18 10:26:13 -05:00
timers.md timers: allow Immediates to be unrefed 2018-01-18 15:55:59 -05:00
tls.md doc: fix e.g., to e.g. in docs 2018-01-25 16:29:50 +02:00
tracing.md src: use uv_hrtime as tracing timestamp 2018-01-24 09:58:28 -08:00
tty.md doc: linkify missing types 2018-02-01 02:52:31 +02:00
url.md url: expose the WHATWG URL API globally 2018-01-31 16:00:51 +01:00
util.md util: implement util.getSystemErrorName() 2018-01-20 08:51:47 +08:00
v8.md doc: fix duplicate words & spellings in docs 2017-12-31 18:14:25 +01:00
vm.md vm: add modules 2018-01-30 17:00:57 -08:00
zlib.md 2019-01-10 Version 9.4.0 (Current) 2018-01-10 10:24:22 -05:00