@parca/profile 0.16.181 → 0.16.182
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,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.16.182](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.181...@parca/profile@0.16.182) (2023-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## [0.16.181](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.180...@parca/profile@0.16.181) (2023-06-12)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -46,7 +46,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
46
46
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
import { useQuery } from 'react-query';
|
|
49
|
+
import { useQuery } from '@tanstack/react-query';
|
|
50
50
|
var useGrpcQuery = function (_a) {
|
|
51
51
|
var key = _a.key, queryFn = _a.queryFn, _b = _a.options, _c = _b === void 0 ? {} : _b, _d = _c.enabled, enabled = _d === void 0 ? true : _d, staleTime = _c.staleTime;
|
|
52
52
|
return useQuery(key, function () { return __awaiter(void 0, void 0, void 0, function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.182",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@parca/client": "^0.16.73",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"@parca/parser": "^0.16.55",
|
|
11
11
|
"@parca/store": "^0.16.76",
|
|
12
12
|
"@parca/utilities": "^0.0.7",
|
|
13
|
+
"@tanstack/react-query": "^4.0.5",
|
|
13
14
|
"@types/react-beautiful-dnd": "^13.1.3",
|
|
14
15
|
"d3": "7.8.5",
|
|
15
16
|
"d3-scale": "^4.0.2",
|
|
@@ -20,7 +21,6 @@
|
|
|
20
21
|
"react-flame-graph": "^1.4.0",
|
|
21
22
|
"react-inlinesvg": "^3.0.2",
|
|
22
23
|
"react-map-interaction": "^2.1.0",
|
|
23
|
-
"react-query": "^3.39.2",
|
|
24
24
|
"react-textarea-autosize": "^8.4.0",
|
|
25
25
|
"with-alpha-hex": "^1.0.6"
|
|
26
26
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "7290cf8f40f47356cebdf72ce1003b5a54e8b29d"
|
|
50
50
|
}
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
13
|
|
|
14
|
-
import {
|
|
14
|
+
import {useQuery, type UseQueryResult} from '@tanstack/react-query';
|
|
15
15
|
|
|
16
16
|
interface Props<IRes> {
|
|
17
|
-
key:
|
|
17
|
+
key: unknown[];
|
|
18
18
|
queryFn: () => Promise<IRes>;
|
|
19
19
|
options?: {
|
|
20
20
|
enabled?: boolean | undefined;
|