Skip to content

Commit

Permalink
Update npm miner test results #518
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Aug 5, 2024
1 parent 0241b80 commit a0fbd12
Show file tree
Hide file tree
Showing 10 changed files with 418 additions and 43 deletions.
8 changes: 8 additions & 0 deletions minecode/tests/testfiles/npm/0flux_npm_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[],
"repository_homepage_url":"https://www.npmjs.com/package/0flux",
Expand Down Expand Up @@ -151,6 +153,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[],
"repository_homepage_url":"https://www.npmjs.com/package/0flux",
Expand Down Expand Up @@ -231,6 +235,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[],
"repository_homepage_url":"https://www.npmjs.com/package/0flux",
Expand Down Expand Up @@ -311,6 +317,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[],
"repository_homepage_url":"https://www.npmjs.com/package/0flux",
Expand Down
15 changes: 14 additions & 1 deletion minecode/tests/testfiles/npm/29_record_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,13 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"extra_data":{},
"is_private":false,
"is_virtual":false,
"extra_data":{
"engines":{
"node":">= 0.8.0"
}
},
"dependencies":[
{
"purl":"pkg:npm/imagesize",
Expand All @@ -109,6 +115,7 @@
"is_runtime":true,
"is_optional":false,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -119,6 +126,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -129,6 +137,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -139,6 +148,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -149,6 +159,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -159,6 +170,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -169,6 +181,7 @@
"is_runtime":true,
"is_optional":false,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
}
Expand Down
2 changes: 2 additions & 0 deletions minecode/tests/testfiles/npm/554_record_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[],
"repository_homepage_url":"https://www.npmjs.com/package/nodotdot",
Expand Down
16 changes: 16 additions & 0 deletions minecode/tests/testfiles/npm/expected_ticket_439.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[
{
Expand All @@ -88,6 +90,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -98,6 +101,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -108,6 +112,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
}
Expand Down Expand Up @@ -199,6 +204,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[
{
Expand All @@ -208,6 +215,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
}
Expand Down Expand Up @@ -299,6 +307,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[
{
Expand All @@ -308,6 +318,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -318,6 +329,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
}
Expand Down Expand Up @@ -409,6 +421,8 @@
"notice_text":null,
"source_packages":[],
"file_references":[],
"is_private":false,
"is_virtual":false,
"extra_data":{},
"dependencies":[
{
Expand All @@ -418,6 +432,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
},
Expand All @@ -428,6 +443,7 @@
"is_runtime":false,
"is_optional":true,
"is_resolved":false,
"is_direct":true,
"resolved_package":{},
"extra_data":{}
}
Expand Down
Loading

0 comments on commit a0fbd12

Please sign in to comment.