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

husky

Package Overview
Dependencies
Maintainers
1
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

husky - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

6

bin/install.js

@@ -11,7 +11,7 @@ // Run when package is installed

if (fs.existsSync(dir)) {
husky.create(dir, 'pre-commit', 'npm run precommit')
husky.create(dir, 'pre-push', 'npm run prepush')
husky.create(dir, 'pre-commit', 'npm run precommit --silent')
husky.create(dir, 'pre-push', 'npm run prepush --silent')
console.log(' done\n')
} else {
console.log(' can\'t find .git/hooks/\n')
}
}
{
"name": "husky",
"version": "0.5.0",
"version": "0.5.1",
"description": "Prevents bad commit or push (git hooks, pre-commit, pre-push and all that stuff...)",

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

@@ -23,4 +23,3 @@ var fs = require('fs')

' echo',
' echo "husky"',
' echo " To bypass ' + name + ' hook add -n or --no-verify"',
' echo "husky - ' + name + ' hook failed (add -n to bypass)"',
' echo',

@@ -27,0 +26,0 @@ ' exit 1',

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