nuxt-glorious 1.2.3-6 → 1.2.3-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nuxt-glorious might be problematic. Click here for more details.
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",
|