Skip to content

Commit

Permalink
Include date-fns dependency
Browse files Browse the repository at this point in the history
This dependency introduces multiple utility functions for manipulating
and presenting dates which will be helpful for presenting things such as
the time left before support ends for a dependency or the age of an
issue.

This is the most popular dependency for date utilities and has no
downstream dependencies, and given that code that manipulates dates
and/or time are notoriously prone to gotchas, it seems like a good
candidate for inclusion despite our preference to minimise dependencies
for this project in general.
  • Loading branch information
danlivings-dxw committed Sep 17, 2024
1 parent 86da319 commit b974107
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"license": "MIT",
"dependencies": {
"@octokit/app": "^15.1.0",
"date-fns": "^4.1.0",
"nunjucks": "^3.2.4",
"undici": "^6.19.8"
},
Expand Down

0 comments on commit b974107

Please sign in to comment.