chanjs 1.2.1 → 1.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/core/lib/task.js CHANGED
@@ -1,4 +1,4 @@
1
- import schedule from 'node-schedule
1
+ import schedule from 'node-schedule';
2
2
 
3
3
  export default class Task {
4
4
  constructor(config = {}) {
package/index.js CHANGED
@@ -14,7 +14,7 @@ const {bindClass, createKnex, loadWebToEnd} = helper;
14
14
  * @description 基于express封装的mvc框架,遵循约定优于配置原则
15
15
  */
16
16
  class Chan {
17
- static helper = helper;
17
+ static helper = {...helper};
18
18
  static modules = {};
19
19
  static plugins = {};
20
20
  static config = config;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "chanjs",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "description": "chanjs基于express5 纯js研发的轻量级mvc框架。",
6
6
  "main": "index.js",
7
7
  "module": "index.js",