Comparing version 23.4.3 to 23.4.4
@@ -1,1 +0,1 @@ | ||
{"type":"module","version":"23.4.3"} | ||
{"type":"module","version":"23.4.4"} |
{ | ||
"name": "i18next", | ||
"version": "23.4.3", | ||
"version": "23.4.4", | ||
"description": "i18next internationalization framework", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/i18next.js", |
@@ -22,2 +22,3 @@ import type { $OmitArrayKeys, $PreservedValue, $Dictionary, $SpecialObject } from './helpers.d.ts'; | ||
type _PluralSeparator = TypeOptions['pluralSeparator']; | ||
type _ContextSeparator = TypeOptions['contextSeparator']; | ||
type _FallbackNamespace = TypeOptions['fallbackNS']; | ||
@@ -108,3 +109,3 @@ type _Resources = TypeOptions['resources']; | ||
type FilterKeysByContext<Keys, TOpt extends TOptions> = TOpt['context'] extends string | ||
? Keys extends `${infer Prefix}_${TOpt['context']}${infer Suffix}` | ||
? Keys extends `${infer Prefix}${_ContextSeparator}${TOpt['context']}${infer Suffix}` | ||
? `${Prefix}${Suffix}` | ||
@@ -161,3 +162,3 @@ : never | ||
type KeyWithContext<Key, TOpt extends TOptions> = TOpt['context'] extends string | ||
? `${Key & string}_${TOpt['context']}` | ||
? `${Key & string}${_ContextSeparator}${TOpt['context']}` | ||
: Key; | ||
@@ -164,0 +165,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
585930
13184