fix(deps): hold cdproto back

The cdproto v0.157 tag removes input constants that chromedp v0.16 uses, so the dependency update failed to compile. Pin cdproto to the version chromedp v0.16 requires.
This commit is contained in:
2026-10-03 04:45:03 +01:00
parent 6ee25a7a27
commit 35ecb8e8b7
2 changed files with 8 additions and 5 deletions
+4 -1
View File
@@ -14,7 +14,7 @@ require (
github.com/JohannesKaufmann/dom v0.3.1 // indirect
github.com/chromedp/sysutil v1.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-json-experiment/json v0.0.0-20260214004413-d219187c3433 // indirect
github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 // indirect
github.com/gobwas/httphead v0.1.0 // indirect
github.com/gobwas/pool v0.2.1 // indirect
github.com/gobwas/ws v1.4.0 // indirect
@@ -32,3 +32,6 @@ require (
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
// chromedp v0.16 builds against this cdproto; the v0.157 tag changed the input API.
replace github.com/chromedp/cdproto => github.com/chromedp/cdproto v0.0.0-20260714215040-dc233986426f