From 2533fb0751ceabcfd154d5a581366dc46f47d575 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sun, 11 Nov 2018 07:42:35 +0100
Subject: [PATCH] fix(packagist): use static endpoint for org lookups

Closes #2785
---
 lib/datasource/packagist.js                 | 9 ++++++---
 test/_fixtures/packagist/mailchimp-api.json | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/lib/datasource/packagist.js b/lib/datasource/packagist.js
index 104979a99c..52ed23cb54 100644
--- a/lib/datasource/packagist.js
+++ b/lib/datasource/packagist.js
@@ -173,12 +173,15 @@ async function getAllPackages(regUrl) {
 
 async function packagistOrgLookup(name) {
   const regUrl = 'https://packagist.org';
-  const pkgUrl = URL.resolve(regUrl, `/packages/${name}.json`);
+  const pkgUrl = URL.resolve(regUrl, `/p/${name}.json`);
   const res = (await got(pkgUrl, {
     json: true,
     retry: 5,
-  })).body.package;
-  const dep = extractDepReleases(res.versions);
+  })).body.packages[name];
+  if (!res) {
+    return null;
+  }
+  const dep = extractDepReleases(res);
   dep.name = name;
   logger.trace({ dep }, 'dep');
   return dep;
diff --git a/test/_fixtures/packagist/mailchimp-api.json b/test/_fixtures/packagist/mailchimp-api.json
index 9ca472a880..913d83f362 100644
--- a/test/_fixtures/packagist/mailchimp-api.json
+++ b/test/_fixtures/packagist/mailchimp-api.json
@@ -1 +1 @@
-{"package":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","time":"2013-12-18T14:08:09+00:00","maintainers":[{"name":"drewm","avatar_url":"https:\/\/www.gravatar.com\/avatar\/74c8cca18339c66ca10979569f1bb206?d=identicon"}],"versions":{"dev-master":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"dev-master","version_normalized":"9999999-dev","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"e3febc93dbe8047f0a14fea19c1efe79cecc7e98"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/e3febc93dbe8047f0a14fea19c1efe79cecc7e98","reference":"e3febc93dbe8047f0a14fea19c1efe79cecc7e98","shasum":""},"type":"library","time":"2018-02-23T09:45:38+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"vlucas\/phpdotenv":"^2.0","phpunit\/phpunit":"7.0.*"}},"dev-api-v3":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"dev-api-v3","version_normalized":"dev-api-v3","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"268dca3f0e35bdc263ceb8114b24c7496c3b46f5"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/268dca3f0e35bdc263ceb8114b24c7496c3b46f5","reference":"268dca3f0e35bdc263ceb8114b24c7496c3b46f5","shasum":""},"type":"library","time":"2016-01-17T15:59:26+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"dev-api-v2":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v2 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"dev-api-v2","version_normalized":"dev-api-v2","license":["MIT"],"authors":[{"name":"Drew McLellan","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"2ace9cf087bea43d0bf9c7207d94ce93642e6262"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/2ace9cf087bea43d0bf9c7207d94ce93642e6262","reference":"2ace9cf087bea43d0bf9c7207d94ce93642e6262","shasum":""},"type":"library","time":"2016-01-17T15:57:27+00:00","autoload":{"psr-0":{"Drewm":"src\/"}},"require":{"php":"\u003E=5.3"}},"v2.5":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.5","version_normalized":"2.5.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"f532fa26cd6e7d17c9ba40a757d8c6bfee47dace"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/f532fa26cd6e7d17c9ba40a757d8c6bfee47dace","reference":"f532fa26cd6e7d17c9ba40a757d8c6bfee47dace","shasum":""},"type":"library","time":"2018-02-16T15:31:05+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"7.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.4":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.4","version_normalized":"2.4.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"fe480bb652f85270227bf6d639b0026a531f21fc"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/fe480bb652f85270227bf6d639b0026a531f21fc","reference":"fe480bb652f85270227bf6d639b0026a531f21fc","shasum":""},"type":"library","time":"2017-02-16T13:24:20+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.3":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.3","version_normalized":"2.3.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"6a5373378f8e61284be81d6424d22fb2a3a1ff9e"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/6a5373378f8e61284be81d6424d22fb2a3a1ff9e","reference":"6a5373378f8e61284be81d6424d22fb2a3a1ff9e","shasum":""},"type":"library","time":"2016-12-21T14:50:24+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.2.3":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.2.3","version_normalized":"2.2.3.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","shasum":""},"type":"library","time":"2016-07-01T15:53:33+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.2.4":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.2.4","version_normalized":"2.2.4.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","shasum":""},"type":"library","time":"2016-07-01T15:53:33+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.2.2":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.2.2","version_normalized":"2.2.2.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"6ebcfd131fd6f3cac69be9fccb6c3f8102736952"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/6ebcfd131fd6f3cac69be9fccb6c3f8102736952","reference":"6ebcfd131fd6f3cac69be9fccb6c3f8102736952","shasum":""},"type":"library","time":"2016-07-01T09:58:24+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.2.1":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.2.1","version_normalized":"2.2.1.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"a2bf78208c49b205482c5ca884cb45a8cd266d5c"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/a2bf78208c49b205482c5ca884cb45a8cd266d5c","reference":"a2bf78208c49b205482c5ca884cb45a8cd266d5c","shasum":""},"type":"library","time":"2016-04-23T18:00:21+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.2":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.2","version_normalized":"2.2.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"590fb71e3493b5daba382c44f714f2e25d785814"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/590fb71e3493b5daba382c44f714f2e25d785814","reference":"590fb71e3493b5daba382c44f714f2e25d785814","shasum":""},"type":"library","time":"2016-04-23T12:43:28+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3","ext-curl":"*"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.1.3":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.1.3","version_normalized":"2.1.3.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"6188e2be5827efb6595f63ad6f01a26e84bd39f7"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/6188e2be5827efb6595f63ad6f01a26e84bd39f7","reference":"6188e2be5827efb6595f63ad6f01a26e84bd39f7","shasum":""},"type":"library","time":"2016-04-12T09:09:47+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.1.2":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.1.2","version_normalized":"2.1.2.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"f4539014e9cc96eab0f187f52eb60499518a31bb"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/f4539014e9cc96eab0f187f52eb60499518a31bb","reference":"f4539014e9cc96eab0f187f52eb60499518a31bb","shasum":""},"type":"library","time":"2016-04-06T12:41:37+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.1.1":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.1.1","version_normalized":"2.1.1.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"86f529eba05a7e4c3a3e091aed8ff056137e6251"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/86f529eba05a7e4c3a3e091aed8ff056137e6251","reference":"86f529eba05a7e4c3a3e091aed8ff056137e6251","shasum":""},"type":"library","time":"2016-04-06T08:37:20+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.1":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.1","version_normalized":"2.1.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"a9bf617afb5a9bcb2601f5cc23b01a7b581d5659"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/a9bf617afb5a9bcb2601f5cc23b01a7b581d5659","reference":"a9bf617afb5a9bcb2601f5cc23b01a7b581d5659","shasum":""},"type":"library","time":"2016-01-30T16:12:54+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v2.0":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v2.0","version_normalized":"2.0.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"a2eb58b615aff713fcb1714e33f321712c5be3c8"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/a2eb58b615aff713fcb1714e33f321712c5be3c8","reference":"a2eb58b615aff713fcb1714e33f321712c5be3c8","shasum":""},"type":"library","time":"2016-01-17T13:08:01+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":"\u003E=5.3"},"require-dev":{"phpunit\/phpunit":"4.0.*","vlucas\/phpdotenv":"^2.0"}},"v1.1":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v2 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v1.1","version_normalized":"1.1.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"707d555962442b21a75683a56bdb7cebd0a19f72"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/707d555962442b21a75683a56bdb7cebd0a19f72","reference":"707d555962442b21a75683a56bdb7cebd0a19f72","shasum":""},"type":"library","time":"2015-07-07T15:38:25+00:00","autoload":{"psr-0":{"Drewm":"src\/"}},"require":{"php":"\u003E=5.3"}},"v1.0":{"name":"drewm\/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v2 wrapper","keywords":[],"homepage":"https:\/\/github.com\/drewm\/mailchimp-api","version":"v1.0","version_normalized":"1.0.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","homepage":"http:\/\/allinthehead.com\/"}],"source":{"type":"git","url":"https:\/\/github.com\/drewm\/mailchimp-api.git","reference":"0b763f05fe18610061b8289a399a9d0569036a50"},"dist":{"type":"zip","url":"https:\/\/api.github.com\/repos\/drewm\/mailchimp-api\/zipball\/0b763f05fe18610061b8289a399a9d0569036a50","reference":"0b763f05fe18610061b8289a399a9d0569036a50","shasum":""},"type":"library","time":"2014-05-30T16:51:39+00:00","autoload":{"psr-0":{"Drewm":"src\/"}},"require":{"php":"\u003E=5.3"}}},"type":"library","repository":"https:\/\/github.com\/drewm\/mailchimp-api","github_stars":1494,"github_watchers":96,"github_forks":401,"github_open_issues":32,"language":"PHP","dependents":57,"suggesters":3,"downloads":{"total":2243357,"monthly":116450,"daily":4785},"favers":1507}}
\ No newline at end of file
+{"packages":{"drewm/mailchimp-api":{"dev-api-v2":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v2 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"dev-api-v2","version_normalized":"dev-api-v2","license":["MIT"],"authors":[{"name":"Drew McLellan","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"2ace9cf087bea43d0bf9c7207d94ce93642e6262"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/2ace9cf087bea43d0bf9c7207d94ce93642e6262","reference":"2ace9cf087bea43d0bf9c7207d94ce93642e6262","shasum":""},"type":"library","time":"2016-01-17T15:57:27+00:00","autoload":{"psr-0":{"Drewm":"src/"}},"require":{"php":">=5.3"},"uid":660713},"dev-api-v3":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"dev-api-v3","version_normalized":"dev-api-v3","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"268dca3f0e35bdc263ceb8114b24c7496c3b46f5"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/268dca3f0e35bdc263ceb8114b24c7496c3b46f5","reference":"268dca3f0e35bdc263ceb8114b24c7496c3b46f5","shasum":""},"type":"library","time":"2016-01-17T15:59:26+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":456958},"dev-master":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"dev-master","version_normalized":"9999999-dev","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"e3febc93dbe8047f0a14fea19c1efe79cecc7e98"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/e3febc93dbe8047f0a14fea19c1efe79cecc7e98","reference":"e3febc93dbe8047f0a14fea19c1efe79cecc7e98","shasum":""},"type":"library","time":"2018-02-23T09:45:38+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"vlucas/phpdotenv":"^2.0","phpunit/phpunit":"7.0.*"},"uid":112102},"v1.0":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v2 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v1.0","version_normalized":"1.0.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"0b763f05fe18610061b8289a399a9d0569036a50"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/0b763f05fe18610061b8289a399a9d0569036a50","reference":"0b763f05fe18610061b8289a399a9d0569036a50","shasum":""},"type":"library","time":"2014-05-30T16:51:39+00:00","autoload":{"psr-0":{"Drewm":"src/"}},"require":{"php":">=5.3"},"uid":249784},"v1.1":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v2 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v1.1","version_normalized":"1.1.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"707d555962442b21a75683a56bdb7cebd0a19f72"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/707d555962442b21a75683a56bdb7cebd0a19f72","reference":"707d555962442b21a75683a56bdb7cebd0a19f72","shasum":""},"type":"library","time":"2015-07-07T15:38:25+00:00","autoload":{"psr-0":{"Drewm":"src/"}},"require":{"php":">=5.3"},"uid":454905},"v2.0":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.0","version_normalized":"2.0.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"a2eb58b615aff713fcb1714e33f321712c5be3c8"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/a2eb58b615aff713fcb1714e33f321712c5be3c8","reference":"a2eb58b615aff713fcb1714e33f321712c5be3c8","shasum":""},"type":"library","time":"2016-01-17T13:08:01+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":660717},"v2.1":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.1","version_normalized":"2.1.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"a9bf617afb5a9bcb2601f5cc23b01a7b581d5659"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/a9bf617afb5a9bcb2601f5cc23b01a7b581d5659","reference":"a9bf617afb5a9bcb2601f5cc23b01a7b581d5659","shasum":""},"type":"library","time":"2016-01-30T16:12:54+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":678375},"v2.1.1":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.1.1","version_normalized":"2.1.1.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"86f529eba05a7e4c3a3e091aed8ff056137e6251"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/86f529eba05a7e4c3a3e091aed8ff056137e6251","reference":"86f529eba05a7e4c3a3e091aed8ff056137e6251","shasum":""},"type":"library","time":"2016-04-06T08:37:20+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":766160},"v2.1.2":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.1.2","version_normalized":"2.1.2.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"f4539014e9cc96eab0f187f52eb60499518a31bb"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/f4539014e9cc96eab0f187f52eb60499518a31bb","reference":"f4539014e9cc96eab0f187f52eb60499518a31bb","shasum":""},"type":"library","time":"2016-04-06T12:41:37+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":766567},"v2.1.3":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.1.3","version_normalized":"2.1.3.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"6188e2be5827efb6595f63ad6f01a26e84bd39f7"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/6188e2be5827efb6595f63ad6f01a26e84bd39f7","reference":"6188e2be5827efb6595f63ad6f01a26e84bd39f7","shasum":""},"type":"library","time":"2016-04-12T09:09:47+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":774505},"v2.2":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.2","version_normalized":"2.2.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"590fb71e3493b5daba382c44f714f2e25d785814"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/590fb71e3493b5daba382c44f714f2e25d785814","reference":"590fb71e3493b5daba382c44f714f2e25d785814","shasum":""},"type":"library","time":"2016-04-23T12:43:28+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":790573},"v2.2.1":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.2.1","version_normalized":"2.2.1.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"a2bf78208c49b205482c5ca884cb45a8cd266d5c"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/a2bf78208c49b205482c5ca884cb45a8cd266d5c","reference":"a2bf78208c49b205482c5ca884cb45a8cd266d5c","shasum":""},"type":"library","time":"2016-04-23T18:00:21+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":843075},"v2.2.2":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.2.2","version_normalized":"2.2.2.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"6ebcfd131fd6f3cac69be9fccb6c3f8102736952"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/6ebcfd131fd6f3cac69be9fccb6c3f8102736952","reference":"6ebcfd131fd6f3cac69be9fccb6c3f8102736952","shasum":""},"type":"library","time":"2016-07-01T09:58:24+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":884940},"v2.2.3":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.2.3","version_normalized":"2.2.3.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","shasum":""},"type":"library","time":"2016-07-01T15:53:33+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":897514},"v2.2.4":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.2.4","version_normalized":"2.2.4.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","reference":"89b7dbc54b7ba8c2e249d6e63f66d22ecb8070f8","shasum":""},"type":"library","time":"2016-07-01T15:53:33+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":897515},"v2.3":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.3","version_normalized":"2.3.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"6a5373378f8e61284be81d6424d22fb2a3a1ff9e"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/6a5373378f8e61284be81d6424d22fb2a3a1ff9e","reference":"6a5373378f8e61284be81d6424d22fb2a3a1ff9e","shasum":""},"type":"library","time":"2016-12-21T14:50:24+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":1137300},"v2.4":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.4","version_normalized":"2.4.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"fe480bb652f85270227bf6d639b0026a531f21fc"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/fe480bb652f85270227bf6d639b0026a531f21fc","reference":"fe480bb652f85270227bf6d639b0026a531f21fc","shasum":""},"type":"library","time":"2017-02-16T13:24:20+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"4.0.*","vlucas/phpdotenv":"^2.0"},"uid":1237997},"v2.5":{"name":"drewm/mailchimp-api","description":"Super-simple, minimum abstraction MailChimp API v3 wrapper","keywords":[],"homepage":"https://github.com/drewm/mailchimp-api","version":"v2.5","version_normalized":"2.5.0.0","license":["MIT"],"authors":[{"name":"Drew McLellan","email":"drew.mclellan@gmail.com","homepage":"http://allinthehead.com/"}],"source":{"type":"git","url":"https://github.com/drewm/mailchimp-api.git","reference":"f532fa26cd6e7d17c9ba40a757d8c6bfee47dace"},"dist":{"type":"zip","url":"https://api.github.com/repos/drewm/mailchimp-api/zipball/f532fa26cd6e7d17c9ba40a757d8c6bfee47dace","reference":"f532fa26cd6e7d17c9ba40a757d8c6bfee47dace","shasum":""},"type":"library","time":"2018-02-16T15:31:05+00:00","autoload":{"psr-4":{"DrewM\\MailChimp\\":"src"}},"require":{"php":">=5.3","ext-curl":"*"},"require-dev":{"phpunit/phpunit":"7.0.*","vlucas/phpdotenv":"^2.0"},"uid":1920725}}}}
\ No newline at end of file
-- 
GitLab