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

i18next-fetch-backend

Package Overview
Dependencies
Maintainers
2
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 4.1.0 to 4.1.1

dist/cjs/index.cjs

39

dist/mjs/index.js

@@ -6,10 +6,5 @@ function ownKeys(object, enumerableOnly) {

var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) {
symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
}
keys.push.apply(keys, symbols);
enumerableOnly && (symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
})), keys.push.apply(keys, symbols);
}

@@ -22,15 +17,8 @@

for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}
var source = null != arguments[i] ? arguments[i] : {};
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
_defineProperty(target, key, source[key]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}

@@ -60,2 +48,5 @@

if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", {
writable: false
});
return Constructor;

@@ -91,2 +82,5 @@ }

});
Object.defineProperty(subClass, "prototype", {
writable: false
});
if (superClass) _setPrototypeOf(subClass, superClass);

@@ -259,3 +253,3 @@ }

return BackendError;
return _createClass(BackendError);
}( /*#__PURE__*/_wrapNativeSuper(Error));

@@ -374,1 +368,2 @@

export { Backend as default };
//# sourceMappingURL=index.js.map

@@ -12,10 +12,5 @@ (function (global, factory) {

var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) {
symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
}
keys.push.apply(keys, symbols);
enumerableOnly && (symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
})), keys.push.apply(keys, symbols);
}

@@ -28,15 +23,8 @@

for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}
var source = null != arguments[i] ? arguments[i] : {};
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
_defineProperty(target, key, source[key]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}

@@ -66,2 +54,5 @@

if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", {
writable: false
});
return Constructor;

@@ -97,2 +88,5 @@ }

});
Object.defineProperty(subClass, "prototype", {
writable: false
});
if (superClass) _setPrototypeOf(subClass, superClass);

@@ -265,3 +259,3 @@ }

return BackendError;
return _createClass(BackendError);
}( /*#__PURE__*/_wrapNativeSuper(Error));

@@ -268,0 +262,0 @@

{
"name": "i18next-fetch-backend",
"version": "4.1.0",
"version": "4.1.1",
"description": "backend layer for i18next using browsers fetch",
"main": "dist/cjs/index.js",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",

@@ -10,6 +10,7 @@ "exports": {

"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js",
"require": "./dist/cjs/index.cjs",
"umd": "./dist/umd/index.js",
"types": "./index.d.ts"
}
},
"./package.json": "./package.json"
},

@@ -20,3 +21,3 @@ "type": "module",

"test": "mocha",
"lint": "eslint 'src/**/*.js' 'test/**/*.js'",
"lint": "eslint --cache .",
"build": "rollup -c",

@@ -45,20 +46,19 @@ "cover": "c8 npm test",

"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/eslint-parser": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@rollup/plugin-babel": "^5.3.0",
"c8": "^7.10.0",
"chai": "^4.3.4",
"env-test": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-mocha": "^9.0.0",
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"c8": "^7.11.0",
"chai": "^4.3.6",
"dirname-filename-esm": "^1.1.1",
"eslint": "^8.10.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-mocha": "^10.0.3",
"finalhandler": "^1.1.2",
"i18next": "^21.3.3",
"i18next": "^21.6.13",
"isomorphic-fetch": "^3.0.0",
"mocha": "^9.1.3",
"rollup": "^2.58.0",
"serve-static": "^1.14.1"
"mocha": "^9.2.1",
"rollup": "^2.70.0",
"serve-static": "^1.14.2"
}
}
# Introduction
[![Travis][build-badge]][build]
[![Build Status][build-badge]][build]
[![npm package][npm-badge]][npm]

@@ -139,3 +139,3 @@ [![Coverage Status][coveralls-badge]][coveralls]

[build-badge]: https://img.shields.io/github/workflow/status/dotcore64/i18next-fetch-backend/test/master?style=flat-square
[build]: https://travis-ci.org/dotcore64/i18next-fetch-backend
[build]: https://github.com/dotcore64/i18next-fetch-backend/actions

@@ -142,0 +142,0 @@ [npm-badge]: https://img.shields.io/npm/v/i18next-fetch-backend.svg?style=flat-square

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