@parca/profile 0.16.345 → 0.16.346
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 +4 -0
- package/dist/Callgraph/index.d.ts +0 -1
- package/dist/GraphTooltip/ExpandOnHoverValue.d.ts +0 -1
- package/dist/GraphTooltip/index.d.ts +0 -1
- package/dist/GraphTooltip/index.js +1 -2
- package/dist/GraphTooltipArrow/DockedGraphTooltip/index.d.ts +0 -1
- package/dist/GraphTooltipArrow/ExpandOnHoverValue.d.ts +0 -1
- package/dist/MatchersInput/SuggestionItem.d.ts +0 -1
- package/dist/MatchersInput/SuggestionsList.d.ts +0 -1
- package/dist/MatchersInput/index.d.ts +0 -1
- package/dist/MetricsCircle/index.d.ts +0 -1
- package/dist/MetricsGraph/MetricsContextMenu/index.d.ts +0 -1
- package/dist/MetricsGraph/MetricsInfoPanel/index.d.ts +0 -1
- package/dist/MetricsGraph/MetricsTooltip/index.d.ts +0 -1
- package/dist/MetricsGraph/index.d.ts +0 -1
- package/dist/MetricsSeries/index.d.ts +0 -1
- package/dist/ProfileExplorer/ProfileExplorerCompare.d.ts +0 -1
- package/dist/ProfileExplorer/ProfileExplorerSingle.d.ts +0 -1
- package/dist/ProfileExplorer/index.d.ts +0 -1
- package/dist/ProfileIcicleGraph/ActionButtons/GroupByDropdown.d.ts +0 -1
- package/dist/ProfileIcicleGraph/ActionButtons/RuntimeFilterDropdown.d.ts +0 -1
- package/dist/ProfileIcicleGraph/ActionButtons/SortBySelect.d.ts +0 -1
- package/dist/ProfileIcicleGraph/IcicleGraph/ColorStackLegend.d.ts +0 -1
- package/dist/ProfileIcicleGraph/IcicleGraphArrow/ContextMenu.d.ts +0 -1
- package/dist/ProfileIcicleGraph/IcicleGraphArrow/ContextMenu.js +1 -1
- package/dist/ProfileMetricsGraph/index.d.ts +0 -1
- package/dist/ProfileSelector/CompareButton.d.ts +0 -1
- package/dist/ProfileSelector/index.d.ts +0 -1
- package/dist/ProfileSource.d.ts +0 -1
- package/dist/ProfileTypeSelector/index.d.ts +0 -1
- package/dist/ProfileView/FilterByFunctionButton.d.ts +0 -1
- package/dist/ProfileView/ViewSelector.d.ts +0 -1
- package/dist/ProfileView/index.d.ts +0 -1
- package/dist/ProfileViewWithData.d.ts +0 -1
- package/dist/SourceView/Highlighter.d.ts +0 -1
- package/dist/SourceView/LineNo.d.ts +0 -1
- package/dist/Table/ColumnsVisibility.d.ts +0 -1
- package/dist/components/DiffLegend.d.ts +0 -1
- package/dist/components/ProfileShareButton/ResultBox.d.ts +0 -1
- package/dist/components/ProfileShareButton/ResultBox.js +1 -2
- package/dist/components/ProfileShareButton/index.d.ts +0 -1
- package/dist/useGrpcQuery/index.d.ts +1 -1
- package/package.json +4 -6
- package/src/GraphTooltip/index.tsx +1 -2
- package/src/components/ProfileShareButton/ResultBox.tsx +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.346](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.345...@parca/profile@0.16.346) (2024-02-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## [0.16.345](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.344...@parca/profile@0.16.345) (2024-02-22)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CallgraphNode, CallgraphNodeMeta, FlamegraphNode, FlamegraphNodeMeta, FlamegraphRootNode } from '@parca/client';
|
|
3
2
|
import { Location, Mapping, Function as ParcaFunction } from '@parca/client/dist/parca/metastore/v1alpha1/metastore';
|
|
4
3
|
interface ExtendedCallgraphNodeMeta extends CallgraphNodeMeta {
|
|
@@ -13,9 +13,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
import { useEffect, useMemo, useState } from 'react';
|
|
15
15
|
import { pointer } from 'd3-selection';
|
|
16
|
-
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
17
16
|
import { usePopper } from 'react-popper';
|
|
18
|
-
import { useKeyDown } from '@parca/components';
|
|
17
|
+
import { CopyToClipboard, useKeyDown } from '@parca/components';
|
|
19
18
|
import { selectHoveringNode, useAppSelector } from '@parca/store';
|
|
20
19
|
import { divide, getLastItem, valueFormatter } from '@parca/utilities';
|
|
21
20
|
import { hexifyAddress, truncateString, truncateStringReverse } from '../';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const RuntimeFilterDropdown: ({ showRuntimeRuby, toggleShowRuntimeRuby, showRuntimePython, toggleShowRuntimePython, showInterpretedOnly, toggleShowInterpretedOnly, }: {
|
|
3
2
|
showRuntimeRuby: boolean;
|
|
4
3
|
toggleShowRuntimeRuby: () => void;
|
|
@@ -62,7 +62,7 @@ const ContextMenu = ({ menuId, table, unit, total, totalUnfiltered, row, level,
|
|
|
62
62
|
{
|
|
63
63
|
id: 'Function system name',
|
|
64
64
|
value: functionSystemName === functionName ? '' : functionSystemName,
|
|
65
|
-
},
|
|
65
|
+
}, // an empty string will be filtered out below
|
|
66
66
|
{ id: 'Cumulative', value: cumulativeText ?? '' },
|
|
67
67
|
{ id: 'Diff', value: diff !== 0n ? diffText : '' },
|
|
68
68
|
{
|
package/dist/ProfileSource.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Callgraph as CallgraphType, Flamegraph, FlamegraphArrow, QueryServiceClient, Source, TableArrow, Top } from '@parca/client';
|
|
3
2
|
import { ProfileSource } from '../ProfileSource';
|
|
4
3
|
type NavigateFunction = (path: string, queryParams: any, options?: {
|
|
@@ -14,8 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
14
14
|
import { useState } from 'react';
|
|
15
15
|
import { Icon } from '@iconify/react';
|
|
16
16
|
import cx from 'classnames';
|
|
17
|
-
import { CopyToClipboard } from '
|
|
18
|
-
import { Button } from '@parca/components';
|
|
17
|
+
import { Button, CopyToClipboard } from '@parca/components';
|
|
19
18
|
let timeoutHandle = null;
|
|
20
19
|
const ResultBox = ({ value, className = '' }) => {
|
|
21
20
|
const [isCopied, setIsCopied] = useState(false);
|
|
@@ -8,5 +8,5 @@ interface Props<IRes> {
|
|
|
8
8
|
retry?: number | boolean;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
declare const useGrpcQuery: <IRes>({ key, queryFn, options: { enabled, staleTime, retry }, }: Props<IRes>) => UseQueryResult<IRes
|
|
11
|
+
declare const useGrpcQuery: <IRes>({ key, queryFn, options: { enabled, staleTime, retry }, }: Props<IRes>) => UseQueryResult<IRes>;
|
|
12
12
|
export default useGrpcQuery;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.346",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@parca/client": "^0.16.104",
|
|
7
|
-
"@parca/components": "^0.16.
|
|
7
|
+
"@parca/components": "^0.16.255",
|
|
8
8
|
"@parca/dynamicsize": "^0.16.60",
|
|
9
9
|
"@parca/hooks": "^0.0.42",
|
|
10
10
|
"@parca/parser": "^0.16.68",
|
|
11
11
|
"@parca/store": "^0.16.130",
|
|
12
12
|
"@parca/utilities": "^0.0.58",
|
|
13
13
|
"@tanstack/react-query": "^4.0.5",
|
|
14
|
-
"@types/react-beautiful-dnd": "^13.1.
|
|
14
|
+
"@types/react-beautiful-dnd": "^13.1.8",
|
|
15
15
|
"apache-arrow": "^12.0.0",
|
|
16
16
|
"d3": "7.8.5",
|
|
17
17
|
"d3-scale": "^4.0.2",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"graphviz-wasm": "3.0.1",
|
|
21
21
|
"react-beautiful-dnd": "^13.1.1",
|
|
22
22
|
"react-contexify": "^6.0.0",
|
|
23
|
-
"react-copy-to-clipboard": "^5.1.0",
|
|
24
23
|
"react-flame-graph": "^1.4.0",
|
|
25
24
|
"react-inlinesvg": "^3.0.2",
|
|
26
25
|
"react-map-interaction": "^2.1.0",
|
|
@@ -30,7 +29,6 @@
|
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
31
|
"@types/d3": "7.4.3",
|
|
33
|
-
"@types/react-copy-to-clipboard": "5.0.7",
|
|
34
32
|
"@types/react-syntax-highlighter": "15.5.11"
|
|
35
33
|
},
|
|
36
34
|
"resolutions": {
|
|
@@ -52,5 +50,5 @@
|
|
|
52
50
|
"access": "public",
|
|
53
51
|
"registry": "https://registry.npmjs.org/"
|
|
54
52
|
},
|
|
55
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "e67b6cc961d96ffac0971d1fb1b4c27019284964"
|
|
56
54
|
}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
import {useEffect, useMemo, useState} from 'react';
|
|
15
15
|
|
|
16
16
|
import {pointer} from 'd3-selection';
|
|
17
|
-
import {CopyToClipboard} from 'react-copy-to-clipboard';
|
|
18
17
|
import {usePopper} from 'react-popper';
|
|
19
18
|
|
|
20
19
|
import {
|
|
@@ -29,7 +28,7 @@ import {
|
|
|
29
28
|
Mapping,
|
|
30
29
|
Function as ParcaFunction,
|
|
31
30
|
} from '@parca/client/dist/parca/metastore/v1alpha1/metastore';
|
|
32
|
-
import {useKeyDown} from '@parca/components';
|
|
31
|
+
import {CopyToClipboard, useKeyDown} from '@parca/components';
|
|
33
32
|
import {selectHoveringNode, useAppSelector} from '@parca/store';
|
|
34
33
|
import {divide, getLastItem, valueFormatter} from '@parca/utilities';
|
|
35
34
|
|
|
@@ -15,9 +15,8 @@ import {useState} from 'react';
|
|
|
15
15
|
|
|
16
16
|
import {Icon} from '@iconify/react';
|
|
17
17
|
import cx from 'classnames';
|
|
18
|
-
import {CopyToClipboard} from 'react-copy-to-clipboard';
|
|
19
18
|
|
|
20
|
-
import {Button} from '@parca/components';
|
|
19
|
+
import {Button, CopyToClipboard} from '@parca/components';
|
|
21
20
|
|
|
22
21
|
interface Props {
|
|
23
22
|
value: string;
|