@karinjs/plugin-basic 1.4.13 → 1.4.14
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/dist/apps/logger.js +1 -1
- package/dist/apps/login.js +3 -3
- package/dist/apps/restart.js +2 -2
- package/dist/apps/status.js +2 -2
- package/dist/apps/update.js +2 -2
- package/dist/{chunk-WACD73KF.js → chunk-JTIGPVWD.js} +1 -1
- package/dist/{chunk-2Z742MDT.js → chunk-OEQXSFBL.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/web.config.js +2 -2
- package/package.json +1 -1
package/dist/apps/logger.js
CHANGED
package/dist/apps/login.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cfg
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JTIGPVWD.js";
|
|
4
4
|
import "../chunk-MRO5L7CE.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-OEQXSFBL.js";
|
|
6
6
|
|
|
7
7
|
// src/apps/login.ts
|
|
8
8
|
import karin, { common, contactFriend, logger, segment } from "node-karin";
|
|
9
9
|
import axios from "node-karin/axios";
|
|
10
10
|
import os from "os";
|
|
11
11
|
var url = { IPv4: ["https://4.ipw.cn"], IPv6: ["https://6.ipw.cn"] };
|
|
12
|
-
var login = karin.command(
|
|
12
|
+
var login = karin.command(/^#?(面板|web)登录$/i, async (e) => {
|
|
13
13
|
const net = os.networkInterfaces();
|
|
14
14
|
const config = cfg.get();
|
|
15
15
|
const IP = { lan: { ipv4: null, ipv6: null }, net: { ipv4: null, ipv6: null } };
|
package/dist/apps/restart.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cfg
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JTIGPVWD.js";
|
|
4
4
|
import "../chunk-MRO5L7CE.js";
|
|
5
5
|
import {
|
|
6
6
|
plugin
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OEQXSFBL.js";
|
|
8
8
|
|
|
9
9
|
// src/apps/restart.ts
|
|
10
10
|
import { common, karin, logger, restart, restartDirect } from "node-karin";
|
package/dist/apps/status.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
} from "../chunk-ODFXVVIE.js";
|
|
8
8
|
import {
|
|
9
9
|
cfg
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-JTIGPVWD.js";
|
|
11
11
|
import "../chunk-MRO5L7CE.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-OEQXSFBL.js";
|
|
13
13
|
|
|
14
14
|
// src/apps/status.ts
|
|
15
15
|
import { karin } from "node-karin";
|
package/dist/apps/update.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cfg
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JTIGPVWD.js";
|
|
4
4
|
import {
|
|
5
5
|
sendToFirstAdmin
|
|
6
6
|
} from "../chunk-MRO5L7CE.js";
|
|
7
7
|
import {
|
|
8
8
|
render
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-OEQXSFBL.js";
|
|
10
10
|
|
|
11
11
|
// src/apps/update.ts
|
|
12
12
|
import fs from "fs";
|
|
@@ -7,7 +7,7 @@ import { karinPathBase } from "node-karin";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "@karinjs/plugin-basic",
|
|
10
|
-
version: "1.4.
|
|
10
|
+
version: "1.4.14",
|
|
11
11
|
description: "Karin\u7684\u57FA\u7840\u63D2\u4EF6,\u63D0\u4F9B\u6700\u57FA\u7840\u7684\u529F\u80FD",
|
|
12
12
|
homepage: "https://github.com/KarinJS/karin-plugin-basic",
|
|
13
13
|
bugs: {
|
package/dist/index.js
CHANGED
package/dist/web.config.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cfg
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTIGPVWD.js";
|
|
4
4
|
import "./chunk-MRO5L7CE.js";
|
|
5
5
|
import {
|
|
6
6
|
plugin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OEQXSFBL.js";
|
|
8
8
|
|
|
9
9
|
// src/web.config.ts
|
|
10
10
|
import { components, defineConfig } from "node-karin";
|