hk 1.45.0

A tool for managing git hooks
1
2
3
4
5
6
7
8
9
10
11
@ModuleInfo { minPklVersion = "0.27.2" }
module hk.Types
import "pkl:base"

/// Helper function to create regex patterns with clean syntax
@Deprecated {
  since = "1.27.1"
  message = "Replace `Types.Regex` with `Regex` (pkl built-in)"
  replaceWith = "Regex"
}
function Regex(pattern: String): Regex = base.Regex(pattern)