Socket
Book a DemoInstallSign in
Socket

check-if-outdated

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-if-outdated

Check if module dependencies are outdated

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

check-if-outdated

Check if module dependencies are outdated

Package version Downloads Standard Travis Build Standard Readme GitHub version Dependency CI License PRs Donate


Built with ❤︎ by Tiaan and contributors

Table of Contents

Table of Contents
  • Install
  • Usage
  • CLI
  • Contribute
  • License
  • Install

    $ npm install --save check-if-outdated
    # OR
    $ yarn add check-if-outdated
    

    Usage

    const checkIfOutdated = require('check-if-outdated')
    
    checkIfOutdated('jest', 'husky').then(console.log)
    //[ { currentVersion: '^18.0.2',
    //    newVersion: '19.0.2',
    //    name: 'jest',
    //    dependencies: { 'jest-cli': '^19.0.2' },
    //    bin: { jest: './bin/jest.js' },
    //    directories: {},
    //    dist:
    //     { shasum: 'b794faaf8ff461e7388f28beef559a54f20b2c10',
    //       tarball: 'https://registry.npmjs.org/jest/-/jest-19.0.2.tgz' },
    //    engines: { node: '>= 4' },
    //    _hasShrinkwrap: false }, ... ]
    

    CLI

    $ npm install --global check-if-outdated
    # OR
    $ yarn global add check-if-outdated
    

    Then:

    $ check-if-outdated jest
    #[ { currentVersion: '^18.0.2',
    #    newVersion: '19.0.2',
    #    name: 'jest',
    #    dependencies: { 'jest-cli': '^19.0.2' },
    #    bin: { jest: './bin/jest.js' },
    #    directories: {},
    #    dist:
    #     { shasum: 'b794faaf8ff461e7388f28beef559a54f20b2c10',
    #       tarball: 'https://registry.npmjs.org/jest/-/jest-19.0.2.tgz' },
    #    engines: { node: '>= 4' },
    #    _hasShrinkwrap: false } ]
    

    Contribute

    Contributions are welcome. Please open up an issue or create PR if you would like to help out.

    Note: If editing the README, please conform to the standard-readme specification.

    License

    Licensed under the MIT License.

    Keywords

    version

    FAQs

    Package last updated on 23 Apr 2017

    Did you know?

    Socket

    Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

    Install

    Related posts