laterite 0.5.0 → 0.5.1
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/dist/index.cjs +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -31508,7 +31508,7 @@ function buildAgs4(groups, opts = {}) {
|
|
|
31508
31508
|
const table = Array.isArray(data) ? rowsToTable(data) : data;
|
|
31509
31509
|
return { code, ipc: Buffer.from((0, import_apache_arrow3.tableToIPC)(table, "stream")) };
|
|
31510
31510
|
});
|
|
31511
|
-
const res = (0, import_native.emitAgs4FromIpc)(ipcGroups, opts.dictVersion
|
|
31511
|
+
const res = (0, import_native.emitAgs4FromIpc)(ipcGroups, opts.dictVersion, opts.mode);
|
|
31512
31512
|
const byRule = JSON.parse(res.findingsJson);
|
|
31513
31513
|
const findings = Object.entries(byRule).flatMap(
|
|
31514
31514
|
([rule, list]) => list.map((f) => ({ rule, ...f }))
|
package/dist/index.d.mts
CHANGED
|
@@ -4689,8 +4689,6 @@ type GroupData = Table | GroupRows;
|
|
|
4689
4689
|
interface EmitOptions {
|
|
4690
4690
|
/** `"4.0.3" | "4.0.4" | "4.1" | "4.1.1" | "4.2"` (default `"4.1.1"`). */
|
|
4691
4691
|
dictVersion?: string;
|
|
4692
|
-
/** @deprecated alias for `dictVersion`. */
|
|
4693
|
-
edition?: string;
|
|
4694
4692
|
/** `"autofix"` (default) | `"report"` | `"strict"`. */
|
|
4695
4693
|
mode?: "autofix" | "report" | "strict";
|
|
4696
4694
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4689,8 +4689,6 @@ type GroupData = Table | GroupRows;
|
|
|
4689
4689
|
interface EmitOptions {
|
|
4690
4690
|
/** `"4.0.3" | "4.0.4" | "4.1" | "4.1.1" | "4.2"` (default `"4.1.1"`). */
|
|
4691
4691
|
dictVersion?: string;
|
|
4692
|
-
/** @deprecated alias for `dictVersion`. */
|
|
4693
|
-
edition?: string;
|
|
4694
4692
|
/** `"autofix"` (default) | `"report"` | `"strict"`. */
|
|
4695
4693
|
mode?: "autofix" | "report" | "strict";
|
|
4696
4694
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -31311,7 +31311,7 @@ function buildAgs4(groups, opts = {}) {
|
|
|
31311
31311
|
const table = Array.isArray(data) ? rowsToTable(data) : data;
|
|
31312
31312
|
return { code, ipc: Buffer.from(tableToIPC(table, "stream")) };
|
|
31313
31313
|
});
|
|
31314
|
-
const res = emitAgs4FromIpc(ipcGroups, opts.dictVersion
|
|
31314
|
+
const res = emitAgs4FromIpc(ipcGroups, opts.dictVersion, opts.mode);
|
|
31315
31315
|
const byRule = JSON.parse(res.findingsJson);
|
|
31316
31316
|
const findings = Object.entries(byRule).flatMap(
|
|
31317
31317
|
([rule, list]) => list.map((f) => ({ rule, ...f }))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "laterite",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "AGS4 geotechnical data for Node.js — read, validate, produce, and query (the Node port of the laterite Python toolkit, Rust-backed).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "niko86",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"apache-arrow": "^21.1.0"
|
|
78
78
|
},
|
|
79
79
|
"optionalDependencies": {
|
|
80
|
-
"@laterite/native-linux-x64-gnu": "0.5.
|
|
81
|
-
"@laterite/native-darwin-arm64": "0.5.
|
|
82
|
-
"@laterite/native-win32-x64-msvc": "0.5.
|
|
80
|
+
"@laterite/native-linux-x64-gnu": "0.5.1",
|
|
81
|
+
"@laterite/native-darwin-arm64": "0.5.1",
|
|
82
|
+
"@laterite/native-win32-x64-msvc": "0.5.1"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@duckdb/node-api": ">=1.5.0"
|