angular-i18next
Advanced tools
Comparing version 15.0.5 to 16.0.0-0
@@ -0,1 +1,12 @@ | ||
# [16.0.0-0](https://github.com/Romanchuk/angular-i18next/compare/v15.0.5...v16.0.0-0) (2023-06-09) | ||
### Bug Fixes | ||
* package.json ([4f3d909](https://github.com/Romanchuk/angular-i18next/commit/4f3d909321651faa4f6406cf300582ce8a8001ce)) | ||
* test ([991dbca](https://github.com/Romanchuk/angular-i18next/commit/991dbca3c5ad9807b4884727065effe456f56b61)) | ||
* test script ([b075485](https://github.com/Romanchuk/angular-i18next/commit/b0754858d865a5e4aaa80ac18fb264d276f26787)) | ||
## [15.0.5](https://github.com/Romanchuk/angular-i18next/compare/v15.0.4...v15.0.5) (2023-01-24) | ||
@@ -2,0 +13,0 @@ |
export * from './lib/index'; |
@@ -5,3 +5,3 @@ import * as i18n from 'i18next'; | ||
import { ITranslationService } from './ITranslationService'; | ||
export declare type NamespaceResolver = (activatedRouteSnapshot: any, routerStateSnapshot?: any) => Promise<void>; | ||
export type NamespaceResolver = (activatedRouteSnapshot: any, routerStateSnapshot?: any) => Promise<void>; | ||
export declare const I18NEXT_SCOPE: InjectionToken<string | string[]>; | ||
@@ -8,0 +8,0 @@ export declare const I18NEXT_NAMESPACE: InjectionToken<string | string[]>; |
@@ -0,0 +0,0 @@ import { PipeTransform } from '@angular/core'; |
@@ -0,0 +0,0 @@ import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core'; |
@@ -0,0 +0,0 @@ import { I18NextLoadResult } from './I18NextLoadResult'; |
@@ -0,0 +0,0 @@ import { BehaviorSubject, Subject } from 'rxjs'; |
@@ -0,0 +0,0 @@ import { PipeTransform } from '@angular/core'; |
@@ -0,0 +0,0 @@ export interface I18NextLoadResult { |
@@ -0,0 +0,0 @@ import { Type } from '@angular/core'; |
@@ -0,0 +0,0 @@ import { PipeTransform } from '@angular/core'; |
@@ -17,3 +17,3 @@ import * as i18n from 'i18next'; | ||
get store(): i18n.ResourceStore; | ||
get resolvedLanguage(): string; | ||
get resolvedLanguage(): string | undefined; | ||
get isInitialized(): boolean; | ||
@@ -20,0 +20,0 @@ constructor(errorHandlingStrategy: I18NextErrorHandlingStrategy, i18nextInstance?: i18n.i18n); |
@@ -0,0 +0,0 @@ import { Title } from '@angular/platform-browser'; |
@@ -0,0 +0,0 @@ import { ModuleWithProviders } from '@angular/core'; |
import { BehaviorSubject, Subject } from 'rxjs'; | ||
import * as i18n from 'i18next'; | ||
export declare type ResourceEvent = { | ||
export type ResourceEvent = { | ||
lng: any; | ||
ns: any; | ||
}; | ||
export declare type MissingKeyEvent = { | ||
export type MissingKeyEvent = { | ||
lngs: any; | ||
@@ -9,0 +9,0 @@ namespace: any; |
import * as i18n from 'i18next'; | ||
import { I18NextLoadResult } from './I18NextLoadResult'; | ||
import { ITranslationEvents } from './ITranslationEvents'; | ||
declare type Modify<T, R> = Omit<T, keyof R> & R; | ||
export declare type ITranslationService = Modify<Partial<i18n.i18n>, { | ||
type Modify<T, R> = Omit<T, keyof R> & R; | ||
export type ITranslationService = Modify<Partial<i18n.i18n>, { | ||
events: ITranslationEvents; | ||
@@ -13,3 +13,3 @@ language: string; | ||
store: i18n.ResourceStore; | ||
resolvedLanguage: string; | ||
resolvedLanguage: string | undefined; | ||
use<T extends i18n.Module>(module: T | i18n.NewableModule<T> | i18n.Newable<T>): ITranslationService; | ||
@@ -16,0 +16,0 @@ init(options: i18n.InitOptions): Promise<I18NextLoadResult>; |
import * as i18n from 'i18next'; | ||
export declare type FormatPipeOptions = { | ||
export type FormatPipeOptions = { | ||
format?: string; | ||
@@ -8,8 +8,8 @@ lng?: string; | ||
}; | ||
export declare type PrependPipeOptions = { | ||
export type PrependPipeOptions = { | ||
prependScope?: boolean; | ||
prependNamespace?: boolean; | ||
}; | ||
export declare type PipeOptions = i18n.TOptionsBase & object & { | ||
export type PipeOptions = i18n.TOptionsBase & object & { | ||
defaultValue?: string; | ||
} & FormatPipeOptions & PrependPipeOptions; |
{ | ||
"name": "angular-i18next", | ||
"version": "15.0.5", | ||
"version": "16.0.0-0", | ||
"publishConfig": { | ||
@@ -38,13 +38,9 @@ "access": "public" | ||
"peerDependencies": { | ||
"@angular/common": ">=15.0.0 <16.0.0", | ||
"@angular/core": ">=15.0.0 <16.0.0", | ||
"@angular/platform-browser": ">=15.0.0 <16.0.0", | ||
"@angular/common": ">=16.0.0 <17.0.0", | ||
"@angular/core": ">=16.0.0 <17.0.0", | ||
"@angular/platform-browser": ">=16.0.0 <17.0.0", | ||
"i18next": ">=22.0.8 <23.0.0", | ||
"rxjs": ">=6.6.0 <8.0.0" | ||
}, | ||
"module": "fesm2015/angular-i18next.mjs", | ||
"es2020": "fesm2020/angular-i18next.mjs", | ||
"esm2020": "esm2020/angular-i18next.mjs", | ||
"fesm2020": "fesm2020/angular-i18next.mjs", | ||
"fesm2015": "fesm2015/angular-i18next.mjs", | ||
"module": "fesm2022/angular-i18next.mjs", | ||
"typings": "index.d.ts", | ||
@@ -57,7 +53,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/angular-i18next.mjs", | ||
"es2020": "./fesm2020/angular-i18next.mjs", | ||
"es2015": "./fesm2015/angular-i18next.mjs", | ||
"node": "./fesm2015/angular-i18next.mjs", | ||
"default": "./fesm2020/angular-i18next.mjs" | ||
"esm2022": "./esm2022/angular-i18next.mjs", | ||
"esm": "./esm2022/angular-i18next.mjs", | ||
"default": "./fesm2022/angular-i18next.mjs" | ||
} | ||
@@ -64,0 +58,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
206126
39
1467
1
1