Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

commitplease

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commitplease - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

2

package.json
{
"name": "commitplease",
"version": "1.5.0",
"version": "1.5.1",
"description": "Validates strings as commit messages",

@@ -5,0 +5,0 @@ "main": "index.js",

(function avoidSelfInstall() {
var pkg = require('./package'),
nameRegex = new RegExp('node_modules/' + pkg.name + '$');
if (!nameRegex.test(process.cwd())) {
if (!nameRegex.test(process.cwd().replace(/\\/g, '/'))) {
console.log('running install inside self, no need');

@@ -6,0 +6,0 @@ process.exit(0);

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