File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1- import { PackageData } from './handle-package-info'
21import constants from '../../constants'
32import { getSeverityCount } from '../../utils/alert/severity'
43import { handleApiCall , handleUnsuccessfulApiResponse } from '../../utils/api'
54import { getPublicToken , setupSdk } from '../../utils/sdk'
65
6+ import type { PackageData } from './handle-package-info'
7+
78export async function fetchPackageInfo (
89 pkgName : string ,
910 pkgVersion : string ,
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import constants from '@socketsecurity/registry/lib/constants'
55import { logger } from '@socketsecurity/registry/lib/logger'
66import { hasKeys } from '@socketsecurity/registry/lib/objects'
77
8- import { PackageData } from './handle-package-info'
98import { SEVERITY , formatSeverityCount } from '../../utils/alert/severity'
109import { ColorOrMarkdown } from '../../utils/color-or-markdown'
1110import {
1211 getSocketDevAlertUrl ,
1312 getSocketDevPackageOverviewUrl
1413} from '../../utils/socket-url'
1514
15+ import type { PackageData } from './handle-package-info'
1616import type { SocketSdkReturnType } from '@socketsecurity/sdk'
1717
1818const { NPM } = constants
You can’t perform that action at this time.
0 commit comments