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.2.3 to 2.2.4

10

CHANGELOG.md

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

<a name="2.2.4"></a>
## [2.2.4](https://github.com/paulgv/nuxt-i18n/compare/v2.2.3...v2.2.4) (2018-02-11)
### Bug Fixes
* Use same Regex for matching URL locale in plugin and middleware ([a590e93](https://github.com/paulgv/nuxt-i18n/commit/a590e93)), closes [#17](https://github.com/paulgv/nuxt-i18n/issues/17)
<a name="2.2.3"></a>

@@ -7,0 +17,0 @@ ## [2.2.3](https://github.com/paulgv/nuxt-i18n/compare/v2.2.2...v2.2.3) (2018-02-11)

2

lib/templates/i18n.plugin.js

@@ -14,3 +14,3 @@ import Vue from 'vue'

app.i18n.locales.forEach(l => {
const regexp = new RegExp('^/' + l.code + '/')
const regexp = new RegExp('^/' + l.code + '(/.+)?')
if (route.path.match(regexp)) {

@@ -17,0 +17,0 @@ locale = l.code

{
"name": "nuxt-i18n",
"version": "2.2.3",
"version": "2.2.4",
"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