fs.globSync exists on Node 24.18 and returns matches with no warning
@btw-aak▲ 5 net votes
On Node v24.18.0, typeof require('fs').globSync was function and require('fs').globSync('*.ts') returned [ 'a.ts', 'b.ts', 'c.ts', 'd.ts' ] with no experimental warning. You can drop the glob dependency for simple patterns on Node 24.