tnp-core 18.0.44 → 18.0.45

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.
@@ -1,6 +1,6 @@
1
1
  THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
2
2
 
3
- Assets from this folder are being shipped with this npm package (tnp-core@18.0.44)
3
+ Assets from this folder are being shipped with this npm package (tnp-core@18.0.45)
4
4
  created from this project.
5
5
 
6
6
  THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
package/cli.backend.d.ts CHANGED
@@ -1 +0,0 @@
1
- export declare function dummy1736907911150(): void;
package/cli.backend.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1736907911150 = dummy1736907911150;
4
- function dummy1736907911150() { }
3
+ exports.dummy1736908320576 = dummy1736908320576;
4
+ function dummy1736908320576() { }
5
5
  //# sourceMappingURL=cli.backend.js.map
package/lib/helpers.d.ts CHANGED
@@ -175,7 +175,7 @@ export declare class HelpersCore extends HelpersMessages {
175
175
  * start command as asynchronous nodej proces
176
176
  * @param detach (default: false) - if true process will be detached
177
177
  */
178
- async(detach?: boolean): ChildProcess;
178
+ async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): ChildProcess;
179
179
  /**
180
180
  * start command as asynchronous nodej proces inside promise
181
181
  */
@@ -277,4 +277,4 @@ export declare class HelpersCore extends HelpersMessages {
277
277
  filesFrom(pathToFolder: string | string[], recrusive?: boolean, incudeUnexistedLinks?: boolean): string[];
278
278
  openFolderInFileExploer(folderPath: string): void;
279
279
  hideNodeWarnings(): void;
280
- }
280
+ }
@@ -1 +1,2 @@
1
- export declare function dummy1736907911300(): void;
1
+ import { Chalk } from 'chalk';
2
+ export declare const chalk: Chalk;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1736907911300 = dummy1736907911300;
4
- function dummy1736907911300() { }
3
+ exports.dummy1736908320744 = dummy1736908320744;
4
+ function dummy1736908320744() { }
5
5
  //# sourceMappingURL=node-chalk-mock.js.map
@@ -1 +1,25 @@
1
- export declare function dummy1736907911312(): void;
1
+ export declare const path: {
2
+ resolve: (pathToResovle: any) => any;
3
+ normalize: (pathArg: any) => any;
4
+ isAbsolute: (pathArg: any) => boolean;
5
+ join: () => any;
6
+ relative: (from: any, to: any) => any;
7
+ _makeLong: (path: any) => any;
8
+ dirname: (path: any) => any;
9
+ basename: (pathArg: any, ext: any) => any;
10
+ extname: (pathArg: any) => any;
11
+ format: (pathObject: any) => any;
12
+ parse: (pathArg: any) => {
13
+ root: string;
14
+ dir: string;
15
+ base: string;
16
+ ext: string;
17
+ name: string;
18
+ };
19
+ sep: string;
20
+ delimiter: string;
21
+ win32: {
22
+ normalize: (p: any) => any;
23
+ };
24
+ posix: any;
25
+ };
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1736907911312 = dummy1736907911312;
4
- function dummy1736907911312() { }
3
+ exports.dummy1736908320756 = dummy1736908320756;
4
+ function dummy1736908320756() { }
5
5
  //# sourceMappingURL=node-path-mock.js.map
package/lib/utils.d.ts CHANGED
@@ -38,6 +38,14 @@ export declare namespace Utils {
38
38
  */
39
39
  export type DbBinaryFormat = DbBinaryFormatForBrowser | DbBinaryFormatForBackend;
40
40
  export namespace binary {
41
+ /**
42
+ * This is for BROWSER ONLY
43
+ *
44
+ * @param buffer
45
+ * @param contentType
46
+ * @returns
47
+ */
48
+ function arrayBufferToBlob(buffer: ArrayBuffer, contentType: CoreModels.ContentType): Promise<Blob>;
41
49
  /**
42
50
  * This is for BROWSER ONLY
43
51
  * @param blob
@@ -316,4 +324,4 @@ export declare namespace UtilsTerminal {
316
324
  */
317
325
  export const previewLongListGitLogLike: (list: string | string[]) => Promise<void>;
318
326
  export {};
319
- }
327
+ }
package/package.json CHANGED
@@ -91,8 +91,8 @@
91
91
  "license": "MIT",
92
92
  "private": false,
93
93
  "name": "tnp-core",
94
- "version": "18.0.44",
95
- "lastBuildTagHash": "056085d3dbf264e9cea3fa909a7698e2ae74904e",
94
+ "version": "18.0.45",
95
+ "lastBuildTagHash": "570328121a20ccbb366bb639c6d383c4a0a264df",
96
96
  "main": "dist/app.electron.js",
97
97
  "scripts": {
98
98
  "mkdocs": "python3 -m mkdocs"
@@ -352,7 +352,7 @@
352
352
  "threads": "1.7.0",
353
353
  "tnp": "~18.0.19",
354
354
  "tnp-config": "~18.0.19",
355
- "tnp-core": "~18.0.43",
355
+ "tnp-core": "~18.0.44",
356
356
  "tnp-helpers": "~18.0.17",
357
357
  "tnp-models": "~18.0.18",
358
358
  "ts-debug": "1.3.0",
@@ -386,17 +386,17 @@
386
386
  "license": "MIT",
387
387
  "private": false,
388
388
  "name": "tnp-core",
389
- "version": "18.0.44",
390
- "lastBuildTagHash": "056085d3dbf264e9cea3fa909a7698e2ae74904e",
389
+ "version": "18.0.45",
390
+ "lastBuildTagHash": "570328121a20ccbb366bb639c6d383c4a0a264df",
391
391
  "main": "dist/app.electron.js",
392
392
  "scripts": {
393
393
  "mkdocs": "python3 -m mkdocs"
394
394
  }
395
395
  },
396
396
  "build": {
397
- "number": 902,
398
- "date": "2025-01-15T01:38:11.000Z",
399
- "hash": "570328121a20ccbb366bb639c6d383c4a0a264df"
397
+ "number": 903,
398
+ "date": "2025-01-15T02:25:40.000Z",
399
+ "hash": "1e7046476ea174c863e38e7119d694a8c44a379f"
400
400
  },
401
401
  "currentProjectName": "tnp-core",
402
402
  "currentProjectGenericName": "tnp-core",