@naturalcycles/nodejs-lib 12.85.0 → 12.85.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ const INSPECT_OPT = {
10
10
  /**
11
11
  * Just a convenience export of a const that fulfills the JsonStringifyFunction interface.
12
12
  */
13
- const inspectAnyStringifyFn = obj => inspectAny(obj);
13
+ const inspectAnyStringifyFn = obj => (0, node_util_1.inspect)(obj, INSPECT_OPT);
14
14
  exports.inspectAnyStringifyFn = inspectAnyStringifyFn;
15
15
  /**
16
16
  * Transforms ANY to human-readable string (via util.inspect mainly).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "12.85.0",
3
+ "version": "12.85.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
@@ -11,7 +11,7 @@ const INSPECT_OPT: InspectOptions = {
11
11
  /**
12
12
  * Just a convenience export of a const that fulfills the JsonStringifyFunction interface.
13
13
  */
14
- export const inspectAnyStringifyFn: JsonStringifyFunction = obj => inspectAny(obj)
14
+ export const inspectAnyStringifyFn: JsonStringifyFunction = obj => inspect(obj, INSPECT_OPT)
15
15
 
16
16
  /**
17
17
  * Transforms ANY to human-readable string (via util.inspect mainly).