Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SpectoLabs/hoverfly
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10.7
Choose a base ref
...
head repository: SpectoLabs/hoverfly
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.10.8
Choose a head ref
  • 4 commits
  • 158 files changed
  • 6 contributors

Commits on Jan 8, 2025

  1. Copy the full SHA
    3924ef2 View commit details

Commits on Jan 12, 2025

  1. Docs copyright and maintainer info update (#1167)

    * update copyright, maintainer info, contacts.
    
    * typo fix
    
    ---------
    
    Co-authored-by: marcoioco <marco@callisto.local>
    marcoioco and marcoioco authored Jan 12, 2025
    Copy the full SHA
    5a5cda1 View commit details
  2. Copyright info update (#1168)

    * update copyright, maintainer info, contacts.
    
    * typo fix
    
    * Copyright info
    
    ---------
    
    Co-authored-by: marcoioco <marco@hoverfly.io>
    marcoioco and marcoioco authored Jan 12, 2025
    Copy the full SHA
    bd9c181 View commit details

Commits on Jan 20, 2025

  1. Bugfix issue #1169 (#1170)

    * Fixed integer precision loss via matching JSONs. It is caused by unmarshaling JSON that contains bigints to type interface{}. Now decoder.UseNumber() is used.
    
    * Added tests with float type
    
    ---------
    
    Co-authored-by: issinitsyn <issinitsyn@avito.ru>
    VintaChlenix and issinitsyn authored Jan 20, 2025
    Copy the full SHA
    5443f2c View commit details
Showing with 30,255 additions and 15 deletions.
  1. +1 −1 README.md
  2. +9 −2 core/handlers/v2/state_handler.go
  3. +1 −1 core/handlers/v2/views.go
  4. +7 −2 core/matching/matchers/json_match.go
  5. +23 −1 core/matching/matchers/json_match_test.go
  6. +7 −2 core/matching/matchers/json_partial_match.go
  7. +24 −1 core/matching/matchers/json_partial_match_test.go
  8. +3 −3 docs/conf.py
  9. +1 −1 docs/index.rst
  10. +1 −1 docs/pages/community.rst
  11. +5 −0 go.mod
  12. +12 −0 go.sum
  13. +1 −0 vendor/github.com/gabriel-vasile/mimetype/.gitattributes
  14. +76 −0 vendor/github.com/gabriel-vasile/mimetype/CODE_OF_CONDUCT.md
  15. +12 −0 vendor/github.com/gabriel-vasile/mimetype/CONTRIBUTING.md
  16. +21 −0 vendor/github.com/gabriel-vasile/mimetype/LICENSE
  17. +105 −0 vendor/github.com/gabriel-vasile/mimetype/README.md
  18. +309 −0 vendor/github.com/gabriel-vasile/mimetype/internal/charset/charset.go
  19. +544 −0 vendor/github.com/gabriel-vasile/mimetype/internal/json/json.go
  20. +124 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/archive.go
  21. +76 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/audio.go
  22. +198 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/binary.go
  23. +13 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/database.go
  24. +62 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/document.go
  25. +39 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/font.go
  26. +88 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/ftyp.go
  27. +55 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/geo.go
  28. +110 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/image.go
  29. +241 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/magic.go
  30. +225 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/ms_office.go
  31. +42 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/ogg.go
  32. +375 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/text.go
  33. +63 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/text_csv.go
  34. +85 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/video.go
  35. +92 −0 vendor/github.com/gabriel-vasile/mimetype/internal/magic/zip.go
  36. +186 −0 vendor/github.com/gabriel-vasile/mimetype/mime.go
  37. BIN vendor/github.com/gabriel-vasile/mimetype/mimetype.gif
  38. +124 −0 vendor/github.com/gabriel-vasile/mimetype/mimetype.go
  39. +178 −0 vendor/github.com/gabriel-vasile/mimetype/supported_mimes.md
  40. +260 −0 vendor/github.com/gabriel-vasile/mimetype/tree.go
  41. +24 −0 vendor/github.com/go-playground/locales/.gitignore
  42. +26 −0 vendor/github.com/go-playground/locales/.travis.yml
  43. +21 −0 vendor/github.com/go-playground/locales/LICENSE
  44. +170 −0 vendor/github.com/go-playground/locales/README.md
  45. +311 −0 vendor/github.com/go-playground/locales/currency/currency.go
  46. BIN vendor/github.com/go-playground/locales/logo.png
  47. +293 −0 vendor/github.com/go-playground/locales/rules.go
  48. +25 −0 vendor/github.com/go-playground/universal-translator/.gitignore
  49. +27 −0 vendor/github.com/go-playground/universal-translator/.travis.yml
  50. +21 −0 vendor/github.com/go-playground/universal-translator/LICENSE
  51. +18 −0 vendor/github.com/go-playground/universal-translator/Makefile
  52. +87 −0 vendor/github.com/go-playground/universal-translator/README.md
  53. +148 −0 vendor/github.com/go-playground/universal-translator/errors.go
  54. +274 −0 vendor/github.com/go-playground/universal-translator/import_export.go
  55. BIN vendor/github.com/go-playground/universal-translator/logo.png
  56. +420 −0 vendor/github.com/go-playground/universal-translator/translator.go
  57. +113 −0 vendor/github.com/go-playground/universal-translator/universal_translator.go
  58. +32 −0 vendor/github.com/go-playground/validator/v10/.gitignore
  59. +22 −0 vendor/github.com/go-playground/validator/v10/LICENSE
  60. +16 −0 vendor/github.com/go-playground/validator/v10/MAINTAINERS.md
  61. +18 −0 vendor/github.com/go-playground/validator/v10/Makefile
  62. +359 −0 vendor/github.com/go-playground/validator/v10/README.md
  63. +3,046 −0 vendor/github.com/go-playground/validator/v10/baked_in.go
  64. +332 −0 vendor/github.com/go-playground/validator/v10/cache.go
  65. +1,177 −0 vendor/github.com/go-playground/validator/v10/country_codes.go
  66. +79 −0 vendor/github.com/go-playground/validator/v10/currency_codes.go
  67. +1,498 −0 vendor/github.com/go-playground/validator/v10/doc.go
  68. +276 −0 vendor/github.com/go-playground/validator/v10/errors.go
  69. +120 −0 vendor/github.com/go-playground/validator/v10/field_level.go
  70. BIN vendor/github.com/go-playground/validator/v10/logo.png
  71. +26 −0 vendor/github.com/go-playground/validator/v10/options.go
  72. +179 −0 vendor/github.com/go-playground/validator/v10/postcode_regexes.go
  73. +163 −0 vendor/github.com/go-playground/validator/v10/regexes.go
  74. +175 −0 vendor/github.com/go-playground/validator/v10/struct_level.go
  75. +11 −0 vendor/github.com/go-playground/validator/v10/translations.go
  76. +312 −0 vendor/github.com/go-playground/validator/v10/util.go
  77. +510 −0 vendor/github.com/go-playground/validator/v10/validator.go
  78. +710 −0 vendor/github.com/go-playground/validator/v10/validator_instance.go
  79. +13 −0 vendor/github.com/leodido/go-urn/.gitignore
  80. +21 −0 vendor/github.com/leodido/go-urn/LICENSE
  81. +153 −0 vendor/github.com/leodido/go-urn/README.md
  82. +10 −0 vendor/github.com/leodido/go-urn/kind.go
  83. +5,046 −0 vendor/github.com/leodido/go-urn/machine.go
  84. +386 −0 vendor/github.com/leodido/go-urn/machine.go.rl
  85. +51 −0 vendor/github.com/leodido/go-urn/makefile
  86. +9 −0 vendor/github.com/leodido/go-urn/options.go
  87. +12 −0 vendor/github.com/leodido/go-urn/parsing_mode.go
  88. +48 −0 vendor/github.com/leodido/go-urn/scim.go
  89. +36 −0 vendor/github.com/leodido/go-urn/scim/schema/type.go
  90. +141 −0 vendor/github.com/leodido/go-urn/urn.go
  91. +30 −0 vendor/github.com/leodido/go-urn/urn8141.go
  92. +66 −0 vendor/golang.org/x/crypto/sha3/doc.go
  93. +128 −0 vendor/golang.org/x/crypto/sha3/hashes.go
  94. +23 −0 vendor/golang.org/x/crypto/sha3/hashes_noasm.go
  95. +414 −0 vendor/golang.org/x/crypto/sha3/keccakf.go
  96. +13 −0 vendor/golang.org/x/crypto/sha3/keccakf_amd64.go
  97. +5,419 −0 vendor/golang.org/x/crypto/sha3/keccakf_amd64.s
  98. +244 −0 vendor/golang.org/x/crypto/sha3/sha3.go
  99. +303 −0 vendor/golang.org/x/crypto/sha3/sha3_s390x.go
  100. +33 −0 vendor/golang.org/x/crypto/sha3/sha3_s390x.s
  101. +193 −0 vendor/golang.org/x/crypto/sha3/shake.go
  102. +15 −0 vendor/golang.org/x/crypto/sha3/shake_noasm.go
  103. +17 −0 vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s
  104. +17 −0 vendor/golang.org/x/sys/cpu/asm_darwin_x86_gc.s
  105. +66 −0 vendor/golang.org/x/sys/cpu/byteorder.go
  106. +312 −0 vendor/golang.org/x/sys/cpu/cpu.go
  107. +33 −0 vendor/golang.org/x/sys/cpu/cpu_aix.go
  108. +73 −0 vendor/golang.org/x/sys/cpu/cpu_arm.go
  109. +194 −0 vendor/golang.org/x/sys/cpu/cpu_arm64.go
  110. +39 −0 vendor/golang.org/x/sys/cpu/cpu_arm64.s
  111. +61 −0 vendor/golang.org/x/sys/cpu/cpu_darwin_x86.go
  112. +12 −0 vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go
  113. +21 −0 vendor/golang.org/x/sys/cpu/cpu_gc_s390x.go
  114. +15 −0 vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
  115. +26 −0 vendor/golang.org/x/sys/cpu/cpu_gc_x86.s
  116. +11 −0 vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go
  117. +22 −0 vendor/golang.org/x/sys/cpu/cpu_gccgo_s390x.go
  118. +37 −0 vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c
  119. +25 −0 vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go
  120. +15 −0 vendor/golang.org/x/sys/cpu/cpu_linux.go
  121. +39 −0 vendor/golang.org/x/sys/cpu/cpu_linux_arm.go
  122. +120 −0 vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go
  123. +22 −0 vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go
  124. +9 −0 vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
  125. +30 −0 vendor/golang.org/x/sys/cpu/cpu_linux_ppc64x.go
  126. +137 −0 vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go
  127. +40 −0 vendor/golang.org/x/sys/cpu/cpu_linux_s390x.go
  128. +12 −0 vendor/golang.org/x/sys/cpu/cpu_loong64.go
  129. +15 −0 vendor/golang.org/x/sys/cpu/cpu_mips64x.go
  130. +11 −0 vendor/golang.org/x/sys/cpu/cpu_mipsx.go
  131. +173 −0 vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go
  132. +65 −0 vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go
  133. +11 −0 vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.s
  134. +9 −0 vendor/golang.org/x/sys/cpu/cpu_other_arm.go
  135. +9 −0 vendor/golang.org/x/sys/cpu/cpu_other_arm64.go
  136. +11 −0 vendor/golang.org/x/sys/cpu/cpu_other_mips64x.go
  137. +12 −0 vendor/golang.org/x/sys/cpu/cpu_other_ppc64x.go
  138. +11 −0 vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go
  139. +11 −0 vendor/golang.org/x/sys/cpu/cpu_other_x86.go
  140. +16 −0 vendor/golang.org/x/sys/cpu/cpu_ppc64x.go
  141. +20 −0 vendor/golang.org/x/sys/cpu/cpu_riscv64.go
  142. +172 −0 vendor/golang.org/x/sys/cpu/cpu_s390x.go
  143. +57 −0 vendor/golang.org/x/sys/cpu/cpu_s390x.s
  144. +17 −0 vendor/golang.org/x/sys/cpu/cpu_wasm.go
  145. +149 −0 vendor/golang.org/x/sys/cpu/cpu_x86.go
  146. +10 −0 vendor/golang.org/x/sys/cpu/cpu_zos.go
  147. +25 −0 vendor/golang.org/x/sys/cpu/cpu_zos_s390x.go
  148. +10 −0 vendor/golang.org/x/sys/cpu/endian_big.go
  149. +10 −0 vendor/golang.org/x/sys/cpu/endian_little.go
  150. +71 −0 vendor/golang.org/x/sys/cpu/hwcap_linux.go
  151. +43 −0 vendor/golang.org/x/sys/cpu/parse.go
  152. +53 −0 vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go
  153. +16 −0 vendor/golang.org/x/sys/cpu/runtime_auxv.go
  154. +18 −0 vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go
  155. +26 −0 vendor/golang.org/x/sys/cpu/syscall_aix_gccgo.go
  156. +35 −0 vendor/golang.org/x/sys/cpu/syscall_aix_ppc64_gc.go
  157. +98 −0 vendor/golang.org/x/sys/cpu/syscall_darwin_x86_gc.go
  158. +22 −0 vendor/modules.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ brew install python
Apache License version 2.0 [See LICENSE for details](https://github.com/SpectoLabs/hoverfly/blob/master/LICENSE).
(c) [iOCO](https://ioco.uk/) 2024.
(c) [iOCO Solutions](https://ioco.uk/) 2025.
[CircleCI-Image]: https://circleci.com/gh/SpectoLabs/hoverfly.svg?style=shield
[CircleCI-Url]: https://circleci.com/gh/SpectoLabs/hoverfly
11 changes: 9 additions & 2 deletions core/handlers/v2/state_handler.go
Original file line number Diff line number Diff line change
@@ -8,9 +8,12 @@ import (

"github.com/SpectoLabs/hoverfly/core/handlers"
"github.com/codegangsta/negroni"
"github.com/go-playground/validator/v10"
"github.com/go-zoo/bone"
)

var validate = validator.New()

type StateHandler struct {
Hoverfly Hoverfly
}
@@ -61,10 +64,14 @@ func (this *StateHandler) Put(w http.ResponseWriter, req *http.Request, next htt

toPut := &StateView{}

responseBody, err := ioutil.ReadAll(req.Body)
err := json.NewDecoder(req.Body).Decode(toPut)

err = json.Unmarshal(responseBody, &toPut)
if err != nil {
handlers.WriteErrorResponse(w, err.Error(), http.StatusBadRequest)
return
}

err = validate.Struct(toPut)
if err != nil {
handlers.WriteErrorResponse(w, err.Error(), http.StatusBadRequest)
return
2 changes: 1 addition & 1 deletion core/handlers/v2/views.go
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ type JournalEntryFilterView struct {
}

type StateView struct {
State map[string]string `json:"state"`
State map[string]string `json:"state" validate:"required"`
}

type DiffView struct {
9 changes: 7 additions & 2 deletions core/matching/matchers/json_match.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package matchers

import (
"bytes"
"encoding/json"
"reflect"
)
@@ -17,13 +18,17 @@ func JsonMatch(match interface{}, toMatch string) bool {
return true
}
var matchingObject interface{}
err := json.Unmarshal([]byte(matchString), &matchingObject)
d := json.NewDecoder(bytes.NewBuffer([]byte(matchString)))
d.UseNumber()
err := d.Decode(&matchingObject)
if err != nil {
return false
}

var toMatchObject interface{}
err = json.Unmarshal([]byte(toMatch), &toMatchObject)
d = json.NewDecoder(bytes.NewBuffer([]byte(toMatch)))
d.UseNumber()
err = d.Decode(&toMatchObject)
if err != nil {
return false
}
24 changes: 23 additions & 1 deletion core/matching/matchers/json_match_test.go
Original file line number Diff line number Diff line change
@@ -104,10 +104,32 @@ func Test_JsonMatch_MatchesTrueWithUnminifiedJSONRootAsArray(t *testing.T) {
]`)).To(BeTrue())
}


func Test_JsonMatch_MatchesTrueWithJSONRootAsArray_WithDataInDifferentOrder(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`[{"minified":true, "json":true}]`, `[{"json":true,"minified":true}]`)).To(BeTrue())
}

func Test_JsonMatch_MatchesFalseWithJSON_WithInt64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":112769992360719990160}}`, `{"test":{"id":112769992360719990161}}`)).To(BeFalse())
}

func Test_JsonMatch_MatchesTrueWithJSON_WithInt64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":112769992360719990160}}`, `{"test":{"id":112769992360719990160}}`)).To(BeTrue())
}

func Test_JsonMatch_MatchesFalseWithJSON_WithFloat64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":11.2769992360719990160}}`, `{"test":{"id":11.2769992360719990161}}`)).To(BeFalse())
}

func Test_JsonMatch_MatchesTrueWithJSON_WithFloat64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":11.2769992360719990160}}`, `{"test":{"id":11.2769992360719990160}}`)).To(BeTrue())
}
9 changes: 7 additions & 2 deletions core/matching/matchers/json_partial_match.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package matchers

import (
"bytes"
"encoding/json"
)

@@ -14,8 +15,12 @@ func JsonPartialMatch(match interface{}, toMatch string) bool {
return false
}

err0 := json.Unmarshal([]byte(toMatch), &toMatchType)
err1 := json.Unmarshal([]byte(matchString), &expected)
d := json.NewDecoder(bytes.NewBuffer([]byte(toMatch)))
d.UseNumber()
err0 := d.Decode(&toMatchType)
d = json.NewDecoder(bytes.NewBuffer([]byte(matchString)))
d.UseNumber()
err1 := d.Decode(&expected)
if err0 != nil || err1 != nil {
return false
}
25 changes: 24 additions & 1 deletion core/matching/matchers/json_partial_match_test.go
Original file line number Diff line number Diff line change
@@ -361,7 +361,6 @@ func Test_JsonPartialMatch_MatchesTrueWithJSONRootAsArrayAgainstJSONRootAsArray(
}]`)).To(BeTrue())
}


func Test_JsonPartialMatch_MatchesFalseWithJSONRootAsArrayAgainstJSONRootAsArrayWithDifferentElement(t *testing.T) {
RegisterTestingT(t)

@@ -380,3 +379,27 @@ func Test_JsonPartialMatch_MatchesFalseWithJSONRootAsArrayAgainstJSONRootAsArray
"age": 400
}]`)).To(BeFalse())
}

