From a0fbd12e1fec1218a96c46a30800582e813ae359 Mon Sep 17 00:00:00 2001 From: Jono Yang Date: Mon, 5 Aug 2024 15:19:49 -0700 Subject: [PATCH] Update npm miner test results #518 Signed-off-by: Jono Yang --- .../testfiles/npm/0flux_npm_expected.json | 8 + .../testfiles/npm/29_record_expected.json | 15 +- .../testfiles/npm/554_record_expected.json | 2 + .../testfiles/npm/expected_ticket_439.json | 16 ++ .../testfiles/npm/expected_ticket_440.json | 34 +++ .../testfiles/npm/jsonp-filter-expected.json | 18 +- .../npm/lodash_package-expected.json | 80 +++--- .../testfiles/npm/mapper/index.expected.json | 21 ++ .../npm/microdata-node_expected.json | 265 ++++++++++++++++++ .../testfiles/npm/npm_2112_expected.json | 2 + 10 files changed, 418 insertions(+), 43 deletions(-) diff --git a/minecode/tests/testfiles/npm/0flux_npm_expected.json b/minecode/tests/testfiles/npm/0flux_npm_expected.json index f68f423b..4e3387f5 100644 --- a/minecode/tests/testfiles/npm/0flux_npm_expected.json +++ b/minecode/tests/testfiles/npm/0flux_npm_expected.json @@ -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", @@ -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", @@ -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", @@ -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", diff --git a/minecode/tests/testfiles/npm/29_record_expected.json b/minecode/tests/testfiles/npm/29_record_expected.json index d0c3f41b..de0c88c6 100644 --- a/minecode/tests/testfiles/npm/29_record_expected.json +++ b/minecode/tests/testfiles/npm/29_record_expected.json @@ -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", @@ -109,6 +115,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -119,6 +126,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -129,6 +137,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -139,6 +148,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -149,6 +159,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -159,6 +170,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -169,6 +181,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } diff --git a/minecode/tests/testfiles/npm/554_record_expected.json b/minecode/tests/testfiles/npm/554_record_expected.json index f9835fbe..ecaeae1c 100644 --- a/minecode/tests/testfiles/npm/554_record_expected.json +++ b/minecode/tests/testfiles/npm/554_record_expected.json @@ -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", diff --git a/minecode/tests/testfiles/npm/expected_ticket_439.json b/minecode/tests/testfiles/npm/expected_ticket_439.json index 747eacfb..9951985c 100644 --- a/minecode/tests/testfiles/npm/expected_ticket_439.json +++ b/minecode/tests/testfiles/npm/expected_ticket_439.json @@ -79,6 +79,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -88,6 +90,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -98,6 +101,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -108,6 +112,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -199,6 +204,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -208,6 +215,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -299,6 +307,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -308,6 +318,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -318,6 +329,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -409,6 +421,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -418,6 +432,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -428,6 +443,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } diff --git a/minecode/tests/testfiles/npm/expected_ticket_440.json b/minecode/tests/testfiles/npm/expected_ticket_440.json index 02e00bd3..18a15b8d 100644 --- a/minecode/tests/testfiles/npm/expected_ticket_440.json +++ b/minecode/tests/testfiles/npm/expected_ticket_440.json @@ -79,6 +79,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -88,6 +90,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -98,6 +101,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -108,6 +112,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -118,6 +123,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -128,6 +134,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -138,6 +145,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -228,6 +236,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -237,6 +247,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -247,6 +258,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -257,6 +269,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -267,6 +280,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -277,6 +291,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -287,6 +302,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -297,6 +313,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -307,6 +324,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -317,6 +335,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -327,6 +346,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -337,6 +357,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -427,6 +448,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -436,6 +459,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -446,6 +470,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -456,6 +481,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -466,6 +492,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -476,6 +503,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -486,6 +514,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -496,6 +525,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -506,6 +536,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -516,6 +547,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -526,6 +558,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -536,6 +569,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } diff --git a/minecode/tests/testfiles/npm/jsonp-filter-expected.json b/minecode/tests/testfiles/npm/jsonp-filter-expected.json index 184151c8..7cc1e1f3 100644 --- a/minecode/tests/testfiles/npm/jsonp-filter-expected.json +++ b/minecode/tests/testfiles/npm/jsonp-filter-expected.json @@ -76,7 +76,13 @@ "notice_text":null, "source_packages":[], "file_references":[], - "extra_data":{}, + "is_private":false, + "is_virtual":false, + "extra_data":{ + "engines":{ + "node":">= 0.4.5" + } + }, "dependencies":[ { "purl":"pkg:npm/styout", @@ -85,6 +91,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -172,7 +179,13 @@ "notice_text":null, "source_packages":[], "file_references":[], - "extra_data":{}, + "is_private":false, + "is_virtual":false, + "extra_data":{ + "engines":{ + "node":">= 0.4.5" + } + }, "dependencies":[ { "purl":"pkg:npm/styout", @@ -181,6 +194,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } diff --git a/minecode/tests/testfiles/npm/lodash_package-expected.json b/minecode/tests/testfiles/npm/lodash_package-expected.json index ae468fd8..4ac7d18a 100644 --- a/minecode/tests/testfiles/npm/lodash_package-expected.json +++ b/minecode/tests/testfiles/npm/lodash_package-expected.json @@ -1,24 +1,31 @@ { "name":"lodash", "version":"4.17.21", - "description":"Lodash modular utilities.", "keywords":[ "modules", "stdlib", "util" ], - "homepage":"https://lodash.com/", - "repository":{ - "type":"git", - "url":"git+https://github.com/lodash/lodash.git" - }, - "icon":"https://lodash.com/icon.svg", - "license":"MIT", - "main":"lodash.js", "author":{ "name":"John-David Dalton", "email":"john.david.dalton@gmail.com" }, + "license":"MIT", + "_id":"lodash@4.17.21", + "maintainers":[ + { + "name":"mathias", + "email":"mathias@qiwi.be" + }, + { + "name":"jdalton", + "email":"john.david.dalton@gmail.com" + }, + { + "name":"bnjmnt4n", + "email":"benjamin@dev.ofcr.se" + } + ], "contributors":[ { "name":"John-David Dalton", @@ -29,52 +36,45 @@ "email":"mathias@qiwi.be" } ], - "scripts":{ - "test":"echo \"See https://travis-ci.org/lodash-archive/lodash-cli for testing details.\"" - }, - "gitHead":"c6e281b878b315c7a10d90f9c2af4cdb112d9625", + "homepage":"https://lodash.com/", "bugs":{ "url":"https://github.com/lodash/lodash/issues" }, - "_id":"lodash@4.17.21", - "_nodeVersion":"14.15.5", - "_npmVersion":"6.14.11", "dist":{ - "integrity":"sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "shasum":"679591c564c3bffaae8454cf0b3df370c3d6911c", "tarball":"https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "fileCount":1054, - "unpackedSize":1412415, - "npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMS3ZCRA9TVsSAnZWagAA8+4P/jx+SJ6Ue5oAJjz0L7gw\nLDD5YvP8aoliFq4GYkwUXfVQvOwomIPfa+U5Kao/hDfuwFQ/Bq5D5nSsl2bj\nrjJgvlKXna0SId8AgDgY2fB7zSfninuJvalY4iTWMN8DFSpG0XE2QFfoKpd3\njDmuzcNtgr79QV6DgjOVkHiP1IGNDlLTc1QEKiwo/5CdGQi1q/iCj6dViQMJ\nByuuuV2Qzi3f/FI25cG797WZar1MHhhlcnB50HiVBGp54IZOyuqdqWPduZQo\nvhONtonxPGBm3/J+uAkeUSSyL3Ud+FzLvdg8WEI9gDL0yvU4k0FcsnOONEYn\nngLaKEsw2xAnPBYW3Lf73Jnpwx6FAT3k49kgzxiNYSxEo7x4wiuNtBoDMyNw\nEKj6SZ0bUNmaJgiMfDnnDjCKjI3JrO1hho8z6CkwuvxuWLlW9wSsVayggzAI\nEhfeTeISugVHh332oDY2MI/Ysu8MnVN8fGmqeYQBBFj3aWatuA2NvVjACnX/\n54G7FtCU8TxZpm9shFRSopBx8PeI3r+icx1CT8YVFypY416PLnidHyqtME1G\neuRd1nWEz18hvVUAEHmuvHo+EPP3tITmTTUPQcZGMdBcZC+4UBmPMWX466HE\nbHw4aOnUWMa0sWfsERC5xzRZAb4lgMPEoTOnZyN4usMy7x9TzGZKZvU24HUE\nmpae\r\n=NOmG\r\n-----END PGP SIGNATURE-----\r\n", + "integrity":"sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "signatures":[ { - "keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA", - "sig":"MEUCIF3Yithbtmy1aEBNlfNWbLswAfPIyQUuNUGARD3Ex2t4AiEA6TlN2ZKJCUpS/Sf2Z6MduF1BNSvayHIpu5wAcICcKXw=" + "sig":"MEUCIF3Yithbtmy1aEBNlfNWbLswAfPIyQUuNUGARD3Ex2t4AiEA6TlN2ZKJCUpS/Sf2Z6MduF1BNSvayHIpu5wAcICcKXw=", + "keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA" } - ] + ], + "unpackedSize":1412415, + "npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMS3ZCRA9TVsSAnZWagAA8+4P/jx+SJ6Ue5oAJjz0L7gw\nLDD5YvP8aoliFq4GYkwUXfVQvOwomIPfa+U5Kao/hDfuwFQ/Bq5D5nSsl2bj\nrjJgvlKXna0SId8AgDgY2fB7zSfninuJvalY4iTWMN8DFSpG0XE2QFfoKpd3\njDmuzcNtgr79QV6DgjOVkHiP1IGNDlLTc1QEKiwo/5CdGQi1q/iCj6dViQMJ\nByuuuV2Qzi3f/FI25cG797WZar1MHhhlcnB50HiVBGp54IZOyuqdqWPduZQo\nvhONtonxPGBm3/J+uAkeUSSyL3Ud+FzLvdg8WEI9gDL0yvU4k0FcsnOONEYn\nngLaKEsw2xAnPBYW3Lf73Jnpwx6FAT3k49kgzxiNYSxEo7x4wiuNtBoDMyNw\nEKj6SZ0bUNmaJgiMfDnnDjCKjI3JrO1hho8z6CkwuvxuWLlW9wSsVayggzAI\nEhfeTeISugVHh332oDY2MI/Ysu8MnVN8fGmqeYQBBFj3aWatuA2NvVjACnX/\n54G7FtCU8TxZpm9shFRSopBx8PeI3r+icx1CT8YVFypY416PLnidHyqtME1G\neuRd1nWEz18hvVUAEHmuvHo+EPP3tITmTTUPQcZGMdBcZC+4UBmPMWX466HE\nbHw4aOnUWMa0sWfsERC5xzRZAb4lgMPEoTOnZyN4usMy7x9TzGZKZvU24HUE\nmpae\r\n=NOmG\r\n-----END PGP SIGNATURE-----\r\n" + }, + "icon":"https://lodash.com/icon.svg", + "main":"lodash.js", + "gitHead":"c6e281b878b315c7a10d90f9c2af4cdb112d9625", + "scripts":{ + "test":"echo \"See https://travis-ci.org/lodash-archive/lodash-cli for testing details.\"" }, "_npmUser":{ "name":"bnjmnt4n", "email":"benjamin@dev.ofcr.se" }, + "repository":{ + "url":"git+https://github.com/lodash/lodash.git", + "type":"git" + }, + "_npmVersion":"6.14.11", + "description":"Lodash modular utilities.", "directories":{}, - "maintainers":[ - { - "name":"mathias", - "email":"mathias@qiwi.be" - }, - { - "name":"jdalton", - "email":"john.david.dalton@gmail.com" - }, - { - "name":"bnjmnt4n", - "email":"benjamin@dev.ofcr.se" - } - ], + "_nodeVersion":"14.15.5", + "_hasShrinkwrap":false, "_npmOperationalInternal":{ - "host":"s3://npm-registry-packages", - "tmp":"tmp/lodash_4.17.21_1613835736675_0.01913912595366596" - }, - "_hasShrinkwrap":false + "tmp":"tmp/lodash_4.17.21_1613835736675_0.01913912595366596", + "host":"s3://npm-registry-packages" + } } \ No newline at end of file diff --git a/minecode/tests/testfiles/npm/mapper/index.expected.json b/minecode/tests/testfiles/npm/mapper/index.expected.json index ffdbec9c..7f774bbd 100644 --- a/minecode/tests/testfiles/npm/mapper/index.expected.json +++ b/minecode/tests/testfiles/npm/mapper/index.expected.json @@ -64,6 +64,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -73,6 +75,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -83,6 +86,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -93,6 +97,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -103,6 +108,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -113,6 +119,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -188,6 +195,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -197,6 +206,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -207,6 +217,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -217,6 +228,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -227,6 +239,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -237,6 +250,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -312,6 +326,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -321,6 +337,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -331,6 +348,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -341,6 +359,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -351,6 +370,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -361,6 +381,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } diff --git a/minecode/tests/testfiles/npm/microdata-node_expected.json b/minecode/tests/testfiles/npm/microdata-node_expected.json index 7cc01b01..662a1dd5 100644 --- a/minecode/tests/testfiles/npm/microdata-node_expected.json +++ b/minecode/tests/testfiles/npm/microdata-node_expected.json @@ -74,6 +74,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -83,6 +85,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -93,6 +96,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -103,6 +107,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -113,6 +118,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -123,6 +129,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -133,6 +140,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -143,6 +151,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -153,6 +162,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -163,6 +173,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -173,6 +184,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -183,6 +195,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -193,6 +206,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -203,6 +217,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -213,6 +228,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -298,6 +314,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -307,6 +325,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -317,6 +336,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -327,6 +347,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -337,6 +358,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -347,6 +369,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -357,6 +380,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -367,6 +391,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -377,6 +402,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -387,6 +413,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -397,6 +424,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -407,6 +435,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -417,6 +446,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -427,6 +457,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -437,6 +468,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -447,6 +479,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -532,6 +565,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -541,6 +576,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -551,6 +587,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -561,6 +598,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -571,6 +609,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -581,6 +620,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -591,6 +631,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -676,6 +717,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -685,6 +728,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -695,6 +739,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -705,6 +750,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -715,6 +761,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -725,6 +772,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -735,6 +783,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -745,6 +794,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -830,6 +880,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -839,6 +891,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -849,6 +902,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -859,6 +913,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -869,6 +924,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -879,6 +935,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -889,6 +946,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -899,6 +957,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -909,6 +968,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -919,6 +979,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1004,6 +1065,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1013,6 +1076,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1023,6 +1087,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1033,6 +1098,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1043,6 +1109,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1053,6 +1120,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1063,6 +1131,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1148,6 +1217,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1157,6 +1228,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1167,6 +1239,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1177,6 +1250,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1187,6 +1261,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1197,6 +1272,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1207,6 +1283,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1292,6 +1369,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1301,6 +1380,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1311,6 +1391,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1321,6 +1402,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1331,6 +1413,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1341,6 +1424,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1351,6 +1435,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1436,6 +1521,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1445,6 +1532,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1455,6 +1543,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1465,6 +1554,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1475,6 +1565,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1485,6 +1576,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1495,6 +1587,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1580,6 +1673,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1589,6 +1684,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1599,6 +1695,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1609,6 +1706,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1619,6 +1717,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1629,6 +1728,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1639,6 +1739,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1724,6 +1825,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1733,6 +1836,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1743,6 +1847,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1753,6 +1858,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1763,6 +1869,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1773,6 +1880,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1783,6 +1891,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1793,6 +1902,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1803,6 +1913,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1813,6 +1924,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1823,6 +1935,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1833,6 +1946,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1843,6 +1957,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1853,6 +1968,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -1938,6 +2054,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -1947,6 +2065,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1957,6 +2076,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1967,6 +2087,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1977,6 +2098,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1987,6 +2109,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -1997,6 +2120,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2007,6 +2131,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2017,6 +2142,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2027,6 +2153,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2037,6 +2164,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2047,6 +2175,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2057,6 +2186,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2067,6 +2197,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -2152,6 +2283,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -2161,6 +2294,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2171,6 +2305,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2181,6 +2316,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2191,6 +2327,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2201,6 +2338,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2211,6 +2349,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2221,6 +2360,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2231,6 +2371,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2241,6 +2382,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2251,6 +2393,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2261,6 +2404,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2271,6 +2415,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2281,6 +2426,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2291,6 +2437,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -2376,6 +2523,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -2385,6 +2534,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2395,6 +2545,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2405,6 +2556,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2415,6 +2567,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2425,6 +2578,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2435,6 +2589,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2445,6 +2600,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2455,6 +2611,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2465,6 +2622,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2475,6 +2633,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2485,6 +2644,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2495,6 +2655,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2505,6 +2666,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2515,6 +2677,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2525,6 +2688,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -2610,6 +2774,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -2619,6 +2785,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2629,6 +2796,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2639,6 +2807,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2649,6 +2818,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2659,6 +2829,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2669,6 +2840,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2679,6 +2851,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2689,6 +2862,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2699,6 +2873,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -2784,6 +2959,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -2793,6 +2970,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2803,6 +2981,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2813,6 +2992,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2823,6 +3003,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2833,6 +3014,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2843,6 +3025,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2853,6 +3036,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2863,6 +3047,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2873,6 +3058,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -2958,6 +3144,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -2967,6 +3155,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2977,6 +3166,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2987,6 +3177,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -2997,6 +3188,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3007,6 +3199,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3092,6 +3285,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3101,6 +3296,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3111,6 +3307,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3121,6 +3318,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3131,6 +3329,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3141,6 +3340,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3226,6 +3426,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3235,6 +3437,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3245,6 +3448,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3255,6 +3459,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3265,6 +3470,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3275,6 +3481,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3360,6 +3567,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3369,6 +3578,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3379,6 +3589,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3389,6 +3600,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3399,6 +3611,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3409,6 +3622,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3494,6 +3708,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3503,6 +3719,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3513,6 +3730,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3523,6 +3741,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3533,6 +3752,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3618,6 +3838,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3627,6 +3849,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3637,6 +3860,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3647,6 +3871,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3657,6 +3882,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3667,6 +3893,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3752,6 +3979,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3761,6 +3990,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3771,6 +4001,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3781,6 +4012,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3791,6 +4023,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -3876,6 +4109,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -3885,6 +4120,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3895,6 +4131,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3905,6 +4142,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3915,6 +4153,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3925,6 +4164,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3935,6 +4175,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3945,6 +4186,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3955,6 +4197,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3965,6 +4208,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3975,6 +4219,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3985,6 +4230,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -3995,6 +4241,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4005,6 +4252,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4015,6 +4263,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4025,6 +4274,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -4110,6 +4360,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -4119,6 +4371,7 @@ "is_runtime":true, "is_optional":false, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4129,6 +4382,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4139,6 +4393,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4149,6 +4404,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4159,6 +4415,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4169,6 +4426,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } @@ -4254,6 +4512,8 @@ "notice_text":null, "source_packages":[], "file_references":[], + "is_private":false, + "is_virtual":false, "extra_data":{}, "dependencies":[ { @@ -4263,6 +4523,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4273,6 +4534,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4283,6 +4545,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4293,6 +4556,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} }, @@ -4303,6 +4567,7 @@ "is_runtime":false, "is_optional":true, "is_resolved":false, + "is_direct":true, "resolved_package":{}, "extra_data":{} } diff --git a/minecode/tests/testfiles/npm/npm_2112_expected.json b/minecode/tests/testfiles/npm/npm_2112_expected.json index 2647d65e..ad9bcfa3 100644 --- a/minecode/tests/testfiles/npm/npm_2112_expected.json +++ b/minecode/tests/testfiles/npm/npm_2112_expected.json @@ -74,6 +74,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/2112",