@mailwoman/sqlite 11.2.0 → 11.3.0

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @mailwoman/sqlite
2
2
 
3
- This package provides typed Kysely connections backed by Node.js SQLite and helpers for building and opening read-only database artifacts.
3
+ This package provides typed Kysely connections backed by Node.js SQLite. It also provides helpers for building and opening read-only database artifacts.
4
4
 
5
5
  Public library. Install with `npm install @mailwoman/sqlite`.
6
6
 
@@ -0,0 +1,87 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+
4
+ /**
5
+ * Shared setup for each layer's `scripts/ingest-chunk.ts`.
6
+ *
7
+ * Each chunk runs in a new process because JavaScript cannot reset h3's WebAssembly heap.
8
+ * This helper parses shared flags, opens the database created by the parent,
9
+ * runs the chunk and prints its result as one JSON line.
10
+ *
11
+ * Standard output contains only the result.
12
+ * Progress goes to standard error.
13
+ */
14
+
15
+ import { parseArguments, requiredArgument, type ParseArgsConfig } from "@mailwoman/core/scripting/arguments"
16
+ import { stringifyJSON } from "@mailwoman/core/values/json"
17
+
18
+ import { DatabaseClient } from "#client"
19
+
20
+ /**
21
+ * Flags shared by all ingest-chunk scripts.
22
+ *
23
+ * Each script includes these in its options so this helper can read them
24
+ * alongside the script's typed values.
25
+ */
26
+ export const INGEST_CHUNK_FLAGS = {
27
+ database: { type: "string" },
28
+ "index-resolution": { type: "string" },
29
+ "coverage-resolution": { type: "string" },
30
+ } as const satisfies ParseArgsConfig["options"]
31
+
32
+ /**
33
+ * Shared settings passed to a chunk.
34
+ */
35
+ export interface IngestChunkScriptContext {
36
+ indexResolution: number
37
+ coverageResolution: number
38
+ /**
39
+ * Writes progress to stderr with the shared chunk prefix.
40
+ */
41
+ onProgress: (message: string) => void
42
+ }
43
+
44
+ /**
45
+ * Parse flags and open the parent's database.
46
+ * Then run one chunk and print its JSON result.
47
+ */
48
+ export async function runIngestChunkScript<
49
+ DB,
50
+ const Options extends NonNullable<ParseArgsConfig["options"]> & typeof INGEST_CHUNK_FLAGS,
51
+ >(config: {
52
+ /**
53
+ * Script name used in error messages, e.g. `flood ingest-chunk`.
54
+ */
55
+ context: string
56
+ /**
57
+ * All script flags, including {@link INGEST_CHUNK_FLAGS}.
58
+ */
59
+ options: Options
60
+ run: (
61
+ database: DatabaseClient<DB>,
62
+ values: ReturnType<typeof parseArguments<{ options: Options }>>["values"],
63
+ chunk: IngestChunkScriptContext
64
+ ) => Promise<unknown>
65
+ }): Promise<void> {
66
+ const { values } = parseArguments({ options: config.options })
67
+
68
+ // Parse shared flags separately because the generic values above are not concrete inside this function.
69
+ // Narrow the lenient parse's values to strings.
70
+ const { values: shared } = parseArguments({ options: INGEST_CHUNK_FLAGS, strict: false })
71
+
72
+ const sharedFlag = (name: keyof typeof INGEST_CHUNK_FLAGS): string =>
73
+ requiredArgument(config.context, name, typeof shared[name] === "string" ? shared[name] : null)
74
+
75
+ using database = new DatabaseClient<DB>(sharedFlag("database"))
76
+
77
+ database.exec("PRAGMA journal_mode = OFF")
78
+ database.exec("PRAGMA synchronous = OFF")
79
+
80
+ const result = await config.run(database, values, {
81
+ indexResolution: Number(sharedFlag("index-resolution")),
82
+ coverageResolution: Number(sharedFlag("coverage-resolution")),
83
+ onProgress: (message) => console.error(` [chunk] ${message}`),
84
+ })
85
+
86
+ console.log(stringifyJSON(result))
87
+ }
@@ -4,10 +4,11 @@
4
4
  /**
5
5
  * @file Questions asked of `sqlite_master`.
6
6
  *
7
- * its own subpath on purpose — do not fold this into the package barrel. `@mailwoman/sqlite`'s root export
8
- * reaches `node:sqlite`, and the docs demo bundles this package for the browser. importing the barrel to
9
- * ask whether a table exists dragged the builtin into that graph. The split is what keeps these three
10
- * pure-SQL questions reachable from a bundled consumer.
7
+ * This module has its own subpath on purpose. Do not fold it into the package barrel. The
8
+ * `@mailwoman/sqlite` root export reaches `node:sqlite`, and the docs demo bundles this package for
9
+ * the browser. A consumer that imports the barrel to ask whether a table exists would pull the
10
+ * builtin into that graph. The separate subpath keeps these three pure-SQL questions reachable from
11
+ * a bundled consumer.
11
12
  */
