@featurevisor/sdk 0.67.0 → 0.69.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.
- package/.eslintcache +1 -1
- package/CHANGELOG.md +16 -0
- package/coverage/clover.xml +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 +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/instance.ts.html +1 -1
- package/coverage/lcov-report/logger.ts.html +1 -1
- package/coverage/lcov-report/segments.ts.html +1 -1
- package/dist/index.js.gz +0 -0
- package/package.json +3 -3
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.spec.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.spec.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.spec.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.spec.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.spec.ts":"10","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.spec.ts":"12","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.spec.ts":"14","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts":"15","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.spec.ts":"16","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts":"17"},{"size":1061,"mtime":
|
|
1
|
+
[{"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.spec.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts":"2","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.spec.ts":"3","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.spec.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts":"6","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.spec.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts":"8","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.spec.ts":"10","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.spec.ts":"12","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.spec.ts":"14","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts":"15","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.spec.ts":"16","/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts":"17"},{"size":1061,"mtime":1702487988080,"results":"18","hashOfConfig":"19"},{"size":439,"mtime":1702487988080,"results":"20","hashOfConfig":"19"},{"size":23553,"mtime":1702487988080,"results":"21","hashOfConfig":"19"},{"size":3787,"mtime":1702487988080,"results":"22","hashOfConfig":"19"},{"size":2451,"mtime":1702487988080,"results":"23","hashOfConfig":"19"},{"size":1694,"mtime":1702487988080,"results":"24","hashOfConfig":"19"},{"size":2736,"mtime":1702487988080,"results":"25","hashOfConfig":"19"},{"size":1218,"mtime":1702487988080,"results":"26","hashOfConfig":"19"},{"size":2325,"mtime":1702487988080,"results":"27","hashOfConfig":"19"},{"size":119,"mtime":1702487988080,"results":"28","hashOfConfig":"19"},{"size":110,"mtime":1702487988080,"results":"29","hashOfConfig":"19"},{"size":35127,"mtime":1702487988080,"results":"30","hashOfConfig":"19"},{"size":34240,"mtime":1702487988080,"results":"31","hashOfConfig":"19"},{"size":4892,"mtime":1702487988080,"results":"32","hashOfConfig":"19"},{"size":2119,"mtime":1702487988080,"results":"33","hashOfConfig":"19"},{"size":11662,"mtime":1702487988080,"results":"34","hashOfConfig":"19"},{"size":1686,"mtime":1702487988080,"results":"35","hashOfConfig":"19"},{"filePath":"36","messages":"37","suppressedMessages":"38","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"115cm6k",{"filePath":"39","messages":"40","suppressedMessages":"41","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","suppressedMessages":"44","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"45","messages":"46","suppressedMessages":"47","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","suppressedMessages":"50","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","suppressedMessages":"53","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","suppressedMessages":"56","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","suppressedMessages":"59","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","suppressedMessages":"62","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","suppressedMessages":"65","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","suppressedMessages":"68","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","suppressedMessages":"71","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","suppressedMessages":"74","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"75","messages":"76","suppressedMessages":"77","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","suppressedMessages":"80","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","suppressedMessages":"83","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","suppressedMessages":"86","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/instance.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.spec.ts",[],["87","88"],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/logger.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.spec.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/sdk/src/segments.ts",[],[],{"ruleId":"89","severity":2,"message":"90","line":69,"column":5,"nodeType":"91","messageId":"92","endLine":69,"endColumn":12,"suppressions":"93"},{"ruleId":"89","severity":2,"message":"90","line":96,"column":5,"nodeType":"91","messageId":"92","endLine":96,"endColumn":12,"suppressions":"94"},"no-global-assign","Read-only global 'console' should not be modified.","Identifier","globalShouldNotBeModified",["95"],["96"],{"kind":"97","justification":"98"},{"kind":"97","justification":"98"},"directive",""]
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
# [0.69.0](https://github.com/featurevisor/featurevisor/compare/v0.68.0...v0.69.0) (2023-12-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @featurevisor/sdk
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.68.0](https://github.com/featurevisor/featurevisor/compare/v0.67.0...v0.68.0) (2023-12-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @featurevisor/sdk
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [0.67.0](https://github.com/featurevisor/featurevisor/compare/v0.66.0...v0.67.0) (2023-12-13)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @featurevisor/sdk
|
package/coverage/clover.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1702488104443" clover="3.2.0">
|
|
3
|
+
<project timestamp="1702488104443" name="All files">
|
|
4
4
|
<metrics statements="597" coveredstatements="551" conditionals="323" coveredconditionals="275" methods="100" coveredmethods="94" elements="1020" coveredelements="920" complexity="0" loc="597" ncloc="597" 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"/>
|
|
@@ -109,7 +109,7 @@ export function getBucketedNumber(bucketKey: string): number {
|
|
|
109
109
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
110
110
|
Code coverage generated by
|
|
111
111
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
112
|
-
at 2023-12-13T17:
|
|
112
|
+
at 2023-12-13T17:21:44.422Z
|
|
113
113
|
</div>
|
|
114
114
|
<script src="prettify.js"></script>
|
|
115
115
|
<script>
|
|
@@ -394,7 +394,7 @@ export function allConditionsAreMatched(
|
|
|
394
394
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
395
395
|
Code coverage generated by
|
|
396
396
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
397
|
-
at 2023-12-13T17:
|
|
397
|
+
at 2023-12-13T17:21:44.422Z
|
|
398
398
|
</div>
|
|
399
399
|
<script src="prettify.js"></script>
|
|
400
400
|
<script>
|
|
@@ -289,7 +289,7 @@ export class DatafileReader {
|
|
|
289
289
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
290
290
|
Code coverage generated by
|
|
291
291
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
292
|
-
at 2023-12-13T17:
|
|
292
|
+
at 2023-12-13T17:21:44.422Z
|
|
293
293
|
</div>
|
|
294
294
|
<script src="prettify.js"></script>
|
|
295
295
|
<script>
|
|
@@ -229,7 +229,7 @@ export class Emitter {
|
|
|
229
229
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
230
230
|
Code coverage generated by
|
|
231
231
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
232
|
-
at 2023-12-13T17:
|
|
232
|
+
at 2023-12-13T17:21:44.422Z
|
|
233
233
|
</div>
|
|
234
234
|
<script src="prettify.js"></script>
|
|
235
235
|
<script>
|
|
@@ -367,7 +367,7 @@ export function findForceFromFeature(
|
|
|
367
367
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
368
368
|
Code coverage generated by
|
|
369
369
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
370
|
-
at 2023-12-13T17:
|
|
370
|
+
at 2023-12-13T17:21:44.422Z
|
|
371
371
|
</div>
|
|
372
372
|
<script src="prettify.js"></script>
|
|
373
373
|
<script>
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
207
207
|
Code coverage generated by
|
|
208
208
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
209
|
-
at 2023-12-13T17:
|
|
209
|
+
at 2023-12-13T17:21:44.422Z
|
|
210
210
|
</div>
|
|
211
211
|
<script src="prettify.js"></script>
|
|
212
212
|
<script>
|
|
@@ -3871,7 +3871,7 @@ export function createInstance(options: InstanceOptions): FeaturevisorInstance {
|
|
|
3871
3871
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
3872
3872
|
Code coverage generated by
|
|
3873
3873
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
3874
|
-
at 2023-12-13T17:
|
|
3874
|
+
at 2023-12-13T17:21:44.422Z
|
|
3875
3875
|
</div>
|
|
3876
3876
|
<script src="prettify.js"></script>
|
|
3877
3877
|
<script>
|
|
@@ -340,7 +340,7 @@ export function createLogger(options: CreateLoggerOptions = {}): Logger {
|
|
|
340
340
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
341
341
|
Code coverage generated by
|
|
342
342
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
343
|
-
at 2023-12-13T17:
|
|
343
|
+
at 2023-12-13T17:21:44.422Z
|
|
344
344
|
</div>
|
|
345
345
|
<script src="prettify.js"></script>
|
|
346
346
|
<script>
|
|
@@ -238,7 +238,7 @@ export function allGroupSegmentsAreMatched(
|
|
|
238
238
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
239
239
|
Code coverage generated by
|
|
240
240
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
241
|
-
at 2023-12-13T17:
|
|
241
|
+
at 2023-12-13T17:21:44.422Z
|
|
242
242
|
</div>
|
|
243
243
|
<script src="prettify.js"></script>
|
|
244
244
|
<script>
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0",
|
|
4
4
|
"description": "Featurevisor SDK for Node.js and the browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
"license": "MIT",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@featurevisor/types": "^0.
|
|
48
|
+
"@featurevisor/types": "^0.69.0",
|
|
49
49
|
"compare-versions": "^6.0.0-rc.1",
|
|
50
50
|
"murmurhash": "^2.0.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "cb263166d64b47d1fa673938d0aee5083057bee3"
|
|
53
53
|
}
|