From 30b2d394b9fecc01193508da8652d2d8f3e100b6 Mon Sep 17 00:00:00 2001 From: MajoorWaldi Date: Thu, 6 Aug 2026 19:12:07 +0200 Subject: [PATCH] Harden bundled Pinia state merging --- CHANGELOG.md | 1 + ...C82GMRoh.js => FloatingViewer-dII3_GXK.js} | 8 +- ...zbH9a.js => LiveStreamTracker-dDHYBygv.js} | 2 +- ....js => SidebarWorkflowSection-B4cqBdw-.js} | 10 +- ...tor-QB_-ly7D.js => TagsEditor-CsDpjKy_.js} | 2 +- ...{Viewer-UwR1AbHF.js => Viewer-zY-V7v6e.js} | 4 +- ...l-BIo1U6LC.js => ViewerPortal-CdXGze2M.js} | 6 +- ...y.js => floatingViewerManager-COFmnbOD.js} | 2 +- ...enInfo-BJiJ-hcb.js => genInfo-I32MW9pE.js} | 4 +- ...CsjHewX5.js => mjr-vue-vendor-DNxXXaMq.js} | 180 +++++++++--------- ...ausl.js => openMajoorSettings-C2B821vM.js} | 2 +- ...DfHDx.js => viewerOpenRequest-Gv3VIRAS.js} | 2 +- dist/entry.js | 34 ++-- package-lock.json | 130 ++++--------- package.json | 2 +- 15 files changed, 169 insertions(+), 220 deletions(-) rename dist/chunks/{FloatingViewer-C82GMRoh.js => FloatingViewer-dII3_GXK.js} (99%) rename dist/chunks/{LiveStreamTracker-Dt-zbH9a.js => LiveStreamTracker-dDHYBygv.js} (98%) rename dist/chunks/{SidebarWorkflowSection-DigIwTnf.js => SidebarWorkflowSection-B4cqBdw-.js} (99%) rename dist/chunks/{TagsEditor-QB_-ly7D.js => TagsEditor-CsDpjKy_.js} (99%) rename dist/chunks/{Viewer-UwR1AbHF.js => Viewer-zY-V7v6e.js} (99%) rename dist/chunks/{ViewerPortal-BIo1U6LC.js => ViewerPortal-CdXGze2M.js} (98%) rename dist/chunks/{floatingViewerManager-DfnpKtiy.js => floatingViewerManager-COFmnbOD.js} (99%) rename dist/chunks/{genInfo-BJiJ-hcb.js => genInfo-I32MW9pE.js} (99%) rename dist/chunks/{mjr-vue-vendor-CsjHewX5.js => mjr-vue-vendor-DNxXXaMq.js} (56%) rename dist/chunks/{openMajoorSettings-DGE2ausl.js => openMajoorSettings-C2B821vM.js} (99%) rename dist/chunks/{viewerOpenRequest-D3EDfHDx.js => viewerOpenRequest-Gv3VIRAS.js} (95%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c4b3dce..ff204707 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project are documented in this file. - **Collect Files**: New right-click action and details-sidebar button that bundles an asset, its workflow JSON, the traced prompt text (positive/negative), and every media input referenced by the workflow into a `{asset}_collected.zip` created next to the file, with a manifest listing each input and model path. Falls back to `output/_mjr_collected/` when the asset folder is not writable. See `docs/COLLECT_FILES.md`. ### Fixed +- **Prototype-pollution guard in bundled state patching**: Upgraded Pinia to 4.0.2 so its recursive state merge uses own-property checks for both source and destination objects, resolving CodeQL alert #96 in the generated Vue vendor bundle. - **Majoor Save filename_prefix placeholders** (#194): `%date:yyyyMMdd%`-style placeholders (and `%NodeName.widget%` references) in the `filename_prefix` of Majoor Save Image / Majoor Save Video were written literally into filenames because ComfyUI's frontend only resolves them for its own core save nodes. Placeholders are now resolved on the frontend for Majoor save nodes (matching core node semantics), with a server-side `%date:...%` fallback in the nodes themselves so API-driven workflows are covered too. - **Floating Viewer audio compare sync**: audio players are now time/play/volume/rate-synchronized in A|B, side-by-side, and grid compare modes, matching video behaviour. - **Floating Viewer audio player visuals**: the unified audio player now shows the same styled backdrop (gradient + filename) as the simple player instead of an empty area behind the controls. diff --git a/dist/chunks/FloatingViewer-C82GMRoh.js b/dist/chunks/FloatingViewer-dII3_GXK.js similarity index 99% rename from dist/chunks/FloatingViewer-C82GMRoh.js rename to dist/chunks/FloatingViewer-dII3_GXK.js index 3ecf6fb6..ea501012 100644 --- a/dist/chunks/FloatingViewer-C82GMRoh.js +++ b/dist/chunks/FloatingViewer-dII3_GXK.js @@ -1,12 +1,12 @@ import { Zt as e, g as t, y as n } from "./viewerRuntimeHosts-DneLZtWG.js"; import { B as r, C as i, I as a, M as o, O as s, P as c, R as l, V as u, j as d, m as f, o as p, pt as m, r as h, rt as g, v as _, w as v, x as y } from "./events-DEEu2sDf.js"; import { a as b, i as x, o as S, s as C } from "./graphTraversal-Sruu0ipL.js"; -import { _ as w, g as T, m as E, n as D, p as ee, r as O, w as k } from "./Viewer-UwR1AbHF.js"; -import { _ as A, r as j } from "./SidebarWorkflowSection-DigIwTnf.js"; -import { _ as M, a as N, c as P, d as F, f as I, g as L, h as te, i as ne, l as R, m as z, o as B, p as re, r as V, s as ie, t as ae, u as H, v as U } from "./openMajoorSettings-DGE2ausl.js"; +import { _ as w, g as T, m as E, n as D, p as ee, r as O, w as k } from "./Viewer-zY-V7v6e.js"; +import { _ as A, r as j } from "./SidebarWorkflowSection-B4cqBdw-.js"; +import { _ as M, a as N, c as P, d as F, f as I, g as L, h as te, i as ne, l as R, m as z, o as B, p as re, r as V, s as ie, t as ae, u as H, v as U } from "./openMajoorSettings-C2B821vM.js"; import { a as oe, n as se, r as ce } from "./model3dRenderer-Cgp5upXw.js"; import { i as le, o as ue, r as de, t as fe } from "./geninfoParser-D7IjgI1x.js"; -import { t as pe } from "./genInfo-BJiJ-hcb.js"; +import { t as pe } from "./genInfo-I32MW9pE.js"; //#region ui/features/viewer/floatingViewerConstants.ts var W = Object.freeze({ SIMPLE: "simple", diff --git a/dist/chunks/LiveStreamTracker-Dt-zbH9a.js b/dist/chunks/LiveStreamTracker-dDHYBygv.js similarity index 98% rename from dist/chunks/LiveStreamTracker-Dt-zbH9a.js rename to dist/chunks/LiveStreamTracker-dDHYBygv.js index e2e69309..5dd69a47 100644 --- a/dist/chunks/LiveStreamTracker-Dt-zbH9a.js +++ b/dist/chunks/LiveStreamTracker-dDHYBygv.js @@ -1,5 +1,5 @@ import { J as e, r as t } from "./events-DEEu2sDf.js"; -import { t as n } from "./floatingViewerManager-DfnpKtiy.js"; +import { t as n } from "./floatingViewerManager-COFmnbOD.js"; //#region ui/features/viewer/LiveStreamTracker.ts var r = !1, i = null, a = null, o = null, s = null, c = null, l = 0, u = 0, d = 400, f = /* @__PURE__ */ new Set([ ".png", diff --git a/dist/chunks/SidebarWorkflowSection-DigIwTnf.js b/dist/chunks/SidebarWorkflowSection-B4cqBdw-.js similarity index 99% rename from dist/chunks/SidebarWorkflowSection-DigIwTnf.js rename to dist/chunks/SidebarWorkflowSection-B4cqBdw-.js index 70a86462..a8c1fee1 100644 --- a/dist/chunks/SidebarWorkflowSection-DigIwTnf.js +++ b/dist/chunks/SidebarWorkflowSection-B4cqBdw-.js @@ -1,10 +1,10 @@ import { $ as e, At as t, Bt as n, Ct as r, Dt as i, Et as a, I as o, It as s, K as c, Mt as l, N as u, Nt as d, O as f, Ot as p, Pt as m, Q as h, Qt as g, R as _, Rt as v, S as y, St as b, T as x, Tt as S, Ut as C, Vt as ee, Wt as te, X as w, Xt as T, Y as ne, Yt as re, Z as ie, Zt as E, an as ae, at as oe, ct as se, et as ce, ht as le, it as ue, jt as de, k as D, kt as fe, lt as pe, nt as me, on as he, p as ge, qt as _e, rt as ve, st as ye, tt as be, ut as xe, w as Se, wt as Ce, xt as we, zt as Te } from "./viewerRuntimeHosts-DneLZtWG.js"; import { Ct as Ee, K as De, N as Oe, T as ke, c as Ae, d as je, f as Me, h as Ne, j as Pe, l as Fe, m as O, o as k, p as Ie, pt as Le, s as A, tt as Re, u as ze, x as Be, y as Ve } from "./events-DEEu2sDf.js"; -import { F as He, K as Ue, P as We, Y as Ge, f as Ke, m as qe, p as Je } from "./Viewer-UwR1AbHF.js"; -import { t as Ye } from "./floatingViewerManager-DfnpKtiy.js"; +import { F as He, K as Ue, P as We, Y as Ge, f as Ke, m as qe, p as Je } from "./Viewer-zY-V7v6e.js"; +import { t as Ye } from "./floatingViewerManager-COFmnbOD.js"; import { A as Xe, B as j, C as M, D as Ze, E as N, G as Qe, H as P, J as $e, L as et, O as F, R as tt, S as nt, T as I, W as rt, _ as it, a as at, b as ot, c as st, ct as L, d as ct, dt as R, f as lt, g as ut, h as dt, i as ft, j as pt, k as z, l as mt, lt as ht, m as gt, n as _t, nt as B, o as vt, p as yt, q as bt, r as xt, s as St, t as Ct, tt as wt, u as Tt, ut as V, y as Et } from "./mjr-primevue-BKVyemoz.js"; -import { t as Dt } from "./mjr-vue-vendor-CsjHewX5.js"; -import { t as Ot } from "./viewerOpenRequest-D3EDfHDx.js"; +import { t as Dt } from "./mjr-vue-vendor-DNxXXaMq.js"; +import { t as Ot } from "./viewerOpenRequest-Gv3VIRAS.js"; import { a as kt, i as At, n as jt, o as Mt, r as Nt, t as Pt } from "./geninfoParser-D7IjgI1x.js"; //#region ui/app/settings/settingsUtils.ts var H = (e, t) => { @@ -5122,7 +5122,7 @@ var Co = ["title"], wo = ["src"], To = { setup(e) { let t = e, n = B(0), r = B(!1), i = null; function a() { - return i ||= import("./floatingViewerManager-DfnpKtiy.js").then((e) => e.n), i; + return i ||= import("./floatingViewerManager-COFmnbOD.js").then((e) => e.n), i; } function o() { return (Array.isArray(t.inputFile?.previewCandidates) ? t.inputFile.previewCandidates : [])[n.value] || ""; diff --git a/dist/chunks/TagsEditor-QB_-ly7D.js b/dist/chunks/TagsEditor-CsDpjKy_.js similarity index 99% rename from dist/chunks/TagsEditor-QB_-ly7D.js rename to dist/chunks/TagsEditor-CsDpjKy_.js index 59963537..64b2a2a1 100644 --- a/dist/chunks/TagsEditor-QB_-ly7D.js +++ b/dist/chunks/TagsEditor-CsDpjKy_.js @@ -1,6 +1,6 @@ import { F as e, Zt as t, v as n } from "./viewerRuntimeHosts-DneLZtWG.js"; import { St as r, m as i, n as a } from "./events-DEEu2sDf.js"; -import { Y as o } from "./Viewer-UwR1AbHF.js"; +import { Y as o } from "./Viewer-zY-V7v6e.js"; import { A as s, B as c, C as l, E as u, G as d, H as f, I as ee, J as te, L as p, R as ne, T as m, W as h, b as g, ct as _, dt as v, j as y, k as b, lt as x, nt as S, q as C } from "./mjr-primevue-BKVyemoz.js"; //#region ui/vue/components/common/TagsEditor.vue var w = ["aria-busy"], T = ["aria-label"], re = { diff --git a/dist/chunks/Viewer-UwR1AbHF.js b/dist/chunks/Viewer-zY-V7v6e.js similarity index 99% rename from dist/chunks/Viewer-UwR1AbHF.js rename to dist/chunks/Viewer-zY-V7v6e.js index d19daeef..cf332fe4 100644 --- a/dist/chunks/Viewer-UwR1AbHF.js +++ b/dist/chunks/Viewer-zY-V7v6e.js @@ -1,7 +1,7 @@ import { H as e, P as t, Zt as n, _ as r, _t as i, c as a, d as o, g as s, ht as c, n as l, o as u, r as d, s as f, x as p, y as m } from "./viewerRuntimeHosts-DneLZtWG.js"; import { Ct as h, D as g, a as _, ct as v, h as y, i as b, j as x, k as S, m as C, n as w, o as T, pt as E, r as D, rt as O, t as k } from "./events-DEEu2sDf.js"; import { T as A, nt as j, tt as M } from "./mjr-primevue-BKVyemoz.js"; -import { n as N, r as ee } from "./mjr-vue-vendor-CsjHewX5.js"; +import { n as N, r as ee } from "./mjr-vue-vendor-DNxXXaMq.js"; import { n as P, r as te, t as F } from "./state-DPiaUMw1.js"; import { a as ne, c as re, i as ie, o as ae, r as oe, s as se } from "./model3dRenderer-Cgp5upXw.js"; //#region ui/utils/events.ts @@ -9746,7 +9746,7 @@ function Xr() { Kr = e; }), qr || import("./scopes-X1iFrTle.js").then((e) => { qr = e; - }), Jr || import("./genInfo-BJiJ-hcb.js").then((e) => e.n).then((e) => { + }), Jr || import("./genInfo-I32MW9pE.js").then((e) => e.n).then((e) => { Jr = e; }), Yr || import("./frameExport-tksSZ7sb.js").then((e) => { Yr = e; diff --git a/dist/chunks/ViewerPortal-BIo1U6LC.js b/dist/chunks/ViewerPortal-CdXGze2M.js similarity index 98% rename from dist/chunks/ViewerPortal-BIo1U6LC.js rename to dist/chunks/ViewerPortal-CdXGze2M.js index 404598b1..1351e13a 100644 --- a/dist/chunks/ViewerPortal-BIo1U6LC.js +++ b/dist/chunks/ViewerPortal-CdXGze2M.js @@ -1,9 +1,9 @@ import { a as e, i as t } from "./viewerRuntimeHosts-DneLZtWG.js"; import { r as n } from "./events-DEEu2sDf.js"; -import { a as r, c as i, i as a, l as o, o as s, s as c, t as l, u } from "./Viewer-UwR1AbHF.js"; -import { i as d, r as f } from "./floatingViewerManager-DfnpKtiy.js"; +import { a as r, c as i, i as a, l as o, o as s, s as c, t as l, u } from "./Viewer-zY-V7v6e.js"; +import { i as d, r as f } from "./floatingViewerManager-COFmnbOD.js"; import { B as p, C as m, D as h, E as g, G as _, H as v, I as y, O as b, R as x, T as S, W as C, ct as w, dt as T, j as E, k as D, lt as O, nt as k, q as A, ut as j, w as M, z as N } from "./mjr-primevue-BKVyemoz.js"; -import { t as P } from "./TagsEditor-QB_-ly7D.js"; +import { t as P } from "./TagsEditor-CsDpjKy_.js"; //#region ui/vue/components/viewer/FloatingViewerHost.vue var F = { __name: "FloatingViewerHost", diff --git a/dist/chunks/floatingViewerManager-DfnpKtiy.js b/dist/chunks/floatingViewerManager-COFmnbOD.js similarity index 99% rename from dist/chunks/floatingViewerManager-DfnpKtiy.js rename to dist/chunks/floatingViewerManager-COFmnbOD.js index 2308bca4..1ebe599e 100644 --- a/dist/chunks/floatingViewerManager-DfnpKtiy.js +++ b/dist/chunks/floatingViewerManager-COFmnbOD.js @@ -98,7 +98,7 @@ var ie = /* @__PURE__ */ e({ teardownFloatingViewerManager: () => $ }), h = null, g = null; async function ae() { - return h || (g ||= import("./FloatingViewer-C82GMRoh.js").then((e) => (h = e.FloatingViewer, h)), g); + return h || (g ||= import("./FloatingViewer-dII3_GXK.js").then((e) => (h = e.FloatingViewer, h)), g); } var _ = null, oe = null; async function se() { diff --git a/dist/chunks/genInfo-BJiJ-hcb.js b/dist/chunks/genInfo-I32MW9pE.js similarity index 99% rename from dist/chunks/genInfo-BJiJ-hcb.js rename to dist/chunks/genInfo-I32MW9pE.js index 73ae53fc..a97439ef 100644 --- a/dist/chunks/genInfo-BJiJ-hcb.js +++ b/dist/chunks/genInfo-I32MW9pE.js @@ -1,7 +1,7 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js"; import { m as t, o as n } from "./events-DEEu2sDf.js"; -import { h as r } from "./Viewer-UwR1AbHF.js"; -import { i, n as a, r as o, t as s, u as c } from "./SidebarWorkflowSection-DigIwTnf.js"; +import { h as r } from "./Viewer-zY-V7v6e.js"; +import { i, n as a, r as o, t as s, u as c } from "./SidebarWorkflowSection-B4cqBdw-.js"; import { B as l, D as u, E as d, O as f, T as p, ct as m, dt as h, k as g, ut as _ } from "./mjr-primevue-BKVyemoz.js"; //#region ui/vue/components/viewer/ViewerMetadataBlock.vue var v = { style: { diff --git a/dist/chunks/mjr-vue-vendor-CsjHewX5.js b/dist/chunks/mjr-vue-vendor-DNxXXaMq.js similarity index 56% rename from dist/chunks/mjr-vue-vendor-CsjHewX5.js rename to dist/chunks/mjr-vue-vendor-DNxXXaMq.js index 2f11c915..53028a54 100644 --- a/dist/chunks/mjr-vue-vendor-CsjHewX5.js +++ b/dist/chunks/mjr-vue-vendor-DNxXXaMq.js @@ -1,26 +1,22 @@ import { $ as e, F as t, G as n, I as r, P as i, Q as a, T as o, X as s, Y as c, Z as l, at as u, et as d, nt as f, ot as p, tt as m } from "./mjr-primevue-BKVyemoz.js"; -//#region node_modules/pinia/dist/pinia.mjs +//#region node_modules/pinia/dist/pinia.js var h = typeof window < "u", g, _ = (e) => g = e, v = () => i() && t(y) || g, y = Symbol(); function b(e) { return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function"; } -var x; -(function(e) { - e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function"; -})(x ||= {}); -var S = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null }; -function C(e, { autoBom: t = !1 } = {}) { +var x = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null }; +function S(e, { autoBom: t = !1 } = {}) { return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["", e], { type: e.type }) : e; } -function w(e, t, n) { +function C(e, t, n) { let r = new XMLHttpRequest(); r.open("GET", e), r.responseType = "blob", r.onload = function() { - k(r.response, t, n); + O(r.response, t, n); }, r.onerror = function() { console.error("could not download file"); }, r.send(); } -function T(e) { +function w(e) { let t = new XMLHttpRequest(); t.open("HEAD", e, !1); try { @@ -28,7 +24,7 @@ function T(e) { } catch {} return t.status >= 200 && t.status <= 299; } -function E(e) { +function T(e) { try { e.dispatchEvent(new MouseEvent("click")); } catch { @@ -51,29 +47,29 @@ function E(e) { e.dispatchEvent(t); } } -var D = typeof navigator == "object" ? navigator : { userAgent: "" }, O = /Macintosh/.test(D.userAgent) && /AppleWebKit/.test(D.userAgent) && !/Safari/.test(D.userAgent), k = h ? typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !O ? A : "msSaveOrOpenBlob" in D ? j : M : () => {}; -function A(e, t = "download", n) { +var E = typeof navigator == "object" ? navigator : { userAgent: "" }, D = /Macintosh/.test(E.userAgent) && /AppleWebKit/.test(E.userAgent) && !/Safari/.test(E.userAgent), O = h ? typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !D ? k : "msSaveOrOpenBlob" in E ? A : j : () => {}; +function k(e, t = "download", n) { let r = document.createElement("a"); - r.download = t, r.rel = "noopener", typeof e == "string" ? (r.href = e, r.origin === location.origin ? E(r) : T(r.href) ? w(e, t, n) : (r.target = "_blank", E(r))) : (r.href = URL.createObjectURL(e), setTimeout(function() { + r.download = t, r.rel = "noopener", typeof e == "string" ? (r.href = e, r.origin === location.origin ? T(r) : w(r.href) ? C(e, t, n) : (r.target = "_blank", T(r))) : (r.href = URL.createObjectURL(e), setTimeout(function() { URL.revokeObjectURL(r.href); }, 4e4), setTimeout(function() { - E(r); + T(r); }, 0)); } -function j(e, t = "download", n) { - if (typeof e == "string") if (T(e)) w(e, t, n); +function A(e, t = "download", n) { + if (typeof e == "string") if (w(e)) C(e, t, n); else { let t = document.createElement("a"); t.href = e, t.target = "_blank", setTimeout(function() { - E(t); + T(t); }); } - else navigator.msSaveOrOpenBlob(C(e, n), t); + else navigator.msSaveOrOpenBlob(S(e, n), t); } -function M(e, t, n, r) { - if (r ||= open("", "_blank"), r && (r.document.title = r.document.body.innerText = "downloading..."), typeof e == "string") return w(e, t, n); - let i = e.type === "application/octet-stream", a = /constructor/i.test(String(S.HTMLElement)) || "safari" in S, o = /CriOS\/[\d]+/.test(navigator.userAgent); - if ((o || i && a || O) && typeof FileReader < "u") { +function j(e, t, n, r) { + if (r ||= open("", "_blank"), r && (r.document.title = r.document.body.innerText = "downloading..."), typeof e == "string") return C(e, t, n); + let i = e.type === "application/octet-stream", a = /constructor/i.test(String(x.HTMLElement)) || "safari" in x, o = /CriOS\/[\d]+/.test(navigator.userAgent); + if ((o || i && a || D) && typeof FileReader < "u") { let t = new FileReader(); t.onloadend = function() { let e = t.result; @@ -87,8 +83,8 @@ function M(e, t, n, r) { }, 4e4); } } -var { assign: N } = Object; -function P() { +var { assign: M } = Object; +function N() { let t = c(!0), n = t.run(() => f({})), r = [], i = [], a = e({ install(e) { _(a), a._a = e, e.provide(y, a), e.config.globalProperties.$pinia = a, i.forEach((e) => r.push(e)), i = []; @@ -104,80 +100,80 @@ function P() { }); return a; } -var F = () => {}; -function I(e, t, n, r = F) { +var P = () => {}; +function F(e, t, n, r = P) { e.add(t); let i = () => { e.delete(t) && r(); }; return !n && s() && d(i), i; } -function L(e, ...t) { +function I(e, ...t) { e.forEach((e) => { e(...t); }); } -var R = (e) => e(), z = Symbol(), B = Symbol(); -function V(e, t) { +var L = (e) => e(), R = Symbol(), z = Symbol(); +function B(e, t) { e instanceof Map && t instanceof Map ? t.forEach((t, n) => e.set(n, t)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e); for (let n in t) { - if (!t.hasOwnProperty(n)) continue; + if (!Object.hasOwn(t, n)) continue; let r = t[n], i = e[n]; - b(i) && b(r) && e.hasOwnProperty(n) && !a(r) && !l(r) ? e[n] = V(i, r) : e[n] = r; + b(i) && b(r) && Object.hasOwn(e, n) && !a(r) && !l(r) ? e[n] = B(i, r) : e[n] = r; } return e; } -var H = Symbol(); -function U(e) { - return !b(e) || !Object.prototype.hasOwnProperty.call(e, H); +var V = Symbol(); +function H(e) { + return !e || typeof e != "object" || !Object.hasOwn(e, V); } -var { assign: W } = Object; -function G(e) { +var { assign: U } = Object; +function W(e) { return !!(a(e) && e.effect); } -function K(t, n, r, i) { +function G(t, n, r, i) { let { state: a, actions: s, getters: c } = n, l = r.state.value[t], u; function d() { - return l || (r.state.value[t] = a ? a() : {}), W(p(r.state.value[t]), s, Object.keys(c || {}).reduce((n, i) => (n[i] = e(o(() => { + return l || (r.state.value[t] = a ? a() : {}), U(p(r.state.value[t]), s, Object.keys(c || {}).reduce((n, i) => (n[i] = e(o(() => { _(r); let e = r._s.get(t); return c[i].call(e, e); })), n), {})); } - return u = q(t, d, n, r, i, !0), u; + return u = K(t, d, n, r, i, !0), u; } -function q(e, t, i = {}, o, s, d) { - let p, h = W({ actions: {} }, i), g = { deep: !0 }, v, y, b = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set(), C = o.state.value[e]; - !d && !C && (o.state.value[e] = {}), f({}); - let w; - function T(t) { +function K(e, t, i = {}, o, s, d) { + let f, p = U({ actions: {} }, i), h = { deep: !0 }, g, v, y = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), x = o.state.value[e]; + !d && !x && (o.state.value[e] = {}); + let S; + function C(t) { let n; - v = y = !1, typeof t == "function" ? (t(o.state.value[e]), n = { - type: x.patchFunction, + g = v = !1, typeof t == "function" ? (t(o.state.value[e]), n = { + type: "patch function", storeId: e, events: void 0 - }) : (V(o.state.value[e], t), n = { - type: x.patchObject, + }) : (B(o.state.value[e], t), n = { + type: "patch object", payload: t, storeId: e, events: void 0 }); - let i = w = Symbol(); + let i = S = Symbol(); r().then(() => { - w === i && (v = !0); - }), y = !0, L(b, n, o.state.value[e]); + S === i && (g = !0); + }), v = !0, I(y, n, o.state.value[e]); } - let E = d ? function() { + let w = d ? function() { let { state: e } = i, t = e ? e() : {}; this.$patch((e) => { - W(e, t); + U(e, t); }); - } : F; - function D() { - p.stop(), b.clear(), S.clear(), o._s.delete(e); + } : P; + function T() { + f.stop(), y.clear(), b.clear(), o._s.delete(e); } - let O = (t, n = "") => { - if (z in t) return t[B] = n, t; + let E = (t, n = "") => { + if (R in t) return t[z] = n, t; let r = function() { _(o); let n = Array.from(arguments), i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(); @@ -187,70 +183,72 @@ function q(e, t, i = {}, o, s, d) { function c(e) { a.add(e); } - L(S, { + I(b, { args: n, - name: r[B], - store: k, + name: r[z], + store: D, after: s, onError: c }); let l; try { - l = t.apply(this && this.$id === e ? this : k, n); + l = t.apply(this && this.$id === e ? this : D, n); } catch (e) { - throw L(a, e), e; + throw I(a, e), e; } - return l instanceof Promise ? l.then((e) => (L(i, e), e)).catch((e) => (L(a, e), Promise.reject(e))) : (L(i, l), l); + return l instanceof Promise ? l.then((e) => (I(i, e), e)).catch((e) => (I(a, e), Promise.reject(e))) : (I(i, l), l); }; - return r[z] = !0, r[B] = n, r; - }, k = m({ + return r[R] = !0, r[z] = n, r; + }, D = m({ _p: o, $id: e, - $onAction: I.bind(null, S), - $patch: T, - $reset: E, + $onAction: F.bind(null, b), + $patch: C, + $reset: w, $subscribe(t, r = {}) { - let i = I(b, t, r.detached, () => a()), a = p.run(() => n(() => o.state.value[e], (n) => { - (r.flush === "sync" ? y : v) && t({ + if (y.has(t)) return P; + let i = F(y, t, r.detached, () => a()), a = f.run(() => n(() => o.state.value[e], (n) => { + (r.flush === "sync" ? v : g) && t({ storeId: e, - type: x.direct, + type: "direct", events: void 0 }, n); - }, W({}, g, r))); + }, U({}, h, r))); return i; }, - $dispose: D + $dispose: T }); - o._s.set(e, k); - let A = (o._a && o._a.runWithContext || R)(() => o._e.run(() => (p = c()).run(() => t({ action: O })))); - for (let t in A) { - let n = A[t]; - a(n) && !G(n) || l(n) ? d || (C && U(n) && (a(n) ? n.value = C[t] : V(n, C[t])), o.state.value[e][t] = n) : typeof n == "function" && (A[t] = O(n, t), h.actions[t] = n); + o._s.set(e, D); + let O = (o._a && o._a.runWithContext || L)(() => o._e.run(() => (f = c()).run(() => t({ action: E })))); + for (let t in O) { + let n = O[t]; + a(n) && !W(n) || l(n) ? d || (x && H(n) && (a(n) ? n.value = x[t] : B(n, x[t])), o.state.value[e][t] = n) : typeof n == "function" && (O[t] = E(n, t), p.actions[t] = n); } - return W(k, A), W(u(k), A), Object.defineProperty(k, "$state", { + return U(D, O), U(u(D), O), Object.defineProperty(D, "$state", { get: () => o.state.value[e], set: (e) => { - T((t) => { - W(t, e); + C((t) => { + U(t, e); }); } }), o._p.forEach((e) => { - W(k, p.run(() => e({ - store: k, + let t = f.run(() => e({ + store: D, app: o._a, pinia: o, - options: h - }))); - }), C && d && i.hydrate && i.hydrate(k.$state, C), v = !0, y = !0, k; + options: p + })); + U(D, t); + }), x && d && i.hydrate && i.hydrate(D.$state, x), g = !0, v = !0, D; } -function J(e, n, r) { +function q(e, n, r) { let a, o = typeof n == "function"; a = o ? r : n; function s(r, s) { let c = i(); - return r ||= c ? t(y, null) : null, r && _(r), r = g, r._s.has(e) || (o ? q(e, n, a, r) : K(e, a, r)), r._s.get(e); + return r ||= c ? t(y, null) : null, r && _(r), r = g, r._s.has(e) || (o ? K(e, n, a, r) : G(e, a, r)), r._s.get(e); } return s.$id = e, s; } //#endregion -export { J as n, v as r, P as t }; +export { q as n, v as r, N as t }; diff --git a/dist/chunks/openMajoorSettings-DGE2ausl.js b/dist/chunks/openMajoorSettings-C2B821vM.js similarity index 99% rename from dist/chunks/openMajoorSettings-DGE2ausl.js rename to dist/chunks/openMajoorSettings-C2B821vM.js index 9b834ad2..3f01fa8c 100644 --- a/dist/chunks/openMajoorSettings-DGE2ausl.js +++ b/dist/chunks/openMajoorSettings-C2B821vM.js @@ -1,6 +1,6 @@ import { A as e, E as t, J as n, R as r, S as i, Y as a, b as o, j as s, m as c } from "./events-DEEu2sDf.js"; import { a as l, n as u } from "./graphTraversal-Sruu0ipL.js"; -import { J as d, b as f, v as p, x as ee, y as te } from "./SidebarWorkflowSection-DigIwTnf.js"; +import { J as d, b as f, v as p, x as ee, y as te } from "./SidebarWorkflowSection-B4cqBdw-.js"; //#region ui/features/viewer/floatingViewerProgress.ts var m = "progress-update", h = "__MJR_MFV_PROGRESS_SERVICE__"; function ne() { diff --git a/dist/chunks/viewerOpenRequest-D3EDfHDx.js b/dist/chunks/viewerOpenRequest-Gv3VIRAS.js similarity index 95% rename from dist/chunks/viewerOpenRequest-D3EDfHDx.js rename to dist/chunks/viewerOpenRequest-Gv3VIRAS.js index 92a739c4..737c5bea 100644 --- a/dist/chunks/viewerOpenRequest-D3EDfHDx.js +++ b/dist/chunks/viewerOpenRequest-Gv3VIRAS.js @@ -1,6 +1,6 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js"; import { r as t } from "./events-DEEu2sDf.js"; -import { t as n } from "./Viewer-UwR1AbHF.js"; +import { t as n } from "./Viewer-zY-V7v6e.js"; //#region ui/features/viewer/viewerOpenRequest.ts var r = /* @__PURE__ */ e({ requestViewerOpen: () => o }); function i(e) { diff --git a/dist/entry.js b/dist/entry.js index 0b8fc8f0..4fc2aa7d 100644 --- a/dist/entry.js +++ b/dist/entry.js @@ -1,13 +1,13 @@ import { $t as e, A as t, B as n, C as r, D as i, E as a, Ft as o, G as s, Gt as c, H as l, Ht as u, It as d, J as f, Jt as p, Kt as m, L as h, Lt as g, M as _, N as v, O as y, P as b, Qt as x, Rt as S, S as C, Tt as w, U as T, V as E, Vt as D, W as O, Zt as k, _ as A, _t as j, b as M, bt as N, c as P, d as F, dt as ee, en as te, f as I, ft as ne, g as re, gt as ie, h as ae, ht as oe, in as se, j as ce, k as le, kt as ue, l as de, lt as fe, m as pe, mt as me, nn as he, o as ge, ot as _e, pt as ve, q as ye, qt as be, rn as xe, s as Se, tn as Ce, u as we, vt as Te, w as Ee, y as De, yt as Oe, z as ke, zt as Ae } from "./chunks/viewerRuntimeHosts-DneLZtWG.js"; import { $ as je, A as Me, Ct as Ne, F as Pe, G as Fe, H as Ie, K as Le, L as Re, Q as ze, St as Be, U as Ve, W as He, X as Ue, Z as We, _ as Ge, at as Ke, bt as qe, ct as Je, dt as Ye, et as Xe, ft as Ze, g as Qe, h as $e, it as et, j as tt, lt as L, m as R, n as nt, o as z, ot as rt, pt as it, q as at, r as B, rt as ot, st, t as ct, tt as lt, ut, xt as dt, yt as ft } from "./chunks/events-DEEu2sDf.js"; import { a as pt, i as mt, n as ht, t as gt } from "./chunks/graphTraversal-Sruu0ipL.js"; -import { A as _t, B as vt, C as yt, D as bt, E as xt, F as St, G as Ct, H as wt, I as Tt, J as Et, L as Dt, M as Ot, N as kt, O as At, P as jt, R as Mt, S as Nt, T as Pt, U as Ft, V as It, W as Lt, Y as Rt, _ as zt, b as Bt, d as Vt, g as Ht, j as Ut, k as Wt, q as Gt, v as Kt, x as qt, y as Jt, z as Yt } from "./chunks/Viewer-UwR1AbHF.js"; -import { $ as Xt, A as Zt, B as Qt, C as $t, D as en, E as tn, F as nn, G as rn, H as an, I as on, J as sn, K as cn, L as ln, M as un, N as dn, O as fn, P as pn, Q as mn, R as hn, S as gn, T as _n, U as vn, V as yn, W as bn, X as xn, Y as Sn, Z as Cn, a as wn, c as Tn, d as En, f as Dn, g as On, h as kn, i as An, j as jn, k as Mn, l as Nn, m as Pn, n as Fn, o as In, p as Ln, q as Rn, s as zn, t as Bn, u as Vn, w as Hn, z as Un } from "./chunks/SidebarWorkflowSection-DigIwTnf.js"; -import { _ as Wn, i as Gn, n as Kn, p as qn, t as Jn } from "./chunks/openMajoorSettings-DGE2ausl.js"; -import { a as Yn, c as Xn, l as Zn, o as Qn, s as $n, u as er } from "./chunks/floatingViewerManager-DfnpKtiy.js"; +import { A as _t, B as vt, C as yt, D as bt, E as xt, F as St, G as Ct, H as wt, I as Tt, J as Et, L as Dt, M as Ot, N as kt, O as At, P as jt, R as Mt, S as Nt, T as Pt, U as Ft, V as It, W as Lt, Y as Rt, _ as zt, b as Bt, d as Vt, g as Ht, j as Ut, k as Wt, q as Gt, v as Kt, x as qt, y as Jt, z as Yt } from "./chunks/Viewer-zY-V7v6e.js"; +import { $ as Xt, A as Zt, B as Qt, C as $t, D as en, E as tn, F as nn, G as rn, H as an, I as on, J as sn, K as cn, L as ln, M as un, N as dn, O as fn, P as pn, Q as mn, R as hn, S as gn, T as _n, U as vn, V as yn, W as bn, X as xn, Y as Sn, Z as Cn, a as wn, c as Tn, d as En, f as Dn, g as On, h as kn, i as An, j as jn, k as Mn, l as Nn, m as Pn, n as Fn, o as In, p as Ln, q as Rn, s as zn, t as Bn, u as Vn, w as Hn, z as Un } from "./chunks/SidebarWorkflowSection-B4cqBdw-.js"; +import { _ as Wn, i as Gn, n as Kn, p as qn, t as Jn } from "./chunks/openMajoorSettings-C2B821vM.js"; +import { a as Yn, c as Xn, l as Zn, o as Qn, s as $n, u as er } from "./chunks/floatingViewerManager-COFmnbOD.js"; import { A as tr, B as V, C as H, D as nr, E as U, F as rr, G as ir, H as ar, I as or, J as sr, K as cr, L as lr, M as ur, N as dr, O as W, R as fr, S as pr, T as G, U as mr, V as hr, W as gr, b as _r, ct as K, dt as q, et as vr, it as yr, j as J, k as Y, lt as X, nt as Z, q as Q, rt as br, st as xr, tt as Sr, ut as Cr, v as wr, w as Tr, x as Er, y as Dr, z as Or } from "./chunks/mjr-primevue-BKVyemoz.js"; -import { n as kr, r as Ar } from "./chunks/mjr-vue-vendor-CsjHewX5.js"; -import { t as jr } from "./chunks/TagsEditor-QB_-ly7D.js"; +import { n as kr, r as Ar } from "./chunks/mjr-vue-vendor-DNxXXaMq.js"; +import { t as jr } from "./chunks/TagsEditor-CsDpjKy_.js"; import { app as Mr } from "../../scripts/app.js"; function Nr(e = null) { return null; @@ -1100,7 +1100,7 @@ var qi = { } }, Ji = null; function Yi() { - return Ji ||= import("./chunks/viewerOpenRequest-D3EDfHDx.js").then((e) => e.n), Ji; + return Ji ||= import("./chunks/viewerOpenRequest-Gv3VIRAS.js").then((e) => e.n), Ji; } function Xi(e) { if (!e) return ""; @@ -1617,10 +1617,10 @@ function ia() { //#region ui/features/contextmenu/GridContextMenu.ts var aa = 1, oa = null, sa = null; function ca() { - return oa ||= import("./chunks/viewerOpenRequest-D3EDfHDx.js").then((e) => e.n), oa; + return oa ||= import("./chunks/viewerOpenRequest-Gv3VIRAS.js").then((e) => e.n), oa; } function la() { - return sa ||= import("./chunks/floatingViewerManager-DfnpKtiy.js").then((e) => e.n), sa; + return sa ||= import("./chunks/floatingViewerManager-COFmnbOD.js").then((e) => e.n), sa; } function ua(e) { let t = String(e || "").trim().toLowerCase(); @@ -7859,10 +7859,10 @@ var td = { Z(!0); let o = Z(0), s = Z(0), c = /* @__PURE__ */ new WeakMap(), l = 0, u = 0, d = 0, f = 0, p = 0, m = /* @__PURE__ */ new Map(), h = null, g = null; function _() { - return h ||= import("./chunks/viewerOpenRequest-D3EDfHDx.js").then((e) => e.n), h; + return h ||= import("./chunks/viewerOpenRequest-Gv3VIRAS.js").then((e) => e.n), h; } function v() { - return g ||= import("./chunks/floatingViewerManager-DfnpKtiy.js").then((e) => e.n), g; + return g ||= import("./chunks/floatingViewerManager-COFmnbOD.js").then((e) => e.n), g; } function y(e) { return (Array.isArray(e) ? e : []).slice().sort((e, t) => { @@ -9166,10 +9166,10 @@ var td = { } }, gd = 240, _d = 120, vd = 80, yd = null, bd = null; function xd() { - return yd ||= import("./chunks/viewerOpenRequest-D3EDfHDx.js").then((e) => e.n), yd; + return yd ||= import("./chunks/viewerOpenRequest-Gv3VIRAS.js").then((e) => e.n), yd; } function Sd() { - return bd ||= import("./chunks/floatingViewerManager-DfnpKtiy.js").then((e) => e.n), bd; + return bd ||= import("./chunks/floatingViewerManager-COFmnbOD.js").then((e) => e.n), bd; } function Cd(e) { let t = document.createElement("button"); @@ -11413,7 +11413,7 @@ function Qp() { var $p = { __name: "GlobalRuntime", setup(e) { - let t = ur(() => import("./chunks/ViewerPortal-BIo1U6LC.js")), n = Z(!1), r = [ + let t = ur(() => import("./chunks/ViewerPortal-CdXGze2M.js")), n = Z(!1), r = [ B.OPEN_VIEWER, B.MFV_OPEN, B.MFV_TOGGLE, @@ -24534,7 +24534,7 @@ async function MC(e) { try { let t = await kC(e); if (t.length) { - let { floatingViewerManager: e } = await import("./chunks/floatingViewerManager-DfnpKtiy.js").then((e) => e.n); + let { floatingViewerManager: e } = await import("./chunks/floatingViewerManager-COFmnbOD.js").then((e) => e.n); if (await e.openAssets({ assets: t, index: 0 @@ -24988,7 +24988,7 @@ function aw({ cleanupEntryRuntimeFn: e = rw, teardownLiveStreamTracker: t, teard //#region ui/entry.ts var ow = null, sw = null, cw = null; function lw() { - return cw ||= import("./chunks/floatingViewerManager-DfnpKtiy.js").then((e) => e.n), cw; + return cw ||= import("./chunks/floatingViewerManager-COFmnbOD.js").then((e) => e.n), cw; } function uw() { cw && cw.then((e) => e?.teardownFloatingViewerManager?.()).catch((e) => console.debug?.("[Majoor] MFV teardown skipped", e)); @@ -25108,7 +25108,7 @@ function kw(e = 1200) { }, Math.max(250, Number(e) || 0)); } function Aw(e) { - import("./chunks/LiveStreamTracker-Dt-zbH9a.js").then((t) => { + import("./chunks/LiveStreamTracker-dDHYBygv.js").then((t) => { ow = t; try { t.initLiveStreamTracker(e); diff --git a/package-lock.json b/package-lock.json index 2ebda800..9a9733ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "comfyui-majoor-assetsmanager", "dependencies": { "@tanstack/vue-virtual": "^3.13.34", - "pinia": "^3.0.4", + "pinia": "^4.0.2", "primevue": "^5.0.0", "three": "0.185.1", "vue": "^3.5.35" @@ -2122,37 +2122,34 @@ } }, "node_modules/@vue/devtools-api": { - "version": "7.7.9", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-7.7.9.tgz", - "integrity": "sha512-kIE8wvwlcZ6TJTbNeU2HQNtaxLx3a84aotTITUuL/4bzfPxzajGBOoqjMhwZJ8L9qFYDU/lAYMEEm11dnZOD6g==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-8.2.1.tgz", + "integrity": "sha512-6u4vXBlIBAC1wMplIZgpyPn7uh/s4Bf6F5bMzvLv+EdJ0aHs/+4B7Ygv864EStQSjRbsRzTko/kUG1A1IejQ3A==", "license": "MIT", + "peer": true, "dependencies": { - "@vue/devtools-kit": "^7.7.9" + "@vue/devtools-kit": "^8.2.1" } }, "node_modules/@vue/devtools-kit": { - "version": "7.7.9", - "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-7.7.9.tgz", - "integrity": "sha512-PyQ6odHSgiDVd4hnTP+aDk2X4gl2HmLDfiyEnn3/oV+ckFDuswRs4IbBT7vacMuGdwY/XemxBoh302ctbsptuA==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-8.2.1.tgz", + "integrity": "sha512-FIGIuq3AWReEpbAHY/cRGeHDfI0qOb8OCQ3YjbEAX04uaxIDbGc9rhkbVcG7rnfHPXE3RsU5KrWOu9V/okd8AQ==", "license": "MIT", + "peer": true, "dependencies": { - "@vue/devtools-shared": "^7.7.9", - "birpc": "^2.3.0", + "@vue/devtools-shared": "^8.2.1", + "birpc": "^2.6.1", "hookable": "^5.5.3", - "mitt": "^3.0.1", - "perfect-debounce": "^1.0.0", - "speakingurl": "^14.0.1", - "superjson": "^2.2.2" + "perfect-debounce": "^2.0.0" } }, "node_modules/@vue/devtools-shared": { - "version": "7.7.9", - "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-7.7.9.tgz", - "integrity": "sha512-iWAb0v2WYf0QWmxCGy0seZNDPdO3Sp5+u78ORnyeonS6MT4PC7VPrryX2BpMJrwlDeaZ6BD4vP4XKjK0SZqaeA==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-8.2.1.tgz", + "integrity": "sha512-Fkac7lUdGReh6pVOi3AYPRGe82LQqRmAfThW7RRligOAP0ZA/Z1z9XLHDM9dv34pV2HRc79DK8uKPeG2fLnA/g==", "license": "MIT", - "dependencies": { - "rfdc": "^1.4.1" - } + "peer": true }, "node_modules/@vue/reactivity": { "version": "3.5.35", @@ -2338,6 +2335,7 @@ "resolved": "https://registry.npmjs.org/birpc/-/birpc-2.9.0.tgz", "integrity": "sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==", "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/antfu" } @@ -2426,21 +2424,6 @@ "dev": true, "license": "MIT" }, - "node_modules/copy-anything": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-4.0.5.tgz", - "integrity": "sha512-7Vv6asjS4gMOuILabD3l739tsaxFQmC+a7pLZm02zyvs8p977bL3zEgq3yDk5rn9B0PbYgIv++jmHcuUab4RhA==", - "license": "MIT", - "dependencies": { - "is-what": "^5.2.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/mesqueeb" - } - }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -2998,7 +2981,8 @@ "version": "5.5.3", "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz", "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/html-escaper": { "version": "2.0.2", @@ -3067,18 +3051,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-what": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/is-what/-/is-what-5.5.0.tgz", - "integrity": "sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/mesqueeb" - } - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -3621,12 +3593,6 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/mitt": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", - "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", - "license": "MIT" - }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -3675,6 +3641,12 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/nostics": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/nostics/-/nostics-1.2.0.tgz", + "integrity": "sha512-FGqEfhQjrvo1lL8KFifdTQiNwwQHJxC1jtYE1Rc54qF/jxONUNL+kC9gS1krX8Q65PgrQ5fCqH/I4NhWBvdSqg==", + "license": "MIT" + }, "node_modules/obug": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.1.tgz", @@ -3916,10 +3888,11 @@ "license": "MIT" }, "node_modules/perfect-debounce": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz", - "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", - "license": "MIT" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.1.0.tgz", + "integrity": "sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==", + "license": "MIT", + "peer": true }, "node_modules/picocolors": { "version": "1.1.1", @@ -3941,21 +3914,25 @@ } }, "node_modules/pinia": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/pinia/-/pinia-3.0.4.tgz", - "integrity": "sha512-l7pqLUFTI/+ESXn6k3nu30ZIzW5E2WZF/LaHJEpoq6ElcLD+wduZoB2kBN19du6K/4FDpPMazY2wJr+IndBtQw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/pinia/-/pinia-4.0.2.tgz", + "integrity": "sha512-yKVVA7bSj5oRZFp/Ab9wLlmyb5gPUYEiIm4ryiWTe/xe7PtkRdMVOp1X1ggvq0c6Uj7Q0Du1HnV2mtAwM0Ks1g==", "license": "MIT", "dependencies": { - "@vue/devtools-api": "^7.7.7" + "nostics": "^1.1.4" }, "funding": { "url": "https://github.com/sponsors/posva" }, "peerDependencies": { - "typescript": ">=4.5.0", + "@vue/devtools-api": "^8.1.5", + "typescript": ">=5.6.0", "vue": "^3.5.11" }, "peerDependenciesMeta": { + "@vue/devtools-api": { + "optional": false + }, "typescript": { "optional": true } @@ -4108,12 +4085,6 @@ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" } }, - "node_modules/rfdc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", - "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", - "license": "MIT" - }, "node_modules/rolldown": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.1.5.tgz", @@ -4226,15 +4197,6 @@ "node": ">=0.10.0" } }, - "node_modules/speakingurl": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/speakingurl/-/speakingurl-14.0.1.tgz", - "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/stackback": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", @@ -4366,18 +4328,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/superjson": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/superjson/-/superjson-2.2.6.tgz", - "integrity": "sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==", - "license": "MIT", - "dependencies": { - "copy-anything": "^4" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", diff --git a/package.json b/package.json index 8c1fd43c..dc3bff5c 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@tanstack/vue-virtual": "^3.13.34", - "pinia": "^3.0.4", + "pinia": "^4.0.2", "primevue": "^5.0.0", "three": "0.185.1", "vue": "^3.5.35"