Socket
Socket
Sign inDemoInstall

nuxt-seo

Package Overview
Dependencies
2
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.2 to 1.5.3

15

lib/plugin.js

@@ -26,9 +26,14 @@ const Vue = require('vue')

if (Vue.prototype && Vue.prototype.$meta) { // Vue-meta is enabled
if (this.$nuxt && this.$nuxt.$options && this.$nuxt.$options.head) {
this.$nuxt.$options.head = ctx.app.head
} else if (Vue.prototype.$nuxt && Vue.prototype.$nuxt.$options && Vue.prototype.$nuxt.$options.head) {
Vue.prototype.$nuxt.$options.head = ctx.app.head
try {
if (Vue.prototype && Vue.prototype.$meta) { // Vue-meta is enabled
if (this.$nuxt && this.$nuxt.$options && this.$nuxt.$options.head) {
this.$nuxt.$options.head = ctx.app.head
} else if (Vue.prototype.$nuxt && Vue.prototype.$nuxt.$options && Vue.prototype.$nuxt.$options.head) {
Vue.prototype.$nuxt.$options.head = ctx.app.head
}
}
}
catch ( err ){
// unable to parse vue head
}

@@ -35,0 +40,0 @@ deb('HEAD:', ctx.app.head)

@@ -5,3 +5,3 @@ {

"preferGlobal": false,
"version": "1.5.2",
"version": "1.5.3",
"description": "SEO / HTML Meta Tags Module for NuxtJS",

@@ -98,3 +98,3 @@ "author": {

],
"gitHead": "5b572a19f634fd871e271e6fdf2fa36a0488a937"
"gitHead": "792b4c131903e157d578a6309bb66c96e8d2956d"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc