{"action":"created","issue":{"url":"https://api.github.com/repos/z-kit/z-checkbox/issues/5","repository_url":"https://api.github.com/repos/z-kit/z-checkbox","labels_url":"https://api.github.com/repos/z-kit/z-checkbox/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/z-kit/z-checkbox/issues/5/comments","events_url":"https://api.github.com/repos/z-kit/z-checkbox/issues/5/events","html_url":"https://github.com/z-kit/z-checkbox/pull/5","id":226946607,"number":5,"title":"Update postcss-loader to the latest version 🚀","user":{"login":"greenkeeper[bot]","id":23040076,"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":538726571,"url":"https://api.github.com/repos/z-kit/z-checkbox/labels/greenkeeper","name":"greenkeeper","color":"00c775","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-05-08T06:04:03Z","updated_at":"2018-04-16T01:35:15Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/z-kit/z-checkbox/pulls/5","html_url":"https://github.com/z-kit/z-checkbox/pull/5","diff_url":"https://github.com/z-kit/z-checkbox/pull/5.diff","patch_url":"https://github.com/z-kit/z-checkbox/pull/5.patch"},"body":"\n\n## Version **2.0.0** of [postcss-loader](https://github.com/postcss/postcss-loader) just got published.\n\n<table>\n  <tr>\n    <th align=left>\n      Dependency\n    </td>\n    <td>\n      postcss-loader\n    </td>\n  </tr>\n  <tr>\n    <th align=left>\n      Current Version\n    </td>\n    <td>\n      1.3.3\n    </td>\n  </tr>\n  <tr>\n    <th align=left>\n      Type\n    </td>\n    <td>\n      devDependency\n    </td>\n  </tr>\n</table>\n\nThe version **2.0.0** is **not covered** by your **current version range**.\n\nWithout accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.\n\nI recommend you look into these changes and try to get onto the latest version of postcss-loader.\nGiven that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise 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>v2.0.0</strong>\n\n<h3>Features</h3>\n<ul>\n<li><strong>index:</strong> add ctx, ctx.file, ctx.options (<a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/0dceb2c\">0dceb2c</a>)</li>\n</ul>\n<p><strong>webpack.config.js</strong></p>\n<div class=\"highlight highlight-source-js\"><pre>{\n  test<span class=\"pl-k\">:</span><span class=\"pl-sr\"> <span class=\"pl-pds\">/</span><span class=\"pl-cce\">\\.</span>css<span class=\"pl-k\">$</span><span class=\"pl-pds\">/</span></span>\n  use<span class=\"pl-k\">:</span> [ \n    { \n      loader<span class=\"pl-k\">:</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>postcss-loader<span class=\"pl-pds\">'</span></span>,\n      options<span class=\"pl-k\">:</span> { \n       config<span class=\"pl-k\">:</span> { \n         ctx<span class=\"pl-k\">:</span> {\n           cssnext<span class=\"pl-k\">:</span> {<span class=\"pl-k\">...</span>options}\n         } \n       }\n    }\n  ]\n}</pre></div>\n<p><strong>postcss.config.js</strong></p>\n<div class=\"highlight highlight-source-js\"><pre><span class=\"pl-c1\">module</span>.<span class=\"pl-en\">exports</span> <span class=\"pl-k\">=</span> ({ file, options, env }) <span class=\"pl-k\">=&gt;</span> ({\n    parser<span class=\"pl-k\">:</span> <span class=\"pl-smi\">file</span>.<span class=\"pl-smi\">extname</span> <span class=\"pl-k\">===</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>.sss<span class=\"pl-pds\">'</span></span> <span class=\"pl-k\">?</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>sugarss<span class=\"pl-pds\">'</span></span> <span class=\"pl-k\">:</span> <span class=\"pl-c1\">false</span>,\n    plugins<span class=\"pl-k\">:</span> {\n      <span class=\"pl-s\"><span class=\"pl-pds\">'</span>postcss-import<span class=\"pl-pds\">'</span></span><span class=\"pl-k\">:</span> { root<span class=\"pl-k\">:</span> <span class=\"pl-smi\">file</span>.<span class=\"pl-smi\">dirname</span> },\n      <span class=\"pl-s\"><span class=\"pl-pds\">'</span>cssnext<span class=\"pl-pds\">'</span></span><span class=\"pl-k\">:</span> <span class=\"pl-smi\">options</span>.<span class=\"pl-smi\">cssnext</span> <span class=\"pl-k\">?</span> <span class=\"pl-smi\">options</span>.<span class=\"pl-smi\">cssnext</span> <span class=\"pl-k\">:</span> <span class=\"pl-c1\">false</span>\n      <span class=\"pl-s\"><span class=\"pl-pds\">'</span>cssnano<span class=\"pl-pds\">'</span></span><span class=\"pl-k\">:</span> env <span class=\"pl-k\">===</span> <span class=\"pl-s\"><span class=\"pl-pds\">'</span>production<span class=\"pl-pds\">'</span></span> <span class=\"pl-k\">?</span> { safe<span class=\"pl-k\">:</span> <span class=\"pl-c1\">true</span> } <span class=\"pl-k\">:</span> <span class=\"pl-c1\">false</span>\n    }    \n})</pre></div>\n<ul>\n<li><strong>index:</strong> add options validation (<a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/2b76df8\">2b76df8</a>)</li>\n</ul>\n<h2>Breaking Chances</h2>\n<ul class=\"contains-task-list\">\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" checked=\"\" disabled=\"\"> Removed Support for node =&lt; v4.0.0 (LTS)</li>\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" checked=\"\" disabled=\"\"> Remove<code>ctx.webpack</code></li>\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" checked=\"\" disabled=\"\"> Remove Presets <code>options.pack</code></li>\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" checked=\"\" disabled=\"\"> Remove webpack Plugin Hook (<code>postcss-loader-before-processing</code>)</li>\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" checked=\"\" disabled=\"\"> Refactor <code>options.config</code> for <code>ctx.options</code></li>\n</ul>\n<p><strong>webpack.config.js</strong></p>\n<div class=\"highlight highlight-source-diff\"><pre>{\n  test: /\\.css$/\n  use: [ \n    { \n      loader: 'postcss-loader',\n      options: { \n<span class=\"pl-md\"><span class=\"pl-md\">-</span>      config: 'path/to/postcss.config.js'</span>\n<span class=\"pl-mi1\"><span class=\"pl-mi1\">+</span>      config: {</span>\n<span class=\"pl-mi1\"><span class=\"pl-mi1\">+</span>        ctx: {},</span>\n<span class=\"pl-mi1\"><span class=\"pl-mi1\">+</span>        path: 'path/to/postcss.config.js'</span>\n<span class=\"pl-mi1\"><span class=\"pl-mi1\">+</span>     }</span>\n    }\n  ]\n}</pre></div>\n<ul class=\"contains-task-list\">\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" checked=\"\" disabled=\"\"> Update to PostCSS <a href=\"https://urls.greenkeeper.io/postcss/postcss/releases/tag/6.0.0\">v6.0.0</a></li>\n</ul>\n</details>\n\n<details>\n<summary>Commits</summary>\n<p>The new version differs by 6 commits0.</p>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/e586f4a2deb3bc60b71cd30157187f89bd34cec6\"><code>e586f4a</code></a> <code>chore(release): 2.0.0</code></li>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/40d2268ac87c47408d2870528d00a3bde486ce9a\"><code>40d2268</code></a> <code>chore(package): add standard-version</code></li>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/0b630247d4486279633220f4e77105e87c258247\"><code>0b63024</code></a> <code>chore(index): v2.0.0 (#191)</code></li>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/2b76df8ae2e59bb393b23036aa8a3f17bd8c6582\"><code>2b76df8</code></a> <code>feat(index): add options validation</code></li>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/0dceb2c2dc827306533e44017e537d1862084c1a\"><code>0dceb2c</code></a> <code>feat(index): add ctx, ctx.file, ctx.options</code></li>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/d591cdf28d1309e463ea5e2e71e0be47be8663d0\"><code>d591cdf</code></a> <code>doc(): update webpack v2 part (#186)</code></li>\n</ul>\n<p>false</p>\n<p>See the <a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/compare/e101b845eaa8e7ad006e9a8294c3d64b9061b86c...e586f4a2deb3bc60b71cd30157187f89bd34cec6\">full diff</a></p>\n</details>\n\n<details>\n  <summary>Not sure how things should work exactly?</summary>\n\n  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](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/z-kit/z-checkbox/issues/comments/381456316","html_url":"https://github.com/z-kit/z-checkbox/pull/5#issuecomment-381456316","issue_url":"https://api.github.com/repos/z-kit/z-checkbox/issues/5","id":381456316,"user":{"login":"greenkeeper[bot]","id":23040076,"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-04-16T01:35:14Z","updated_at":"2018-04-16T01:35:14Z","author_association":"NONE","body":"## Version **2.1.4** just got published. \n[Update to this version instead 🚀](https://github.com/z-kit/z-checkbox/compare/greenkeeper%2Fpostcss-loader-2.1.4?expand=1) \n\n<details>\n<summary>Commits</summary>\n<p>The new version differs by 2 commits.</p>\n<ul>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/2484275a616e218dea6cd49db2f278a373366dda\"><code>2484275</code></a> <code>chore(release): 2.1.4</code></li>\n<li><a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/commit/2ff1735200fb8abceae6511123821a3c6e14b531\"><code>2ff1735</code></a> <code>fix: restore loader object in postcss config context (#355)</code></li>\n</ul>\n<p>See the <a href=\"https://urls.greenkeeper.io/postcss/postcss-loader/compare/ce2adca93d37bdd40676799b0edd8313b1167349...2484275a616e218dea6cd49db2f278a373366dda\">full diff</a></p>\n</details>"}}
{"actor":{"display_login":"greenkeeper"}}