diff --git a/git-hooks-list_shim.cjs b/git-hooks-list_shim.cjs deleted file mode 100644 index 7a966d2..0000000 --- a/git-hooks-list_shim.cjs +++ /dev/null @@ -1,2 +0,0 @@ -const gitHooksList = require('git-hooks-list') -module.exports = gitHooksList diff --git a/package-lock.json b/package-lock.json index 611f9b0..ff7b352 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "detect-indent": "^7.0.1", "detect-newline": "^4.0.1", "get-stdin": "^9.0.0", - "git-hooks-list": "^3.0.0", + "git-hooks-list": "^4.0.0", "is-plain-obj": "^4.1.0", "semver": "^7.7.1", "sort-object-keys": "^1.1.3", @@ -6176,9 +6176,9 @@ } }, "node_modules/git-hooks-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-3.0.0.tgz", - "integrity": "sha512-XDfdemBGJIMAsHHOONHQxEH5dX2kCpE6MGZ1IsNvBuDPBZM3p4EAwAC7ygMjn/1/x+BJX0TK1ara1Zrh7JCFdQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.0.0.tgz", + "integrity": "sha512-B0QyeRIshkolHpnEmOmd69DGAAzOTF/OaviI/dpKP9CHuWCkHaQNa44+v5krT6l9y3HM4sZx4V2mSy8JQCOVsQ==", "funding": { "url": "https://github.com/fisker/git-hooks-list?sponsor=1" } @@ -18281,9 +18281,9 @@ } }, "git-hooks-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-3.0.0.tgz", - "integrity": "sha512-XDfdemBGJIMAsHHOONHQxEH5dX2kCpE6MGZ1IsNvBuDPBZM3p4EAwAC7ygMjn/1/x+BJX0TK1ara1Zrh7JCFdQ==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-4.0.0.tgz", + "integrity": "sha512-B0QyeRIshkolHpnEmOmd69DGAAzOTF/OaviI/dpKP9CHuWCkHaQNa44+v5krT6l9y3HM4sZx4V2mSy8JQCOVsQ==" }, "git-log-parser": { "version": "1.2.0", diff --git a/package.json b/package.json index cd5f8aa..39f8386 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "index.cjs" ], "scripts": { - "build": "esbuild index.js --bundle --platform=node --alias:git-hooks-list=./git-hooks-list_shim.cjs --outfile=./index.cjs", + "build": "esbuild index.js --bundle --platform=node --outfile=index.cjs", "fix": "eslint . --fix && prettier . --write && node cli.js \"package.json\"", "lint": "eslint . && prettier . \"!**/*.js\" --check && node cli.js \"package.json\" --check", "prepare": "husky", @@ -77,7 +77,7 @@ "detect-indent": "^7.0.1", "detect-newline": "^4.0.1", "get-stdin": "^9.0.0", - "git-hooks-list": "^3.0.0", + "git-hooks-list": "^4.0.0", "is-plain-obj": "^4.1.0", "semver": "^7.7.1", "sort-object-keys": "^1.1.3",