Skip to content

Commit cb95f78

Browse files
upgrade to latest dependencies (#906)
bumping golang.org/x/tools 2ab3b51...4d2b19f: > 4d2b19f go.mod: update golang.org/x dependencies > 6368677 gopls/internal/golang: strength reduce ComputeImportFixEdits > 777f155 gopls/internal/golang: show package attributes on hover > 8a0e08f gopls/doc: add missing doc link > 61415be gopls/internal/cache: guard against malformed paths in port.matches > 9a89d3a internal/analysisinternal: avoid sub-token spans in TypeErrorEndPos > 1115af6 internal/expect: support named arguments f(a, b, c=d, e="f") > 0b9e499 go/{expect,packages/packagestest}: mention the tag+delete proposal > efcd2bd internal/packagestest: fork go/packages/packagestest > 0e9ed3d go/packages: do not mutate Config > ca2b41b x/tools: use internal/expect instead of go/expect > b22f1ad internal/expect: fork go/expect > f1ae722 gopls/internal/semtok: change types.Named to types.Basic for iota, true, and false > dba5486 gopls: update x/telemetry to pick up fix for countertest.ReadCounter > 9d40727 gopls/internal/server: don't interact with os.UserConfigDir from tests > 59933b6 go/packages: create fewer goroutines > f1f7c26 gopls/internal/cache: ensure GO111MODULE is unset in GOPATH tests > 4f98d3f gopls/internal/golang: run testcases as subtests > 6d27bba gopls/internal/golang: add testcase handling for func with error returns > e5417d7 gopls/internal/cache: log go env in TestZeroConfigAlgorithm > 691997a gopls/internal/golang: consolidate imports from both file in qualifier > 0c792f1 gopls/internal/golang: support generating test for functions > 27e1a3a go/packages: ensure TypesInfo is set when NeedTypesInfo is enabled > 817c7bc gopls/internal/test/integration/workspace: fix TestStdWorkspace > e36459f gopls/internal/golang: generate test name for selected function/method > 2998e9a go/analysis/passes/lostcancel: add WithCancelCause et al > f0379e0 go/packages: add BenchmarkNetHTTP > ad28b93 go/packages: minor cleanups to loader.parseFiles > cceaf96 internal/imports: carve out a Source interface for index integration > f4878ba gopls/internal/golang: use correct imports in HTML pkg doc links > 109c5fc gopls/internal/test: fix path to local go in integration tests > 99e8fee x/tools: fset.File(file.Pos()) -> fset.File(file.FileStart) > 5cd08e2 go/gcexportdata: document 2 releases + tip policy > ce03cd6 internal/modindex: parse changed time in local time zone > 386503d gopls/internal/golang: add source code action for add test > 9d6e1a6 Revert "gopls/internal/analysis: disable ssa/ir analyzers on range-over-func" > f153a42 gopls: update honnef.co/go/tools (staticcheck) to v0.5.1 > 59f79bc go/ssa: speed up TestTypeparamTest by loading tests once > 70e82e0 go/analysis/passes/asmdecl: Correct identify writeResult instructions > cbd92b1 gopls/internal: stubcalledfunction: improve logic of selecting insert position > 45a28e1 all: fix x/tools tests that fail with a go1.23.1 go.work file > b0f44d5 copyright: limit copyright checking to .go files > 73d6794 gopls/internal/template: fix completion token boundary conditions > 91421d7 gopls/internal/cache: share type checking with analysis > 36684df go/analysis/passes/unusedwrite: silence if unsafe is imported > 17213ba gopls/internal/cache/parsego: support lazy object resolution for Files > 7d1d070 go/ssa/interp: disable interp tests on wasm > ae56d93 internal/modindex: implement Lookups in the index > 044b16f internal/gcimporter: extend markBlack workaround go1.22 > dabba6a internal/modindex: new API for incremental update > 7d196fc go/ssa/interp: fix failing recover2.go test > f861377 go/ssa/interp: redirect interpreter std{out,err} to testing.T.Log > 9f3c646 gopls/internal/cache: memoize cache keys > 1f162c6 gopls/internal/cache: async pull diagnostics and joined analysis > dbb8252 gopls/release: remove unused(?) script > 6176384 go/types/objectpath: break cycles through interface methods > 9e6388a internal/gcimporter: work around go/types data race in 1.23. > c457787 gopls/internal/cache: avoid reporting bugs when go/packages has errors > 401eca0 gopls/internal/settings: remove "allowImplicitNetworkAccess" > 6618569 gopls/internal/cache: refine a bug report related to package metadata > 6381f0b gopls/internal/cache: refine bug reports > 63e4449 gopls/internal/telemetry/cmd/stacks: print double-claimed stacks > f003ff6 gopls/internal/test/marker: rename s/suggestedfix/quickfix/ > 8128bcf gopls/internal/cache: add tolerance for builtin test variants > a199121 gopls: allow for asynchronous request handling > 8ecf757 internal/gcimporter: remove test of unsupported "goroot" iimport > 7310c72 importgraph: correct typo in graph_test.go > ce4cb55 internal/modindex: fix two bugs > b3482cc internal/modindex/cmd: Command for maintaining module cache indexes > 454be60 x/tools: be defensive after types.Info.Types[expr] lookups > dec6bf1 internal/modindex: update module cache index > 6c6def2 gopls/internal/telemetry/cmd/stacks: fix bad tmpreaper interaction > 1a5fe83 gopls: remove cruft > 244a31e gopls/internal: CodeAction: quickfix to generate missing method > 87d6131 internal/typeparams: support parameterized aliases in Free > aa87dcf go/analysis/passes: execute gofmt > feffeaa go/packages: report an error from Load when GOROOT is misconfigured > 50179f2 Revert "internal/aliases: add a function to conditionally enable aliases" > 4f6e118 all: set gotypesalias=1 when using >=1.23 toolchain > 915132c internal/typesinternal: add NamedOrAlias type > bd86f8c gopls/internal/cache/analysis: lazily resolve the import map > a4e0a9e cmd/bundle: enable materialized aliases > db26c69 cmd/stringer: fix test on android > f08b5c1 gopls/internal/test/integration/bench: add a pull diagnostics benchmark > bbb979f go/callgraph/vta: use node IDs for type flow graph > cf8979b gopls/doc/features: add index of supported Code Actions > 8621919 go/ssa/ssautil: disable fmt imports on wasm tests > f439874 internal/modindex: add symbol information > f21a1dc gopls: add initial support for pull diagnostics > c19060b gopls/internal/cache: use packageHandles to hold an active package cache > a30b207 internal/versions: remove InitFileVersions > de11c55 gopls/doc/codelenses: fix link typo > 0b989c8 internal/versions: update test expectations > 89a5311 go/analysis/passes/asmdecl: allow syscall write registers implicitly > f8f3c13 internal/aliases: add a function to conditionally enable aliases bumping knative.dev/pkg 47a6f9f...215048a: > 215048a Bump golang.org/x/tools from 0.26.0 to 0.27.0 (# 3114) bumping golang.org/x/mod 46a3137...dec0365: > dec0365 sumdb: make data tiles by Server compatible with sum.golang.org > c8a7319 x/mod: fix handling of vendored packages with '/vendor' in non-top-level paths > 9cd0e4c x/mod: remove vendor/modules.txt from module download Signed-off-by: Knative Automation <automation@knative.team>
1 parent 5522d1a commit cb95f78

File tree

19 files changed

+815
-398
lines changed

19 files changed

+815
-398
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
k8s.io/code-generator v0.30.3
1212
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8
1313
knative.dev/hack v0.0.0-20241106013728-b7995315deb5
14-
knative.dev/pkg v0.0.0-20241112094440-47a6f9fc2e7d
14+
knative.dev/pkg v0.0.0-20241115112044-215048add14b
1515
)
1616

