uap-go icon indicating copy to clipboard operation
uap-go copied to clipboard

deps: upgraded dependency

Open ramisback opened this issue 1 year ago • 1 comments

There were vulernabilities in older dependencies so I have upgraded it

(GO-2020-0036) (GO-2021-0061) (GO-2022-0956)

ramisback avatar Sep 26 '24 01:09 ramisback

have you run the tests? https://github.com/ua-parser/uap-go?tab=readme-ov-file#testing unfortunately these aren't automated yet.

Also should mention, I took a look at the mentioned vulnerabilities. Practically they aren't interesting for this package - they are all about DOS against the yaml parser, but we don't parse user-supplied yaml. I think we actually just parse the uap-core yaml at build time. That said upgrading is probably a good idea so happy to accept the upgrades, provided the tests pass.

dgoldstein0 avatar Oct 12 '24 04:10 dgoldstein0

have you run the tests? https://github.com/ua-parser/uap-go?tab=readme-ov-file#testing unfortunately these aren't automated yet.

Would you accept a PR to setup test in CI using Github Actions?

pior avatar Jan 27 '25 10:01 pior

have you run the tests? https://github.com/ua-parser/uap-go?tab=readme-ov-file#testing unfortunately these aren't automated yet.

Would you accept a PR to setup test in CI using Github Actions?

sure, please send one!

dgoldstein0 avatar Jan 29 '25 08:01 dgoldstein0

have you run the tests? https://github.com/ua-parser/uap-go?tab=readme-ov-file#testing unfortunately these aren't automated yet.

Also should mention, I took a look at the mentioned vulnerabilities. Practically they aren't interesting for this package - they are all about DOS against the yaml parser, but we don't parse user-supplied yaml. I think we actually just parse the uap-core yaml at build time. That said upgrading is probably a good idea so happy to accept the upgrades, provided the tests pass.

Yes, all tests are passing, I have also replaced deprecated ioutil with os package It can be seen here reference

ramisback avatar Jan 31 '25 01:01 ramisback

so we just added github actions to automate the tests. is there an easy way to see that in action here? if not I can just merge it and hope for the best but it'd be nice to see it passing on this first

dgoldstein0 avatar Feb 13 '25 22:02 dgoldstein0

The author of the PR needs to rebase their branch on master, the CI will kick in then

pior avatar Feb 14 '25 08:02 pior