@malloydata/db-duckdb 0.0.431 → 0.0.433
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/MAINTENANCE_NOTES.md +8 -6
- package/dist/native.js +4 -1
- package/package.json +2 -2
package/MAINTENANCE_NOTES.md
CHANGED
|
@@ -50,12 +50,14 @@ process isolation, query cancellation, and host-level quotas separately.
|
|
|
50
50
|
|
|
51
51
|
- Native connection schema: `src/native.ts`
|
|
52
52
|
- Registers native DuckDB properties.
|
|
53
|
-
- `securityPolicy`
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
- `securityPolicy` carries `source: 'literal'` (no overlay reference) and
|
|
54
|
+
`mustHaveValue` (writing it must produce a value), so a reference-shaped or
|
|
55
|
+
non-string value fails the connection instead of being silently dropped by
|
|
56
|
+
generic config compilation.
|
|
57
|
+
- Config compiler guard: `../malloy/src/api/foundation/config_compile.ts`
|
|
58
|
+
- Records an authored-but-unusable value as an `invalid` node after warning,
|
|
59
|
+
so `config_lookup.ts` can tell it apart from an omitted property and fail
|
|
60
|
+
closed before the DuckDB factory runs.
|
|
59
61
|
- Normalization and policy derivation: `src/duckdb_config.ts`
|
|
60
62
|
- Parses raw effective config.
|
|
61
63
|
- Derives `NormalizedDuckDBSafetyPolicy`.
|
package/dist/native.js
CHANGED
|
@@ -43,7 +43,10 @@ const duckdb_connection_1 = require("./duckdb_connection");
|
|
|
43
43
|
type: 'string',
|
|
44
44
|
optional: true,
|
|
45
45
|
advanced: true,
|
|
46
|
-
|
|
46
|
+
// Absent means the "none" policy, so a policy that fails to arrive must
|
|
47
|
+
// stop the connection rather than quietly become no policy at all.
|
|
48
|
+
source: 'literal',
|
|
49
|
+
mustHaveValue: true,
|
|
47
50
|
},
|
|
48
51
|
{
|
|
49
52
|
name: 'allowedDirectories',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-duckdb",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.433",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@duckdb/duckdb-wasm": "1.33.1-dev57.0",
|
|
63
63
|
"@duckdb/node-api": "1.5.5-r.4",
|
|
64
|
-
"@malloydata/malloy": "0.0.
|
|
64
|
+
"@malloydata/malloy": "0.0.433",
|
|
65
65
|
"@motherduck/wasm-client": "0.6.6",
|
|
66
66
|
"apache-arrow": "^17.0.0",
|
|
67
67
|
"web-worker": "^1.5.0"
|