@parca/profile 0.15.11 → 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,23 +3,19 @@
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.11](https://github.com/parca-dev/parca/compare/ui-v0.15.10...ui-v0.15.11) (2022-09-01)
7
-
8
- **Note:** Version bump only for package @parca/profile
9
-
10
-
6
+ ## [0.15.17](https://github.com/parca-dev/parca/compare/ui-v0.15.16...ui-v0.15.17) (2022-09-07)
11
7
 
12
8
 
13
9
 
14
- ## [0.15.9](https://github.com/parca-dev/parca/compare/ui-v0.15.8...ui-v0.15.9) (2022-08-30)
10
+ ## [0.15.11](https://github.com/parca-dev/parca/compare/ui-v0.15.10...ui-v0.15.11) (2022-09-01)
15
11
 
16
- **Note:** Version bump only for package @parca/profile
17
12
 
18
13
 
14
+ ## [0.15.10](https://github.com/parca-dev/parca/compare/ui-v0.15.2...ui-v0.15.10) (2022-08-30)
19
15
 
20
16
 
21
17
 
22
- ## [0.15.3](https://github.com/parca-dev/parca/compare/ui-v0.15.2...ui-v0.15.3) (2022-08-25)
18
+ ## [0.15.2](https://github.com/parca-dev/parca/compare/ui-v0.15.1...ui-v0.15.2) (2022-08-25)
23
19
 
24
20
 
25
21
 
@@ -31,117 +27,80 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
31
27
 
32
28
 
33
29
 
34
- ## [0.15.2](https://github.com/parca-dev/parca/compare/ui-v0.15.1...ui-v0.15.2) (2022-08-25)
30
+ ## [0.15.11](https://github.com/parca-dev/parca/compare/ui-v0.15.10...ui-v0.15.11) (2022-09-01)
35
31
 
36
32
  **Note:** Version bump only for package @parca/profile
37
33
 
34
+ ## [0.15.9](https://github.com/parca-dev/parca/compare/ui-v0.15.8...ui-v0.15.9) (2022-08-30)
38
35
 
36
+ **Note:** Version bump only for package @parca/profile
39
37
 
38
+ ## [0.15.3](https://github.com/parca-dev/parca/compare/ui-v0.15.2...ui-v0.15.3) (2022-08-25)
40
39
 
40
+ ## 0.15.1 (2022-08-25)
41
41
 
42
- # [0.15.0](https://github.com/parca-dev/parca/compare/ui-v0.14.37...ui-v0.15.0) (2022-08-24)
43
-
42
+ **Note:** Version bump only for package @parca/profile
44
43
 
44
+ ## [0.15.2](https://github.com/parca-dev/parca/compare/ui-v0.15.1...ui-v0.15.2) (2022-08-25)
45
45
 
46
- ## [0.14.32](https://github.com/parca-dev/parca/compare/ui-v0.14.30...ui-v0.14.32) (2022-08-18)
46
+ **Note:** Version bump only for package @parca/profile
47
47
 
48
+ # [0.15.0](https://github.com/parca-dev/parca/compare/ui-v0.14.37...ui-v0.15.0) (2022-08-24)
48
49
 
50
+ ## [0.14.32](https://github.com/parca-dev/parca/compare/ui-v0.14.30...ui-v0.14.32) (2022-08-18)
49
51
 
50
52
  ## [0.14.30](https://github.com/parca-dev/parca/compare/ui-v0.14.24...ui-v0.14.30) (2022-08-17)
51
53
 
52
-
53
54
  ### Features
54
55
 
55
- * implement callgraph report api ([83c81c6](https://github.com/parca-dev/parca/commit/83c81c67a140b4b723094ee0d6c2308b112b800c))
56
- * tooltip for callgraph ([c1d0195](https://github.com/parca-dev/parca/commit/c1d0195e45a5aa065a89c936861646f1455336ff))
57
-
58
-
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))
59
58
 
60
59
  ## [0.14.16](https://github.com/parca-dev/parca/compare/ui-v0.14.11...ui-v0.14.16) (2022-08-03)
61
60
 
62
-
63
-
64
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)
65
62
 
66
-
67
-
68
63
  ## [0.13.14](https://github.com/parca-dev/parca/compare/ui-v0.13.12...ui-v0.13.14) (2022-06-29)
69
64
 
70
-
71
65
  ### Features
72
66
 
73
- * add tooltip to callgraph ([b261a48](https://github.com/parca-dev/parca/commit/b261a48a92739d5fb957957da929495cb206417e))
74
- * connect callgraph component to actual data ([b7dd5d8](https://github.com/parca-dev/parca/commit/b7dd5d8b0851d11010f66a3a5ca03d50902636a1))
75
-
76
-
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))
77
69
 
78
70
  ## [0.13.10](https://github.com/parca-dev/parca/compare/ui-v0.13.2...ui-v0.13.10) (2022-06-22)
79
71
 
80
-
81
-
82
72
  ## [0.13.2](https://github.com/parca-dev/parca/compare/ui-v0.13.1...ui-v0.13.2) (2022-05-31)
83
73
 
84
-
85
-
86
-
87
-
88
74
  ## [0.14.37](https://github.com/parca-dev/parca/compare/ui-v0.14.36...ui-v0.14.37) (2022-08-24)
89
75
 
90
76
  **Note:** Version bump only for package @parca/profile
91
77
 
92
-
93
-
94
-
95
-
96
78
  ## [0.14.36](https://github.com/parca-dev/parca/compare/ui-v0.14.35...ui-v0.14.36) (2022-08-24)
97
79
 
98
-
99
80
  ### Bug Fixes
100
81
 
101
- * **ui:** enforce @typescript-eslint/explicit-function-return-type ([22a18fd](https://github.com/parca-dev/parca/commit/22a18fd3f7befef5cc175131d8c997c3967a5713))
102
-
103
-
82
+ - **ui:** enforce @typescript-eslint/explicit-function-return-type ([22a18fd](https://github.com/parca-dev/parca/commit/22a18fd3f7befef5cc175131d8c997c3967a5713))
104
83
 
105
84
  ## 0.14.32 (2022-08-18)
106
85
 
107
-
108
-
109
-
110
-
111
86
  ## [0.14.31](https://github.com/parca-dev/parca/compare/ui-v0.14.30...ui-v0.14.31) (2022-08-18)
112
87
 
113
-
114
88
  ### Bug Fixes
115
89
 
116
- * **ui:** address all problems reported by ESLint ([7f9c921](https://github.com/parca-dev/parca/commit/7f9c9217af49f2661a4363b9b17a9a06f1c7539b))
117
-
118
-
119
-
120
-
90
+ - **ui:** address all problems reported by ESLint ([7f9c921](https://github.com/parca-dev/parca/commit/7f9c9217af49f2661a4363b9b17a9a06f1c7539b))
121
91
 
122
92
  ## [0.14.30](https://github.com/parca-dev/parca/compare/ui-v0.14.29...ui-v0.14.30) (2022-08-17)
123
93
 
124
-
125
94
  ### Bug Fixes
126
95
 
127
- * **ui:** run eslint --fix ([#1542](https://github.com/parca-dev/parca/issues/1542)) ([e522131](https://github.com/parca-dev/parca/commit/e5221318fc1140d661c45d2d04b096bfebba4af4))
128
-
129
-
130
-
131
-
96
+ - **ui:** run eslint --fix ([#1542](https://github.com/parca-dev/parca/issues/1542)) ([e522131](https://github.com/parca-dev/parca/commit/e5221318fc1140d661c45d2d04b096bfebba4af4))
132
97
 
133
98
  ## [0.14.29](https://github.com/parca-dev/parca/compare/ui-v0.14.28...ui-v0.14.29) (2022-08-15)
134
99
 
135
-
136
-
137
100
  ## 0.14.21 (2022-08-10)
138
101
 
139
102
  **Note:** Version bump only for package @parca/profile
140
103
 
141
-
142
-
143
-
144
-
145
104
  ## [0.14.16](https://github.com/parca-dev/parca/compare/ui-v0.14.15...ui-v0.14.16) (2022-08-03)
146
105
 
147
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.11",
3
+ "version": "0.15.17",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@iconify/react": "^3.2.2",
7
7
  "@parca/client": "^0.15.11",
8
- "@parca/dynamicsize": "^0.15.0",
9
- "@parca/functions": "^0.15.3",
10
- "@parca/parser": "^0.15.0",
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": "55046196d18ad7afc0e07e89a92fc12af3f221ca"
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}