@parca/profile 0.16.494 → 0.16.496

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.496 (2025-04-24)
7
+
8
+ **Note:** Version bump only for package @parca/profile
9
+
10
+ ## [0.16.495](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.494...@parca/profile@0.16.495) (2025-04-22)
11
+
12
+ **Note:** Version bump only for package @parca/profile
13
+
6
14
  ## [0.16.494](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.493...@parca/profile@0.16.494) (2025-04-22)
7
15
 
8
16
  **Note:** Version bump only for package @parca/profile
@@ -5,6 +5,7 @@ interface IQueryRangeState {
5
5
  isLoading: boolean;
6
6
  error: RpcError | null;
7
7
  }
8
+ export declare const getStepCountFromScreenWidth: (pixelsPerPoint: number) => number;
8
9
  export declare const useQueryRange: (client: QueryServiceClient, queryExpression: string, start: number, end: number, sumBy: string[], skip?: boolean) => IQueryRangeState;
9
10
  export {};
10
11
  //# sourceMappingURL=useQueryRange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useQueryRange.d.ts","sourceRoot":"","sources":["../../../src/ProfileMetricsGraph/hooks/useQueryRange.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAW,kBAAkB,EAAE,kBAAkB,EAAY,MAAM,eAAe,CAAC;AAM1F,UAAU,gBAAgB;IACxB,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB;AAYD,eAAO,MAAM,aAAa,WAChB,kBAAkB,mBACT,MAAM,SAChB,MAAM,OACR,MAAM,SACJ,MAAM,EAAE,qBAEd,gBA+CF,CAAC"}
1
+ {"version":3,"file":"useQueryRange.d.ts","sourceRoot":"","sources":["../../../src/ProfileMetricsGraph/hooks/useQueryRange.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAW,kBAAkB,EAAE,kBAAkB,EAAY,MAAM,eAAe,CAAC;AAM1F,UAAU,gBAAgB;IACxB,QAAQ,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,2BAA2B,mBAAoB,MAAM,KAAG,MAQpE,CAAC;AAEF,eAAO,MAAM,aAAa,WAChB,kBAAkB,mBACT,MAAM,SAChB,MAAM,OACR,MAAM,SACJ,MAAM,EAAE,qBAEd,gBA+CF,CAAC"}
@@ -15,7 +15,7 @@ import { Duration, Timestamp } from '@parca/client';
15
15
  import { useGrpcMetadata, useURLState } from '@parca/components';
16
16
  import { getStepDuration } from '@parca/utilities';
17
17
  import useGrpcQuery from '../../useGrpcQuery';
18
- const getStepCountFromScreenWidth = (pixelsPerPoint) => {
18
+ export const getStepCountFromScreenWidth = (pixelsPerPoint) => {
19
19
  let width =
20
20
  // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
21
21
  window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.16.494",
3
+ "version": "0.16.496",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@headlessui/react": "^1.7.19",
@@ -24,7 +24,7 @@
24
24
  "@types/d3-selection": "^3.0.10",
25
25
  "@types/fast-levenshtein": "^0.0.4",
26
26
  "@types/react-beautiful-dnd": "^13.1.8",
27
- "apache-arrow": "^12.0.1",
27
+ "apache-arrow": "^19.0.1",
28
28
  "classnames": "^2.3.1",
29
29
  "d3": "7.9.0",
30
30
  "d3-array": "^3.2.4",
@@ -77,5 +77,5 @@
77
77
  "access": "public",
78
78
  "registry": "https://registry.npmjs.org/"
79
79
  },
80
- "gitHead": "b1f6630789111e0fb5a6d21f4fd826f1ec0fcfb7"
80
+ "gitHead": "55e02f9e21ea1625c64dbc6054974a7ef6a6c2dd"
81
81
  }
@@ -27,7 +27,7 @@ interface IQueryRangeState {
27
27
  error: RpcError | null;
28
28
  }
29
29
 
30
- const getStepCountFromScreenWidth = (pixelsPerPoint: number): number => {
30
+ export const getStepCountFromScreenWidth = (pixelsPerPoint: number): number => {
31
31
  let width =
32
32
  // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
33
33
  window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;