New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

i18next-xhr-backend

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-xhr-backend - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 3.2.2
- typescript: Hotfix TS error importing types from i18next [333](https://github.com/i18next/i18next-xhr-backend/pull/333)
### 3.2.1

@@ -2,0 +6,0 @@

10

index.d.ts

@@ -1,2 +0,2 @@

import i18next from 'i18next';
import { BackendModule, ReadCallback } from 'i18next';

@@ -67,8 +67,8 @@ type LoadPathOption = string | ((lngs: string[], namespaces: string[]) => string);

export default class I18NextXhrBackend implements i18next.BackendModule<BackendOptions> {
export default class I18NextXhrBackend implements BackendModule<BackendOptions> {
constructor(services?: any, options?: BackendOptions);
init(services?: any, options?: BackendOptions): void;
readMulti(languages: string[], namespaces: string[], callback: i18next.ReadCallback): void;
read(language: string, namespace: string, callback: i18next.ReadCallback): void;
loadUrl(url: string, callback: i18next.ReadCallback): void;
readMulti(languages: string[], namespaces: string[], callback: ReadCallback): void;
read(language: string, namespace: string, callback: ReadCallback): void;
loadUrl(url: string, callback: ReadCallback): void;
create(languages: string | string[], namespace: string, key: string, fallbackValue: string): void;

@@ -75,0 +75,0 @@ type: 'backend';

{
"name": "i18next-xhr-backend",
"version": "3.2.1",
"version": "3.2.2",
"description": "backend layer for i18next using browsers xhr",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/i18nextXHRBackend.js",

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