@featurevisor/core 2.23.0 → 2.24.0

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 (92) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/coverage/clover.xml +5 -115
  3. package/coverage/coverage-final.json +2 -5
  4. package/coverage/lcov-report/builder/allocator.ts.html +1 -1
  5. package/coverage/lcov-report/builder/buildDatafile.ts.html +1 -1
  6. package/coverage/lcov-report/builder/buildScopedConditions.ts.html +1 -1
  7. package/coverage/lcov-report/builder/buildScopedDatafile.ts.html +1 -1
  8. package/coverage/lcov-report/builder/buildScopedSegments.ts.html +1 -1
  9. package/coverage/lcov-report/builder/convertToV1.ts.html +1 -1
  10. package/coverage/lcov-report/builder/getFeatureRanges.ts.html +1 -1
  11. package/coverage/lcov-report/builder/hashes.ts.html +1 -1
  12. package/coverage/lcov-report/builder/index.html +1 -1
  13. package/coverage/lcov-report/builder/mutateVariables.ts.html +1 -1
  14. package/coverage/lcov-report/builder/mutator.ts.html +1 -1
  15. package/coverage/lcov-report/builder/revision.ts.html +1 -1
  16. package/coverage/lcov-report/builder/traffic.ts.html +1 -1
  17. package/coverage/lcov-report/config/index.html +1 -1
  18. package/coverage/lcov-report/config/index.ts.html +1 -1
  19. package/coverage/lcov-report/config/projectConfig.ts.html +3 -3
  20. package/coverage/lcov-report/datasource/adapter.ts.html +1 -1
  21. package/coverage/lcov-report/datasource/datasource.ts.html +2 -2
  22. package/coverage/lcov-report/datasource/filesystemAdapter.ts.html +3 -3
  23. package/coverage/lcov-report/datasource/index.html +1 -1
  24. package/coverage/lcov-report/datasource/index.ts.html +1 -1
  25. package/coverage/lcov-report/generate-code/index.html +1 -1
  26. package/coverage/lcov-report/generate-code/typescript.ts.html +1 -1
  27. package/coverage/lcov-report/index.html +9 -24
  28. package/coverage/lcov-report/linter/attributeSchema.ts.html +1 -1
  29. package/coverage/lcov-report/linter/checkCircularDependency.ts.html +1 -1
  30. package/coverage/lcov-report/linter/checkPercentageExceedingSlot.ts.html +1 -1
  31. package/coverage/lcov-report/linter/conditionSchema.ts.html +1 -1
  32. package/coverage/lcov-report/linter/featureSchema.ts.html +1 -1
  33. package/coverage/lcov-report/linter/groupSchema.ts.html +1 -1
  34. package/coverage/lcov-report/linter/index.html +1 -1
  35. package/coverage/lcov-report/linter/lintProject.ts.html +1 -1
  36. package/coverage/lcov-report/linter/mutationNotation.ts.html +1 -1
  37. package/coverage/lcov-report/linter/printError.ts.html +1 -1
  38. package/coverage/lcov-report/linter/schema.ts.html +1 -1
  39. package/coverage/lcov-report/linter/segmentSchema.ts.html +1 -1
  40. package/coverage/lcov-report/linter/testSchema.ts.html +1 -1
  41. package/coverage/lcov-report/list/index.html +1 -1
  42. package/coverage/lcov-report/list/matrix.ts.html +1 -1
  43. package/coverage/lcov-report/tester/cliFormat.ts.html +1 -1
  44. package/coverage/lcov-report/tester/helpers.ts.html +1 -1
  45. package/coverage/lcov-report/tester/index.html +1 -1
  46. package/coverage/lcov-report/utils/extractKeys.ts.html +1 -1
  47. package/coverage/lcov-report/utils/git.ts.html +2 -2
  48. package/coverage/lcov-report/utils/index.html +1 -1
  49. package/coverage/lcov-report/utils/index.ts.html +1 -1
  50. package/coverage/lcov-report/utils/pretty.ts.html +1 -1
  51. package/coverage/lcov.info +2 -212
  52. package/lib/builder/buildDatafile.spec.js +1 -1
  53. package/lib/builder/buildDatafile.spec.js.map +1 -1
  54. package/lib/config/projectConfig.d.ts +1 -1
  55. package/lib/config/projectConfig.js +1 -1
  56. package/lib/config/projectConfig.js.map +1 -1
  57. package/lib/datasource/filesystemAdapter.js.map +1 -1
  58. package/lib/index.d.ts +1 -1
  59. package/lib/index.js +1 -1
  60. package/lib/index.js.map +1 -1
  61. package/lib/linter/featureSchema.d.ts +8 -8
  62. package/package.json +2 -3
  63. package/src/builder/buildDatafile.spec.ts +1 -1
  64. package/src/config/projectConfig.ts +1 -1
  65. package/src/datasource/datasource.ts +1 -1
  66. package/src/datasource/filesystemAdapter.ts +1 -1
  67. package/src/index.ts +2 -1
  68. package/src/utils/git.ts +1 -1
  69. package/coverage/lcov-report/parsers/index.html +0 -146
  70. package/coverage/lcov-report/parsers/index.ts.html +0 -151
  71. package/coverage/lcov-report/parsers/json.ts.html +0 -118
  72. package/coverage/lcov-report/parsers/yml.ts.html +0 -589
  73. package/lib/parsers/index.d.ts +0 -15
  74. package/lib/parsers/index.js +0 -15
  75. package/lib/parsers/index.js.map +0 -1
  76. package/lib/parsers/json.d.ts +0 -2
  77. package/lib/parsers/json.js +0 -13
  78. package/lib/parsers/json.js.map +0 -1
  79. package/lib/parsers/json.spec.d.ts +0 -1
  80. package/lib/parsers/json.spec.js +0 -35
  81. package/lib/parsers/json.spec.js.map +0 -1
  82. package/lib/parsers/yml.d.ts +0 -2
  83. package/lib/parsers/yml.js +0 -154
  84. package/lib/parsers/yml.js.map +0 -1
  85. package/lib/parsers/yml.spec.d.ts +0 -1
  86. package/lib/parsers/yml.spec.js +0 -143
  87. package/lib/parsers/yml.spec.js.map +0 -1
  88. package/src/parsers/index.ts +0 -22
  89. package/src/parsers/json.spec.ts +0 -36
  90. package/src/parsers/json.ts +0 -11
  91. package/src/parsers/yml.spec.ts +0 -174
  92. package/src/parsers/yml.ts +0 -168
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.24.0](https://github.com/featurevisor/featurevisor/compare/v2.23.0...v2.24.0) (2026-04-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * separate parsers package ([#405](https://github.com/featurevisor/featurevisor/issues/405)) ([1c6fe8a](https://github.com/featurevisor/featurevisor/commit/1c6fe8aced6425ca7ccdbf20e6f477419b6a0767))
12
+
13
+
14
+
15
+
16
+
6
17
  # [2.23.0](https://github.com/featurevisor/featurevisor/compare/v2.22.1...v2.23.0) (2026-04-11)
7
18
 
8
19
 
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1775915737607" clover="3.2.0">
3
- <project timestamp="1775915737607" name="All files">
4
- <metrics statements="3526" coveredstatements="2550" conditionals="2449" coveredconditionals="1613" methods="518" coveredmethods="357" elements="6493" coveredelements="4520" complexity="0" loc="3526" ncloc="3526" packages="9" files="41" classes="41"/>
2
+ <coverage generated="1776366255736" clover="3.2.0">
3
+ <project timestamp="1776366255736" name="All files">
4
+ <metrics statements="3428" coveredstatements="2457" conditionals="2388" coveredconditionals="1566" methods="506" coveredmethods="345" elements="6322" coveredelements="4368" complexity="0" loc="3428" ncloc="3428" packages="8" files="38" classes="38"/>
5
5
  <package name="builder">
6
6
  <metrics statements="797" coveredstatements="601" conditionals="440" coveredconditionals="276" methods="101" coveredmethods="74"/>
7
7
  <file name="allocator.ts" path="/home/runner/work/featurevisor/featurevisor/packages/core/src/builder/allocator.ts">
@@ -847,7 +847,7 @@
847
847
  <file name="projectConfig.ts" path="/home/runner/work/featurevisor/featurevisor/packages/core/src/config/projectConfig.ts">
848
848
  <metrics statements="57" coveredstatements="42" conditionals="17" coveredconditionals="8" methods="5" coveredmethods="2"/>
849
849
  <line num="1" count="5" type="stmt"/>
850
- <line num="5" count="5" type="stmt"/>
850
+ <line num="4" count="5" type="stmt"/>
851
851
  <line num="6" count="5" type="stmt"/>
852
852
  <line num="10" count="5" type="stmt"/>
853
853
  <line num="11" count="5" type="stmt"/>
@@ -988,7 +988,7 @@
988
988
  <line num="1" count="5" type="stmt"/>
989
989
  <line num="2" count="5" type="stmt"/>
990
990
  <line num="3" count="5" type="stmt"/>
991
- <line num="20" count="5" type="stmt"/>
991
+ <line num="21" count="5" type="stmt"/>
992
992
  <line num="23" count="5" type="stmt"/>
993
993
  <line num="25" count="5" type="stmt"/>
994
994
  <line num="31" count="4" type="stmt"/>
@@ -3352,116 +3352,6 @@
3352
3352
  <line num="216" count="0" type="stmt"/>
3353
3353
  </file>
3354
3354
  </package>
3355
- <package name="parsers">
3356
- <metrics statements="98" coveredstatements="93" conditionals="61" coveredconditionals="47" methods="12" coveredmethods="12"/>
3357
- <file name="index.ts" path="/home/runner/work/featurevisor/featurevisor/packages/core/src/parsers/index.ts">
3358
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
3359
- <line num="1" count="5" type="stmt"/>
3360
- <line num="2" count="5" type="stmt"/>
3361
- <line num="15" count="5" type="stmt"/>
3362
- </file>
3363
- <file name="json.ts" path="/home/runner/work/featurevisor/featurevisor/packages/core/src/parsers/json.ts">
3364
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
3365
- <line num="3" count="6" type="stmt"/>
3366
- <line num="6" count="3" type="stmt"/>
3367
- <line num="9" count="2" type="stmt"/>
3368
- </file>
3369
- <file name="yml.ts" path="/home/runner/work/featurevisor/featurevisor/packages/core/src/parsers/yml.ts">
3370
- <metrics statements="92" coveredstatements="87" conditionals="61" coveredconditionals="47" methods="10" coveredmethods="10"/>
3371
- <line num="1" count="6" type="stmt"/>
3372
- <line num="3" count="6" type="stmt"/>
3373
- <line num="5" count="6" type="stmt"/>
3374
- <line num="10" count="8" type="cond" truecount="0" falsecount="1"/>
3375
- <line num="11" count="8" type="cond" truecount="1" falsecount="0"/>
3376
- <line num="12" count="8" type="stmt"/>
3377
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
3378
- <line num="18" count="5" type="cond" truecount="0" falsecount="1"/>
3379
- <line num="19" count="5" type="cond" truecount="1" falsecount="0"/>
3380
- <line num="20" count="5" type="stmt"/>
3381
- <line num="23" count="5" type="stmt"/>
3382
- <line num="24" count="5" type="cond" truecount="5" falsecount="0"/>
3383
- <line num="25" count="5" type="stmt"/>
3384
- <line num="26" count="5" type="cond" truecount="1" falsecount="0"/>
3385
- <line num="27" count="5" type="cond" truecount="0" falsecount="1"/>
3386
- <line num="32" count="1" type="cond" truecount="3" falsecount="0"/>
3387
- <line num="36" count="1" type="cond" truecount="3" falsecount="0"/>
3388
- <line num="40" count="3" type="cond" truecount="0" falsecount="1"/>
3389
- <line num="41" count="3" type="stmt"/>
3390
- <line num="42" count="3" type="cond" truecount="1" falsecount="0"/>
3391
- <line num="43" count="0" type="cond" truecount="0" falsecount="1"/>
3392
- <line num="44" count="0" type="stmt"/>
3393
- <line num="48" count="3" type="stmt"/>
3394
- <line num="56" count="10" type="cond" truecount="3" falsecount="0"/>
3395
- <line num="57" count="8" type="stmt"/>
3396
- <line num="58" count="8" type="stmt"/>
3397
- <line num="59" count="8" type="cond" truecount="1" falsecount="0"/>
3398
- <line num="60" count="5" type="cond" truecount="1" falsecount="0"/>
3399
- <line num="61" count="5" type="cond" truecount="0" falsecount="1"/>
3400
- <line num="63" count="8" type="stmt"/>
3401
- <line num="65" count="2" type="cond" truecount="1" falsecount="0"/>
3402
- <line num="66" count="1" type="cond" truecount="1" falsecount="1"/>
3403
- <line num="67" count="1" type="stmt"/>
3404
- <line num="68" count="1" type="cond" truecount="3" falsecount="0"/>
3405
- <line num="69" count="1" type="stmt"/>
3406
- <line num="70" count="3" type="stmt"/>
3407
- <line num="73" count="1" type="stmt"/>
3408
- <line num="74" count="1" type="stmt"/>
3409
- <line num="75" count="3" type="stmt"/>
3410
- <line num="76" count="3" type="stmt"/>
3411
- <line num="77" count="3" type="stmt"/>
3412
- <line num="79" count="1" type="stmt"/>
3413
- <line num="82" count="1" type="cond" truecount="1" falsecount="1"/>
3414
- <line num="83" count="1" type="stmt"/>
3415
- <line num="84" count="1" type="cond" truecount="1" falsecount="0"/>
3416
- <line num="85" count="1" type="cond" truecount="1" falsecount="1"/>
3417
- <line num="86" count="2" type="stmt"/>
3418
- <line num="87" count="2" type="cond" truecount="1" falsecount="0"/>
3419
- <line num="90" count="1" type="stmt"/>
3420
- <line num="91" count="1" type="stmt"/>
3421
- <line num="92" count="1" type="stmt"/>
3422
- <line num="93" count="2" type="stmt"/>
3423
- <line num="94" count="2" type="cond" truecount="2" falsecount="0"/>
3424
- <line num="95" count="2" type="stmt"/>
3425
- <line num="96" count="2" type="stmt"/>
3426
- <line num="97" count="2" type="cond" truecount="1" falsecount="0"/>
3427
- <line num="98" count="2" type="stmt"/>
3428
- <line num="100" count="1" type="stmt"/>
3429
- <line num="101" count="1" type="stmt"/>
3430
- <line num="102" count="1" type="cond" truecount="3" falsecount="0"/>
3431
- <line num="103" count="1" type="cond" truecount="0" falsecount="1"/>
3432
- <line num="104" count="1" type="cond" truecount="0" falsecount="1"/>
3433
- <line num="106" count="1" type="stmt"/>
3434
- <line num="116" count="2" type="stmt"/>
3435
- <line num="117" count="2" type="cond" truecount="2" falsecount="1"/>
3436
- <line num="118" count="0" type="stmt"/>
3437
- <line num="119" count="0" type="stmt"/>
3438
- <line num="122" count="2" type="stmt"/>
3439
- <line num="123" count="2" type="stmt"/>
3440
- <line num="124" count="2" type="stmt"/>
3441
- <line num="125" count="6" type="stmt"/>
3442
- <line num="126" count="6" type="cond" truecount="1" falsecount="0"/>
3443
- <line num="129" count="2" type="stmt"/>
3444
- <line num="130" count="2" type="stmt"/>
3445
- <line num="131" count="5" type="stmt"/>
3446
- <line num="132" count="5" type="stmt"/>
3447
- <line num="133" count="5" type="stmt"/>
3448
- <line num="134" count="5" type="cond" truecount="1" falsecount="0"/>
3449
- <line num="135" count="5" type="stmt"/>
3450
- <line num="138" count="2" type="stmt"/>
3451
- <line num="141" count="6" type="stmt"/>
3452
- <line num="144" count="481" type="stmt"/>
3453
- <line num="147" count="7" type="cond" truecount="3" falsecount="0"/>
3454
- <line num="148" count="3" type="stmt"/>
3455
- <line num="151" count="4" type="stmt"/>
3456
- <line num="152" count="4" type="cond" truecount="1" falsecount="0"/>
3457
- <line num="153" count="1" type="stmt"/>
3458
- <line num="157" count="3" type="cond" truecount="4" falsecount="0"/>
3459
- <line num="158" count="1" type="stmt"/>
3460
- <line num="161" count="2" type="stmt"/>
3461
- <line num="165" count="2" type="stmt"/>
3462
- <line num="166" count="2" type="stmt"/>
3463
- </file>
3464
- </package>
3465
3355
  <package name="tester">
3466
3356
  <metrics statements="47" coveredstatements="44" conditionals="37" coveredconditionals="34" methods="2" coveredmethods="2"/>
3467
3357
  <file name="cliFormat.ts" path="/home/runner/work/featurevisor/featurevisor/packages/core/src/tester/cliFormat.ts">