bun-types
Advanced tools
Comparing version 1.1.33 to 1.1.34-canary.20241025T140609
@@ -1785,3 +1785,32 @@ export {}; | ||
log(...data: any[]): void; | ||
/** Does nothing currently */ | ||
/** | ||
* Try to construct a table with the columns of the properties of `tabularData` (or use `properties`) and rows of `tabularData` and log it. Falls back to just | ||
* logging the argument if it can't be parsed as tabular. | ||
* | ||
* ```js | ||
* // These can't be parsed as tabular data | ||
* console.table(Symbol()); | ||
* // Symbol() | ||
* | ||
* console.table(undefined); | ||
* // undefined | ||
* | ||
* console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]); | ||
* // ┌────┬─────┬─────┐ | ||
* // │ │ a │ b │ | ||
* // ├────┼─────┼─────┤ | ||
* // │ 0 │ 1 │ 'Y' │ | ||
* // │ 1 │ 'Z' │ 2 │ | ||
* // └────┴─────┴─────┘ | ||
* | ||
* console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']); | ||
* // ┌────┬─────┐ | ||
* // │ │ a │ | ||
* // ├────┼─────┤ | ||
* // │ 0 │ 1 │ | ||
* // │ 1 │ 'Z' │ | ||
* // └────┴─────┘ | ||
* ``` | ||
* @param properties Alternate properties for constructing the table. | ||
*/ | ||
table(tabularData?: any, properties?: string[]): void; | ||
@@ -1788,0 +1817,0 @@ /** |
{ | ||
"version": "1.1.33", | ||
"version": "1.1.34-canary.20241025T140609", | ||
"name": "bun-types", | ||
@@ -4,0 +4,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
381366
12388
1