As reported in https://github.com/modelcontextprotocol/go-sdk/issues/805, case insensitive unmarshaling can pose security issues. This change adjusts all non-test and non-example unmarshaling to use a case sensitive mode. This introduces a new external dependency `github.com/segmentio/encoding`.
18 lines
414 B
Modula-2
18 lines
414 B
Modula-2
module github.com/modelcontextprotocol/go-sdk
|
|
|
|
go 1.24.0
|
|
|
|
require (
|
|
github.com/golang-jwt/jwt/v5 v5.3.0
|
|
github.com/google/go-cmp v0.7.0
|
|
github.com/google/jsonschema-go v0.4.2
|
|
github.com/segmentio/encoding v0.5.3
|
|
github.com/yosida95/uritemplate/v3 v3.0.2
|
|
golang.org/x/oauth2 v0.34.0
|
|
golang.org/x/tools v0.41.0
|
|
)
|
|
|
|
require (
|
|
github.com/segmentio/asm v1.1.3 // indirect
|
|
golang.org/x/sys v0.40.0 // indirect
|
|
)
|