angular-i18next
Advanced tools
Comparing version 14.1.0 to 14.2.0-0
@@ -0,1 +1,13 @@ | ||
# [14.2.0-0](https://github.com/Romanchuk/angular-i18next/compare/v14.1.0...v14.2.0-0) (2022-11-17) | ||
### Bug Fixes | ||
* i18next instance ([93e48b6](https://github.com/Romanchuk/angular-i18next/commit/93e48b646c486d9e157447a704d88925e05957c6)) | ||
* jest default import ([cea6677](https://github.com/Romanchuk/angular-i18next/commit/cea66776dd6af912dfdfff500f14bbe8e17c81e7)) | ||
* link to global i18next ([4439d3a](https://github.com/Romanchuk/angular-i18next/commit/4439d3a19ef3d2bec7fcb296b8f3eaebbd1af6a8)) | ||
* tests ([78bc41e](https://github.com/Romanchuk/angular-i18next/commit/78bc41e3a4eca2b63f28513120f0ef9863d2a21a)) | ||
# [14.1.0](https://github.com/Romanchuk/angular-i18next/compare/v14.0.5-6...v14.1.0) (2022-11-09) | ||
@@ -2,0 +14,0 @@ |
@@ -0,1 +1,2 @@ | ||
import * as i18n from 'i18next'; | ||
import { InjectionToken } from '@angular/core'; | ||
@@ -10,1 +11,2 @@ import { I18NextErrorHandlingStrategy } from './I18NextErrorHandlingStrategies'; | ||
export declare const I18NEXT_ERROR_HANDLING_STRATEGY: InjectionToken<I18NextErrorHandlingStrategy>; | ||
export declare const I18NEXT_INSTANCE: InjectionToken<i18n.i18n>; |
@@ -9,12 +9,13 @@ import * as i18n from 'i18next'; | ||
private errorHandlingStrategy; | ||
private readonly i18next; | ||
events: ITranslationEvents; | ||
get language(): any; | ||
get languages(): any; | ||
get options(): any; | ||
get modules(): any; | ||
get services(): any; | ||
get store(): any; | ||
get resolvedLanguage(): any; | ||
get isInitialized(): any; | ||
constructor(errorHandlingStrategy: I18NextErrorHandlingStrategy); | ||
get language(): string; | ||
get languages(): readonly string[]; | ||
get options(): i18n.InitOptions; | ||
get modules(): i18n.Modules; | ||
get services(): i18n.Services; | ||
get store(): i18n.ResourceStore; | ||
get resolvedLanguage(): string; | ||
get isInitialized(): boolean; | ||
constructor(errorHandlingStrategy: I18NextErrorHandlingStrategy, i18nextInstance?: i18n.i18n); | ||
use<T extends i18n.Module>(module: T | i18n.NewableModule<T> | i18n.Newable<T>): ITranslationService; | ||
@@ -33,7 +34,3 @@ init(options: i18n.InitOptions): Promise<I18NextLoadResult>; | ||
loadResources(callback?: (err: any) => void): void; | ||
getDataByLanguage(lng: string): { | ||
translation: { | ||
[key: string]: string; | ||
}; | ||
} | undefined; | ||
getDataByLanguage(lng: string): any; | ||
reloadResources(...params: any): Promise<void>; | ||
@@ -48,4 +45,4 @@ getResource(lng: string, ns: string, key: string, options: any): any; | ||
private subscribeEvents; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<I18NextService, never>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<I18NextService, [null, { optional: true; }]>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<I18NextService>; | ||
} |
@@ -28,3 +28,3 @@ import * as i18n from 'i18next'; | ||
getDataByLanguage(lng: string): { | ||
translation: { | ||
[key: string]: { | ||
[key: string]: string; | ||
@@ -31,0 +31,0 @@ }; |
{ | ||
"name": "angular-i18next", | ||
"version": "14.1.0", | ||
"version": "14.2.0-0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
269612
1979
1