We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f74823 commit 414c357Copy full SHA for 414c357
1 file changed
lib/view.js
@@ -243,7 +243,7 @@ function prettyView (packument, manifest, opts) {
243
name: color.yellow(manifest._npmUser.name),
244
email: color.cyan(manifest._npmUser.email)
245
}),
246
- modified: color.yellow(relativeDate(packument.time[packument.version])),
+ modified: packument.time ? color.yellow(relativeDate(packument.time[packument.version])) : undefined,
247
maintainers: (packument.maintainers || []).map((u) => unparsePerson({
248
name: color.yellow(u.name),
249
email: color.cyan(u.email)
0 commit comments