12
13
 
13
14
  import type { DatabaseClient } from "#client"
package/lib/lookup.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  /**
5
5
  * The shared shape of a reader over one SQLite artifact.
6
6
  *
7
- * A lookup either opens the file it is given or adopts a connection already held
8
- * by the caller. and it closes on disposal only what it opened.
7
+ * A lookup either opens the file it is given or adopts a connection already held by the caller.
8
+ * It closes on disposal only the connection it opened.
9
9
  */
10
10
 
11
11
  import type { PathBuilderLike } from "path-ts"
package/lib/sealed.ts CHANGED
@@ -27,9 +27,10 @@ import { assertUnsealedForWrite } from "#sealed/db"
27
27
  * Builders set `write: true` when working on UNsealed staging.
28
28
  * A sealed file raises `SealedArtifactError`.
29
29
  *
30
- * Together with `new DatabaseClient(path)` this is the whole set of ways a connection comes into being.
30
+ * Together with `new DatabaseClient(path)`, this function is one of the two
31
+ * ways a connection comes into being.
31
32
  * `DatabaseSync` is constructed in exactly one place, inside `DatabaseClient`,
32
- * so no caller holds a raw handle and no database ends up described by two schemas.
33
+ * so callers never hold a raw handle and no database is described by two schemas.
33
34
  */
