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

nuxt-i18n

Package Overview
Dependencies
Maintainers
2
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 6.15.2 to 6.15.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

### [6.15.3](https://github.com/nuxt-community/i18n-module/compare/v6.15.2...v6.15.3) (2020-10-14)
### Bug Fixes
* don't use optional chaining for compatibility reasons ([#930](https://github.com/nuxt-community/i18n-module/issues/930)) ([2d96629](https://github.com/nuxt-community/i18n-module/commit/2d96629e71d36a0901ce0ef255d6e730338e0ede)), closes [#929](https://github.com/nuxt-community/i18n-module/issues/929)
### [6.15.2](https://github.com/nuxt-community/i18n-module/compare/v6.15.1...v6.15.2) (2020-10-13)

@@ -2,0 +9,0 @@

4

package.json
{
"name": "nuxt-i18n",
"version": "6.15.2",
"version": "6.15.3",
"description": "i18n for Nuxt",

@@ -88,3 +88,2 @@ "license": "MIT",

"@intlify/vue-i18n-loader": "^1.0.0",
"@types/serve-static": "^1.13.5",
"cookie": "^0.4.0",

@@ -110,2 +109,3 @@ "deepcopy": "^2.1.0",

"@types/request-promise-native": "1.0.17",
"@types/serve-static": "1.13.5",
"argparse": "2.0.1",

@@ -112,0 +112,0 @@ "babel-core": "7.0.0-bridge.0",

@@ -90,7 +90,7 @@ import VueMeta from 'vue-meta'

function addCanonicalLinks (baseUrl, link) {
const currentRoute = {
const currentRoute = this.localeRoute({
...this.$route,
name: this.getRouteBaseName()
}
const canonicalPath = this.localeRoute(currentRoute)?.path
})
const canonicalPath = currentRoute ? currentRoute.path : null

@@ -97,0 +97,0 @@ if (!canonicalPath) {

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