@hasna/hooks 0.7.4 → 0.7.6

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.
@@ -52,7 +52,11 @@ describe("codewith native common helpers", () => {
52
52
  });
53
53
 
54
54
  const git = (cwd: string, ...args: string[]): void => {
55
- const result = Bun.spawnSync(["git", "-c", "user.name=t", "-c", "user.email=t@t.invalid", ...args], {
55
+ // Disable hooks for fixture repos: the machine's ambient global
56
+ // core.hooksPath (e.g. a lefthook wrapper) writes to commit stderr and
57
+ // would fail the empty-stderr assertion below for reasons unrelated to
58
+ // the code under test.
59
+ const result = Bun.spawnSync(["git", "-c", "user.name=t", "-c", "user.email=t@t.invalid", "-c", "core.hooksPath=", ...args], {
56
60
  cwd,
57
61
  stdout: "pipe",
58
62
  stderr: "pipe",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/hooks",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "description": "Open source hooks library for AI coding agents - Install safety, quality, and automation hooks with a single command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@hasna/events": "^0.1.16",
59
- "@hasna/secrets": "0.3.5",
59
+ "@hasna/secrets": "0.3.6",
60
60
  "@modelcontextprotocol/sdk": "^1.26.0",
61
61
  "chalk": "^5.3.0",
62
62
  "commander": "^12.1.0",