34
35
  export async function openBuiltClient<DB = Database>(
35
36
  path: PathBuilderLike,
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Shared setup for each layer's `scripts/ingest-chunk.ts`.
3
+ *
4
+ * Each chunk runs in a new process because JavaScript cannot reset h3's WebAssembly heap.
5
+ * This helper parses shared flags, opens the database created by the parent,
6
+ * runs the chunk and prints its result as one JSON line.
7
+ *
8
+ * Standard output contains only the result.
9
+ * Progress goes to standard error.
10
+ */
11
+ import { parseArguments, type ParseArgsConfig } from "@mailwoman/core/scripting/arguments";
12
+ import { DatabaseClient } from "#client";
13
+ /**
14
+ * Flags shared by all ingest-chunk scripts.
15
+ *
16
+ * Each script includes these in its options so this helper can read them
17
+ * alongside the script's typed values.
18
+ */
19
+ export declare const INGEST_CHUNK_FLAGS: {
20
+ readonly database: {
21
+ readonly type: "string";
22
+ };
23
+ readonly "index-resolution": {
24
+ readonly type: "string";
25
+ };
26
+ readonly "coverage-resolution": {
27
+ readonly type: "string";
28
+ };
29
+ };
30
+ /**
31
+ * Shared settings passed to a chunk.
32
+ */
33
+ export interface IngestChunkScriptContext {
34
+ indexResolution: number;
35
+ coverageResolution: number;
36
+ /**
37
+ * Writes progress to stderr with the shared chunk prefix.
38
+ */
39
+ onProgress: (message: string) => void;
40
+ }
41
+ /**
42
+ * Parse flags and open the parent's database.
43
+ * Then run one chunk and print its JSON result.
44
+ */
45
+ export declare function runIngestChunkScript<DB, const Options extends NonNullable<ParseArgsConfig["options"]> & typeof INGEST_CHUNK_FLAGS>(config: {
46
+ /**
47
+ * Script name used in error messages, e.g. `flood ingest-chunk`.
48
+ */
49
+ context: string;
50
+ /**
51
+ * All script flags, including {@link INGEST_CHUNK_FLAGS}.
52
+ */
53
+ options: Options;
54
+ run: (database: DatabaseClient<DB>, values: ReturnType<typeof parseArguments<{
55
+ options: Options;
56
+ }>>["values"], chunk: IngestChunkScriptContext) => Promise<unknown>;
57
+ }): Promise<void>;
58
+ //# sourceMappingURL=ingest-chunk-script.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingest-chunk-script.d.ts","sourceRoot":"","sources":["../lib/ingest-chunk-script.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AAEH,OAAO,EAAE,cAAc,EAAoB,KAAK,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAG5G,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;iBAClB,IAAI,EAAE,QAAQ;;;iBACJ,IAAI,EAAE,QAAQ;;;iBACX,IAAI,EAAE,QAAQ;;CACO,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACxC,eAAe,EAAE,MAAM,CAAA;IACvB,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CACzC,EAAE,EACF,KAAK,CAAC,OAAO,SAAS,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,GAAG,OAAO,kBAAkB,EACxF,MAAM,EAAE;IACT;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB,GAAG,EAAE,CACJ,QAAQ,EAAE,cAAc,CAAC,EAAE,CAAC,EAC5B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EACzE,KAAK,EAAE,wBAAwB,KAC3B,OAAO,CAAC,OAAO,CAAC,CAAA;CACrB,GAAG,OAAO,CAAC,IAAI,CAAC,CAsBhB"}
@@ -0,0 +1,47 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+ /**
4
+ * Shared setup for each layer's `scripts/ingest-chunk.ts`.
5
+ *
6
+ * Each chunk runs in a new process because JavaScript cannot reset h3's WebAssembly heap.
7
+ * This helper parses shared flags, opens the database created by the parent,
8
+ * runs the chunk and prints its result as one JSON line.
9
+ *
10
+ * Standard output contains only the result.
11
+ * Progress goes to standard error.
12
+ */
13
+ import { parseArguments, requiredArgument } from "@mailwoman/core/scripting/arguments";
14
+ import { stringifyJSON } from "@mailwoman/core/values/json";
15
+ import { DatabaseClient } from "#client";
16
+ /**
17
+ * Flags shared by all ingest-chunk scripts.
18
+ *
19
+ * Each script includes these in its options so this helper can read them
20
+ * alongside the script's typed values.
21
+ */
22
+ export const INGEST_CHUNK_FLAGS = {
23
+ database: { type: "string" },
24
+ "index-resolution": { type: "string" },
25
+ "coverage-resolution": { type: "string" },
26
+ };
27
+ /**
28
+ * Parse flags and open the parent's database.
29
+ * Then run one chunk and print its JSON result.
30
+ */
31
+ export async function runIngestChunkScript(config) {
32
+ const { values } = parseArguments({ options: config.options });
33
+ // Parse shared flags separately because the generic values above are not concrete inside this function.
34
+ // Narrow the lenient parse's values to strings.
35
+ const { values: shared } = parseArguments({ options: INGEST_CHUNK_FLAGS, strict: false });
36
+ const sharedFlag = (name) => requiredArgument(config.context, name, typeof shared[name] === "string" ? shared[name] : null);
37
+ using database = new DatabaseClient(sharedFlag("database"));
38
+ database.exec("PRAGMA journal_mode = OFF");
39
+ database.exec("PRAGMA synchronous = OFF");
40
+ const result = await config.run(database, values, {
41
+ indexResolution: Number(sharedFlag("index-resolution")),
42
+ coverageResolution: Number(sharedFlag("coverage-resolution")),
43
+ onProgress: (message) => console.error(` [chunk] ${message}`),
44
+ });
45
+ console.log(stringifyJSON(result));
46
+ }
47
+ //# sourceMappingURL=ingest-chunk-script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ingest-chunk-script.js","sourceRoot":"","sources":["../lib/ingest-chunk-script.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAElE;;;;;;;;;GASG;AAEH,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAwB,MAAM,qCAAqC,CAAA;AAC5G,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAE3D,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;IAC5B,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;IACtC,qBAAqB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACK,CAAA;AAc/C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAGxC,MAcD;IACA,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAA;IAE9D,wGAAwG;IACxG,gDAAgD;IAChD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,cAAc,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAA;IAEzF,MAAM,UAAU,GAAG,CAAC,IAAqC,EAAU,EAAE,CACpE,gBAAgB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAE/F,MAAM,QAAQ,GAAG,IAAI,cAAc,CAAK,UAAU,CAAC,UAAU,CAAC,CAAC,CAAA;IAE/D,QAAQ,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAA;IAC1C,QAAQ,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAA;IAEzC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE;QACjD,eAAe,EAAE,MAAM,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;QACvD,kBAAkB,EAAE,MAAM,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;QAC7D,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,OAAO,EAAE,CAAC;KAC9D,CAAC,CAAA;IAEF,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAA;AACnC,CAAC"}
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * @file Questions asked of `sqlite_master`.
3
3
  *
4
- * its own subpath on purpose — do not fold this into the package barrel. `@mailwoman/sqlite`'s root export
5
- * reaches `node:sqlite`, and the docs demo bundles this package for the browser. importing the barrel to
6
- * ask whether a table exists dragged the builtin into that graph. The split is what keeps these three
7
- * pure-SQL questions reachable from a bundled consumer.
4
+ * This module has its own subpath on purpose. Do not fold it into the package barrel. The
5
+ * `@mailwoman/sqlite` root export reaches `node:sqlite`, and the docs demo bundles this package for
6
+ * the browser. A consumer that imports the barrel to ask whether a table exists would pull the
7
+ * builtin into that graph. The separate subpath keeps these three pure-SQL questions reachable from
8
+ * a bundled consumer.
8
9
  */
9
10
  import type { DatabaseClient } from "#client";
10
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"introspection.d.ts","sourceRoot":"","sources":["../lib/introspection.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAI3E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAM/D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAI5F"}
1
+ {"version":3,"file":"introspection.d.ts","sourceRoot":"","sources":["../lib/introspection.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAI3E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAM/D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAI5F"}
@@ -1 +1 @@
1
- {"version":3,"file":"introspection.js","sourceRoot":"","sources":["../lib/introspection.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAalE;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAK,EAAsB,EAAE,IAAY;IACnE,OAAO,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,+DAA+D,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;AACtG,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAK,EAAsB,EAAE,KAAa;IAClE,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,6BAA6B,KAAK,EAAE,CAAC,CAAC,GAAG,EAAgC,CAAA;IAEhG,OAAO,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW,CAAK,EAAsB,EAAE,IAAY;IACnE,OAAO,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,+DAA+D,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;AACtG,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAK,EAAsB;IACpD,MAAM,IAAI,GAAG,EAAE,CAAC,OAAO,CAAC,mEAAmE,CAAC,CAAC,GAAG,EAE9F,CAAA;IAEF,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;AACnC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAK,EAAsB,EAAE,KAAa,EAAE,MAAc;IAClF,MAAM,IAAI,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,KAAK,GAAG,CAAC,CAAC,GAAG,EAA6B,CAAA;IAEvF,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;AAC/C,CAAC"}
1
+ {"version":3,"file":"introspection.js","sourceRoot":"","sources":["../lib/introspection.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAclE;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAK,EAAsB,EAAE,IAAY;IACnE,OAAO,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,+DAA+D,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;AACtG,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAK,EAAsB,EAAE,KAAa;IAClE,MAAM,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,6BAA6B,KAAK,EAAE,CAAC,CAAC,GAAG,EAAgC,CAAA;IAEhG,OAAO,MAAM,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW,CAAK,EAAsB,EAAE,IAAY;IACnE,OAAO,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,+DAA+D,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;AACtG,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAK,EAAsB;IACpD,MAAM,IAAI,GAAG,EAAE,CAAC,OAAO,CAAC,mEAAmE,CAAC,CAAC,GAAG,EAE9F,CAAA;IAEF,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;AACnC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAK,EAAsB,EAAE,KAAa,EAAE,MAAc;IAClF,MAAM,IAAI,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,KAAK,GAAG,CAAC,CAAC,GAAG,EAA6B,CAAA;IAEvF,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,MAAM,CAAC,CAAA;AAC/C,CAAC"}
package/out/lookup.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * The shared shape of a reader over one SQLite artifact.
3
3
  *
4
- * A lookup either opens the file it is given or adopts a connection already held
5
- * by the caller. and it closes on disposal only what it opened.
4
+ * A lookup either opens the file it is given or adopts a connection already held by the caller.
5
+ * It closes on disposal only the connection it opened.
6
6
  */
7
7
  import type { PathBuilderLike } from "path-ts";
8
8
  import { DatabaseClient, type DatabaseSyncOptions } from "#client";
package/out/sealed.d.ts CHANGED
@@ -20,9 +20,10 @@ import type { Database } from "#database-schema";
20
20
  * Builders set `write: true` when working on UNsealed staging.
21
21
  * A sealed file raises `SealedArtifactError`.
22
22
  *
23
- * Together with `new DatabaseClient(path)` this is the whole set of ways a connection comes into being.
23
+ * Together with `new DatabaseClient(path)`, this function is one of the two
24
+ * ways a connection comes into being.
24
25
  * `DatabaseSync` is constructed in exactly one place, inside `DatabaseClient`,
25
- * so no caller holds a raw handle and no database ends up described by two schemas.
26
+ * so callers never hold a raw handle and no database is described by two schemas.
26
27
  */
27
28
  export declare function openBuiltClient<DB = Database>(path: PathBuilderLike, opts?: {
28
29
  write?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"sealed.d.ts","sourceRoot":"","sources":["../lib/sealed.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGhD;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CAAC,EAAE,GAAG,QAAQ,EAClD,IAAI,EAAE,eAAe,EACrB,IAAI,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAC5B,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAQ7B"}
1
+ {"version":3,"file":"sealed.d.ts","sourceRoot":"","sources":["../lib/sealed.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGhD;;;;;;;;;;;GAWG;AACH,wBAAsB,eAAe,CAAC,EAAE,GAAG,QAAQ,EAClD,IAAI,EAAE,eAAe,EACrB,IAAI,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAC5B,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAQ7B"}
package/out/sealed.js CHANGED
@@ -9,9 +9,10 @@ import { assertUnsealedForWrite } from "#sealed/db";
9
9
  * Builders set `write: true` when working on UNsealed staging.
10
10
  * A sealed file raises `SealedArtifactError`.
11
11
  *
12
- * Together with `new DatabaseClient(path)` this is the whole set of ways a connection comes into being.
12
+ * Together with `new DatabaseClient(path)`, this function is one of the two
13
+ * ways a connection comes into being.
13
14
  * `DatabaseSync` is constructed in exactly one place, inside `DatabaseClient`,
14
- * so no caller holds a raw handle and no database ends up described by two schemas.
15
+ * so callers never hold a raw handle and no database is described by two schemas.
15
16
  */
16
17
  export async function openBuiltClient(path, opts = {}) {
17
18
  if (opts.write) {
package/out/sealed.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sealed.js","sourceRoot":"","sources":["../lib/sealed.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAiBlE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACpC,IAAqB,EACrB,IAAI,GAAwB,EAAE;IAE9B,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QAChB,MAAM,sBAAsB,CAAC,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,cAAc,CAAK,IAAI,CAAC,CAAA;IACpC,CAAC;IAED,OAAO,IAAI,cAAc,CAAK,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;AACxD,CAAC"}
1
+ {"version":3,"file":"sealed.js","sourceRoot":"","sources":["../lib/sealed.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAiBlE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAEnD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CACpC,IAAqB,EACrB,IAAI,GAAwB,EAAE;IAE9B,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QAChB,MAAM,sBAAsB,CAAC,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,cAAc,CAAK,IAAI,CAAC,CAAA;IACpC,CAAC;IAED,OAAO,IAAI,cAAc,CAAK,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;AACxD,CAAC"}
@@ -1 +1 @@
1
- {"version":"7.0.2","root":["../lib/client.test.ts","../lib/introspection.test.ts","../lib/lookup.test.ts","../lib/schema-columns.test.ts","../lib/sealed/build.test.ts","../lib/sealed/digest.test.ts","../lib/sealed/sealed-db.test.ts"],"packageJsons":["../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/buffer/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/esbuild/package.json","../../../node_modules/events/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/kysely/package.json","../../../node_modules/path-ts/package.json","../../../node_modules/pino-std-serializers/package.json","../../../node_modules/pino/package.json","../../../node_modules/punycode/package.json","../../../node_modules/read-excel-file/package.json","../../../node_modules/sonic-boom/package.json","../../../node_modules/spliterator/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/tagged-tag/package.json","../../../node_modules/terser/package.json","../../../node_modules/thread-stream/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/type-fest/package.json","../../../node_modules/undici-types/package.json","../../../node_modules/vite/package.json","../../../node_modules/vitest/package.json","../../../node_modules/write-excel-file/package.json","../../../node_modules/yaml/package.json","../../core/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@mailwoman/core/fs/readers/package.json","../../../node_modules/@mailwoman/core/fs/readers/stat/package.json","../../../node_modules/@mailwoman/core/fs/temporary/package.json","../../../node_modules/@mailwoman/core/fs/writers/package.json","../../../node_modules/@mailwoman/core/process/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/node/assert/package.json","../../../node_modules/@types/node/dns/package.json","../../../node_modules/@types/node/fs/package.json","../../../node_modules/@types/node/inspector/package.json","../../../node_modules/@types/node/path/package.json","../../../node_modules/@types/node/readline/package.json","../../../node_modules/@types/node/stream/package.json","../../../node_modules/@types/node/test/package.json","../../../node_modules/@types/node/timers/package.json","../../../node_modules/@types/node/util/package.json","../../../node_modules/@types/node/web-globals/package.json","../../../node_modules/@types/node/zlib/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/iter/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/@vitejs/devtools/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/kysely/dist/dialect/mssql/package.json","../../../node_modules/kysely/dist/dialect/mysql/package.json","../../../node_modules/kysely/dist/dialect/package.json","../../../node_modules/kysely/dist/dialect/pglite/package.json","../../../node_modules/kysely/dist/dialect/postgres/package.json","../../../node_modules/kysely/dist/dialect/sqlite/package.json","../../../node_modules/kysely/dist/driver/package.json","../../../node_modules/kysely/dist/dynamic/package.json","../../../node_modules/kysely/dist/expression/package.json","../../../node_modules/kysely/dist/operation-node/package.json","../../../node_modules/kysely/dist/package.json","../../../node_modules/kysely/dist/parser/package.json","../../../node_modules/kysely/dist/plugin/camel-case/package.json","../../../node_modules/kysely/dist/plugin/deduplicate-joins/package.json","../../../node_modules/kysely/dist/plugin/handle-empty-in-lists/package.json","../../../node_modules/kysely/dist/plugin/package.json","../../../node_modules/kysely/dist/plugin/parse-json-results/package.json","../../../node_modules/kysely/dist/plugin/safe-null-comparison/package.json","../../../node_modules/kysely/dist/plugin/with-schema/package.json","../../../node_modules/kysely/dist/query-builder/package.json","../../../node_modules/kysely/dist/query-compiler/package.json","../../../node_modules/kysely/dist/query-executor/package.json","../../../node_modules/kysely/dist/raw-builder/package.json","../../../node_modules/kysely/dist/schema/package.json","../../../node_modules/kysely/dist/util/package.json","../../../node_modules/less/package.json","../../../node_modules/module/package.json","../../../node_modules/msw/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path-ts/out/lib/package.json","../../../node_modules/path-ts/out/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/sonic-boom/types/package.json","../../../node_modules/spliterator/node/fs/package.json","../../../node_modules/spliterator/out/lib/core/package.json","../../../node_modules/spliterator/out/lib/formats/package.json","../../../node_modules/spliterator/out/lib/internal/package.json","../../../node_modules/spliterator/out/lib/io/package.json","../../../node_modules/spliterator/out/lib/iterators/package.json","../../../node_modules/spliterator/out/lib/package.json","../../../node_modules/spliterator/out/lib/parallel/package.json","../../../node_modules/spliterator/out/node/fs/package.json","../../../node_modules/spliterator/out/node/package.json","../../../node_modules/spliterator/out/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/iter/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tsx/package.json","../../../node_modules/tty/package.json","../../../node_modules/type-fest/source/internal/package.json","../../../node_modules/type-fest/source/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"]}
1
+ {"version":"7.0.2","root":["../lib/client.test.ts","../lib/introspection.test.ts","../lib/lookup.test.ts","../lib/schema-columns.test.ts","../lib/sealed/build.test.ts","../lib/sealed/digest.test.ts","../lib/sealed/sealed-db.test.ts"],"packageJsons":["../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/buffer/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/esbuild/package.json","../../../node_modules/events/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/kysely/package.json","../../../node_modules/path-ts/package.json","../../../node_modules/pino-std-serializers/package.json","../../../node_modules/pino/package.json","../../../node_modules/punycode/package.json","../../../node_modules/read-excel-file/package.json","../../../node_modules/sonic-boom/package.json","../../../node_modules/spliterator/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/tagged-tag/package.json","../../../node_modules/terser/package.json","../../../node_modules/thread-stream/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/type-fest/package.json","../../../node_modules/undici-types/package.json","../../../node_modules/vite/package.json","../../../node_modules/vitest/package.json","../../../node_modules/write-excel-file/package.json","../../../node_modules/yaml/package.json","../../core/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@mailwoman/core/fs/readers/package.json","../../../node_modules/@mailwoman/core/fs/readers/stat/package.json","../../../node_modules/@mailwoman/core/fs/temporary/package.json","../../../node_modules/@mailwoman/core/fs/writers/package.json","../../../node_modules/@mailwoman/core/scripting/process/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/node/assert/package.json","../../../node_modules/@types/node/dns/package.json","../../../node_modules/@types/node/fs/package.json","../../../node_modules/@types/node/inspector/package.json","../../../node_modules/@types/node/path/package.json","../../../node_modules/@types/node/readline/package.json","../../../node_modules/@types/node/stream/package.json","../../../node_modules/@types/node/test/package.json","../../../node_modules/@types/node/timers/package.json","../../../node_modules/@types/node/util/package.json","../../../node_modules/@types/node/web-globals/package.json","../../../node_modules/@types/node/zlib/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/iter/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/@vitejs/devtools/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/kysely/dist/dialect/mssql/package.json","../../../node_modules/kysely/dist/dialect/mysql/package.json","../../../node_modules/kysely/dist/dialect/package.json","../../../node_modules/kysely/dist/dialect/pglite/package.json","../../../node_modules/kysely/dist/dialect/postgres/package.json","../../../node_modules/kysely/dist/dialect/sqlite/package.json","../../../node_modules/kysely/dist/driver/package.json","../../../node_modules/kysely/dist/dynamic/package.json","../../../node_modules/kysely/dist/expression/package.json","../../../node_modules/kysely/dist/operation-node/package.json","../../../node_modules/kysely/dist/package.json","../../../node_modules/kysely/dist/parser/package.json","../../../node_modules/kysely/dist/plugin/camel-case/package.json","../../../node_modules/kysely/dist/plugin/deduplicate-joins/package.json","../../../node_modules/kysely/dist/plugin/handle-empty-in-lists/package.json","../../../node_modules/kysely/dist/plugin/package.json","../../../node_modules/kysely/dist/plugin/parse-json-results/package.json","../../../node_modules/kysely/dist/plugin/safe-null-comparison/package.json","../../../node_modules/kysely/dist/plugin/with-schema/package.json","../../../node_modules/kysely/dist/query-builder/package.json","../../../node_modules/kysely/dist/query-compiler/package.json","../../../node_modules/kysely/dist/query-executor/package.json","../../../node_modules/kysely/dist/raw-builder/package.json","../../../node_modules/kysely/dist/schema/package.json","../../../node_modules/kysely/dist/util/package.json","../../../node_modules/less/package.json","../../../node_modules/module/package.json","../../../node_modules/msw/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path-ts/out/lib/package.json","../../../node_modules/path-ts/out/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/sonic-boom/types/package.json","../../../node_modules/spliterator/node/fs/package.json","../../../node_modules/spliterator/out/lib/core/package.json","../../../node_modules/spliterator/out/lib/formats/package.json","../../../node_modules/spliterator/out/lib/internal/package.json","../../../node_modules/spliterator/out/lib/io/package.json","../../../node_modules/spliterator/out/lib/iterators/package.json","../../../node_modules/spliterator/out/lib/package.json","../../../node_modules/spliterator/out/lib/parallel/package.json","../../../node_modules/spliterator/out/node/fs/package.json","../../../node_modules/spliterator/out/node/package.json","../../../node_modules/spliterator/out/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/iter/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tsx/package.json","../../../node_modules/tty/package.json","../../../node_modules/type-fest/source/internal/package.json","../../../node_modules/type-fest/source/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailwoman/sqlite",
3
- "version": "11.2.0",
3
+ "version": "11.3.0",
4
4
  "description": "The one way a Mailwoman SQLite connection is opened: a typed Kysely client over node:sqlite, plus the sealed-artifact lifecycle.",
5
5
  "keywords": [
6
6
  "kysely",
@@ -75,7 +75,7 @@
75
75
  "path-ts": "^2.5.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@mailwoman/core": "11.2.0"
78
+ "@mailwoman/core": "11.3.0"
79
79
  },
80
80
  "engines": {
81
81
  "node": "^24.22.3 || >=26.13.1"