@parca/profile 0.19.22 → 0.19.23
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/ProfileView/components/ProfileFilters/useProfileFilters.d.ts +1 -0
- package/dist/ProfileView/components/ProfileFilters/useProfileFilters.d.ts.map +1 -1
- package/dist/ProfileView/components/ProfileFilters/useProfileFilters.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/package.json +2 -2
- package/src/ProfileView/components/ProfileFilters/useProfileFilters.ts +1 -1
- package/src/index.tsx +1 -0
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.19.23](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.22...@parca/profile@0.19.23) (2025-07-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## [0.19.22](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.21...@parca/profile@0.19.22) (2025-07-16)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type Filter } from '@parca/client';
|
|
2
2
|
import { type ProfileFilter } from '@parca/store';
|
|
3
3
|
export type { ProfileFilter };
|
|
4
|
+
export declare const convertToProtoFilters: (profileFilters: ProfileFilter[]) => Filter[];
|
|
4
5
|
export declare const useProfileFilters: () => {
|
|
5
6
|
localFilters: ProfileFilter[];
|
|
6
7
|
appliedFilters: ProfileFilter[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProfileFilters.d.ts","sourceRoot":"","sources":["../../../../src/ProfileView/components/ProfileFilters/useProfileFilters.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,KAAK,MAAM,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAItB,YAAY,EAAC,aAAa,EAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"useProfileFilters.d.ts","sourceRoot":"","sources":["../../../../src/ProfileView/components/ProfileFilters/useProfileFilters.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,KAAK,MAAM,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAItB,YAAY,EAAC,aAAa,EAAC,CAAC;AAG5B,eAAO,MAAM,qBAAqB,GAAI,gBAAgB,aAAa,EAAE,KAAG,MAAM,EA+E7E,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAAO;IACnC,YAAY,EAAE,aAAa,EAAE,CAAC;IAC9B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,aAAa,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,mBAAmB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IACpE,YAAY,EAAE,MAAM,IAAI,CAAC;CAkK1B,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { useCallback, useEffect, useMemo } from 'react';
|
|
|
14
14
|
import { selectLocalFilters, setLocalFilters, useAppDispatch, useAppSelector, } from '@parca/store';
|
|
15
15
|
import { useProfileFiltersUrlState } from './useProfileFiltersUrlState';
|
|
16
16
|
// Convert ProfileFilter[] to protobuf Filter[] matching the expected structure
|
|
17
|
-
const convertToProtoFilters = (profileFilters) => {
|
|
17
|
+
export const convertToProtoFilters = (profileFilters) => {
|
|
18
18
|
return profileFilters
|
|
19
19
|
.filter(f => f.value !== '' && f.type != null && f.field != null && f.matchType != null) // Only include complete filters with values
|
|
20
20
|
.map(f => {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import ProfileTypeSelector from './ProfileTypeSelector';
|
|
|
4
4
|
import CustomSelect from './SimpleMatchers/Select';
|
|
5
5
|
export * from './ProfileFlameGraph';
|
|
6
6
|
export * from './ProfileSource';
|
|
7
|
+
export { convertToProtoFilters } from './ProfileView/components/ProfileFilters/useProfileFilters';
|
|
7
8
|
export * from './ProfileView';
|
|
8
9
|
export * from './ProfileViewWithData';
|
|
9
10
|
export * from './utils';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,eAAe,EAAE,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAC1E,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,qCAAqC;;CAEjD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,YAAY,EAAE,aAAa,EAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,eAAe,EAAE,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AAC1E,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,qBAAqB,EAAC,MAAM,2DAA2D,CAAC;AAChG,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,qCAAqC;;CAEjD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,YAAY,EAAE,aAAa,EAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import ProfileTypeSelector from './ProfileTypeSelector';
|
|
|
16
16
|
import CustomSelect from './SimpleMatchers/Select';
|
|
17
17
|
export * from './ProfileFlameGraph';
|
|
18
18
|
export * from './ProfileSource';
|
|
19
|
+
export { convertToProtoFilters } from './ProfileView/components/ProfileFilters/useProfileFilters';
|
|
19
20
|
export * from './ProfileView';
|
|
20
21
|
export * from './ProfileViewWithData';
|
|
21
22
|
export * from './utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.23",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/react": "^0.27.12",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"access": "public",
|
|
79
79
|
"registry": "https://registry.npmjs.org/"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "f14c580082c5cabf83aa535b207d4bb2b05b31a6"
|
|
82
82
|
}
|
|
@@ -27,7 +27,7 @@ import {useProfileFiltersUrlState} from './useProfileFiltersUrlState';
|
|
|
27
27
|
export type {ProfileFilter};
|
|
28
28
|
|
|
29
29
|
// Convert ProfileFilter[] to protobuf Filter[] matching the expected structure
|
|
30
|
-
const convertToProtoFilters = (profileFilters: ProfileFilter[]): Filter[] => {
|
|
30
|
+
export const convertToProtoFilters = (profileFilters: ProfileFilter[]): Filter[] => {
|
|
31
31
|
return profileFilters
|
|
32
32
|
.filter(f => f.value !== '' && f.type != null && f.field != null && f.matchType != null) // Only include complete filters with values
|
|
33
33
|
.map(f => {
|
package/src/index.tsx
CHANGED
|
@@ -18,6 +18,7 @@ import CustomSelect from './SimpleMatchers/Select';
|
|
|
18
18
|
|
|
19
19
|
export * from './ProfileFlameGraph';
|
|
20
20
|
export * from './ProfileSource';
|
|
21
|
+
export {convertToProtoFilters} from './ProfileView/components/ProfileFilters/useProfileFilters';
|
|
21
22
|
export * from './ProfileView';
|
|
22
23
|
export * from './ProfileViewWithData';
|
|
23
24
|
export * from './utils';
|