@astrojs/db 0.18.2 → 0.18.3

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.
@@ -1,5 +1,5 @@
1
1
  import { existsSync } from "node:fs";
2
- import colors from "picocolors";
2
+ import colors from "piccolore";
3
3
  import { isDbError } from "../../../../runtime/utils.js";
4
4
  import {
5
5
  EXEC_DEFAULT_EXPORT_ERROR,
@@ -3,7 +3,7 @@ import deepDiff from "deep-diff";
3
3
  import { sql } from "drizzle-orm";
4
4
  import { SQLiteAsyncDialect } from "drizzle-orm/sqlite-core";
5
5
  import { customAlphabet } from "nanoid";
6
- import color from "picocolors";
6
+ import color from "piccolore";
7
7
  import { isSerializedSQL } from "../../runtime/types.js";
8
8
  import { hasPrimaryKey, isDbError } from "../../runtime/utils.js";
9
9
  import { MIGRATION_VERSION } from "../consts.js";
@@ -1,4 +1,4 @@
1
- import colors from "picocolors";
1
+ import colors from "piccolore";
2
2
  function printHelp({
3
3
  commandName,
4
4
  headline,
@@ -27,7 +27,7 @@ function printHelp({
27
27
  message.push(
28
28
  linebreak(),
29
29
  ` ${colors.bgGreen(colors.black(` ${commandName} `))} ${colors.green(
30
- `v${"0.18.2"}`
30
+ `v${"0.18.3"}`
31
31
  )} ${headline}`
32
32
  );
33
33
  }
@@ -1,4 +1,4 @@
1
- import colors from "picocolors";
1
+ import colors from "piccolore";
2
2
  const MISSING_EXECUTE_PATH_ERROR = `${colors.red(
3
3
  "\u25B6 No file path provided."
4
4
  )} Provide a path by running ${colors.cyan("astro db execute <path>")}
@@ -2,7 +2,7 @@ import { existsSync } from "node:fs";
2
2
  import { mkdir, writeFile } from "node:fs/promises";
3
3
  import { dirname } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import colors from "picocolors";
5
+ import colors from "piccolore";
6
6
  import {
7
7
  createServer,
8
8
  loadEnv,
@@ -1,5 +1,5 @@
1
1
  import { SQLiteAsyncDialect } from "drizzle-orm/sqlite-core";
2
- import colors from "picocolors";
2
+ import colors from "piccolore";
3
3
  import {
4
4
  FOREIGN_KEY_DNE_ERROR,
5
5
  FOREIGN_KEY_REFERENCES_EMPTY_ERROR,
@@ -1,4 +1,4 @@
1
- import colors from "picocolors";
1
+ import colors from "piccolore";
2
2
  const FOREIGN_KEY_DNE_ERROR = (tableName) => {
3
3
  return `Table ${colors.bold(
4
4
  tableName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/db",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "Add libSQL support to your Astro site",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -67,7 +67,7 @@
67
67
  "deep-diff": "^1.0.2",
68
68
  "drizzle-orm": "^0.42.0",
69
69
  "nanoid": "^5.1.6",
70
- "picocolors": "^1.1.1",
70
+ "piccolore": "^0.1.3",
71
71
  "prompts": "^2.4.2",
72
72
  "yargs-parser": "^21.1.1",
73
73
  "zod": "^3.25.76"
@@ -80,7 +80,7 @@
80
80
  "expect-type": "^1.2.2",
81
81
  "typescript": "^5.9.3",
82
82
  "vite": "^6.4.1",
83
- "astro": "5.15.2",
83
+ "astro": "5.16.0",
84
84
  "astro-scripts": "0.0.14"
85
85
  },
86
86
  "scripts": {