diff --git a/lighthouse-core/audits/dobetterweb/no-vulnerable-libraries.js b/lighthouse-core/audits/dobetterweb/no-vulnerable-libraries.js index 013a503bed99..eec3543fff40 100644 --- a/lighthouse-core/audits/dobetterweb/no-vulnerable-libraries.js +++ b/lighthouse-core/audits/dobetterweb/no-vulnerable-libraries.js @@ -153,7 +153,7 @@ class NoVulnerableLibrariesAudit extends Audit { vulnCount, detectedLib: { text: lib.name + '@' + version, - url: `https://snyk.io/vuln/npm:${lib.npmPkgName}?lh@${version}`, + url: `https://snyk.io/vuln/npm:${lib.npmPkgName}?lh=${version}`, type: 'link', }, }); diff --git a/lighthouse-core/test/audits/dobetterweb/no-vulnerable-libraries-test.js b/lighthouse-core/test/audits/dobetterweb/no-vulnerable-libraries-test.js index 59828d287f23..c225d7272624 100644 --- a/lighthouse-core/test/audits/dobetterweb/no-vulnerable-libraries-test.js +++ b/lighthouse-core/test/audits/dobetterweb/no-vulnerable-libraries-test.js @@ -40,7 +40,7 @@ describe('Avoids front-end JavaScript libraries with known vulnerabilities', () assert.equal(auditResult.details.items[0].highestSeverity, 'High'); assert.equal(auditResult.details.items[0].detectedLib.type, 'link'); assert.equal(auditResult.details.items[0].detectedLib.text, 'angular@1.1.4'); - assert.equal(auditResult.details.items[0].detectedLib.url, 'https://snyk.io/vuln/npm:angular?lh@1.1.4'); + assert.equal(auditResult.details.items[0].detectedLib.url, 'https://snyk.io/vuln/npm:angular?lh=1.1.4'); }); it('handles ill-specified versions', () => { diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index 284058e3f4bc..8ad99fd76a6b 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -2386,7 +2386,7 @@ "vulnCount": 1, "detectedLib": { "text": "jQuery@2.1.1", - "url": "https://snyk.io/vuln/npm:jquery?lh@2.1.1", + "url": "https://snyk.io/vuln/npm:jquery?lh=2.1.1", "type": "link" } }