func Test_JsonPartialMatch_MatchesFalseWithJSON_WithInt64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":112769992360719990160}}`, `{"test":{"id":112769992360719990161}}`)).To(BeFalse())
}

func Test_JsonPartialMatch_MatchesTrueWithJSON_WithInt64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":112769992360719990160}}`, `{"test":{"id":112769992360719990160}}`)).To(BeTrue())
}

func Test_JsonPartialMatch_MatchesFalseWithJSON_WithFloat64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":11.2769992360719990160}}`, `{"test":{"id":11.2769992360719990161}}`)).To(BeFalse())
}

func Test_JsonPartialMatch_MatchesTrueWithJSON_WithFloat64(t *testing.T) {
RegisterTestingT(t)

Expect(matchers.JsonMatch(`{"test":{"id":11.2769992360719990160}}`, `{"test":{"id":11.2769992360719990160}}`)).To(BeTrue())
}
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -9,8 +9,8 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'Hoverfly'
copyright = '2023, SpectoLabs'
author = 'SpectoLabs'
copyright = '2025, iOCO Solutions'
author = 'iOCO Solutions'

version = 'v1.10.7'
# The full version, including alpha/beta/rc tags.
@@ -61,7 +61,7 @@

latex_documents = [
(master_doc, 'hoverfly.tex', u'Hoverfly Documentation',
u'SpectoLabs', 'manual'),
u'iOCO Solutions', 'manual'),
]

