Socket
Socket
Sign inDemoInstall

@nuxt/vue-app

Package Overview
Dependencies
Maintainers
4
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.15.7 to 2.15.8

CHANGELOG.md

2

dist/vue-app.js
/*!
* @nuxt/vue-app v2.15.7 (c) 2016-2021
* @nuxt/vue-app v2.15.8 (c) 2016-2021
* Released under the MIT License

@@ -4,0 +4,0 @@ * Repository: https://github.com/nuxt/nuxt.js

{
"name": "@nuxt/vue-app",
"version": "2.15.7",
"version": "2.15.8",
"repository": "nuxt/nuxt.js",

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

@@ -272,8 +272,10 @@ import Vue from 'vue'

await new Promise((resolve, reject) => {
const { route } = router.resolve(app.context.route.fullPath)
// Ignore 404s rather than blindly replacing URL
if (!route.matched.length && process.client) {
return resolve()
// Ignore 404s rather than blindly replacing URL in browser
if (process.client) {
const { route } = router.resolve(app.context.route.fullPath)
if (!route.matched.length) {
return resolve()
}
}
router.replace(route, resolve, (err) => {
router.replace(app.context.route.fullPath, resolve, (err) => {
// https://github.com/vuejs/vue-router/blob/v3.4.3/src/util/errors.js

@@ -280,0 +282,0 @@ if (!err._isRouter) return reject(err)

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc