@next-core/brick-utils 2.45.22 → 2.47.0
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/dist/types/track.d.ts
CHANGED
|
@@ -30,8 +30,15 @@ export declare function trackFormState(raw: string): string[] | false;
|
|
|
30
30
|
export declare function trackUsedContext(data: unknown): string[];
|
|
31
31
|
export declare function trackUsedState(data: unknown): string[];
|
|
32
32
|
export declare function trackUsedFormState(data: unknown): string[];
|
|
33
|
+
interface trackAllResult {
|
|
34
|
+
context: string[] | false;
|
|
35
|
+
state: string[] | false;
|
|
36
|
+
formState: string[] | false;
|
|
37
|
+
}
|
|
38
|
+
export declare function trackAll(raw: string): trackAllResult | false;
|
|
33
39
|
export interface ContextUsage {
|
|
34
40
|
usedContexts: string[];
|
|
35
41
|
includesComputed: boolean;
|
|
36
42
|
}
|
|
37
43
|
export declare function collectContextUsage(data: unknown, variableName: string): ContextUsage;
|
|
44
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.47.0",
|
|
4
4
|
"description": "Pure utility functions for kernel",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-utils",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@next-core/brick-types": "^2.82.5",
|
|
33
|
-
"@next-core/cook": "^1.
|
|
33
|
+
"@next-core/cook": "^1.7.0",
|
|
34
34
|
"@next-core/storyboard": "^0.3.5",
|
|
35
35
|
"file-saver": "^2.0.5",
|
|
36
36
|
"path-to-regexp": "^6.2.1"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"lodash": "*",
|
|
49
49
|
"moment": "*"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "5f10b53a15e47ad1f1d5ecdf1fcea17f3f7bc486"
|
|
52
52
|
}
|