Giter Club home page Giter Club logo

recently-updated's Introduction

recently-updated

npm version

See which packages you depend on were recently updated


This cli tool shows you if packages you depend on had new versions published within the last 24 hours. If your CI builds start failing all of a sudden, or builds/tests are broken locally after a fresh npm install, seeing this list of packages and their latest publish times/versions might help you track the problem down quicker.

Installation

With npm, do:

npm install -g recently-updated

Usage

In a project directory with a ./node_modules, do:

recently-updated

Options

Specify a cutoff by passing in --hours, --days, or --weeks (defaults to 24 hours):

recently-updated --days 3

recently-updated's People

Contributors

bmathews avatar vidartf avatar

Stargazers

xianxin_ avatar zeromike avatar Manish Kumar avatar Zhazha_JiaYiZhen avatar afc163 avatar Óscar Garcia avatar Albert XU avatar Michael Oddis avatar  avatar Piotr avatar Brett Jankord avatar Andrei Starcow avatar Harsha Attray avatar Paul Young avatar Siddharth Kshetrapal avatar Ivan Babak avatar Shawn Zeller avatar Bjørge Næss avatar Joe Feinour avatar Prasanth Vaaheeswaran avatar sviatoslav-lebediev avatar Kevin Old avatar Peter Krieg avatar Sebestyen Csorba avatar Gokmen Goksel avatar Mathieu M-Gosselin avatar Cedric TESNIERE avatar Davide Berdin avatar Dominik Wilkowski avatar Luca avatar Ken Wheeler avatar Conor Hastings avatar David Tittsworth avatar

recently-updated's Issues

Fails parsing some dependencies

Version 1.0.3

When running recently-updated on my project I got an exception while processing versions. It seems some packages have a modified field in the times member. The exception occurs on line 60 of index.js.

The following is the dump of dep for a failing case:

{ name: '@babel/parser',
  semvers: [ '^7.3.4' ],
  versions: { '7.3.4': { version: '7.3.4', parent: undefined } },
  times:
   { modified: 2019-02-25T18:35:20.974Z,
     '7.0.0-beta.49': 2018-05-25T16:00:12.380Z,
     '7.0.0-beta.50': 2018-06-12T19:46:42.798Z,
     '7.0.0-beta.51': 2018-06-12T21:19:10.384Z,
     '7.0.0-beta.52': 2018-07-06T00:59:07.656Z,
     '7.0.0-beta.53': 2018-07-11T13:39:56.614Z,
     '7.0.0-beta.54': 2018-07-16T17:59:47.524Z,
     '7.0.0-beta.55': 2018-07-28T22:06:45.798Z,
     '7.0.0-beta.56': 2018-08-04T01:02:55.925Z,
     '7.0.0-rc.0': 2018-08-09T15:56:12.788Z,
     '7.0.0-rc.1': 2018-08-09T20:06:16.091Z,
     '7.0.0-rc.2': 2018-08-21T19:22:16.552Z,
     '7.0.0-rc.3': 2018-08-24T18:06:11.894Z,
     '7.0.0-rc.4': 2018-08-27T16:42:20.123Z,
     '7.0.0': 2018-08-27T21:41:34.522Z,
     '7.1.0': 2018-09-17T19:30:13.445Z,
     '7.1.1': 2018-09-28T20:02:46.201Z,
     '7.1.2': 2018-09-28T22:19:41.296Z,
     '7.1.3': 2018-10-11T15:52:26.875Z,
     '7.1.5': 2018-11-06T22:21:25.453Z,
     '7.1.6': 2018-11-13T21:10:28.790Z,
     '7.2.0': 2018-12-03T18:57:21.475Z,
     '7.2.2': 2018-12-15T10:05:16.592Z,
     '7.2.3': 2018-12-20T11:12:51.059Z,
     '7.3.0': 2019-01-21T21:30:31.484Z,
     '7.3.1': 2019-01-22T07:13:45.925Z,
     '7.3.2': 2019-02-04T22:22:58.130Z,
     '7.3.3': 2019-02-15T21:14:27.506Z, 
     '7.3.4': 2019-02-25T18:35:17.638Z } }

Perhaps a simple fix would be to compare version to modified at line 57 and continue if so? I'm not familiar enough with the format of this to know if the package is at error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.