Skip to content

Commit bd0b94c

Browse files
committed
test: add v19, v20, and v16 assets
1 parent a3aa800 commit bd0b94c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ async function t () {
1212
assert.ok(await isNodeVulnerable('19.6.0'))
1313
assert.ok(await isNodeVulnerable('18.14.0'))
1414
assert.ok(await isNodeVulnerable('16.19.0'))
15+
assert.ok(await isNodeVulnerable('20.8.0'))
1516

1617
assert.rejects(() => isNodeVulnerable('lts'), /not get exactly one version/)
1718
assert.rejects(() => isNodeVulnerable('999'), /not get exactly one version/)
1819
assert.rejects(() => isNodeVulnerable('Unobtanium'), /not get exactly one version/) // i.e. not found
1920
assert.rejects(() => isNodeVulnerable('21.0.0'), /not get exactly one version/)
2021

2122
// EOL
23+
// EOL
24+
assert.ok(await isNodeVulnerable('19.0.0'))
25+
assert.ok(await isNodeVulnerable('16.0.0'))
2226
assert.ok(await isNodeVulnerable('17.0.0'))
2327
assert.ok(await isNodeVulnerable('15.0.0'))
2428
assert.ok(await isNodeVulnerable('13.0.0'))

0 commit comments

Comments
 (0)