0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Ruben Bridgewater 0518b9edf3
assert: multiple improvements
1) Switched + / - and red / green in diffs. It seems like that style
   is more natural to most people.

2) Short primitives do not use the diff anymore. Especially short
   numbers can be read well like 1 !== 2. Cases that can not be
   displayed like that (e.g., -0 and +0) use the regular diff output.

3) Improved error descriptions. It was not always clear what the
   messages stood for. That should now be resolved.

4) Added a position indicator for single lines in case a tty is used
   and the line is shorter than the visual columns.

5) Color detection is now done by checking stderr instead of stdout.

PR-URL: https://github.com/nodejs/node/pull/21628
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
2018-08-04 10:04:32 +02:00
..
api assert: multiple improvements 2018-08-04 10:04:32 +02:00
api_assets doc: add "Edit on GitHub" link 2018-07-13 20:37:05 -07:00
changelogs doc: fix changelog for v10.8.0 2018-08-01 14:56:25 -07:00
guides doc: add guide for updating N-API API surface 2018-07-25 23:43:38 +03:00
.eslintrc.yaml tools: lint doc code examples in strict mode 2018-07-06 08:45:34 +03:00
first_timer_badge.png
full-white-stripe.jpg
node.1 src: add --title command line argument 2018-07-10 16:16:37 -07:00
offboarding.md doc: add offboarding doc 2018-06-05 15:22:15 -07:00
onboarding-extras.md doc: move upstream information to onboarding doc 2018-06-01 14:01:10 +02:00
onboarding.md doc: do not advise to cancel full CI on onboarding 2018-07-26 18:01:31 +03:00
osx_installer_logo.png
releases.md doc: fix typo in releases.md 2018-07-27 08:30:12 +03:00
STYLE_GUIDE.md doc: wrap style guide at 80 characters 2018-06-16 07:54:32 -07:00
template.html doc: add "Edit on GitHub" link 2018-07-13 20:37:05 -07:00
thin-white-stripe.jpg