@zwa73/utils 1.0.180 → 1.0.182
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/package.json +1 -1
- package/src/UtilCom.ts +3 -3
- package/src/UtilFfmpegTools.ts +1 -1
- package/src/UtilFileTools.ts +2 -2
- package/src/UtilFunctions.ts +2 -2
package/package.json
CHANGED
package/src/UtilCom.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AnyString, JObject, PRecord, ReqVerifyFn } from "
|
|
1
|
+
import { AnyString, JObject, PRecord, ReqVerifyFn } from "@/src/UtilInterfaces";
|
|
2
2
|
import https from 'https';
|
|
3
3
|
import http from 'http';
|
|
4
|
-
import { SLogger } from "
|
|
5
|
-
import { RepeatPromiseOpt, RepeatPromiseResult, UtilFunc } from "
|
|
4
|
+
import { SLogger } from "@/src/UtilLogger";
|
|
5
|
+
import { RepeatPromiseOpt, RepeatPromiseResult, UtilFunc } from "@/src/UtilFunctions";
|
|
6
6
|
import qs from "querystring";
|
|
7
7
|
|
|
8
8
|
/**网络请求返回值 */
|
package/src/UtilFfmpegTools.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { FfprobeData } from "fluent-ffmpeg";
|
|
|
2
2
|
import fluentFfmpeg from "fluent-ffmpeg";
|
|
3
3
|
import path from "pathe";
|
|
4
4
|
import * as fs from "fs";
|
|
5
|
-
import { SLogger } from "
|
|
5
|
+
import { SLogger } from "@/src/UtilLogger";
|
|
6
6
|
import { Stream } from "./UtilClass";
|
|
7
7
|
|
|
8
8
|
/**输入输出路径映射
|
package/src/UtilFileTools.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as fs from "fs";
|
|
2
2
|
import path from 'pathe';
|
|
3
3
|
import * as os from "os";
|
|
4
|
-
import { JObject, JToken } from "
|
|
5
|
-
import { SLogger } from "
|
|
4
|
+
import { JObject, JToken } from "@/src/UtilInterfaces";
|
|
5
|
+
import { SLogger } from "@/src/UtilLogger";
|
|
6
6
|
import * as JSON5 from 'json5';
|
|
7
7
|
import { globSync, glob } from "glob";
|
|
8
8
|
import { UtilFunc } from "./UtilFunctions";
|
package/src/UtilFunctions.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as crypto from "crypto";
|
|
2
|
-
import { PRecord, AnyFunc, ExtractOutcome, IJData, JObject, JToken, Keyable, Literal, Matchable, MatchableFlag, Outcome, ReqStat, ReqVerifyFn, ProperSubsetCheck, UnionToIntersection, AnyRecord, AllExtends } from "
|
|
2
|
+
import { PRecord, AnyFunc, ExtractOutcome, IJData, JObject, JToken, Keyable, Literal, Matchable, MatchableFlag, Outcome, ReqStat, ReqVerifyFn, ProperSubsetCheck, UnionToIntersection, AnyRecord, AllExtends } from "@/src/UtilInterfaces";
|
|
3
3
|
import * as cp from "child_process";
|
|
4
|
-
import { LogLevel, SLogger } from "
|
|
4
|
+
import { LogLevel, SLogger } from "@/src/UtilLogger";
|
|
5
5
|
import { Completed, Failed, FailedLike, None, StatusSymbol, Success, SuccessLike, Terminated, Timeout } from "./UtilSymbol";
|
|
6
6
|
import { LogTimeAsync } from "./UtilDecorators";
|
|
7
7
|
import opath from 'path';
|