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

fix(deps): update dependency moment to v2.30.1 #2477

Merged
merged 6 commits into from
Jan 27, 2025
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
16 changes: 8 additions & 8 deletions .yarn/releases/yarn-3.8.7.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"lodash": "4.17.21",
"mini-css-extract-plugin": "2.9.2",
"mocha": "9.2.2",
"moment": "2.29.4",
"moment": "2.30.1",
"moment-locales-webpack-plugin": "^1.2.0",
"moment-timezone": "^0.5.43",
"named-urls": "1.4.0",
Expand Down
3 changes: 2 additions & 1 deletion frontend/public/src/lib/util_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ describe("utility functions", () => {
})

it("formatPrettyDate should return a formatted moment date", () => {
const momentDate = moment("2019-01-01T00:00:00.000000Z")
moment.locale("en")
const momentDate = moment("2019-01-01T00:00:00.000000")
assert.equal(formatPrettyDate(momentDate), "January 1, 2019")
})

Expand Down
11 changes: 2 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16138,7 +16138,7 @@ __metadata:
lodash: 4.17.21
mini-css-extract-plugin: 2.9.2
mocha: 9.2.2
moment: 2.29.4
moment: 2.30.1
moment-locales-webpack-plugin: ^1.2.0
moment-timezone: ^0.5.43
named-urls: 1.4.0
Expand Down Expand Up @@ -16332,14 +16332,7 @@ __metadata:
languageName: node
linkType: hard

"moment@npm:2.29.4":
version: 2.29.4
resolution: "moment@npm:2.29.4"
checksum: 0ec3f9c2bcba38dc2451b1daed5daded747f17610b92427bebe1d08d48d8b7bdd8d9197500b072d14e326dd0ccf3e326b9e3d07c5895d3d49e39b6803b76e80e
languageName: node
linkType: hard

"moment@npm:^2.15.2, moment@npm:^2.29.4":
"moment@npm:2.30.1, moment@npm:^2.15.2, moment@npm:^2.29.4":
version: 2.30.1
resolution: "moment@npm:2.30.1"
checksum: 859236bab1e88c3e5802afcf797fc801acdbd0ee509d34ea3df6eea21eb6bcc2abd4ae4e4e64aa7c986aa6cba563c6e62806218e6412a765010712e5fa121ba6
Expand Down