The code:
const {Minimatch} = require('minimatch');
const m = new Minimatch('/\\[\\]\\{\\}/*.js');
const filepath = '/[]{}/app.js';
console.log(m.match(filepath));
prints true on 10.0.1 and false on 10.0.3. I have a couple of other errors in my tests for editorconfig-js (which runs a ton of compat tests for globs), but I'm hoping fixing this will make the rest of them go away without my having to create repros for them. :)
Seems like it's likely related to the brace-expansion change.
The code:
prints
trueon 10.0.1 andfalseon 10.0.3. I have a couple of other errors in my tests for editorconfig-js (which runs a ton of compat tests for globs), but I'm hoping fixing this will make the rest of them go away without my having to create repros for them. :)Seems like it's likely related to the brace-expansion change.