Commit dd8ac74
authored
fix: upgrade handlebars to 4.7.9, fix pre-push hook (#1134)
* fix: upgrade handlebars to 4.7.9 (6 CVEs)
Addresses all 6 open Dependabot alerts:
- CVE-2026-33937 (critical): JS Injection via AST Type Confusion
- CVE-2026-33941 (high): JS Injection in CLI Precompiler
- CVE-2026-33940 (high): JS Injection via AST Type Confusion (dynamic partial)
- CVE-2026-33939 (high): DoS via Malformed Decorator Syntax
- CVE-2026-33938 (high): JS Injection via AST Type Confusion (@partial-block)
- CVE-2026-33916 (medium): Prototype Pollution Leading to XSS
* fix: pre-push hook checks commits already on remote
For new branches, compare against remote default branch instead of
searching for release tags. The tag-based approach included commits
already on origin/main, causing false positives for AI attribution.
* fix: add fallback when remote default branch ref is missing in pre-push hook1 parent 8760522 commit dd8ac74
3 files changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | | - | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments