Skip to content

Commit

Permalink
chore: use Kong forked repo gopher-json
Browse files Browse the repository at this point in the history
This update required two changes to encode Lua userdata and JSON null
values and support the encoding of sparsed arrays.
  • Loading branch information
mikefero committed Dec 21, 2022
1 parent 9864b05 commit 4371277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0
github.com/stretchr/testify v1.7.0
github.com/yuin/gluare v0.0.0-20170607022532-d7c94f1a80ed
github.com/yuin/gopher-lua v0.0.0-20210529063254-f4c35e4016d9
github.com/yuin/gopher-lua v0.0.0-20221210110428-332342483e3f
gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0
)

Expand All @@ -20,4 +20,4 @@ require (

replace github.com/yuin/gopher-lua => github.com/kong/gopher-lua v0.0.0-20221216134051-5199433b6390

replace github.com/layeh/gopher-json => github.com/hbagdi/gopher-json v0.0.0-20220325165250-3030ea88774d
replace github.com/layeh/gopher-json => github.com/kong/gopher-json v0.0.0-20221216152158-64015758f4ba
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/hbagdi/gopher-json v0.0.0-20220325165250-3030ea88774d h1:usQmJ+My7LkHpbJlTaZcdIZ6SjB14RL1K/yCTLQugwY=
github.com/hbagdi/gopher-json v0.0.0-20220325165250-3030ea88774d/go.mod h1:UcFBID7OH3S2ZyMendQaeFLwqG9ViDd1n1ZkUSpHOfQ=
github.com/kong/gopher-json v0.0.0-20221216152158-64015758f4ba h1:D6P7OP+2bKacD+nXMmCt6/6o1lyywE+wgp+7VT+XNO8=
github.com/kong/gopher-json v0.0.0-20221216152158-64015758f4ba/go.mod h1:RwmiOAgP5hK+yOCQxFEq1c6GIUqD2kZa+E2mMuydp4Y=
github.com/kong/gopher-lua v0.0.0-20221216134051-5199433b6390 h1:At74YBENxFcNXUACymVQ9nPP7hscC0/WtHGJIyqo4OI=
github.com/kong/gopher-lua v0.0.0-20221216134051-5199433b6390/go.mod h1:GBR0iDaNXjAgGg9zfCvksxSRnQx76gclCIb7kdAd1Pw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down

0 comments on commit 4371277

Please sign in to comment.