Skip to content

Commit a6dea7d

Browse files
authored
Merge pull request #2953 from opossum-tool/feat/improve_package_typeahead
feat: improve package typeahead
2 parents 09f0a18 + fc4b0fc commit a6dea7d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/Frontend/Components/AttributionForm/PackageSubPanel/PackageSubPanel.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,30 @@ import { AttributionFormConfig } from '../AttributionForm';
2828
import { attributionColumnClasses } from '../AttributionForm.style';
2929
import { PackageAutocomplete } from '../PackageAutocomplete/PackageAutocomplete';
3030

31-
/** https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst */
31+
/** https://github.com/package-url/purl-spec/blob/main/purl-types-index.json */
3232
const COMMON_PACKAGE_TYPES = [
33+
'alpm',
34+
'apk',
35+
'bazel',
3336
'bitbucket',
37+
'bitnami',
3438
'cargo',
39+
'cocoapods',
3540
'composer',
3641
'conan',
3742
'conda',
43+
'cpan',
3844
'cran',
3945
'deb',
4046
'docker',
4147
'gem',
42-
'generic',
4348
'github',
44-
'gitlab',
4549
'golang',
4650
'hackage',
4751
'hex',
4852
'huggingface',
53+
'julia',
54+
'luarocks',
4955
'maven',
5056
'mlflow',
5157
'npm',
@@ -55,7 +61,6 @@ const COMMON_PACKAGE_TYPES = [
5561
'pypi',
5662
'qpkg',
5763
'rpm',
58-
'rpm',
5964
'swid',
6065
'swift',
6166
];

0 commit comments

Comments
 (0)