@flopflip/adapter-utilities 1.0.30 → 1.0.32
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.
|
@@ -29,7 +29,7 @@ var exposeGlobally = function exposeGlobally(adapter) {
|
|
|
29
29
|
|
|
30
30
|
var normalizeFlag = function normalizeFlag(flagName, flagValue) {
|
|
31
31
|
return [camelCase__default["default"](flagName), // Multi variate flags contain a string or `null` - `false` seems more natural.
|
|
32
|
-
// eslint-disable-next-line no-eq-null, eqeqeq
|
|
32
|
+
// eslint-disable-next-line no-eq-null, eqeqeq, @typescript-eslint/prefer-nullish-coalescing
|
|
33
33
|
flagValue == null ? false : flagValue];
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ var exposeGlobally = function exposeGlobally(adapter) {
|
|
|
29
29
|
|
|
30
30
|
var normalizeFlag = function normalizeFlag(flagName, flagValue) {
|
|
31
31
|
return [camelCase__default["default"](flagName), // Multi variate flags contain a string or `null` - `false` seems more natural.
|
|
32
|
-
// eslint-disable-next-line no-eq-null, eqeqeq
|
|
32
|
+
// eslint-disable-next-line no-eq-null, eqeqeq, @typescript-eslint/prefer-nullish-coalescing
|
|
33
33
|
flagValue == null ? false : flagValue];
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -19,7 +19,7 @@ var exposeGlobally = function exposeGlobally(adapter) {
|
|
|
19
19
|
|
|
20
20
|
var normalizeFlag = function normalizeFlag(flagName, flagValue) {
|
|
21
21
|
return [camelCase(flagName), // Multi variate flags contain a string or `null` - `false` seems more natural.
|
|
22
|
-
// eslint-disable-next-line no-eq-null, eqeqeq
|
|
22
|
+
// eslint-disable-next-line no-eq-null, eqeqeq, @typescript-eslint/prefer-nullish-coalescing
|
|
23
23
|
flagValue == null ? false : flagValue];
|
|
24
24
|
};
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopflip/adapter-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "Adapter utilities for flipflop",
|
|
5
5
|
"main": "dist/flopflip-adapter-utilities.cjs.js",
|
|
6
6
|
"module": "dist/flopflip-adapter-utilities.esm.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"types"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "7.
|
|
32
|
-
"@flopflip/types": "4.1.
|
|
31
|
+
"@babel/runtime": "7.19.0",
|
|
32
|
+
"@flopflip/types": "4.1.27",
|
|
33
33
|
"globalthis": "1.0.3",
|
|
34
34
|
"lodash": "4.17.21"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"typescript": "4.
|
|
37
|
+
"typescript": "4.8.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"typescript": "4.x"
|