Skip to content

Releases: sindresorhus/pkg-dir

v8.0.0

03 Nov 20:03
Compare
Choose a tag to compare

Breaking

v7.0.0...v8.0.0

v7.0.0

16 Aug 17:52
Compare
Choose a tag to compare

Breaking

v6.0.1...v7.0.0

v6.0.1

06 Oct 05:27
Compare
Choose a tag to compare

v6.0.0...v6.0.1

v6.0.0

02 Oct 05:59
Compare
Choose a tag to compare

Breaking

-const pkgDir = require('pkg-dir');
+import {packageDirectory} from 'pkg-dir';

-await pkgDir('/Users/unicorn/foo');
+await packageDirectory({cwd: '/Users/unicorn/foo'});

v5.0.0...v6.0.0

v5.0.0

16 Oct 14:55
Compare
Choose a tag to compare

Breaking

v4.2.0...v5.0.0

v4.2.0

21 May 09:36
Compare
Choose a tag to compare

v4.1.0...v4.2.0

v4.1.0

05 Apr 06:34
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#5) 88b6650

v4.0.0...v4.1.0

v4.0.0

12 Mar 08:54
Compare
Choose a tag to compare

Breaking:

  • Require Node.js 8 (#4) 24d765b
  • Return undefined instead of null when the project root cannot be found 80325b3
    undefined works better with new JS features like default arguments.

Enhancements:

v3.0.0...v4.0.0