Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tolgee/i18next

Package Overview
Dependencies
Maintainers
2
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tolgee/i18next - npm Package Compare versions

Comparing version 5.12.1-prerelease.6feb0c2e.0 to 5.13.0

77

dist/tolgeeOptions.d.ts
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;

10

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc