aquasecurity / fanal

Static Analysis Library for Containers
Apache License 2.0
199 stars 100 forks source link

refactor: do not import defsec in types package #537

Closed knqyf263 closed 2 years ago

knqyf263 commented 2 years ago

To add support for WASM modules in Trivy, types package should have fewer dependencies since TinyGo doesn't support some of the dependencies in defsec. This PR re-defines the Code struct in fanal.