man_pages = [
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ Source

The Hoverfly source code is available on `GitHub <https://github.com/SpectoLabs/hoverfly>`_.

Hoverfly is developed and maintained by `SpectoLabs <https://specto.io>`_.
Hoverfly is developed and maintained by `iOCO Solutions <https://ioco.uk>`_.

Contents
--------
2 changes: 1 addition & 1 deletion docs/pages/community.rst
Original file line number Diff line number Diff line change
@@ -6,4 +6,4 @@ Community
- Chat on the `Hoverfly Gitter channel <https://gitter.im/SpectoLabs/hoverfly>`_
- Join the `Hoverfly mailing list <https://groups.google.com/a/specto.io/forum/#!forum/hoverfly>`_
- Raise a `GitHub Issue <https://github.com/SpectoLabs/hoverfly/issues>`_
- Get in touch with `SpectoLabs on Twitter <https://twitter.com/spectolabs>`_
- Get in touch with `iOCO Solutions <https://hoverfly.io/contact-us>`_
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ require (
github.com/codegangsta/negroni v1.0.0
github.com/dghubble/sling v1.4.2
github.com/dsnet/compress v0.0.1
github.com/go-playground/validator/v10 v10.23.0
github.com/go-zoo/bone v1.3.0
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/gorilla/mux v1.8.1
@@ -49,12 +50,16 @@ require (
github.com/aymerick/raymond v2.0.2+incompatible // indirect
github.com/corpix/uarand v0.2.0 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/goccmack/goutil v1.2.3 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/magiconair/properties v1.8.9 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -45,8 +45,18 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s=
github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
github.com/go-playground/validator/v10 v10.23.0 h1:/PwmTwZhS0dPkav3cdK9kV1FsAmrL8sThn8IHr/sO+o=
github.com/go-playground/validator/v10 v10.23.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 h1:p104kn46Q8WdvHunIJ9dAyjPVtrBPhSr3KT2yUst43I=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
@@ -103,6 +113,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
github.com/magiconair/properties v1.8.9 h1:nWcCbLq1N2v/cpNsy5WvQ37Fb+YElfq20WJ/a8RkpQM=
github.com/magiconair/properties v1.8.9/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
1 change: 1 addition & 0 deletions vendor/github.com/gabriel-vasile/mimetype/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions vendor/github.com/gabriel-vasile/mimetype/CODE_OF_CONDUCT.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions vendor/github.com/gabriel-vasile/mimetype/CONTRIBUTING.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions vendor/github.com/gabriel-vasile/mimetype/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading