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 0.13.0-0 to 0.13.0-1

6

CHANGELOG.md
# CHANGELOG
## Unreleased
## 0.13.0 (beta)
To install it, use `npm install husky@beta --save-dev`
* Make `husky` a little less verbose
* Fix issue with `OS X + brew` where `nvm` was loaded even when `npm` was already present
## 0.12.0
## 0.12.0 (stable)

@@ -10,0 +12,0 @@ * Adds Git submodule support

{
"name": "husky",
"version": "0.13.0-0",
"version": "0.13.0-1",
"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 @@ "main": "index.js",

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

'has_hook_script () {',
' [ -f package.json ] && cat package.json | grep -q \'"$1"\\s*:\'',
' [ -f package.json ] && cat package.json | grep -q "\\"$1\\"\\s*:"',
'}',

@@ -95,3 +95,3 @@ ''

arr = arr.concat([
'exists npm || load_nvm BREW_NVM_DIR /usr/local/opt/nvm',
'command_exists npm || load_nvm BREW_NVM_DIR /usr/local/opt/nvm',
''

@@ -102,3 +102,3 @@ ])

arr = arr.concat([
'exists npm || load_nvm NVM_DIR ' + home + '/.nvm',
'command_exists npm || load_nvm NVM_DIR ' + home + '/.nvm',
''

@@ -121,3 +121,3 @@ ])

// Test if npm is in PATH
'exists npm || {',
'command_exists npm || {',
' echo >&2 "' + npmNotFound + '"',

@@ -130,3 +130,3 @@ ' exit 0',

'echo',
'echo "husky > npm run -s ' + cmd,
'echo "husky > npm run -s ' + cmd + '"',
'echo',

@@ -139,3 +139,3 @@ '',

' echo "> husky - ' + hookName + ' hook failed (add --no-verify to bypass)"',
' echo "> husky - To debug, use \'npm run precommit\'',
' echo "> husky - To debug, use \'npm run precommit\'"',
' exit 1',

@@ -142,0 +142,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