Socket
Socket
Sign inDemoInstall

check-version-modules

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-version-modules

Check modules's version for the package.


Version published
Weekly downloads
9
decreased by-55%
Maintainers
1
Weekly downloads
 
Created
Source

check-version-modules

Check modules's version for the package.

Build Status Coverage Status Dependency Status Dev dependency Status

Installation

$ npm install check-version-modules

Features

  • Extract package's dependencies & dev dependencies
  • Extract there versions
  • Compare them to the latest package's version

Doc

  • (file: string) => Promise\<void\> extract & compare data

Examples

Command line

$ cd ./myProject/ && npx check-version-modules

Native

const checker = require("check-version-modules");

checker("./package.json").then((valid) => {
  console.log(valid ? "ok": "old versions detected");
}).catch((err) => {
  console.error(err);
});

Typescript

import checker = require("check-version-modules");

checker("./package.json").then((valid) => {
  console.log(valid ? "ok": "old versions detected");
}).catch((err) => {
  console.error(err);
});

Tests

$ npm run-script tests

License

ISC

Keywords

FAQs

Package last updated on 11 Jan 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc