Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
refactor: switch minimatch to micromatch #3538
What does it do?
micromatch is a replacement of minimatch. It supports multiple patterns in an array, without string-to-array conversion, along with other globbing features. It's also faster and updated much more frequently (micromatch vs minimatch). It's already utilized in hexo, indirectly through chokidar dep.
Using micromatch@4 is rather drastic since it depends on Node >=8, considering other deps currently use micromatch@3. But it's not a major issue, as Node 6 will be eventually dropped (#3508).
How to test
git clone -b micromatch https://github.com/weyusi/hexo.git cd hexo npm install npm test
github page: https://github.com/weyusi/hexo-testing
Pull request tasks