@parca/profile 0.15.3 → 0.15.17

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,129 +3,104 @@
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.15.3](https://github.com/parca-dev/parca/compare/ui-v0.15.2...ui-v0.15.3) (2022-08-25)
6
+ ## [0.15.17](https://github.com/parca-dev/parca/compare/ui-v0.15.16...ui-v0.15.17) (2022-09-07)
7
7
 
8
8
 
9
9
 
10
- ## 0.15.1 (2022-08-25)
10
+ ## [0.15.11](https://github.com/parca-dev/parca/compare/ui-v0.15.10...ui-v0.15.11) (2022-09-01)
11
11
 
12
- **Note:** Version bump only for package @parca/profile
13
12
 
14
13
 
14
+ ## [0.15.10](https://github.com/parca-dev/parca/compare/ui-v0.15.2...ui-v0.15.10) (2022-08-30)
15
15
 
16
16
 
17
17
 
18
18
  ## [0.15.2](https://github.com/parca-dev/parca/compare/ui-v0.15.1...ui-v0.15.2) (2022-08-25)
19
19
 
20
- **Note:** Version bump only for package @parca/profile
21
20
 
22
21
 
22
+ ## 0.15.1 (2022-08-25)
23
23
 
24
+ **Note:** Version bump only for package @parca/profile
24
25
 
25
26
 
26
- # [0.15.0](https://github.com/parca-dev/parca/compare/ui-v0.14.37...ui-v0.15.0) (2022-08-24)
27
27
 
28
28
 
29
29
 
30
- ## [0.14.32](https://github.com/parca-dev/parca/compare/ui-v0.14.30...ui-v0.14.32) (2022-08-18)
30
+ ## [0.15.11](https://github.com/parca-dev/parca/compare/ui-v0.15.10...ui-v0.15.11) (2022-09-01)
31
31
 
32
+ **Note:** Version bump only for package @parca/profile
32
33
 
34
+ ## [0.15.9](https://github.com/parca-dev/parca/compare/ui-v0.15.8...ui-v0.15.9) (2022-08-30)
33
35
 
34
- ## [0.14.30](https://github.com/parca-dev/parca/compare/ui-v0.14.24...ui-v0.14.30) (2022-08-17)
36
+ **Note:** Version bump only for package @parca/profile
35
37
 
38
+ ## [0.15.3](https://github.com/parca-dev/parca/compare/ui-v0.15.2...ui-v0.15.3) (2022-08-25)
36
39
 
37
- ### Features
40
+ ## 0.15.1 (2022-08-25)
38
41
 
39
- * implement callgraph report api ([83c81c6](https://github.com/parca-dev/parca/commit/83c81c67a140b4b723094ee0d6c2308b112b800c))
40
- * tooltip for callgraph ([c1d0195](https://github.com/parca-dev/parca/commit/c1d0195e45a5aa065a89c936861646f1455336ff))
42
+ **Note:** Version bump only for package @parca/profile
41
43
 
44
+ ## [0.15.2](https://github.com/parca-dev/parca/compare/ui-v0.15.1...ui-v0.15.2) (2022-08-25)
42
45
 
46
+ **Note:** Version bump only for package @parca/profile
43
47
 
44
- ## [0.14.16](https://github.com/parca-dev/parca/compare/ui-v0.14.11...ui-v0.14.16) (2022-08-03)
48
+ # [0.15.0](https://github.com/parca-dev/parca/compare/ui-v0.14.37...ui-v0.15.0) (2022-08-24)
45
49
 
50
+ ## [0.14.32](https://github.com/parca-dev/parca/compare/ui-v0.14.30...ui-v0.14.32) (2022-08-18)
46
51
 
52
+ ## [0.14.30](https://github.com/parca-dev/parca/compare/ui-v0.14.24...ui-v0.14.30) (2022-08-17)
47
53
 
48
- ## [0.14.3-alpha.0](https://github.com/parca-dev/parca/compare/ui-v0.14.1...ui-v0.14.3-alpha.0) (2022-07-26)
54
+ ### Features
49
55
 
56
+ - implement callgraph report api ([83c81c6](https://github.com/parca-dev/parca/commit/83c81c67a140b4b723094ee0d6c2308b112b800c))
57
+ - tooltip for callgraph ([c1d0195](https://github.com/parca-dev/parca/commit/c1d0195e45a5aa065a89c936861646f1455336ff))
50
58
 
59
+ ## [0.14.16](https://github.com/parca-dev/parca/compare/ui-v0.14.11...ui-v0.14.16) (2022-08-03)
51
60
 
52
- ## [0.13.14](https://github.com/parca-dev/parca/compare/ui-v0.13.12...ui-v0.13.14) (2022-06-29)
61
+ ## [0.14.3-alpha.0](https://github.com/parca-dev/parca/compare/ui-v0.14.1...ui-v0.14.3-alpha.0) (2022-07-26)
53
62
 
63
+ ## [0.13.14](https://github.com/parca-dev/parca/compare/ui-v0.13.12...ui-v0.13.14) (2022-06-29)
54
64
 
55
65
  ### Features
56
66
 
57
- * add tooltip to callgraph ([b261a48](https://github.com/parca-dev/parca/commit/b261a48a92739d5fb957957da929495cb206417e))
58
- * connect callgraph component to actual data ([b7dd5d8](https://github.com/parca-dev/parca/commit/b7dd5d8b0851d11010f66a3a5ca03d50902636a1))
59
-
60
-
67
+ - add tooltip to callgraph ([b261a48](https://github.com/parca-dev/parca/commit/b261a48a92739d5fb957957da929495cb206417e))
68
+ - connect callgraph component to actual data ([b7dd5d8](https://github.com/parca-dev/parca/commit/b7dd5d8b0851d11010f66a3a5ca03d50902636a1))
61
69
 
62
70
  ## [0.13.10](https://github.com/parca-dev/parca/compare/ui-v0.13.2...ui-v0.13.10) (2022-06-22)
63
71
 
64
-
65
-
66
72
  ## [0.13.2](https://github.com/parca-dev/parca/compare/ui-v0.13.1...ui-v0.13.2) (2022-05-31)
67
73
 
68
-
69
-
70
-
71
-
72
74
  ## [0.14.37](https://github.com/parca-dev/parca/compare/ui-v0.14.36...ui-v0.14.37) (2022-08-24)
73
75
 
74
76
  **Note:** Version bump only for package @parca/profile
75
77
 
76
-
77
-
78
-
79
-
80
78
  ## [0.14.36](https://github.com/parca-dev/parca/compare/ui-v0.14.35...ui-v0.14.36) (2022-08-24)
81
79
 
82
-
83
80
  ### Bug Fixes
84
81
 
85
- * **ui:** enforce @typescript-eslint/explicit-function-return-type ([22a18fd](https://github.com/parca-dev/parca/commit/22a18fd3f7befef5cc175131d8c997c3967a5713))
86
-
87
-
82
+ - **ui:** enforce @typescript-eslint/explicit-function-return-type ([22a18fd](https://github.com/parca-dev/parca/commit/22a18fd3f7befef5cc175131d8c997c3967a5713))
88
83
 
89
84
  ## 0.14.32 (2022-08-18)
90
85
 
91
-
92
-
93
-
94
-
95
86
  ## [0.14.31](https://github.com/parca-dev/parca/compare/ui-v0.14.30...ui-v0.14.31) (2022-08-18)
96
87
 
97
-
98
88
  ### Bug Fixes
99
89
 
100
- * **ui:** address all problems reported by ESLint ([7f9c921](https://github.com/parca-dev/parca/commit/7f9c9217af49f2661a4363b9b17a9a06f1c7539b))
101
-
102
-
103
-
104
-
90
+ - **ui:** address all problems reported by ESLint ([7f9c921](https://github.com/parca-dev/parca/commit/7f9c9217af49f2661a4363b9b17a9a06f1c7539b))
105
91
 
106
92
  ## [0.14.30](https://github.com/parca-dev/parca/compare/ui-v0.14.29...ui-v0.14.30) (2022-08-17)
107
93
 
108
-
109
94
  ### Bug Fixes
110
95
 
111
- * **ui:** run eslint --fix ([#1542](https://github.com/parca-dev/parca/issues/1542)) ([e522131](https://github.com/parca-dev/parca/commit/e5221318fc1140d661c45d2d04b096bfebba4af4))
112
-
113
-
114
-
115
-
96
+ - **ui:** run eslint --fix ([#1542](https://github.com/parca-dev/parca/issues/1542)) ([e522131](https://github.com/parca-dev/parca/commit/e5221318fc1140d661c45d2d04b096bfebba4af4))
116
97
 
117
98
  ## [0.14.29](https://github.com/parca-dev/parca/compare/ui-v0.14.28...ui-v0.14.29) (2022-08-15)
118
99
 
119
-
120
-
121
100
  ## 0.14.21 (2022-08-10)
122
101
 
123
102
  **Note:** Version bump only for package @parca/profile
124
103
 
125
-
126
-
127
-
128
-
129
104
  ## [0.14.16](https://github.com/parca-dev/parca/compare/ui-v0.14.15...ui-v0.14.16) (2022-08-03)
130
105
 
131
106
  **Note:** Version bump only for package @parca/profile
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.15.3",
3
+ "version": "0.15.17",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@iconify/react": "^3.2.2",
7
- "@parca/client": "^0.15.2",
8
- "@parca/dynamicsize": "^0.15.0",
9
- "@parca/functions": "^0.15.3",
10
- "@parca/parser": "^0.15.0",
7
+ "@parca/client": "^0.15.11",
8
+ "@parca/dynamicsize": "^0.15.17",
9
+ "@parca/functions": "^0.15.17",
10
+ "@parca/parser": "^0.15.17",
11
11
  "d3-scale": "^4.0.2",
12
12
  "d3-selection": "3.0.0",
13
13
  "react-copy-to-clipboard": "^5.1.0"
@@ -23,5 +23,5 @@
23
23
  "access": "public",
24
24
  "registry": "https://registry.npmjs.org/"
25
25
  },
26
- "gitHead": "dfdd9847f875aadab59fa812955f1f689d7870e7"
26
+ "gitHead": "df4bacb55c1503822de9d3312ebe8b90ff17d55b"
27
27
  }
@@ -11,7 +11,6 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
 
14
- /* eslint-disable */
15
14
  import React, {useEffect, useMemo, useState} from 'react';
16
15
 
17
16
  import {parseParams} from '@parca/functions';
@@ -122,7 +121,7 @@ export const ProfileView = ({
122
121
  return Boolean(flamegraphData?.loading);
123
122
  }
124
123
  if (currentView === 'callgraph') {
125
- return !!callgraphData?.loading;
124
+ return Boolean(callgraphData?.loading);
126
125
  }
127
126
  if (currentView === 'table') {
128
127
  return Boolean(topTableData?.loading);
@@ -272,7 +271,7 @@ export const ProfileView = ({
272
271
 
273
272
  {currentView === 'callgraph' && callgraphData?.data != null && (
274
273
  <div className="w-full">
275
- {dimensions?.width && (
274
+ {dimensions?.width !== undefined && (
276
275
  <CallgraphComponent
277
276
  graph={callgraphData.data}
278
277
  sampleUnit={sampleUnit}