Socket
Socket
Sign inDemoInstall

@nuxt/vue-app

Package Overview
Dependencies
Maintainers
0
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.17.4 to 2.18.0

2

dist/vue-app.js
/*!
* @nuxt/vue-app v2.17.4 (c) 2016-2024
* @nuxt/vue-app v2.18.0 (c) 2016-2024
* Released under the MIT License

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

{
"name": "@nuxt/vue-app",
"version": "2.17.4",
"version": "2.18.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -160,8 +160,11 @@ import Vue from 'vue'

const timeNow = Date.now()
const previousReloadTime = parseInt(window.sessionStorage.getItem('nuxt-reload'))
// check for previous reload time not to reload infinitely
if (!previousReloadTime || previousReloadTime + 60000 < timeNow) {
window.sessionStorage.setItem('nuxt-reload', timeNow)
window.location.reload(true /* skip cache */)
try {
const previousReloadTime = parseInt(window.sessionStorage.getItem('nuxt-reload'))
// check for previous reload time not to reload infinitely
if (!previousReloadTime || previousReloadTime + 60000 < timeNow) {
window.sessionStorage.setItem('nuxt-reload', timeNow)
window.location.reload(true /* skip cache */)
}
} catch {
// don't throw an error if we have issues reading sessionStorage
}

@@ -168,0 +171,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