Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump validator and @types/validator (#3632)
Bumps [validator](https://github.com/validatorjs/validator.js) and [@types/validator](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/validator). These dependencies needed to be updated together. Updates `validator` from 13.11.0 to 13.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/validatorjs/validator.js/releases">validator's releases</a>.</em></p> <blockquote> <h2>13.12.0</h2> <h2>What's Changed</h2> <h3>New Features / Validators</h3> <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2143">#2143</a> <code>isAbaRouting</code> <a href="https://github.com/songyuew"><code>@songyuew</code></a></li> </ul> <h3>Fixes, New Locales and Enhancements</h3> <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2207">#2207</a> <code>isLicensePlate</code> add Pakistani <code>en-PK</code> locale <a href="https://github.com/anasshakil"><code>@anasshakil</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/issues/2208">#2208</a> <code>isPort</code> fix invalid leading zeros <a href="https://github.com/anasshakil"><code>@anasshakil</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2224">#2224</a> <code>isTaxID</code> added Argentina <code>es-AR</code> locale <a href="https://github.com/estefrare"><code>@estefrare</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2257">#2257</a> <code>isDate</code> timezone offset fix <a href="https://github.com/tomaspanek"><code>@tomaspanek</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2265">#2265</a> <code>isPassportNumber</code> added <code>ZA</code> locale <a href="https://github.com/GMorris-professional"><code>@GMorris-professional</code></a></li> <li><code>isMobilePhone</code>: <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2267">#2267</a> added <code>en-MW</code> locale <a href="https://github.com/SimranSiddiqui"><code>@SimranSiddiqui</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2140">#2140</a> fix <code>am-AM</code> locale <a href="https://github.com/AlexKrupko"><code>@AlexKrupko</code></a></li> </ul> </li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2271">#2271</a> <code>isPostalAddress</code> fix <code>NL</code> locale <a href="https://github.com/RobinvanderVliet"><code>@RobinvanderVliet</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2273">#2273</a> <code>isISO4217</code> add <code>SLE</code> currency <a href="https://github.com/urg"><code>@urg</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2278">#2278</a> <code>isStrongPassword</code> fix symbolRegex to include <code>\</code> <a href="https://github.com/nandavikas"><code>@nandavikas</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2279">#2279</a> <code>isVAT</code> fixed <code>KZ</code> locale <a href="https://github.com/MatthieuLemoine"><code>@MatthieuLemoine</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2285">#2285</a> <code>isAlpha</code>, <code>isAlphanumeric</code> added <code>eo</code> locale <a href="https://github.com/RobinvanderVliet"><code>@RobinvanderVliet</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2320">#2320</a> <code>isIBAN</code> add Algeria <code>DZ</code> locale <a href="https://github.com/thibault-lr"><code>@thibault-lr</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2343">#2343</a> <code>isVAT</code>improve <code>AU</code> locale <a href="https://github.com/matthewberryman"><code>@matthewberryman</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2345">#2345</a> <code>isUUID</code> add support for v7 <a href="https://github.com/ruscon"><code>@ruscon</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2358">#2358</a> <code>isTaxID</code> add Ukraine <code>uk-UA</code> locale <a href="https://github.com/arttiger"><code>@arttiger</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2381">#2381</a> <code>isDate</code> disallow hiphen before year <a href="https://github.com/Sumit-tech-joshi"><code>@Sumit-tech-joshi</code></a></li> <li><strong>Doc fixes and others:</strong> <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2276">#2276</a> <a href="https://github.com/meyfa"><code>@meyfa</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2341">#2341</a> <a href="https://github.com/WikiRik"><code>@WikiRik</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2364">#2364</a> <a href="https://github.com/rubiin"><code>@rubiin</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2368">#2368</a> <a href="https://github.com/ZhulinskiiDanil"><code>@ZhulinskiiDanil</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2371">#2371</a> <a href="https://github.com/devmanbud"><code>@devmanbud</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2386">#2386</a> <a href="https://github.com/alinaghale88"><code>@alinaghale88</code></a></li> </ul> </li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tomaspanek"><code>@tomaspanek</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2257">validatorjs/validator.js#2257</a></li> <li><a href="https://github.com/estefrare"><code>@estefrare</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2224">validatorjs/validator.js#2224</a></li> <li><a href="https://github.com/GMorris-professional"><code>@GMorris-professional</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2265">validatorjs/validator.js#2265</a></li> <li><a href="https://github.com/SimranSiddiqui"><code>@SimranSiddiqui</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2267">validatorjs/validator.js#2267</a></li> <li><a href="https://github.com/ZhulinskiiDanil"><code>@ZhulinskiiDanil</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2368">validatorjs/validator.js#2368</a></li> <li><a href="https://github.com/devmanbud"><code>@devmanbud</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2371">validatorjs/validator.js#2371</a></li> <li><a href="https://github.com/ruscon"><code>@ruscon</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2345">validatorjs/validator.js#2345</a></li> <li><a href="https://github.com/amaliacatalina"><code>@amaliacatalina</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2284">validatorjs/validator.js#2284</a></li> <li><a href="https://github.com/RobinvanderVliet"><code>@RobinvanderVliet</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2285">validatorjs/validator.js#2285</a></li> <li><a href="https://github.com/anasshakil"><code>@anasshakil</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2211">validatorjs/validator.js#2211</a></li> <li><a href="https://github.com/AlexKrupko"><code>@AlexKrupko</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2140">validatorjs/validator.js#2140</a></li> <li><a href="https://github.com/urg"><code>@urg</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2273">validatorjs/validator.js#2273</a></li> <li><a href="https://github.com/meyfa"><code>@meyfa</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2276">validatorjs/validator.js#2276</a></li> <li><a href="https://github.com/nandavikas"><code>@nandavikas</code></a> made their first contribution in <a href="https://redirect.github.com/validatorjs/validator.js/pull/2278">validatorjs/validator.js#2278</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md">validator's changelog</a>.</em></p> <blockquote> <h1>13.12.0</h1> <h3>New Features / Validators</h3> <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2143">#2143</a> <code>isAbaRouting</code> <a href="https://github.com/songyuew"><code>@songyuew</code></a></li> </ul> <h3>Fixes, New Locales and Enhancements</h3> <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2207">#2207</a> <code>isLicensePlate</code> add Pakistani <code>en-PK</code> locale <a href="https://github.com/anasshakil"><code>@anasshakil</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/issues/2208">#2208</a> <code>isPort</code> fix invalid leading zeros <a href="https://github.com/anasshakil"><code>@anasshakil</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2224">#2224</a> <code>isTaxID</code> added Argentina <code>es-AR</code> locale <a href="https://github.com/estefrare"><code>@estefrare</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2257">#2257</a> <code>isDate</code> timezone offset fix <a href="https://github.com/tomaspanek"><code>@tomaspanek</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2265">#2265</a> <code>isPassportNumber</code> added <code>ZA</code> locale <a href="https://github.com/GMorris-professional"><code>@GMorris-professional</code></a></li> <li><code>isMobilePhone</code>: <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2267">#2267</a> added <code>en-MW</code> locale <a href="https://github.com/SimranSiddiqui"><code>@SimranSiddiqui</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2140">#2140</a> fix <code>am-AM</code> locale <a href="https://github.com/AlexKrupko"><code>@AlexKrupko</code></a></li> </ul> </li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2271">#2271</a> <code>isPostalAddress</code> fix <code>NL</code> locale <a href="https://github.com/RobinvanderVliet"><code>@RobinvanderVliet</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2273">#2273</a> <code>isISO4217</code> add <code>SLE</code> currency <a href="https://github.com/urg"><code>@urg</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2278">#2278</a> <code>isStrongPassword</code> fix symbolRegex to include <code>\</code> <a href="https://github.com/nandavikas"><code>@nandavikas</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2279">#2279</a> <code>isVAT</code> fixed <code>KZ</code> locale <a href="https://github.com/MatthieuLemoine"><code>@MatthieuLemoine</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2285">#2285</a> <code>isAlpha</code>, <code>isAlphanumeric</code> added <code>eo</code> locale <a href="https://github.com/RobinvanderVliet"><code>@RobinvanderVliet</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2320">#2320</a> <code>isIBAN</code> add Algeria <code>DZ</code> locale <a href="https://github.com/thibault-lr"><code>@thibault-lr</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2343">#2343</a> <code>isVAT</code>improve <code>AU</code> locale <a href="https://github.com/matthewberryman"><code>@matthewberryman</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2345">#2345</a> <code>isUUID</code> add support for v7 <a href="https://github.com/ruscon"><code>@ruscon</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2358">#2358</a> <code>isTaxID</code> add Ukraine <code>uk-UA</code> locale <a href="https://github.com/arttiger"><code>@arttiger</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2381">#2381</a> <code>isDate</code> disallow hiphen before year <a href="https://github.com/Sumit-tech-joshi"><code>@Sumit-tech-joshi</code></a></li> <li><strong>Doc fixes and others:</strong> <ul> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2276">#2276</a> <a href="https://github.com/meyfa"><code>@meyfa</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2341">#2341</a> <a href="https://github.com/WikiRik"><code>@WikiRik</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2364">#2364</a> <a href="https://github.com/rubiin"><code>@rubiin</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2368">#2368</a> <a href="https://github.com/ZhulinskiiDanil"><code>@ZhulinskiiDanil</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2371">#2371</a> <a href="https://github.com/devmanbud"><code>@devmanbud</code></a></li> <li><a href="https://redirect.github.com/validatorjs/validator.js/pull/2386">#2386</a> <a href="https://github.com/alinaghale88"><code>@alinaghale88</code></a></li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/validatorjs/validator.js/commit/cd4e7bf983e2c378de25424fb711e5c2d8d9066d"><code>cd4e7bf</code></a> 13.12.0</li> <li><a href="https://github.com/validatorjs/validator.js/commit/83d6ffd7154e0711b340791b3c8d6daca8094c46"><code>83d6ffd</code></a> fix(isVAT): improved ABN (AU VAT) validation (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2343">#2343</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/43a0f097b3ad4290438e00dd79cd6410867a623f"><code>43a0f09</code></a> feat(isTaxID): added TaxID for Ukraine uk-UA (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2358">#2358</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/083677779164d753d8c16278be1f68920c4debac"><code>0836777</code></a> fix(isDate): hyphen before year is not allowed (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2381">#2381</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/eacccaf22b40909d63d987954e8f8db2a18e3552"><code>eacccaf</code></a> docs: move contributing guidelines to CONTRIBUTING.md (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2386">#2386</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/d8c93d2d58ed970a0ee8326e57dcb45764233140"><code>d8c93d2</code></a> feat(isIBAN): add Algeria locale (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2320">#2320</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/11ac6a4e5cafb1622a5199da0825a661cd689328"><code>11ac6a4</code></a> fix(isVAT): fixed KZ VAT number length check (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2279">#2279</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/8a403492c0ee652d539746b71a5fc16c3bff449e"><code>8a40349</code></a> fix: symbolRegex in isStrongPassword to include '' (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2278">#2278</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/2253a771546e616554851723de5d59172319b3ca"><code>2253a77</code></a> chore: Publish to NPM with provenance (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2276">#2276</a>)</li> <li><a href="https://github.com/validatorjs/validator.js/commit/5677f91127019faea59be6899d9cf85055f29c31"><code>5677f91</code></a> fix: add SLE to the isISO4217 validator (<a href="https://redirect.github.com/validatorjs/validator.js/issues/2273">#2273</a>)</li> <li>Additional commits viewable in <a href="https://github.com/validatorjs/validator.js/compare/13.11.0...13.12.0">compare view</a></li> </ul> </details> <br /> Updates `@types/validator` from 13.11.9 to 13.11.10 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/validator">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information