New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

semver-check

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

semver-check

Checks package.json dependencies and devDependencies stanzas for semantic version characters. If found, it logs each offending dependency to the console.

0.0.2
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

semver-check

Checks package.json dependencies and devDependencies stanzas for semantic version characters.

If found, it logs each offending dependency to the console.

Usage

# Install as dep
$ npm install semver-check --save-dev

# Add a dep to your package.json that has one of these chars: *=~<>^
$ npm install chalk --save

# Run as a cli program.
$ ./node_modules/.bin/semver-check package.json
// -> chalk not pinned to specific version

Note

The first() higher order function, and why I'm using it.

Keywords

semver

FAQs

Package last updated on 28 Jul 2014

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