@7n/rules 1.17.2 → 1.17.3
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -31,11 +31,12 @@ const RESERVED_OUTPUT_KEYS = new Set(['any', 'has_tests', 'domains'])
|
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Rule-id → ключ output-змінної: `-` → `_` (GA/Azure не люблять дефіси в
|
|
34
|
-
* іменах змінних; `npm-module` → `npm_module`).
|
|
34
|
+
* іменах змінних; `npm-module` → `npm_module`). Експортовано для fix-хендлерів
|
|
35
|
+
* плагінів (автоміграція pipeline-ів має генерувати ті самі ключі).
|
|
35
36
|
* @param {string} ruleId rule-id домену.
|
|
36
37
|
* @returns {string} ключ output.
|
|
37
38
|
*/
|
|
38
|
-
function domainKey(ruleId) {
|
|
39
|
+
export function domainKey(ruleId) {
|
|
39
40
|
return ruleId.replaceAll('-', '_')
|
|
40
41
|
}
|
|
41
42
|
|
|
@@ -3,9 +3,8 @@ type: JS Module
|
|
|
3
3
|
title: ci-plan.mjs
|
|
4
4
|
resource: npm/scripts/lib/lint-surface/ci-plan.mjs
|
|
5
5
|
docgen:
|
|
6
|
-
crc:
|
|
6
|
+
crc: ce7f2a96
|
|
7
7
|
model: openai-codex/gpt-5.4-mini
|
|
8
|
-
tier: cloud-min
|
|
9
8
|
score: 90
|
|
10
9
|
issues: internal-name:computeActiveDomains,judge:inaccurate:0.99
|
|
11
10
|
judgeModel: openai-codex/gpt-5.4-mini
|