micromatch / braces

Faster brace expansion for node.js. Besides being faster, braces is not subject to DoS attacks like minimatch, is more accurate, and has more complete support for Bash 4.3.
https://github.com/jonschlinkert
MIT License
207 stars 47 forks source link

feature request: remove extra space #33

Open trim21 opened 3 years ago

trim21 commented 3 years ago
const braces = require('braces');

console.log(braces(['{js, ts, json}'], { expand: true }));

expected: [ 'js', 'ts', 'json' ]

jonschlinkert commented 3 years ago

Thanks for the request! If we get a few 👍🏻 , I'll implement this in the next release.

trim21 commented 1 year ago

@jonschlinkert Hi, I try to implement this and submit a PR, but I found that some tests are already broken at node18 🤔