ee-core 1.2.10 → 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.
Files changed (2) hide show
  1. package/package.json +1 -2
  2. package/tools/encrypt.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ee-core",
3
- "version": "1.2.10",
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
@@ -171,7 +171,7 @@ class Encrypt {
171
171
  output: jscFile,
172
172
  electron: true
173
173
  });
174
- fs.rmSync(curPath, {force: true});
174
+ fsPro.removeSync(curPath);
175
175
  }
176
176
 
177
177
  /**
@@ -180,7 +180,7 @@ class Encrypt {
180
180
  rmBackup (dir) {
181
181
  if (fs.existsSync(dir)) {
182
182
  console.log('[ee-core] [encrypt] clean old directory:', dir);
183
- fs.rmSync(dir, {recursive: true, force: true});
183
+ fsPro.removeSync(dir);
184
184
  }
185
185
  return;
186
186
  }