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 14.1.0 to 14.2.0-0

12

CHANGELOG.md

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

2

lib/I18NEXT_TOKENS.d.ts

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

27

lib/I18NextService.d.ts

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

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