Skip to content

Commit

Permalink
⬆ Update dependency moment to v2.27.0 (#1205)
Browse files Browse the repository at this point in the history
* ⬆ Update dependency moment to v2.27.0

* Fix type
  • Loading branch information
timmo001 authored Jun 21, 2020
1 parent 33dae02 commit 3f2b6d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"markdown-it": "11.0.0",
"markdown-it-emoji": "1.4.0",
"markdown-it-external-links": "0.0.6",
"moment": "2.24.0",
"moment": "2.27.0",
"query-string": "6.13.1",
"react": "16.13.1",
"react-color": "2.18.1",
Expand Down
10 changes: 1 addition & 9 deletions frontend/src/Components/HomeAssistant/Cards/Weather.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,7 @@ function Weather(props: EntityProps): ReactElement {
{props.entity.attributes.forecast.map(
(
w: {
datetime:
| string
| number
| void
| moment.Moment
| Date
| (string | number)[]
| moment.MomentInputObject
| undefined;
datetime: string | Date;
condition: string;
temperature: React.ReactNode;
precipitation: React.ReactNode;
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8581,7 +8581,7 @@ __metadata:
markdown-it: 11.0.0
markdown-it-emoji: 1.4.0
markdown-it-external-links: 0.0.6
moment: 2.24.0
moment: 2.27.0
prettier: 2.0.5
query-string: 6.13.1
react: 16.13.1
Expand Down Expand Up @@ -12880,10 +12880,10 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"moment@npm:2.24.0":
version: 2.24.0
resolution: "moment@npm:2.24.0"
checksum: 983617bc51c8121a88d9530671fb9e5dc2c71d67ba5bf1b16ebef25b51bd3d1291f17735ac33e8604f4984a275561dfe0fb883664eceacf8f67291ffd26acee9
"moment@npm:2.27.0":
version: 2.27.0
resolution: "moment@npm:2.27.0"
checksum: 72d9a7d8dba59e3d538440cdc0b59fa895b123361e370be231896478aaf157a484355ce32bd8daf6f731d6d1636d3a67ecb67531e536e093ca18b43e0cbae194
languageName: node
linkType: hard

Expand Down

0 comments on commit 3f2b6d8

Please sign in to comment.