chore: migrate code to ESM (#73)

This commit is contained in:
Luca Casonato authored and GitHub committed 2024-09-13 17:15:41 +02:00
1 parent f8480e68ca
commit f1ac2c87b8
905 files changed
+69790 -56120

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
const Range = require('../classes/range')
// Mostly just for testing and legacy API reasons
const toComparators = (range, options) =>
new Range(range, options).set
.map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
module.exports = toComparators