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.1.0 to 2.1.1

10

CHANGELOG.md

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

<a name="2.1.1"></a>
## [2.1.1](https://github.com/paulgv/nuxt-i18n/compare/v2.1.0...v2.1.1) (2018-02-08)
### Bug Fixes
* Fix for URLs with hashes ([#13](https://github.com/paulgv/nuxt-i18n/issues/13)) ([2e0649a](https://github.com/paulgv/nuxt-i18n/commit/2e0649a)), closes [#12](https://github.com/paulgv/nuxt-i18n/issues/12)
<a name="2.1.0"></a>

@@ -7,0 +17,0 @@ # [2.1.0](https://github.com/paulgv/nuxt-i18n/compare/v2.0.1...v2.1.0) (2018-01-27)

6

lib/templates/i18n.routing.plugin.js

@@ -21,4 +21,6 @@ import './i18n.routing.middleware';

// Handle homepage exception
if (route.name === 'index') {
href += '/'
if (route.name === 'index' && !href.match(/^\/\#.+/)) {
href = route.hash
? href.replace('#', '/#')
: href + '/'
}

@@ -25,0 +27,0 @@ // Cleanup href

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