Skip to content

Commit 73ede6e

Browse files
authored
test: add latest sec release tests (#31)
1 parent b03e4d1 commit 73ede6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ async function t () {
1414
assert.ok(await isNodeVulnerable('16.19.0'))
1515
assert.ok(await isNodeVulnerable('20.8.0'))
1616
assert.ok(await isNodeVulnerable('20.11.0'))
17+
assert.ok(await isNodeVulnerable('23.6.0'))
1718

1819
assert.rejects(() => isNodeVulnerable('999'), /Could not fetch version information/)
1920
assert.rejects(() => isNodeVulnerable('Unobtanium'), /Could not fetch version information/) // i.e. not found
2021
assert.rejects(() => isNodeVulnerable('25.0.0'), /Could not fetch version information/)
2122

2223
// EOL
24+
assert.ok(await isNodeVulnerable('21.0.0'))
2325
assert.ok(await isNodeVulnerable('19.0.0'))
2426
assert.ok(await isNodeVulnerable('16.0.0'))
2527
assert.ok(await isNodeVulnerable('17.0.0'))

0 commit comments

Comments
 (0)