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

Feature request: display release date #40

Closed
fisker opened this issue Jan 8, 2020 · 3 comments
Closed

Feature request: display release date #40

fisker opened this issue Jan 8, 2020 · 3 comments

Comments

@fisker
Copy link
Contributor

fisker commented Jan 8, 2020

Registry response json has this info in time field on root.

  1. for deps has updates, display the old/new version release date

This better be human friendly format.
Maybe additionally time diff of those two dates.

  1. for deps without updates, display old version release date

Maybe like this

NAME OLD NEW INFO
updates 1.0.0(29 days ago) 2.0.0(5 seconds ago) https://github.com/silverwind/updates
updates 1.0.0(29 days ago) 2.0.0(yesterday, 28 days since old version) https://github.com/silverwind/updates
updates 1.0.0(29 days ago) - https://github.com/silverwind/updates

Problem: maybe too much info to display


Reason behind this request

  • for new updates, I want see when it's released, maybe I'll skip the one too young.
  • for deps without updates, if it has been a really long time since last release, maybe I'll assume it's already dead.
@silverwind
Copy link
Owner

silverwind commented Mar 8, 2020

Good suggestion. Not sure yet how to implement to keep the output compact. I'm thinking of a new column with just the release age of the new version.

@silverwind
Copy link
Owner

To keep it concise, I've only the age of the new version. I don't think the old version age is really relevant.

$ updates
NAME      OLD    NEW     AGE       INFO
p-map     3.0.0  4.0.0   3 days    https://github.com/sindresorhus/p-map
rrdir     4.0.0  5.0.0   11 days   https://github.com/silverwind/rrdir
eslint    6.7.2  6.8.0   3 months  https://github.com/eslint/eslint
rimraf    3.0.0  3.0.2   28 days   https://github.com/isaacs/rimraf
versions  7.0.5  8.2.3   1 day     https://github.com/silverwind/versions
iltorb    2.4.4  2.4.5   1 month   https://github.com/nstepien/iltorb

silverwind added a commit that referenced this issue Mar 8, 2020
* update devDependencies (silverwind)
* readme tweaks (silverwind)
* remove travis badge (silverwind)
* update json example, add TODO (silverwind)
* readme tweak (silverwind)
* add release age, fixes #40 (silverwind)
* move jest to devDependencies (silverwind)
* remove find-up dependency (silverwind)
* tweaks (silverwind)
* add node 13 (silverwind)
* refactors (silverwind)
* move requires to top (silverwind)
* move test.json to file again (silverwind)
* increase jest testTimeout (silverwind)
* update dependencies (silverwind)
* inline package.json in tests (silverwind)
* update .gitignore (silverwind)
* remove yarn.lock (silverwind)
* remove travis (silverwind)
* try actions (silverwind)
* add yarn.lock to make travis install yarn (silverwind)
* check if travis windows does include 'make' (silverwind)
* use self to update (silverwind)
* require node 10, rewrite tests to jest (silverwind)
* Merge pull request #38 from fisker/fake-registry (silverwind)
* chore: pin dependencies (fisker)
* test: setup a fake registry (fisker)
* use semver.validRange (silverwind)
@fisker
Copy link
Contributor Author

fisker commented Mar 8, 2020

Great, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants