(v)
| 562 | const final = (k, v) => this.log(cliTable(k, v)); |
| 563 | |
| 564 | const _inspect = (v) => { |
| 565 | const depth = v !== null && |
| 566 | typeof v === 'object' && |
| 567 | !isArray(v) && |
| 568 | ObjectKeys(v).length > 2 ? -1 : 0; |
| 569 | const opt = { |
| 570 | depth, |
| 571 | maxArrayLength: 3, |
| 572 | breakLength: Infinity, |
| 573 | ...this[kGetInspectOptions](this._stdout), |
| 574 | }; |
| 575 | return inspect(v, opt); |
| 576 | }; |
| 577 | const getIndexArray = (length) => ArrayFrom( |
| 578 | { length }, (_, i) => _inspect(i)); |
| 579 |
no test coverage detected
searching dependent graphs…