diff --git a/packages/bun-types/bun.lockb b/packages/bun-types/bun.lockb index 3e84911dcf724..59edd85874e28 100755 Binary files a/packages/bun-types/bun.lockb and b/packages/bun-types/bun.lockb differ diff --git a/packages/bun-types/overrides.d.ts b/packages/bun-types/overrides.d.ts index b69394795dc71..4c4941ebdd889 100644 --- a/packages/bun-types/overrides.d.ts +++ b/packages/bun-types/overrides.d.ts @@ -62,64 +62,3 @@ declare module "tls" { function connect(options: BunConnectionOptions, secureConnectListener?: () => void): TLSSocket; } - -declare module "util" { - // https://nodejs.org/docs/latest/api/util.html#foreground-colors - type ForegroundColors = - | "black" - | "blackBright" - | "blue" - | "blueBright" - | "cyan" - | "cyanBright" - | "gray" - | "green" - | "greenBright" - | "grey" - | "magenta" - | "magentaBright" - | "red" - | "redBright" - | "white" - | "whiteBright" - | "yellow" - | "yellowBright"; - - // https://nodejs.org/docs/latest/api/util.html#background-colors - type BackgroundColors = - | "bgBlack" - | "bgBlackBright" - | "bgBlue" - | "bgBlueBright" - | "bgCyan" - | "bgCyanBright" - | "bgGray" - | "bgGreen" - | "bgGreenBright" - | "bgGrey" - | "bgMagenta" - | "bgMagentaBright" - | "bgRed" - | "bgRedBright" - | "bgWhite" - | "bgWhiteBright" - | "bgYellow" - | "bgYellowBright"; - - // https://nodejs.org/docs/latest/api/util.html#modifiers - type Modifiers = - | "blink" - | "bold" - | "dim" - | "doubleunderline" - | "framed" - | "hidden" - | "inverse" - | "italic" - | "overlined" - | "reset" - | "strikethrough" - | "underline"; - - function styleText(format: ForegroundColors | BackgroundColors | Modifiers, text: string): string; -} diff --git a/packages/bun-types/package.json b/packages/bun-types/package.json index dce9aef0d42dc..3d406b2c925a2 100644 --- a/packages/bun-types/package.json +++ b/packages/bun-types/package.json @@ -14,7 +14,7 @@ ], "homepage": "https://bun.sh", "dependencies": { - "@types/node": "~20.11.3", + "@types/node": "~20.12.8", "@types/ws": "~8.5.10" }, "devDependencies": { @@ -34,4 +34,4 @@ "bun.js", "types" ] -} \ No newline at end of file +}