@komaci/cli 242.3.0 → 244.0.0

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.
Files changed (2) hide show
  1. package/build/lib/log.js +5 -2
  2. package/package.json +2 -2
package/build/lib/log.js CHANGED
@@ -8,8 +8,11 @@ const { red, yellow, blue } = chalk;
8
8
  * @returns Seralized version of the object,
9
9
  */
10
10
  export function serialize(obj, pretty = true) {
11
- const options = pretty ? { depth: 5, colors: true } : { depth: Infinity };
12
- return inspect(obj, options);
11
+ if (pretty) {
12
+ const options = { depth: 5, colors: true };
13
+ return inspect(obj, options);
14
+ }
15
+ return JSON.stringify(obj, null, 2);
13
16
  }
14
17
  export default {
15
18
  log,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/cli",
3
- "version": "242.3.0",
3
+ "version": "244.0.0",
4
4
  "description": "CLI utility that enables developers to use komaci from the command line.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "url": "https://github.com/AndrewHuffman/komaci/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@komaci/esm-generator": "242.3.0",
27
+ "@komaci/esm-generator": "244.0.0",
28
28
  "@lwc/metadata": "^2.28.0-0",
29
29
  "@lwc/sfdc-compiler-utils": "2.22.0-0",
30
30
  "chalk": "^5.0.1",