Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆ Update dependency moment to v2.27.0 #1205

Merged
merged 2 commits into from
Jun 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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