nuxt-glorious 1.2.3-6 → 1.2.3-7
Sign up to get free protection for your applications and to get access to all the features.
package/dist/module.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { defineNuxtRouteMiddleware } from "#imports";
|
2
2
|
import { GloriousStore } from "../stores/GloriousStore.mjs";
|
3
|
-
export default defineNuxtRouteMiddleware(() => {
|
3
|
+
export default defineNuxtRouteMiddleware((to, from) => {
|
4
|
+
if (to.path === from.path) return;
|
4
5
|
const gs = GloriousStore();
|
5
6
|
Object.entries(gs.response).forEach((element) => {
|
6
7
|
if (!gs.keepResponse.includes(element[0])) delete gs.response[element[0]];
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.2.3-
|
2
|
+
"version": "1.2.3-7",
|
3
3
|
"name": "nuxt-glorious",
|
4
4
|
"description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
|
5
5
|
"repository": "sajadhzj/nuxt-glorious",
|