mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update dependency typescript to v5.4.3 (#84470)
* Update dependency typescript to v5.4.3 * refactor: solve TS errors * refactor: update yarn.lock * refactor: return type --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Laura Benz <laura.benz@grafana.com>
This commit is contained in:
parent
3b4983695e
commit
a5cd88c67e
@ -222,7 +222,7 @@
|
||||
"tracelib": "1.0.1",
|
||||
"ts-jest": "29.1.2",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0",
|
||||
"webpack-assets-manifest": "^5.1.0",
|
||||
"webpack-bundle-analyzer": "4.10.2",
|
||||
|
@ -80,7 +80,7 @@
|
||||
"rollup-plugin-dts": "^5.0.0",
|
||||
"rollup-plugin-esbuild": "5.0.0",
|
||||
"rollup-plugin-node-externals": "^5.0.0",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
|
@ -51,6 +51,6 @@
|
||||
"dependencies": {
|
||||
"@grafana/tsconfig": "^1.3.0-rc1",
|
||||
"tslib": "2.6.2",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,7 @@
|
||||
"rollup-plugin-node-externals": "^5.0.0",
|
||||
"ts-jest": "29.1.2",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
|
@ -55,7 +55,7 @@
|
||||
"rollup-plugin-esbuild": "5.0.0",
|
||||
"rollup-plugin-node-externals": "5.0.0",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^17.0.0 || ^18.0.0",
|
||||
|
@ -41,7 +41,7 @@
|
||||
"react": "18.2.0",
|
||||
"ts-jest": "29.1.2",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
|
@ -138,7 +138,7 @@
|
||||
"style-loader": "3.3.4",
|
||||
"testing-library-selector": "0.3.1",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0",
|
||||
"webpack-cli": "5.1.4"
|
||||
},
|
||||
|
@ -71,7 +71,7 @@
|
||||
"rollup-plugin-esbuild": "5.0.0",
|
||||
"rollup-plugin-node-externals": "^5.0.0",
|
||||
"rollup-plugin-sourcemaps": "0.6.3",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0",
|
||||
|
@ -45,7 +45,7 @@
|
||||
"rollup-plugin-dts": "^5.0.0",
|
||||
"rollup-plugin-esbuild": "5.0.0",
|
||||
"rollup-plugin-node-externals": "^5.0.0",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "2.6.2"
|
||||
|
@ -46,7 +46,7 @@
|
||||
"react": "18.2.0",
|
||||
"ts-jest": "29.1.2",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3"
|
||||
"typescript": "5.4.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@grafana/runtime": "10.4.0-pre"
|
||||
|
@ -182,7 +182,7 @@
|
||||
"storybook-addon-turbo-build": "2.0.1",
|
||||
"storybook-dark-mode": "3.0.1",
|
||||
"style-loader": "3.3.4",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -147,8 +147,8 @@ export function preparePlotData2(
|
||||
frame: DataFrame,
|
||||
stackingGroups: StackingGroup[],
|
||||
onStackMeta?: (meta: StackMeta) => void
|
||||
) {
|
||||
let data: AlignedData = Array(frame.fields.length);
|
||||
): AlignedData {
|
||||
let data = Array(frame.fields.length);
|
||||
|
||||
let stacksQty = stackingGroups.length;
|
||||
|
||||
@ -186,9 +186,9 @@ export function preparePlotData2(
|
||||
|
||||
if (i === 0) {
|
||||
if (field.type === FieldType.time) {
|
||||
data[i] = ensureTimeField(field).values;
|
||||
data[0] = ensureTimeField(field).values;
|
||||
} else {
|
||||
data[i] = vals;
|
||||
data[0] = vals;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
"@types/testing-library__jest-dom": "5.14.9",
|
||||
"react-select-event": "5.5.1",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -39,7 +39,7 @@
|
||||
"react-select-event": "5.5.1",
|
||||
"react-test-renderer": "18.2.0",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -34,7 +34,7 @@
|
||||
"jest": "29.7.0",
|
||||
"style-loader": "3.3.4",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -53,7 +53,7 @@
|
||||
"glob": "10.3.12",
|
||||
"react-select-event": "5.5.1",
|
||||
"ts-node": "10.9.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.4.3",
|
||||
"webpack": "5.91.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
54
yarn.lock
54
yarn.lock
@ -3331,7 +3331,7 @@ __metadata:
|
||||
rxjs: "npm:7.8.1"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
webpack: "npm:5.91.0"
|
||||
peerDependencies:
|
||||
"@grafana/runtime": "*"
|
||||
@ -3370,7 +3370,7 @@ __metadata:
|
||||
style-loader: "npm:3.3.4"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
webpack: "npm:5.91.0"
|
||||
peerDependencies:
|
||||
"@grafana/runtime": "*"
|
||||
@ -3510,7 +3510,7 @@ __metadata:
|
||||
rxjs: "npm:7.8.1"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
webpack: "npm:5.91.0"
|
||||
peerDependencies:
|
||||
"@grafana/runtime": "*"
|
||||
@ -3567,7 +3567,7 @@ __metadata:
|
||||
string_decoder: "npm:1.3.0"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
uuid: "npm:9.0.1"
|
||||
webpack: "npm:5.91.0"
|
||||
peerDependencies:
|
||||
@ -3667,7 +3667,7 @@ __metadata:
|
||||
string-hash: "npm:^1.1.3"
|
||||
tinycolor2: "npm:1.6.0"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
uplot: "npm:1.6.30"
|
||||
xss: "npm:^1.0.14"
|
||||
peerDependencies:
|
||||
@ -3701,7 +3701,7 @@ __metadata:
|
||||
rollup-plugin-esbuild: "npm:5.0.0"
|
||||
rollup-plugin-node-externals: "npm:^5.0.0"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -3887,7 +3887,7 @@ __metadata:
|
||||
ts-jest: "npm:29.1.2"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
peerDependencies:
|
||||
react: ^18.0.0
|
||||
react-dom: ^18.0.0
|
||||
@ -3959,7 +3959,7 @@ __metadata:
|
||||
ts-jest: "npm:29.1.2"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
peerDependencies:
|
||||
react: ^18.0.0
|
||||
react-dom: ^18.0.0
|
||||
@ -4097,7 +4097,7 @@ __metadata:
|
||||
testing-library-selector: "npm:0.3.1"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
uuid: "npm:9.0.1"
|
||||
webpack: "npm:5.91.0"
|
||||
webpack-cli: "npm:5.1.4"
|
||||
@ -4143,7 +4143,7 @@ __metadata:
|
||||
rollup-plugin-sourcemaps: "npm:0.6.3"
|
||||
rxjs: "npm:7.8.1"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
peerDependencies:
|
||||
react: ^18.0.0
|
||||
react-dom: ^18.0.0
|
||||
@ -4175,7 +4175,7 @@ __metadata:
|
||||
rollup-plugin-esbuild: "npm:5.0.0"
|
||||
rollup-plugin-node-externals: "npm:5.0.0"
|
||||
ts-node: "npm:10.9.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
peerDependencies:
|
||||
react: ^17.0.0 || ^18.0.0
|
||||
react-dom: ^17.0.0 || ^18.0.0
|
||||
@ -4216,7 +4216,7 @@ __metadata:
|
||||
rollup-plugin-esbuild: "npm:5.0.0"
|
||||
rollup-plugin-node-externals: "npm:^5.0.0"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -4253,7 +4253,7 @@ __metadata:
|
||||
ts-jest: "npm:29.1.2"
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
uuid: "npm:9.0.1"
|
||||
peerDependencies:
|
||||
"@grafana/runtime": 10.4.0-pre
|
||||
@ -4409,7 +4409,7 @@ __metadata:
|
||||
style-loader: "npm:3.3.4"
|
||||
tinycolor2: "npm:1.6.0"
|
||||
tslib: "npm:2.6.2"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
uplot: "npm:1.6.30"
|
||||
uuid: "npm:9.0.1"
|
||||
webpack: "npm:5.91.0"
|
||||
@ -18918,7 +18918,7 @@ __metadata:
|
||||
ts-node: "npm:10.9.2"
|
||||
tslib: "npm:2.6.2"
|
||||
tween-functions: "npm:^1.2.0"
|
||||
typescript: "npm:5.3.3"
|
||||
typescript: "npm:5.4.3"
|
||||
uplot: "npm:1.6.30"
|
||||
uuid: "npm:9.0.1"
|
||||
visjs-network: "npm:4.25.0"
|
||||
@ -30788,17 +30788,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:5.3.3":
|
||||
version: 5.3.3
|
||||
resolution: "typescript@npm:5.3.3"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/6e4e6a14a50c222b3d14d4ea2f729e79f972fa536ac1522b91202a9a65af3605c2928c4a790a4a50aa13694d461c479ba92cedaeb1e7b190aadaa4e4b96b8e18
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:>=2.7, typescript@npm:>=3 < 6, typescript@npm:^5.0.0, typescript@npm:^5.0.4, typescript@npm:^5.2.2":
|
||||
"typescript@npm:5.4.3, typescript@npm:>=2.7, typescript@npm:>=3 < 6, typescript@npm:^5.0.0, typescript@npm:^5.0.4, typescript@npm:^5.2.2":
|
||||
version: 5.4.3
|
||||
resolution: "typescript@npm:5.4.3"
|
||||
bin:
|
||||
@ -30818,17 +30808,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>":
|
||||
version: 5.3.3
|
||||
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10/c93786fcc9a70718ba1e3819bab56064ead5817004d1b8186f8ca66165f3a2d0100fee91fa64c840dcd45f994ca5d615d8e1f566d39a7470fc1e014dbb4cf15d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A>=2.7#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.0#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.2.2#optional!builtin<compat/typescript>":
|
||||
"typescript@patch:typescript@npm%3A5.4.3#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A>=2.7#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.0#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.0.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.2.2#optional!builtin<compat/typescript>":
|
||||
version: 5.4.3
|
||||
resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin<compat/typescript>::version=5.4.3&hash=5adc0c"
|
||||
bin:
|
||||
|
Loading…
Reference in New Issue
Block a user