Skip to content

Commit

Permalink
4.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Dec 5, 2020
1 parent 1e1b289 commit 3c43bd5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "husky",
"version": "4.3.3",
"version": "4.3.4",
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
"bin": {
"husky-run": "./bin/run.js",
Expand Down Expand Up @@ -92,8 +92,16 @@
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": ["node_modules", "__env__.ts"],
"moduleFileExtensions": ["ts", "js", "json", "node"]
"testPathIgnorePatterns": [
"node_modules",
"__env__.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
},
"collective": {
"type": "opencollective",
Expand Down
8 changes: 4 additions & 4 deletions src/installer/__tests__/__snapshots__/scripts.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`hookScript should match snapshot 1`] = `
"#!/bin/sh
# husky
# Created by Husky v4.3.3 (https://github.com/typicode/husky#readme)
# Created by Husky v4.3.4 (https://github.com/typicode/husky#readme)
# At: <locale date string>
# From: /home/typicode/projects/foo-package (https://github.com/foo/foo-package)
Expand All @@ -13,7 +13,7 @@ exports[`hookScript should match snapshot 1`] = `
`;
exports[`localScript should match snapshot 1`] = `
"# Created by Husky v4.3.3 (https://github.com/typicode/husky#readme)
"# Created by Husky v4.3.4 (https://github.com/typicode/husky#readme)
# At: <locale date string>
# From: /home/typicode/projects/foo-package (https://github.com/foo/foo-package)
Expand All @@ -23,7 +23,7 @@ cd \\".\\"
`;
exports[`mainScript should match snapshot 1`] = `
"# Created by Husky v4.3.3 (https://github.com/typicode/husky#readme)
"# Created by Husky v4.3.4 (https://github.com/typicode/husky#readme)
# At: <locale date string>
# From: /home/typicode/projects/foo-package (https://github.com/foo/foo-package)
Expand Down Expand Up @@ -67,7 +67,7 @@ hookIsDefined () {
.huskyrc.yml
}
huskyVersion=\\"4.3.3\\"
huskyVersion=\\"4.3.4\\"
gitParams=\\"$*\\"
hookName=\\"$(basename \\"$0\\")\\"
Expand Down

0 comments on commit 3c43bd5

Please sign in to comment.