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: Add publish date filter #1098

Closed
3 tasks done
mikicho opened this issue Apr 12, 2022 · 1 comment
Closed
3 tasks done

Feature Request: Add publish date filter #1098

mikicho opened this issue Apr 12, 2022 · 1 comment

Comments

@mikicho
Copy link

mikicho commented Apr 12, 2022

  • I have searched for similar issues
  • I am using the latest version of npm-check-updates
  • I am using node >= 12

Recently, We're seeing more and more sabotaged packages. As someone who uses ncu to regularly update all my deps to the latest, I'm afraid of such sabotage.
Therefore, I want to update all packages that, for example, their publish date is more than 2 weeks ago to the latest.

From what I understand, this is pretty simple to accomplish by adding such constrain to isUpgradeable function and expose an appropriate flag.

@raineorshine
Copy link
Owner

Thanks for the suggestion! I think this is a great idea. We currently have an issue open for this here: #833

I will close this issue but feel free to continue the discussion there or submit a PR.

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