Socket
Socket
Sign inDemoInstall

angular-i18next

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-i18next - npm Package Compare versions

Comparing version 16.0.0 to 17.0.0-0

4

CHANGELOG.md

@@ -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 @@

12

lib/I18NextService.d.ts

@@ -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

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