Socket
Socket
Sign inDemoInstall

husky

Package Overview
Dependencies
3
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.14.0-0 to 0.14.0-1

0

__tests__/index.js

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ # CHANGELOG

@@ -0,0 +0,0 @@ # Hooks

2

package.json
{
"name": "husky",
"version": "0.14.0-0",
"version": "0.14.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 @@ "engines": {

@@ -0,0 +0,0 @@ # husky [![](http://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![npm version](https://badge.fury.io/js/husky.svg)](https://www.npmjs.com/package/husky) [![Build Status](https://travis-ci.org/typicode/husky.svg?branch=master)](https://travis-ci.org/typicode/husky)

@@ -0,0 +0,0 @@ [

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -0,0 +0,0 @@ 'use strict'

@@ -49,3 +49,3 @@ 'use strict'

return hookName === 'prepare-commit-msg'
? `(cannot be bypassed with --no-verify due to Git specs)`
? '(cannot be bypassed with --no-verify due to Git specs)'
: '(add --no-verify to bypass)'

@@ -71,3 +71,3 @@ }

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

@@ -85,4 +85,4 @@

# Test if npm is in PATH
command_exists npm || {,
echo >&2 "> husky - Can't find npm in PATH. Skipping ${npmScriptName} script in package.json",
command_exists npm || {
echo >&2 "> husky - Can't find npm in PATH. Skipping ${npmScriptName} script in package.json"
exit 0

@@ -97,3 +97,3 @@ }

echo "> husky - npm run -s ${npmScriptName}"
echo "> husky - node \`node -v\`"'
echo "> husky - node \`node -v\`"
echo

@@ -100,0 +100,0 @@ npm run -s ${npmScriptName} || {

@@ -0,0 +0,0 @@ 'use strict'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc