@tolgee/i18next
Advanced tools
Comparing version 5.12.1-prerelease.6feb0c2e.0 to 5.13.0
import { TolgeeInstance } from '@tolgee/web'; | ||
import { InitOptions } from 'i18next'; | ||
export declare const tolgeeOptions: (tolgee: TolgeeInstance, options?: InitOptions) => { | ||
postProcess: string[]; | ||
i18nFormat: { | ||
bindI18nStore: string; | ||
}; | ||
react: { | ||
bindI18nStore: string; | ||
nsMode?: "default" | "fallback"; | ||
defaultTransParent?: string; | ||
bindI18n?: string | false; | ||
transEmptyNodeValue?: string; | ||
useSuspense?: boolean; | ||
hashTransKey?(defaultValue: any): any; | ||
transSupportBasicHtmlNodes?: boolean; | ||
transKeepBasicHtmlNodesFor?: readonly string[]; | ||
transWrapTextNodes?: string; | ||
keyPrefix?: string; | ||
unescape?(str: string): string; | ||
}; | ||
debug?: boolean; | ||
resources?: import("i18next").Resource; | ||
partialBundledLanguages?: boolean; | ||
lng?: string; | ||
fallbackLng?: false | import("i18next").FallbackLng; | ||
supportedLngs?: false | readonly string[]; | ||
nonExplicitSupportedLngs?: boolean; | ||
load?: "all" | "currentOnly" | "languageOnly"; | ||
preload?: false | readonly string[]; | ||
lowerCaseLng?: boolean; | ||
cleanCode?: boolean; | ||
ns?: string | readonly string[]; | ||
defaultNS?: string | false | readonly string[]; | ||
fallbackNS?: string | false | readonly string[]; | ||
saveMissing?: boolean; | ||
saveMissingPlurals?: boolean; | ||
updateMissing?: boolean; | ||
saveMissingTo?: "fallback" | "all" | "current"; | ||
missingKeyNoValueFallbackToKey?: boolean; | ||
missingKeyHandler?: false | ((lngs: readonly string[], ns: string, key: string, fallbackValue: string, updateMissing: boolean, options: any) => void); | ||
parseMissingKeyHandler?(key: string, defaultValue?: string): any; | ||
appendNamespaceToMissingKey?: boolean; | ||
missingInterpolationHandler?: (text: string, value: any, options: InitOptions<object>) => any; | ||
simplifyPluralSuffix?: boolean; | ||
postProcessPassResolved?: boolean; | ||
returnNull?: boolean; | ||
returnEmptyString?: boolean; | ||
returnObjects?: boolean; | ||
returnDetails?: boolean; | ||
returnedObjectHandler?(key: string, value: string, options: any): void; | ||
joinArrays?: string | false; | ||
overloadTranslationOptionHandler?(args: string[]): import("i18next").TOptions<import("i18next").StringMap>; | ||
interpolation?: import("i18next").InterpolationOptions; | ||
initImmediate?: boolean; | ||
keySeparator?: string | false; | ||
nsSeparator?: string | false; | ||
pluralSeparator?: string; | ||
contextSeparator?: string; | ||
appendNamespaceToCIMode?: boolean; | ||
compatibilityJSON?: "v1" | "v2" | "v3" | "v4"; | ||
locizeLastUsed?: { | ||
projectId: string; | ||
apiKey?: string; | ||
referenceLng?: string; | ||
version?: string; | ||
debounceSubmit?: number; | ||
allowedHosts?: readonly string[]; | ||
}; | ||
ignoreJSONStructure?: boolean; | ||
maxParallelReads?: number; | ||
maxRetries?: number; | ||
retryTimeout?: number; | ||
cache?: object; | ||
backend?: object; | ||
detection?: object; | ||
}; | ||
export declare const tolgeeOptions: (tolgee: TolgeeInstance, options?: InitOptions) => any; |
import { TolgeeInstance } from '@tolgee/web'; | ||
import { InitOptions } from 'i18next'; | ||
export declare const tolgeeOptions: (tolgee: TolgeeInstance, options?: InitOptions) => { | ||
postProcess: string[]; | ||
i18nFormat: { | ||
bindI18nStore: string; | ||
}; | ||
react: { | ||
bindI18nStore: string; | ||
nsMode?: "default" | "fallback"; | ||
defaultTransParent?: string; | ||
bindI18n?: string | false; | ||
transEmptyNodeValue?: string; | ||
useSuspense?: boolean; | ||
hashTransKey?(defaultValue: any): any; | ||
transSupportBasicHtmlNodes?: boolean; | ||
transKeepBasicHtmlNodesFor?: readonly string[]; | ||
transWrapTextNodes?: string; | ||
keyPrefix?: string; | ||
unescape?(str: string): string; | ||
}; | ||
debug?: boolean; | ||
resources?: import("i18next").Resource; | ||
partialBundledLanguages?: boolean; | ||
lng?: string; | ||
fallbackLng?: false | import("i18next").FallbackLng; | ||
supportedLngs?: false | readonly string[]; | ||
nonExplicitSupportedLngs?: boolean; | ||
load?: "all" | "currentOnly" | "languageOnly"; | ||
preload?: false | readonly string[]; | ||
lowerCaseLng?: boolean; | ||
cleanCode?: boolean; | ||
ns?: string | readonly string[]; | ||
defaultNS?: string | false | readonly string[]; | ||
fallbackNS?: string | false | readonly string[]; | ||
saveMissing?: boolean; | ||
saveMissingPlurals?: boolean; | ||
updateMissing?: boolean; | ||
saveMissingTo?: "fallback" | "all" | "current"; | ||
missingKeyNoValueFallbackToKey?: boolean; | ||
missingKeyHandler?: false | ((lngs: readonly string[], ns: string, key: string, fallbackValue: string, updateMissing: boolean, options: any) => void); | ||
parseMissingKeyHandler?(key: string, defaultValue?: string): any; | ||
appendNamespaceToMissingKey?: boolean; | ||
missingInterpolationHandler?: (text: string, value: any, options: InitOptions<object>) => any; | ||
simplifyPluralSuffix?: boolean; | ||
postProcessPassResolved?: boolean; | ||
returnNull?: boolean; | ||
returnEmptyString?: boolean; | ||
returnObjects?: boolean; | ||
returnDetails?: boolean; | ||
returnedObjectHandler?(key: string, value: string, options: any): void; | ||
joinArrays?: string | false; | ||
overloadTranslationOptionHandler?(args: string[]): import("i18next").TOptions<import("i18next").StringMap>; | ||
interpolation?: import("i18next").InterpolationOptions; | ||
initImmediate?: boolean; | ||
keySeparator?: string | false; | ||
nsSeparator?: string | false; | ||
pluralSeparator?: string; | ||
contextSeparator?: string; | ||
appendNamespaceToCIMode?: boolean; | ||
compatibilityJSON?: "v1" | "v2" | "v3" | "v4"; | ||
locizeLastUsed?: { | ||
projectId: string; | ||
apiKey?: string; | ||
referenceLng?: string; | ||
version?: string; | ||
debounceSubmit?: number; | ||
allowedHosts?: readonly string[]; | ||
}; | ||
ignoreJSONStructure?: boolean; | ||
maxParallelReads?: number; | ||
maxRetries?: number; | ||
retryTimeout?: number; | ||
cache?: object; | ||
backend?: object; | ||
detection?: object; | ||
}; | ||
export declare const tolgeeOptions: (tolgee: TolgeeInstance, options?: InitOptions) => any; |
{ | ||
"name": "@tolgee/i18next", | ||
"version": "5.12.1-prerelease.6feb0c2e.0", | ||
"version": "5.13.0", | ||
"description": "Tolgee i18n integration.", | ||
@@ -47,7 +47,7 @@ "main": "./dist/tolgee-i18next.cjs.js", | ||
"@testing-library/jest-dom": "^5.11.4", | ||
"@tolgee/testing": "5.12.1-prerelease.6feb0c2e.0", | ||
"@tolgee/testing": "5.13.0", | ||
"@types/jest": "^28.1.6", | ||
"@types/node": "^18.6.1", | ||
"concurrently": "7.3.0", | ||
"i18next": "^22.4.10", | ||
"i18next": "^23.5.1", | ||
"jest": "^27.2.4", | ||
@@ -65,3 +65,3 @@ "jest-fetch-mock": "^3.0.3", | ||
}, | ||
"gitHead": "5c670d47aafbb51824836bf35e66ca0c103f4520", | ||
"gitHead": "ed5700acdf3f918bf77af65e3a2bda27e5d8b78f", | ||
"peerDependencies": { | ||
@@ -81,3 +81,3 @@ "i18next": "*" | ||
"dependencies": { | ||
"@tolgee/web": "5.12.1-prerelease.6feb0c2e.0" | ||
"@tolgee/web": "5.13.0" | ||
}, | ||
@@ -84,0 +84,0 @@ "publishConfig": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
79378
936
+ Added@tolgee/core@5.13.0(transitive)
+ Added@tolgee/web@5.13.0(transitive)
- Removed@tolgee/core@5.12.1-prerelease.6feb0c2e.0(transitive)
- Removed@tolgee/web@5.12.1-prerelease.6feb0c2e.0(transitive)
Updated@tolgee/web@5.13.0