@parca/profile 0.16.380 → 0.16.382
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.16.382](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.381...@parca/profile@0.16.382) (2024-06-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
10
|
+
## [0.16.381](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.380...@parca/profile@0.16.381) (2024-06-04)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @parca/profile
|
|
13
|
+
|
|
6
14
|
## [0.16.380](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.379...@parca/profile@0.16.380) (2024-06-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -134,14 +134,6 @@ const ProfileIcicleGraph = function ProfileIcicleGraphNonMemo({ graph, arrow, to
|
|
|
134
134
|
setIsLoading(true);
|
|
135
135
|
}
|
|
136
136
|
}, [loadingState]);
|
|
137
|
-
if (error != null) {
|
|
138
|
-
onError?.(error);
|
|
139
|
-
if (authenticationErrorMessage !== undefined && error.code === 'UNAUTHENTICATED') {
|
|
140
|
-
return _jsx(ErrorContent, { errorMessage: authenticationErrorMessage });
|
|
141
|
-
}
|
|
142
|
-
return _jsx(ErrorContent, { errorMessage: capitalizeOnlyFirstLetter(error.message) });
|
|
143
|
-
}
|
|
144
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
145
137
|
const icicleGraph = useMemo(() => {
|
|
146
138
|
if (isLoading) {
|
|
147
139
|
return (_jsx("div", { className: "h-auto overflow-clip", children: _jsx(IcicleGraphSkeleton, { isHalfScreen: isHalfScreen, isDarkMode: isDarkMode }) }));
|
|
@@ -171,6 +163,13 @@ const ProfileIcicleGraph = function ProfileIcicleGraphNonMemo({ graph, arrow, to
|
|
|
171
163
|
isDarkMode,
|
|
172
164
|
mappingsList,
|
|
173
165
|
]);
|
|
166
|
+
if (error != null) {
|
|
167
|
+
onError?.(error);
|
|
168
|
+
if (authenticationErrorMessage !== undefined && error.code === 'UNAUTHENTICATED') {
|
|
169
|
+
return _jsx(ErrorContent, { errorMessage: authenticationErrorMessage });
|
|
170
|
+
}
|
|
171
|
+
return _jsx(ErrorContent, { errorMessage: capitalizeOnlyFirstLetter(error.message) });
|
|
172
|
+
}
|
|
174
173
|
if (isTrimmed) {
|
|
175
174
|
console.info(`Trimmed ${trimmedFormatted} (${trimmedPercentage}%) too small values.`);
|
|
176
175
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.382",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@headlessui/react": "^1.7.19",
|
|
7
7
|
"@iconify/react": "^4.0.0",
|
|
8
|
-
"@parca/client": "0.16.
|
|
9
|
-
"@parca/components": "0.16.
|
|
8
|
+
"@parca/client": "0.16.116",
|
|
9
|
+
"@parca/components": "0.16.280",
|
|
10
10
|
"@parca/dynamicsize": "0.16.65",
|
|
11
|
-
"@parca/hooks": "0.0.
|
|
11
|
+
"@parca/hooks": "0.0.59",
|
|
12
12
|
"@parca/icons": "0.16.69",
|
|
13
13
|
"@parca/parser": "0.16.74",
|
|
14
|
-
"@parca/store": "0.16.
|
|
15
|
-
"@parca/utilities": "0.0.
|
|
14
|
+
"@parca/store": "0.16.148",
|
|
15
|
+
"@parca/utilities": "0.0.76",
|
|
16
16
|
"@popperjs/core": "^2.11.8",
|
|
17
17
|
"@protobuf-ts/runtime-rpc": "^2.5.0",
|
|
18
18
|
"@tanstack/react-query": "^4.0.5",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public",
|
|
72
72
|
"registry": "https://registry.npmjs.org/"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "325e5f43959713289004add16fcef31f442b3b56"
|
|
75
75
|
}
|
|
@@ -340,17 +340,6 @@ const ProfileIcicleGraph = function ProfileIcicleGraphNonMemo({
|
|
|
340
340
|
}
|
|
341
341
|
}, [loadingState]);
|
|
342
342
|
|
|
343
|
-
if (error != null) {
|
|
344
|
-
onError?.(error);
|
|
345
|
-
|
|
346
|
-
if (authenticationErrorMessage !== undefined && error.code === 'UNAUTHENTICATED') {
|
|
347
|
-
return <ErrorContent errorMessage={authenticationErrorMessage} />;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
return <ErrorContent errorMessage={capitalizeOnlyFirstLetter(error.message)} />;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
354
343
|
const icicleGraph = useMemo(() => {
|
|
355
344
|
if (isLoading) {
|
|
356
345
|
return (
|
|
@@ -415,6 +404,16 @@ const ProfileIcicleGraph = function ProfileIcicleGraphNonMemo({
|
|
|
415
404
|
mappingsList,
|
|
416
405
|
]);
|
|
417
406
|
|
|
407
|
+
if (error != null) {
|
|
408
|
+
onError?.(error);
|
|
409
|
+
|
|
410
|
+
if (authenticationErrorMessage !== undefined && error.code === 'UNAUTHENTICATED') {
|
|
411
|
+
return <ErrorContent errorMessage={authenticationErrorMessage} />;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
return <ErrorContent errorMessage={capitalizeOnlyFirstLetter(error.message)} />;
|
|
415
|
+
}
|
|
416
|
+
|
|
418
417
|
if (isTrimmed) {
|
|
419
418
|
console.info(`Trimmed ${trimmedFormatted} (${trimmedPercentage}%) too small values.`);
|
|
420
419
|
}
|