0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Ruben Bridgewater 7493db21b6
assert: adjust loose assertions
This changes the loose deep equal comparison by using the same logic
as done in the strict deep equal comparison besides comparing
primitives loosely, not comparing symbol properties and not comparing
the prototype.

`assert.deepEqual` is still commenly used and this is likely the
biggest pitfall.

Most changes are only minor and won't have a big impact besides
likely fixing user expectations.

PR-URL: https://github.com/nodejs/node/pull/25008
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
2019-01-27 03:34:25 +01:00
..
addons.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
assert.md assert: adjust loose assertions 2019-01-27 03:34:25 +01:00
async_hooks.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
buffer.md doc: correct my wrong note about buf.fill() 2019-01-20 17:02:18 +02:00
child_process.md child_process: truncate output when maxBuffer is exceeded 2019-01-23 15:45:46 -08:00
cli.md doc: fix metadata for v11.8.0 doc changes 2019-01-25 19:09:26 -08:00
cluster.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
console.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
crypto.md doc: fix keyObject.symmetricSize to be keyObject.symmetricKeySize 2019-01-26 03:09:18 +02:00
debugger.md
deprecations.md doc: simplify process.binding() deprecation message 2019-01-24 20:14:56 -08:00
dgram.md 2018-12-07, Version 11.4.0 (Current) 2018-12-07 18:50:20 +01:00
dns.md doc: clarify what dns.setResolvers() affects 2019-01-25 10:18:03 -08:00
documentation.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
domain.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
errors.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
esm.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
events.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
fs.md doc: update behaviour of fs.writeFile 2019-01-08 00:02:02 +01:00
globals.md doc: hyperlink reference to process.nextTick 2019-01-21 11:30:45 -08:00
http2.md doc: add authority and scheme psuedo headers 2018-12-05 21:49:09 +02:00
http.md doc: add history to http.request.setTimeout() 2019-01-09 10:40:21 +02:00
https.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
index.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
inspector.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
intl.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
modules.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
n-api.md n-api: mark thread-safe function as stable 2019-01-21 22:30:11 -08:00
net.md doc: clarify timing of socket.connecting 2019-01-08 19:54:53 -08:00
os.md doc: update os.networkInterfaces() example 2019-01-11 21:35:05 +02:00
path.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
perf_hooks.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
policy.md doc: fix metadata for v11.8.0 doc changes 2019-01-25 19:09:26 -08:00
process.md doc: fix metadata for v11.8.0 doc changes 2019-01-25 19:09:26 -08:00
punycode.md
querystring.md
readline.md 2018-12-07, Version 11.4.0 (Current) 2018-12-07 18:50:20 +01:00
repl.md repl: improve doc for disabling REPL history on Windows 2019-01-26 03:12:50 +02:00
report.md doc: add metadata to report docs 2019-01-25 20:40:04 +01:00
stream.md doc: reword stream docs to clarify that decodeStrings encodes strings 2019-01-20 22:58:38 +02:00
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
timers.md doc: link nextTick docs to the nextTick guide 2019-01-25 07:52:58 -08:00
tls.md doc: remove outdated s_client information in tls.md 2019-01-25 22:36:17 -08:00
tracing.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
tty.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
url.md doc: list all versions WHATWG URL api was added 2018-12-05 15:08:38 -08:00
util.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
v8.md doc: fix, unify, formalize, and amplify vm.md 2019-01-11 22:21:44 +02:00
vm.md doc: fix section order in vm.md 2019-01-14 09:36:41 +01:00
worker_threads.md worker: enable passing command line flags 2019-01-18 05:39:58 +01:00
zlib.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00