@tachybase/module-worker-thread 1.3.9 → 1.3.10
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/dist/externalVersion.js +10 -10
- package/dist/server/workerManager.js +2 -1
- package/package.json +12 -12
package/dist/externalVersion.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"react": "18.3.1",
|
|
3
|
-
"@tachybase/client": "1.3.
|
|
4
|
-
"@tachybase/schema": "1.3.
|
|
3
|
+
"@tachybase/client": "1.3.10",
|
|
4
|
+
"@tachybase/schema": "1.3.10",
|
|
5
5
|
"antd": "5.22.5",
|
|
6
|
-
"@tachybase/globals": "1.3.
|
|
7
|
-
"@tachybase/loader": "1.3.
|
|
8
|
-
"@tachybase/server": "1.3.
|
|
9
|
-
"@tachybase/logger": "1.3.
|
|
10
|
-
"@tachybase/module-collection": "1.3.
|
|
11
|
-
"@tachybase/module-user": "1.3.
|
|
12
|
-
"@tachybase/utils": "1.3.
|
|
13
|
-
"@tachybase/actions": "1.3.
|
|
6
|
+
"@tachybase/globals": "1.3.10",
|
|
7
|
+
"@tachybase/loader": "1.3.10",
|
|
8
|
+
"@tachybase/server": "1.3.10",
|
|
9
|
+
"@tachybase/logger": "1.3.10",
|
|
10
|
+
"@tachybase/module-collection": "1.3.10",
|
|
11
|
+
"@tachybase/module-user": "1.3.10",
|
|
12
|
+
"@tachybase/utils": "1.3.10",
|
|
13
|
+
"@tachybase/actions": "1.3.10"
|
|
14
14
|
};
|
|
@@ -32,6 +32,7 @@ __export(workerManager_exports, {
|
|
|
32
32
|
module.exports = __toCommonJS(workerManager_exports);
|
|
33
33
|
var import_node_crypto = require("node:crypto");
|
|
34
34
|
var import_node_path = __toESM(require("node:path"));
|
|
35
|
+
var import_node_url = require("node:url");
|
|
35
36
|
var import_node_worker_threads = require("node:worker_threads");
|
|
36
37
|
var import_utils = require("@tachybase/utils");
|
|
37
38
|
var import_constants = require("./constants");
|
|
@@ -110,7 +111,7 @@ const _WorkerManager = class _WorkerManager {
|
|
|
110
111
|
} else {
|
|
111
112
|
worker = new import_node_worker_threads.Worker(import_node_path.default.resolve(__dirname, "../../worker-starter.mjs"), {
|
|
112
113
|
workerData: {
|
|
113
|
-
scriptPath: import_node_path.default.resolve(__dirname, `${import_constants.WORKER_FILE}.ts`),
|
|
114
|
+
scriptPath: (0, import_node_url.pathToFileURL)(import_node_path.default.resolve(__dirname, `${import_constants.WORKER_FILE}.ts`)).href,
|
|
114
115
|
appName: this.app.name,
|
|
115
116
|
databaseOptions: this.databaseOptions
|
|
116
117
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/module-worker-thread",
|
|
3
3
|
"displayName": "Worker thread",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.10",
|
|
5
5
|
"description": "Worker thread for executing time-consuming tasks",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Workflow"
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"tsx": "^4.19.2"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@tachybase/
|
|
17
|
-
"@tachybase/
|
|
18
|
-
"@tachybase/
|
|
19
|
-
"@tachybase/
|
|
20
|
-
"@tachybase/
|
|
21
|
-
"@tachybase/
|
|
22
|
-
"@tachybase/
|
|
23
|
-
"@tachybase/schema": "1.3.
|
|
24
|
-
"@tachybase/test": "1.3.
|
|
25
|
-
"@tachybase/server": "1.3.
|
|
26
|
-
"@tachybase/utils": "1.3.
|
|
16
|
+
"@tachybase/client": "1.3.10",
|
|
17
|
+
"@tachybase/globals": "1.3.10",
|
|
18
|
+
"@tachybase/loader": "1.3.10",
|
|
19
|
+
"@tachybase/module-collection": "1.3.10",
|
|
20
|
+
"@tachybase/module-user": "1.3.10",
|
|
21
|
+
"@tachybase/actions": "1.3.10",
|
|
22
|
+
"@tachybase/logger": "1.3.10",
|
|
23
|
+
"@tachybase/schema": "1.3.10",
|
|
24
|
+
"@tachybase/test": "1.3.10",
|
|
25
|
+
"@tachybase/server": "1.3.10",
|
|
26
|
+
"@tachybase/utils": "1.3.10"
|
|
27
27
|
},
|
|
28
28
|
"description.zh-CN": "工作线程,用于执行耗时任务",
|
|
29
29
|
"displayName.zh-CN": "工作线程",
|