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

nuxt-i18n

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-i18n - npm Package Compare versions

Comparing version 2.9.1 to 2.9.2

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.9.2"></a>
## [2.9.2](https://github.com/nuxt-community/nuxt-i18n/compare/v2.9.1...v2.9.2) (2018-04-06)
### Bug Fixes
* Fix redirection based on browser language ([64ff3ce](https://github.com/nuxt-community/nuxt-i18n/commit/64ff3ce)), closes [#65](https://github.com/nuxt-community/nuxt-i18n/issues/65)
<a name="2.9.1"></a>

@@ -7,0 +17,0 @@ ## [2.9.1](https://github.com/nuxt-community/nuxt-i18n/compare/v2.9.0...v2.9.1) (2018-03-26)

2

lib/templates/i18n.routing.middleware.js

@@ -37,3 +37,3 @@ import cookie from 'cookie'

// Redirect
const routeName = route && route.name ? app.getRouteBaseName(route.name) : 'index';
const routeName = route && route.name ? app.getRouteBaseName(route) : 'index';
if (browserLocale !== app.i18n.locale && localeCodes.indexOf(browserLocale) !== -1) {

@@ -40,0 +40,0 @@ app.i18n.locale = browserLocale

{
"name": "nuxt-i18n",
"version": "2.9.1",
"version": "2.9.2",
"description": "i18n for Nuxt",

@@ -5,0 +5,0 @@ "license": "MIT",

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