import { bold, cyan, red } from 'kleur/colors'; export const MISSING_EXECUTE_PATH_ERROR = `${red( '▶ No file path provided.' )} Provide a path by running ${cyan('astro db execute ')}\n`; export const RENAME_TABLE_ERROR = (oldTable: string, newTable: string) => { return ( red('\u25B6 Potential table rename detected: ' + oldTable + ' -> ' + newTable) + ` You cannot add and remove tables in the same schema update batch. 1. Use "deprecated: true" to deprecate a table before renaming. 2. Use "--force-reset" to ignore this warning and reset the database (deleting all of your data). Visit https://docs.astro.build/en/guides/astro-db/#renaming-tables to learn more.` ); }; export const RENAME_COLUMN_ERROR = (oldSelector: string, newSelector: string) => { return ( red('▶ Potential column rename detected: ' + oldSelector + ', ' + newSelector) + `\n You cannot add and remove columns in the same table.` + `\n To resolve, add a 'deprecated: true' flag to '${oldSelector}' instead.` ); }; export const FILE_NOT_FOUND_ERROR = (path: string) => `${red('▶ File not found:')} ${bold(path)}\n`; export const SHELL_QUERY_MISSING_ERROR = `${red( '▶ Please provide a query to execute using the --query flag.' )}\n`; export const EXEC_ERROR = (error: string) => { return `${red(`Error while executing file:`)}\n\n${error}`; }; export const EXEC_DEFAULT_EXPORT_ERROR = (fileName: string) => { return EXEC_ERROR(`Missing default function export in ${bold(fileName)}`); }; export const INTEGRATION_TABLE_CONFLICT_ERROR = ( integrationName: string, tableName: string, isUserConflict: boolean ) => { return red('▶ Conflicting table name in integration ' + bold(integrationName)) + isUserConflict ? `\n A user-defined table named ${bold(tableName)} already exists` : `\n Another integration already added a table named ${bold(tableName)}`; }; '>ciro/spawn-abort-signal-rebased Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/builtins/cpp/ReadableByteStreamControllerBuiltins.cpp (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-08-19Make React SSR up to 3x fasterGravatar Jarred Sumner 1-238/+247
2022-08-192x faster `Bun.serve` with async function handlersGravatar Jarred Sumner 1-4/+13
2022-08-19Update bun init testbun-v0.1.10Gravatar Jarred Sumner 1-2/+2
2022-08-18Synchronously dispatch `close` eventGravatar Jarred Sumner 1-0/+5
2022-08-18Fix memory leak in `WebSocket`Gravatar Jarred Sumner 1-13/+4
2022-08-18Make `Request`, `Response` and `TextDecoder` not read-onlyGravatar Jarred Sumner 7-120/+180
2022-08-18Update build-idGravatar Jarred Sumner 1-1/+1
2022-08-18un-delete some codeGravatar Jarred Sumner 2-8/+15
2022-08-18Add string support to `Buffer.fill`Gravatar Jarred Sumner 7-77/+119
2022-08-18[node compat] Fix issue with `Buffer.compare` when called on the constructorGravatar Jarred Sumner 1-31/+42
2022-08-18Fix console.log printing `[native code]` for too many thingsGravatar Jarred Sumner 1-1/+6
2022-08-18Faster TextDecoderGravatar Jarred Sumner 24-369/+399
2022-08-18Fix Next.js regressionGravatar Jarred Sumner 1-12/+45
2022-08-18Fix `bun:wrap` not loadingGravatar Jarred Sumner 3-21/+41