diff --git a/package-lock.json b/package-lock.json index 3f0ea3a26..3e3c97484 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "husky", - "version": "4.3.3", + "version": "4.3.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 301bbf4c2..221b42a0a 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/src/installer/__tests__/__snapshots__/scripts.ts.snap b/src/installer/__tests__/__snapshots__/scripts.ts.snap index 5099ce666..11b3d97e9 100644 --- a/src/installer/__tests__/__snapshots__/scripts.ts.snap +++ b/src/installer/__tests__/__snapshots__/scripts.ts.snap @@ -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: # From: /home/typicode/projects/foo-package (https://github.com/foo/foo-package) @@ -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: # From: /home/typicode/projects/foo-package (https://github.com/foo/foo-package) @@ -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: # From: /home/typicode/projects/foo-package (https://github.com/foo/foo-package) @@ -67,7 +67,7 @@ hookIsDefined () { .huskyrc.yml } -huskyVersion=\\"4.3.3\\" +huskyVersion=\\"4.3.4\\" gitParams=\\"$*\\" hookName=\\"$(basename \\"$0\\")\\"