bun-types 1.1.31-canary.20241011T140549 → 1.1.31-canary.20241013T140509
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.
- package/bun.d.ts +21 -0
- package/package.json +1 -1
- package/sqlite.d.ts +9 -0
package/bun.d.ts
CHANGED
|
@@ -1664,6 +1664,11 @@ declare module "bun" {
|
|
|
1664
1664
|
* Enable CSS support.
|
|
1665
1665
|
*/
|
|
1666
1666
|
experimentalCss?: boolean;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Drop function calls to matching property accesses.
|
|
1670
|
+
*/
|
|
1671
|
+
drop?: string[];
|
|
1667
1672
|
}
|
|
1668
1673
|
|
|
1669
1674
|
namespace Password {
|
|
@@ -3136,6 +3141,7 @@ declare module "bun" {
|
|
|
3136
3141
|
colors?: boolean;
|
|
3137
3142
|
depth?: number;
|
|
3138
3143
|
sorted?: boolean;
|
|
3144
|
+
compact?: boolean;
|
|
3139
3145
|
}
|
|
3140
3146
|
|
|
3141
3147
|
/**
|
|
@@ -3151,6 +3157,21 @@ declare module "bun" {
|
|
|
3151
3157
|
* That can be used to declare custom inspect functions.
|
|
3152
3158
|
*/
|
|
3153
3159
|
const custom: typeof import("util").inspect.custom;
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* Pretty-print an object or array as a table
|
|
3163
|
+
*
|
|
3164
|
+
* Like {@link console.table}, except it returns a string
|
|
3165
|
+
*/
|
|
3166
|
+
function table(
|
|
3167
|
+
tabularData: object | unknown[],
|
|
3168
|
+
properties?: string[],
|
|
3169
|
+
options?: { colors?: boolean },
|
|
3170
|
+
): string;
|
|
3171
|
+
function table(
|
|
3172
|
+
tabularData: object | unknown[],
|
|
3173
|
+
options?: { colors?: boolean },
|
|
3174
|
+
): string;
|
|
3154
3175
|
}
|
|
3155
3176
|
|
|
3156
3177
|
interface MMapOptions {
|
package/package.json
CHANGED
package/sqlite.d.ts
CHANGED
|
@@ -599,6 +599,15 @@ declare module "bun:sqlite" {
|
|
|
599
599
|
*/
|
|
600
600
|
get(...params: ParamsType): ReturnType | null;
|
|
601
601
|
|
|
602
|
+
/**
|
|
603
|
+
* Execute the prepared statement and return an
|
|
604
|
+
*
|
|
605
|
+
* @param params optional values to bind to the statement. If omitted, the statement is run with the last bound values or no parameters if there are none.
|
|
606
|
+
*
|
|
607
|
+
*/
|
|
608
|
+
iterate(...params: ParamsType): IterableIterator<ReturnType>;
|
|
609
|
+
[Symbol.iterator](): IterableIterator<ReturnType>;
|
|
610
|
+
|
|
602
611
|
/**
|
|
603
612
|
* Execute the prepared statement. This returns `undefined`.
|
|
604
613
|
*
|