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.14.1 to 0.14.2

10

__tests__/index.js

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

expect(hook).toMatch('#husky')
expect(hook).toMatch('cd .')
expect(hook).toMatch('cd "."')
expect(hook).toMatch('npm run -s precommit')

@@ -67,3 +67,3 @@ expect(hook).toMatch('--no-verify')

expect(hook).toMatch('cd A/B')
expect(hook).toMatch('cd "A/B"')

@@ -82,3 +82,3 @@ uninstall(dir, 'A/B/node_modules/husky')

expect(hook).toMatch('cd .')
expect(hook).toMatch('cd "."')

@@ -97,3 +97,3 @@ uninstall(dir, 'A/B/node_modules/husky')

expect(hook).toMatch('cd C')
expect(hook).toMatch('cd "C"')

@@ -115,3 +115,3 @@ uninstall(dir, 'A/B/app/node_modules/husky')

expect(hook).toMatch('cd .')
expect(hook).toMatch('cd "."')

@@ -118,0 +118,0 @@ uninstall(dir, 'A/B/node_modules/husky')

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

if (isCI) {
if (isCI && !process.env.HUSKY_IGNORE_CI) {
console.log('CI detected, skipping Git hooks installation')

@@ -13,0 +13,0 @@ process.exit(0)

# CHANGELOG
## 0.14.2
* Fix When a space was present in $HOME, hook script was failing
## 0.14.1
* Fix Husky wasn't installing Git hooks on Windows
* Fix When nvm was installed with Brew, hook script was failing
## 0.14.0

@@ -4,0 +13,0 @@

{
"name": "husky",
"version": "0.14.1",
"version": "0.14.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 @@ "engines": {

@@ -1,2 +0,2 @@

# 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)
# 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) [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/husky/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/husky) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/husky/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/husky/branch/master)

@@ -45,3 +45,3 @@ > Git hooks made easy

* [Hotel](https://github.com/typicode/hotel)
* ... and over 5000+ [other awesome projects](https://libraries.io/npm/husky/dependent-repositories).
* ... and over 6000+ [other awesome projects](https://libraries.io/npm/husky/dependent-repositories).

@@ -48,0 +48,0 @@ ## Uninstall

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

cd ${normalizedPath}
cd "${normalizedPath}"

@@ -92,0 +92,0 @@ # Check if ${npmScriptName} script is defined, skip if not

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