You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(deps): removed direct dependencies to gopkg.in/yaml.v3
* fixes#127
The direct dependencies to this archived repo have been replaced by the active
fork imported from go.yaml.in/yaml/v3.
NOTE: an indirect dependency remains from stretchr/testify.
There is an open PR there to solve this stretchr/testify#1772.
There is not much I can do here to remove this indirect test dependency.
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Child modules will continue to evolve or some new ones may be added in the futur
42
42
|`netutils`| networking utilities | host, port from address<br /> |
43
43
|`stringutils`|`string` utilities | search in slice (with case-insensitive)<br />split/join query parameters as arrays<br /> |
44
44
|`typeutils`|`go` types utilities | check the zero value for any type<br />safe check for a nil value<br /> |
45
-
|`yamlutils`| YAML utilities | converting YAML to JSON<br />loading YAML into a dynamic YAML document<br />maintaining the original order of keys in YAML objects<br />require `./jsonutils`<br />~require `github.com/mailru/easyjson`~<br />require `gopkg.in/yaml.v3`<br /> |
45
+
|`yamlutils`| YAML utilities | converting YAML to JSON<br />loading YAML into a dynamic YAML document<br />maintaining the original order of keys in YAML objects<br />require `./jsonutils`<br />~require `github.com/mailru/easyjson`~<br />require `go.yaml.in/yaml/v3`<br /> |
46
46
47
47
---
48
48
@@ -51,7 +51,7 @@ Child modules will continue to evolve or some new ones may be added in the futur
51
51
The root module `github.com/go-openapi/swag` at the repo level maintains a few
52
52
dependencies outside of the standard library.
53
53
54
-
* YAML utilities depend on `gopkg.in/yaml.v3`
54
+
* YAML utilities depend on `go.yaml.in/yaml/v3`
55
55
* JSON utilities depend on their registered adapter module:
56
56
* by default, only the standard library is used
57
57
*`github.com/mailru/easyjson` is now only a dependency for module
@@ -167,13 +167,13 @@ A few ideas:
167
167
168
168
*[x] Complete the split of dependencies to isolate easyjson from the rest
169
169
*[x] Improve CI to reduce needed tests
170
+
*[x] Replace dependency to `gopkg.in/yaml.v3` (`yamlutil`)
170
171
*[ ] Improve mangling utilities (improve readability, support for capitalized words,
171
172
better word substitution for non-letter symbols...)
172
173
*[ ] Move back to this common shared pot a few of the technical features introduced by go-swagger independently
173
174
(e.g. mangle go package names, search package with go modules support, ...)
174
175
*[ ] Apply a similar mono-repo approach to go-openapi/strfmt which suffer from similar woes: bloated API,
175
176
imposed dependency to some database driver.
176
177
*[ ] Adapt `go-swagger` (incl. generated code) to the new `swag` API.
177
-
*[ ] Replace dependency to `gopkg.in/yaml.v3` (`yamlutil`)
178
178
*[ ] Factorize some tests, as there is a lot of redundant testing code in `jsonutils`
0 commit comments