Comparing version 4.3.6 to 4.3.8
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53548
+ Addedfind-up@5.0.0(transitive)
+ Addedfind-versions@4.0.0(transitive)
+ Addedlocate-path@6.0.0(transitive)
+ Addedp-limit@3.1.0(transitive)
+ Addedp-locate@5.0.0(transitive)
+ Addedpkg-dir@5.0.0(transitive)
+ Addedsemver-regex@3.1.4(transitive)
+ Addedyocto-queue@0.1.0(transitive)
- Removedfind-up@4.1.0(transitive)
- Removedfind-versions@3.2.0(transitive)
- Removedlocate-path@5.0.0(transitive)
- Removedp-limit@2.3.0(transitive)
- Removedp-locate@4.1.0(transitive)
- Removedp-try@2.2.0(transitive)
- Removedpkg-dir@4.2.0(transitive)
- Removedsemver-regex@2.0.0(transitive)
Updatedfind-versions@^4.0.0
Updatedpkg-dir@^5.0.0