tnp-core 13.2.12 → 13.2.14
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/README.md +20 -20
- package/assets/shared/shared_folder_info.txt +7 -0
- package/browser/README.md +24 -24
- package/browser/esm2020/lib/core-config.mjs +6 -6
- package/browser/esm2020/lib/core-imports.mjs +68 -68
- package/browser/esm2020/lib/core-models.mjs +3 -3
- package/browser/esm2020/lib/framework-name.mjs +9 -9
- package/browser/esm2020/lib/helpers-isomorphic.mjs +35 -35
- package/browser/esm2020/lib/helpers-messages.mjs +493 -493
- package/browser/esm2020/lib/helpers.mjs +1180 -1179
- package/browser/esm2020/lib/index.mjs +10 -10
- package/browser/esm2020/lib/node-path-mock.mjs +414 -414
- package/browser/esm2020/lib/progress-data.mjs +51 -51
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/esm2020/tnp-core.mjs +4 -4
- package/browser/fesm2015/tnp-core.mjs +2195 -2195
- package/browser/fesm2015/tnp-core.mjs.map +1 -1
- package/browser/fesm2020/tnp-core.mjs +2193 -2193
- package/browser/fesm2020/tnp-core.mjs.map +1 -1
- package/browser/lib/core-config.d.ts +4 -4
- package/browser/lib/core-imports.d.ts +7 -7
- package/browser/lib/core-models.d.ts +41 -41
- package/browser/lib/framework-name.d.ts +1 -1
- package/browser/lib/helpers-isomorphic.d.ts +5 -5
- package/browser/lib/helpers-messages.d.ts +16 -16
- package/browser/lib/helpers.d.ts +49 -49
- package/browser/lib/index.d.ts +7 -7
- package/browser/lib/node-path-mock.d.ts +24 -24
- package/browser/lib/progress-data.d.ts +17 -17
- package/browser/tnp-core.d.ts +4 -4
- package/cli.backend.js +3 -3
- package/cli.backend.js.map +1 -1
- package/client/README.md +24 -24
- package/client/esm2020/lib/core-config.mjs +6 -6
- package/client/esm2020/lib/core-imports.mjs +68 -68
- package/client/esm2020/lib/core-models.mjs +3 -3
- package/client/esm2020/lib/framework-name.mjs +9 -9
- package/client/esm2020/lib/helpers-isomorphic.mjs +35 -35
- package/client/esm2020/lib/helpers-messages.mjs +493 -493
- package/client/esm2020/lib/helpers.mjs +1180 -1179
- package/client/esm2020/lib/index.mjs +10 -10
- package/client/esm2020/lib/node-path-mock.mjs +414 -414
- package/client/esm2020/lib/progress-data.mjs +51 -51
- package/client/esm2020/public-api.mjs +1 -1
- package/client/esm2020/tnp-core.mjs +4 -4
- package/client/fesm2015/tnp-core.mjs +2195 -2195
- package/client/fesm2015/tnp-core.mjs.map +1 -1
- package/client/fesm2020/tnp-core.mjs +2193 -2193
- package/client/fesm2020/tnp-core.mjs.map +1 -1
- package/client/lib/core-config.d.ts +4 -4
- package/client/lib/core-imports.d.ts +7 -7
- package/client/lib/core-models.d.ts +41 -41
- package/client/lib/framework-name.d.ts +1 -1
- package/client/lib/helpers-isomorphic.d.ts +5 -5
- package/client/lib/helpers-messages.d.ts +16 -16
- package/client/lib/helpers.d.ts +49 -49
- package/client/lib/index.d.ts +7 -7
- package/client/lib/node-path-mock.d.ts +24 -24
- package/client/lib/progress-data.d.ts +17 -17
- package/client/package.json +246 -26
- package/client/tnp-core.d.ts +4 -4
- package/index.d.ts +1 -1
- package/index.js.map +1 -1
- package/lib/core-config.d.ts +5 -5
- package/lib/core-config.js.map +1 -1
- package/lib/core-imports.d.ts +30 -30
- package/lib/core-imports.js.map +1 -1
- package/lib/core-models.d.ts +42 -42
- package/lib/core-models.js.map +1 -1
- package/lib/framework-name.d.ts +2 -2
- package/lib/framework-name.js.map +1 -1
- package/lib/helpers-isomorphic.d.ts +6 -6
- package/lib/helpers-isomorphic.js.map +1 -1
- package/lib/helpers-messages.d.ts +33 -33
- package/lib/helpers-messages.js.map +1 -1
- package/lib/helpers.d.ts +128 -128
- package/lib/helpers.js +8 -2
- package/lib/helpers.js.map +1 -1
- package/lib/index.d.ts +8 -8
- package/lib/index.js.map +1 -1
- package/lib/node-path-mock.d.ts +24 -24
- package/lib/node-path-mock.js +3 -3
- package/lib/node-path-mock.js.map +1 -1
- package/lib/progress-data.d.ts +18 -18
- package/lib/progress-data.js.map +1 -1
- package/lib/public-api.d.ts +7 -7
- package/lib/public-api.js.map +1 -1
- package/package.json +3 -3
- package/package.json_devDependencies.json +202 -202
- package/package.json_tnp.json5 +65 -65
- package/tmp-environment.json +36 -36
- package/websql/README.md +24 -24
- package/websql/esm2020/lib/core-config.mjs +6 -6
- package/websql/esm2020/lib/core-imports.mjs +68 -68
- package/websql/esm2020/lib/core-models.mjs +3 -3
- package/websql/esm2020/lib/framework-name.mjs +9 -9
- package/websql/esm2020/lib/helpers-isomorphic.mjs +34 -34
- package/websql/esm2020/lib/helpers-messages.mjs +493 -493
- package/websql/esm2020/lib/helpers.mjs +1178 -1177
- package/websql/esm2020/lib/index.mjs +10 -10
- package/websql/esm2020/lib/node-path-mock.mjs +414 -414
- package/websql/esm2020/lib/progress-data.mjs +51 -51
- package/websql/esm2020/public-api.mjs +1 -1
- package/websql/esm2020/tnp-core.mjs +4 -4
- package/websql/fesm2015/tnp-core.mjs +2192 -2192
- package/websql/fesm2015/tnp-core.mjs.map +1 -1
- package/websql/fesm2020/tnp-core.mjs +2190 -2190
- package/websql/fesm2020/tnp-core.mjs.map +1 -1
- package/websql/lib/core-config.d.ts +4 -4
- package/websql/lib/core-imports.d.ts +7 -7
- package/websql/lib/core-models.d.ts +41 -41
- package/websql/lib/framework-name.d.ts +1 -1
- package/websql/lib/helpers-isomorphic.d.ts +5 -5
- package/websql/lib/helpers-messages.d.ts +16 -16
- package/websql/lib/helpers.d.ts +49 -49
- package/websql/lib/index.d.ts +7 -7
- package/websql/lib/node-path-mock.d.ts +24 -24
- package/websql/lib/progress-data.d.ts +17 -17
- package/websql/tnp-core.d.ts +4 -4
- package/app.d.ts +0 -0
- package/app.js +0 -6
- package/app.js.map +0 -1
package/websql/lib/helpers.d.ts
CHANGED
@@ -1,51 +1,51 @@
|
|
1
1
|
// @ts-nocheck
|
2
|
-
import { HelpersMessages } from './helpers-messages';
|
3
|
-
import { RunOptions } from './core-models';
|
4
|
-
export interface RunSyncOrAsyncOptions {
|
5
|
-
functionFn: Function;
|
6
|
-
context?: object;
|
7
|
-
arrayOfParams?: any[];
|
8
|
-
}
|
9
|
-
export interface CommandOutputOptions {
|
10
|
-
biggerBuffer?: boolean;
|
11
|
-
showWholeCommandNotOnlyLastLine?: boolean;
|
12
|
-
showStder?: boolean;
|
13
|
-
gatherColors?: boolean;
|
14
|
-
showErrorWarning?: boolean;
|
15
|
-
}
|
16
|
-
export declare class HelpersCore extends HelpersMessages {
|
17
|
-
private static _instanceCore;
|
18
|
-
static get InstanceCore(): HelpersCore;
|
19
|
-
readonly bigMaxBuffer: number;
|
20
|
-
constructor();
|
21
|
-
removeSlashAtEnd(s: string): string;
|
22
|
-
removeSlashAtBegin(s: string): string;
|
23
|
-
stringify(inputObject: any): string;
|
24
|
-
runSyncOrAsync(fnOrOptions: Function | [string, object] | RunSyncOrAsyncOptions, ...firstArg: any[]): Promise<any>;
|
25
|
-
/**
|
26
|
-
* symlink may have existed or unexisted destiantion url
|
27
|
-
* @param destUrl M
|
28
|
-
*/
|
29
|
-
isSymlinkThatMatchesUrl(possibleSymlink: string, destUrl: string, absoluteFileMatch?: boolean): boolean;
|
30
|
-
isSymlinkFileExitedOrUnexisted(filePath: string): boolean;
|
31
|
-
/**
|
32
|
-
* If symbolnk link that target file does not exits
|
33
|
-
*/
|
34
|
-
isUnexistedLink(filePath: string): boolean;
|
35
|
-
/**
|
36
|
-
* @param existedLink check if source of link exists
|
37
|
-
*/
|
38
|
-
isExistedSymlink(filePath: string): boolean;
|
39
|
-
exists(folderOrFilePath: string | string[]): any;
|
40
|
-
_fixCommand(command: string): string;
|
41
|
-
command(command: string): {};
|
42
|
-
wait(second: number): Promise<unknown>;
|
43
|
-
killProcess(byPid: number): void;
|
44
|
-
run(command: string, options?: RunOptions): {
|
45
|
-
async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): any;
|
46
|
-
};
|
47
|
-
/**
|
48
|
-
* Quick fix for object values
|
49
|
-
*/
|
50
|
-
values(obj: any): any[];
|
2
|
+
import { HelpersMessages } from './helpers-messages';
|
3
|
+
import { RunOptions } from './core-models';
|
4
|
+
export interface RunSyncOrAsyncOptions {
|
5
|
+
functionFn: Function;
|
6
|
+
context?: object;
|
7
|
+
arrayOfParams?: any[];
|
8
|
+
}
|
9
|
+
export interface CommandOutputOptions {
|
10
|
+
biggerBuffer?: boolean;
|
11
|
+
showWholeCommandNotOnlyLastLine?: boolean;
|
12
|
+
showStder?: boolean;
|
13
|
+
gatherColors?: boolean;
|
14
|
+
showErrorWarning?: boolean;
|
15
|
+
}
|
16
|
+
export declare class HelpersCore extends HelpersMessages {
|
17
|
+
private static _instanceCore;
|
18
|
+
static get InstanceCore(): HelpersCore;
|
19
|
+
readonly bigMaxBuffer: number;
|
20
|
+
constructor();
|
21
|
+
removeSlashAtEnd(s: string): string;
|
22
|
+
removeSlashAtBegin(s: string): string;
|
23
|
+
stringify(inputObject: any): string;
|
24
|
+
runSyncOrAsync(fnOrOptions: Function | [string, object] | RunSyncOrAsyncOptions, ...firstArg: any[]): Promise<any>;
|
25
|
+
/**
|
26
|
+
* symlink may have existed or unexisted destiantion url
|
27
|
+
* @param destUrl M
|
28
|
+
*/
|
29
|
+
isSymlinkThatMatchesUrl(possibleSymlink: string, destUrl: string, absoluteFileMatch?: boolean): boolean;
|
30
|
+
isSymlinkFileExitedOrUnexisted(filePath: string): boolean;
|
31
|
+
/**
|
32
|
+
* If symbolnk link that target file does not exits
|
33
|
+
*/
|
34
|
+
isUnexistedLink(filePath: string): boolean;
|
35
|
+
/**
|
36
|
+
* @param existedLink check if source of link exists
|
37
|
+
*/
|
38
|
+
isExistedSymlink(filePath: string): boolean;
|
39
|
+
exists(folderOrFilePath: string | string[]): any;
|
40
|
+
_fixCommand(command: string): string;
|
41
|
+
command(command: string): {};
|
42
|
+
wait(second: number): Promise<unknown>;
|
43
|
+
killProcess(byPid: number): void;
|
44
|
+
run(command: string, options?: RunOptions): {
|
45
|
+
async(detach?: boolean, mockFun?: (stdoutCallback: (dataForStdout: any) => any, stdErrcCallback: (dataForStder: any) => any, shouldProcesBeDead?: () => boolean) => Promise<number> | number): any;
|
46
|
+
};
|
47
|
+
/**
|
48
|
+
* Quick fix for object values
|
49
|
+
*/
|
50
|
+
values(obj: any): any[];
|
51
51
|
}
|
package/websql/lib/index.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
// @ts-nocheck
|
2
|
-
export * from './framework-name';
|
3
|
-
export * from './core-imports';
|
4
|
-
export * from './core-models';
|
5
|
-
import { HelpersCore as Base } from './helpers';
|
6
|
-
export * from './core-config';
|
7
|
-
export * from './progress-data';
|
8
|
-
export { HelpersCore as CoreHelpers } from './helpers';
|
2
|
+
export * from './framework-name';
|
3
|
+
export * from './core-imports';
|
4
|
+
export * from './core-models';
|
5
|
+
import { HelpersCore as Base } from './helpers';
|
6
|
+
export * from './core-config';
|
7
|
+
export * from './progress-data';
|
8
|
+
export { HelpersCore as CoreHelpers } from './helpers';
|
9
9
|
export declare let Helpers: Base;
|
@@ -1,26 +1,26 @@
|
|
1
1
|
// @ts-nocheck
|
2
|
-
export declare const path: {
|
3
|
-
resolve: (pathToResovle: any) => any;
|
4
|
-
normalize: (pathArg: any) => any;
|
5
|
-
isAbsolute: (pathArg: any) => boolean;
|
6
|
-
join: () => any;
|
7
|
-
relative: (from: any, to: any) => any;
|
8
|
-
_makeLong: (path: any) => any;
|
9
|
-
dirname: (path: any) => any;
|
10
|
-
basename: (pathArg: any, ext: any) => any;
|
11
|
-
extname: (pathArg: any) => any;
|
12
|
-
format: (pathObject: any) => any;
|
13
|
-
parse: (pathArg: any) => {
|
14
|
-
root: string;
|
15
|
-
dir: string;
|
16
|
-
base: string;
|
17
|
-
ext: string;
|
18
|
-
name: string;
|
19
|
-
};
|
20
|
-
sep: string;
|
21
|
-
delimiter: string;
|
22
|
-
win32: {
|
23
|
-
normalize: (p: any) => any;
|
24
|
-
};
|
25
|
-
posix: any;
|
2
|
+
export declare const path: {
|
3
|
+
resolve: (pathToResovle: any) => any;
|
4
|
+
normalize: (pathArg: any) => any;
|
5
|
+
isAbsolute: (pathArg: any) => boolean;
|
6
|
+
join: () => any;
|
7
|
+
relative: (from: any, to: any) => any;
|
8
|
+
_makeLong: (path: any) => any;
|
9
|
+
dirname: (path: any) => any;
|
10
|
+
basename: (pathArg: any, ext: any) => any;
|
11
|
+
extname: (pathArg: any) => any;
|
12
|
+
format: (pathObject: any) => any;
|
13
|
+
parse: (pathArg: any) => {
|
14
|
+
root: string;
|
15
|
+
dir: string;
|
16
|
+
base: string;
|
17
|
+
ext: string;
|
18
|
+
name: string;
|
19
|
+
};
|
20
|
+
sep: string;
|
21
|
+
delimiter: string;
|
22
|
+
win32: {
|
23
|
+
normalize: (p: any) => any;
|
24
|
+
};
|
25
|
+
posix: any;
|
26
26
|
};
|
@@ -1,19 +1,19 @@
|
|
1
1
|
// @ts-nocheck
|
2
|
-
import { PROGRESS_DATA_TYPE } from './core-models';
|
3
|
-
export interface IPROGRESS_DATA {
|
4
|
-
/**
|
5
|
-
* How man percent of
|
6
|
-
*/
|
7
|
-
value?: number;
|
8
|
-
msg?: string;
|
9
|
-
type?: PROGRESS_DATA_TYPE;
|
10
|
-
date?: Date;
|
11
|
-
}
|
12
|
-
export declare class PROGRESS_DATA implements IPROGRESS_DATA {
|
13
|
-
static log(log: IPROGRESS_DATA): void;
|
14
|
-
static resolveFrom(chunk: string, callbackOnFounded?: (json: PROGRESS_DATA) => any, checkSplit?: boolean): PROGRESS_DATA[];
|
15
|
-
value?: number;
|
16
|
-
msg?: string;
|
17
|
-
type: PROGRESS_DATA_TYPE;
|
18
|
-
date?: Date;
|
2
|
+
import { PROGRESS_DATA_TYPE } from './core-models';
|
3
|
+
export interface IPROGRESS_DATA {
|
4
|
+
/**
|
5
|
+
* How man percent of
|
6
|
+
*/
|
7
|
+
value?: number;
|
8
|
+
msg?: string;
|
9
|
+
type?: PROGRESS_DATA_TYPE;
|
10
|
+
date?: Date;
|
11
|
+
}
|
12
|
+
export declare class PROGRESS_DATA implements IPROGRESS_DATA {
|
13
|
+
static log(log: IPROGRESS_DATA): void;
|
14
|
+
static resolveFrom(chunk: string, callbackOnFounded?: (json: PROGRESS_DATA) => any, checkSplit?: boolean): PROGRESS_DATA[];
|
15
|
+
value?: number;
|
16
|
+
msg?: string;
|
17
|
+
type: PROGRESS_DATA_TYPE;
|
18
|
+
date?: Date;
|
19
19
|
}
|
package/websql/tnp-core.d.ts
CHANGED
package/app.d.ts
DELETED
File without changes
|
package/app.js
DELETED
package/app.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":";;;AAAA,SAAgB,kBAAkB,KAAK,CAAC;AAAxC,gDAAwC"}
|