@e-mc/file-manager 0.5.1 → 0.5.3
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.js +2 -2
- package/package.json +10 -10
package/index.js
CHANGED
|
@@ -9,6 +9,7 @@ const util_1 = require("../request/util");
|
|
|
9
9
|
const asset_1 = require("../document/asset");
|
|
10
10
|
const util_2 = require("../document/util");
|
|
11
11
|
const types_1 = require("../types");
|
|
12
|
+
const core_1 = require("../core");
|
|
12
13
|
const request_1 = require("../request");
|
|
13
14
|
const document_1 = require("../document");
|
|
14
15
|
const task_1 = require("../task");
|
|
@@ -16,7 +17,6 @@ const image_1 = require("../image");
|
|
|
16
17
|
const watch_1 = require("../watch");
|
|
17
18
|
const compress_1 = require("../compress");
|
|
18
19
|
const cloud_1 = require("../cloud");
|
|
19
|
-
const core_1 = require("../core");
|
|
20
20
|
const kBaseDirectory = Symbol('baseDirectory');
|
|
21
21
|
const kIncremental = Symbol('incremental');
|
|
22
22
|
const kRestarting = Symbol('restarting');
|
|
@@ -993,7 +993,7 @@ class FileManager extends core_1.Host {
|
|
|
993
993
|
else {
|
|
994
994
|
try {
|
|
995
995
|
const Handler = require(target);
|
|
996
|
-
if (isFunction(Handler) && Handler.prototype instanceof
|
|
996
|
+
if (isFunction(Handler) && Handler.prototype instanceof core_1.ClientDb) {
|
|
997
997
|
instance = new Handler(module, database);
|
|
998
998
|
}
|
|
999
999
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/file-manager",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "FileManager constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"license": "BSD 3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/cloud": "0.5.
|
|
24
|
-
"@e-mc/compress": "0.5.
|
|
25
|
-
"@e-mc/core": "0.5.
|
|
26
|
-
"@e-mc/document": "0.5.
|
|
27
|
-
"@e-mc/image": "0.5.
|
|
28
|
-
"@e-mc/request": "0.5.
|
|
29
|
-
"@e-mc/task": "0.5.
|
|
30
|
-
"@e-mc/types": "0.5.
|
|
31
|
-
"@e-mc/watch": "0.5.
|
|
23
|
+
"@e-mc/cloud": "0.5.3",
|
|
24
|
+
"@e-mc/compress": "0.5.3",
|
|
25
|
+
"@e-mc/core": "0.5.3",
|
|
26
|
+
"@e-mc/document": "0.5.3",
|
|
27
|
+
"@e-mc/image": "0.5.3",
|
|
28
|
+
"@e-mc/request": "0.5.3",
|
|
29
|
+
"@e-mc/task": "0.5.3",
|
|
30
|
+
"@e-mc/types": "0.5.3",
|
|
31
|
+
"@e-mc/watch": "0.5.3"
|
|
32
32
|
}
|
|
33
33
|
}
|