@@ -14,7 +14,7 @@ import type { EvaluationContext, JsonValue, PrimitiveValue } from '../types';
1414
1515// TODO(FFL-2837): Replace this legacy UFC v1 alias with
1616// `NonNullable<FlagsConfiguration['rules']>['response']` after a flagging-core
17- // release contains DataDog/openfeature-js-client#344 through `41dff20 `, restores
17+ // release contains DataDog/openfeature-js-client#344 through `9f794c7 `, restores
1818// 32-byte SHA digest validation, and defines or fixes integer evaluation without
1919// global `BigInt`. Keep the `FlagsConfiguration` type import on the flagging-core
2020// package root. PR #344 preserves protobuf integers as `bigint`, and its evaluator
@@ -130,7 +130,7 @@ const hasOwn = (value: object, key: PropertyKey): boolean =>
130130 Object . prototype . hasOwnProperty . call ( value , key ) ;
131131
132132// TODO(FFL-2837): Delete this compatibility error store after a flagging-core
133- // release contains DataDog/openfeature-js-client#344 through `41dff20 ` and fixes
133+ // release contains DataDog/openfeature-js-client#344 through `9f794c7 ` and fixes
134134// or explicitly excludes integer and shard evaluation without global `BigInt`.
135135// The generated protobuf evaluator validates the requested flag and the data
136136// that evaluation reaches. It does not build this error map during parsing.
@@ -210,7 +210,7 @@ const validateCondition = (value: unknown): string | undefined => {
210210 try {
211211 // TODO(FFL-2837): Define a bounded regular expression policy before
212212 // dynamic offline rules leave draft state. Upstream PR #344 through
213- // `41dff20 ` compiles protobuf regular expressions lazily and caches
213+ // `9f794c7 ` compiles protobuf regular expressions lazily and caches
214214 // them by configuration and index, but it does not limit patterns.
215215 RegExp ( value . value ) ; // dd-iac-scan ignore-line
216216 } catch {
@@ -465,7 +465,7 @@ export const prepareRulesConfiguration = (
465465 const clone = cloneValue ( value ) ;
466466
467467 // TODO(FFL-2837): Delete this legacy JSON clone and validator after a
468- // flagging-core release contains upstream PR #344 through `41dff20 ` and the
468+ // flagging-core release contains upstream PR #344 through `9f794c7 ` and the
469469 // no-`BigInt` integer contract is fixed or declared unsupported. That
470470 // implementation preserves protobuf integers as `bigint` and validates only
471471 // the requested flag data that evaluation reaches. With `BigInt`, it returns a
@@ -521,7 +521,7 @@ const normalizeVariationType = (
521521
522522// TODO(FFL-2837): Delete this legacy UFC v1 metadata fallback after the
523523// flagging-core dependency contains DataDog/openfeature-js-client#344 through
524- // `41dff20 `. The protobuf evaluator maps only safely represented integer
524+ // `9f794c7 `. The protobuf evaluator maps only safely represented integer
525525// variations, and all numeric variations, to the OpenFeature type `number`.
526526const recoverVariationType = (
527527 configuration : RulesConfigurationResponse ,
@@ -548,7 +548,7 @@ export const flaggingCoreRulesEngine: RulesEngine = {
548548
549549 // TODO(FFL-2837): Delete this local compatibility guard after the
550550 // flagging-core dependency contains DataDog/openfeature-js-client#344
551- // through `41dff20 `. Keep the reserved-name contract tests.
551+ // through `9f794c7 `. Keep the reserved-name contract tests.
552552 if ( ! hasOwn ( flags , request . flagKey ) ) {
553553 return {
554554 value : request . defaultValue ,
@@ -559,9 +559,10 @@ export const flaggingCoreRulesEngine: RulesEngine = {
559559 }
560560
561561 // TODO(FFL-2837): Delete this compatibility check with the local error
562- // store after the published PR #344 evaluator through `41dff20` validates
563- // reached flag data and reports deterministic errors, including unsafe
564- // integer conversions with and without global `BigInt` when supported.
562+ // store after the published PR #344 evaluator through `9f794c7` validates
563+ // reached flag data and reports deterministic flag-scoped errors, including
564+ // unsupported feature levels and unsafe integer conversions with and
565+ // without global `BigInt` when supported.
565566 const configurationError = errorsByConfiguration
566567 . get ( request . configuration )
567568 ?. get ( request . flagKey ) ;
0 commit comments