@lunora/advisor 1.0.0-alpha.14 → 1.0.0-alpha.16
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.mjs
CHANGED
|
@@ -33,7 +33,7 @@ import userCreatingMutationWithoutCaptcha from './packem_shared/userCreatingMuta
|
|
|
33
33
|
import workflowDuplicateStepName from './packem_shared/workflowDuplicateStepName-ioBxPBCy.mjs';
|
|
34
34
|
import workflowUnknownTarget from './packem_shared/workflowUnknownTarget-Cdd7WhKQ.mjs';
|
|
35
35
|
import workflowUnused from './packem_shared/workflowUnused-D0jHxdz9.mjs';
|
|
36
|
-
export { AE_METRIC_EVENTS, loadAnalyticsRuntimeMetrics } from './packem_shared/AE_METRIC_EVENTS-
|
|
36
|
+
export { AE_METRIC_EVENTS, loadAnalyticsRuntimeMetrics } from './packem_shared/AE_METRIC_EVENTS-BM14d0lm.mjs';
|
|
37
37
|
export { default as externalSourceOnGlobal } from './packem_shared/externalSourceOnGlobal-Bg-NfCX9.mjs';
|
|
38
38
|
export { default as externalSourceUnscoped } from './packem_shared/externalSourceUnscoped-5vT-Bup3.mjs';
|
|
39
39
|
export { fromServerSchema } from './packem_shared/fromServerSchema-WVRvXPy8.mjs';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { LunoraError } from '@lunora/errors';
|
|
2
|
+
|
|
1
3
|
const DATASET_NAME_PATTERN = /^[\w.-]+$/u;
|
|
2
4
|
const AE_METRIC_EVENTS = {
|
|
3
5
|
/** `lunora.index.hit` — one row per `(table, index)` use. `blob2`=table, `blob3`=index. */
|
|
@@ -22,7 +24,7 @@ const toText = (value) => {
|
|
|
22
24
|
};
|
|
23
25
|
const assertDataset = (dataset) => {
|
|
24
26
|
if (!DATASET_NAME_PATTERN.test(dataset)) {
|
|
25
|
-
throw new
|
|
27
|
+
throw new LunoraError("INTERNAL", `@lunora/advisor: invalid Analytics Engine dataset name "${dataset}" — expected a bare table identifier.`);
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
30
|
const sqlString = (value) => `'${value.replaceAll("\\", "\\\\").replaceAll("'", "''")}'`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/advisor",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.16",
|
|
4
4
|
"description": "Schema & query lints (splinter-style advisors) for Lunora, feeding the Studio Advisors view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"advisor",
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lunora/
|
|
49
|
+
"@lunora/errors": "1.0.0-alpha.1",
|
|
50
|
+
"@lunora/server": "1.0.0-alpha.14"
|
|
50
51
|
},
|
|
51
52
|
"engines": {
|
|
52
53
|
"node": "^22.15.0 || >=24.11.0"
|