sindresorhus/meow (meow)
### [`v12.1.1`](https://togithub.com/sindresorhus/meow/releases/tag/v12.1.1)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v12.1.0...v12.1.1)
- Fix TypeScript types ([#245](https://togithub.com/sindresorhus/meow/issues/245)) [`8a4cecd`](https://togithub.com/sindresorhus/meow/commit/8a4cecd)
### [`v12.1.0`](https://togithub.com/sindresorhus/meow/releases/tag/v12.1.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v12.0.1...v12.1.0)
- Bundle dependencies ([#242](https://togithub.com/sindresorhus/meow/issues/242)) [`41e628c`](https://togithub.com/sindresorhus/meow/commit/41e628c)
- `meow` is now [dependency-less](https://packagephobia.com/result?p=meow)!
### [`v12.0.1`](https://togithub.com/sindresorhus/meow/releases/tag/v12.0.1)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v12.0.0...v12.0.1)
- Fix flag `default` values validation ([#238](https://togithub.com/sindresorhus/meow/issues/238)) [`c3bf62b`](https://togithub.com/sindresorhus/meow/commit/c3bf62b)
### [`v12.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v12.0.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v11.0.0...v12.0.0)
##### Breaking
- Require Node.js 16 ([#235](https://togithub.com/sindresorhus/meow/issues/235)) [`24d5e9c`](https://togithub.com/sindresorhus/meow/commit/24d5e9c)
- Rename `alias` flag option to [`shortFlag`](https://togithub.com/sindresorhus/meow#flags) ([#225](https://togithub.com/sindresorhus/meow/issues/225)) [`14e870d`](https://togithub.com/sindresorhus/meow/commit/14e870d)
- Short flag is a more correct term for what `alias` was previously used for. We now have a separate `aliases` option for actual aliases.
##### Improvements
- Add [`aliases`](https://togithub.com/sindresorhus/meow#flags) flag option ([#226](https://togithub.com/sindresorhus/meow/issues/226)) [`901b9fc`](https://togithub.com/sindresorhus/meow/commit/901b9fc)
- Add [`choices`](https://togithub.com/sindresorhus/meow#flags) flag option ([#228](https://togithub.com/sindresorhus/meow/issues/228)) [`149d7af`](https://togithub.com/sindresorhus/meow/commit/149d7af)
- Add error when `flag.default` isn't a valid choice ([#231](https://togithub.com/sindresorhus/meow/issues/231)) [`b2d7ce7`](https://togithub.com/sindresorhus/meow/commit/b2d7ce7)
- Don't indent single line `help` / `description` text ([#232](https://togithub.com/sindresorhus/meow/issues/232)) [`a5d15e8`](https://togithub.com/sindresorhus/meow/commit/a5d15e8)
***
Thanks to [@tommy-mitchell](https://togithub.com/tommy-mitchell) for doing most of the work on this release 🙌
***
### [`v11.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v11.0.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.5...v11.0.0)
##### Breaking
- Require Node.js 14 [`01cf2a5`](https://togithub.com/sindresorhus/meow/commit/01cf2a5)
##### Improvements
- Improve TypeScript types ([#218](https://togithub.com/sindresorhus/meow/issues/218)) [`6c57fc8`](https://togithub.com/sindresorhus/meow/commit/6c57fc8)
### [`v10.1.5`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.5)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.4...v10.1.5)
- Fix for custom config for help ([#217](https://togithub.com/sindresorhus/meow/issues/217)) [`d0dc0d7`](https://togithub.com/sindresorhus/meow/commit/d0dc0d7)
### [`v10.1.4`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.4)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.3...v10.1.4)
- Fix `autoHelp` and `autoVersion` with `allowUnknownFlags` set to false ([#215](https://togithub.com/sindresorhus/meow/issues/215)) [`25a0903`](https://togithub.com/sindresorhus/meow/commit/25a0903)
### [`v10.1.3`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.3)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.2...v10.1.3)
- Fix return type for `.showHelp()` ([#213](https://togithub.com/sindresorhus/meow/issues/213)) [`db55316`](https://togithub.com/sindresorhus/meow/commit/db55316)
### [`v10.1.2`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.2)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.1...v10.1.2)
- Fix `engines` field ([#203](https://togithub.com/sindresorhus/meow/issues/203)) [`1368ae0`](https://togithub.com/sindresorhus/meow/commit/1368ae0)
### [`v10.1.1`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.1)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.0...v10.1.1)
- Fix failure with `isMultiple` when `isRequired` function returns `false` ([#194](https://togithub.com/sindresorhus/meow/issues/194)) [`e1f0e24`](https://togithub.com/sindresorhus/meow/commit/e1f0e24)
### [`v10.1.0`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.0.1...v10.1.0)
- Upgrade dependencies [`829aab0`](https://togithub.com/sindresorhus/meow/commit/829aab0)
- Allow `default` property of `Flag` types to accept arrays ([#190](https://togithub.com/sindresorhus/meow/issues/190)) [`ae73466`](https://togithub.com/sindresorhus/meow/commit/ae73466)
### [`v10.0.1`](https://togithub.com/sindresorhus/meow/releases/tag/v10.0.1)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.0.0...v10.0.1)
- Upgrade dependencies ([#185](https://togithub.com/sindresorhus/meow/issues/185)) [`a0daf20`](https://togithub.com/sindresorhus/meow/commit/a0daf20)
### [`v10.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v10.0.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v9.0.0...v10.0.0)
##### Breaking
- Require Node.js 12 ([#181](https://togithub.com/sindresorhus/meow/issues/181)) [`05320ac`](https://togithub.com/sindresorhus/meow/commit/05320ac)
- This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
- You must now pass in the `importMeta` option so `meow` can find your package.json:
```diff
const cli = meow(…, {
+ importMeta: import.meta
});
```
*Previously, `meow` used some tricks to infer the location of your package.json, but this no longer works in ESM.*
### [`v9.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v9.0.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/1d1b6abda2c76a199c653d7f6f1305f6944dd8ec...v9.0.0)
##### Breaking
- Strictly validate flag config ([#168](https://togithub.com/sindresorhus/meow/issues/168)) [`1609709`](https://togithub.com/sindresorhus/meow/commit/1609709)
This is a breaking change if you incorrectly used kebab-case format for flags (was never officially supported) in the `meow` config:
```diff
meow(``, {
flags: {
- 'foo-bar': {
+ fooBar: {
type: 'boolean'
}
}
});
```
### [`v8.1.2`](https://togithub.com/sindresorhus/meow/compare/v8.1.1...1d1b6abda2c76a199c653d7f6f1305f6944dd8ec)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v8.1.1...1d1b6abda2c76a199c653d7f6f1305f6944dd8ec)
### [`v8.1.1`](https://togithub.com/sindresorhus/meow/releases/tag/v8.1.1)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v8.1.0...v8.1.1)
- Fix reporting missing required flags ([#168](https://togithub.com/sindresorhus/meow/issues/168)) [`1609709`](https://togithub.com/sindresorhus/meow/commit/1609709)
### [`v8.1.0`](https://togithub.com/sindresorhus/meow/releases/tag/v8.1.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v8.0.0...v8.1.0)
- Add [`allowUnknownFlags`](https://togithub.com/sindresorhus/meow#allowunknownflags) options ([#169](https://togithub.com/sindresorhus/meow/issues/169)) [`a27ff12`](https://togithub.com/sindresorhus/meow/commit/a27ff12)
### [`v8.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v8.0.0)
[Compare Source](https://togithub.com/sindresorhus/meow/compare/v7.1.1...v8.0.0)
##### Breaking
- Default `isMultiple` option to empty array ([#163](https://togithub.com/sindresorhus/meow/issues/163)) [`14924de`](https://togithub.com/sindresorhus/meow/commit/14924de)
- Make `isMultiple` option non-greedy ([#162](https://togithub.com/sindresorhus/meow/issues/162)) [`49ce74d`](https://togithub.com/sindresorhus/meow/commit/49ce74d)
##### Fixes
- Gracefully handle package.json not being found ([#167](https://togithub.com/sindresorhus/meow/issues/167)) [`ef7ae5d`](https://togithub.com/sindresorhus/meow/commit/ef7ae5d)
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 is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^7.0.0
->^12.0.0
Release Notes
sindresorhus/meow (meow)
### [`v12.1.1`](https://togithub.com/sindresorhus/meow/releases/tag/v12.1.1) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v12.1.0...v12.1.1) - Fix TypeScript types ([#245](https://togithub.com/sindresorhus/meow/issues/245)) [`8a4cecd`](https://togithub.com/sindresorhus/meow/commit/8a4cecd) ### [`v12.1.0`](https://togithub.com/sindresorhus/meow/releases/tag/v12.1.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v12.0.1...v12.1.0) - Bundle dependencies ([#242](https://togithub.com/sindresorhus/meow/issues/242)) [`41e628c`](https://togithub.com/sindresorhus/meow/commit/41e628c) - `meow` is now [dependency-less](https://packagephobia.com/result?p=meow)! ### [`v12.0.1`](https://togithub.com/sindresorhus/meow/releases/tag/v12.0.1) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v12.0.0...v12.0.1) - Fix flag `default` values validation ([#238](https://togithub.com/sindresorhus/meow/issues/238)) [`c3bf62b`](https://togithub.com/sindresorhus/meow/commit/c3bf62b) ### [`v12.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v12.0.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v11.0.0...v12.0.0) ##### Breaking - Require Node.js 16 ([#235](https://togithub.com/sindresorhus/meow/issues/235)) [`24d5e9c`](https://togithub.com/sindresorhus/meow/commit/24d5e9c) - Rename `alias` flag option to [`shortFlag`](https://togithub.com/sindresorhus/meow#flags) ([#225](https://togithub.com/sindresorhus/meow/issues/225)) [`14e870d`](https://togithub.com/sindresorhus/meow/commit/14e870d) - Short flag is a more correct term for what `alias` was previously used for. We now have a separate `aliases` option for actual aliases. ##### Improvements - Add [`aliases`](https://togithub.com/sindresorhus/meow#flags) flag option ([#226](https://togithub.com/sindresorhus/meow/issues/226)) [`901b9fc`](https://togithub.com/sindresorhus/meow/commit/901b9fc) - Add [`choices`](https://togithub.com/sindresorhus/meow#flags) flag option ([#228](https://togithub.com/sindresorhus/meow/issues/228)) [`149d7af`](https://togithub.com/sindresorhus/meow/commit/149d7af) - Add error when `flag.default` isn't a valid choice ([#231](https://togithub.com/sindresorhus/meow/issues/231)) [`b2d7ce7`](https://togithub.com/sindresorhus/meow/commit/b2d7ce7) - Don't indent single line `help` / `description` text ([#232](https://togithub.com/sindresorhus/meow/issues/232)) [`a5d15e8`](https://togithub.com/sindresorhus/meow/commit/a5d15e8) *** Thanks to [@tommy-mitchell](https://togithub.com/tommy-mitchell) for doing most of the work on this release 🙌 *** ### [`v11.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v11.0.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.5...v11.0.0) ##### Breaking - Require Node.js 14 [`01cf2a5`](https://togithub.com/sindresorhus/meow/commit/01cf2a5) ##### Improvements - Improve TypeScript types ([#218](https://togithub.com/sindresorhus/meow/issues/218)) [`6c57fc8`](https://togithub.com/sindresorhus/meow/commit/6c57fc8) ### [`v10.1.5`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.5) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.4...v10.1.5) - Fix for custom config for help ([#217](https://togithub.com/sindresorhus/meow/issues/217)) [`d0dc0d7`](https://togithub.com/sindresorhus/meow/commit/d0dc0d7) ### [`v10.1.4`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.4) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.3...v10.1.4) - Fix `autoHelp` and `autoVersion` with `allowUnknownFlags` set to false ([#215](https://togithub.com/sindresorhus/meow/issues/215)) [`25a0903`](https://togithub.com/sindresorhus/meow/commit/25a0903) ### [`v10.1.3`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.3) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.2...v10.1.3) - Fix return type for `.showHelp()` ([#213](https://togithub.com/sindresorhus/meow/issues/213)) [`db55316`](https://togithub.com/sindresorhus/meow/commit/db55316) ### [`v10.1.2`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.2) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.1...v10.1.2) - Fix `engines` field ([#203](https://togithub.com/sindresorhus/meow/issues/203)) [`1368ae0`](https://togithub.com/sindresorhus/meow/commit/1368ae0) ### [`v10.1.1`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.1) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.1.0...v10.1.1) - Fix failure with `isMultiple` when `isRequired` function returns `false` ([#194](https://togithub.com/sindresorhus/meow/issues/194)) [`e1f0e24`](https://togithub.com/sindresorhus/meow/commit/e1f0e24) ### [`v10.1.0`](https://togithub.com/sindresorhus/meow/releases/tag/v10.1.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.0.1...v10.1.0) - Upgrade dependencies [`829aab0`](https://togithub.com/sindresorhus/meow/commit/829aab0) - Allow `default` property of `Flag` types to accept arrays ([#190](https://togithub.com/sindresorhus/meow/issues/190)) [`ae73466`](https://togithub.com/sindresorhus/meow/commit/ae73466) ### [`v10.0.1`](https://togithub.com/sindresorhus/meow/releases/tag/v10.0.1) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v10.0.0...v10.0.1) - Upgrade dependencies ([#185](https://togithub.com/sindresorhus/meow/issues/185)) [`a0daf20`](https://togithub.com/sindresorhus/meow/commit/a0daf20) ### [`v10.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v10.0.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v9.0.0...v10.0.0) ##### Breaking - Require Node.js 12 ([#181](https://togithub.com/sindresorhus/meow/issues/181)) [`05320ac`](https://togithub.com/sindresorhus/meow/commit/05320ac) - This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). - You must now pass in the `importMeta` option so `meow` can find your package.json: ```diff const cli = meow(…, { + importMeta: import.meta }); ``` *Previously, `meow` used some tricks to infer the location of your package.json, but this no longer works in ESM.* ### [`v9.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v9.0.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/1d1b6abda2c76a199c653d7f6f1305f6944dd8ec...v9.0.0) ##### Breaking - Strictly validate flag config ([#168](https://togithub.com/sindresorhus/meow/issues/168)) [`1609709`](https://togithub.com/sindresorhus/meow/commit/1609709) This is a breaking change if you incorrectly used kebab-case format for flags (was never officially supported) in the `meow` config: ```diff meow(``, { flags: { - 'foo-bar': { + fooBar: { type: 'boolean' } } }); ``` ### [`v8.1.2`](https://togithub.com/sindresorhus/meow/compare/v8.1.1...1d1b6abda2c76a199c653d7f6f1305f6944dd8ec) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v8.1.1...1d1b6abda2c76a199c653d7f6f1305f6944dd8ec) ### [`v8.1.1`](https://togithub.com/sindresorhus/meow/releases/tag/v8.1.1) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v8.1.0...v8.1.1) - Fix reporting missing required flags ([#168](https://togithub.com/sindresorhus/meow/issues/168)) [`1609709`](https://togithub.com/sindresorhus/meow/commit/1609709) ### [`v8.1.0`](https://togithub.com/sindresorhus/meow/releases/tag/v8.1.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v8.0.0...v8.1.0) - Add [`allowUnknownFlags`](https://togithub.com/sindresorhus/meow#allowunknownflags) options ([#169](https://togithub.com/sindresorhus/meow/issues/169)) [`a27ff12`](https://togithub.com/sindresorhus/meow/commit/a27ff12) ### [`v8.0.0`](https://togithub.com/sindresorhus/meow/releases/tag/v8.0.0) [Compare Source](https://togithub.com/sindresorhus/meow/compare/v7.1.1...v8.0.0) ##### Breaking - Default `isMultiple` option to empty array ([#163](https://togithub.com/sindresorhus/meow/issues/163)) [`14924de`](https://togithub.com/sindresorhus/meow/commit/14924de) - Make `isMultiple` option non-greedy ([#162](https://togithub.com/sindresorhus/meow/issues/162)) [`49ce74d`](https://togithub.com/sindresorhus/meow/commit/49ce74d) ##### Fixes - Gracefully handle package.json not being found ([#167](https://togithub.com/sindresorhus/meow/issues/167)) [`ef7ae5d`](https://togithub.com/sindresorhus/meow/commit/ef7ae5d)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 is behind base branch, 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 Mend Renovate. View repository job log here.