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 4.3.6 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.6",
"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...)",

@@ -56,5 +56,5 @@ "bin": {

"cosmiconfig": "^7.0.0",
"find-versions": "^3.2.0",
"find-versions": "^4.0.0",
"opencollective-postinstall": "^2.0.2",
"pkg-dir": "^4.2.0",
"pkg-dir": "^5.0.0",
"please-upgrade-node": "^3.2.0",

@@ -75,3 +75,3 @@ "slash": "^3.0.0",

"del": "^5.1.0",
"del-cli": "^3.0.0",
"del-cli": "^3.0.1",
"eslint": "^6.8.0",

@@ -85,3 +85,3 @@ "eslint-config-prettier": "^6.10.1",

"mkdirp": "^1.0.4",
"pinst": "^2.0.0",
"pinst": "^2.1.1",
"pkg-ok": "^2.3.1",

@@ -88,0 +88,0 @@ "prettier": "^2.0.4",

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