Socket
Socket
Sign inDemoInstall

husky

Package Overview
Dependencies
41
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.7 to 4.3.8

4

lib/installer/checkGitVersion.js

@@ -12,5 +12,5 @@ "use strict";

if (status !== 0) {
throw new Error(stderr.toString());
throw new Error(`git --version command failed. Got ${String(stderr)}.`);
}
const [version] = find_versions_1.default(stdout.toString());
const [version] = find_versions_1.default(String(stdout));
if (compare_versions_1.default(version, '2.13.0') === -1) {

@@ -17,0 +17,0 @@ throw new Error(`Husky requires Git >=2.13.0. Got v${version}.`);

@@ -13,3 +13,3 @@ "use strict";

if (status !== 0) {
throw new Error(stderr.toString());
throw new Error(`git rev-parse command failed. Got ${String(stderr)}`);
}

@@ -16,0 +16,0 @@ const [prefix, gitCommonDir] = stdout

{
"name": "husky",
"version": "4.3.7",
"version": "4.3.8",
"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 @@ "bin": {

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