1
+ {
2
+ "headers" : [
3
+ {
4
+ "tool_name" : " scancode-toolkit" ,
5
+ "tool_version" : " 31.0.0rc3" ,
6
+ "options" : {
7
+ "input" : [
8
+ " ."
9
+ ],
10
+ "--info" : true ,
11
+ "--json-pp" : " ../get_package_resources.scan.json" ,
12
+ "--package" : true
13
+ },
14
+ "notice" : " Generated with ScanCode and provided on an \" AS IS\" BASIS, WITHOUT WARRANTIES\n OR CONDITIONS OF ANY KIND, either express or implied. No content created from\n ScanCode should be considered or used as legal advice. Consult an Attorney\n for any legal advice.\n ScanCode is a free software code scanning tool from nexB Inc. and others.\n Visit https://github.com/nexB/scancode-toolkit/ for support and download." ,
15
+ "start_timestamp" : " 2022-08-01T185859.869487" ,
16
+ "end_timestamp" : " 2022-08-01T185902.232500" ,
17
+ "output_format_version" : " 2.0.0" ,
18
+ "duration" : 2.363025665283203 ,
19
+ "message" : null ,
20
+ "errors" : [],
21
+ "warnings" : [],
22
+ "extra_data" : {
23
+ "system_environment" : {
24
+ "operating_system" : " linux" ,
25
+ "cpu_architecture" : " 64" ,
26
+ "platform" : " Linux-5.4.0-122-generic-x86_64-with-glibc2.27" ,
27
+ "platform_version" : " #138~18.04.1-Ubuntu SMP Fri Jun 24 14:14:03 UTC 2022" ,
28
+ "python_version" : " 3.10.4 (main, May 22 2022, 00:46:26) [GCC 7.5.0]"
29
+ },
30
+ "spdx_license_list_version" : " 3.17" ,
31
+ "files_count" : 3
32
+ }
33
+ }
34
+ ],
35
+ "dependencies" : [],
36
+ "packages" : [],
37
+ "files" : [
38
+ {
39
+ "path" : " get_package_resources" ,
40
+ "type" : " directory" ,
41
+ "name" : " get_package_resources" ,
42
+ "base_name" : " get_package_resources" ,
43
+ "extension" : " " ,
44
+ "size" : 0 ,
45
+ "date" : null ,
46
+ "sha1" : null ,
47
+ "md5" : null ,
48
+ "sha256" : null ,
49
+ "mime_type" : null ,
50
+ "file_type" : null ,
51
+ "programming_language" : null ,
52
+ "is_binary" : false ,
53
+ "is_text" : false ,
54
+ "is_archive" : false ,
55
+ "is_media" : false ,
56
+ "is_source" : false ,
57
+ "is_script" : false ,
58
+ "package_data" : [],
59
+ "for_packages" : [],
60
+ "files_count" : 3 ,
61
+ "dirs_count" : 1 ,
62
+ "size_count" : 63 ,
63
+ "scan_errors" : []
64
+ },
65
+ {
66
+ "path" : " get_package_resources/package.json" ,
67
+ "type" : " file" ,
68
+ "name" : " package.json" ,
69
+ "base_name" : " package" ,
70
+ "extension" : " .json" ,
71
+ "size" : 63 ,
72
+ "date" : " 2022-02-15" ,
73
+ "sha1" : " 47ad6746a065a22a4c2a119cb425c250bddfbf88" ,
74
+ "md5" : " 5cbb43ca814ec801e8673e348e8eec19" ,
75
+ "sha256" : " aac331f407d4d662a2897eafeb4f05a1c2343218220d99779c9553d3b92bd4ac" ,
76
+ "mime_type" : " application/json" ,
77
+ "file_type" : " JSON data" ,
78
+ "programming_language" : null ,
79
+ "is_binary" : false ,
80
+ "is_text" : true ,
81
+ "is_archive" : false ,
82
+ "is_media" : false ,
83
+ "is_source" : false ,
84
+ "is_script" : false ,
85
+ "package_data" : [
86
+ {
87
+ "type" : " npm" ,
88
+ "namespace" : null ,
89
+ "name" : " test" ,
90
+ "version" : " 0.1.0" ,
91
+ "qualifiers" : {},
92
+ "subpath" : null ,
93
+ "primary_language" : " JavaScript" ,
94
+ "description" : null ,
95
+ "release_date" : null ,
96
+ "parties" : [],
97
+ "keywords" : [],
98
+ "homepage_url" : null ,
99
+ "download_url" : " https://registry.npmjs.org/test/-/test-0.1.0.tgz" ,
100
+ "size" : null ,
101
+ "sha1" : null ,
102
+ "md5" : null ,
103
+ "sha256" : null ,
104
+ "sha512" : null ,
105
+ "bug_tracking_url" : null ,
106
+ "code_view_url" : null ,
107
+ "vcs_url" : null ,
108
+ "copyright" : null ,
109
+ "license_expression" : " mit" ,
110
+ "declared_license" : [
111
+ " MIT"
112
+ ],
113
+ "notice_text" : null ,
114
+ "source_packages" : [],
115
+ "file_references" : [],
116
+ "extra_data" : {},
117
+ "dependencies" : [],
118
+ "repository_homepage_url" : " https://www.npmjs.com/package/test" ,
119
+ "repository_download_url" : " https://registry.npmjs.org/test/-/test-0.1.0.tgz" ,
120
+ "api_data_url" : " https://registry.npmjs.org/test/0.1.0" ,
121
+ "datasource_id" : " npm_package_json" ,
122
+ "purl" :
" pkg:npm/[email protected] "
123
+ }
124
+ ],
125
+ "for_packages" : [],
126
+ "files_count" : 0 ,
127
+ "dirs_count" : 0 ,
128
+ "size_count" : 0 ,
129
+ "scan_errors" : []
130
+ },
131
+ {
132
+ "path" : " get_package_resources/this-should-be-returned" ,
133
+ "type" : " file" ,
134
+ "name" : " this-should-be-returned" ,
135
+ "base_name" : " this-should-be-returned" ,
136
+ "extension" : " " ,
137
+ "size" : 0 ,
138
+ "date" : " 2022-02-15" ,
139
+ "sha1" : null ,
140
+ "md5" : null ,
141
+ "sha256" : null ,
142
+ "mime_type" : " inode/x-empty" ,
143
+ "file_type" : " empty" ,
144
+ "programming_language" : null ,
145
+ "is_binary" : false ,
146
+ "is_text" : true ,
147
+ "is_archive" : false ,
148
+ "is_media" : false ,
149
+ "is_source" : false ,
150
+ "is_script" : false ,
151
+ "package_data" : [],
152
+ "for_packages" : [],
153
+ "files_count" : 0 ,
154
+ "dirs_count" : 0 ,
155
+ "size_count" : 0 ,
156
+ "scan_errors" : []
157
+ },
158
+ {
159
+ "path" : " get_package_resources/node_modules" ,
160
+ "type" : " directory" ,
161
+ "name" : " node_modules" ,
162
+ "base_name" : " node_modules" ,
163
+ "extension" : " " ,
164
+ "size" : 0 ,
165
+ "date" : null ,
166
+ "sha1" : null ,
167
+ "md5" : null ,
168
+ "sha256" : null ,
169
+ "mime_type" : null ,
170
+ "file_type" : null ,
171
+ "programming_language" : null ,
172
+ "is_binary" : false ,
173
+ "is_text" : false ,
174
+ "is_archive" : false ,
175
+ "is_media" : false ,
176
+ "is_source" : false ,
177
+ "is_script" : false ,
178
+ "package_data" : [],
179
+ "for_packages" : [],
180
+ "files_count" : 1 ,
181
+ "dirs_count" : 0 ,
182
+ "size_count" : 0 ,
183
+ "scan_errors" : []
184
+ },
185
+ {
186
+ "path" : " get_package_resources/node_modules/this-should-not-be-returned" ,
187
+ "type" : " file" ,
188
+ "name" : " this-should-not-be-returned" ,
189
+ "base_name" : " this-should-not-be-returned" ,
190
+ "extension" : " " ,
191
+ "size" : 0 ,
192
+ "date" : " 2022-02-15" ,
193
+ "sha1" : null ,
194
+ "md5" : null ,
195
+ "sha256" : null ,
196
+ "mime_type" : " inode/x-empty" ,
197
+ "file_type" : " empty" ,
198
+ "programming_language" : null ,
199
+ "is_binary" : false ,
200
+ "is_text" : true ,
201
+ "is_archive" : false ,
202
+ "is_media" : false ,
203
+ "is_source" : false ,
204
+ "is_script" : false ,
205
+ "package_data" : [],
206
+ "for_packages" : [],
207
+ "files_count" : 0 ,
208
+ "dirs_count" : 0 ,
209
+ "size_count" : 0 ,
210
+ "scan_errors" : []
211
+ }
212
+ ]
213
+ }
0 commit comments