From 9b3a113d08a8e97e5e571699a889eabf5a0b6262 Mon Sep 17 00:00:00 2001 From: "John M. Horan" Date: Wed, 19 Jun 2024 12:49:01 -0700 Subject: [PATCH] Simplify test files, enable test regeneration #116 Reference: https://github.com/nexB/fetchcode/issues/116 Signed-off-by: John M. Horan --- tests/data/bitbucket.json | 16 +- tests/data/cargo.json | 130 +++++----- tests/data/npm.json | 534 +++++++++++++++++++------------------- tests/data/pypi.json | 74 +++--- tests/data/rubygems.json | 6 +- tests/test_package.py | 11 +- 6 files changed, 388 insertions(+), 383 deletions(-) diff --git a/tests/data/bitbucket.json b/tests/data/bitbucket.json index e902320..60bfd27 100644 --- a/tests/data/bitbucket.json +++ b/tests/data/bitbucket.json @@ -1,5 +1,5 @@ -{ - "0": { +[ + { "type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", @@ -35,7 +35,7 @@ "repository_download_url": null, "api_data_url": null }, - "1": { + { "type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", @@ -71,7 +71,7 @@ "repository_download_url": null, "api_data_url": null }, - "2": { + { "type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", @@ -107,7 +107,7 @@ "repository_download_url": null, "api_data_url": null }, - "3": { + { "type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", @@ -143,7 +143,7 @@ "repository_download_url": null, "api_data_url": null }, - "4": { + { "type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", @@ -179,7 +179,7 @@ "repository_download_url": null, "api_data_url": null }, - "5": { + { "type": "bitbucket", "namespace": "litmis", "name": "python-itoolkit", @@ -215,4 +215,4 @@ "repository_download_url": null, "api_data_url": null } -} +] \ No newline at end of file diff --git a/tests/data/cargo.json b/tests/data/cargo.json index 5af02ec..2b4ae44 100644 --- a/tests/data/cargo.json +++ b/tests/data/cargo.json @@ -1,5 +1,5 @@ -{ - "0": { +[ + { "type": "cargo", "namespace": null, "name": "rand", @@ -35,7 +35,7 @@ "repository_download_url": null, "api_data_url": null }, - "1": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -71,7 +71,7 @@ "repository_download_url": null, "api_data_url": null }, - "2": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -107,7 +107,7 @@ "repository_download_url": null, "api_data_url": null }, - "3": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -143,7 +143,7 @@ "repository_download_url": null, "api_data_url": null }, - "4": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -179,7 +179,7 @@ "repository_download_url": null, "api_data_url": null }, - "5": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -215,7 +215,7 @@ "repository_download_url": null, "api_data_url": null }, - "6": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -251,7 +251,7 @@ "repository_download_url": null, "api_data_url": null }, - "7": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -287,7 +287,7 @@ "repository_download_url": null, "api_data_url": null }, - "8": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -323,7 +323,7 @@ "repository_download_url": null, "api_data_url": null }, - "9": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -359,7 +359,7 @@ "repository_download_url": null, "api_data_url": null }, - "10": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -395,7 +395,7 @@ "repository_download_url": null, "api_data_url": null }, - "11": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -431,7 +431,7 @@ "repository_download_url": null, "api_data_url": null }, - "12": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -467,7 +467,7 @@ "repository_download_url": null, "api_data_url": null }, - "13": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -503,7 +503,7 @@ "repository_download_url": null, "api_data_url": null }, - "14": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -539,7 +539,7 @@ "repository_download_url": null, "api_data_url": null }, - "15": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -575,7 +575,7 @@ "repository_download_url": null, "api_data_url": null }, - "16": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -611,7 +611,7 @@ "repository_download_url": null, "api_data_url": null }, - "17": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -647,7 +647,7 @@ "repository_download_url": null, "api_data_url": null }, - "18": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -683,7 +683,7 @@ "repository_download_url": null, "api_data_url": null }, - "19": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -719,7 +719,7 @@ "repository_download_url": null, "api_data_url": null }, - "20": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -755,7 +755,7 @@ "repository_download_url": null, "api_data_url": null }, - "21": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -791,7 +791,7 @@ "repository_download_url": null, "api_data_url": null }, - "22": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -827,7 +827,7 @@ "repository_download_url": null, "api_data_url": null }, - "23": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -863,7 +863,7 @@ "repository_download_url": null, "api_data_url": null }, - "24": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -899,7 +899,7 @@ "repository_download_url": null, "api_data_url": null }, - "25": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -935,7 +935,7 @@ "repository_download_url": null, "api_data_url": null }, - "26": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -971,7 +971,7 @@ "repository_download_url": null, "api_data_url": null }, - "27": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1007,7 +1007,7 @@ "repository_download_url": null, "api_data_url": null }, - "28": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1043,7 +1043,7 @@ "repository_download_url": null, "api_data_url": null }, - "29": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1079,7 +1079,7 @@ "repository_download_url": null, "api_data_url": null }, - "30": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1115,7 +1115,7 @@ "repository_download_url": null, "api_data_url": null }, - "31": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1151,7 +1151,7 @@ "repository_download_url": null, "api_data_url": null }, - "32": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1187,7 +1187,7 @@ "repository_download_url": null, "api_data_url": null }, - "33": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1223,7 +1223,7 @@ "repository_download_url": null, "api_data_url": null }, - "34": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1259,7 +1259,7 @@ "repository_download_url": null, "api_data_url": null }, - "35": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1295,7 +1295,7 @@ "repository_download_url": null, "api_data_url": null }, - "36": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1331,7 +1331,7 @@ "repository_download_url": null, "api_data_url": null }, - "37": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1367,7 +1367,7 @@ "repository_download_url": null, "api_data_url": null }, - "38": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1403,7 +1403,7 @@ "repository_download_url": null, "api_data_url": null }, - "39": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1439,7 +1439,7 @@ "repository_download_url": null, "api_data_url": null }, - "40": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1475,7 +1475,7 @@ "repository_download_url": null, "api_data_url": null }, - "41": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1511,7 +1511,7 @@ "repository_download_url": null, "api_data_url": null }, - "42": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1547,7 +1547,7 @@ "repository_download_url": null, "api_data_url": null }, - "43": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1583,7 +1583,7 @@ "repository_download_url": null, "api_data_url": null }, - "44": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1619,7 +1619,7 @@ "repository_download_url": null, "api_data_url": null }, - "45": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1655,7 +1655,7 @@ "repository_download_url": null, "api_data_url": null }, - "46": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1691,7 +1691,7 @@ "repository_download_url": null, "api_data_url": null }, - "47": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1727,7 +1727,7 @@ "repository_download_url": null, "api_data_url": null }, - "48": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1763,7 +1763,7 @@ "repository_download_url": null, "api_data_url": null }, - "49": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1799,7 +1799,7 @@ "repository_download_url": null, "api_data_url": null }, - "50": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1835,7 +1835,7 @@ "repository_download_url": null, "api_data_url": null }, - "51": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1871,7 +1871,7 @@ "repository_download_url": null, "api_data_url": null }, - "52": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1907,7 +1907,7 @@ "repository_download_url": null, "api_data_url": null }, - "53": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1943,7 +1943,7 @@ "repository_download_url": null, "api_data_url": null }, - "54": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -1979,7 +1979,7 @@ "repository_download_url": null, "api_data_url": null }, - "55": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2015,7 +2015,7 @@ "repository_download_url": null, "api_data_url": null }, - "56": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2051,7 +2051,7 @@ "repository_download_url": null, "api_data_url": null }, - "57": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2087,7 +2087,7 @@ "repository_download_url": null, "api_data_url": null }, - "58": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2123,7 +2123,7 @@ "repository_download_url": null, "api_data_url": null }, - "59": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2159,7 +2159,7 @@ "repository_download_url": null, "api_data_url": null }, - "60": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2195,7 +2195,7 @@ "repository_download_url": null, "api_data_url": null }, - "61": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2231,7 +2231,7 @@ "repository_download_url": null, "api_data_url": null }, - "62": { + { "type": "cargo", "namespace": null, "name": "rand", @@ -2267,4 +2267,4 @@ "repository_download_url": null, "api_data_url": null } -} +] \ No newline at end of file diff --git a/tests/data/npm.json b/tests/data/npm.json index b371b02..9b3da86 100644 --- a/tests/data/npm.json +++ b/tests/data/npm.json @@ -1,5 +1,5 @@ -{ - "0": { +[ + { "type": "npm", "namespace": null, "name": "express", @@ -35,7 +35,7 @@ "repository_download_url": null, "api_data_url": null }, - "1": { + { "type": "npm", "namespace": null, "name": "express", @@ -71,7 +71,7 @@ "repository_download_url": null, "api_data_url": null }, - "2": { + { "type": "npm", "namespace": null, "name": "express", @@ -107,7 +107,7 @@ "repository_download_url": null, "api_data_url": null }, - "3": { + { "type": "npm", "namespace": null, "name": "express", @@ -143,7 +143,7 @@ "repository_download_url": null, "api_data_url": null }, - "4": { + { "type": "npm", "namespace": null, "name": "express", @@ -179,7 +179,7 @@ "repository_download_url": null, "api_data_url": null }, - "5": { + { "type": "npm", "namespace": null, "name": "express", @@ -215,7 +215,7 @@ "repository_download_url": null, "api_data_url": null }, - "6": { + { "type": "npm", "namespace": null, "name": "express", @@ -251,7 +251,7 @@ "repository_download_url": null, "api_data_url": null }, - "7": { + { "type": "npm", "namespace": null, "name": "express", @@ -287,7 +287,7 @@ "repository_download_url": null, "api_data_url": null }, - "8": { + { "type": "npm", "namespace": null, "name": "express", @@ -323,7 +323,7 @@ "repository_download_url": null, "api_data_url": null }, - "9": { + { "type": "npm", "namespace": null, "name": "express", @@ -359,7 +359,7 @@ "repository_download_url": null, "api_data_url": null }, - "10": { + { "type": "npm", "namespace": null, "name": "express", @@ -395,7 +395,7 @@ "repository_download_url": null, "api_data_url": null }, - "11": { + { "type": "npm", "namespace": null, "name": "express", @@ -431,7 +431,7 @@ "repository_download_url": null, "api_data_url": null }, - "12": { + { "type": "npm", "namespace": null, "name": "express", @@ -467,7 +467,7 @@ "repository_download_url": null, "api_data_url": null }, - "13": { + { "type": "npm", "namespace": null, "name": "express", @@ -503,7 +503,7 @@ "repository_download_url": null, "api_data_url": null }, - "14": { + { "type": "npm", "namespace": null, "name": "express", @@ -539,7 +539,7 @@ "repository_download_url": null, "api_data_url": null }, - "15": { + { "type": "npm", "namespace": null, "name": "express", @@ -575,7 +575,7 @@ "repository_download_url": null, "api_data_url": null }, - "16": { + { "type": "npm", "namespace": null, "name": "express", @@ -611,7 +611,7 @@ "repository_download_url": null, "api_data_url": null }, - "17": { + { "type": "npm", "namespace": null, "name": "express", @@ -647,7 +647,7 @@ "repository_download_url": null, "api_data_url": null }, - "18": { + { "type": "npm", "namespace": null, "name": "express", @@ -683,7 +683,7 @@ "repository_download_url": null, "api_data_url": null }, - "19": { + { "type": "npm", "namespace": null, "name": "express", @@ -719,7 +719,7 @@ "repository_download_url": null, "api_data_url": null }, - "20": { + { "type": "npm", "namespace": null, "name": "express", @@ -755,7 +755,7 @@ "repository_download_url": null, "api_data_url": null }, - "21": { + { "type": "npm", "namespace": null, "name": "express", @@ -791,7 +791,7 @@ "repository_download_url": null, "api_data_url": null }, - "22": { + { "type": "npm", "namespace": null, "name": "express", @@ -827,7 +827,7 @@ "repository_download_url": null, "api_data_url": null }, - "23": { + { "type": "npm", "namespace": null, "name": "express", @@ -863,7 +863,7 @@ "repository_download_url": null, "api_data_url": null }, - "24": { + { "type": "npm", "namespace": null, "name": "express", @@ -899,7 +899,7 @@ "repository_download_url": null, "api_data_url": null }, - "25": { + { "type": "npm", "namespace": null, "name": "express", @@ -935,7 +935,7 @@ "repository_download_url": null, "api_data_url": null }, - "26": { + { "type": "npm", "namespace": null, "name": "express", @@ -971,7 +971,7 @@ "repository_download_url": null, "api_data_url": null }, - "27": { + { "type": "npm", "namespace": null, "name": "express", @@ -1007,7 +1007,7 @@ "repository_download_url": null, "api_data_url": null }, - "28": { + { "type": "npm", "namespace": null, "name": "express", @@ -1043,7 +1043,7 @@ "repository_download_url": null, "api_data_url": null }, - "29": { + { "type": "npm", "namespace": null, "name": "express", @@ -1079,7 +1079,7 @@ "repository_download_url": null, "api_data_url": null }, - "30": { + { "type": "npm", "namespace": null, "name": "express", @@ -1115,7 +1115,7 @@ "repository_download_url": null, "api_data_url": null }, - "31": { + { "type": "npm", "namespace": null, "name": "express", @@ -1151,7 +1151,7 @@ "repository_download_url": null, "api_data_url": null }, - "32": { + { "type": "npm", "namespace": null, "name": "express", @@ -1187,7 +1187,7 @@ "repository_download_url": null, "api_data_url": null }, - "33": { + { "type": "npm", "namespace": null, "name": "express", @@ -1223,7 +1223,7 @@ "repository_download_url": null, "api_data_url": null }, - "34": { + { "type": "npm", "namespace": null, "name": "express", @@ -1259,7 +1259,7 @@ "repository_download_url": null, "api_data_url": null }, - "35": { + { "type": "npm", "namespace": null, "name": "express", @@ -1295,7 +1295,7 @@ "repository_download_url": null, "api_data_url": null }, - "36": { + { "type": "npm", "namespace": null, "name": "express", @@ -1331,7 +1331,7 @@ "repository_download_url": null, "api_data_url": null }, - "37": { + { "type": "npm", "namespace": null, "name": "express", @@ -1367,7 +1367,7 @@ "repository_download_url": null, "api_data_url": null }, - "38": { + { "type": "npm", "namespace": null, "name": "express", @@ -1403,7 +1403,7 @@ "repository_download_url": null, "api_data_url": null }, - "39": { + { "type": "npm", "namespace": null, "name": "express", @@ -1439,7 +1439,7 @@ "repository_download_url": null, "api_data_url": null }, - "40": { + { "type": "npm", "namespace": null, "name": "express", @@ -1475,7 +1475,7 @@ "repository_download_url": null, "api_data_url": null }, - "41": { + { "type": "npm", "namespace": null, "name": "express", @@ -1511,7 +1511,7 @@ "repository_download_url": null, "api_data_url": null }, - "42": { + { "type": "npm", "namespace": null, "name": "express", @@ -1547,7 +1547,7 @@ "repository_download_url": null, "api_data_url": null }, - "43": { + { "type": "npm", "namespace": null, "name": "express", @@ -1583,7 +1583,7 @@ "repository_download_url": null, "api_data_url": null }, - "44": { + { "type": "npm", "namespace": null, "name": "express", @@ -1619,7 +1619,7 @@ "repository_download_url": null, "api_data_url": null }, - "45": { + { "type": "npm", "namespace": null, "name": "express", @@ -1655,7 +1655,7 @@ "repository_download_url": null, "api_data_url": null }, - "46": { + { "type": "npm", "namespace": null, "name": "express", @@ -1691,7 +1691,7 @@ "repository_download_url": null, "api_data_url": null }, - "47": { + { "type": "npm", "namespace": null, "name": "express", @@ -1727,7 +1727,7 @@ "repository_download_url": null, "api_data_url": null }, - "48": { + { "type": "npm", "namespace": null, "name": "express", @@ -1763,7 +1763,7 @@ "repository_download_url": null, "api_data_url": null }, - "49": { + { "type": "npm", "namespace": null, "name": "express", @@ -1799,7 +1799,7 @@ "repository_download_url": null, "api_data_url": null }, - "50": { + { "type": "npm", "namespace": null, "name": "express", @@ -1835,7 +1835,7 @@ "repository_download_url": null, "api_data_url": null }, - "51": { + { "type": "npm", "namespace": null, "name": "express", @@ -1871,7 +1871,7 @@ "repository_download_url": null, "api_data_url": null }, - "52": { + { "type": "npm", "namespace": null, "name": "express", @@ -1907,7 +1907,7 @@ "repository_download_url": null, "api_data_url": null }, - "53": { + { "type": "npm", "namespace": null, "name": "express", @@ -1943,7 +1943,7 @@ "repository_download_url": null, "api_data_url": null }, - "54": { + { "type": "npm", "namespace": null, "name": "express", @@ -1979,7 +1979,7 @@ "repository_download_url": null, "api_data_url": null }, - "55": { + { "type": "npm", "namespace": null, "name": "express", @@ -2015,7 +2015,7 @@ "repository_download_url": null, "api_data_url": null }, - "56": { + { "type": "npm", "namespace": null, "name": "express", @@ -2051,7 +2051,7 @@ "repository_download_url": null, "api_data_url": null }, - "57": { + { "type": "npm", "namespace": null, "name": "express", @@ -2087,7 +2087,7 @@ "repository_download_url": null, "api_data_url": null }, - "58": { + { "type": "npm", "namespace": null, "name": "express", @@ -2123,7 +2123,7 @@ "repository_download_url": null, "api_data_url": null }, - "59": { + { "type": "npm", "namespace": null, "name": "express", @@ -2159,7 +2159,7 @@ "repository_download_url": null, "api_data_url": null }, - "60": { + { "type": "npm", "namespace": null, "name": "express", @@ -2195,7 +2195,7 @@ "repository_download_url": null, "api_data_url": null }, - "61": { + { "type": "npm", "namespace": null, "name": "express", @@ -2231,7 +2231,7 @@ "repository_download_url": null, "api_data_url": null }, - "62": { + { "type": "npm", "namespace": null, "name": "express", @@ -2267,7 +2267,7 @@ "repository_download_url": null, "api_data_url": null }, - "63": { + { "type": "npm", "namespace": null, "name": "express", @@ -2303,7 +2303,7 @@ "repository_download_url": null, "api_data_url": null }, - "64": { + { "type": "npm", "namespace": null, "name": "express", @@ -2339,7 +2339,7 @@ "repository_download_url": null, "api_data_url": null }, - "65": { + { "type": "npm", "namespace": null, "name": "express", @@ -2375,7 +2375,7 @@ "repository_download_url": null, "api_data_url": null }, - "66": { + { "type": "npm", "namespace": null, "name": "express", @@ -2411,7 +2411,7 @@ "repository_download_url": null, "api_data_url": null }, - "67": { + { "type": "npm", "namespace": null, "name": "express", @@ -2447,7 +2447,7 @@ "repository_download_url": null, "api_data_url": null }, - "68": { + { "type": "npm", "namespace": null, "name": "express", @@ -2483,7 +2483,7 @@ "repository_download_url": null, "api_data_url": null }, - "69": { + { "type": "npm", "namespace": null, "name": "express", @@ -2519,7 +2519,7 @@ "repository_download_url": null, "api_data_url": null }, - "70": { + { "type": "npm", "namespace": null, "name": "express", @@ -2555,7 +2555,7 @@ "repository_download_url": null, "api_data_url": null }, - "71": { + { "type": "npm", "namespace": null, "name": "express", @@ -2591,7 +2591,7 @@ "repository_download_url": null, "api_data_url": null }, - "72": { + { "type": "npm", "namespace": null, "name": "express", @@ -2627,7 +2627,7 @@ "repository_download_url": null, "api_data_url": null }, - "73": { + { "type": "npm", "namespace": null, "name": "express", @@ -2663,7 +2663,7 @@ "repository_download_url": null, "api_data_url": null }, - "74": { + { "type": "npm", "namespace": null, "name": "express", @@ -2699,7 +2699,7 @@ "repository_download_url": null, "api_data_url": null }, - "75": { + { "type": "npm", "namespace": null, "name": "express", @@ -2735,7 +2735,7 @@ "repository_download_url": null, "api_data_url": null }, - "76": { + { "type": "npm", "namespace": null, "name": "express", @@ -2771,7 +2771,7 @@ "repository_download_url": null, "api_data_url": null }, - "77": { + { "type": "npm", "namespace": null, "name": "express", @@ -2807,7 +2807,7 @@ "repository_download_url": null, "api_data_url": null }, - "78": { + { "type": "npm", "namespace": null, "name": "express", @@ -2843,7 +2843,7 @@ "repository_download_url": null, "api_data_url": null }, - "79": { + { "type": "npm", "namespace": null, "name": "express", @@ -2879,7 +2879,7 @@ "repository_download_url": null, "api_data_url": null }, - "80": { + { "type": "npm", "namespace": null, "name": "express", @@ -2915,7 +2915,7 @@ "repository_download_url": null, "api_data_url": null }, - "81": { + { "type": "npm", "namespace": null, "name": "express", @@ -2951,7 +2951,7 @@ "repository_download_url": null, "api_data_url": null }, - "82": { + { "type": "npm", "namespace": null, "name": "express", @@ -2987,7 +2987,7 @@ "repository_download_url": null, "api_data_url": null }, - "83": { + { "type": "npm", "namespace": null, "name": "express", @@ -3023,7 +3023,7 @@ "repository_download_url": null, "api_data_url": null }, - "84": { + { "type": "npm", "namespace": null, "name": "express", @@ -3059,7 +3059,7 @@ "repository_download_url": null, "api_data_url": null }, - "85": { + { "type": "npm", "namespace": null, "name": "express", @@ -3095,7 +3095,7 @@ "repository_download_url": null, "api_data_url": null }, - "86": { + { "type": "npm", "namespace": null, "name": "express", @@ -3131,7 +3131,7 @@ "repository_download_url": null, "api_data_url": null }, - "87": { + { "type": "npm", "namespace": null, "name": "express", @@ -3167,7 +3167,7 @@ "repository_download_url": null, "api_data_url": null }, - "88": { + { "type": "npm", "namespace": null, "name": "express", @@ -3203,7 +3203,7 @@ "repository_download_url": null, "api_data_url": null }, - "89": { + { "type": "npm", "namespace": null, "name": "express", @@ -3239,7 +3239,7 @@ "repository_download_url": null, "api_data_url": null }, - "90": { + { "type": "npm", "namespace": null, "name": "express", @@ -3275,7 +3275,7 @@ "repository_download_url": null, "api_data_url": null }, - "91": { + { "type": "npm", "namespace": null, "name": "express", @@ -3311,7 +3311,7 @@ "repository_download_url": null, "api_data_url": null }, - "92": { + { "type": "npm", "namespace": null, "name": "express", @@ -3347,7 +3347,7 @@ "repository_download_url": null, "api_data_url": null }, - "93": { + { "type": "npm", "namespace": null, "name": "express", @@ -3383,7 +3383,7 @@ "repository_download_url": null, "api_data_url": null }, - "94": { + { "type": "npm", "namespace": null, "name": "express", @@ -3419,7 +3419,7 @@ "repository_download_url": null, "api_data_url": null }, - "95": { + { "type": "npm", "namespace": null, "name": "express", @@ -3455,7 +3455,7 @@ "repository_download_url": null, "api_data_url": null }, - "96": { + { "type": "npm", "namespace": null, "name": "express", @@ -3491,7 +3491,7 @@ "repository_download_url": null, "api_data_url": null }, - "97": { + { "type": "npm", "namespace": null, "name": "express", @@ -3527,7 +3527,7 @@ "repository_download_url": null, "api_data_url": null }, - "98": { + { "type": "npm", "namespace": null, "name": "express", @@ -3563,7 +3563,7 @@ "repository_download_url": null, "api_data_url": null }, - "99": { + { "type": "npm", "namespace": null, "name": "express", @@ -3599,7 +3599,7 @@ "repository_download_url": null, "api_data_url": null }, - "100": { + { "type": "npm", "namespace": null, "name": "express", @@ -3635,7 +3635,7 @@ "repository_download_url": null, "api_data_url": null }, - "101": { + { "type": "npm", "namespace": null, "name": "express", @@ -3671,7 +3671,7 @@ "repository_download_url": null, "api_data_url": null }, - "102": { + { "type": "npm", "namespace": null, "name": "express", @@ -3707,7 +3707,7 @@ "repository_download_url": null, "api_data_url": null }, - "103": { + { "type": "npm", "namespace": null, "name": "express", @@ -3743,7 +3743,7 @@ "repository_download_url": null, "api_data_url": null }, - "104": { + { "type": "npm", "namespace": null, "name": "express", @@ -3779,7 +3779,7 @@ "repository_download_url": null, "api_data_url": null }, - "105": { + { "type": "npm", "namespace": null, "name": "express", @@ -3815,7 +3815,7 @@ "repository_download_url": null, "api_data_url": null }, - "106": { + { "type": "npm", "namespace": null, "name": "express", @@ -3851,7 +3851,7 @@ "repository_download_url": null, "api_data_url": null }, - "107": { + { "type": "npm", "namespace": null, "name": "express", @@ -3887,7 +3887,7 @@ "repository_download_url": null, "api_data_url": null }, - "108": { + { "type": "npm", "namespace": null, "name": "express", @@ -3923,7 +3923,7 @@ "repository_download_url": null, "api_data_url": null }, - "109": { + { "type": "npm", "namespace": null, "name": "express", @@ -3959,7 +3959,7 @@ "repository_download_url": null, "api_data_url": null }, - "110": { + { "type": "npm", "namespace": null, "name": "express", @@ -3995,7 +3995,7 @@ "repository_download_url": null, "api_data_url": null }, - "111": { + { "type": "npm", "namespace": null, "name": "express", @@ -4031,7 +4031,7 @@ "repository_download_url": null, "api_data_url": null }, - "112": { + { "type": "npm", "namespace": null, "name": "express", @@ -4067,7 +4067,7 @@ "repository_download_url": null, "api_data_url": null }, - "113": { + { "type": "npm", "namespace": null, "name": "express", @@ -4103,7 +4103,7 @@ "repository_download_url": null, "api_data_url": null }, - "114": { + { "type": "npm", "namespace": null, "name": "express", @@ -4139,7 +4139,7 @@ "repository_download_url": null, "api_data_url": null }, - "115": { + { "type": "npm", "namespace": null, "name": "express", @@ -4175,7 +4175,7 @@ "repository_download_url": null, "api_data_url": null }, - "116": { + { "type": "npm", "namespace": null, "name": "express", @@ -4211,7 +4211,7 @@ "repository_download_url": null, "api_data_url": null }, - "117": { + { "type": "npm", "namespace": null, "name": "express", @@ -4247,7 +4247,7 @@ "repository_download_url": null, "api_data_url": null }, - "118": { + { "type": "npm", "namespace": null, "name": "express", @@ -4283,7 +4283,7 @@ "repository_download_url": null, "api_data_url": null }, - "119": { + { "type": "npm", "namespace": null, "name": "express", @@ -4319,7 +4319,7 @@ "repository_download_url": null, "api_data_url": null }, - "120": { + { "type": "npm", "namespace": null, "name": "express", @@ -4355,7 +4355,7 @@ "repository_download_url": null, "api_data_url": null }, - "121": { + { "type": "npm", "namespace": null, "name": "express", @@ -4391,7 +4391,7 @@ "repository_download_url": null, "api_data_url": null }, - "122": { + { "type": "npm", "namespace": null, "name": "express", @@ -4427,7 +4427,7 @@ "repository_download_url": null, "api_data_url": null }, - "123": { + { "type": "npm", "namespace": null, "name": "express", @@ -4463,7 +4463,7 @@ "repository_download_url": null, "api_data_url": null }, - "124": { + { "type": "npm", "namespace": null, "name": "express", @@ -4499,7 +4499,7 @@ "repository_download_url": null, "api_data_url": null }, - "125": { + { "type": "npm", "namespace": null, "name": "express", @@ -4535,7 +4535,7 @@ "repository_download_url": null, "api_data_url": null }, - "126": { + { "type": "npm", "namespace": null, "name": "express", @@ -4571,7 +4571,7 @@ "repository_download_url": null, "api_data_url": null }, - "127": { + { "type": "npm", "namespace": null, "name": "express", @@ -4607,7 +4607,7 @@ "repository_download_url": null, "api_data_url": null }, - "128": { + { "type": "npm", "namespace": null, "name": "express", @@ -4643,7 +4643,7 @@ "repository_download_url": null, "api_data_url": null }, - "129": { + { "type": "npm", "namespace": null, "name": "express", @@ -4679,7 +4679,7 @@ "repository_download_url": null, "api_data_url": null }, - "130": { + { "type": "npm", "namespace": null, "name": "express", @@ -4715,7 +4715,7 @@ "repository_download_url": null, "api_data_url": null }, - "131": { + { "type": "npm", "namespace": null, "name": "express", @@ -4751,7 +4751,7 @@ "repository_download_url": null, "api_data_url": null }, - "132": { + { "type": "npm", "namespace": null, "name": "express", @@ -4787,7 +4787,7 @@ "repository_download_url": null, "api_data_url": null }, - "133": { + { "type": "npm", "namespace": null, "name": "express", @@ -4823,7 +4823,7 @@ "repository_download_url": null, "api_data_url": null }, - "134": { + { "type": "npm", "namespace": null, "name": "express", @@ -4859,7 +4859,7 @@ "repository_download_url": null, "api_data_url": null }, - "135": { + { "type": "npm", "namespace": null, "name": "express", @@ -4895,7 +4895,7 @@ "repository_download_url": null, "api_data_url": null }, - "136": { + { "type": "npm", "namespace": null, "name": "express", @@ -4931,7 +4931,7 @@ "repository_download_url": null, "api_data_url": null }, - "137": { + { "type": "npm", "namespace": null, "name": "express", @@ -4967,7 +4967,7 @@ "repository_download_url": null, "api_data_url": null }, - "138": { + { "type": "npm", "namespace": null, "name": "express", @@ -5003,7 +5003,7 @@ "repository_download_url": null, "api_data_url": null }, - "139": { + { "type": "npm", "namespace": null, "name": "express", @@ -5039,7 +5039,7 @@ "repository_download_url": null, "api_data_url": null }, - "140": { + { "type": "npm", "namespace": null, "name": "express", @@ -5075,7 +5075,7 @@ "repository_download_url": null, "api_data_url": null }, - "141": { + { "type": "npm", "namespace": null, "name": "express", @@ -5111,7 +5111,7 @@ "repository_download_url": null, "api_data_url": null }, - "142": { + { "type": "npm", "namespace": null, "name": "express", @@ -5147,7 +5147,7 @@ "repository_download_url": null, "api_data_url": null }, - "143": { + { "type": "npm", "namespace": null, "name": "express", @@ -5183,7 +5183,7 @@ "repository_download_url": null, "api_data_url": null }, - "144": { + { "type": "npm", "namespace": null, "name": "express", @@ -5219,7 +5219,7 @@ "repository_download_url": null, "api_data_url": null }, - "145": { + { "type": "npm", "namespace": null, "name": "express", @@ -5255,7 +5255,7 @@ "repository_download_url": null, "api_data_url": null }, - "146": { + { "type": "npm", "namespace": null, "name": "express", @@ -5291,7 +5291,7 @@ "repository_download_url": null, "api_data_url": null }, - "147": { + { "type": "npm", "namespace": null, "name": "express", @@ -5327,7 +5327,7 @@ "repository_download_url": null, "api_data_url": null }, - "148": { + { "type": "npm", "namespace": null, "name": "express", @@ -5363,7 +5363,7 @@ "repository_download_url": null, "api_data_url": null }, - "149": { + { "type": "npm", "namespace": null, "name": "express", @@ -5399,7 +5399,7 @@ "repository_download_url": null, "api_data_url": null }, - "150": { + { "type": "npm", "namespace": null, "name": "express", @@ -5435,7 +5435,7 @@ "repository_download_url": null, "api_data_url": null }, - "151": { + { "type": "npm", "namespace": null, "name": "express", @@ -5471,7 +5471,7 @@ "repository_download_url": null, "api_data_url": null }, - "152": { + { "type": "npm", "namespace": null, "name": "express", @@ -5507,7 +5507,7 @@ "repository_download_url": null, "api_data_url": null }, - "153": { + { "type": "npm", "namespace": null, "name": "express", @@ -5543,7 +5543,7 @@ "repository_download_url": null, "api_data_url": null }, - "154": { + { "type": "npm", "namespace": null, "name": "express", @@ -5579,7 +5579,7 @@ "repository_download_url": null, "api_data_url": null }, - "155": { + { "type": "npm", "namespace": null, "name": "express", @@ -5615,7 +5615,7 @@ "repository_download_url": null, "api_data_url": null }, - "156": { + { "type": "npm", "namespace": null, "name": "express", @@ -5651,7 +5651,7 @@ "repository_download_url": null, "api_data_url": null }, - "157": { + { "type": "npm", "namespace": null, "name": "express", @@ -5687,7 +5687,7 @@ "repository_download_url": null, "api_data_url": null }, - "158": { + { "type": "npm", "namespace": null, "name": "express", @@ -5723,7 +5723,7 @@ "repository_download_url": null, "api_data_url": null }, - "159": { + { "type": "npm", "namespace": null, "name": "express", @@ -5759,7 +5759,7 @@ "repository_download_url": null, "api_data_url": null }, - "160": { + { "type": "npm", "namespace": null, "name": "express", @@ -5795,7 +5795,7 @@ "repository_download_url": null, "api_data_url": null }, - "161": { + { "type": "npm", "namespace": null, "name": "express", @@ -5831,7 +5831,7 @@ "repository_download_url": null, "api_data_url": null }, - "162": { + { "type": "npm", "namespace": null, "name": "express", @@ -5867,7 +5867,7 @@ "repository_download_url": null, "api_data_url": null }, - "163": { + { "type": "npm", "namespace": null, "name": "express", @@ -5903,7 +5903,7 @@ "repository_download_url": null, "api_data_url": null }, - "164": { + { "type": "npm", "namespace": null, "name": "express", @@ -5939,7 +5939,7 @@ "repository_download_url": null, "api_data_url": null }, - "165": { + { "type": "npm", "namespace": null, "name": "express", @@ -5975,7 +5975,7 @@ "repository_download_url": null, "api_data_url": null }, - "166": { + { "type": "npm", "namespace": null, "name": "express", @@ -6011,7 +6011,7 @@ "repository_download_url": null, "api_data_url": null }, - "167": { + { "type": "npm", "namespace": null, "name": "express", @@ -6047,7 +6047,7 @@ "repository_download_url": null, "api_data_url": null }, - "168": { + { "type": "npm", "namespace": null, "name": "express", @@ -6083,7 +6083,7 @@ "repository_download_url": null, "api_data_url": null }, - "169": { + { "type": "npm", "namespace": null, "name": "express", @@ -6119,7 +6119,7 @@ "repository_download_url": null, "api_data_url": null }, - "170": { + { "type": "npm", "namespace": null, "name": "express", @@ -6155,7 +6155,7 @@ "repository_download_url": null, "api_data_url": null }, - "171": { + { "type": "npm", "namespace": null, "name": "express", @@ -6191,7 +6191,7 @@ "repository_download_url": null, "api_data_url": null }, - "172": { + { "type": "npm", "namespace": null, "name": "express", @@ -6227,7 +6227,7 @@ "repository_download_url": null, "api_data_url": null }, - "173": { + { "type": "npm", "namespace": null, "name": "express", @@ -6263,7 +6263,7 @@ "repository_download_url": null, "api_data_url": null }, - "174": { + { "type": "npm", "namespace": null, "name": "express", @@ -6299,7 +6299,7 @@ "repository_download_url": null, "api_data_url": null }, - "175": { + { "type": "npm", "namespace": null, "name": "express", @@ -6335,7 +6335,7 @@ "repository_download_url": null, "api_data_url": null }, - "176": { + { "type": "npm", "namespace": null, "name": "express", @@ -6371,7 +6371,7 @@ "repository_download_url": null, "api_data_url": null }, - "177": { + { "type": "npm", "namespace": null, "name": "express", @@ -6407,7 +6407,7 @@ "repository_download_url": null, "api_data_url": null }, - "178": { + { "type": "npm", "namespace": null, "name": "express", @@ -6443,7 +6443,7 @@ "repository_download_url": null, "api_data_url": null }, - "179": { + { "type": "npm", "namespace": null, "name": "express", @@ -6479,7 +6479,7 @@ "repository_download_url": null, "api_data_url": null }, - "180": { + { "type": "npm", "namespace": null, "name": "express", @@ -6515,7 +6515,7 @@ "repository_download_url": null, "api_data_url": null }, - "181": { + { "type": "npm", "namespace": null, "name": "express", @@ -6551,7 +6551,7 @@ "repository_download_url": null, "api_data_url": null }, - "182": { + { "type": "npm", "namespace": null, "name": "express", @@ -6587,7 +6587,7 @@ "repository_download_url": null, "api_data_url": null }, - "183": { + { "type": "npm", "namespace": null, "name": "express", @@ -6623,7 +6623,7 @@ "repository_download_url": null, "api_data_url": null }, - "184": { + { "type": "npm", "namespace": null, "name": "express", @@ -6659,7 +6659,7 @@ "repository_download_url": null, "api_data_url": null }, - "185": { + { "type": "npm", "namespace": null, "name": "express", @@ -6695,7 +6695,7 @@ "repository_download_url": null, "api_data_url": null }, - "186": { + { "type": "npm", "namespace": null, "name": "express", @@ -6731,7 +6731,7 @@ "repository_download_url": null, "api_data_url": null }, - "187": { + { "type": "npm", "namespace": null, "name": "express", @@ -6767,7 +6767,7 @@ "repository_download_url": null, "api_data_url": null }, - "188": { + { "type": "npm", "namespace": null, "name": "express", @@ -6803,7 +6803,7 @@ "repository_download_url": null, "api_data_url": null }, - "189": { + { "type": "npm", "namespace": null, "name": "express", @@ -6839,7 +6839,7 @@ "repository_download_url": null, "api_data_url": null }, - "190": { + { "type": "npm", "namespace": null, "name": "express", @@ -6875,7 +6875,7 @@ "repository_download_url": null, "api_data_url": null }, - "191": { + { "type": "npm", "namespace": null, "name": "express", @@ -6911,7 +6911,7 @@ "repository_download_url": null, "api_data_url": null }, - "192": { + { "type": "npm", "namespace": null, "name": "express", @@ -6947,7 +6947,7 @@ "repository_download_url": null, "api_data_url": null }, - "193": { + { "type": "npm", "namespace": null, "name": "express", @@ -6983,7 +6983,7 @@ "repository_download_url": null, "api_data_url": null }, - "194": { + { "type": "npm", "namespace": null, "name": "express", @@ -7019,7 +7019,7 @@ "repository_download_url": null, "api_data_url": null }, - "195": { + { "type": "npm", "namespace": null, "name": "express", @@ -7055,7 +7055,7 @@ "repository_download_url": null, "api_data_url": null }, - "196": { + { "type": "npm", "namespace": null, "name": "express", @@ -7091,7 +7091,7 @@ "repository_download_url": null, "api_data_url": null }, - "197": { + { "type": "npm", "namespace": null, "name": "express", @@ -7127,7 +7127,7 @@ "repository_download_url": null, "api_data_url": null }, - "198": { + { "type": "npm", "namespace": null, "name": "express", @@ -7163,7 +7163,7 @@ "repository_download_url": null, "api_data_url": null }, - "199": { + { "type": "npm", "namespace": null, "name": "express", @@ -7199,7 +7199,7 @@ "repository_download_url": null, "api_data_url": null }, - "200": { + { "type": "npm", "namespace": null, "name": "express", @@ -7235,7 +7235,7 @@ "repository_download_url": null, "api_data_url": null }, - "201": { + { "type": "npm", "namespace": null, "name": "express", @@ -7271,7 +7271,7 @@ "repository_download_url": null, "api_data_url": null }, - "202": { + { "type": "npm", "namespace": null, "name": "express", @@ -7307,7 +7307,7 @@ "repository_download_url": null, "api_data_url": null }, - "203": { + { "type": "npm", "namespace": null, "name": "express", @@ -7343,7 +7343,7 @@ "repository_download_url": null, "api_data_url": null }, - "204": { + { "type": "npm", "namespace": null, "name": "express", @@ -7379,7 +7379,7 @@ "repository_download_url": null, "api_data_url": null }, - "205": { + { "type": "npm", "namespace": null, "name": "express", @@ -7415,7 +7415,7 @@ "repository_download_url": null, "api_data_url": null }, - "206": { + { "type": "npm", "namespace": null, "name": "express", @@ -7451,7 +7451,7 @@ "repository_download_url": null, "api_data_url": null }, - "207": { + { "type": "npm", "namespace": null, "name": "express", @@ -7487,7 +7487,7 @@ "repository_download_url": null, "api_data_url": null }, - "208": { + { "type": "npm", "namespace": null, "name": "express", @@ -7523,7 +7523,7 @@ "repository_download_url": null, "api_data_url": null }, - "209": { + { "type": "npm", "namespace": null, "name": "express", @@ -7559,7 +7559,7 @@ "repository_download_url": null, "api_data_url": null }, - "210": { + { "type": "npm", "namespace": null, "name": "express", @@ -7595,7 +7595,7 @@ "repository_download_url": null, "api_data_url": null }, - "211": { + { "type": "npm", "namespace": null, "name": "express", @@ -7631,7 +7631,7 @@ "repository_download_url": null, "api_data_url": null }, - "212": { + { "type": "npm", "namespace": null, "name": "express", @@ -7667,7 +7667,7 @@ "repository_download_url": null, "api_data_url": null }, - "213": { + { "type": "npm", "namespace": null, "name": "express", @@ -7703,7 +7703,7 @@ "repository_download_url": null, "api_data_url": null }, - "214": { + { "type": "npm", "namespace": null, "name": "express", @@ -7739,7 +7739,7 @@ "repository_download_url": null, "api_data_url": null }, - "215": { + { "type": "npm", "namespace": null, "name": "express", @@ -7775,7 +7775,7 @@ "repository_download_url": null, "api_data_url": null }, - "216": { + { "type": "npm", "namespace": null, "name": "express", @@ -7811,7 +7811,7 @@ "repository_download_url": null, "api_data_url": null }, - "217": { + { "type": "npm", "namespace": null, "name": "express", @@ -7847,7 +7847,7 @@ "repository_download_url": null, "api_data_url": null }, - "218": { + { "type": "npm", "namespace": null, "name": "express", @@ -7883,7 +7883,7 @@ "repository_download_url": null, "api_data_url": null }, - "219": { + { "type": "npm", "namespace": null, "name": "express", @@ -7919,7 +7919,7 @@ "repository_download_url": null, "api_data_url": null }, - "220": { + { "type": "npm", "namespace": null, "name": "express", @@ -7955,7 +7955,7 @@ "repository_download_url": null, "api_data_url": null }, - "221": { + { "type": "npm", "namespace": null, "name": "express", @@ -7991,7 +7991,7 @@ "repository_download_url": null, "api_data_url": null }, - "222": { + { "type": "npm", "namespace": null, "name": "express", @@ -8027,7 +8027,7 @@ "repository_download_url": null, "api_data_url": null }, - "223": { + { "type": "npm", "namespace": null, "name": "express", @@ -8063,7 +8063,7 @@ "repository_download_url": null, "api_data_url": null }, - "224": { + { "type": "npm", "namespace": null, "name": "express", @@ -8099,7 +8099,7 @@ "repository_download_url": null, "api_data_url": null }, - "225": { + { "type": "npm", "namespace": null, "name": "express", @@ -8135,7 +8135,7 @@ "repository_download_url": null, "api_data_url": null }, - "226": { + { "type": "npm", "namespace": null, "name": "express", @@ -8171,7 +8171,7 @@ "repository_download_url": null, "api_data_url": null }, - "227": { + { "type": "npm", "namespace": null, "name": "express", @@ -8207,7 +8207,7 @@ "repository_download_url": null, "api_data_url": null }, - "228": { + { "type": "npm", "namespace": null, "name": "express", @@ -8243,7 +8243,7 @@ "repository_download_url": null, "api_data_url": null }, - "229": { + { "type": "npm", "namespace": null, "name": "express", @@ -8279,7 +8279,7 @@ "repository_download_url": null, "api_data_url": null }, - "230": { + { "type": "npm", "namespace": null, "name": "express", @@ -8315,7 +8315,7 @@ "repository_download_url": null, "api_data_url": null }, - "231": { + { "type": "npm", "namespace": null, "name": "express", @@ -8351,7 +8351,7 @@ "repository_download_url": null, "api_data_url": null }, - "232": { + { "type": "npm", "namespace": null, "name": "express", @@ -8387,7 +8387,7 @@ "repository_download_url": null, "api_data_url": null }, - "233": { + { "type": "npm", "namespace": null, "name": "express", @@ -8423,7 +8423,7 @@ "repository_download_url": null, "api_data_url": null }, - "234": { + { "type": "npm", "namespace": null, "name": "express", @@ -8459,7 +8459,7 @@ "repository_download_url": null, "api_data_url": null }, - "235": { + { "type": "npm", "namespace": null, "name": "express", @@ -8495,7 +8495,7 @@ "repository_download_url": null, "api_data_url": null }, - "236": { + { "type": "npm", "namespace": null, "name": "express", @@ -8531,7 +8531,7 @@ "repository_download_url": null, "api_data_url": null }, - "237": { + { "type": "npm", "namespace": null, "name": "express", @@ -8567,7 +8567,7 @@ "repository_download_url": null, "api_data_url": null }, - "238": { + { "type": "npm", "namespace": null, "name": "express", @@ -8603,7 +8603,7 @@ "repository_download_url": null, "api_data_url": null }, - "239": { + { "type": "npm", "namespace": null, "name": "express", @@ -8639,7 +8639,7 @@ "repository_download_url": null, "api_data_url": null }, - "240": { + { "type": "npm", "namespace": null, "name": "express", @@ -8675,7 +8675,7 @@ "repository_download_url": null, "api_data_url": null }, - "241": { + { "type": "npm", "namespace": null, "name": "express", @@ -8711,7 +8711,7 @@ "repository_download_url": null, "api_data_url": null }, - "242": { + { "type": "npm", "namespace": null, "name": "express", @@ -8747,7 +8747,7 @@ "repository_download_url": null, "api_data_url": null }, - "243": { + { "type": "npm", "namespace": null, "name": "express", @@ -8783,7 +8783,7 @@ "repository_download_url": null, "api_data_url": null }, - "244": { + { "type": "npm", "namespace": null, "name": "express", @@ -8819,7 +8819,7 @@ "repository_download_url": null, "api_data_url": null }, - "245": { + { "type": "npm", "namespace": null, "name": "express", @@ -8855,7 +8855,7 @@ "repository_download_url": null, "api_data_url": null }, - "246": { + { "type": "npm", "namespace": null, "name": "express", @@ -8891,7 +8891,7 @@ "repository_download_url": null, "api_data_url": null }, - "247": { + { "type": "npm", "namespace": null, "name": "express", @@ -8927,7 +8927,7 @@ "repository_download_url": null, "api_data_url": null }, - "248": { + { "type": "npm", "namespace": null, "name": "express", @@ -8963,7 +8963,7 @@ "repository_download_url": null, "api_data_url": null }, - "249": { + { "type": "npm", "namespace": null, "name": "express", @@ -8999,7 +8999,7 @@ "repository_download_url": null, "api_data_url": null }, - "250": { + { "type": "npm", "namespace": null, "name": "express", @@ -9035,7 +9035,7 @@ "repository_download_url": null, "api_data_url": null }, - "251": { + { "type": "npm", "namespace": null, "name": "express", @@ -9071,7 +9071,7 @@ "repository_download_url": null, "api_data_url": null }, - "252": { + { "type": "npm", "namespace": null, "name": "express", @@ -9107,7 +9107,7 @@ "repository_download_url": null, "api_data_url": null }, - "253": { + { "type": "npm", "namespace": null, "name": "express", @@ -9143,7 +9143,7 @@ "repository_download_url": null, "api_data_url": null }, - "254": { + { "type": "npm", "namespace": null, "name": "express", @@ -9179,7 +9179,7 @@ "repository_download_url": null, "api_data_url": null }, - "255": { + { "type": "npm", "namespace": null, "name": "express", @@ -9215,7 +9215,7 @@ "repository_download_url": null, "api_data_url": null }, - "256": { + { "type": "npm", "namespace": null, "name": "express", @@ -9251,7 +9251,7 @@ "repository_download_url": null, "api_data_url": null }, - "257": { + { "type": "npm", "namespace": null, "name": "express", @@ -9287,7 +9287,7 @@ "repository_download_url": null, "api_data_url": null }, - "258": { + { "type": "npm", "namespace": null, "name": "express", @@ -9323,7 +9323,7 @@ "repository_download_url": null, "api_data_url": null }, - "259": { + { "type": "npm", "namespace": null, "name": "express", @@ -9359,7 +9359,7 @@ "repository_download_url": null, "api_data_url": null }, - "260": { + { "type": "npm", "namespace": null, "name": "express", @@ -9395,7 +9395,7 @@ "repository_download_url": null, "api_data_url": null }, - "261": { + { "type": "npm", "namespace": null, "name": "express", @@ -9431,7 +9431,7 @@ "repository_download_url": null, "api_data_url": null }, - "262": { + { "type": "npm", "namespace": null, "name": "express", @@ -9467,7 +9467,7 @@ "repository_download_url": null, "api_data_url": null }, - "263": { + { "type": "npm", "namespace": null, "name": "express", @@ -9503,7 +9503,7 @@ "repository_download_url": null, "api_data_url": null }, - "264": { + { "type": "npm", "namespace": null, "name": "express", @@ -9539,4 +9539,4 @@ "repository_download_url": null, "api_data_url": null } -} +] \ No newline at end of file diff --git a/tests/data/pypi.json b/tests/data/pypi.json index 95db940..d8cb834 100644 --- a/tests/data/pypi.json +++ b/tests/data/pypi.json @@ -1,5 +1,5 @@ -{ - "0": { +[ + { "type": "pypi", "namespace": null, "name": "flask", @@ -35,7 +35,7 @@ "repository_download_url": null, "api_data_url": null }, - "1": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -71,7 +71,7 @@ "repository_download_url": null, "api_data_url": null }, - "2": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -107,7 +107,7 @@ "repository_download_url": null, "api_data_url": null }, - "3": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -143,7 +143,7 @@ "repository_download_url": null, "api_data_url": null }, - "4": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -179,7 +179,7 @@ "repository_download_url": null, "api_data_url": null }, - "5": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -215,7 +215,7 @@ "repository_download_url": null, "api_data_url": null }, - "6": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -251,7 +251,7 @@ "repository_download_url": null, "api_data_url": null }, - "7": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -287,7 +287,7 @@ "repository_download_url": null, "api_data_url": null }, - "8": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -323,7 +323,7 @@ "repository_download_url": null, "api_data_url": null }, - "9": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -359,7 +359,7 @@ "repository_download_url": null, "api_data_url": null }, - "10": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -395,7 +395,7 @@ "repository_download_url": null, "api_data_url": null }, - "11": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -431,7 +431,7 @@ "repository_download_url": null, "api_data_url": null }, - "12": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -467,7 +467,7 @@ "repository_download_url": null, "api_data_url": null }, - "13": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -503,7 +503,7 @@ "repository_download_url": null, "api_data_url": null }, - "14": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -539,7 +539,7 @@ "repository_download_url": null, "api_data_url": null }, - "15": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -575,7 +575,7 @@ "repository_download_url": null, "api_data_url": null }, - "16": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -611,7 +611,7 @@ "repository_download_url": null, "api_data_url": null }, - "17": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -647,7 +647,7 @@ "repository_download_url": null, "api_data_url": null }, - "18": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -683,7 +683,7 @@ "repository_download_url": null, "api_data_url": null }, - "19": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -719,7 +719,7 @@ "repository_download_url": null, "api_data_url": null }, - "20": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -755,7 +755,7 @@ "repository_download_url": null, "api_data_url": null }, - "21": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -791,7 +791,7 @@ "repository_download_url": null, "api_data_url": null }, - "22": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -827,7 +827,7 @@ "repository_download_url": null, "api_data_url": null }, - "23": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -863,7 +863,7 @@ "repository_download_url": null, "api_data_url": null }, - "24": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -899,7 +899,7 @@ "repository_download_url": null, "api_data_url": null }, - "25": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -935,7 +935,7 @@ "repository_download_url": null, "api_data_url": null }, - "26": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -971,7 +971,7 @@ "repository_download_url": null, "api_data_url": null }, - "27": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1007,7 +1007,7 @@ "repository_download_url": null, "api_data_url": null }, - "28": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1043,7 +1043,7 @@ "repository_download_url": null, "api_data_url": null }, - "29": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1079,7 +1079,7 @@ "repository_download_url": null, "api_data_url": null }, - "30": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1115,7 +1115,7 @@ "repository_download_url": null, "api_data_url": null }, - "31": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1151,7 +1151,7 @@ "repository_download_url": null, "api_data_url": null }, - "32": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1187,7 +1187,7 @@ "repository_download_url": null, "api_data_url": null }, - "33": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1223,7 +1223,7 @@ "repository_download_url": null, "api_data_url": null }, - "34": { + { "type": "pypi", "namespace": null, "name": "flask", @@ -1259,4 +1259,4 @@ "repository_download_url": null, "api_data_url": null } -} +] \ No newline at end of file diff --git a/tests/data/rubygems.json b/tests/data/rubygems.json index bc3b6c7..b2fe445 100644 --- a/tests/data/rubygems.json +++ b/tests/data/rubygems.json @@ -1,5 +1,5 @@ -{ - "0": { +[ + { "type": "rubygems", "namespace": null, "name": "rubocop", @@ -37,4 +37,4 @@ "repository_download_url": null, "api_data_url": null } -} +] \ No newline at end of file diff --git a/tests/test_package.py b/tests/test_package.py index fb19800..468917f 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -27,7 +27,7 @@ from fetchcode.package_util import get_cocoapod_tags # Set to True to regenerate expected JSON files. -REGEN = True +REGEN = False def load_json(file_name): @@ -38,8 +38,13 @@ def load_json(file_name): def check_packages(packages, expected_file, regen=REGEN): packages = [p.to_dict() for p in packages] - expected_data = load_json(expected_file) - expected_packages = list(expected_data.values()) + if regen: + with open(expected_file, "w") as f: + json.dump(packages, f, indent=2) + expected_packages = packages + else: + expected_packages = load_json(expected_file) + assert packages == expected_packages