tnp-core 18.0.40 → 18.0.43
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/esm2022/lib/core-imports.mjs +4 -1
- package/browser/esm2022/lib/helpers-messages.mjs +28 -16
- package/browser/esm2022/lib/utils.mjs +37 -2
- package/browser/fesm2022/tnp-core.mjs +66 -17
- package/browser/fesm2022/tnp-core.mjs.map +1 -1
- package/browser/lib/helpers-messages.d.ts +5 -0
- package/browser/lib/utils.d.ts +9 -0
- package/cli.backend.js +2 -2
- package/client/esm2022/lib/core-imports.mjs +4 -1
- package/client/esm2022/lib/helpers-messages.mjs +28 -16
- package/client/esm2022/lib/utils.mjs +37 -2
- package/client/fesm2022/tnp-core.mjs +66 -17
- package/client/fesm2022/tnp-core.mjs.map +1 -1
- package/client/lib/helpers-messages.d.ts +5 -0
- package/client/lib/utils.d.ts +9 -0
- package/lib/core-imports.d.ts +5 -1
- package/lib/core-imports.js.map +1 -1
- package/lib/helpers-messages.d.ts +5 -0
- package/lib/helpers-messages.js +39 -16
- package/lib/helpers-messages.js.map +1 -1
- package/lib/node-chalk-mock.js +2 -2
- package/lib/node-path-mock.js +2 -2
- package/lib/utils.d.ts +9 -0
- package/lib/utils.js +63 -23
- package/lib/utils.js.map +1 -1
- package/migrations/index.d.ts +1 -0
- package/migrations/index.js +6 -0
- package/migrations/index.js.map +1 -0
- package/migrations/migrations_index._auto-generated_.d.ts +0 -0
- package/migrations/migrations_index._auto-generated_.js +4 -0
- package/migrations/migrations_index._auto-generated_.js.map +1 -0
- package/package.json +2 -2
- package/tmp-environment.json +32 -29
- package/websql/esm2022/lib/core-imports.mjs +4 -1
- package/websql/esm2022/lib/helpers-messages.mjs +28 -16
- package/websql/esm2022/lib/utils.mjs +37 -2
- package/websql/fesm2022/tnp-core.mjs +66 -17
- package/websql/fesm2022/tnp-core.mjs.map +1 -1
- package/websql/lib/helpers-messages.d.ts +5 -0
- package/websql/lib/utils.d.ts +9 -0
@@ -9,6 +9,7 @@ export declare class HelpersMessages extends HelpersIsomorphic {
|
|
9
9
|
* @param details
|
10
10
|
*/
|
11
11
|
throw(details: string): void;
|
12
|
+
tryCatchError(error: any): void;
|
12
13
|
error(details: any, noExit?: boolean, noTrace?: boolean): void;
|
13
14
|
info(details: string, repeatable?: boolean): void;
|
14
15
|
success(details: any | string): void;
|
@@ -20,6 +21,10 @@ export declare class HelpersMessages extends HelpersIsomorphic {
|
|
20
21
|
*/
|
21
22
|
taskStarted(details: any | string, isLogTask?: boolean): void;
|
22
23
|
taskDone(details?: any | string, isLessImportant?: boolean): void;
|
24
|
+
get isVerboseMode(): boolean;
|
25
|
+
/**
|
26
|
+
* log messages only available in verbose mode
|
27
|
+
*/
|
23
28
|
log(details: any, debugLevel?: number): void;
|
24
29
|
/**
|
25
30
|
* Logs not visible in normal use of taon-cli
|
package/websql/lib/utils.d.ts
CHANGED
@@ -187,4 +187,13 @@ export declare namespace UtilsOs {
|
|
187
187
|
}
|
188
188
|
export declare namespace UtilsString {
|
189
189
|
const kebabCaseNoSplitNumbers: (input: string) => string;
|
190
|
+
}
|
191
|
+
/**
|
192
|
+
* Taon migration utilities
|
193
|
+
*/
|
194
|
+
export declare namespace UtilsMigrations {
|
195
|
+
const getTimestampFromClassName: (className: string) => number | undefined;
|
196
|
+
const getFormattedTimestampFromClassName: (className: string) => string | undefined;
|
197
|
+
const formatTimestamp: (timestamp: number) => string;
|
198
|
+
const isValidTimestamp: (value: any) => boolean;
|
190
199
|
}
|