Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

git-hooks-list

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-hooks-list - npm Package Compare versions

Comparing version
4.2.0
to
4.2.1
+31
-32
index.d.ts

@@ -1,31 +0,1 @@

type GitHook =
| 'applypatch-msg'
| 'pre-applypatch'
| 'post-applypatch'
| 'pre-commit'
| 'pre-merge-commit'
| 'prepare-commit-msg'
| 'commit-msg'
| 'post-commit'
| 'pre-rebase'
| 'post-checkout'
| 'post-merge'
| 'pre-push'
| 'pre-receive'
| 'update'
| 'proc-receive'
| 'post-receive'
| 'post-update'
| 'reference-transaction'
| 'push-to-checkout'
| 'pre-auto-gc'
| 'post-rewrite'
| 'sendemail-validate'
| 'fsmonitor-watchman'
| 'p4-changelist'
| 'p4-prepare-changelist'
| 'p4-post-changelist'
| 'p4-pre-submit'
| 'post-index-change'
/**

@@ -39,7 +9,36 @@ List of Git hooks.

console.log(gitHooks)
//-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', …]
//-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', ... 25 more items]
```
*/
declare const gitHooks: GitHook[]
declare const gitHooks: readonly [
'applypatch-msg',
'pre-applypatch',
'post-applypatch',
'pre-commit',
'pre-merge-commit',
'prepare-commit-msg',
'commit-msg',
'post-commit',
'pre-rebase',
'post-checkout',
'post-merge',
'pre-push',
'pre-receive',
'update',
'proc-receive',
'post-receive',
'post-update',
'reference-transaction',
'push-to-checkout',
'pre-auto-gc',
'post-rewrite',
'sendemail-validate',
'fsmonitor-watchman',
'p4-changelist',
'p4-prepare-changelist',
'p4-post-changelist',
'p4-pre-submit',
'post-index-change',
]
export default gitHooks
{
"name": "git-hooks-list",
"version": "4.2.0",
"version": "4.2.1",
"description": "List of Git hooks",

@@ -41,11 +41,2 @@ "keywords": [

],
"c8": {
"include": [
"index.js"
],
"reporter": [
"text",
"lcov"
]
},
"publishConfig": {

@@ -52,0 +43,0 @@ "access": "public",

@@ -35,5 +35,5 @@ # git-hooks-list

console.log(gitHooks)
//-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', …]
//-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', ... 25 more items]
```
<!-- example end -->