@boost/translate
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -7,5 +7,5 @@ declare const errors: { | ||
}; | ||
export declare type TranslateErrorCode = keyof typeof errors; | ||
export type TranslateErrorCode = keyof typeof errors; | ||
export declare const TranslateError: new (code: "LOCALE_REQUIRED" | "NAMESPACE_REQUIRED" | "RESOURCE_PATH_INVALID" | "RESOURCES_REQUIRED", params?: unknown[] | undefined) => Error & import("@boost/internal").ScopedError<"LOCALE_REQUIRED" | "NAMESPACE_REQUIRED" | "RESOURCE_PATH_INVALID" | "RESOURCES_REQUIRED">; | ||
export {}; | ||
//# sourceMappingURL=TranslateError.d.ts.map |
import { i18n, InterpolationOptions } from 'i18next'; | ||
export declare type Direction = 'ltr' | 'rtl'; | ||
export declare type Format = 'js' | 'json' | 'yaml'; | ||
export declare type Locale = string; | ||
export declare type InterpolationParams = Record<string, unknown>; | ||
export type Direction = 'ltr' | 'rtl'; | ||
export type Format = 'js' | 'json' | 'yaml'; | ||
export type Locale = string; | ||
export type InterpolationParams = Record<string, unknown>; | ||
export interface MessageOptions { | ||
@@ -7,0 +7,0 @@ /** Default value to return if a translation was not found. */ |
{ | ||
"name": "@boost/translate", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"type": "commonjs", | ||
@@ -37,5 +37,5 @@ "release": "1651512178249", | ||
"dependencies": { | ||
"@boost/common": "^4.0.0", | ||
"@boost/internal": "^4.0.0", | ||
"i18next": "^21.9.1", | ||
"@boost/common": "^4.1.0", | ||
"@boost/internal": "^4.0.1", | ||
"i18next": "^22.4.15", | ||
"os-locale": "^5.0.0" | ||
@@ -62,3 +62,3 @@ }, | ||
}, | ||
"gitHead": "07f3182e14af6b7637b23f69fbe3c735835312a9" | ||
"gitHead": "fd64842195c9e1c72e726800f004bdc80fa682f8" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
36377
33
646
+ Addedi18next@22.5.1(transitive)
- Removedi18next@21.10.0(transitive)
Updated@boost/common@^4.1.0
Updated@boost/internal@^4.0.1
Updatedi18next@^22.4.15