@astrojs/db 0.14.7 → 0.14.9

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.
@@ -27,7 +27,7 @@ function printHelp({
27
27
  message.push(
28
28
  linebreak(),
29
29
  ` ${bgGreen(black(` ${commandName} `))} ${green(
30
- `v${"0.14.7"}`
30
+ `v${"0.14.9"}`
31
31
  )} ${headline}`
32
32
  );
33
33
  }
@@ -162,7 +162,8 @@ async function executeSeedFile({
162
162
  fileUrl,
163
163
  viteServer
164
164
  }) {
165
- const mod = await viteServer.ssrLoadModule(fileUrl.pathname);
165
+ const pathname = decodeURIComponent(fileUrl.pathname);
166
+ const mod = await viteServer.ssrLoadModule(pathname);
166
167
  if (typeof mod.default !== "function") {
167
168
  throw new AstroDbError(EXEC_DEFAULT_EXPORT_ERROR(fileURLToPath(fileUrl)));
168
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/db",
3
- "version": "0.14.7",
3
+ "version": "0.14.9",
4
4
  "description": "Add libSQL and Astro Studio support to your Astro site",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -62,28 +62,28 @@
62
62
  "astro-integration"
63
63
  ],
64
64
  "dependencies": {
65
- "@libsql/client": "^0.14.0",
66
- "async-listen": "^3.0.1",
65
+ "@libsql/client": "^0.15.0",
66
+ "async-listen": "^3.1.0",
67
67
  "deep-diff": "^1.0.2",
68
68
  "drizzle-orm": "^0.31.2",
69
69
  "github-slugger": "^2.0.0",
70
70
  "kleur": "^4.1.5",
71
- "nanoid": "^5.0.9",
71
+ "nanoid": "^5.1.5",
72
72
  "open": "^10.1.0",
73
73
  "prompts": "^2.4.2",
74
74
  "yargs-parser": "^21.1.1",
75
- "yocto-spinner": "^0.2.0",
76
- "zod": "^3.24.1",
77
- "@astrojs/studio": "0.1.4"
75
+ "yocto-spinner": "^0.2.1",
76
+ "zod": "^3.24.2",
77
+ "@astrojs/studio": "0.1.5"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/deep-diff": "^1.0.5",
81
81
  "@types/prompts": "^2.4.9",
82
82
  "@types/yargs-parser": "^21.0.3",
83
83
  "cheerio": "1.0.0",
84
- "typescript": "^5.7.3",
85
- "vite": "^6.0.11",
86
- "astro": "5.4.0",
84
+ "typescript": "^5.8.2",
85
+ "vite": "^6.2.3",
86
+ "astro": "5.5.5",
87
87
  "astro-scripts": "0.0.14"
88
88
  },
89
89
  "scripts": {