Socket
Socket
Sign inDemoInstall

husky

Package Overview
Dependencies
Maintainers
1
Versions
214
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 1.1.1 to 1.1.2

4

CHANGELOG.md
# CHANGELOG
## 1.1.2
* Add debug message
## 1.1.1

@@ -4,0 +8,0 @@

4

lib/installer/bin.js

@@ -7,4 +7,4 @@ "use strict";

// Just for testing
if (process.env.HUSKY_DEBUG) {
console.log(process.env.INIT_CWD);
if (process.env.HUSKY_DEBUG === 'true') {
console.log(`husky:debug INIT_CWD=${process.env.INIT_CWD}`);
}

@@ -11,0 +11,0 @@ // Action can be "install" or "uninstall"

@@ -17,2 +17,6 @@ "use strict";

gitParams="$*"
if [ "$\{HUSKY_DEBUG\}" = "true" ]; then
echo "husky:debug $hookName hook started..."
fi
${platform !== 'win32'

@@ -19,0 +23,0 @@ ? `

{
"name": "husky",
"version": "1.1.1",
"version": "1.1.2",
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",

@@ -5,0 +5,0 @@ "bin": {

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