File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 55
66class ComponentJSONMetadataHandler (models .NonAssemblableDatafileHandler ):
77 """
8- Handle JSON metadata files for package analysis.
8+ Handle component JSON metadata files for package analysis.
99 """
1010 datasource_id = "json_metadata"
1111 path_patterns = ("*component.json" ,)
1212 default_package_type = "library"
13- description = "JSON package metadata file"
13+ description = "component JSON package metadata file"
1414
1515 @classmethod
1616 def parse (cls , location , package_only = False ):
@@ -110,12 +110,8 @@ def _process_dependencies(data):
110110 @classmethod
111111 def _extract_license_statement (cls , data ):
112112 """
113- Extract license statement similar to BuildpackHandler.
114-
115- Handles various license formats:
116- - Simple string license
117- - Multiple licenses
118- - Complex license strings
113+ Extract license statement.
114+
119115 """
120116 license_field = data .get ('license' )
121117 if not license_field :
@@ -148,4 +144,4 @@ def _extract_extra_data(data):
148144 field : data [field ]
149145 for field in extra_fields
150146 if field in data
151- }
147+ }
You can’t perform that action at this time.
0 commit comments