dependencies upgrade (#12460)

This commit is contained in:
megayu
2026-03-23 21:32:28 +08:00
committed by GitHub
parent 767540d85b
commit d6403b7746
146 changed files with 7671 additions and 24752 deletions

View File

@@ -86,7 +86,7 @@
(defn import-chosen-graph
[repo]
(p/let [_ (persist-db/<unsafe-delete repo)]
(notification/show! (str "Graph updated! Switching to graph ...") :success)
(notification/show! "Graph updated! Switching to graph ..." :success)
(state/pub-event! [:graph/switch repo])))
(defn ^:export replace-graph-with-db-file []

View File

@@ -1,8 +1,5 @@
(ns frontend.handler.export.common
"common fns for exporting.
exclude some fns which produce lazy-seq, which can cause strange behaviors
when use together with dynamic var."
(:refer-clojure :exclude [map filter mapcat concat remove])
"Common functions for exporting."
(:require [clojure.string :as string]
[frontend.db.conn :as conn]
[frontend.state :as state]

View File

@@ -1,6 +1,5 @@
(ns frontend.handler.export.opml
"export blocks/pages as opml"
(:refer-clojure :exclude [map filter mapcat concat remove newline])
(:require ["/frontend/utils" :as utils]
[clojure.string :as string]
[clojure.zip :as z]

View File

@@ -274,7 +274,7 @@
(notification/show!
(str
(if (= :error type) "[Error]" "")
(str "<" (:id payload) "> ")
"<" (:id payload) "> "
msg) type)))
(when-not fake-error?

View File

@@ -1,6 +1,5 @@
(ns frontend.handler.repo
"System-component-like ns that manages user's repos/graphs"
(:refer-clojure :exclude [clone])
(:require [clojure.string :as string]
[electron.ipc :as ipc]
[frontend.config :as config]