Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 9.0.6 to 9.0.7

18

bin.js

@@ -8,10 +8,10 @@ #!/usr/bin/env node

if (a == 'init') {
let p = 'package.json'
let d = JSON.parse(f.readFileSync(p))
;(d.scripts ||= {}).prepare = 'husky'
w('package.json', JSON.stringify(d, null, /\t/.test() ? '\t' : 2) + '\n')
process.stdout.write(i())
try { f.mkdirSync('.husky') } catch {}
w('.husky/pre-commit', process.env.npm_config_user_agent.split('/')[0] + ' test\n')
process.exit()
let p = 'package.json'
let d = JSON.parse(f.readFileSync(p))
; (d.scripts ||= {}).prepare = 'husky'
w('package.json', JSON.stringify(d, null, /\t/.test() ? '\t' : 2) + '\n')
process.stdout.write(i())
try { f.mkdirSync('.husky') } catch { }
w('.husky/pre-commit', process.env.npm_config_user_agent.split('/')[0] + ' test\n')
process.exit()
}

@@ -23,2 +23,2 @@

process.stdout.write(i(a == 'install' ? undefined : a))
process.stdout.write(i(a == 'install' ? undefined : a))

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

export default function (dir?: string): string;
export default function (dir?: string): string;

@@ -23,2 +23,2 @@ import c from 'child_process'

return ''
}
}
{
"name": "husky",
"version": "9.0.6",
"version": "9.0.7",
"description": "Modern native Git hooks",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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