spec-controller 0.1.238 → 0.1.239

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -3
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -11434,14 +11434,15 @@ function isFeaturePart(text) {
11434
11434
  function headerFeatureCode(featureTags) {
11435
11435
  return featureTags.find(isFeaturePart) ?? null;
11436
11436
  }
11437
- var FEATURE_PART_SOURCE, SCN_ID_SOURCE, SCN_CODE, FEATURE_CODE_OF, FEATURE_PART;
11437
+ var FEATURE_PART_SOURCE, PREFIX_SOURCE, SCN_ID_SOURCE, SCN_CODE, FEATURE_CODE_OF, FEATURE_PART;
11438
11438
  var init_featureCode = __esm({
11439
11439
  "../core/dist/domain/featureCode.js"() {
11440
11440
  "use strict";
11441
11441
  FEATURE_PART_SOURCE = "[A-Z0-9]{2,5}";
11442
- SCN_ID_SOURCE = `SCN-${FEATURE_PART_SOURCE}-\\d+`;
11442
+ PREFIX_SOURCE = "(?:CLM|SCN)";
11443
+ SCN_ID_SOURCE = `${PREFIX_SOURCE}-${FEATURE_PART_SOURCE}-\\d+`;
11443
11444
  SCN_CODE = new RegExp(`^${SCN_ID_SOURCE}$`);
11444
- FEATURE_CODE_OF = new RegExp(`^SCN-(${FEATURE_PART_SOURCE})-\\d+$`);
11445
+ FEATURE_CODE_OF = new RegExp(`^${PREFIX_SOURCE}-(${FEATURE_PART_SOURCE})-\\d+$`);
11445
11446
  FEATURE_PART = new RegExp(`^${FEATURE_PART_SOURCE}$`);
11446
11447
  }
11447
11448
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.238",
3
+ "version": "0.1.239",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -26,7 +26,7 @@
26
26
  "fast-xml-parser": "^5.11.2",
27
27
  "ts-json-schema-generator": "^2.9.0",
28
28
  "yaml": "^2.9.0",
29
- "@3f-consulting/spec-controller-core": "0.1.238"
29
+ "@3f-consulting/spec-controller-core": "0.1.239"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"