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 a504c9f commit 6e25611Copy full SHA for 6e25611
src/shadow/arborist.ts
@@ -13,6 +13,7 @@ import semver from 'semver'
13
14
import config from '@socketsecurity/config'
15
import { isObject } from '@socketsecurity/registry/lib/objects'
16
+import { resolvePackageName } from '@socketsecurity/registry/lib/packages'
17
18
import { createTTYServer } from './tty-server'
19
import {
@@ -458,7 +459,7 @@ async function getPackagesAlerts(
458
459
continue
460
}
461
const { version } = artifact
- const name = `${artifact.namespace ? `${artifact.namespace}/` : ''}${artifact.name}`
462
+ const name = resolvePackageName(<any>artifact)
463
const id = `${name}@${artifact.version}`
464
465
let blocked = false
0 commit comments