{"push_id":737917706,"size":4,"distinct_size":1,"ref":"refs/heads/master","head":"cb88cd97ad2275b7014cb3ba83990730bf1920fa","before":"3397e66e5cce5f7663e0711ce41420d58487433d","commits":[{"sha":"a0704a5550336ecd76781c07dd68049ab718d084","author":{"email":"f5a3082dfc399666895f58d2777281f9ac20aad5@causes.com","name":"Henric Trotzig"},"message":"Add spec for sorting of destructured imports\n\nI thought this didn't work, and in true TDD fashion I started writing a\ntest to reproduce. It turns out that everything was already behaving the\nway I was expecting, but it doesn't hurt adding this test to keep it\nworking in the future too.","distinct":false,"url":"https://api.github.com/repos/trotzig/import-js/commits/a0704a5550336ecd76781c07dd68049ab718d084"},{"sha":"fc26892c7c1760efcfbbfc77b514c3818a882cbf","author":{"email":"f5a3082dfc399666895f58d2777281f9ac20aad5@causes.com","name":"Henric Trotzig"},"message":"Simplify Importer class\n\nThere was some old tech debt in the complexity involved in knowing\nwhether or not an import was added. A while back, this was used to\ndetermine if the cursor should move a line after importing or not. This\nchanged some time ago to instead count the lines in the buffer before\nand after. But the code to signal added or not was still around. And it\nwas only used in one place: to display a message after\n:ImportJSImportAll was run. That message was redundant anyway since we\nshow individual messages per variable imported, so I removed it.","distinct":false,"url":"https://api.github.com/repos/trotzig/import-js/commits/fc26892c7c1760efcfbbfc77b514c3818a882cbf"},{"sha":"bd1e8053ce93350d0cbbdb9d69ad75c7dc2f7666","author":{"email":"f5a3082dfc399666895f58d2777281f9ac20aad5@causes.com","name":"Henric Trotzig"},"message":"Combine destructured imports\n\nBefore, if you imported a variable through destructuring, you could end\nup with something like this:\n\n  const { debounce } = require('underscore');\n  const { memoize } = require('underscore');\n\nAfter this change, we combine imports for the same module into one\ndestructured object:\n\n  const { debounce, memoize } = require('underscore');\n\nItems are sorted and duplicates are avoided.\n\nThanks to @lencioni for suggesting this.\n\nFixes #38.","distinct":false,"url":"https://api.github.com/repos/trotzig/import-js/commits/bd1e8053ce93350d0cbbdb9d69ad75c7dc2f7666"},{"sha":"cb88cd97ad2275b7014cb3ba83990730bf1920fa","author":{"email":"f5a3082dfc399666895f58d2777281f9ac20aad5@brigade.com","name":"Henric Trotzig"},"message":"Merge pull request #42 from trotzig/destructure-follow-up\n\nDestructure follow up","distinct":true,"url":"https://api.github.com/repos/trotzig/import-js/commits/cb88cd97ad2275b7014cb3ba83990730bf1920fa"}]}