Socket
Socket
Sign inDemoInstall

i18next

Package Overview
Dependencies
Maintainers
1
Versions
501
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

test/i18nextTest.js

6

lib/i18next.js

@@ -17,2 +17,8 @@ (function() {

if (typeof options === 'function') {
cb = options;
options = {};
}
options = options || {};
options.resSetPath = options.resSetPath || 'locales/__lng__/__ns__.json';

@@ -19,0 +25,0 @@ options.sendMissing = options.saveMissing || false;

2

lib/sync.js

@@ -26,3 +26,3 @@ (function() {

var missingLngs = [];
for (i = 0, len = lngs.length; i < len; i++) {
for (var i = 0, len = lngs.length; i < len; i++) {
if (!resStore[lngs[i]]) missingLngs.push(lngs[i]);

@@ -29,0 +29,0 @@ }

@@ -5,3 +5,3 @@ {

, "description": "A i18n middleware for the Express.js framework."
, "version": "0.5.0"
, "version": "0.5.1"
, "repository": {

@@ -8,0 +8,0 @@ "type": "git"

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