@astrojs/db 0.6.3 → 0.6.5

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.
@@ -82,7 +82,7 @@ async function importBundledFile({
82
82
  try {
83
83
  return await import(
84
84
  /* @vite-ignore */
85
- tmpFileUrl.pathname
85
+ tmpFileUrl.toString()
86
86
  );
87
87
  } finally {
88
88
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/db",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -51,6 +51,7 @@
51
51
  },
52
52
  "files": [
53
53
  "index.d.ts",
54
+ "virtual.d.ts",
54
55
  "dist"
55
56
  ],
56
57
  "keywords": [
@@ -83,8 +84,8 @@
83
84
  "mocha": "^10.2.0",
84
85
  "typescript": "^5.2.2",
85
86
  "vite": "^5.1.4",
86
- "astro": "4.4.12",
87
- "astro-scripts": "0.0.14"
87
+ "astro-scripts": "0.0.14",
88
+ "astro": "4.4.13"
88
89
  },
89
90
  "scripts": {
90
91
  "build": "astro-scripts build \"src/**/*.ts\" && tsc",
package/virtual.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ declare module 'astro:db' {
2
+ export const sql: typeof import('./dist/runtime/config.js').sql;
3
+ export const NOW: typeof import('./dist/runtime/config.js').NOW;
4
+ export const TRUE: typeof import('./dist/runtime/config.js').TRUE;
5
+ export const FALSE: typeof import('./dist/runtime/config.js').FALSE;
6
+ export const column: typeof import('./dist/runtime/config.js').column;
7
+ export const defineDB: typeof import('./dist/runtime/config.js').defineDB;
8
+ export const defineTable: typeof import('./dist/runtime/config.js').defineTable;
9
+ }