Skip to content

Commit 3137d0d

Browse files
committed
rest json errors: handle unspported NaN values as the standard package's error doesn't give us more information
1 parent 6776bf0 commit 3137d0d

File tree

7 files changed

+196
-98
lines changed

7 files changed

+196
-98
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
go_version: [1.22.x]
20+
go_version: [1.23.x]
2121
steps:
2222

2323
- name: Check out code into the Go module directory

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ $ go get github.com/kataras/iris/v12@latest
629629
**Run**
630630

631631
```sh
632-
$ go mod tidy -compat=1.22 # -compat="1.22" for windows.
632+
$ go mod tidy -compat=1.23 # -compat="1.23" for windows.
633633
$ go run .
634634
```
635635

doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Source code and other details for the project are available at GitHub:
1414
1515
# Installation
1616
17-
The only requirement is the Go Programming Language, at least version 1.22.
17+
The only requirement is the Go Programming Language, at least version 1.23.
1818
1919
$ go get github.com/kataras/iris/v12@latest
2020

go.mod

+32-31
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
module github.com/kataras/iris/v12
22

3-
go 1.22
3+
go 1.23
44

55
retract [v12.0.0, v12.1.8] // Retract older versions as only latest is to be depended upon. Please update to @latest
66

77
require (
88
github.com/BurntSushi/toml v1.4.0
99
github.com/CloudyKit/jet/v6 v6.2.0
1010
github.com/Joker/jade v1.1.3
11-
github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06
11+
github.com/Shopify/goreferrer v0.0.0-20240724165105-aceaa0259138
1212
github.com/andybalholm/brotli v1.1.0
1313
github.com/blang/semver/v4 v4.0.0
1414
github.com/dgraph-io/badger/v2 v2.2007.4
1515
github.com/fatih/structs v1.1.0
1616
github.com/flosch/pongo2/v4 v4.0.2
1717
github.com/golang/snappy v0.0.4
18-
github.com/gomarkdown/markdown v0.0.0-20240626202925-2eda941fd024
18+
github.com/gomarkdown/markdown v0.0.0-20240730141124-034f12af3bf6
1919
github.com/google/uuid v1.6.0
2020
github.com/gorilla/securecookie v1.1.2
2121
github.com/iris-contrib/httpexpect/v2 v2.15.2
@@ -32,19 +32,19 @@ require (
3232
github.com/mailgun/raymond/v2 v2.0.48
3333
github.com/mailru/easyjson v0.7.7
3434
github.com/microcosm-cc/bluemonday v1.0.27
35-
github.com/redis/go-redis/v9 v9.5.3
35+
github.com/redis/go-redis/v9 v9.6.1
3636
github.com/schollz/closestmatch v2.1.0+incompatible
3737
github.com/shirou/gopsutil/v3 v3.24.5
38-
github.com/tdewolff/minify/v2 v2.20.35
38+
github.com/tdewolff/minify/v2 v2.20.37
3939
github.com/vmihailenco/msgpack/v5 v5.4.1
4040
github.com/yosssi/ace v0.0.5
41-
go.etcd.io/bbolt v1.3.10
42-
golang.org/x/crypto v0.24.0
43-
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8
44-
golang.org/x/net v0.26.0
45-
golang.org/x/sys v0.21.0
46-
golang.org/x/text v0.16.0
47-
golang.org/x/time v0.5.0
41+
go.etcd.io/bbolt v1.3.11
42+
golang.org/x/crypto v0.27.0
43+
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
44+
golang.org/x/net v0.29.0
45+
golang.org/x/sys v0.25.0
46+
golang.org/x/text v0.18.0
47+
golang.org/x/time v0.6.0
4848
google.golang.org/protobuf v1.34.2
4949
gopkg.in/ini.v1 v1.67.0
5050
gopkg.in/yaml.v3 v3.0.1
@@ -55,56 +55,57 @@ require (
5555
github.com/ajg/form v1.5.1 // indirect
5656
github.com/aymerick/douceur v0.2.0 // indirect
5757
github.com/cespare/xxhash v1.1.0 // indirect
58-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
58+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
5959
github.com/davecgh/go-spew v1.1.1 // indirect
60-
github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de // indirect
61-
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2 // indirect
60+
github.com/dgraph-io/ristretto v0.1.1 // indirect
61+
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
6262
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
63-
github.com/dustin/go-humanize v1.0.0 // indirect
64-
github.com/fatih/color v1.15.0 // indirect
65-
github.com/go-ole/go-ole v1.2.6 // indirect
63+
github.com/dustin/go-humanize v1.0.1 // indirect
64+
github.com/fatih/color v1.17.0 // indirect
65+
github.com/go-ole/go-ole v1.3.0 // indirect
6666
github.com/gobwas/glob v0.2.3 // indirect
6767
github.com/gobwas/httphead v0.1.0 // indirect
6868
github.com/gobwas/pool v0.2.1 // indirect
6969
github.com/gobwas/ws v1.4.0 // indirect
70-
github.com/golang/protobuf v1.5.0 // indirect
70+
github.com/golang/glog v1.2.2 // indirect
71+
github.com/golang/protobuf v1.5.4 // indirect
7172
github.com/google/go-querystring v1.1.0 // indirect
7273
github.com/gorilla/css v1.0.1 // indirect
7374
github.com/gorilla/websocket v1.5.3 // indirect
7475
github.com/imkira/go-interpol v1.1.0 // indirect
7576
github.com/josharian/intern v1.0.0 // indirect
76-
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
77+
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
7778
github.com/mattn/go-colorable v0.1.13 // indirect
78-
github.com/mattn/go-isatty v0.0.19 // indirect
79+
github.com/mattn/go-isatty v0.0.20 // indirect
7980
github.com/mediocregopher/radix/v3 v3.8.1 // indirect
8081
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
81-
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
82+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
8283
github.com/modern-go/reflect2 v1.0.2 // indirect
83-
github.com/nats-io/nats.go v1.36.0 // indirect
84+
github.com/nats-io/nats.go v1.37.0 // indirect
8485
github.com/nats-io/nkeys v0.4.7 // indirect
8586
github.com/nats-io/nuid v1.0.1 // indirect
8687
github.com/nxadm/tail v1.4.11 // indirect
87-
github.com/pkg/errors v0.8.1 // indirect
88+
github.com/pkg/errors v0.9.1 // indirect
8889
github.com/pmezard/go-difflib v1.0.0 // indirect
89-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
90+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
9091
github.com/russross/blackfriday/v2 v2.1.0 // indirect
9192
github.com/sanity-io/litter v1.5.5 // indirect
92-
github.com/sergi/go-diff v1.0.0 // indirect
93+
github.com/sergi/go-diff v1.3.1 // indirect
9394
github.com/shoenig/go-m1cpu v0.1.6 // indirect
94-
github.com/sirupsen/logrus v1.8.1 // indirect
95+
github.com/sirupsen/logrus v1.9.3 // indirect
9596
github.com/stretchr/testify v1.9.0 // indirect
9697
github.com/tdewolff/parse/v2 v2.7.15 // indirect
97-
github.com/tklauser/go-sysconf v0.3.12 // indirect
98-
github.com/tklauser/numcpus v0.6.1 // indirect
98+
github.com/tklauser/go-sysconf v0.3.14 // indirect
99+
github.com/tklauser/numcpus v0.8.0 // indirect
99100
github.com/valyala/bytebufferpool v1.0.0 // indirect
100101
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
101-
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
102+
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
102103
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
103104
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
104105
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 // indirect
105106
github.com/yudai/gojsondiff v1.0.0 // indirect
106107
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
107108
github.com/yusufpapurcu/wmi v1.2.4 // indirect
108-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
109+
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
109110
moul.io/http2curl/v2 v2.3.0 // indirect
110111
)

0 commit comments

Comments
 (0)