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
Namestring// the package's own name, when the format declares one
186
187
Versionstring// the package's own version, when declared
188
+
Licenses []string// raw declared license values
189
+
LicenseFilestring// manifest-relative path to a declared license file
187
190
Dependencies []Dependency
188
191
}
189
192
```
190
193
191
194
`Name` and `Version` are populated for manifest formats that declare their own package identity (Cargo.toml `[package]`, package.json `"name"`, go.mod `module`, `.gemspec`, and so on). They are empty for lockfiles and for dependency-only files like Gemfile or requirements.txt.
192
195
196
+
`Licenses` contains decoded values as declared by the manifest; it does not normalize them into SPDX expressions. `LicenseFile` is populated when a format explicitly identifies a license file. Both are empty for formats without license metadata.
0 commit comments