Commit 850745b
fix: use project version in x_generator tag for accurate CVE tracking
The x_generator.engine field in published CVE records was using
client._version from cveClientlib.js (stuck at 1.0.15) instead of
the project version from cveInterface.js (currently 1.0.25).
This means every CVE record published by cveClient has been stamped
with "cveClient/1.0.15" regardless of the actual version in use.
Fixing this allows us to:
- Accurately track which version of cveClient CNAs are using
- Identify CNAs running outdated versions and reach out about upgrades
- Measure adoption of new releases across the CNA community
The fix replaces the conditional client._version lookup with the
global _version constant that stays in sync with CHANGELOG.md and
package.json.
Also removes tests for getadp/deleteadp methods that were removed
in PR #45.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent ac2cf61 commit 850745b
1 file changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
| 642 | + | |
646 | 643 | | |
647 | 644 | | |
648 | 645 | | |
| |||
1817 | 1814 | | |
1818 | 1815 | | |
1819 | 1816 | | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
| 1817 | + | |
1824 | 1818 | | |
1825 | 1819 | | |
1826 | 1820 | | |
| |||
2079 | 2073 | | |
2080 | 2074 | | |
2081 | 2075 | | |
2082 | | - | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
| 2076 | + | |
2086 | 2077 | | |
2087 | 2078 | | |
2088 | 2079 | | |
| |||
0 commit comments