ee-core 1.2.10-beta.3 → 1.2.11-beta.1

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.
@@ -22,7 +22,6 @@ module.exports = {
22
22
  }, opt);
23
23
 
24
24
  const servicePaths = opt.directory;
25
- console.log('servicePaths:', servicePaths);
26
25
  this.loadToContext(servicePaths, 'service', opt);
27
26
  this.timing.end('Load Service');
28
27
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ee-core",
3
- "version": "1.2.10-beta.3",
3
+ "version": "1.2.11-beta.1",
4
4
  "description": "ee core",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,7 +13,6 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "agentkeepalive": "^4.2.0",
16
- "better-sqlite3": "^7.6.0",
17
16
  "bytenode": "^1.3.6",
18
17
  "co": "^4.6.0",
19
18
  "debug": "^4.3.3",
package/tools/encrypt.js CHANGED
@@ -169,8 +169,9 @@ class Encrypt {
169
169
  bytenode.compileFile({
170
170
  filename: curPath,
171
171
  output: jscFile,
172
+ electron: true
172
173
  });
173
- fs.rmSync(curPath, {force: true});
174
+ fsPro.removeSync(curPath);
174
175
  }
175
176
 
176
177
  /**
@@ -179,7 +180,7 @@ class Encrypt {
179
180
  rmBackup (dir) {
180
181
  if (fs.existsSync(dir)) {
181
182
  console.log('[ee-core] [encrypt] clean old directory:', dir);
182
- fs.rmSync(dir, {recursive: true, force: true});
183
+ fsPro.removeSync(dir);
183
184
  }
184
185
  return;
185
186
  }