Skip to content

Commit

Permalink
Fix link to security advisory (#7091)
Browse files Browse the repository at this point in the history
The Node Security Platform (nodesecurity.io) was acquired by npm in April 2018. https://nodesecurity.io/advisories is no longer available nowadays, however, all security advisories are available on https://www.npmjs.com/advisories.
  • Loading branch information
sonicdoe authored and arcanis committed Mar 8, 2019
1 parent b66549d commit 379ed0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa

## Master

- Fixes the advisory link printed by `yarn audit`

[#7091](https://github.com/yarnpkg/yarn/pull/7091) - [**Jakob Krigovsky**](https://github.com/sonicdoe)

- Fixes `npm_config_` environment variable parsing to support those prefixed with underscore (ex: `_auth`)

[#7070](https://github.com/yarnpkg/yarn/pull/7070) - [**Nicholas Boll**](https://github.com/NicholasBoll)
Expand Down
2 changes: 1 addition & 1 deletion src/reporters/console/console-reporter.js
Expand Up @@ -565,7 +565,7 @@ export default class ConsoleReporter extends BaseReporter {
...patchRows,
{'Dependency of': `${resolution.path.split('>')[0]} ${resolution.dev ? '[dev]' : ''}`},
{Path: resolution.path.split('>').join(' > ')},
{'More info': `https://nodesecurity.io/advisories/${auditAdvisory.id}`},
{'More info': `https://www.npmjs.com/advisories/${auditAdvisory.id}`},
];
}

Expand Down

0 comments on commit 379ed0a

Please sign in to comment.