We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be33900 commit 3843f7aCopy full SHA for 3843f7a
test.js
@@ -16,9 +16,11 @@ async function t () {
16
assert.ok(await isNodeVulnerable('20.8.0'))
17
assert.ok(await isNodeVulnerable('20.11.0'))
18
19
- const [active, _] = await nv('active')
20
- assert.ok(!await isNodeVulnerable(active))
21
-
+ const activeVersions = await nv('active')
+ for (const active of activeVersions) {
+ assert.ok(!await isNodeVulnerable(active.version))
22
+ }
23
+
24
const ltsVersions = await nv(['lts'])
25
if (ltsVersions.length > 1) {
26
assert.rejects(() => isNodeVulnerable('lts'), /not get exactly one version/)
0 commit comments