diff options
author | Gus Caplan <me@gus.host> | 2019-09-18 16:21:47 -0500 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-09-22 00:42:22 +0200 |
commit | 8235ffd7863305485dbbe27e7ed8bbe9f369d19d (patch) | |
tree | 06e5e1e84ebbb0733eef4fadbf4208c29fd47f0f /doc/api/util.md | |
parent | 8f06773a8cd73aef37ddc8f68d2c8202f1a8c45a (diff) | |
download | android-node-v8-8235ffd7863305485dbbe27e7ed8bbe9f369d19d.tar.gz android-node-v8-8235ffd7863305485dbbe27e7ed8bbe9f369d19d.tar.bz2 android-node-v8-8235ffd7863305485dbbe27e7ed8bbe9f369d19d.zip |
console: skip/strip %c formatting
Fixes: https://github.com/nodejs/node/issues/29605
Refs: https://console.spec.whatwg.org
PR-URL: https://github.com/nodejs/node/pull/29606
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/util.md')
-rw-r--r-- | doc/api/util.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/util.md b/doc/api/util.md index 46637941df..1c9b98c079 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -185,6 +185,9 @@ property take precedence over `--trace-deprecation` and <!-- YAML added: v0.5.3 changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/29606 + description: The `%c` specifier is ignored now. - version: v11.4.0 pr-url: https://github.com/nodejs/node/pull/23708 description: The `%d`, `%f` and `%i` specifiers now support Symbols @@ -240,6 +243,8 @@ corresponding argument. Supported specifiers are: * `%O` - `Object`. A string representation of an object with generic JavaScript object formatting. Similar to `util.inspect()` without options. This will show the full object not including non-enumerable properties and proxies. +* `%c` - `CSS`. This specifier is currently ignored, and will skip any CSS + passed in. * `%%` - single percent sign (`'%'`). This does not consume an argument. * Returns: {string} The formatted string |