@intentius/chant-lexicon-prometheus 0.124.11 → 0.124.12
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/integrity.json +6 -6
- package/dist/lint/rules/prom-ast.d.ts +1 -1
- package/dist/lint/rules/prom-ast.d.ts.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/rules/literal-credential.ts +1 -1
- package/dist/rules/prom-ast.ts +1 -1
- package/dist/rules/promql-literal.ts +1 -1
- package/dist/rules/slo-literal.ts +1 -1
- package/package.json +2 -3
- package/src/lint/rules/literal-credential.ts +1 -1
- package/src/lint/rules/prom-ast.ts +1 -1
- package/src/lint/rules/promql-literal.ts +1 -1
- package/src/lint/rules/slo-literal.ts +1 -1
package/dist/integrity.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "777e36f90b47d704971d2956c1c91313e1868100fa1a3e3acc6c8d670bbbce7d",
|
|
5
5
|
"meta.json": "a06b8059e2de2ca6c8131bfbbfe7e143e818f2d2d497d3f45a9bc5c63af6aeeb",
|
|
6
6
|
"types/index.d.ts": "150d72287453a24a40cdeffb8cf3e9dc6e77ab58b342b48d01902dc58fb5f85d",
|
|
7
|
-
"rules/literal-credential.ts": "
|
|
8
|
-
"rules/prom-ast.ts": "
|
|
9
|
-
"rules/promql-literal.ts": "
|
|
10
|
-
"rules/slo-literal.ts": "
|
|
7
|
+
"rules/literal-credential.ts": "df0dc02b93f2da87d9b03ceca906206b40b3b7600b24cb733f6388d81f92aecb",
|
|
8
|
+
"rules/prom-ast.ts": "042d9b294ea09cbf1f1539b26deee8118e27ea0716ff487d689128a6ecb15fd0",
|
|
9
|
+
"rules/promql-literal.ts": "bde675884210864aa7e87a1e3412670657f246c24ef6541e7b64635b2bcbb4fa",
|
|
10
|
+
"rules/slo-literal.ts": "9382b9c8a1e984077c8349f8e3a37b6f5e733ba4d677e7279e89916286e91046",
|
|
11
11
|
"rules/prom-helpers.ts": "eacd3456e331129e356cde2187bbc3c7b5ac54e8836a5dae2dd149d8fa0541f7",
|
|
12
12
|
"rules/prom101.ts": "f153c2b0b5f43b51e15053d732f27321aeb33c76683416b47982a95986704935",
|
|
13
13
|
"rules/prom102.ts": "d40d7d4690ada12efcf50c471739b2254376cbd382c1d8c547bbadca3205a1fa",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"skills/chant-prometheus-alertmanager.md": "4c4a22bea6147653d09d7d3f55f81c4927963d4e2f50b2e430fbb9023e99570b",
|
|
47
47
|
"skills/chant-prometheus-kubernetes.md": "cca016857891f4cabf1feb6f9db83c220a2e6ece200cd89e635851079f8070a8"
|
|
48
48
|
},
|
|
49
|
-
"composite": "
|
|
49
|
+
"composite": "cda1a9c106cd1c3b848bcad52aab78ad8066af4ae23f020281769efc06b09a3e"
|
|
50
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
/** The constructor name of a `new X(...)` or `X(...)` expression, if it is a plain or dotted name. */
|
|
3
3
|
export declare function calleeName(node: ts.CallExpression | ts.NewExpression): string | undefined;
|
|
4
4
|
/** The classes whose props hold Alertmanager credentials. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prom-ast.d.ts","sourceRoot":"","sources":["../../../src/lint/rules/prom-ast.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"prom-ast.d.ts","sourceRoot":"","sources":["../../../src/lint/rules/prom-ast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,kCAAkC,CAAC;AAEtD,sGAAsG;AACtG,wBAAgB,UAAU,CAAC,IAAI,EAAE,EAAE,CAAC,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,MAAM,GAAG,SAAS,CAKzF;AAED,6DAA6D;AAC7D,eAAO,MAAM,gBAAgB,QAAsC,CAAC;AAEpE,wEAAwE;AACxE,wBAAgB,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC,wBAAwB,GAAG,MAAM,GAAG,SAAS,CAIlF;AAED,kFAAkF;AAClF,wBAAgB,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,GAAG,SAAS,CAGnE;AAED,wBAAgB,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAG/F;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,GAAG,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAYnF;AAED,uGAAuG;AACvG,wBAAgB,YAAY,CAAC,IAAI,EAAE,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,UAAU,CAcnG"}
|
package/dist/manifest.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
|
|
3
3
|
import { SLACK_APP_URL } from "../../validate-integrations";
|
|
4
4
|
import { calleeName, constInitializers, CREDENTIAL_CLASS, literalText, position, propertyName, resolveConst } from "./prom-ast";
|
package/dist/rules/prom-ast.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
|
|
3
3
|
/** The constructor name of a `new X(...)` or `X(...)` expression, if it is a plain or dotted name. */
|
|
4
4
|
export function calleeName(node: ts.CallExpression | ts.NewExpression): string | undefined {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
|
|
3
3
|
import { calleeName, constInitializers, literalText, position, propertyName, resolveConst } from "./prom-ast";
|
|
4
4
|
import { checkPromql } from "../../promql";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
|
|
3
3
|
import { calleeName, literalText, position, propertyName } from "./prom-ast";
|
|
4
4
|
import { sliExprProblem } from "../../composites/slo";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-prometheus",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.12",
|
|
4
4
|
"description": "Prometheus lexicon for chant — typed recording and alerting rule groups and Alertmanager routing, serialized to a rule file and alertmanager.yml",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"typescript": "^5.9.3"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@intentius/chant": "^0.124.
|
|
92
|
-
"typescript": "^5.9.3"
|
|
91
|
+
"@intentius/chant": "^0.124.12"
|
|
93
92
|
}
|
|
94
93
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
|
|
3
3
|
import { SLACK_APP_URL } from "../../validate-integrations";
|
|
4
4
|
import { calleeName, constInitializers, CREDENTIAL_CLASS, literalText, position, propertyName, resolveConst } from "./prom-ast";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
|
|
3
3
|
/** The constructor name of a `new X(...)` or `X(...)` expression, if it is a plain or dotted name. */
|
|
4
4
|
export function calleeName(node: ts.CallExpression | ts.NewExpression): string | undefined {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
|
|
3
3
|
import { calleeName, constInitializers, literalText, position, propertyName, resolveConst } from "./prom-ast";
|
|
4
4
|
import { checkPromql } from "../../promql";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ts } from "@intentius/chant/lint/typescript";
|
|
2
2
|
import type { LintRule, LintDiagnostic, LintContext } from "@intentius/chant/lint/rule";
|
|
3
3
|
import { calleeName, literalText, position, propertyName } from "./prom-ast";
|
|
4
4
|
import { sliExprProblem } from "../../composites/slo";
|