@kotori-bot/loader 1.6.2 → 1.6.3
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/lib/class/loader.js +1 -1
- package/lib/class/runner.js +1 -1
- package/lib/constants.js +2 -2
- package/lib/decorators/index.js +1 -1
- package/lib/decorators/plugin.js +1 -1
- package/lib/decorators/utils.js +1 -1
- package/lib/index.js +1 -1
- package/lib/service/adapter.js +1 -1
- package/lib/service/database.js +1 -1
- package/lib/service/file.js +1 -1
- package/lib/service/server.js +1 -1
- package/lib/types/index.js +1 -1
- package/lib/types/internal.js +1 -1
- package/lib/types/server.js +1 -1
- package/lib/utils/log.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/package.json +3 -3
package/lib/class/loader.js
CHANGED
package/lib/class/runner.js
CHANGED
package/lib/constants.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/7
|
|
9
|
+
* @Date 2024/6/7 17:42:27
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
|
@@ -50,7 +50,7 @@ const DEV_IMPORT = `${DEV_CODE_DIRS}index.ts`;
|
|
|
50
50
|
const CONFIG_EXT = [".toml", ".yml", ".yaml", ".json"];
|
|
51
51
|
const BUILD_CONFIG_NAME = "kotori";
|
|
52
52
|
const DEV_CONFIG_NAME = "kotori.dev";
|
|
53
|
-
const SUPPORTS_VERSION = /(1\.1\.0)|(1\.2\.0)|(1\.3
|
|
53
|
+
const SUPPORTS_VERSION = /(1\.1\.0)|(1\.2\.0)|(1\.(3|4|5|6|7|8|9)\.(.*))/;
|
|
54
54
|
const SUPPORTS_HALF_VERSION = /(x\.x\.(.*?))/;
|
|
55
55
|
const BUILD_MODE = "build";
|
|
56
56
|
const DEV_MODE = "dev";
|
package/lib/decorators/index.js
CHANGED
package/lib/decorators/plugin.js
CHANGED
package/lib/decorators/utils.js
CHANGED
package/lib/index.js
CHANGED
package/lib/service/adapter.js
CHANGED
package/lib/service/database.js
CHANGED
package/lib/service/file.js
CHANGED
package/lib/service/server.js
CHANGED
package/lib/types/index.js
CHANGED
package/lib/types/internal.js
CHANGED
package/lib/types/server.js
CHANGED
package/lib/utils/log.js
CHANGED
package/lib/utils/logger.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kotori-bot/loader",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Loader For KotoriBot",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"express": "^4.18.2",
|
|
29
29
|
"path-to-regexp": "^6.2.2",
|
|
30
30
|
"ws": "^8.14.2",
|
|
31
|
-
"@kotori-bot/
|
|
32
|
-
"@kotori-bot/
|
|
31
|
+
"@kotori-bot/core": "^1.5.1",
|
|
32
|
+
"@kotori-bot/logger": "^1.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/express": "^4.17.21",
|