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.4 to 2.9.5

10

CHANGELOG.md

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

<a name="2.9.5"></a>
## [2.9.5](https://github.com/nuxt-community/nuxt-i18n/compare/v2.9.4...v2.9.5) (2018-04-18)
### Bug Fixes
* Fix problem for route names containing -de ([#74](https://github.com/nuxt-community/nuxt-i18n/issues/74)) ([df55c8f](https://github.com/nuxt-community/nuxt-i18n/commit/df55c8f))
<a name="2.9.4"></a>

@@ -7,0 +17,0 @@ ## [2.9.4](https://github.com/nuxt-community/nuxt-i18n/compare/v2.9.3...v2.9.4) (2018-04-16)

2

lib/templates/i18n.routing.plugin.js

@@ -47,3 +47,3 @@ import './i18n.routing.middleware';

for (let i = locales.length - 1; i >= 0; i--) {
const regexp = new RegExp('-' + locales[i].code)
const regexp = new RegExp('-' + locales[i].code + '$')
if (route.name.match(regexp)) {

@@ -50,0 +50,0 @@ return route.name.replace(regexp, '')

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