{"action":"created","issue":{"url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/issues/60","repository_url":"https://api.github.com/repos/GPlay97/EVNotifyBackend","labels_url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/issues/60/comments","events_url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/issues/60/events","html_url":"https://github.com/GPlay97/EVNotifyBackend/pull/60","id":307656544,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc2Nzg3OTcz","number":60,"title":"Update chai-http to the latest version 🚀","user":{"login":"greenkeeper[bot]","id":23040076,"node_id":"MDM6Qm90MjMwNDAwNzY=","avatar_url":"https://avatars3.githubusercontent.com/in/505?v=4","gravatar_id":"","url":"https://api.github.com/users/greenkeeper%5Bbot%5D","html_url":"https://github.com/apps/greenkeeper","followers_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/followers","following_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/repos","events_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[{"id":784719901,"node_id":"MDU6TGFiZWw3ODQ3MTk5MDE=","url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/labels/greenkeeper","name":"greenkeeper","color":"00c775","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-22T14:02:44Z","updated_at":"2018-08-29T16:26:16Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/pulls/60","html_url":"https://github.com/GPlay97/EVNotifyBackend/pull/60","diff_url":"https://github.com/GPlay97/EVNotifyBackend/pull/60.diff","patch_url":"https://github.com/GPlay97/EVNotifyBackend/pull/60.patch"},"body":"\n☝️ Greenkeeper’s [updated Terms of Service](https://mailchi.mp/ebfddc9880a9/were-updating-our-terms-of-service) will come into effect on April 6th, 2018.\n\n## Version **4.0.0** of [chai-http](https://github.com/chaijs/chai-http) was just published.\n\n<table>\n  <tr>\n    <th align=left>\n      Dependency\n    </td>\n    <td>\n      chai-http\n    </td>\n  </tr>\n  <tr>\n    <th align=left>\n      Current Version\n    </td>\n    <td>\n      3.0.0\n    </td>\n  </tr>\n  <tr>\n    <th align=left>\n      Type\n    </td>\n    <td>\n      dependency\n    </td>\n  </tr>\n</table>\n\nThe version **4.0.0** is **not covered** by your **current version range**.\n\nIf you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.\n\nIt might be worth looking into these changes and trying to get this project onto the latest version of chai-http.\n\nIf you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.\n\n\n---\n\n\n<details>\n<summary>Release Notes</summary>\n<strong>4.0.0 / 2018-03-22</strong>\n\n<p>This is a major update to the underlying dependencies and also introduces some breaking changes.</p>\n<ul>\n<li>The biggest breaking change is that this library will _no longer throw based on the status code! This means a request that returns a <code>404</code>, or <code>500</code> or any other status code cannot be asserted on in the <code>catch</code> block, instead must be asserted on in the <code>then</code> block. In other words this behaves more akin to <code>fetch</code>.</li>\n<li>Another large breaking change is that the <code>chai.request(server)</code> object will automatically close the server connection after the first request. This means if you have code like this:</li>\n</ul>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">const</span> <span class=\"pl-c1\">request</span> <span class=\"pl-k\">=</span> <span class=\"pl-smi\">chai</span>.<span class=\"pl-en\">request</span>(app)\n\n<span class=\"pl-smi\">request</span>.<span class=\"pl-c1\">get</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>/bar<span class=\"pl-pds\">'</span></span>)\n<span class=\"pl-smi\">request</span>.<span class=\"pl-c1\">get</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>/bar<span class=\"pl-pds\">'</span></span>)</pre></div>\n<p>you'll need to change it to:</p>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-k\">const</span> <span class=\"pl-c1\">request</span> <span class=\"pl-k\">=</span> <span class=\"pl-smi\">chai</span>.<span class=\"pl-en\">request</span>(app).<span class=\"pl-en\">keepOpen</span>()\n\n<span class=\"pl-smi\">request</span>.<span class=\"pl-c1\">get</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>/bar<span class=\"pl-pds\">'</span></span>)\n<span class=\"pl-smi\">request</span>.<span class=\"pl-c1\">get</span>(<span class=\"pl-s\"><span class=\"pl-pds\">'</span>/bar<span class=\"pl-pds\">'</span></span>)</pre></div>\n<p>This is <a href=\"https://urls.greenkeeper.io/chaijs/chai-http/tree/4.0.0\">described further in the README</a></p>\n<h3>Community Contributions</h3>\n<h4>Code Features &amp; Fixes</h4>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/123\">#123</a> Support responses that have <code>statusCode</code> when asserting .status  (by <a href=\"https://urls.greenkeeper.io/atom-morgan\">@atom-morgan</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/128\">#128</a> Support asserting on cross-domain cookies (by <a href=\"https://urls.greenkeeper.io/leggsimon\">@leggsimon</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/136\">#136</a> Improve Karma support (by <a href=\"https://urls.greenkeeper.io/bartw\">@bartw</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/149\">#149</a> Drop node 4 support (by <a href=\"https://urls.greenkeeper.io/vieiralucas\">@vieiralucas</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/133\">#133</a> Support cookies within <code>agent</code> (by <a href=\"https://urls.greenkeeper.io/yashsriv\">@yashsriv</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/154/issue/154\">#154</a> Support 307, 308 redirects in <code>.redirect()</code> assertion (by <a href=\"https://urls.greenkeeper.io/tonymet\">@tonymet</a>)</li>\n</ul>\n<h4>Documentation fixes</h4>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/102\">#102</a> Fix docs regarding Promises (by <a href=\"https://urls.greenkeeper.io/keithamus\">@keithamus</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/127\">#127</a> Fix docs formatting for chaijs.com (by <a href=\"https://urls.greenkeeper.io/Limess\">@Limess</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/137\">#137</a> Improve docs around form data (by <a href=\"https://urls.greenkeeper.io/ZackWard\">@ZackWard</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/138\">#138</a> Add MIT license to package.json (by <a href=\"https://urls.greenkeeper.io/noderat\">@noderat</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/142\">#142</a> Fix semicolons in readme (by <a href=\"https://urls.greenkeeper.io/vieiralucas\">@vieiralucas</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/160\">#160</a> Add examples for <code>.not.redirect</code> in readme (by <a href=\"https://urls.greenkeeper.io/mcky\">@mcky</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/166\">#166</a> Fix docs for form tests (by <a href=\"https://urls.greenkeeper.io/barraponto\">@barraponto</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/167\">#167</a> Add readme docs to make it easier to find out how to login during tests (by <a href=\"https://urls.greenkeeper.io/barraponto\">@barraponto</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/173\">#173</a> Clarify using chai expect in Readme (by <a href=\"https://urls.greenkeeper.io/cornelius-k\">@cornelius-k</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/190\">#190</a> Add readme note about agent not closing (by <a href=\"https://urls.greenkeeper.io/gswalden\">@gswalden</a>)</li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/issue/199\">#199</a> Fix license typo in package.json (by <a href=\"https://urls.greenkeeper.io/zewa666\">@zewa666</a>)</li>\n</ul>\n</details>\n\n<details>\n<summary>Commits</summary>\n<p>The new version differs by 54 commits.</p>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/d9a8d1f789dc9c51bb4b5ca3351313ae10c0bf3f\"><code>d9a8d1f</code></a> <code>4.0.0 (#202)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/a315dd0b8fffc7297620e951b30f8a7efa2c186f\"><code>a315dd0</code></a> <code>chore(package): fixed license typo (#199)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/832f6c2d9b2252f57db7c5173c421aa5c9c45579\"><code>832f6c2</code></a> <code>docs: add note about agent server not closing (close #188) (#190)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/cee5dbd0216b20c8ddf8d98e5a9dd7a8d389addd\"><code>cee5dbd</code></a> <code>Merge pull request #184 from chaijs/fix-178</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/3d7ab70b38518c09b3ab4e961134664dfd0a3850\"><code>3d7ab70</code></a> <code>feat(node-request): close connections after request</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/d3d9ec6dcf5e20595a13dda8a3c428c944d614e5\"><code>d3d9ec6</code></a> <code>chore(package): update devdependencies</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/e2e80ced470fb8db82c5c7a4265706ee6a05880c\"><code>e2e80ce</code></a> <code>chore(package): update all package versions</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/80c880cd648bb38fd9bacc0e159e9d03278b3dfc\"><code>80c880c</code></a> <code>chore(package): update superagent to 3.7 (#183)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/80b4efb1a0ee744bdf3fd31bd9b22414a53d2369\"><code>80b4efb</code></a> <code>docs: add chai.expect usage to readme (#173)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/2604c3b2b0d8d310b9f75ddd77520b6d85d65300\"><code>2604c3b</code></a> <code>mention login in the persistent session guide (#167)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/77a7a93869d86adba2ced5f33507a22434f4b647\"><code>77a7a93</code></a> <code>docs: fix form test example in README (#166)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/6e88c3832c5920719b2665601055503e004ac769\"><code>6e88c38</code></a> <code>Merge pull request #131 from meeber/chai-v4</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/742671588fa2e47e493fe338d9a680f261f92d0e\"><code>7426715</code></a> <code>Update for Chai v4.0</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/cf521913c80501b56c8dba5b05e4a1bbe9e2c1a6\"><code>cf52191</code></a> <code>Merge pull request #160 from mcky/patch-1</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/dfffa63732c458df71977b9c6deca3ef3529ce1b\"><code>dfffa63</code></a> <code>Add to.not.redirect example to README</code></li>\n</ul>\n<p>There are 54 commits in total.</p>\n<p>See the <a href=\"https://urls.greenkeeper.io/chaijs/chai-http/compare/1345021daad2c7b0fbac9fe5c541f55802795f33...d9a8d1f789dc9c51bb4b5ca3351313ae10c0bf3f\">full diff</a></p>\n</details>\n\n<details>\n  <summary>FAQ and help</summary>\n\n  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).\n</details>\n\n\n---\n\n\nYour [Greenkeeper](https://greenkeeper.io) bot :palm_tree:\n\n"},"comment":{"url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/issues/comments/417016055","html_url":"https://github.com/GPlay97/EVNotifyBackend/pull/60#issuecomment-417016055","issue_url":"https://api.github.com/repos/GPlay97/EVNotifyBackend/issues/60","id":417016055,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzAxNjA1NQ==","user":{"login":"greenkeeper[bot]","id":23040076,"node_id":"MDM6Qm90MjMwNDAwNzY=","avatar_url":"https://avatars3.githubusercontent.com/in/505?v=4","gravatar_id":"","url":"https://api.github.com/users/greenkeeper%5Bbot%5D","html_url":"https://github.com/apps/greenkeeper","followers_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/followers","following_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/repos","events_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/greenkeeper%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-08-29T16:26:16Z","updated_at":"2018-08-29T16:26:16Z","author_association":"NONE","body":"## Version **4.2.0** just got published. \n[Update to this version instead 🚀](https://github.com/GPlay97/EVNotifyBackend/compare/master...GPlay97:greenkeeper%2Fchai-http-4.2.0) \n\n<details>\n<summary>Release Notes</summary>\n<strong>4.2.0 / 2018-08-29</strong>\n\n<p>This is a minor update that adds <a href=\"https://urls.greenkeeper.io/chaijs/chai-http/blob/master/types/index.d.ts\">TypeScript definitions</a>.</p>\n<h3>Community Contributions</h3>\n<h4>Code Features &amp; Fixes</h4>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/pull/221\">#221</a> Add TypeScript definitions  (by <a href=\"https://urls.greenkeeper.io/austince\">@austince</a>)</li>\n</ul>\n</details>\n\n<details>\n<summary>Commits</summary>\n<p>The new version differs by 3 commits.</p>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/0cbcd3a7873d2bc88792d73345ca1697d119fae1\"><code>0cbcd3a</code></a> <code>Merge pull request #223 from austince/release/4.2.0</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/c8639998b286accf1a7ddb6d3e6ab0952704386d\"><code>c863999</code></a> <code>4.2.0</code></li>\n<li><a href=\"https://urls.greenkeeper.io/chaijs/chai-http/commit/b0677918ba294e05e64a6ce4a4605f2d6e73781f\"><code>b067791</code></a> <code>feat(types): Add typescript definitions (#221)</code></li>\n</ul>\n<p>See the <a href=\"https://urls.greenkeeper.io/chaijs/chai-http/compare/2c342c8c2c6d4afdaa454a351061c7a5025e29b0...0cbcd3a7873d2bc88792d73345ca1697d119fae1\">full diff</a></p>\n</details>"}}
{"actor":{"display_login":"greenkeeper"}}