Releases: lukeed/escalade
v3.2.0
Patches
- Declare separate ESM and CommonJS TypeScript definitions: a72e1c3
Previously, only ESM definitions were shipped but were exported in a way that could cause tool/resolution ambiguity.
Chores
- Update Node.js version matrix in CI suite: a8c6820
Full Changelog: v3.1.2...v3.2.0
v3.1.2
Patches
- Support TypeScript’s
nodenext
module resolution mode (#10): d872fbdThank you @NMinhNguyen
Chores
- Add
licenses.dev
badge to README: 02dcb8b - Update CI matrix versions: 3c916b2
Full Changelog: v3.1.1...v3.1.2
v3.1.1
Patches
-
(exports) Support
require
for Node 13.0-13.6 versions (#6): a2297e1
Thank you @ljharb~!Node 13.0 through 13.6 (inclusive) included early, partial support of the current
exports
map behavior. In other words, all Node 12.x and Node 13.7+ versions contain the current, stable implementations.Before this patch, users of Node 13.0 - 13.6 were unable to use
escalade
at all, due to its faultyexports
parser. This patch allows these users torequire()
escalade – but notimport
it. That said, Node 13.0 through 13.6 were experimental versions and are now obsolete since Node 14.x (LTS) has been out for quite some time. Please upgrade today if you're using one of these versions.
v3.1.0
Features
-
Add Deno support (#4) 🎉 : b47f528
// Mode: sync import escalade from 'https://deno.land/x/escalade/sync.ts'; let output = escalade('.', (dir, list) => { if (list.includes('package.json')) return 'package.json'; }); // Mode: async import escalade from 'https://deno.land/x/escalade/async.ts'; let output = await escalade('.', (dir, list) => { if (list.includes('package.json')) return 'package.json'; });