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.12.0-0 to 0.12.0-1

2

package.json
{
"name": "husky",
"version": "0.12.0-0",
"version": "0.12.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",

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

// than .git, find relative path from project directory to package.json
var relativePath = path.relative(hooksDir, packageDir)
var relativePath = path.join('.', path.relative(projectDir, packageDir))

@@ -141,0 +141,0 @@ var hookScript = getHookScript(hookName, relativePath, cmd)

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

expect(hook).toInclude('# husky')
expect(hook).toInclude('cd ../..')
expect(hook).toInclude('cd .')
expect(hook).toInclude('npm run precommit')

@@ -55,3 +55,3 @@ })

expect(hook).toInclude('cd ../../some/path')
expect(hook).toInclude('cd some/path')
})

@@ -63,3 +63,3 @@

expect(hook).toInclude('cd ../../../../subproject')
expect(hook).toInclude('cd subproject')
})

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