commitlint
commitlint copied to clipboard
fix: update dependency pkg-dir to v6
trafficstars
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| pkg-dir | 5.0.0 -> 6.0.1 |
Release Notes
sindresorhus/pkg-dir
v6.0.1
v6.0.0
Breaking
- Require Node.js 12.20 (#​14)
198c9feaeafb93 - This package is now pure ESM. Please read this.
- Changed from a default export to named exports and the export names changed too.
- The
cwdargument is now part of an options-object.
-const pkgDir = require('pkg-dir');
+import {packageDirectory} from 'pkg-dir';
-await pkgDir('/Users/unicorn/foo');
+await packageDirectory({cwd: '/Users/unicorn/foo'});
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Yay, more ESM fun