Socket
Socket
Sign inDemoInstall

grunt-version-check

Package Overview
Dependencies
565
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    grunt-version-check

Checks if your NPM or Bower dependencies are out of date.


Version published
Weekly downloads
209
decreased by-19.31%
Maintainers
1
Install size
41.9 MB
Created
Weekly downloads
 

Readme

Source

grunt-version-check

Checks if your Bower or NPM dependencies are out of date.

Getting Started

This plugin requires Grunt >=0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-version-check --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-version-check');

The "versioncheck" task

Overview

In your project's Gruntfile, add a section named versioncheck to the data object passed into grunt.initConfig().

grunt.initConfig({
  versioncheck: {
    target: {
      options: {
        skip : ["semver", "npm", "lodash"],
        hideUpToDate : false
      }
    }
  },
});

Options

options.skip

Type: Array Default value: []

A list of dependencies to skip.

options.hideUpToDate

Type: Boolean Default value: false

If true, only dependencies that are out of date will be listed.

options.bowerLocation

Type: String Default value: bower.json

Specify a relative path to a bower.json file.

options.packageLocation

Type: String Default value: package.json

Specify a relative path to a package.json file.

options.showPrerelease

Type: Boolean Default value: false

If true, versions of bower dependencies are compared to prereleased versions and not the last stable version.

Example output

Running "versioncheck" task
>> async (bower) is up to date.
>> backbone (bower) is up to date.
>> backbone-pageable (bower) is up to date.
>> backbone-relational (bower) is out of date. Your version: 0.8.7 latest: 0.8.8
>> backgrid (bower) is up to date.
>> backgrid-moment-cell (bower) is up to date.
>> bootstrap (bower) is up to date.
>> bootstrap-paginator (bower) is up to date.
>> d3 (bower) is up to date.
>> font-awesome (bower) is out of date. Your version: 4.1.0 latest: 4.2.0
>> highstock-release (bower) is up to date.
>> i18next (bower) is out of date. Your version: 1.7.3 latest: 1.7.4
>> jquery (bower) is up to date.
>> jquery-cookie (bower) is up to date.
>> jquery.tablesorter (bower) is up to date.
>> leaflet (bower) is up to date.
>> leaflet.markercluster (bower) is up to date.
>> lodash (bower) is up to date.
>> marionette (bower) is out of date. Your version: 2.0.3 latest: 2.1.0
>> Marionette.SubRouter (bower) is up to date.
>> moment (bower) is out of date. Your version: 2.7.0 latest: 2.8.2
>> require-handlebars-plugin (bower) is up to date.
>> stringjs (bower) is out of date. Your version: 1.8.1 latest: 1.9.1
>> typeahead.js (bower) is out of date. Your version: 0.10.2 latest: 0.10.5
>> colors (npm) is up to date.
>> bower (npm) is up to date.
>> npm (npm) is up to date.
>> async (npm) is up to date.
>> lodash (npm) is up to date.
>> grunt-contrib-jshint (npm) is out of date. Your version: ^0.9.2 latest: 0.10.0
>> grunt (npm) is up to date.

Keywords

FAQs

Last updated on 12 Jun 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc