File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,17 @@ async function t () {
12
12
assert . ok ( await isNodeVulnerable ( '19.6.0' ) )
13
13
assert . ok ( await isNodeVulnerable ( '18.14.0' ) )
14
14
assert . ok ( await isNodeVulnerable ( '16.19.0' ) )
15
+ assert . ok ( await isNodeVulnerable ( '20.8.0' ) )
15
16
16
17
assert . rejects ( ( ) => isNodeVulnerable ( 'lts' ) , / n o t g e t e x a c t l y o n e v e r s i o n / )
17
18
assert . rejects ( ( ) => isNodeVulnerable ( '999' ) , / n o t g e t e x a c t l y o n e v e r s i o n / )
18
19
assert . rejects ( ( ) => isNodeVulnerable ( 'Unobtanium' ) , / n o t g e t e x a c t l y o n e v e r s i o n / ) // i.e. not found
19
20
assert . rejects ( ( ) => isNodeVulnerable ( '21.0.0' ) , / n o t g e t e x a c t l y o n e v e r s i o n / )
20
21
21
22
// EOL
23
+ // EOL
24
+ assert . ok ( await isNodeVulnerable ( '19.0.0' ) )
25
+ assert . ok ( await isNodeVulnerable ( '16.0.0' ) )
22
26
assert . ok ( await isNodeVulnerable ( '17.0.0' ) )
23
27
assert . ok ( await isNodeVulnerable ( '15.0.0' ) )
24
28
assert . ok ( await isNodeVulnerable ( '13.0.0' ) )
You can’t perform that action at this time.
0 commit comments