1717
require (
@@ -56,15 +56,15 @@ require (
5656
github.com/spf13/pflag v1.0.5 // indirect
5757
go.opencensus.io v0.24.0 // indirect
5858
go.uber.org/multierr v1.11.0 // indirect
59-
golang.org/x/mod v0.21.0 // indirect
59+
golang.org/x/mod v0.22.0 // indirect
6060
golang.org/x/net v0.31.0 // indirect
6161
golang.org/x/oauth2 v0.23.0 // indirect
6262
golang.org/x/sync v0.9.0 // indirect
6363
golang.org/x/sys v0.27.0 // indirect
6464
golang.org/x/term v0.26.0 // indirect
6565
golang.org/x/text v0.20.0 // indirect
6666
golang.org/x/time v0.6.0 // indirect
67-
golang.org/x/tools v0.26.0 // indirect
67+
golang.org/x/tools v0.27.0 // indirect
6868
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
6969
google.golang.org/api v0.183.0 // indirect
7070
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB
352352
golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
353353
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
354354
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
355-
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
356-
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
355+
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
356+
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
357357
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
358358
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
359359
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -516,8 +516,8 @@ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc
516516
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
517517
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
518518
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
519-
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
520-
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
519+
golang.org/x/tools v0.27.0 h1:qEKojBykQkQ4EynWy4S8Weg69NumxKdn40Fce3uc/8o=
520+
golang.org/x/tools v0.27.0/go.mod h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q=
521521
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
522522
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
523523
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -664,8 +664,8 @@ k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1
664664
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
665665
knative.dev/hack v0.0.0-20241106013728-b7995315deb5 h1:CfU5+6B+ylBd7mSGpvRqpzZV8H5ZQLGUwVygFzbE+1o=
666666
knative.dev/hack v0.0.0-20241106013728-b7995315deb5/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
667-
knative.dev/pkg v0.0.0-20241112094440-47a6f9fc2e7d h1:8ReAstK8D5GVoIl0Sw2+ILPLcvlUfajd8rrVDdbl3n4=
668-
knative.dev/pkg v0.0.0-20241112094440-47a6f9fc2e7d/go.mod h1:o3BtZGGqrjjlYjW4hSI9VlzOCNb6wu3oSADAFES9wVE=
667+
knative.dev/pkg v0.0.0-20241115112044-215048add14b h1:9z3v+YZCexJSbhJyJknIll/B0MZA8xVRbCSgV2mc4Qc=
668+
knative.dev/pkg v0.0.0-20241115112044-215048add14b/go.mod h1:T6mZp4fRJ0SYIOKQXwfWmIrUNwXCymtdiDK9caKC7Eg=
669669
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
670670
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
671671
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/golang.org/x/tools/go/ast/astutil/imports.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go

Lines changed: 78 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/golang.org/x/tools/go/packages/external.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/golang.org/x/tools/go/packages/golist.go

Lines changed: 26 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)