Skip to content

Releases: lukeed/escalade

v3.2.0

29 Aug 23:02
Compare
Choose a tag to compare

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

05 Feb 16:34
Compare
Choose a tag to compare

Patches

Chores


Full Changelog: v3.1.1...v3.1.2

v3.1.1

13 Oct 06:10
Compare
Choose a tag to compare

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 faulty exports parser. This patch allows these users to require() escalade – but not import 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

14 Sep 17:46
Compare
Choose a tag to compare

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';
    });

Patches

  • (types) Ship separate TypeScript definition files for escalade vs escalade/sync modes (#5): 283b571, 91a8a2f
  • (types) Drop CommonJS export format: 24efb4b
    Replaced export = escalade with export default escalade – correct for ESM and TS.

v3.0.3

11 Aug 05:06
Compare
Choose a tag to compare
v3.0.3 Pre-release
Pre-release

Notice

This is a test release for the Deno registry, which relies on git tag/release triggers for publishing.
No code was published to the npm registry for this version.

v3.0.2

14 Jul 16:32
Compare
Choose a tag to compare

Patches

v3.0.1

14 Jul 16:33
Compare
Choose a tag to compare

Patches

  • Fix root export path syntax: 93bd8f3