@featurevisor/react 1.27.2 → 1.27.4
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 +8 -0
- 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 +3 -3
package/.eslintcache
CHANGED
|
@@ -1 +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":
|
|
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":1733086696751,"results":"16","hashOfConfig":"17"},{"size":472,"mtime":1733086696751,"results":"18","hashOfConfig":"17"},{"size":1560,"mtime":1733086696751,"results":"19","hashOfConfig":"17"},{"size":299,"mtime":1733086696751,"results":"20","hashOfConfig":"17"},{"size":296,"mtime":1733086696751,"results":"21","hashOfConfig":"17"},{"size":1750,"mtime":1733086696751,"results":"22","hashOfConfig":"17"},{"size":250,"mtime":1733086696751,"results":"23","hashOfConfig":"17"},{"size":1494,"mtime":1733086696751,"results":"24","hashOfConfig":"17"},{"size":296,"mtime":1733086696751,"results":"25","hashOfConfig":"17"},{"size":1500,"mtime":1733086696751,"results":"26","hashOfConfig":"17"},{"size":515,"mtime":1733086696751,"results":"27","hashOfConfig":"17"},{"size":1972,"mtime":1733086696751,"results":"28","hashOfConfig":"17"},{"size":350,"mtime":1733086696751,"results":"29","hashOfConfig":"17"},{"size":1545,"mtime":1733086696751,"results":"30","hashOfConfig":"17"},{"size":300,"mtime":1733086696751,"results":"31","hashOfConfig":"17"},{"filePath":"32","messages":"33","suppressedMessages":"34","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ts7os7",{"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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.27.4](https://github.com/featurevisor/featurevisor/compare/v1.27.3...v1.27.4) (2024-12-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @featurevisor/react
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.27.2](https://github.com/featurevisor/featurevisor/compare/v1.27.1...v1.27.2) (2024-08-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @featurevisor/react
|
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="1733086834763" clover="3.2.0">
|
|
3
|
+
<project timestamp="1733086834763" name="All files">
|
|
4
4
|
<metrics statements="39" coveredstatements="38" conditionals="4" coveredconditionals="0" methods="10" coveredmethods="9" elements="53" coveredelements="47" complexity="0" loc="39" ncloc="39" 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 2024-
|
|
85
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
124
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
109
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
209
|
+
at 2024-12-01T21:00:34.737Z
|
|
210
210
|
</div>
|
|
211
211
|
<script src="prettify.js"></script>
|
|
212
212
|
<script>
|
|
@@ -97,7 +97,7 @@ export function useFlag(featureKey: FeatureKey, context: Context = <span class="
|
|
|
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 2024-
|
|
100
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
103
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
157
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
112
|
+
at 2024-12-01T21:00:34.737Z
|
|
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 2024-
|
|
109
|
+
at 2024-12-01T21:00:34.737Z
|
|
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/react",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.4",
|
|
4
4
|
"description": "React package for Featurevisor",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"url": "https://github.com/featurevisor/featurevisor/issues"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@featurevisor/sdk": "^1.27.
|
|
48
|
+
"@featurevisor/sdk": "^1.27.4",
|
|
49
49
|
"@featurevisor/types": "^1.3.0"
|
|
50
50
|
},
|
|
51
51
|
"license": "MIT",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"@testing-library/react": "^14.0.0",
|
|
55
55
|
"jest-environment-jsdom": "^29.5.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "d50199428b4315f96a07b2b5e789d944c8dc4260"
|
|
58
58
|
}
|