@featurevisor/sdk 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 +11 -0
- package/coverage/clover.xml +5 -5
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/bucket.ts.html +1 -1
- package/coverage/lcov-report/conditions.ts.html +4 -4
- 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 +5 -5
- 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/coverage/lcov.info +48 -50
- 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/conditions.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@featurevisor/sdk",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.4",
|
|
4
4
|
"description": "Featurevisor SDK for Node.js and the browser",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"compare-versions": "^6.0.0-rc.1",
|
|
58
58
|
"murmurhash": "^2.0.1"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "d50199428b4315f96a07b2b5e789d944c8dc4260"
|
|
61
61
|
}
|
package/src/conditions.ts
CHANGED
|
@@ -22,7 +22,7 @@ export function conditionIsMatched(condition: PlainCondition, context: Context):
|
|
|
22
22
|
return operator === "before"
|
|
23
23
|
? dateInContext < dateInCondition
|
|
24
24
|
: dateInContext > dateInCondition;
|
|
25
|
-
} else if (
|
|
25
|
+
} else if (Array.isArray(value)) {
|
|
26
26
|
// array
|
|
27
27
|
const valueInContext = context[attribute] as string;
|
|
28
28
|
|