Skip to content

Commit

Permalink
Bump @types/lodash from 4.17.5 to 4.17.7 (#6001)
Browse files Browse the repository at this point in the history
* Bump @types/lodash from 4.17.5 to 4.17.7

Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.5 to 4.17.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* lodash returns better types, so fixed a type problem that was discovered

Signed-off-by: Amndeep Singh Mann <[email protected]>

* linter

Signed-off-by: Amndeep Singh Mann <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Amndeep Singh Mann <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amndeep Singh Mann <[email protected]>
  • Loading branch information
2 people authored and aaronlippold committed Nov 20, 2024
1 parent 7f08077 commit 2a1088d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion apps/frontend/src/components/cards/EvaluationInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ export default class EvaluationInfo extends Vue {
}
get duration(): string | undefined {
return _.get(this.file_object, 'evaluation.data.statistics.duration');
const duration = _.get(
this.file_object,
'evaluation.data.statistics.duration'
);
return duration === null || duration === undefined
? undefined
: duration.toString();
}
get evaluation(): IEvaluation | undefined {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4827,9 +4827,9 @@
"@types/node" "*"

"@types/lodash@*", "@types/lodash@^4.14.161":
version "4.17.5"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.5.tgz#e6c29b58e66995d57cd170ce3e2a61926d55ee04"
integrity sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==
version "4.17.7"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.7.tgz#2f776bcb53adc9e13b2c0dfd493dfcbd7de43612"
integrity sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==

"@types/long@^4.0.0":
version "4.0.2"
Expand Down

0 comments on commit 2a1088d

Please sign in to comment.