Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

chore(deps): 接管 frontend/package.json(island 层构建依赖) 的升级

longmeidao680f8f410aba
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index b9bc2565d..9d30c2596 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -7,7 +7,7 @@
"name": "peach-frontend",
"dependencies": {
"@remixicon/react": "4.9.0",
- "@tanstack/react-query": "5.102.8",
+ "@tanstack/react-query": "5.103.1",
"@tanstack/react-table": "8.21.3",
"d3-sankey": "0.12.3",
"react": "19.3.0",
@@ -2154,9 +2154,9 @@
}
},
"node_modules/@tanstack/query-core": {
- "version": "5.102.8",
- "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.102.8.tgz",
- "integrity": "sha512-ZNjkJ33CqvPNec/6lZBnHqLc3EVGPZ9ySLhYahU9TcuRFdmwXewuj0c4hwSWcGHqEUwcSrKeZ+oGcvPBqXcQcg==",
+ "version": "5.103.1",
+ "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.103.1.tgz",
+ "integrity": "sha512-rms8HqTGp6zA00dM+cUQ2eBcgzNJefuu5CAMB37i/6MiGT1zulPOytCFu2a0qjLqVR2n1jENPj9woqFQNuCzWA==",
"license": "MIT",
"funding": {
"type": "github",
@@ -2164,12 +2164,12 @@
}
},
"node_modules/@tanstack/react-query": {
- "version": "5.102.8",
- "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.102.8.tgz",
- "integrity": "sha512-TYBea4OuXWD7MhaSHq069TWbFe7rcwWN6kzT7JF0OKi1K6c1gTv2IzD6A6ExJsCMozdkqBWeuIUZmu4KQg0O5A==",
+ "version": "5.103.1",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.103.1.tgz",
+ "integrity": "sha512-rmAPPApNEK17VXRJhtE1rja53n23VV5w30C0saCgJhhX+EpdUnVqMGV/s5nnzV43X75KTHKzuoiuxSzGTBIkag==",
"license": "MIT",
"dependencies": {
- "@tanstack/query-core": "5.102.8"
+ "@tanstack/query-core": "5.103.1"
},
"funding": {
"type": "github",
diff --git a/frontend/package.json b/frontend/package.json
index 374dd136a..fca52bc44 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -17,7 +17,7 @@
},
"dependencies": {
"@remixicon/react": "4.9.0",
- "@tanstack/react-query": "5.102.8",
+ "@tanstack/react-query": "5.103.1",
"@tanstack/react-table": "8.21.3",
"d3-sankey": "0.12.3",
"react": "19.3.0",
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 4774257ad..4b4695558 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -410,6 +410,7 @@ function ie(e, t) {
if (typeof e != typeof t) return !1;
if (e && t && typeof e == "object" && typeof t == "object") {
if (Array.isArray(e) && Array.isArray(t)) {
+ if (t.length > e.length) return !1;
for (let n = 0; n < t.length; n++) if (!ie(e[n], t[n])) return !1;
return !0;
}
@@ -451,10 +452,11 @@ function ce(e) {
}
function le(e) {
if (!ue(e)) return !1;
- let t = e.constructor;
- if (t === void 0) return !0;
- let n = t.prototype;
- return !(!ue(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
+ let t = Object.getPrototypeOf(e), n = t?.constructor;
+ if (n === void 0) return !0;
+ if (typeof n != "function") return !1;
+ let r = n.prototype;
+ return !(!ue(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
}
function ue(e) {
return Object.prototype.toString.call(e) === "[object Object]";
@@ -1176,7 +1178,7 @@ var Re = class extends be {
}, t);
}
#_() {
- return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
+ return P(this.options.refetchInterval, this.#t) ?? !1;
}
#v(e) {
this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = O.setInterval(() => {
@@ -1287,7 +1289,7 @@ function Be(e, t) {
}
function Ve(e, t, n) {
if (P(t.enabled, e) !== !1 && P(t.staleTime, e) !== "static") {
- let r = typeof n == "function" ? n(e) : n;
+ let r = P(n, e);
return r === "always" || r !== !1 && Ue(e, t);
}
return !1;