@parca/profile 0.16.352 → 0.16.354
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 +8 -0
- package/dist/Callgraph/index.d.ts +1 -0
- package/dist/GraphTooltip/ExpandOnHoverValue.d.ts +1 -0
- package/dist/GraphTooltip/index.d.ts +1 -0
- package/dist/GraphTooltipArrow/DockedGraphTooltip/index.d.ts +1 -0
- package/dist/GraphTooltipArrow/ExpandOnHoverValue.d.ts +1 -0
- package/dist/MatchersInput/SuggestionItem.d.ts +1 -0
- package/dist/MatchersInput/SuggestionsList.d.ts +1 -0
- package/dist/MatchersInput/index.d.ts +1 -0
- package/dist/MetricsCircle/index.d.ts +1 -0
- package/dist/MetricsGraph/MetricsContextMenu/index.d.ts +1 -0
- package/dist/MetricsGraph/MetricsInfoPanel/index.d.ts +1 -0
- package/dist/MetricsGraph/MetricsTooltip/index.d.ts +1 -0
- package/dist/MetricsGraph/index.d.ts +1 -0
- package/dist/MetricsSeries/index.d.ts +1 -0
- package/dist/ProfileExplorer/ProfileExplorerCompare.d.ts +1 -0
- package/dist/ProfileExplorer/ProfileExplorerSingle.d.ts +1 -0
- package/dist/ProfileExplorer/index.d.ts +1 -0
- package/dist/ProfileIcicleGraph/ActionButtons/GroupByDropdown.d.ts +1 -0
- package/dist/ProfileIcicleGraph/ActionButtons/RuntimeFilterDropdown.d.ts +1 -0
- package/dist/ProfileIcicleGraph/ActionButtons/SortBySelect.d.ts +1 -0
- package/dist/ProfileIcicleGraph/IcicleGraph/ColorStackLegend.d.ts +1 -0
- package/dist/ProfileIcicleGraph/IcicleGraphArrow/ContextMenu.d.ts +1 -0
- package/dist/ProfileMetricsGraph/index.d.ts +1 -0
- package/dist/ProfileSelector/CompareButton.d.ts +1 -0
- package/dist/ProfileSelector/index.d.ts +1 -0
- package/dist/ProfileSource.d.ts +1 -0
- package/dist/ProfileTypeSelector/index.d.ts +1 -0
- package/dist/ProfileView/FilterByFunctionButton.d.ts +1 -0
- package/dist/ProfileView/ViewSelector.d.ts +1 -0
- package/dist/ProfileView/index.d.ts +1 -0
- package/dist/ProfileViewWithData.d.ts +1 -0
- package/dist/SourceView/Highlighter.js +3 -2
- package/dist/SourceView/LineNo.d.ts +1 -0
- package/dist/SourceView/lang-detector/index.js +1 -1
- package/dist/Table/ColumnsVisibility.d.ts +1 -0
- package/dist/components/DiffLegend.d.ts +1 -0
- package/dist/components/ProfileShareButton/ResultBox.d.ts +1 -0
- package/dist/components/ProfileShareButton/index.d.ts +1 -0
- package/package.json +3 -3
- package/src/SourceView/Highlighter.tsx +4 -2
- package/src/SourceView/lang-detector/index.ts +1 -1
- package/typings.d.ts +1 -1
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.354 (2024-03-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
10
|
+
## 0.16.353 (2024-03-06)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @parca/profile
|
|
13
|
+
|
|
6
14
|
## 0.16.352 (2024-02-29)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CallgraphNode, CallgraphNodeMeta, FlamegraphNode, FlamegraphNodeMeta, FlamegraphRootNode } from '@parca/client';
|
|
2
3
|
import { Location, Mapping, Function as ParcaFunction } from '@parca/client/dist/parca/metastore/v1alpha1/metastore';
|
|
3
4
|
interface ExtendedCallgraphNodeMeta extends CallgraphNodeMeta {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const RuntimeFilterDropdown: ({ showRuntimeRuby, toggleShowRuntimeRuby, showRuntimePython, toggleShowRuntimePython, showInterpretedOnly, toggleShowInterpretedOnly, }: {
|
|
2
3
|
showRuntimeRuby: boolean;
|
|
3
4
|
toggleShowRuntimeRuby: () => void;
|
package/dist/ProfileSource.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Callgraph as CallgraphType, Flamegraph, FlamegraphArrow, QueryServiceClient, Source, TableArrow, Top } from '@parca/client';
|
|
2
3
|
import { ProfileSource } from '../ProfileSource';
|
|
3
4
|
type NavigateFunction = (path: string, queryParams: any, options?: {
|
|
@@ -14,8 +14,9 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
14
14
|
import { useId, useMemo } from 'react';
|
|
15
15
|
import cx from 'classnames';
|
|
16
16
|
import { scaleLinear } from 'd3-scale';
|
|
17
|
-
import
|
|
18
|
-
import
|
|
17
|
+
import createElement from 'react-syntax-highlighter/dist/cjs/create-element';
|
|
18
|
+
import SyntaxHighlighter from 'react-syntax-highlighter/dist/cjs/default-highlight';
|
|
19
|
+
import { atomOneDark, atomOneLight } from 'react-syntax-highlighter/dist/cjs/styles/hljs';
|
|
19
20
|
import { Tooltip } from 'react-tooltip';
|
|
20
21
|
import { useParcaContext } from '@parca/components';
|
|
21
22
|
import { valueFormatter } from '@parca/utilities';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
|
-
import * as hljsLangs from 'react-syntax-highlighter/dist/
|
|
13
|
+
import * as hljsLangs from 'react-syntax-highlighter/dist/cjs/languages/hljs';
|
|
14
14
|
import _extLangMap from './ext-to-lang.json';
|
|
15
15
|
const extLangMap = _extLangMap;
|
|
16
16
|
export const langaugeFromFile = (file) => {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.354",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@parca/client": "^0.16.106",
|
|
7
|
-
"@parca/components": "^0.16.
|
|
7
|
+
"@parca/components": "^0.16.261",
|
|
8
8
|
"@parca/dynamicsize": "^0.16.61",
|
|
9
9
|
"@parca/hooks": "^0.0.45",
|
|
10
10
|
"@parca/parser": "^0.16.69",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"access": "public",
|
|
51
51
|
"registry": "https://registry.npmjs.org/"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "7fc28df1c982cf74cf763c121b78e0aab7f08d20"
|
|
54
54
|
}
|
|
@@ -16,8 +16,10 @@ import {MouseEventHandler, useId, useMemo} from 'react';
|
|
|
16
16
|
import {Vector} from 'apache-arrow';
|
|
17
17
|
import cx from 'classnames';
|
|
18
18
|
import {scaleLinear} from 'd3-scale';
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import {type createElementProps} from 'react-syntax-highlighter';
|
|
20
|
+
import createElement from 'react-syntax-highlighter/dist/cjs/create-element';
|
|
21
|
+
import SyntaxHighlighter from 'react-syntax-highlighter/dist/cjs/default-highlight';
|
|
22
|
+
import {atomOneDark, atomOneLight} from 'react-syntax-highlighter/dist/cjs/styles/hljs';
|
|
21
23
|
import {Tooltip} from 'react-tooltip';
|
|
22
24
|
|
|
23
25
|
import {useParcaContext} from '@parca/components';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
13
|
|
|
14
|
-
import * as hljsLangs from 'react-syntax-highlighter/dist/
|
|
14
|
+
import * as hljsLangs from 'react-syntax-highlighter/dist/cjs/languages/hljs';
|
|
15
15
|
|
|
16
16
|
import _extLangMap from './ext-to-lang.json';
|
|
17
17
|
|
package/typings.d.ts
CHANGED