(target, alias)
| 476 | }; |
| 477 | |
| 478 | function defineColorAlias(target, alias) { |
| 479 | ObjectDefineProperty(inspect.colors, alias, { |
| 480 | __proto__: null, |
| 481 | get() { |
| 482 | return this[target]; |
| 483 | }, |
| 484 | set(value) { |
| 485 | this[target] = value; |
| 486 | }, |
| 487 | configurable: true, |
| 488 | enumerable: false, |
| 489 | }); |
| 490 | } |
| 491 | |
| 492 | defineColorAlias('gray', 'grey'); |
| 493 | defineColorAlias('gray', 'blackBright'); |
no outgoing calls
no test coverage detected
searching dependent graphs…