lefthook 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -11
  3. package/schema.json +16 -1
package/README.md CHANGED
@@ -22,7 +22,7 @@ A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
22
22
  With **Go** (>= 1.25):
23
23
 
24
24
  ```bash
25
- go install github.com/evilmartians/lefthook/v2@v2.0.3
25
+ go install github.com/evilmartians/lefthook/v2@v2.0.5
26
26
  ```
27
27
 
28
28
  * or as a go tool
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lefthook",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Simple git hooks manager",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,16 +28,16 @@
28
28
  },
29
29
  "homepage": "https://github.com/evilmartians/lefthook#readme",
30
30
  "optionalDependencies": {
31
- "lefthook-darwin-arm64": "2.0.3",
32
- "lefthook-darwin-x64": "2.0.3",
33
- "lefthook-linux-arm64": "2.0.3",
34
- "lefthook-linux-x64": "2.0.3",
35
- "lefthook-freebsd-arm64": "2.0.3",
36
- "lefthook-freebsd-x64": "2.0.3",
37
- "lefthook-openbsd-arm64": "2.0.3",
38
- "lefthook-openbsd-x64": "2.0.3",
39
- "lefthook-windows-arm64": "2.0.3",
40
- "lefthook-windows-x64": "2.0.3"
31
+ "lefthook-darwin-arm64": "2.0.5",
32
+ "lefthook-darwin-x64": "2.0.5",
33
+ "lefthook-linux-arm64": "2.0.5",
34
+ "lefthook-linux-x64": "2.0.5",
35
+ "lefthook-freebsd-arm64": "2.0.5",
36
+ "lefthook-freebsd-x64": "2.0.5",
37
+ "lefthook-openbsd-arm64": "2.0.5",
38
+ "lefthook-openbsd-x64": "2.0.5",
39
+ "lefthook-windows-arm64": "2.0.5",
40
+ "lefthook-windows-x64": "2.0.5"
41
41
  },
42
42
  "scripts": {
43
43
  "postinstall": "node postinstall.js"
package/schema.json CHANGED
@@ -245,6 +245,9 @@
245
245
  "runner": {
246
246
  "type": "string"
247
247
  },
248
+ "args": {
249
+ "type": "string"
250
+ },
248
251
  "root": {
249
252
  "type": "string"
250
253
  },
@@ -374,6 +377,9 @@
374
377
  "runner": {
375
378
  "type": "string"
376
379
  },
380
+ "args": {
381
+ "type": "string"
382
+ },
377
383
  "skip": {
378
384
  "oneOf": [
379
385
  {
@@ -433,7 +439,7 @@
433
439
  "type": "object"
434
440
  }
435
441
  },
436
- "$comment": "Last updated on 2025.11.07.",
442
+ "$comment": "Last updated on 2025.12.01.",
437
443
  "properties": {
438
444
  "min_version": {
439
445
  "type": "string",
@@ -497,6 +503,15 @@
497
503
  "type": "boolean",
498
504
  "description": "Skip running Git LFS hooks (enabled by default)"
499
505
  },
506
+ "glob_matcher": {
507
+ "type": "string",
508
+ "enum": [
509
+ "gobwas",
510
+ "doublestar"
511
+ ],
512
+ "description": "Choose the glob matching engine: 'gobwas' (default) or 'doublestar' (standard ** behavior)",
513
+ "default": "gobwas"
514
+ },
500
515
  "remotes": {
501
516
  "items": {
502
517
  "$ref": "#/$defs/Remote"