mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-07 12:11:29 +01:00
Merge pull request #8 from RustSec/rename-package-to-crate-name
Rename `package` TOML attribute to `crate_name`
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[[advisory]]
|
||||
id = "RUSTSEC-2017-0001"
|
||||
package = "sodiumoxide"
|
||||
crate_name = "sodiumoxide"
|
||||
patched_versions = [">= 0.0.14"]
|
||||
dwf = []
|
||||
date = "2017-01-26"
|
||||
|
||||
@@ -12,7 +12,7 @@ Each advisory contains information in [TOML] format:
|
||||
|
||||
```toml
|
||||
[advisory]
|
||||
package = "mypackage"
|
||||
crate_name = "vulnerablecrate"
|
||||
|
||||
# Versions which were never vulnerable
|
||||
unaffected_versions = ["< 1.1.0"]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[advisory]
|
||||
package = "sodiumoxide"
|
||||
crate_name = "sodiumoxide"
|
||||
patched_versions = [">= 0.0.14"]
|
||||
dwf = []
|
||||
date = "2017-01-26"
|
||||
|
||||
Reference in New Issue
Block a user