i18next 1.10.5 → 1.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### v1.10.6
2
+ - update client
3
+ - Fix ensureIsSupportedLanguage middleware injection. [PR 200](https://github.com/i18next/i18next-node/pull/200)
4
+
1
5
  ### v1.10.5
2
6
  - [SECURITY] update client to include - merges Reimplement XSS-vulnerable sequential replacement code [PR 443](https://github.com/i18next/i18next/pull/443)
3
7
 
package/README.md CHANGED
@@ -1,3 +1,13 @@
1
+ # PREVIEW TO v2.0.0
2
+
3
+ Currently i work hard on getting out v2.0.0 of i18next. It's a complete rewrite of the current code base and will assert i18next is ready for the next things that will come.
4
+
5
+ Current state is still alpha - but i highly encourage maintainers of modules using i18next - to take the early chance to play with the upcoming version and starting to migrate to v2.
6
+
7
+ For people using i18next in production i recommend waiting for first beta version to play around.
8
+
9
+ more info could be found on: [Migration Guide](http://i18next.github.io/i18next.com/docs/migration/)
10
+
1
11
  # Introduction
2
12
 
3
13
  [![Build Status](https://secure.travis-ci.org/i18next/i18next-node.png)](http://travis-ci.org/i18next/i18next-node)
package/lib/i18next.js CHANGED
@@ -312,7 +312,7 @@
312
312
  // if ensureLngSupport is set to true (default)
313
313
  var routes = [locRoute.join('/')];
314
314
  if (i18n.options.ensureLngSupport) {
315
- routes.concat(ensureIsSupportedLanguage(lngs));
315
+ routes.push(ensureIsSupportedLanguage(lngs));
316
316
  }
317
317
  app[verb || 'get'].apply(app, routes.concat(callbacks));
318
318
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Jan Muehlemann <jan.muehlemann@gmail.com>",
3
3
  "name": "i18next",
4
4
  "description": "i18n made easy - full featured: middleware, template support plus clientside use",
5
- "version": "1.10.5",
5
+ "version": "1.10.6",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git://github.com/jamuhl/i18next-node.git"