dirsql 0.3.50 → 0.3.51

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.
Files changed (2) hide show
  1. package/docs/api/index.md +1 -1
  2. package/package.json +11 -11
package/docs/api/index.md CHANGED
@@ -77,7 +77,7 @@ In Python, the constructor starts scanning in a background thread and returns im
77
77
  - `tables` -- List of `Table` definitions. Each defines a SQLite table, a glob pattern, and an extract function.
78
78
  - `ignore` -- Optional list of glob patterns. Files matching any ignore pattern are skipped regardless of table globs.
79
79
  - `config` -- Optional path to a `.dirsql.toml` config file. Its `[[table]]` entries are appended to any programmatic `tables`; its `[dirsql].ignore` patterns are appended to any explicit `ignore`; its optional `[dirsql].root` supplies the root directory when `root` is not passed explicitly; its `[[dirsql.extension]]` entries are appended to any programmatic `extensions`.
80
- - `extensions` -- Optional SQLite extensions to load onto the connection at startup, before any table DDL (enable → load → disable, so the SQL `load_extension()` function is never left exposed). Each entry pairs a shared-library `path` with an optional `entrypoint` init-symbol override (Python: `{ "path", "entrypoint"? }` dicts; Rust: `Extension { path, entrypoint }`; TypeScript: `{ path, entrypoint? }` objects). Programmatic entries load first, then any `[[dirsql.extension]]` from `config`. Available in the Python, Rust, and TypeScript SDKs. See [Loading extensions](../cli/config.md#loading-extensions).
80
+ - `extensions` -- Optional SQLite extensions to load onto the connection at startup, before any table DDL (enable → load → disable, so the SQL `load_extension()` function is never left exposed). Each entry pairs a shared-library `path` with an optional `entrypoint` init-symbol override (Python: `{ "path", "entrypoint"? }` dicts; Rust: `Extension { path, entrypoint }`; TypeScript: `{ path, entrypoint? }` objects). A `path` is either a file path or a bare **package name**; a package name is resolved from the installed package (Python `importlib` / TypeScript `node_modules`, file-first, erroring on zero or multiple matches). This works on the Python/TypeScript constructor and CLI; the Rust binary and SDK are file-path-only. Programmatic entries load first, then any `[[dirsql.extension]]` from `config`. See [Loading extensions](../cli/config.md#loading-extensions).
81
81
 
82
82
  ### Methods
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.3.50",
3
+ "version": "0.3.51",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -216,15 +216,15 @@
216
216
  ]
217
217
  },
218
218
  "optionalDependencies": {
219
- "@dirsql/lib-linux-x64-gnu": "0.3.50",
220
- "@dirsql/lib-linux-arm64-gnu": "0.3.50",
221
- "@dirsql/lib-darwin-x64": "0.3.50",
222
- "@dirsql/lib-darwin-arm64": "0.3.50",
223
- "@dirsql/lib-win32-x64-msvc": "0.3.50",
224
- "@dirsql/cli-linux-x64-gnu": "0.3.50",
225
- "@dirsql/cli-linux-arm64-gnu": "0.3.50",
226
- "@dirsql/cli-darwin-x64": "0.3.50",
227
- "@dirsql/cli-darwin-arm64": "0.3.50",
228
- "@dirsql/cli-win32-x64-msvc": "0.3.50"
219
+ "@dirsql/lib-linux-x64-gnu": "0.3.51",
220
+ "@dirsql/lib-linux-arm64-gnu": "0.3.51",
221
+ "@dirsql/lib-darwin-x64": "0.3.51",
222
+ "@dirsql/lib-darwin-arm64": "0.3.51",
223
+ "@dirsql/lib-win32-x64-msvc": "0.3.51",
224
+ "@dirsql/cli-linux-x64-gnu": "0.3.51",
225
+ "@dirsql/cli-linux-arm64-gnu": "0.3.51",
226
+ "@dirsql/cli-darwin-x64": "0.3.51",
227
+ "@dirsql/cli-darwin-arm64": "0.3.51",
228
+ "@dirsql/cli-win32-x64-msvc": "0.3.51"
229
229
  }
230
230
  }