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.0 to 2.14.1

2

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

@@ -4,0 +4,0 @@ * - All the amazing contributors

{
"name": "@nuxt/vue-app",
"version": "2.14.0",
"version": "2.14.1",
"repository": "nuxt/nuxt.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -249,5 +249,9 @@ import Vue from 'vue'

await new Promise((resolve, reject) => {
router.push(ssrContext.url, resolve, () => {
router.push(ssrContext.url, resolve, (err) => {
// https://github.com/vuejs/vue-router/blob/v3.3.4/src/history/errors.js
if (!err._isRouter) return reject(err)
if (err.type !== 1 /* NavigationFailureType.redirected */) return resolve()
// navigated to a different route in router guard
const unregister = router.afterEach(async (to, from, next) => {
const unregister = router.afterEach(async (to, from) => {
ssrContext.url = to.fullPath

@@ -254,0 +258,0 @@ app.context.route = await getRouteData(to)

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