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 1.2.1 to 1.2.2

lib/dep/i18next-1.2.1.js

2

lib/i18next.js

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

app.get('/i18next/i18next.js', function(req, res) {
var filename = (process.env.NODE_ENV !== 'production' || process.env['DEBUG']) ? __dirname + '/dep/i18next-1.2.js' : __dirname + '/dep/i18next-1.2.min.js';
var filename = (process.env.NODE_ENV !== 'production' || process.env['DEBUG']) ? __dirname + '/dep/i18next-1.2.1.js' : __dirname + '/dep/i18next-1.2.1.min.js';

@@ -69,0 +69,0 @@ fs.readFile(filename, function(err, data) {

(function() {
var i18n = require('./dep/i18next-1.2')
var i18n = require('./dep/i18next-1.2.1')
, url = require('url')

@@ -5,0 +5,0 @@ , Cookies = require('cookies')

@@ -60,3 +60,5 @@ (function() {

todo--; // wait for all done befor callback
if (todo === 0) cb(null, store);
if (todo === 0) {
cb(null, store);
}
});

@@ -73,3 +75,2 @@ });

if (err) {
console.log('error loading resourcefile: ' + filename);
cb(err);

@@ -76,0 +77,0 @@ } else {

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

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

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

# Introduction
[![Build Status](https://secure.travis-ci.org/jamuhl/i18next-node.png)](http://travis-ci.org/jamuhl/i18next-node)
Project goal is to provide the same easy way to translate a website on serverside like in

@@ -12,4 +14,2 @@ [i18next](https://github.com/jamuhl/i18next) on the clientside:

[![Build Status](https://secure.travis-ci.org/jamuhl/i18next-node.png)](http://travis-ci.org/jamuhl/i18next-node)
# installation

@@ -16,0 +16,0 @@

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