From e04afac11b162dd753644c6d784cf1901247282b Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Wed, 27 Nov 2024 11:10:39 -0800 Subject: [PATCH 1/2] Update index.js Signed-off-by: Erick Zhao --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index c0ed871..af8a588 100644 --- a/lib/index.js +++ b/lib/index.js @@ -13,7 +13,7 @@ const emptyOptions = {} const own = {}.hasOwnProperty /** - * Inspect a node, without color. + * Inspect a tree, with color in Node, without color in browsers. * * @param {unknown} tree * Tree to inspect. From 8ef1255fbc714eb4f3b3e1a6b00f187d7206b2c1 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Mon, 2 Dec 2024 15:22:32 -0800 Subject: [PATCH 2/2] remove mentions about defaults in main function description --- lib/index.js | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index af8a588..f7fccca 100644 --- a/lib/index.js +++ b/lib/index.js @@ -13,7 +13,7 @@ const emptyOptions = {} const own = {}.hasOwnProperty /** - * Inspect a tree, with color in Node, without color in browsers. + * Inspect a tree. * * @param {unknown} tree * Tree to inspect. diff --git a/readme.md b/readme.md index e4e9f88..2371300 100644 --- a/readme.md +++ b/readme.md @@ -98,7 +98,7 @@ There is no default export. ### `inspect(tree[, options])` -Inspect a tree, with color in Node, without color in browsers. +Inspect a tree. ###### Parameters