@maiyunnet/kebab 2.0.12 → 2.0.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/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/kv.js +1 -3
- package/package.json +1 -1
- package/sys/ctr.js +1 -1
- package/www/example/ctr/test.js +2 -1
- package/www/example/view/test.ejs +1 -0
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.MOD_CWD = exports.FTMP_CWD = exports.IND_CWD = exports.WWW_CWD = exports.LOG_CWD = exports.LIB_CWD = exports.VHOST_CWD = exports.CERT_CWD = exports.CONF_CWD = exports.ROOT_CWD = exports.SYS_PATH = exports.LIB_PATH = exports.ROOT_PATH = exports.VER = void 0;
|
|
13
13
|
/** --- 当前系统版本号 --- */
|
|
14
|
-
exports.VER = '2.0.
|
|
14
|
+
exports.VER = '2.0.14';
|
|
15
15
|
// --- 服务端用的路径 ---
|
|
16
16
|
/** --- /xxx/xxx --- */
|
|
17
17
|
const dirname = __dirname.replace(/\\/g, '/');
|
package/lib/kv.js
CHANGED
|
@@ -1354,9 +1354,7 @@ exports.Connection = Connection;
|
|
|
1354
1354
|
* @param etc 配置信息可留空
|
|
1355
1355
|
*/
|
|
1356
1356
|
function get(ctr, etc) {
|
|
1357
|
-
|
|
1358
|
-
etc = ctr.getPrototype('_config').kv;
|
|
1359
|
-
}
|
|
1357
|
+
etc ??= ctr.getPrototype('_config').kv;
|
|
1360
1358
|
return new Pool(ctr, etc);
|
|
1361
1359
|
}
|
|
1362
1360
|
/**
|
package/package.json
CHANGED
package/sys/ctr.js
CHANGED
package/www/example/ctr/test.js
CHANGED