sindresorhus/pkg-dir
### [`v6.0.1`](https://togithub.com/sindresorhus/pkg-dir/releases/v6.0.1)
[Compare Source](https://togithub.com/sindresorhus/pkg-dir/compare/v6.0.0...v6.0.1)
- Fix regression in v6 ([#15](https://togithub.com/sindresorhus/pkg-dir/issues/15)) [`6570506`](https://togithub.com/sindresorhus/pkg-dir/commit/6570506)
### [`v6.0.0`](https://togithub.com/sindresorhus/pkg-dir/releases/v6.0.0)
[Compare Source](https://togithub.com/sindresorhus/pkg-dir/compare/v5.0.0...v6.0.0)
##### Breaking
- Require Node.js 12.20 ([#14](https://togithub.com/sindresorhus/pkg-dir/issues/14)) [`198c9fe`](https://togithub.com/sindresorhus/pkg-dir/commit/198c9fe) [`aeafb93`](https://togithub.com/sindresorhus/pkg-dir/commit/aeafb93)
- This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
- [Changed from a default export to named exports and the export names changed too.](https://togithub.com/sindresorhus/pkg-dir/compare/sindresorhus:db14a38...sindresorhus:a1006db#diff-5a831ea67cf5cf8703b0de46901ab25bd191f56b320053be9332d9a3b0d01d15L26-R29)
- The `cwd` argument is now part of an options-object.
```diff
-const pkgDir = require('pkg-dir');
+import {packageDirectory} from 'pkg-dir';
-await pkgDir('/Users/unicorn/foo');
+await packageDirectory({cwd: '/Users/unicorn/foo'});
```
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
^5.0.0
->^6.0.0
Release Notes
sindresorhus/pkg-dir
### [`v6.0.1`](https://togithub.com/sindresorhus/pkg-dir/releases/v6.0.1) [Compare Source](https://togithub.com/sindresorhus/pkg-dir/compare/v6.0.0...v6.0.1) - Fix regression in v6 ([#15](https://togithub.com/sindresorhus/pkg-dir/issues/15)) [`6570506`](https://togithub.com/sindresorhus/pkg-dir/commit/6570506) ### [`v6.0.0`](https://togithub.com/sindresorhus/pkg-dir/releases/v6.0.0) [Compare Source](https://togithub.com/sindresorhus/pkg-dir/compare/v5.0.0...v6.0.0) ##### Breaking - Require Node.js 12.20 ([#14](https://togithub.com/sindresorhus/pkg-dir/issues/14)) [`198c9fe`](https://togithub.com/sindresorhus/pkg-dir/commit/198c9fe) [`aeafb93`](https://togithub.com/sindresorhus/pkg-dir/commit/aeafb93) - This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). - [Changed from a default export to named exports and the export names changed too.](https://togithub.com/sindresorhus/pkg-dir/compare/sindresorhus:db14a38...sindresorhus:a1006db#diff-5a831ea67cf5cf8703b0de46901ab25bd191f56b320053be9332d9a3b0d01d15L26-R29) - The `cwd` argument is now part of an options-object. ```diff -const pkgDir = require('pkg-dir'); +import {packageDirectory} from 'pkg-dir'; -await pkgDir('/Users/unicorn/foo'); +await packageDirectory({cwd: '/Users/unicorn/foo'}); ```Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.