Skip to content

Commit

Permalink
chore(deps-dev): bump typescript from 4.9.4 to 5.7.2 in /web (#5068)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump typescript from 4.9.4 to 5.7.2 in /web

Bumps [typescript](https://github.com/microsoft/TypeScript) from 4.9.4 to 5.7.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v4.9.4...v5.7.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix type of default value in comparison

* Not using the length attr on a map datatype

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Lavery <[email protected]>
Co-authored-by: Johannes Tuchscherer <[email protected]>
  • Loading branch information
3 people authored Jan 2, 2025
1 parent a09ea3d commit 867c71c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"terser-webpack-plugin": "^5.3.11",
"ts-loader": "^9.5.1",
"tty-browserify": "^0.0.1",
"typescript": "4.9.4",
"typescript": "5.7.2",
"url-loader": "4.1.1",
"util": "^0.12.5",
"webpack": "^5.97.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ export default class DashboardGraphsCard extends Component<Props, State> {
console.error("Failed to compile legend template", err);
}
}
return metrics.length > 0 ? metrics[Object.keys(metrics)[0]] : "";
return Object.keys(metrics).length > 0
? metrics[Object.keys(metrics)[0]]
: "";
});
};

Expand Down
8 changes: 4 additions & 4 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17820,10 +17820,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==

typescript@4.9.4:
version "4.9.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78"
integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==
typescript@5.7.2:
version "5.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6"
integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==

uc.micro@^2.0.0, uc.micro@^2.1.0:
version "2.1.0"
Expand Down

0 comments on commit 867c71c

Please sign in to comment.