posthog-node
Advanced tools
@@ -265,3 +265,6 @@ "use strict"; | ||
| } | ||
| if (earlyExitEnabled && 'out_of_rollout_bound' === matchResult) return false; | ||
| if (earlyExitEnabled && 'out_of_rollout_bound' === matchResult) { | ||
| if (isInconclusive) break; | ||
| return false; | ||
| } | ||
| } catch (e) { | ||
@@ -268,0 +271,0 @@ if (e instanceof RequiresServerEvaluation) throw e; |
@@ -231,3 +231,6 @@ import { InconclusiveMatchError, getFeatureFlagHash, getFeatureFlagVariant, getFeatureFlagVariantLookupTable, matchFeatureFlagProperty, parseFeatureFlagSemver, raceWithTimeout, relativeDateParseForFeatureFlagMatching, resolveFeatureFlagPayload, safeSetTimeout } from "@posthog/core"; | ||
| } | ||
| if (earlyExitEnabled && 'out_of_rollout_bound' === matchResult) return false; | ||
| if (earlyExitEnabled && 'out_of_rollout_bound' === matchResult) { | ||
| if (isInconclusive) break; | ||
| return false; | ||
| } | ||
| } catch (e) { | ||
@@ -234,0 +237,0 @@ if (e instanceof RequiresServerEvaluation) throw e; |
@@ -1,2 +0,2 @@ | ||
| export declare const version = "5.51.2"; | ||
| export declare const version = "5.51.3"; | ||
| //# sourceMappingURL=version.d.ts.map |
+1
-1
@@ -29,3 +29,3 @@ "use strict"; | ||
| }); | ||
| const version = '5.51.2'; | ||
| const version = '5.51.3'; | ||
| exports.version = __webpack_exports__.version; | ||
@@ -32,0 +32,0 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [ |
+1
-1
@@ -1,2 +0,2 @@ | ||
| const version = '5.51.2'; | ||
| const version = '5.51.3'; | ||
| export { version }; |
+2
-2
| { | ||
| "name": "posthog-node", | ||
| "version": "5.51.2", | ||
| "version": "5.51.3", | ||
| "bugs": { | ||
@@ -31,3 +31,3 @@ "url": "https://github.com/PostHog/posthog-js/issues" | ||
| "dependencies": { | ||
| "@posthog/core": "^1.48.11" | ||
| "@posthog/core": "^1.48.12" | ||
| }, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -536,7 +536,7 @@ import { FeatureFlagCondition, FlagProperty, FlagPropertyValue, PostHogFeatureFlag, PropertyGroup } from '../../types' | ||
| // The condition's property filters (if any) matched and only the rollout check failed, | ||
| // so re-evaluating later groups can't change the outcome. Return a deterministic false, | ||
| // mirroring the server-side engine. `isInconclusive` could theoretically be true here | ||
| // (an earlier group threw InconclusiveMatchError while this group evaluated cleanly), but | ||
| // in practice early_exit is only set on flags whose groups are all locally evaluable, so | ||
| // this combination does not arise. | ||
| // so re-evaluating later groups can't change the outcome. If an earlier condition was | ||
| // inconclusive, stop here but preserve that result so the caller can fall back remotely. | ||
| if (isInconclusive) { | ||
| break | ||
| } | ||
| return false | ||
@@ -543,0 +543,0 @@ } |
+1
-1
@@ -1,1 +0,1 @@ | ||
| export const version = '5.51.2' | ||
| export const version = '5.51.3' |
17623
0.03%811198
0Updated