sm-utility 2.1.13 → 2.2.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.
|
@@ -9,7 +9,7 @@ const thread_1 = require("../../thread");
|
|
|
9
9
|
const logger_1 = require("../../logger");
|
|
10
10
|
const excelCreatorBuilder_1 = require("./excelCreatorBuilder");
|
|
11
11
|
const dirname_1 = require("../dirname");
|
|
12
|
-
const RELATIVE_PATH = "./excel-creator/excelWorker.ts";
|
|
12
|
+
const RELATIVE_PATH = "./excel-creator/excelWorker/worker.ts";
|
|
13
13
|
const EXCEL_CREATOR_WORKER_PATH = path_1.default.resolve(dirname_1.EXCEL_DIRNAME, RELATIVE_PATH);
|
|
14
14
|
class ExcelCreator {
|
|
15
15
|
createSync(sheets) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const worker_threads_1 = require("worker_threads");
|
|
4
|
-
const excelCreatorBuilder_1 = require("
|
|
4
|
+
const excelCreatorBuilder_1 = require("../excelCreatorBuilder");
|
|
5
5
|
function main() {
|
|
6
6
|
if (worker_threads_1.parentPort) {
|
|
7
7
|
const workerResult = new excelCreatorBuilder_1.ExcelCreatorBuilder().create(worker_threads_1.workerData.data);
|
package/package.json
CHANGED
|
File without changes
|