angular-i18next
Advanced tools
Comparing version 16.0.0 to 17.0.0-0
@@ -0,1 +1,5 @@ | ||
# [17.0.0-0](https://github.com/Romanchuk/angular-i18next/compare/v16.0.0...v17.0.0-0) (2023-11-27) | ||
# [16.0.0](https://github.com/Romanchuk/angular-i18next/compare/v16.0.0-0...v16.0.0) (2023-06-09) | ||
@@ -2,0 +6,0 @@ |
@@ -20,8 +20,12 @@ import * as i18n from 'i18next'; | ||
constructor(errorHandlingStrategy: I18NextErrorHandlingStrategy, i18nextInstance?: i18n.i18n); | ||
t(key: string | string[], options?: (i18n.TOptionsBase & i18n.StringMap & { | ||
t(key: string | string[], options?: (i18n.TOptions & { | ||
defaultValue?: string | undefined; | ||
}) | undefined): i18n.DefaultTFuncReturn; | ||
t(key: string | string[] | (string | TemplateStringsArray)[], defaultValue: string, options?: (i18n.TOptionsBase & i18n.StringMap & { | ||
}) | undefined): i18n.DefaultTReturn<(i18n.TOptions & { | ||
defaultValue?: string | undefined; | ||
})>; | ||
t(key: string | string[] | (string | TemplateStringsArray)[], defaultValue: string, options?: (i18n.TOptions & { | ||
defaultValue: string; | ||
}) | undefined): i18n.DefaultTFuncReturn; | ||
}) | undefined): i18n.DefaultTReturn<(i18n.TOptions & { | ||
defaultValue: string; | ||
})>; | ||
use<T extends i18n.Module>(module: T | i18n.NewableModule<T> | i18n.Newable<T>): ITranslationService; | ||
@@ -28,0 +32,0 @@ init(options: i18n.InitOptions): Promise<I18NextLoadResult>; |
@@ -16,8 +16,12 @@ import * as i18n from 'i18next'; | ||
init(options: i18n.InitOptions): Promise<I18NextLoadResult>; | ||
t(key: string | string[], options?: i18n.TOptionsBase & i18n.StringMap & { | ||
t(key: string | string[], options?: i18n.TOptions & { | ||
defaultValue?: string; | ||
}): i18n.DefaultTFuncReturn; | ||
t(key: string | string[], defaultValue: string, options?: i18n.TOptionsBase & i18n.StringMap & { | ||
}): i18n.DefaultTReturn<(i18n.TOptions & { | ||
defaultValue: string; | ||
}): i18n.DefaultTFuncReturn; | ||
})>; | ||
t(key: string | string[], defaultValue: string, options?: i18n.TOptions & { | ||
defaultValue: string; | ||
}): i18n.DefaultTReturn<(i18n.TOptions & { | ||
defaultValue: string; | ||
})>; | ||
format: i18n.FormatFunction; | ||
@@ -24,0 +28,0 @@ exists: i18n.ExistsFunction; |
@@ -12,4 +12,4 @@ import * as i18n from 'i18next'; | ||
}; | ||
export type PipeOptions = i18n.TOptionsBase & i18n.StringMap & { | ||
export type PipeOptions = i18n.TOptions & { | ||
defaultValue?: string; | ||
} & FormatPipeOptions & PrependPipeOptions; |
{ | ||
"name": "angular-i18next", | ||
"version": "16.0.0", | ||
"version": "17.0.0-0", | ||
"publishConfig": { | ||
@@ -18,2 +18,5 @@ "access": "public" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"license": "MIT", | ||
@@ -39,6 +42,6 @@ "description": "i18next module for Angular", | ||
"peerDependencies": { | ||
"@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", | ||
"@angular/common": ">=17.0.0 < 18.0.0", | ||
"@angular/core": ">=17.0.0 < 18.0.0", | ||
"@angular/platform-browser": ">=17.0.0 < 18.0.0", | ||
"i18next": ">=23.0.0 <24.0.0", | ||
"rxjs": ">=6.6.0 <8.0.0" | ||
@@ -45,0 +48,0 @@ }, |
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
207844
1475
1