nuxt-i18n
Advanced tools
Comparing version 2.9.4 to 2.9.5
@@ -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) |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
0
28211
12