From 021c06b73f784b8e8a027edab593ba26f77963e6 Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Tue, 21 Jul 2026 11:22:05 +0100 Subject: [PATCH] Bump github.com/odvcencio/gotreesitter from 0.21.0 to 0.45.0 Manual bump ahead of dependabot's 7-day cooldown. v0.22.0 through v0.44.x mis-parse TypeScript arrow functions with return-type annotations (const f = (a: A): B => {...}), which drops those declarations from .ts outlines. Fixed in v0.45.0 via odvcencio/gotreesitter#402. Supersedes #18. --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8b33684..a82b23b 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,6 @@ module github.com/git-pkgs/outline go 1.25.6 -require github.com/odvcencio/gotreesitter v0.21.0 +require github.com/odvcencio/gotreesitter v0.45.0 require github.com/git-pkgs/gitignore v1.2.0 diff --git a/go.sum b/go.sum index 17414a9..82631d6 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ github.com/git-pkgs/gitignore v1.2.0 h1:7vdR8/SvF31dvXqIdC1bKgCvyySefXuN8aY3xJLuFaM= github.com/git-pkgs/gitignore v1.2.0/go.mod h1:Lr0XwhbvP071rZF/zIIhkY1gEhFDoWHH91lngwLpeUg= -github.com/odvcencio/gotreesitter v0.21.0 h1:ews6dnPac/UnMQ4PCTgxpUZb04I9fnEGKINmrHZuOpc= -github.com/odvcencio/gotreesitter v0.21.0/go.mod h1:hBVkghd0paaYAVwd2087vfwdeU984bQbMo9LvpE0moo= +github.com/odvcencio/gotreesitter v0.45.0 h1:tt1iWOfcFglz59BQyOz64z2H5XelucxkKK1Lyg0YesU= +github.com/odvcencio/gotreesitter v0.45.0/go.mod h1:hBVkghd0paaYAVwd2087vfwdeU984bQbMo9LvpE0moo=