(x5)
| 69471 | function propsForError(value) { |
| 69472 | const props = Object.getOwnPropertyNames(value); |
| 69473 | return `[${props.map((p4) => `"${p4}"`).join(", ")}]`; |
| 69474 | } |
| 69475 | function getName(value) { |
| 69476 | return getStringFromMaybeBuffer(value.name) || getStringFromMaybeBuffer(value.filename) || // For fs.ReadStream |
| 69477 | getStringFromMaybeBuffer(value.path)?.split(/[\\/]/).pop(); |
| 69478 | } |
| 69479 | var getStringFromMaybeBuffer = (x5) => { |
| 69480 | if (typeof x5 === "string") |
| 69481 | return x5; |
| 69482 | if (typeof Buffer !== "undefined" && x5 instanceof Buffer) |
no outgoing calls
no test coverage detected
searching dependent graphs…