@featurevisor/sdk 1.29.2 → 1.29.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 +11 -0
- package/coverage/clover.xml +32 -29
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/bucket.ts.html +1 -1
- package/coverage/lcov-report/conditions.ts.html +1 -1
- package/coverage/lcov-report/datafileReader.ts.html +1 -1
- package/coverage/lcov-report/emitter.ts.html +1 -1
- package/coverage/lcov-report/feature.ts.html +27 -9
- package/coverage/lcov-report/index.html +14 -14
- package/coverage/lcov-report/instance.ts.html +4 -4
- package/coverage/lcov-report/logger.ts.html +1 -1
- package/coverage/lcov-report/segments.ts.html +1 -1
- package/coverage/lcov.info +48 -42
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.gz +0 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/feature.ts +7 -1
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
|
+
## [1.29.3](https://github.com/featurevisor/featurevisor/compare/v1.29.2...v1.29.3) (2025-01-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* matched rules with percentage of 0 should be disabled ([#340](https://github.com/featurevisor/featurevisor/issues/340)) ([07f1682](https://github.com/featurevisor/featurevisor/commit/07f1682b98c67ac00b6edb91bda90fd77791458b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.29.2](https://github.com/featurevisor/featurevisor/compare/v1.29.1...v1.29.2) (2025-01-25)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @featurevisor/sdk
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1738256528499" clover="3.2.0">
|
|
3
|
+
<project timestamp="1738256528500" name="All files">
|
|
4
|
+
<metrics statements="635" coveredstatements="585" conditionals="334" coveredconditionals="287" methods="100" coveredmethods="94" elements="1069" coveredelements="966" complexity="0" loc="635" ncloc="635" packages="1" files="8" classes="8"/>
|
|
5
5
|
<file name="bucket.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts">
|
|
6
6
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
7
7
|
<line num="1" count="2" type="stmt"/>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<line num="50" count="8" type="stmt"/>
|
|
145
145
|
</file>
|
|
146
146
|
<file name="feature.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts">
|
|
147
|
-
<metrics statements="
|
|
147
|
+
<metrics statements="42" coveredstatements="41" conditionals="20" coveredconditionals="19" methods="7" coveredmethods="7"/>
|
|
148
148
|
<line num="3" count="1" type="stmt"/>
|
|
149
149
|
<line num="4" count="1" type="stmt"/>
|
|
150
150
|
<line num="7" count="1" type="stmt"/>
|
|
@@ -162,28 +162,31 @@
|
|
|
162
162
|
<line num="37" count="81" type="cond" truecount="1" falsecount="0"/>
|
|
163
163
|
<line num="45" count="29" type="stmt"/>
|
|
164
164
|
<line num="48" count="52" type="stmt"/>
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="111" count="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="117" count="
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="126" count="
|
|
186
|
-
<line num="130" count="
|
|
165
|
+
<line num="51" count="56" type="cond" truecount="3" falsecount="0"/>
|
|
166
|
+
<line num="52" count="51" type="stmt"/>
|
|
167
|
+
<line num="55" count="5" type="stmt"/>
|
|
168
|
+
<line num="63" count="1" type="stmt"/>
|
|
169
|
+
<line num="70" count="39" type="stmt"/>
|
|
170
|
+
<line num="71" count="59" type="stmt"/>
|
|
171
|
+
<line num="79" count="39" type="cond" truecount="0" falsecount="1"/>
|
|
172
|
+
<line num="80" count="0" type="stmt"/>
|
|
173
|
+
<line num="86" count="39" type="stmt"/>
|
|
174
|
+
<line num="88" count="39" type="stmt"/>
|
|
175
|
+
<line num="99" count="1" type="stmt"/>
|
|
176
|
+
<line num="105" count="108" type="stmt"/>
|
|
177
|
+
<line num="110" count="108" type="cond" truecount="1" falsecount="0"/>
|
|
178
|
+
<line num="111" count="51" type="stmt"/>
|
|
179
|
+
<line num="114" count="57" type="stmt"/>
|
|
180
|
+
<line num="115" count="153" type="stmt"/>
|
|
181
|
+
<line num="117" count="153" type="cond" truecount="1" falsecount="0"/>
|
|
182
|
+
<line num="121" count="13" type="stmt"/>
|
|
183
|
+
<line num="122" count="13" type="stmt"/>
|
|
184
|
+
<line num="123" count="13" type="stmt"/>
|
|
185
|
+
<line num="126" count="140" type="cond" truecount="1" falsecount="0"/>
|
|
186
|
+
<line num="130" count="1" type="stmt"/>
|
|
187
|
+
<line num="131" count="1" type="stmt"/>
|
|
188
|
+
<line num="132" count="1" type="stmt"/>
|
|
189
|
+
<line num="136" count="57" type="stmt"/>
|
|
187
190
|
</file>
|
|
188
191
|
<file name="instance.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts">
|
|
189
192
|
<metrics statements="413" coveredstatements="371" conditionals="211" coveredconditionals="167" methods="52" coveredmethods="46"/>
|
|
@@ -389,7 +392,7 @@
|
|
|
389
392
|
<line num="606" count="56" type="stmt"/>
|
|
390
393
|
<line num="608" count="56" type="stmt"/>
|
|
391
394
|
<line num="615" count="56" type="cond" truecount="1" falsecount="0"/>
|
|
392
|
-
<line num="617" count="
|
|
395
|
+
<line num="617" count="51" type="cond" truecount="3" falsecount="0"/>
|
|
393
396
|
<line num="618" count="2" type="stmt"/>
|
|
394
397
|
<line num="619" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
395
398
|
<line num="623" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -399,11 +402,11 @@
|
|
|
399
402
|
<line num="641" count="1" type="stmt"/>
|
|
400
403
|
<line num="649" count="1" type="stmt"/>
|
|
401
404
|
<line num="651" count="1" type="stmt"/>
|
|
402
|
-
<line num="655" count="
|
|
405
|
+
<line num="655" count="49" type="cond" truecount="1" falsecount="0"/>
|
|
403
406
|
<line num="656" count="1" type="stmt"/>
|
|
404
407
|
<line num="666" count="1" type="stmt"/>
|
|
405
408
|
<line num="668" count="1" type="stmt"/>
|
|
406
|
-
<line num="672" count="
|
|
409
|
+
<line num="672" count="48" type="cond" truecount="1" falsecount="0"/>
|
|
407
410
|
<line num="673" count="48" type="stmt"/>
|
|
408
411
|
<line num="683" count="48" type="stmt"/>
|
|
409
412
|
<line num="685" count="48" type="stmt"/>
|