node-karin 1.3.0 → 1.3.1
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.
- package/CHANGELOG.md +8 -0
- package/dist/cli/index.cjs +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.3.1](https://github.com/KarinJS/Karin/compare/core-v1.3.0...core-v1.3.1) (2025-02-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* pnpm 10 (原谅我 push错了 ([1b06936](https://github.com/KarinJS/Karin/commit/1b06936b15864cb6ac61ab279448a86c630f23e4))
|
|
9
|
+
* web页面的请求不走缓存 ([5055eab](https://github.com/KarinJS/Karin/commit/5055eab032bf786d471ca88fbd5c685982e3c4e2))
|
|
10
|
+
|
|
3
11
|
## [1.3.0](https://github.com/KarinJS/Karin/compare/core-v1.2.3...core-v1.3.0) (2025-02-08)
|
|
4
12
|
|
|
5
13
|
|
package/dist/cli/index.cjs
CHANGED
|
@@ -282,7 +282,7 @@ var modifyPackageJson = () => {
|
|
|
282
282
|
if (!data.scripts) data.scripts = {};
|
|
283
283
|
data.scripts.karin = "karin";
|
|
284
284
|
data.pnpm = {};
|
|
285
|
-
data.pnpm.
|
|
285
|
+
data.pnpm.onlyBuiltDependenciesFile = [
|
|
286
286
|
"sqlite3",
|
|
287
287
|
"classic-level"
|
|
288
288
|
];
|
package/dist/cli/index.js
CHANGED
|
@@ -273,7 +273,7 @@ var modifyPackageJson = () => {
|
|
|
273
273
|
if (!data.scripts) data.scripts = {};
|
|
274
274
|
data.scripts.karin = "karin";
|
|
275
275
|
data.pnpm = {};
|
|
276
|
-
data.pnpm.
|
|
276
|
+
data.pnpm.onlyBuiltDependenciesFile = [
|
|
277
277
|
"sqlite3",
|
|
278
278
|
"classic-level"
|
|
279
279
|
];
|
package/dist/index.js
CHANGED
|
@@ -11128,7 +11128,7 @@ var init_plugins = __esm({
|
|
|
11128
11128
|
getPluginListRouter = async (req, res) => {
|
|
11129
11129
|
try {
|
|
11130
11130
|
const { type = "all" } = req.query;
|
|
11131
|
-
const plugins = await getPlugins(type, true);
|
|
11131
|
+
const plugins = await getPlugins(type, true, true);
|
|
11132
11132
|
createSuccessResponse(res, plugins);
|
|
11133
11133
|
} catch (error) {
|
|
11134
11134
|
createServerErrorResponse(res, error.message);
|
|
@@ -11138,7 +11138,7 @@ var init_plugins = __esm({
|
|
|
11138
11138
|
getPluginApps = async (req, res) => {
|
|
11139
11139
|
try {
|
|
11140
11140
|
const { name } = req.body;
|
|
11141
|
-
const list2 = await getPlugins("app", true);
|
|
11141
|
+
const list2 = await getPlugins("app", true, true);
|
|
11142
11142
|
const apps = list2.filter((item) => item.name === name);
|
|
11143
11143
|
const result = [];
|
|
11144
11144
|
apps.forEach((app2) => {
|
|
@@ -11180,7 +11180,7 @@ var init_plugins = __esm({
|
|
|
11180
11180
|
try {
|
|
11181
11181
|
const [nodeKarinInfo, plugins] = await Promise.all([
|
|
11182
11182
|
checkNodeKarinUpdate(),
|
|
11183
|
-
getPlugins("all", true)
|
|
11183
|
+
getPlugins("all", true, true)
|
|
11184
11184
|
]);
|
|
11185
11185
|
const pluginInfos = nodeKarinInfo ? [nodeKarinInfo] : [];
|
|
11186
11186
|
const pluginUpdates = await Promise.all(
|
|
@@ -11233,7 +11233,7 @@ var init_plugins = __esm({
|
|
|
11233
11233
|
batchUpdatePlugins = async (req, res) => {
|
|
11234
11234
|
try {
|
|
11235
11235
|
const { plugins } = req.body;
|
|
11236
|
-
const list2 = await getPlugins("all", true);
|
|
11236
|
+
const list2 = await getPlugins("all", true, true);
|
|
11237
11237
|
const results = await Promise.all(
|
|
11238
11238
|
plugins.map(async (name) => {
|
|
11239
11239
|
const plugin = list2.find((p) => p.name === name);
|