# `VulnCheck.Types.Package`
[🔗](https://github.com/Voskan/vulncheck/blob/v1.0.1/lib/vulncheck/types/package.ex#L1)

A locked dependency of the scanned project.

`scope` separates the production runtime closure (`:prod`) from packages that
are only present for development, testing or documentation (`:non_prod`)
and packages only needed to build the production release (`:build_only`:
declared with `runtime: false`, and their dependencies that no runtime
dependency needs).

# `dep_scope`

```elixir
@type dep_scope() :: :prod | :build_only | :non_prod
```

# `source_kind`

```elixir
@type source_kind() :: :hex | :git | :path | :stdlib
```

# `t`

```elixir
@type t() :: %VulnCheck.Types.Package{
  checksum: String.t() | nil,
  deps: [String.t()],
  ebin_dir: String.t() | nil,
  git_ref: String.t() | nil,
  git_url: String.t() | nil,
  hex_name: String.t() | nil,
  inner_checksum: String.t() | nil,
  lock_level: non_neg_integer() | nil,
  lock_line: pos_integer() | nil,
  name: String.t(),
  optional_deps: [String.t()],
  otp_app: String.t() | nil,
  runtime: boolean(),
  scope: dep_scope(),
  source: source_kind(),
  version: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
