@featurevisor/react 0.46.2 → 0.47.1
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 -0
- package/.eslintrc.js +8 -0
- package/.prettierignore +5 -0
- package/CHANGELOG.md +74 -55
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/FeaturevisorContext.ts.html +1 -1
- package/coverage/lcov-report/FeaturevisorProvider.tsx.html +1 -1
- package/coverage/lcov-report/activateFeature.ts.html +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/useFlag.ts.html +1 -1
- package/coverage/lcov-report/useSdk.ts.html +1 -1
- package/coverage/lcov-report/useStatus.ts.html +1 -1
- package/coverage/lcov-report/useVariable.ts.html +1 -1
- package/coverage/lcov-report/useVariation.ts.html +1 -1
- package/dist/index.js.gz +0 -0
- package/package.json +11 -8
- package/prettier.config.js +8 -0
package/.eslintcache
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"/home/runner/work/featurevisor/featurevisor/packages/react/src/FeaturevisorContext.ts":"1","/home/runner/work/featurevisor/featurevisor/packages/react/src/FeaturevisorProvider.tsx":"2","/home/runner/work/featurevisor/featurevisor/packages/react/src/activateFeature.spec.tsx":"3","/home/runner/work/featurevisor/featurevisor/packages/react/src/activateFeature.ts":"4","/home/runner/work/featurevisor/featurevisor/packages/react/src/index.ts":"5","/home/runner/work/featurevisor/featurevisor/packages/react/src/useFlag.spec.tsx":"6","/home/runner/work/featurevisor/featurevisor/packages/react/src/useFlag.ts":"7","/home/runner/work/featurevisor/featurevisor/packages/react/src/useSdk.spec.tsx":"8","/home/runner/work/featurevisor/featurevisor/packages/react/src/useSdk.ts":"9","/home/runner/work/featurevisor/featurevisor/packages/react/src/useStatus.spec.tsx":"10","/home/runner/work/featurevisor/featurevisor/packages/react/src/useStatus.ts":"11","/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariable.spec.tsx":"12","/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariable.ts":"13","/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariation.spec.tsx":"14","/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariation.ts":"15"},{"size":192,"mtime":1694550300695,"results":"16","hashOfConfig":"17"},{"size":472,"mtime":1694550300695,"results":"18","hashOfConfig":"17"},{"size":1560,"mtime":1694550300695,"results":"19","hashOfConfig":"17"},{"size":299,"mtime":1694550300695,"results":"20","hashOfConfig":"17"},{"size":296,"mtime":1694550300695,"results":"21","hashOfConfig":"17"},{"size":1750,"mtime":1694550300695,"results":"22","hashOfConfig":"17"},{"size":250,"mtime":1694550300695,"results":"23","hashOfConfig":"17"},{"size":1494,"mtime":1694550300695,"results":"24","hashOfConfig":"17"},{"size":296,"mtime":1694550300695,"results":"25","hashOfConfig":"17"},{"size":1500,"mtime":1694550300695,"results":"26","hashOfConfig":"17"},{"size":515,"mtime":1694550300695,"results":"27","hashOfConfig":"17"},{"size":1972,"mtime":1694550300695,"results":"28","hashOfConfig":"17"},{"size":350,"mtime":1694550300695,"results":"29","hashOfConfig":"17"},{"size":1545,"mtime":1694550300695,"results":"30","hashOfConfig":"17"},{"size":300,"mtime":1694550300695,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","suppressedMessages":"34","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1dd0kog",{"filePath":"35","messages":"36","suppressedMessages":"37","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","suppressedMessages":"40","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"41","messages":"42","suppressedMessages":"43","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"44","messages":"45","suppressedMessages":"46","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"47","messages":"48","suppressedMessages":"49","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"50","messages":"51","suppressedMessages":"52","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"53","messages":"54","suppressedMessages":"55","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","suppressedMessages":"58","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"65","messages":"66","suppressedMessages":"67","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","suppressedMessages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/featurevisor/featurevisor/packages/react/src/FeaturevisorContext.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/FeaturevisorProvider.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/activateFeature.spec.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/activateFeature.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/index.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useFlag.spec.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useFlag.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useSdk.spec.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useSdk.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useStatus.spec.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useStatus.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariable.spec.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariable.ts",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariation.spec.tsx",[],[],"/home/runner/work/featurevisor/featurevisor/packages/react/src/useVariation.ts",[],[]]
|
package/.eslintrc.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
## [0.47.1](https://github.com/featurevisor/featurevisor/compare/v0.47.0...v0.47.1) (2023-09-12)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @featurevisor/react
|
|
9
9
|
|
|
@@ -11,7 +11,26 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
# [0.47.0](https://github.com/featurevisor/featurevisor/compare/v0.46.2...v0.47.0) (2023-09-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* use Prettier v2.x ([#143](https://github.com/featurevisor/featurevisor/issues/143)) ([ddca499](https://github.com/featurevisor/featurevisor/commit/ddca499526f2f8bf10dc340fb55877584501a682))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [0.46.2](https://github.com/featurevisor/featurevisor/compare/v0.46.1...v0.46.2) (2023-08-31)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @featurevisor/react
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [0.46.1](https://github.com/featurevisor/featurevisor/compare/v0.46.0...v0.46.1) (2023-08-31)
|
|
15
34
|
|
|
16
35
|
**Note:** Version bump only for package @featurevisor/react
|
|
17
36
|
|
|
@@ -19,7 +38,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
38
|
|
|
20
39
|
|
|
21
40
|
|
|
22
|
-
# [0.46.0](https://github.com/
|
|
41
|
+
# [0.46.0](https://github.com/featurevisor/featurevisor/compare/v0.45.0...v0.46.0) (2023-08-27)
|
|
23
42
|
|
|
24
43
|
**Note:** Version bump only for package @featurevisor/react
|
|
25
44
|
|
|
@@ -27,29 +46,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
46
|
|
|
28
47
|
|
|
29
48
|
|
|
30
|
-
# [0.45.0](https://github.com/
|
|
49
|
+
# [0.45.0](https://github.com/featurevisor/featurevisor/compare/v0.44.2...v0.45.0) (2023-08-20)
|
|
31
50
|
|
|
32
51
|
|
|
33
52
|
### Features
|
|
34
53
|
|
|
35
|
-
* React provider component prop renamed from sdk to instance ([#129](https://github.com/
|
|
54
|
+
* React provider component prop renamed from sdk to instance ([#129](https://github.com/featurevisor/featurevisor/issues/129)) ([9e8015c](https://github.com/featurevisor/featurevisor/commit/9e8015c14a0924d25b75f06fd2a6e6ef6c5eee7a))
|
|
36
55
|
|
|
37
56
|
|
|
38
57
|
|
|
39
58
|
|
|
40
59
|
|
|
41
|
-
## [0.44.2](https://github.com/
|
|
60
|
+
## [0.44.2](https://github.com/featurevisor/featurevisor/compare/v0.44.1...v0.44.2) (2023-08-12)
|
|
42
61
|
|
|
43
62
|
|
|
44
63
|
### Bug Fixes
|
|
45
64
|
|
|
46
|
-
* useStatus React hook ([#124](https://github.com/
|
|
65
|
+
* useStatus React hook ([#124](https://github.com/featurevisor/featurevisor/issues/124)) ([d042979](https://github.com/featurevisor/featurevisor/commit/d042979d4f01d11eff88cfb545fe68fc8d0c8e98))
|
|
47
66
|
|
|
48
67
|
|
|
49
68
|
|
|
50
69
|
|
|
51
70
|
|
|
52
|
-
# [0.44.0](https://github.com/
|
|
71
|
+
# [0.44.0](https://github.com/featurevisor/featurevisor/compare/v0.43.0...v0.44.0) (2023-08-07)
|
|
53
72
|
|
|
54
73
|
**Note:** Version bump only for package @featurevisor/react
|
|
55
74
|
|
|
@@ -57,7 +76,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
57
76
|
|
|
58
77
|
|
|
59
78
|
|
|
60
|
-
# [0.43.0](https://github.com/
|
|
79
|
+
# [0.43.0](https://github.com/featurevisor/featurevisor/compare/v0.42.1...v0.43.0) (2023-08-05)
|
|
61
80
|
|
|
62
81
|
**Note:** Version bump only for package @featurevisor/react
|
|
63
82
|
|
|
@@ -65,7 +84,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
65
84
|
|
|
66
85
|
|
|
67
86
|
|
|
68
|
-
## [0.42.1](https://github.com/
|
|
87
|
+
## [0.42.1](https://github.com/featurevisor/featurevisor/compare/v0.42.0...v0.42.1) (2023-08-01)
|
|
69
88
|
|
|
70
89
|
**Note:** Version bump only for package @featurevisor/react
|
|
71
90
|
|
|
@@ -73,7 +92,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
73
92
|
|
|
74
93
|
|
|
75
94
|
|
|
76
|
-
# [0.42.0](https://github.com/
|
|
95
|
+
# [0.42.0](https://github.com/featurevisor/featurevisor/compare/v0.41.0...v0.42.0) (2023-07-23)
|
|
77
96
|
|
|
78
97
|
**Note:** Version bump only for package @featurevisor/react
|
|
79
98
|
|
|
@@ -81,18 +100,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
81
100
|
|
|
82
101
|
|
|
83
102
|
|
|
84
|
-
# [0.41.0](https://github.com/
|
|
103
|
+
# [0.41.0](https://github.com/featurevisor/featurevisor/compare/v0.40.1...v0.41.0) (2023-07-23)
|
|
85
104
|
|
|
86
105
|
|
|
87
106
|
### Features
|
|
88
107
|
|
|
89
|
-
* required features ([5b1e1c3](https://github.com/
|
|
108
|
+
* required features ([5b1e1c3](https://github.com/featurevisor/featurevisor/commit/5b1e1c354f0caac6435547a825d066c2f41d6063))
|
|
90
109
|
|
|
91
110
|
|
|
92
111
|
|
|
93
112
|
|
|
94
113
|
|
|
95
|
-
## [0.40.1](https://github.com/
|
|
114
|
+
## [0.40.1](https://github.com/featurevisor/featurevisor/compare/v0.40.0...v0.40.1) (2023-07-23)
|
|
96
115
|
|
|
97
116
|
**Note:** Version bump only for package @featurevisor/react
|
|
98
117
|
|
|
@@ -100,18 +119,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
100
119
|
|
|
101
120
|
|
|
102
121
|
|
|
103
|
-
# [0.40.0](https://github.com/
|
|
122
|
+
# [0.40.0](https://github.com/featurevisor/featurevisor/compare/v0.39.2...v0.40.0) (2023-07-16)
|
|
104
123
|
|
|
105
124
|
|
|
106
125
|
### Features
|
|
107
126
|
|
|
108
|
-
* Hooks for checking if feature is enabled in React and Vue.js ([#108](https://github.com/
|
|
127
|
+
* Hooks for checking if feature is enabled in React and Vue.js ([#108](https://github.com/featurevisor/featurevisor/issues/108)) ([4e2a269](https://github.com/featurevisor/featurevisor/commit/4e2a269da923a94055d232ec479e6562dc297120))
|
|
109
128
|
|
|
110
129
|
|
|
111
130
|
|
|
112
131
|
|
|
113
132
|
|
|
114
|
-
## [0.39.1](https://github.com/
|
|
133
|
+
## [0.39.1](https://github.com/featurevisor/featurevisor/compare/v0.39.0...v0.39.1) (2023-07-16)
|
|
115
134
|
|
|
116
135
|
**Note:** Version bump only for package @featurevisor/react
|
|
117
136
|
|
|
@@ -119,7 +138,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
119
138
|
|
|
120
139
|
|
|
121
140
|
|
|
122
|
-
# [0.39.0](https://github.com/
|
|
141
|
+
# [0.39.0](https://github.com/featurevisor/featurevisor/compare/v0.38.0...v0.39.0) (2023-07-16)
|
|
123
142
|
|
|
124
143
|
**Note:** Version bump only for package @featurevisor/react
|
|
125
144
|
|
|
@@ -127,29 +146,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
127
146
|
|
|
128
147
|
|
|
129
148
|
|
|
130
|
-
# [0.38.0](https://github.com/
|
|
149
|
+
# [0.38.0](https://github.com/featurevisor/featurevisor/compare/v0.37.1...v0.38.0) (2023-07-16)
|
|
131
150
|
|
|
132
151
|
|
|
133
152
|
### Features
|
|
134
153
|
|
|
135
|
-
* SDK to support isEnabled() checks ([#104](https://github.com/
|
|
154
|
+
* SDK to support isEnabled() checks ([#104](https://github.com/featurevisor/featurevisor/issues/104)) ([4f52136](https://github.com/featurevisor/featurevisor/commit/4f521367a3f1ef76833ba614b6a1f4b66abef2e1))
|
|
136
155
|
|
|
137
156
|
|
|
138
157
|
|
|
139
158
|
|
|
140
159
|
|
|
141
|
-
# [0.37.0](https://github.com/
|
|
160
|
+
# [0.37.0](https://github.com/featurevisor/featurevisor/compare/v0.36.0...v0.37.0) (2023-07-14)
|
|
142
161
|
|
|
143
162
|
|
|
144
163
|
### Features
|
|
145
164
|
|
|
146
|
-
* renamed Attributes (object) to Context ([#101](https://github.com/
|
|
165
|
+
* renamed Attributes (object) to Context ([#101](https://github.com/featurevisor/featurevisor/issues/101)) ([c392ad5](https://github.com/featurevisor/featurevisor/commit/c392ad5f1b6100167aa5637b131f08036a7f5a55))
|
|
147
166
|
|
|
148
167
|
|
|
149
168
|
|
|
150
169
|
|
|
151
170
|
|
|
152
|
-
# [0.36.0](https://github.com/
|
|
171
|
+
# [0.36.0](https://github.com/featurevisor/featurevisor/compare/v0.35.0...v0.36.0) (2023-07-13)
|
|
153
172
|
|
|
154
173
|
**Note:** Version bump only for package @featurevisor/react
|
|
155
174
|
|
|
@@ -157,7 +176,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
157
176
|
|
|
158
177
|
|
|
159
178
|
|
|
160
|
-
# [0.35.0](https://github.com/
|
|
179
|
+
# [0.35.0](https://github.com/featurevisor/featurevisor/compare/v0.34.0...v0.35.0) (2023-07-13)
|
|
161
180
|
|
|
162
181
|
**Note:** Version bump only for package @featurevisor/react
|
|
163
182
|
|
|
@@ -165,7 +184,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
165
184
|
|
|
166
185
|
|
|
167
186
|
|
|
168
|
-
# [0.34.0](https://github.com/
|
|
187
|
+
# [0.34.0](https://github.com/featurevisor/featurevisor/compare/v0.33.1...v0.34.0) (2023-07-08)
|
|
169
188
|
|
|
170
189
|
**Note:** Version bump only for package @featurevisor/react
|
|
171
190
|
|
|
@@ -173,7 +192,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
173
192
|
|
|
174
193
|
|
|
175
194
|
|
|
176
|
-
# [0.33.0](https://github.com/
|
|
195
|
+
# [0.33.0](https://github.com/featurevisor/featurevisor/compare/v0.32.1...v0.33.0) (2023-07-06)
|
|
177
196
|
|
|
178
197
|
**Note:** Version bump only for package @featurevisor/react
|
|
179
198
|
|
|
@@ -181,7 +200,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
181
200
|
|
|
182
201
|
|
|
183
202
|
|
|
184
|
-
# [0.32.0](https://github.com/
|
|
203
|
+
# [0.32.0](https://github.com/featurevisor/featurevisor/compare/v0.31.2...v0.32.0) (2023-07-02)
|
|
185
204
|
|
|
186
205
|
**Note:** Version bump only for package @featurevisor/react
|
|
187
206
|
|
|
@@ -189,7 +208,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
189
208
|
|
|
190
209
|
|
|
191
210
|
|
|
192
|
-
# [0.31.0](https://github.com/
|
|
211
|
+
# [0.31.0](https://github.com/featurevisor/featurevisor/compare/v0.30.1...v0.31.0) (2023-06-24)
|
|
193
212
|
|
|
194
213
|
**Note:** Version bump only for package @featurevisor/react
|
|
195
214
|
|
|
@@ -197,7 +216,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
197
216
|
|
|
198
217
|
|
|
199
218
|
|
|
200
|
-
## [0.30.1](https://github.com/
|
|
219
|
+
## [0.30.1](https://github.com/featurevisor/featurevisor/compare/v0.30.0...v0.30.1) (2023-06-14)
|
|
201
220
|
|
|
202
221
|
**Note:** Version bump only for package @featurevisor/react
|
|
203
222
|
|
|
@@ -205,7 +224,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
205
224
|
|
|
206
225
|
|
|
207
226
|
|
|
208
|
-
# [0.30.0](https://github.com/
|
|
227
|
+
# [0.30.0](https://github.com/featurevisor/featurevisor/compare/v0.29.0...v0.30.0) (2023-06-10)
|
|
209
228
|
|
|
210
229
|
**Note:** Version bump only for package @featurevisor/react
|
|
211
230
|
|
|
@@ -213,18 +232,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
213
232
|
|
|
214
233
|
|
|
215
234
|
|
|
216
|
-
# [0.29.0](https://github.com/
|
|
235
|
+
# [0.29.0](https://github.com/featurevisor/featurevisor/compare/v0.28.1...v0.29.0) (2023-06-10)
|
|
217
236
|
|
|
218
237
|
|
|
219
238
|
### Features
|
|
220
239
|
|
|
221
|
-
* drop Allocation.percentage in datafiles ([#80](https://github.com/
|
|
240
|
+
* drop Allocation.percentage in datafiles ([#80](https://github.com/featurevisor/featurevisor/issues/80)) ([b43da69](https://github.com/featurevisor/featurevisor/commit/b43da6922f81aef9fe8e8a54342067627adb990b))
|
|
222
241
|
|
|
223
242
|
|
|
224
243
|
|
|
225
244
|
|
|
226
245
|
|
|
227
|
-
## [0.28.1](https://github.com/
|
|
246
|
+
## [0.28.1](https://github.com/featurevisor/featurevisor/compare/v0.28.0...v0.28.1) (2023-06-08)
|
|
228
247
|
|
|
229
248
|
**Note:** Version bump only for package @featurevisor/react
|
|
230
249
|
|
|
@@ -232,7 +251,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
232
251
|
|
|
233
252
|
|
|
234
253
|
|
|
235
|
-
# [0.28.0](https://github.com/
|
|
254
|
+
# [0.28.0](https://github.com/featurevisor/featurevisor/compare/v0.27.1...v0.28.0) (2023-06-08)
|
|
236
255
|
|
|
237
256
|
**Note:** Version bump only for package @featurevisor/react
|
|
238
257
|
|
|
@@ -240,7 +259,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
240
259
|
|
|
241
260
|
|
|
242
261
|
|
|
243
|
-
# [0.27.0](https://github.com/
|
|
262
|
+
# [0.27.0](https://github.com/featurevisor/featurevisor/compare/v0.26.0...v0.27.0) (2023-05-24)
|
|
244
263
|
|
|
245
264
|
**Note:** Version bump only for package @featurevisor/react
|
|
246
265
|
|
|
@@ -248,7 +267,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
248
267
|
|
|
249
268
|
|
|
250
269
|
|
|
251
|
-
# [0.26.0](https://github.com/
|
|
270
|
+
# [0.26.0](https://github.com/featurevisor/featurevisor/compare/v0.25.0...v0.26.0) (2023-05-24)
|
|
252
271
|
|
|
253
272
|
**Note:** Version bump only for package @featurevisor/react
|
|
254
273
|
|
|
@@ -256,7 +275,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
256
275
|
|
|
257
276
|
|
|
258
277
|
|
|
259
|
-
# [0.25.0](https://github.com/
|
|
278
|
+
# [0.25.0](https://github.com/featurevisor/featurevisor/compare/v0.24.0...v0.25.0) (2023-05-22)
|
|
260
279
|
|
|
261
280
|
**Note:** Version bump only for package @featurevisor/react
|
|
262
281
|
|
|
@@ -264,7 +283,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
264
283
|
|
|
265
284
|
|
|
266
285
|
|
|
267
|
-
# [0.24.0](https://github.com/
|
|
286
|
+
# [0.24.0](https://github.com/featurevisor/featurevisor/compare/v0.23.0...v0.24.0) (2023-05-21)
|
|
268
287
|
|
|
269
288
|
**Note:** Version bump only for package @featurevisor/react
|
|
270
289
|
|
|
@@ -272,7 +291,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
272
291
|
|
|
273
292
|
|
|
274
293
|
|
|
275
|
-
# [0.23.0](https://github.com/
|
|
294
|
+
# [0.23.0](https://github.com/featurevisor/featurevisor/compare/v0.22.0...v0.23.0) (2023-05-20)
|
|
276
295
|
|
|
277
296
|
**Note:** Version bump only for package @featurevisor/react
|
|
278
297
|
|
|
@@ -280,7 +299,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
280
299
|
|
|
281
300
|
|
|
282
301
|
|
|
283
|
-
# [0.22.0](https://github.com/
|
|
302
|
+
# [0.22.0](https://github.com/featurevisor/featurevisor/compare/v0.21.0...v0.22.0) (2023-05-20)
|
|
284
303
|
|
|
285
304
|
**Note:** Version bump only for package @featurevisor/react
|
|
286
305
|
|
|
@@ -288,18 +307,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
288
307
|
|
|
289
308
|
|
|
290
309
|
|
|
291
|
-
# [0.21.0](https://github.com/
|
|
310
|
+
# [0.21.0](https://github.com/featurevisor/featurevisor/compare/v0.20.2...v0.21.0) (2023-05-14)
|
|
292
311
|
|
|
293
312
|
|
|
294
313
|
### Features
|
|
295
314
|
|
|
296
|
-
* allow customizing bucket key ([#71](https://github.com/
|
|
315
|
+
* allow customizing bucket key ([#71](https://github.com/featurevisor/featurevisor/issues/71)) ([c905ab5](https://github.com/featurevisor/featurevisor/commit/c905ab5354e29a3cad884003cdb96e89044e2f1c))
|
|
297
316
|
|
|
298
317
|
|
|
299
318
|
|
|
300
319
|
|
|
301
320
|
|
|
302
|
-
## [0.20.2](https://github.com/
|
|
321
|
+
## [0.20.2](https://github.com/featurevisor/featurevisor/compare/v0.20.1...v0.20.2) (2023-05-14)
|
|
303
322
|
|
|
304
323
|
**Note:** Version bump only for package @featurevisor/react
|
|
305
324
|
|
|
@@ -307,7 +326,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
307
326
|
|
|
308
327
|
|
|
309
328
|
|
|
310
|
-
## [0.20.1](https://github.com/
|
|
329
|
+
## [0.20.1](https://github.com/featurevisor/featurevisor/compare/v0.20.0...v0.20.1) (2023-05-13)
|
|
311
330
|
|
|
312
331
|
**Note:** Version bump only for package @featurevisor/react
|
|
313
332
|
|
|
@@ -315,7 +334,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
315
334
|
|
|
316
335
|
|
|
317
336
|
|
|
318
|
-
# [0.20.0](https://github.com/
|
|
337
|
+
# [0.20.0](https://github.com/featurevisor/featurevisor/compare/v0.19.0...v0.20.0) (2023-05-13)
|
|
319
338
|
|
|
320
339
|
**Note:** Version bump only for package @featurevisor/react
|
|
321
340
|
|
|
@@ -323,7 +342,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
323
342
|
|
|
324
343
|
|
|
325
344
|
|
|
326
|
-
# [0.19.0](https://github.com/
|
|
345
|
+
# [0.19.0](https://github.com/featurevisor/featurevisor/compare/v0.18.0...v0.19.0) (2023-05-13)
|
|
327
346
|
|
|
328
347
|
**Note:** Version bump only for package @featurevisor/react
|
|
329
348
|
|
|
@@ -331,7 +350,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
331
350
|
|
|
332
351
|
|
|
333
352
|
|
|
334
|
-
# [0.18.0](https://github.com/
|
|
353
|
+
# [0.18.0](https://github.com/featurevisor/featurevisor/compare/v0.17.0...v0.18.0) (2023-05-12)
|
|
335
354
|
|
|
336
355
|
**Note:** Version bump only for package @featurevisor/react
|
|
337
356
|
|
|
@@ -339,7 +358,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
339
358
|
|
|
340
359
|
|
|
341
360
|
|
|
342
|
-
# [0.17.0](https://github.com/
|
|
361
|
+
# [0.17.0](https://github.com/featurevisor/featurevisor/compare/v0.16.0...v0.17.0) (2023-05-12)
|
|
343
362
|
|
|
344
363
|
**Note:** Version bump only for package @featurevisor/react
|
|
345
364
|
|
|
@@ -347,18 +366,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
347
366
|
|
|
348
367
|
|
|
349
368
|
|
|
350
|
-
# [0.16.0](https://github.com/
|
|
369
|
+
# [0.16.0](https://github.com/featurevisor/featurevisor/compare/v0.15.0...v0.16.0) (2023-04-30)
|
|
351
370
|
|
|
352
371
|
|
|
353
372
|
### Features
|
|
354
373
|
|
|
355
|
-
* Mutually exclusive experiments via Groups ([#63](https://github.com/
|
|
374
|
+
* Mutually exclusive experiments via Groups ([#63](https://github.com/featurevisor/featurevisor/issues/63)) ([f3c8523](https://github.com/featurevisor/featurevisor/commit/f3c85236d36fd0e499897f9ce1c2ed551c111523))
|
|
356
375
|
|
|
357
376
|
|
|
358
377
|
|
|
359
378
|
|
|
360
379
|
|
|
361
|
-
# [0.15.0](https://github.com/
|
|
380
|
+
# [0.15.0](https://github.com/featurevisor/featurevisor/compare/v0.14.1...v0.15.0) (2023-04-23)
|
|
362
381
|
|
|
363
382
|
**Note:** Version bump only for package @featurevisor/react
|
|
364
383
|
|
|
@@ -366,20 +385,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
366
385
|
|
|
367
386
|
|
|
368
387
|
|
|
369
|
-
## [0.14.1](https://github.com/
|
|
388
|
+
## [0.14.1](https://github.com/featurevisor/featurevisor/compare/v0.14.0...v0.14.1) (2023-04-22)
|
|
370
389
|
|
|
371
390
|
|
|
372
391
|
### Bug Fixes
|
|
373
392
|
|
|
374
|
-
* do not require variation type in Feature's YAML ([#57](https://github.com/
|
|
393
|
+
* do not require variation type in Feature's YAML ([#57](https://github.com/featurevisor/featurevisor/issues/57)) ([2e7c0cf](https://github.com/featurevisor/featurevisor/commit/2e7c0cfb441a60beffa14dae17152257d97862b0))
|
|
375
394
|
|
|
376
395
|
|
|
377
396
|
|
|
378
397
|
|
|
379
398
|
|
|
380
|
-
# [0.14.0](https://github.com/
|
|
399
|
+
# [0.14.0](https://github.com/featurevisor/featurevisor/compare/v0.13.1...v0.14.0) (2023-04-21)
|
|
381
400
|
|
|
382
401
|
|
|
383
402
|
### Features
|
|
384
403
|
|
|
385
|
-
* React integration package ([#56](https://github.com/
|
|
404
|
+
* React integration package ([#56](https://github.com/featurevisor/featurevisor/issues/56)) ([d0f6ad8](https://github.com/featurevisor/featurevisor/commit/d0f6ad8a7e40fa06a741706a5322c08486e84ea9))
|
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="1694550495318" clover="3.2.0">
|
|
3
|
+
<project timestamp="1694550495318" name="All files">
|
|
4
4
|
<metrics statements="42" coveredstatements="41" conditionals="4" coveredconditionals="0" methods="10" coveredmethods="9" elements="56" coveredelements="50" complexity="0" loc="42" ncloc="42" packages="1" files="8" classes="8"/>
|
|
5
5
|
<file name="FeaturevisorContext.ts" path="/home/runner/work/featurevisor/featurevisor/packages/react/src/FeaturevisorContext.ts">
|
|
6
6
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -82,7 +82,7 @@ export const FeaturevisorContext = React.createContext<FeaturevisorInstance |
|
|
|
82
82
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
83
83
|
Code coverage generated by
|
|
84
84
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
85
|
-
at 2023-
|
|
85
|
+
at 2023-09-12T20:28:15.307Z
|
|
86
86
|
</div>
|
|
87
87
|
<script src="prettify.js"></script>
|
|
88
88
|
<script>
|
|
@@ -121,7 +121,7 @@ export function FeaturevisorProvider(props: FeaturevisorProviderProps) {
|
|
|
121
121
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
122
122
|
Code coverage generated by
|
|
123
123
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
124
|
-
at 2023-
|
|
124
|
+
at 2023-09-12T20:28:15.307Z
|
|
125
125
|
</div>
|
|
126
126
|
<script src="prettify.js"></script>
|
|
127
127
|
<script>
|
|
@@ -106,7 +106,7 @@ export function activateFeature(
|
|
|
106
106
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
107
107
|
Code coverage generated by
|
|
108
108
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
109
|
-
at 2023-
|
|
109
|
+
at 2023-09-12T20:28:15.307Z
|
|
110
110
|
</div>
|
|
111
111
|
<script src="prettify.js"></script>
|
|
112
112
|
<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-
|
|
209
|
+
at 2023-09-12T20:28:15.307Z
|
|
210
210
|
</div>
|
|
211
211
|
<script src="prettify.js"></script>
|
|
212
212
|
<script>
|
|
@@ -97,7 +97,7 @@ export function useFlag(featureKey: FeatureKey, <span class="missing-if-branch"
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2023-
|
|
100
|
+
at 2023-09-12T20:28:15.307Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -100,7 +100,7 @@ export function useSdk(): FeaturevisorInstance {
|
|
|
100
100
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
101
|
Code coverage generated by
|
|
102
102
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
103
|
-
at 2023-
|
|
103
|
+
at 2023-09-12T20:28:15.307Z
|
|
104
104
|
</div>
|
|
105
105
|
<script src="prettify.js"></script>
|
|
106
106
|
<script>
|
|
@@ -154,7 +154,7 @@ export function useStatus(): Status {
|
|
|
154
154
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
155
155
|
Code coverage generated by
|
|
156
156
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
157
|
-
at 2023-
|
|
157
|
+
at 2023-09-12T20:28:15.307Z
|
|
158
158
|
</div>
|
|
159
159
|
<script src="prettify.js"></script>
|
|
160
160
|
<script>
|
|
@@ -109,7 +109,7 @@ export function useVariable(
|
|
|
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-
|
|
112
|
+
at 2023-09-12T20:28:15.307Z
|
|
113
113
|
</div>
|
|
114
114
|
<script src="prettify.js"></script>
|
|
115
115
|
<script>
|
|
@@ -106,7 +106,7 @@ export function useVariation(
|
|
|
106
106
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
107
107
|
Code coverage generated by
|
|
108
108
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
109
|
-
at 2023-
|
|
109
|
+
at 2023-09-12T20:28:15.307Z
|
|
110
110
|
</div>
|
|
111
111
|
<script src="prettify.js"></script>
|
|
112
112
|
<script>
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"description": "React package for Featurevisor",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"lint": "echo 'not linting in this package yet'",
|
|
10
9
|
"transpile": "rimraf lib && tsc --project tsconfig.esm.json",
|
|
11
10
|
"dist": "webpack --config ./webpack.config.js",
|
|
12
11
|
"build": "npm run transpile && npm run dist",
|
|
13
|
-
"test": "jest --config jest.config.js --verbose --coverage"
|
|
12
|
+
"test": "jest --config jest.config.js --verbose --coverage",
|
|
13
|
+
"format": "prettier . --check --cache --log-level=warn",
|
|
14
|
+
"lint": "eslint . --cache",
|
|
15
|
+
"format:fix": "prettier . --write --cache --log-level=warn",
|
|
16
|
+
"lint:fix": "eslint . --fix --cache"
|
|
14
17
|
},
|
|
15
18
|
"author": {
|
|
16
19
|
"name": "Fahad Heylaal",
|
|
@@ -32,18 +35,18 @@
|
|
|
32
35
|
],
|
|
33
36
|
"repository": {
|
|
34
37
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/
|
|
38
|
+
"url": "https://github.com/featurevisor/featurevisor.git"
|
|
36
39
|
},
|
|
37
40
|
"publishConfig": {
|
|
38
41
|
"access": "public",
|
|
39
42
|
"registry": "https://registry.npmjs.org/"
|
|
40
43
|
},
|
|
41
44
|
"bugs": {
|
|
42
|
-
"url": "https://github.com/
|
|
45
|
+
"url": "https://github.com/featurevisor/featurevisor/issues"
|
|
43
46
|
},
|
|
44
47
|
"dependencies": {
|
|
45
|
-
"@featurevisor/sdk": "^0.
|
|
46
|
-
"@featurevisor/types": "^0.
|
|
48
|
+
"@featurevisor/sdk": "^0.47.1",
|
|
49
|
+
"@featurevisor/types": "^0.47.1"
|
|
47
50
|
},
|
|
48
51
|
"license": "MIT",
|
|
49
52
|
"devDependencies": {
|
|
@@ -51,5 +54,5 @@
|
|
|
51
54
|
"@testing-library/react": "^14.0.0",
|
|
52
55
|
"jest-environment-jsdom": "^29.5.0"
|
|
53
56
|
},
|
|
54
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "1f71f945cf6bbfe420d41ae03ac205cbf30aba83"
|
|
55
58
|
}
|