@maiyunnet/kebab 3.2.1 → 3.2.2

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/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * --- 本文件用来定义每个目录实体地址的常量 ---
6
6
  */
7
7
  /** --- 当前系统版本号 --- */
8
- export declare const VER = "3.2.1";
8
+ export declare const VER = "3.2.2";
9
9
  /** --- 框架根目录,以 / 结尾 --- */
10
10
  export declare const ROOT_PATH: string;
11
11
  export declare const LIB_PATH: string;
@@ -134,6 +134,8 @@ export interface IConfigConst {
134
134
  'path': string;
135
135
  /** --- 不含 ? 开头 --- */
136
136
  'qs': string;
137
+ /** --- 含 ? 开头 --- */
138
+ 'qss': string;
137
139
  'startTime': bigint;
138
140
  'startMemory': number;
139
141
  'mobile': boolean;
package/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * --- 本文件用来定义每个目录实体地址的常量 ---
7
7
  */
8
8
  /** --- 当前系统版本号 --- */
9
- export const VER = '3.2.1';
9
+ export const VER = '3.2.2';
10
10
  // --- 服务端用的路径 ---
11
11
  const imu = decodeURIComponent(import.meta.url).replace('file://', '').replace(/^\/(\w:)/, '$1');
12
12
  /** --- /xxx/xxx --- */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maiyunnet/kebab",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Simple, easy-to-use, and fully-featured Node.js framework that is ready-to-use out of the box.",
5
5
  "type": "module",
6
6
  "keywords": [
package/sys/route.js CHANGED
@@ -78,6 +78,7 @@ export async function run(data) {
78
78
  config.const = {
79
79
  'path': data.path,
80
80
  'qs': data.uri.query ?? '',
81
+ 'qss': data.uri.query ? '?' + data.uri.query : '',
81
82
  'startTime': process.hrtime.bigint(),
82
83
  'startMemory': process.memoryUsage().rss,
83
84
  // --- 环境判断 ---