Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18next-fetch-backend

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-fetch-backend - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

16

package.json
{
"name": "i18next-fetch-backend",
"version": "0.0.1",
"version": "0.1.0",
"description": "backend layer for i18next using browsers fetch",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"build": "babel -d lib src",
"prepublish": "npm run lint && npm run build"
"prepare": "npm run lint && npm run build"
},

@@ -31,11 +31,11 @@ "files": [

"dependencies": {
"i18next-xhr-backend": "^1.3.0"
"i18next-xhr-backend": "^1.4.3"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-preset-es2015": "^6.22.0",
"eslint": "^3.14.0",
"eslint-config-airbnb-base": "^11.0.1",
"eslint-plugin-import": "^2.2.0"
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"eslint": "^4.7.2",
"eslint-config-airbnb-base": "^12.0.1",
"eslint-plugin-import": "^2.7.0"
}
}

@@ -105,3 +105,3 @@ # Introduction

i18next
.use(FetchBackend)
.use(Fetch)
.init({

@@ -129,1 +129,16 @@ fallbackLng: ['ja', 'en', 'zh'],

```
# IE \<= 10 Support
Because of an [issue](https://github.com/babel/babel/issues/116) in how IE used to handle inheritance of static properties, the following is necessary in order to support the old browsers:
```js
import i18next from 'i18next';
import FetchBackend from 'i18next-fetch-backend';
FetchBackend.type = 'backend';
i18next
.use(FetchBackend)
.init(/* ... */);
```
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