Socket
Socket
Sign inDemoInstall

@nuxt/vue-app

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/vue-app - npm Package Compare versions

Comparing version 2.14.4 to 2.14.5

4

dist/vue-app.js
/*!
* @nuxt/vue-app v2.14.4 (c) 2016-2020
* @nuxt/vue-app v2.14.5 (c) 2016-2020

@@ -19,3 +19,3 @@ * - All the amazing contributors

var dependencies = {
"node-fetch": "^2.6.0",
"node-fetch": "^2.6.1",
unfetch: "^4.1.0",

@@ -22,0 +22,0 @@ vue: "^2.6.12",

{
"name": "@nuxt/vue-app",
"version": "2.14.4",
"version": "2.14.5",
"repository": "nuxt/nuxt.js",

@@ -16,3 +16,3 @@ "license": "MIT",

"dependencies": {
"node-fetch": "^2.6.0",
"node-fetch": "^2.6.1",
"unfetch": "^4.1.0",

@@ -19,0 +19,0 @@ "vue": "^2.6.12",

@@ -132,7 +132,5 @@ import Vue from 'vue'

<% } %>
<% if (loading) { %>
watch: {
'nuxt.err': 'errorChanged'
},
<% } %>
<% if (features.clientOnline) { %>

@@ -219,14 +217,25 @@ computed: {

},
<% if (loading) { %>
errorChanged () {
if (this.nuxt.err && this.$loading) {
if (this.$loading.fail) {
this.$loading.fail(this.nuxt.err)
<% if (splitChunks.layouts) { %>async <% } %>errorChanged () {
if (this.nuxt.err) {
<% if (loading) { %>
if (this.$loading) {
if (this.$loading.fail) {
this.$loading.fail(this.nuxt.err)
}
if (this.$loading.finish) {
this.$loading.finish()
}
}
if (this.$loading.finish) {
this.$loading.finish()
<% } %>
let errorLayout = (NuxtError.options || NuxtError).layout;
if (typeof errorLayout === 'function') {
errorLayout = errorLayout(this.context)
}
<% if (splitChunks.layouts) { %>
await this.loadLayout(errorLayout)
<% } %>
this.setLayout(errorLayout)
}
},
<% } %>
<% if (features.layouts) { %>

@@ -233,0 +242,0 @@ <% if (splitChunks.layouts) { %>

@@ -616,3 +616,3 @@ import Vue from 'vue'

<% if (features.layouts) { %>
function setLayoutForNextPage (to) {
<% if (splitChunks.layouts) { %>async <% } %>function setLayoutForNextPage (to) {
// Set layout

@@ -630,2 +630,5 @@ let hasError = Boolean(this.$options.nuxt.err)

}
<% if (splitChunks.layouts) { %>
await this.loadLayout(layout)
<% } %>
this.setLayout(layout)

@@ -632,0 +635,0 @@ }

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