Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make ZodString.date(), ZodString.time(), and ZodString.datetime() only accept valid date and time #3391

Merged
merged 5 commits into from
Apr 12, 2024

Conversation

szamanr
Copy link
Contributor

@szamanr szamanr commented Apr 9, 2024

#1766 added .date() function but it uses a simple regex \d{4}-\d{2}-\d{2}, which allows many invalid dates. similar behaviour happens for .time() and .datetime().

if we must use regex for date validation, then i propose a change that:

  • rejects invalid dates such as 2024-01-32 or 2024-13-01
  • correctly handles 30th and 31st day based on the month
  • is still fairly readable, as far as regexes go

one caveat is that it always accepts 29 feb, but i think that's acceptable. it's an improvement over the existing code, where non-valid dates are accepted.

you can check some test cases here: https://regexr.com/7ulgo

todo:

  • add test cases
  • also validate time
  • add test cases for time

Copy link

netlify bot commented Apr 9, 2024

Deploy Preview for guileless-rolypoly-866f8a ready!

Name Link
🔨 Latest commit 403535e
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/6618a57031b37a0008886f0f
😎 Deploy Preview https://deploy-preview-3391--guileless-rolypoly-866f8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@szamanr szamanr marked this pull request as ready for review April 9, 2024 09:00
@szamanr szamanr changed the title make date regex only accept valid dates make string.date() only accept valid dates Apr 9, 2024
@szamanr szamanr changed the title make string.date() only accept valid dates make ZodString.date() only accept valid dates Apr 9, 2024
@szamanr
Copy link
Contributor Author

szamanr commented Apr 9, 2024

cc @igalklebanov @colinhacks since this hasn't been released yet, maybe we can do a quick patch before the release.

@colinhacks
Copy link
Owner

colinhacks commented Apr 9, 2024

I think this is a good idea, but it does introduce some inconsistency with .datetime(), which still doesn't enforce this. We should the datetime logic to do the same. Thoughts @igalklebanov? I'd be okay releasing that in a minor version, arguably it's a bugfix.

Also, your PR seems to have only updated the code in deno/lib? Just update src and deno/lib should get regenerated when you push.

@igalklebanov
Copy link
Contributor

igalklebanov commented Apr 10, 2024

Hey 👋

Good idea!

As @colinhacks said, all datelike stuff should be aligned.

This extra leap day occurs in each year that is a multiple of 4, except for years evenly divisible by 100 but not by 400
https://en.wikipedia.org/wiki/Leap_year

Could check year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0) for leap years when xxxx-02-29.

@szamanr
Copy link
Contributor Author

szamanr commented Apr 11, 2024

.datetime() and .date() are using the same regex under the hood.

i added a regex for valid time, moved the code to src dir, and updated the PR title to reflect all changes.

@szamanr szamanr changed the title make ZodString.date() only accept valid dates make ZodString.date(), ZodString.time(), and ZodString.datetime() only accept valid date and time Apr 11, 2024
@colinhacks
Copy link
Owner

Rebased onto the changes I made in #2522

@colinhacks
Copy link
Owner

colinhacks commented Apr 12, 2024

Thanks @szamanr! 🙌

@colinhacks colinhacks merged commit c73c12e into colinhacks:master Apr 12, 2024
20 checks passed
@Shumuu
Copy link

Shumuu commented Apr 12, 2024

Why does it need to be a regex? Couldn't you check it easier with a Date instance or are there some problems in different runtimes?

@szamanr
Copy link
Contributor Author

szamanr commented Apr 12, 2024

Why does it need to be a regex? Couldn't you check it easier with a Date instance or are there some problems in different runtimes?

@Shumuu how would you achieve that? i've seen some implementations using a function that checked if new Date(dateString).getTime() is a number, but that doesn't work properly. for example:

new Date("2000-02-31").getTime() // should be invalid
> 951955200000

new Date("2000-04-31").getTime() // should be invalid
> 957139200000

let's say we used that - in that case, we would still have to use a regex first, to rule out all sorts of strings that Date() constructor accepts, e.g. "123".

either way, i tend to not put trust in native Date, given that it has many issues. the best way to solve this would be to outsource the logic to a 3rd party library. e.g. date-fns has a function that would be perfect for this: isMatch(dateString, "yyyy-MM-dd"). but i noticed zod doesn't ship with any dependencies, so i assumed this is not accepted here.

@Shumuu
Copy link

Shumuu commented Apr 12, 2024

The way I solve it is creating a Date like this

new Date("2023-02-29") and then I check on the date instance if the day, the month and the year are equal to what I passed in. Creating an invalid Date like this will result in 2023-03-01.

@colinhacks
Copy link
Owner

colinhacks commented Apr 12, 2024

There's a lot of other stuff to validate besides "is this date valid". Users can specify whether to allow timezone offsets, unqualified dates, sub-second precision, etc. So we're going to be doing regex validation regardless. We could use regex to check those things then instantiate a new Date to check date validity. I'll do some benchmarking to know which is faster.

@colinhacks colinhacks mentioned this pull request Apr 21, 2024
@colinhacks
Copy link
Owner

This has landed in Zod 3.23.

https://github.com/colinhacks/zod/releases/tag/v3.23.0

renovate bot referenced this pull request in ariakit/ariakit Apr 21, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod))
| [`3.22.5` ->
`3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>colinhacks/zod (zod)</summary>

###
[`v3.23.0`](https://github.com/colinhacks/zod/releases/tag/v3.23.0)

[Compare
Source](https://github.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)

Zod 3.23 is now available. This is the final `3.x` release before Zod
4.0. To try it out:

```sh
npm install zod
```

#### Features

##### `z.string().date()`

Zod can now validate ISO 8601 date strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```

##### `z.string().time()`

Zod can now validate ISO 8601 time strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```

You can specify sub-second precision using the `precision` option:

```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```

##### `z.string().duration()`

Zod can now validate ISO 8601 duration strings. Thanks
[@&#8203;mastermatt](https://github.com/mastermatt)!
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)

```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```

##### Improvements to `z.string().datetime()`

Thanks [@&#8203;bchrobot](https://github.com/bchrobot)
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)

You can now allow *unqualified* (timezone-less) datetimes using the
`local: true` flag.

```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```

Plus, Zod now validates the day-of-month correctly to ensure no invalid
dates (e.g. February 30th) pass validation. Thanks
[@&#8203;szamanr](https://github.com/szamanr)!
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)

##### `z.string().base64()`

Zod can now validate base64 strings. Thanks
[@&#8203;StefanTerdell](https://github.com/StefanTerdell)!
[https://github.com/colinhacks/zod/pull/3047](https://github.com/colinhacks/zod/pull/3047)

```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```

##### Improved discriminated unions

The following can now be used as discriminator keys in
`z.discriminatedUnion()`:

-   `ZodOptional`
-   `ZodNullable`
-   `ZodReadonly`
-   `ZodBranded`
-   `ZodCatch`

```ts
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```

##### Misc

- feature: allow falsy error message by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- feature: add attribute message to enum validatiion by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3169](https://github.com/colinhacks/zod/pull/3169)

#### Breaking changes

There are no breaking changes to the public API of Zod. However some
changes can impact ecosystem tools that rely on Zod internals.

##### `ZodFirstPartySchemaTypes`

Three new types have been added to the `ZodFirstPartySchemaTypes` union.
This may impact some codegen libraries.
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)

```diff
+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
```

##### Default generics in `ZodType`

The third argument of the `ZodType` base class now defaults to
`unknown`. This makes it easier to define recursive schemas and write
generic functions that accept Zod schemas.

```diff
- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
```

##### Unrecognized keys in `.pick()` and `.omit()`

This version fixes a bug where unknown keys were accidentally accepted
in `.pick()` and `omit()`. This has been fixed, which could cause
compiler errors in some user code.
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)

```ts
z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})
```

#### Bugfixes and performance

- Bugfix: Enum.extract/exclude should not remove error mapping by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3240](https://github.com/colinhacks/zod/pull/3240)
- Added latest stable Node and TypeScript versions to test matrix for
up-to-date testing. by [@&#8203;m10rten](https://github.com/m10rten)
in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- Add types to `ZodFirstPartySchemaTypes` by
[@&#8203;MatthijsMud](https://github.com/MatthijsMud) in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- fix: make `input` of `.required()` readonly by
[@&#8203;KATT](https://github.com/KATT) in
[https://github.com/colinhacks/zod/pull/3301](https://github.com/colinhacks/zod/pull/3301)
- add never props to safe parse return types by
[@&#8203;schicks](https://github.com/schicks) in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- Reporting errors of the preprocess that is the second property of
object by [@&#8203;yukukotani](https://github.com/yukukotani) in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- Improve `addQuestionMarks`, fix
[#&#8203;2184](https://github.com/colinhacks/zod/issues/2184) by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3352](https://github.com/colinhacks/zod/pull/3352)
- fix for njs by [@&#8203;dvv](https://github.com/dvv) in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- only look in `src` for `bun test` by
[@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- Restrict .pick()/.omit() mask type to only known properties by
[@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- Make EnumValues generic by
[@&#8203;IlyaSemenov](https://github.com/IlyaSemenov) in
[https://github.com/colinhacks/zod/pull/2338](https://github.com/colinhacks/zod/pull/2338)
- perf: avoid unnecessary error maps by
[@&#8203;xuxucode](https://github.com/xuxucode) in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- Bugfix: z.record().parse should not filter out undefined values by
[@&#8203;raik-casimiro](https://github.com/raik-casimiro) in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- Use Set.has instead of Array.indexOf for enum comparison (perf
improvement) by [@&#8203;jmike](https://github.com/jmike) in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- \[2888] fix emails with single quotes failing validation by
[@&#8203;Mansehej](https://github.com/Mansehej) in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- Bugfix: Commas are incorrectly allowed in email regex. by
[@&#8203;mokemoko](https://github.com/mokemoko) in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- Fix regex in cuid2 validation to be what cuid2 library expects by
[@&#8203;etareduction](https://github.com/etareduction) in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- Make depcruise pass by [@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3037](https://github.com/colinhacks/zod/pull/3037)
- Faster ipv4 parsing by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3413](https://github.com/colinhacks/zod/pull/3413)

#### Docs and ecosystem

- chore: add pastel package to ecosystem by
[@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- added required styles. by
[@&#8203;Ansh101112](https://github.com/Ansh101112) in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- Feature/better chinese translate by
[@&#8203;NWYLZW](https://github.com/NWYLZW) in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- Fix z.instanceof example by
[@&#8203;alexnault](https://github.com/alexnault) in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- Add documentation to Zod enum exclude/extract functions by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- Add docs for coercing nullish values by
[@&#8203;rbuetzer](https://github.com/rbuetzer) in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- Adds `zod-dev` utility to eco-system section by
[@&#8203;schalkventer](https://github.com/schalkventer) in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- Add zhttp library to docs by
[@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- fixed Readme typo in NaNs example by
[@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- adds zod-config library to the ecosystem by
[@&#8203;alexmarqs](https://github.com/alexmarqs) in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- docs: update link and description of conform integration by
[@&#8203;g1eny0ung](https://github.com/g1eny0ung) in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- Update README.md by
[@&#8203;yugmade13](https://github.com/yugmade13) in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- feat: overhaul generics section of readme to include more details on
z.ZodTypeAny usage by [@&#8203;braden-w](https://github.com/braden-w)
in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- Fix small typos by [@&#8203;mmorearty](https://github.com/mmorearty)
in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- docs: update Chinese docs and correct some of the typos by
[@&#8203;jiechen257](https://github.com/jiechen257) in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- docs: improve chinese readme by
[@&#8203;luckrnx09](https://github.com/luckrnx09) in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- Add java-to-zod in X to Zod section by
[@&#8203;ivangreene](https://github.com/ivangreene) in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- docs: add `orval` to "X to Zod" ecosystems by
[@&#8203;soartec-lab](https://github.com/soartec-lab) in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

#### New Contributors

- [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- [@&#8203;Ansh101112](https://github.com/Ansh101112) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- [@&#8203;NWYLZW](https://github.com/NWYLZW) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- [@&#8203;alexnault](https://github.com/alexnault) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- [@&#8203;shaharke](https://github.com/shaharke) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- [@&#8203;rbuetzer](https://github.com/rbuetzer) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- [@&#8203;schalkventer](https://github.com/schalkventer) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer)
made their first contribution in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- [@&#8203;alexmarqs](https://github.com/alexmarqs) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- [@&#8203;JonnyBurger](https://github.com/JonnyBurger) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3214](https://github.com/colinhacks/zod/pull/3214)
- [@&#8203;fernandollisboa](https://github.com/fernandollisboa) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- [@&#8203;g1eny0ung](https://github.com/g1eny0ung) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- [@&#8203;m10rten](https://github.com/m10rten) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- [@&#8203;MatthijsMud](https://github.com/MatthijsMud) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- [@&#8203;yugmade13](https://github.com/yugmade13) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- [@&#8203;braden-w](https://github.com/braden-w) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- [@&#8203;mmorearty](https://github.com/mmorearty) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- [@&#8203;schicks](https://github.com/schicks) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- [@&#8203;yukukotani](https://github.com/yukukotani) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- [@&#8203;jiechen257](https://github.com/jiechen257) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- [@&#8203;luckrnx09](https://github.com/luckrnx09) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- [@&#8203;dvv](https://github.com/dvv) made their first contribution
in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- [@&#8203;rotu](https://github.com/rotu) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- [@&#8203;ivoilic](https://github.com/ivoilic) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2364](https://github.com/colinhacks/zod/pull/2364)
- [@&#8203;telemakhos](https://github.com/telemakhos) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3388](https://github.com/colinhacks/zod/pull/3388)
- [@&#8203;bchrobot](https://github.com/bchrobot) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)
- [@&#8203;szamanr](https://github.com/szamanr) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)
- [@&#8203;ivangreene](https://github.com/ivangreene) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- [@&#8203;xuxucode](https://github.com/xuxucode) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- [@&#8203;raik-casimiro](https://github.com/raik-casimiro) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- [@&#8203;jmike](https://github.com/jmike) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- [@&#8203;Mansehej](https://github.com/Mansehej) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- [@&#8203;mokemoko](https://github.com/mokemoko) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- [@&#8203;etareduction](https://github.com/etareduction) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- [@&#8203;mastermatt](https://github.com/mastermatt) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)
- [@&#8203;soartec-lab](https://github.com/soartec-lab) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

**Full Changelog**:
colinhacks/zod@v3.22.4...v3.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ariakit/ariakit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in ziyadedher/ziyadedher Apr 21, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod))
| [`3.22.5` ->
`3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>colinhacks/zod (zod)</summary>

###
[`v3.23.0`](https://github.com/colinhacks/zod/releases/tag/v3.23.0)

[Compare
Source](https://github.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)

Zod 3.23 is now available. This is the final `3.x` release before Zod
4.0. To try it out:

```sh
npm install zod
```

#### Features

##### `z.string().date()`

Zod can now validate ISO 8601 date strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```

##### `z.string().time()`

Zod can now validate ISO 8601 time strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```

You can specify sub-second precision using the `precision` option:

```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```

##### `z.string().duration()`

Zod can now validate ISO 8601 duration strings. Thanks
[@&#8203;mastermatt](https://github.com/mastermatt)!
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)

```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```

##### Improvements to `z.string().datetime()`

Thanks [@&#8203;bchrobot](https://github.com/bchrobot)
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)

You can now allow *unqualified* (timezone-less) datetimes using the
`local: true` flag.

```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```

Plus, Zod now validates the day-of-month correctly to ensure no invalid
dates (e.g. February 30th) pass validation. Thanks
[@&#8203;szamanr](https://github.com/szamanr)!
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)

##### `z.string().base64()`

Zod can now validate base64 strings. Thanks
[@&#8203;StefanTerdell](https://github.com/StefanTerdell)!
[https://github.com/colinhacks/zod/pull/3047](https://github.com/colinhacks/zod/pull/3047)

```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```

##### Improved discriminated unions

The following can now be used as discriminator keys in
`z.discriminatedUnion()`:

-   `ZodOptional`
-   `ZodNullable`
-   `ZodReadonly`
-   `ZodBranded`
-   `ZodCatch`

```ts
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```

##### Misc

- feature: allow falsy error message by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- feature: add attribute message to enum validatiion by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3169](https://github.com/colinhacks/zod/pull/3169)

#### Breaking changes

There are no breaking changes to the public API of Zod. However some
changes can impact ecosystem tools that rely on Zod internals.

##### `ZodFirstPartySchemaTypes`

Three new types have been added to the `ZodFirstPartySchemaTypes` union.
This may impact some codegen libraries.
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)

```diff
+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
```

##### Default generics in `ZodType`

The third argument of the `ZodType` base class now defaults to
`unknown`. This makes it easier to define recursive schemas and write
generic functions that accept Zod schemas.

```diff
- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
```

##### Unrecognized keys in `.pick()` and `.omit()`

This version fixes a bug where unknown keys were accidentally accepted
in `.pick()` and `omit()`. This has been fixed, which could cause
compiler errors in some user code.
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)

```ts
z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})
```

#### Bugfixes and performance

- Bugfix: Enum.extract/exclude should not remove error mapping by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3240](https://github.com/colinhacks/zod/pull/3240)
- Added latest stable Node and TypeScript versions to test matrix for
up-to-date testing. by [@&#8203;m10rten](https://github.com/m10rten)
in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- Add types to `ZodFirstPartySchemaTypes` by
[@&#8203;MatthijsMud](https://github.com/MatthijsMud) in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- fix: make `input` of `.required()` readonly by
[@&#8203;KATT](https://github.com/KATT) in
[https://github.com/colinhacks/zod/pull/3301](https://github.com/colinhacks/zod/pull/3301)
- add never props to safe parse return types by
[@&#8203;schicks](https://github.com/schicks) in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- Reporting errors of the preprocess that is the second property of
object by [@&#8203;yukukotani](https://github.com/yukukotani) in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- Improve `addQuestionMarks`, fix
[#&#8203;2184](https://github.com/colinhacks/zod/issues/2184) by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3352](https://github.com/colinhacks/zod/pull/3352)
- fix for njs by [@&#8203;dvv](https://github.com/dvv) in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- only look in `src` for `bun test` by
[@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- Restrict .pick()/.omit() mask type to only known properties by
[@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- Make EnumValues generic by
[@&#8203;IlyaSemenov](https://github.com/IlyaSemenov) in
[https://github.com/colinhacks/zod/pull/2338](https://github.com/colinhacks/zod/pull/2338)
- perf: avoid unnecessary error maps by
[@&#8203;xuxucode](https://github.com/xuxucode) in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- Bugfix: z.record().parse should not filter out undefined values by
[@&#8203;raik-casimiro](https://github.com/raik-casimiro) in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- Use Set.has instead of Array.indexOf for enum comparison (perf
improvement) by [@&#8203;jmike](https://github.com/jmike) in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- \[2888] fix emails with single quotes failing validation by
[@&#8203;Mansehej](https://github.com/Mansehej) in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- Bugfix: Commas are incorrectly allowed in email regex. by
[@&#8203;mokemoko](https://github.com/mokemoko) in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- Fix regex in cuid2 validation to be what cuid2 library expects by
[@&#8203;etareduction](https://github.com/etareduction) in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- Make depcruise pass by [@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3037](https://github.com/colinhacks/zod/pull/3037)
- Faster ipv4 parsing by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3413](https://github.com/colinhacks/zod/pull/3413)

#### Docs and ecosystem

- chore: add pastel package to ecosystem by
[@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- added required styles. by
[@&#8203;Ansh101112](https://github.com/Ansh101112) in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- Feature/better chinese translate by
[@&#8203;NWYLZW](https://github.com/NWYLZW) in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- Fix z.instanceof example by
[@&#8203;alexnault](https://github.com/alexnault) in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- Add documentation to Zod enum exclude/extract functions by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- Add docs for coercing nullish values by
[@&#8203;rbuetzer](https://github.com/rbuetzer) in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- Adds `zod-dev` utility to eco-system section by
[@&#8203;schalkventer](https://github.com/schalkventer) in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- Add zhttp library to docs by
[@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- fixed Readme typo in NaNs example by
[@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- adds zod-config library to the ecosystem by
[@&#8203;alexmarqs](https://github.com/alexmarqs) in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- docs: update link and description of conform integration by
[@&#8203;g1eny0ung](https://github.com/g1eny0ung) in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- Update README.md by
[@&#8203;yugmade13](https://github.com/yugmade13) in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- feat: overhaul generics section of readme to include more details on
z.ZodTypeAny usage by [@&#8203;braden-w](https://github.com/braden-w)
in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- Fix small typos by [@&#8203;mmorearty](https://github.com/mmorearty)
in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- docs: update Chinese docs and correct some of the typos by
[@&#8203;jiechen257](https://github.com/jiechen257) in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- docs: improve chinese readme by
[@&#8203;luckrnx09](https://github.com/luckrnx09) in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- Add java-to-zod in X to Zod section by
[@&#8203;ivangreene](https://github.com/ivangreene) in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- docs: add `orval` to "X to Zod" ecosystems by
[@&#8203;soartec-lab](https://github.com/soartec-lab) in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

#### New Contributors

- [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- [@&#8203;Ansh101112](https://github.com/Ansh101112) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- [@&#8203;NWYLZW](https://github.com/NWYLZW) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- [@&#8203;alexnault](https://github.com/alexnault) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- [@&#8203;shaharke](https://github.com/shaharke) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- [@&#8203;rbuetzer](https://github.com/rbuetzer) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- [@&#8203;schalkventer](https://github.com/schalkventer) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer)
made their first contribution in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- [@&#8203;alexmarqs](https://github.com/alexmarqs) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- [@&#8203;JonnyBurger](https://github.com/JonnyBurger) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3214](https://github.com/colinhacks/zod/pull/3214)
- [@&#8203;fernandollisboa](https://github.com/fernandollisboa) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- [@&#8203;g1eny0ung](https://github.com/g1eny0ung) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- [@&#8203;m10rten](https://github.com/m10rten) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- [@&#8203;MatthijsMud](https://github.com/MatthijsMud) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- [@&#8203;yugmade13](https://github.com/yugmade13) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- [@&#8203;braden-w](https://github.com/braden-w) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- [@&#8203;mmorearty](https://github.com/mmorearty) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- [@&#8203;schicks](https://github.com/schicks) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- [@&#8203;yukukotani](https://github.com/yukukotani) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- [@&#8203;jiechen257](https://github.com/jiechen257) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- [@&#8203;luckrnx09](https://github.com/luckrnx09) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- [@&#8203;dvv](https://github.com/dvv) made their first contribution
in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- [@&#8203;rotu](https://github.com/rotu) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- [@&#8203;ivoilic](https://github.com/ivoilic) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2364](https://github.com/colinhacks/zod/pull/2364)
- [@&#8203;telemakhos](https://github.com/telemakhos) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3388](https://github.com/colinhacks/zod/pull/3388)
- [@&#8203;bchrobot](https://github.com/bchrobot) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)
- [@&#8203;szamanr](https://github.com/szamanr) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)
- [@&#8203;ivangreene](https://github.com/ivangreene) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- [@&#8203;xuxucode](https://github.com/xuxucode) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- [@&#8203;raik-casimiro](https://github.com/raik-casimiro) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- [@&#8203;jmike](https://github.com/jmike) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- [@&#8203;Mansehej](https://github.com/Mansehej) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- [@&#8203;mokemoko](https://github.com/mokemoko) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- [@&#8203;etareduction](https://github.com/etareduction) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- [@&#8203;mastermatt](https://github.com/mastermatt) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)
- [@&#8203;soartec-lab](https://github.com/soartec-lab) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

**Full Changelog**:
colinhacks/zod@v3.22.4...v3.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ziyadedher/ziyadedher).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in inabagumi/shinju-date Apr 21, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod))
| [`^3.22.5` ->
`^3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>colinhacks/zod (zod)</summary>

###
[`v3.23.0`](https://github.com/colinhacks/zod/releases/tag/v3.23.0)

[Compare
Source](https://github.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)

Zod 3.23 is now available. This is the final `3.x` release before Zod
4.0. To try it out:

```sh
npm install zod
```

#### Features

##### `z.string().date()`

Zod can now validate ISO 8601 date strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```

##### `z.string().time()`

Zod can now validate ISO 8601 time strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```

You can specify sub-second precision using the `precision` option:

```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```

##### `z.string().duration()`

Zod can now validate ISO 8601 duration strings. Thanks
[@&#8203;mastermatt](https://github.com/mastermatt)!
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)

```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```

##### Improvements to `z.string().datetime()`

Thanks [@&#8203;bchrobot](https://github.com/bchrobot)
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)

You can now allow *unqualified* (timezone-less) datetimes using the
`local: true` flag.

```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```

Plus, Zod now validates the day-of-month correctly to ensure no invalid
dates (e.g. February 30th) pass validation. Thanks
[@&#8203;szamanr](https://github.com/szamanr)!
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)

##### `z.string().base64()`

Zod can now validate base64 strings. Thanks
[@&#8203;StefanTerdell](https://github.com/StefanTerdell)!
[https://github.com/colinhacks/zod/pull/3047](https://github.com/colinhacks/zod/pull/3047)

```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```

##### Improved discriminated unions

The following can now be used as discriminator keys in
`z.discriminatedUnion()`:

-   `ZodOptional`
-   `ZodNullable`
-   `ZodReadonly`
-   `ZodBranded`
-   `ZodCatch`

```ts
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```

##### Misc

- feature: allow falsy error message by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- feature: add attribute message to enum validatiion by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3169](https://github.com/colinhacks/zod/pull/3169)

#### Breaking changes

There are no breaking changes to the public API of Zod. However some
changes can impact ecosystem tools that rely on Zod internals.

##### `ZodFirstPartySchemaTypes`

Three new types have been added to the `ZodFirstPartySchemaTypes` union.
This may impact some codegen libraries.
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)

```diff
+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
```

##### Default generics in `ZodType`

The third argument of the `ZodType` base class now defaults to
`unknown`. This makes it easier to define recursive schemas and write
generic functions that accept Zod schemas.

```diff
- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
```

##### Unrecognized keys in `.pick()` and `.omit()`

This version fixes a bug where unknown keys were accidentally accepted
in `.pick()` and `omit()`. This has been fixed, which could cause
compiler errors in some user code.
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)

```ts
z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})
```

#### Bugfixes and performance

- Bugfix: Enum.extract/exclude should not remove error mapping by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3240](https://github.com/colinhacks/zod/pull/3240)
- Added latest stable Node and TypeScript versions to test matrix for
up-to-date testing. by [@&#8203;m10rten](https://github.com/m10rten)
in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- Add types to `ZodFirstPartySchemaTypes` by
[@&#8203;MatthijsMud](https://github.com/MatthijsMud) in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- fix: make `input` of `.required()` readonly by
[@&#8203;KATT](https://github.com/KATT) in
[https://github.com/colinhacks/zod/pull/3301](https://github.com/colinhacks/zod/pull/3301)
- add never props to safe parse return types by
[@&#8203;schicks](https://github.com/schicks) in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- Reporting errors of the preprocess that is the second property of
object by [@&#8203;yukukotani](https://github.com/yukukotani) in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- Improve `addQuestionMarks`, fix
[#&#8203;2184](https://github.com/colinhacks/zod/issues/2184) by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3352](https://github.com/colinhacks/zod/pull/3352)
- fix for njs by [@&#8203;dvv](https://github.com/dvv) in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- only look in `src` for `bun test` by
[@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- Restrict .pick()/.omit() mask type to only known properties by
[@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- Make EnumValues generic by
[@&#8203;IlyaSemenov](https://github.com/IlyaSemenov) in
[https://github.com/colinhacks/zod/pull/2338](https://github.com/colinhacks/zod/pull/2338)
- perf: avoid unnecessary error maps by
[@&#8203;xuxucode](https://github.com/xuxucode) in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- Bugfix: z.record().parse should not filter out undefined values by
[@&#8203;raik-casimiro](https://github.com/raik-casimiro) in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- Use Set.has instead of Array.indexOf for enum comparison (perf
improvement) by [@&#8203;jmike](https://github.com/jmike) in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- \[2888] fix emails with single quotes failing validation by
[@&#8203;Mansehej](https://github.com/Mansehej) in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- Bugfix: Commas are incorrectly allowed in email regex. by
[@&#8203;mokemoko](https://github.com/mokemoko) in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- Fix regex in cuid2 validation to be what cuid2 library expects by
[@&#8203;etareduction](https://github.com/etareduction) in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- Make depcruise pass by [@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3037](https://github.com/colinhacks/zod/pull/3037)
- Faster ipv4 parsing by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3413](https://github.com/colinhacks/zod/pull/3413)

#### Docs and ecosystem

- chore: add pastel package to ecosystem by
[@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- added required styles. by
[@&#8203;Ansh101112](https://github.com/Ansh101112) in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- Feature/better chinese translate by
[@&#8203;NWYLZW](https://github.com/NWYLZW) in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- Fix z.instanceof example by
[@&#8203;alexnault](https://github.com/alexnault) in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- Add documentation to Zod enum exclude/extract functions by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- Add docs for coercing nullish values by
[@&#8203;rbuetzer](https://github.com/rbuetzer) in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- Adds `zod-dev` utility to eco-system section by
[@&#8203;schalkventer](https://github.com/schalkventer) in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- Add zhttp library to docs by
[@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- fixed Readme typo in NaNs example by
[@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- adds zod-config library to the ecosystem by
[@&#8203;alexmarqs](https://github.com/alexmarqs) in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- docs: update link and description of conform integration by
[@&#8203;g1eny0ung](https://github.com/g1eny0ung) in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- Update README.md by
[@&#8203;yugmade13](https://github.com/yugmade13) in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- feat: overhaul generics section of readme to include more details on
z.ZodTypeAny usage by [@&#8203;braden-w](https://github.com/braden-w)
in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- Fix small typos by [@&#8203;mmorearty](https://github.com/mmorearty)
in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- docs: update Chinese docs and correct some of the typos by
[@&#8203;jiechen257](https://github.com/jiechen257) in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- docs: improve chinese readme by
[@&#8203;luckrnx09](https://github.com/luckrnx09) in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- Add java-to-zod in X to Zod section by
[@&#8203;ivangreene](https://github.com/ivangreene) in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- docs: add `orval` to "X to Zod" ecosystems by
[@&#8203;soartec-lab](https://github.com/soartec-lab) in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

#### New Contributors

- [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- [@&#8203;Ansh101112](https://github.com/Ansh101112) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- [@&#8203;NWYLZW](https://github.com/NWYLZW) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- [@&#8203;alexnault](https://github.com/alexnault) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- [@&#8203;shaharke](https://github.com/shaharke) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- [@&#8203;rbuetzer](https://github.com/rbuetzer) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- [@&#8203;schalkventer](https://github.com/schalkventer) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer)
made their first contribution in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- [@&#8203;alexmarqs](https://github.com/alexmarqs) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- [@&#8203;JonnyBurger](https://github.com/JonnyBurger) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3214](https://github.com/colinhacks/zod/pull/3214)
- [@&#8203;fernandollisboa](https://github.com/fernandollisboa) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- [@&#8203;g1eny0ung](https://github.com/g1eny0ung) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- [@&#8203;m10rten](https://github.com/m10rten) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- [@&#8203;MatthijsMud](https://github.com/MatthijsMud) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- [@&#8203;yugmade13](https://github.com/yugmade13) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- [@&#8203;braden-w](https://github.com/braden-w) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- [@&#8203;mmorearty](https://github.com/mmorearty) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- [@&#8203;schicks](https://github.com/schicks) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- [@&#8203;yukukotani](https://github.com/yukukotani) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- [@&#8203;jiechen257](https://github.com/jiechen257) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- [@&#8203;luckrnx09](https://github.com/luckrnx09) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- [@&#8203;dvv](https://github.com/dvv) made their first contribution
in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- [@&#8203;rotu](https://github.com/rotu) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- [@&#8203;ivoilic](https://github.com/ivoilic) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2364](https://github.com/colinhacks/zod/pull/2364)
- [@&#8203;telemakhos](https://github.com/telemakhos) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3388](https://github.com/colinhacks/zod/pull/3388)
- [@&#8203;bchrobot](https://github.com/bchrobot) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)
- [@&#8203;szamanr](https://github.com/szamanr) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)
- [@&#8203;ivangreene](https://github.com/ivangreene) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- [@&#8203;xuxucode](https://github.com/xuxucode) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- [@&#8203;raik-casimiro](https://github.com/raik-casimiro) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- [@&#8203;jmike](https://github.com/jmike) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- [@&#8203;Mansehej](https://github.com/Mansehej) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- [@&#8203;mokemoko](https://github.com/mokemoko) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- [@&#8203;etareduction](https://github.com/etareduction) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- [@&#8203;mastermatt](https://github.com/mastermatt) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)
- [@&#8203;soartec-lab](https://github.com/soartec-lab) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

**Full Changelog**:
colinhacks/zod@v3.22.4...v3.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/inabagumi/shinju-date).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in fwouts/previewjs Apr 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod))
| [`^3.22.5` ->
`^3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>colinhacks/zod (zod)</summary>

###
[`v3.23.0`](https://github.com/colinhacks/zod/releases/tag/v3.23.0)

[Compare
Source](https://github.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)

Zod 3.23 is now available. This is the final `3.x` release before Zod
4.0. To try it out:

```sh
npm install zod
```

#### Features

##### `z.string().date()`

Zod can now validate ISO 8601 date strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```

##### `z.string().time()`

Zod can now validate ISO 8601 time strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```

You can specify sub-second precision using the `precision` option:

```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```

##### `z.string().duration()`

Zod can now validate ISO 8601 duration strings. Thanks
[@&#8203;mastermatt](https://github.com/mastermatt)!
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)

```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```

##### Improvements to `z.string().datetime()`

Thanks [@&#8203;bchrobot](https://github.com/bchrobot)
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)

You can now allow *unqualified* (timezone-less) datetimes using the
`local: true` flag.

```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```

Plus, Zod now validates the day-of-month correctly to ensure no invalid
dates (e.g. February 30th) pass validation. Thanks
[@&#8203;szamanr](https://github.com/szamanr)!
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)

##### `z.string().base64()`

Zod can now validate base64 strings. Thanks
[@&#8203;StefanTerdell](https://github.com/StefanTerdell)!
[https://github.com/colinhacks/zod/pull/3047](https://github.com/colinhacks/zod/pull/3047)

```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```

##### Improved discriminated unions

The following can now be used as discriminator keys in
`z.discriminatedUnion()`:

-   `ZodOptional`
-   `ZodNullable`
-   `ZodReadonly`
-   `ZodBranded`
-   `ZodCatch`

```ts
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```

##### Misc

- feature: allow falsy error message by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- feature: add attribute message to enum validatiion by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3169](https://github.com/colinhacks/zod/pull/3169)

#### Breaking changes

There are no breaking changes to the public API of Zod. However some
changes can impact ecosystem tools that rely on Zod internals.

##### `ZodFirstPartySchemaTypes`

Three new types have been added to the `ZodFirstPartySchemaTypes` union.
This may impact some codegen libraries.
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)

```diff
+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
```

##### Default generics in `ZodType`

The third argument of the `ZodType` base class now defaults to
`unknown`. This makes it easier to define recursive schemas and write
generic functions that accept Zod schemas.

```diff
- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
```

##### Unrecognized keys in `.pick()` and `.omit()`

This version fixes a bug where unknown keys were accidentally accepted
in `.pick()` and `omit()`. This has been fixed, which could cause
compiler errors in some user code.
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)

```ts
z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})
```

#### Bugfixes and performance

- Bugfix: Enum.extract/exclude should not remove error mapping by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3240](https://github.com/colinhacks/zod/pull/3240)
- Added latest stable Node and TypeScript versions to test matrix for
up-to-date testing. by [@&#8203;m10rten](https://github.com/m10rten)
in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- Add types to `ZodFirstPartySchemaTypes` by
[@&#8203;MatthijsMud](https://github.com/MatthijsMud) in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- fix: make `input` of `.required()` readonly by
[@&#8203;KATT](https://github.com/KATT) in
[https://github.com/colinhacks/zod/pull/3301](https://github.com/colinhacks/zod/pull/3301)
- add never props to safe parse return types by
[@&#8203;schicks](https://github.com/schicks) in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- Reporting errors of the preprocess that is the second property of
object by [@&#8203;yukukotani](https://github.com/yukukotani) in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- Improve `addQuestionMarks`, fix
[#&#8203;2184](https://github.com/colinhacks/zod/issues/2184) by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3352](https://github.com/colinhacks/zod/pull/3352)
- fix for njs by [@&#8203;dvv](https://github.com/dvv) in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- only look in `src` for `bun test` by
[@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- Restrict .pick()/.omit() mask type to only known properties by
[@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- Make EnumValues generic by
[@&#8203;IlyaSemenov](https://github.com/IlyaSemenov) in
[https://github.com/colinhacks/zod/pull/2338](https://github.com/colinhacks/zod/pull/2338)
- perf: avoid unnecessary error maps by
[@&#8203;xuxucode](https://github.com/xuxucode) in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- Bugfix: z.record().parse should not filter out undefined values by
[@&#8203;raik-casimiro](https://github.com/raik-casimiro) in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- Use Set.has instead of Array.indexOf for enum comparison (perf
improvement) by [@&#8203;jmike](https://github.com/jmike) in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- \[2888] fix emails with single quotes failing validation by
[@&#8203;Mansehej](https://github.com/Mansehej) in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- Bugfix: Commas are incorrectly allowed in email regex. by
[@&#8203;mokemoko](https://github.com/mokemoko) in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- Fix regex in cuid2 validation to be what cuid2 library expects by
[@&#8203;etareduction](https://github.com/etareduction) in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- Make depcruise pass by [@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3037](https://github.com/colinhacks/zod/pull/3037)
- Faster ipv4 parsing by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3413](https://github.com/colinhacks/zod/pull/3413)

#### Docs and ecosystem

- chore: add pastel package to ecosystem by
[@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- added required styles. by
[@&#8203;Ansh101112](https://github.com/Ansh101112) in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- Feature/better chinese translate by
[@&#8203;NWYLZW](https://github.com/NWYLZW) in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- Fix z.instanceof example by
[@&#8203;alexnault](https://github.com/alexnault) in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- Add documentation to Zod enum exclude/extract functions by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- Add docs for coercing nullish values by
[@&#8203;rbuetzer](https://github.com/rbuetzer) in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- Adds `zod-dev` utility to eco-system section by
[@&#8203;schalkventer](https://github.com/schalkventer) in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- Add zhttp library to docs by
[@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- fixed Readme typo in NaNs example by
[@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- adds zod-config library to the ecosystem by
[@&#8203;alexmarqs](https://github.com/alexmarqs) in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- docs: update link and description of conform integration by
[@&#8203;g1eny0ung](https://github.com/g1eny0ung) in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- Update README.md by
[@&#8203;yugmade13](https://github.com/yugmade13) in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- feat: overhaul generics section of readme to include more details on
z.ZodTypeAny usage by [@&#8203;braden-w](https://github.com/braden-w)
in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- Fix small typos by [@&#8203;mmorearty](https://github.com/mmorearty)
in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- docs: update Chinese docs and correct some of the typos by
[@&#8203;jiechen257](https://github.com/jiechen257) in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- docs: improve chinese readme by
[@&#8203;luckrnx09](https://github.com/luckrnx09) in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- Add java-to-zod in X to Zod section by
[@&#8203;ivangreene](https://github.com/ivangreene) in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- docs: add `orval` to "X to Zod" ecosystems by
[@&#8203;soartec-lab](https://github.com/soartec-lab) in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

#### New Contributors

- [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- [@&#8203;Ansh101112](https://github.com/Ansh101112) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- [@&#8203;NWYLZW](https://github.com/NWYLZW) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- [@&#8203;alexnault](https://github.com/alexnault) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- [@&#8203;shaharke](https://github.com/shaharke) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- [@&#8203;rbuetzer](https://github.com/rbuetzer) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- [@&#8203;schalkventer](https://github.com/schalkventer) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer)
made their first contribution in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- [@&#8203;alexmarqs](https://github.com/alexmarqs) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- [@&#8203;JonnyBurger](https://github.com/JonnyBurger) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3214](https://github.com/colinhacks/zod/pull/3214)
- [@&#8203;fernandollisboa](https://github.com/fernandollisboa) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- [@&#8203;g1eny0ung](https://github.com/g1eny0ung) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- [@&#8203;m10rten](https://github.com/m10rten) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- [@&#8203;MatthijsMud](https://github.com/MatthijsMud) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- [@&#8203;yugmade13](https://github.com/yugmade13) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- [@&#8203;braden-w](https://github.com/braden-w) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- [@&#8203;mmorearty](https://github.com/mmorearty) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- [@&#8203;schicks](https://github.com/schicks) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- [@&#8203;yukukotani](https://github.com/yukukotani) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- [@&#8203;jiechen257](https://github.com/jiechen257) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- [@&#8203;luckrnx09](https://github.com/luckrnx09) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- [@&#8203;dvv](https://github.com/dvv) made their first contribution
in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- [@&#8203;rotu](https://github.com/rotu) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- [@&#8203;ivoilic](https://github.com/ivoilic) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2364](https://github.com/colinhacks/zod/pull/2364)
- [@&#8203;telemakhos](https://github.com/telemakhos) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3388](https://github.com/colinhacks/zod/pull/3388)
- [@&#8203;bchrobot](https://github.com/bchrobot) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)
- [@&#8203;szamanr](https://github.com/szamanr) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)
- [@&#8203;ivangreene](https://github.com/ivangreene) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- [@&#8203;xuxucode](https://github.com/xuxucode) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- [@&#8203;raik-casimiro](https://github.com/raik-casimiro) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- [@&#8203;jmike](https://github.com/jmike) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- [@&#8203;Mansehej](https://github.com/Mansehej) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- [@&#8203;mokemoko](https://github.com/mokemoko) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- [@&#8203;etareduction](https://github.com/etareduction) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- [@&#8203;mastermatt](https://github.com/mastermatt) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)
- [@&#8203;soartec-lab](https://github.com/soartec-lab) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

**Full Changelog**:
colinhacks/zod@v3.22.4...v3.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot referenced this pull request in weareinreach/TransMascFutures Apr 22, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm)) | packageManager | patch | [`9.0.4` -> `9.0.5`](https://renovatebot.com/diffs/npm/pnpm/9.0.4/9.0.5) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/pnpm/pnpm/badge)](https://securityscorecards.dev/viewer/?uri=github.com/pnpm/pnpm) |
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm)) | engines | patch | [`9.0.4` -> `9.0.5`](https://renovatebot.com/diffs/npm/pnpm/9.0.4/9.0.5) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/pnpm/pnpm/badge)](https://securityscorecards.dev/viewer/?uri=github.com/pnpm/pnpm) |
| [type-fest](https://github.com/sindresorhus/type-fest) | devDependencies | minor | [`4.15.0` -> `4.16.0`](https://renovatebot.com/diffs/npm/type-fest/4.15.0/4.16.0) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/sindresorhus/type-fest/badge)](https://securityscorecards.dev/viewer/?uri=github.com/sindresorhus/type-fest) |
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod)) | dependencies | minor | [`3.22.5` -> `3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/colinhacks/zod/badge)](https://securityscorecards.dev/viewer/?uri=github.com/colinhacks/zod) |

---

### Release Notes

<details>
<summary>pnpm/pnpm (pnpm)</summary>

### [`v9.0.5`](https://github.com/pnpm/pnpm/compare/v9.0.4...v9.0.5)

[Compare Source](https://github.com/pnpm/pnpm/compare/v9.0.4...v9.0.5)

</details>

<details>
<summary>sindresorhus/type-fest (type-fest)</summary>

### [`v4.16.0`](https://github.com/sindresorhus/type-fest/releases/tag/v4.16.0)

[Compare Source](https://github.com/sindresorhus/type-fest/compare/v4.15.0...v4.16.0)

##### New types

-   [`IsInteger`](https://github.com/sindresorhus/type-fest/blob/main/source/is-integer.d.ts)
-   [`IsFloat`](https://github.com/sindresorhus/type-fest/blob/main/source/is-float.d.ts)

##### Fixes

-   `Integer`: Fix handling of some edge-cases ([#&#8203;857](https://github.com/sindresorhus/type-fest/issues/857))  [`f5b09de`](https://github.com/sindresorhus/type-fest/commit/f5b09de)
-   `Float`: Fix handling of some edge-cases ([#&#8203;857](https://github.com/sindresorhus/type-fest/issues/857))  [`f5b09de`](https://github.com/sindresorhus/type-fest/commit/f5b09de)

</details>

<details>
<summary>colinhacks/zod (zod)</summary>

### [`v3.23.0`](https://github.com/colinhacks/zod/releases/tag/v3.23.0)

[Compare Source](https://github.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)

Zod 3.23 is now available. This is the final `3.x` release before Zod 4.0. To try it out:

```sh
npm install zod
```

#### Features

##### `z.string().date()`

Zod can now validate ISO 8601 date strings. Thanks [@&#8203;igalklebanov](https://github.com/igalklebanov)! [https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```

##### `z.string().time()`

Zod can now validate ISO 8601 time strings. Thanks [@&#8203;igalklebanov](https://github.com/igalklebanov)! [https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```

You can specify sub-second precision using the `precision` option:

```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```

##### `z.string().duration()`

Zod can now validate ISO 8601 duration strings. Thanks [@&#8203;mastermatt](https://github.com/mastermatt)! [https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)

```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```

##### Improvements to `z.string().datetime()`

Thanks [@&#8203;bchrobot](https://github.com/bchrobot) [https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)

You can now allow *unqualified* (timezone-less) datetimes using the `local: true` flag.

```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```

Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks [@&#8203;szamanr](https://github.com/szamanr)! [https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)

##### `z.string().base64()`

Zod can now validate base64 strings. Thanks [@&#8203;StefanTerdell](https://github.com/StefanTerdell)! [https://github.com/colinhacks/zod/pull/3047](https://github.com/colinhacks/zod/pull/3047)

```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```

##### Improved discriminated unions

The following can now be used as discriminator keys in `z.discriminatedUnion()`:

-   `ZodOptional`
-   `ZodNullable`
-   `ZodReadonly`
-   `ZodBranded`
-   `ZodCatch`

```ts
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```

##### Misc

-   feature: allow falsy error message by [@&#8203;fernandollisboa](https://github.com/fernandollisboa) in [https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
-   feature: add attribute message to enum validatiion by [@&#8203;fernandollisboa](https://github.com/fernandollisboa) in [https://github.com/colinhacks/zod/pull/3169](https://github.com/colinhacks/zod/pull/3169)

#### Breaking changes

There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.

##### `ZodFirstPartySchemaTypes`

Three new types have been added to the `ZodFirstPartySchemaTypes` union. This may impact some codegen libraries. [https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)

```diff
+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
```

##### Default generics in `ZodType`

The third argument of the `ZodType` base class now defaults to `unknown`. This makes it easier to define recursive schemas and write generic functions that accept Zod schemas.

```diff
- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
```

##### Unrecognized keys in `.pick()` and `.omit()`

This version fixes a bug where unknown keys were accidentally accepted in `.pick()` and `omit()`. This has been fixed, which could cause compiler errors in some user code. [https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)

```ts
z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})
```

#### Bugfixes and performance

-   Bugfix: Enum.extract/exclude should not remove error mapping by [@&#8203;shaharke](https://github.com/shaharke) in [https://github.com/colinhacks/zod/pull/3240](https://github.com/colinhacks/zod/pull/3240)
-   Added latest stable Node and TypeScript versions to test matrix for up-to-date testing. by [@&#8203;m10rten](https://github.com/m10rten) in [https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
-   Add types to `ZodFirstPartySchemaTypes` by [@&#8203;MatthijsMud](https://github.com/MatthijsMud) in [https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
-   fix: make `input` of `.required()` readonly by [@&#8203;KATT](https://github.com/KATT) in [https://github.com/colinhacks/zod/pull/3301](https://github.com/colinhacks/zod/pull/3301)
-   add never props to safe parse return types by [@&#8203;schicks](https://github.com/schicks) in [https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
-   Reporting errors of the preprocess that is the second property of object by [@&#8203;yukukotani](https://github.com/yukukotani) in [https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
-   Improve `addQuestionMarks`, fix [#&#8203;2184](https://github.com/colinhacks/zod/issues/2184) by [@&#8203;colinhacks](https://github.com/colinhacks) in [https://github.com/colinhacks/zod/pull/3352](https://github.com/colinhacks/zod/pull/3352)
-   fix for njs by [@&#8203;dvv](https://github.com/dvv) in [https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
-   only look in `src` for `bun test` by [@&#8203;rotu](https://github.com/rotu) in [https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
-   Restrict .pick()/.omit() mask type to only known properties by [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) in [https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
-   Make EnumValues generic by [@&#8203;IlyaSemenov](https://github.com/IlyaSemenov) in [https://github.com/colinhacks/zod/pull/2338](https://github.com/colinhacks/zod/pull/2338)
-   perf: avoid unnecessary error maps by [@&#8203;xuxucode](https://github.com/xuxucode) in [https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
-   Bugfix: z.record().parse should not filter out undefined values by [@&#8203;raik-casimiro](https://github.com/raik-casimiro) in [https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
-   Use Set.has instead of Array.indexOf for enum comparison (perf improvement) by [@&#8203;jmike](https://github.com/jmike) in [https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
-   \[2888] fix emails with single quotes failing validation by [@&#8203;Mansehej](https://github.com/Mansehej) in [https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
-   Bugfix: Commas are incorrectly allowed in email regex. by [@&#8203;mokemoko](https://github.com/mokemoko) in [https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
-   Fix regex in cuid2 validation to be what cuid2 library expects by [@&#8203;etareduction](https://github.com/etareduction) in [https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
-   Make depcruise pass by [@&#8203;rotu](https://github.com/rotu) in [https://github.com/colinhacks/zod/pull/3037](https://github.com/colinhacks/zod/pull/3037)
-   Faster ipv4 parsing by [@&#8203;colinhacks](https://github.com/colinhacks) in [https://github.com/colinhacks/zod/pull/3413](https://github.com/colinhacks/zod/pull/3413)

#### Docs and ecosystem

-   chore: add pastel package to ecosystem by [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) in [https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
-   added required styles. by [@&#8203;Ansh101112](https://github.com/Ansh101112) in [https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
-   Feature/better chinese translate by [@&#8203;NWYLZW](https://github.com/NWYLZW) in [https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
-   Fix z.instanceof example by [@&#8203;alexnault](https://github.com/alexnault) in [https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
-   Add documentation to Zod enum exclude/extract functions by [@&#8203;shaharke](https://github.com/shaharke) in [https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
-   Add docs for coercing nullish values by [@&#8203;rbuetzer](https://github.com/rbuetzer) in [https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
-   Adds `zod-dev` utility to eco-system section by [@&#8203;schalkventer](https://github.com/schalkventer) in [https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
-   Add zhttp library to docs by [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) in [https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
-   fixed Readme typo in NaNs example by [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) in [https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
-   adds zod-config library to the ecosystem by [@&#8203;alexmarqs](https://github.com/alexmarqs) in [https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
-   docs: update link and description of conform integration by [@&#8203;g1eny0ung](https://github.com/g1eny0ung) in [https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
-   Update README.md by [@&#8203;yugmade13](https://github.com/yugmade13) in [https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
-   feat: overhaul generics section of readme to include more details on z.ZodTypeAny usage by [@&#8203;braden-w](https://github.com/braden-w) in [https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
-   Fix small typos by [@&#8203;mmorearty](https://github.com/mmorearty) in [https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
-   docs: update Chinese docs and correct some of the typos by [@&#8203;jiechen257](https://github.com/jiechen257) in [https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
-   docs: improve chinese readme by [@&#8203;luckrnx09](https://github.com/luckrnx09) in [https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
-   Add java-to-zod in X to Zod section by [@&#8203;ivangreene](https://github.com/ivangreene) in [https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
-   docs: add `orval` to "X to Zod" ecosystems by [@&#8203;soartec-lab](https://github.com/soartec-lab) in [https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

#### New Contributors

-   [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) made their first contribution in [https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
-   [@&#8203;Ansh101112](https://github.com/Ansh101112) made their first contribution in [https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
-   [@&#8203;NWYLZW](https://github.com/NWYLZW) made their first contribution in [https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
-   [@&#8203;alexnault](https://github.com/alexnault) made their first contribution in [https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
-   [@&#8203;shaharke](https://github.com/shaharke) made their first contribution in [https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
-   [@&#8203;rbuetzer](https://github.com/rbuetzer) made their first contribution in [https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
-   [@&#8203;schalkventer](https://github.com/schalkventer) made their first contribution in [https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
-   [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) made their first contribution in [https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
-   [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) made their first contribution in [https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
-   [@&#8203;alexmarqs](https://github.com/alexmarqs) made their first contribution in [https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
-   [@&#8203;JonnyBurger](https://github.com/JonnyBurger) made their first contribution in [https://github.com/colinhacks/zod/pull/3214](https://github.com/colinhacks/zod/pull/3214)
-   [@&#8203;fernandollisboa](https://github.com/fernandollisboa) made their first contribution in [https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
-   [@&#8203;g1eny0ung](https://github.com/g1eny0ung) made their first contribution in [https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
-   [@&#8203;m10rten](https://github.com/m10rten) made their first contribution in [https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
-   [@&#8203;MatthijsMud](https://github.com/MatthijsMud) made their first contribution in [https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
-   [@&#8203;yugmade13](https://github.com/yugmade13) made their first contribution in [https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
-   [@&#8203;braden-w](https://github.com/braden-w) made their first contribution in [https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
-   [@&#8203;mmorearty](https://github.com/mmorearty) made their first contribution in [https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
-   [@&#8203;schicks](https://github.com/schicks) made their first contribution in [https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
-   [@&#8203;yukukotani](https://github.com/yukukotani) made their first contribution in [https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
-   [@&#8203;jiechen257](https://github.com/jiechen257) made their first contribution in [https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
-   [@&#8203;luckrnx09](https://github.com/luckrnx09) made their first contribution in [https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
-   [@&#8203;dvv](https://github.com/dvv) made their first contribution in [https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
-   [@&#8203;rotu](https://github.com/rotu) made their first contribution in [https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
-   [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) made their first contribution in [https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
-   [@&#8203;ivoilic](https://github.com/ivoilic) made their first contribution in [https://github.com/colinhacks/zod/pull/2364](https://github.com/colinhacks/zod/pull/2364)
-   [@&#8203;telemakhos](https://github.com/telemakhos) made their first contribution in [https://github.com/colinhacks/zod/pull/3388](https://github.com/colinhacks/zod/pull/3388)
-   [@&#8203;bchrobot](https://github.com/bchrobot) made their first contribution in [https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)
-   [@&#8203;szamanr](https://github.com/szamanr) made their first contribution in [https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)
-   [@&#8203;ivangreene](https://github.com/ivangreene) made their first contribution in [https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
-   [@&#8203;xuxucode](https://github.com/xuxucode) made their first contribution in [https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
-   [@&#8203;raik-casimiro](https://github.com/raik-casimiro) made their first contribution in [https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
-   [@&#8203;jmike](https://github.com/jmike) made their first contribution in [https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
-   [@&#8203;Mansehej](https://github.com/Mansehej) made their first contribution in [https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
-   [@&#8203;mokemoko](https://github.com/mokemoko) made their first contribution in [https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
-   [@&#8203;etareduction](https://github.com/etareduction) made their first contribution in [https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
-   [@&#8203;mastermatt](https://github.com/mastermatt) made their first contribution in [https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)
-   [@&#8203;soartec-lab](https://github.com/soartec-lab) made their first contribution in [https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

**Full Changelog**: colinhacks/zod@v3.22.4...v3.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday,before 4am on Thursday" (UTC), 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/TransMascFutures).



PR-URL: #406
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot referenced this pull request in weareinreach/InReach Apr 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update | OpenSSF |
|---|---|---|---|---|---|---|---|---|
|
[@iconify-json/simple-icons](https://icon-sets.iconify.design/simple-icons/)
| [`1.1.99` ->
`1.1.100`](https://renovatebot.com/diffs/npm/@iconify-json%2fsimple-icons/1.1.99/1.1.100)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@iconify-json%2fsimple-icons/1.1.100?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@iconify-json%2fsimple-icons/1.1.100?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@iconify-json%2fsimple-icons/1.1.99/1.1.100?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@iconify-json%2fsimple-icons/1.1.99/1.1.100?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch | |
| [@snaplet/seed](https://snaplet.dev/seed) | [`0.94.1` ->
`0.95.0`](https://renovatebot.com/diffs/npm/@snaplet%2fseed/0.94.1/0.95.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@snaplet%2fseed/0.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@snaplet%2fseed/0.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@snaplet%2fseed/0.94.1/0.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@snaplet%2fseed/0.94.1/0.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | |
|
[libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js)
| [`1.10.60` ->
`1.10.61`](https://renovatebot.com/diffs/npm/libphonenumber-js/1.10.60/1.10.61)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/libphonenumber-js/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/libphonenumber-js/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/libphonenumber-js/1.10.60/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/libphonenumber-js/1.10.60/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | patch | |
|
[libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js)
| [`1.10.60` ->
`1.10.61`](https://renovatebot.com/diffs/npm/libphonenumber-js/1.10.60/1.10.61)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/libphonenumber-js/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/libphonenumber-js/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/libphonenumber-js/1.10.60/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/libphonenumber-js/1.10.60/1.10.61?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | patch | |
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm)) |
[`9.0.4` -> `9.0.5`](https://renovatebot.com/diffs/npm/pnpm/9.0.4/9.0.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/9.0.4/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/9.0.4/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| packageManager | patch | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/pnpm/pnpm/badge)](https://securityscorecards.dev/viewer/?uri=github.com/pnpm/pnpm)
|
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm)) |
[`9.0.4` -> `9.0.5`](https://renovatebot.com/diffs/npm/pnpm/9.0.4/9.0.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/9.0.4/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/9.0.4/9.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| engines | patch | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/pnpm/pnpm/badge)](https://securityscorecards.dev/viewer/?uri=github.com/pnpm/pnpm)
|
|
[react-phone-number-input](https://gitlab.com/catamphetamine/react-phone-number-input)
| [`3.3.12` ->
`3.4.0`](https://renovatebot.com/diffs/npm/react-phone-number-input/3.3.12/3.4.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-phone-number-input/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-phone-number-input/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-phone-number-input/3.3.12/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-phone-number-input/3.3.12/3.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor | |
| [remeda](https://github.com/remeda/remeda) | [`1.60.1` ->
`1.61.0`](https://renovatebot.com/diffs/npm/remeda/1.60.1/1.61.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/remeda/1.61.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/remeda/1.61.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/remeda/1.60.1/1.61.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/remeda/1.60.1/1.61.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/remeda/remeda/badge)](https://securityscorecards.dev/viewer/?uri=github.com/remeda/remeda)
|
| [type-fest](https://github.com/sindresorhus/type-fest) | [`4.15.0`
-> `4.16.0`](https://renovatebot.com/diffs/npm/type-fest/4.15.0/4.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/type-fest/4.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/type-fest/4.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/type-fest/4.15.0/4.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/type-fest/4.15.0/4.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/sindresorhus/type-fest/badge)](https://securityscorecards.dev/viewer/?uri=github.com/sindresorhus/type-fest)
|
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod))
| [`3.22.5` ->
`3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| devDependencies | minor | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/colinhacks/zod/badge)](https://securityscorecards.dev/viewer/?uri=github.com/colinhacks/zod)
|
| [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod))
| [`3.22.5` ->
`3.23.0`](https://renovatebot.com/diffs/npm/zod/3.22.5/3.23.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zod/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/3.22.5/3.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| dependencies | minor | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/colinhacks/zod/badge)](https://securityscorecards.dev/viewer/?uri=github.com/colinhacks/zod)
|

---

### Release Notes

<details>
<summary>catamphetamine/libphonenumber-js (libphonenumber-js)</summary>

###
[`v1.10.61`](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.60...8e9808e3d908cee0e34600401a95367475de5a13)

[Compare
Source](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.60...v1.10.61)

</details>

<details>
<summary>pnpm/pnpm (pnpm)</summary>

### [`v9.0.5`](https://github.com/pnpm/pnpm/compare/v9.0.4...v9.0.5)

[Compare Source](https://github.com/pnpm/pnpm/compare/v9.0.4...v9.0.5)

</details>

<details>
<summary>catamphetamine/react-phone-number-input
(react-phone-number-input)</summary>

###
[`v3.4.0`](https://gitlab.com/catamphetamine/react-phone-number-input/blob/HEAD/CHANGELOG.md#340--22042024)

[Compare
Source](https://gitlab.com/catamphetamine/react-phone-number-input/compare/v3.3.12...v3.4.0)

\==================

- In response to a recently reported
[issue](https://gitlab.com/catamphetamine/react-phone-number-input/-/issues/228),
changed the behavior of the "With Country Select" input in cases when
the calling code corresponds to multiple possible countries (for
example, `+1` calling code corresponds to both `US` and `CA`): now it
will prefer showing the country flag that was selected manually by the
user, or the default country flag.

</details>

<details>
<summary>remeda/remeda (remeda)</summary>

###
[`v1.61.0`](https://github.com/remeda/remeda/compare/v1.60.1...43e44cea0d382d94c20218f31b2e5fdde842ed0e)

[Compare
Source](https://github.com/remeda/remeda/compare/v1.60.1...v1.61.0)

</details>

<details>
<summary>sindresorhus/type-fest (type-fest)</summary>

###
[`v4.16.0`](https://github.com/sindresorhus/type-fest/releases/tag/v4.16.0)

[Compare
Source](https://github.com/sindresorhus/type-fest/compare/v4.15.0...v4.16.0)

##### New types

-
[`IsInteger`](https://github.com/sindresorhus/type-fest/blob/main/source/is-integer.d.ts)
-
[`IsFloat`](https://github.com/sindresorhus/type-fest/blob/main/source/is-float.d.ts)

##### Fixes

- `Integer`: Fix handling of some edge-cases
([#&#8203;857](https://github.com/sindresorhus/type-fest/issues/857))
[`f5b09de`](https://github.com/sindresorhus/type-fest/commit/f5b09de)
- `Float`: Fix handling of some edge-cases
([#&#8203;857](https://github.com/sindresorhus/type-fest/issues/857))
[`f5b09de`](https://github.com/sindresorhus/type-fest/commit/f5b09de)

</details>

<details>
<summary>colinhacks/zod (zod)</summary>

###
[`v3.23.0`](https://github.com/colinhacks/zod/releases/tag/v3.23.0)

[Compare
Source](https://github.com/colinhacks/zod/compare/e7a9b9b3033991be6b4225f1be21da39c250bbb0...v3.23.0)

Zod 3.23 is now available. This is the final `3.x` release before Zod
4.0. To try it out:

```sh
npm install zod
```

#### Features

##### `z.string().date()`

Zod can now validate ISO 8601 date strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().date();
schema.parse("2022-01-01"); // OK
```

##### `z.string().time()`

Zod can now validate ISO 8601 time strings. Thanks
[@&#8203;igalklebanov](https://github.com/igalklebanov)!
[https://github.com/colinhacks/zod/pull/1766](https://github.com/colinhacks/zod/pull/1766)

```ts
const schema = z.string().time();
schema.parse("12:00:00"); // OK
```

You can specify sub-second precision using the `precision` option:

```ts
const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
```

##### `z.string().duration()`

Zod can now validate ISO 8601 duration strings. Thanks
[@&#8203;mastermatt](https://github.com/mastermatt)!
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)

```ts
const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
```

##### Improvements to `z.string().datetime()`

Thanks [@&#8203;bchrobot](https://github.com/bchrobot)
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)

You can now allow *unqualified* (timezone-less) datetimes using the
`local: true` flag.

```ts
const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK
```

Plus, Zod now validates the day-of-month correctly to ensure no invalid
dates (e.g. February 30th) pass validation. Thanks
[@&#8203;szamanr](https://github.com/szamanr)!
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)

##### `z.string().base64()`

Zod can now validate base64 strings. Thanks
[@&#8203;StefanTerdell](https://github.com/StefanTerdell)!
[https://github.com/colinhacks/zod/pull/3047](https://github.com/colinhacks/zod/pull/3047)

```ts
const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
```

##### Improved discriminated unions

The following can now be used as discriminator keys in
`z.discriminatedUnion()`:

-   `ZodOptional`
-   `ZodNullable`
-   `ZodReadonly`
-   `ZodBranded`
-   `ZodCatch`

```ts
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
```

##### Misc

- feature: allow falsy error message by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- feature: add attribute message to enum validatiion by
[@&#8203;fernandollisboa](https://github.com/fernandollisboa) in
[https://github.com/colinhacks/zod/pull/3169](https://github.com/colinhacks/zod/pull/3169)

#### Breaking changes

There are no breaking changes to the public API of Zod. However some
changes can impact ecosystem tools that rely on Zod internals.

##### `ZodFirstPartySchemaTypes`

Three new types have been added to the `ZodFirstPartySchemaTypes` union.
This may impact some codegen libraries.
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)

```diff
+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
```

##### Default generics in `ZodType`

The third argument of the `ZodType` base class now defaults to
`unknown`. This makes it easier to define recursive schemas and write
generic functions that accept Zod schemas.

```diff
- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
```

##### Unrecognized keys in `.pick()` and `.omit()`

This version fixes a bug where unknown keys were accidentally accepted
in `.pick()` and `omit()`. This has been fixed, which could cause
compiler errors in some user code.
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)

```ts
z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})
```

#### Bugfixes and performance

- Bugfix: Enum.extract/exclude should not remove error mapping by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3240](https://github.com/colinhacks/zod/pull/3240)
- Added latest stable Node and TypeScript versions to test matrix for
up-to-date testing. by [@&#8203;m10rten](https://github.com/m10rten)
in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- Add types to `ZodFirstPartySchemaTypes` by
[@&#8203;MatthijsMud](https://github.com/MatthijsMud) in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- fix: make `input` of `.required()` readonly by
[@&#8203;KATT](https://github.com/KATT) in
[https://github.com/colinhacks/zod/pull/3301](https://github.com/colinhacks/zod/pull/3301)
- add never props to safe parse return types by
[@&#8203;schicks](https://github.com/schicks) in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- Reporting errors of the preprocess that is the second property of
object by [@&#8203;yukukotani](https://github.com/yukukotani) in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- Improve `addQuestionMarks`, fix
[#&#8203;2184](https://github.com/colinhacks/zod/issues/2184) by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3352](https://github.com/colinhacks/zod/pull/3352)
- fix for njs by [@&#8203;dvv](https://github.com/dvv) in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- only look in `src` for `bun test` by
[@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- Restrict .pick()/.omit() mask type to only known properties by
[@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- Make EnumValues generic by
[@&#8203;IlyaSemenov](https://github.com/IlyaSemenov) in
[https://github.com/colinhacks/zod/pull/2338](https://github.com/colinhacks/zod/pull/2338)
- perf: avoid unnecessary error maps by
[@&#8203;xuxucode](https://github.com/xuxucode) in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- Bugfix: z.record().parse should not filter out undefined values by
[@&#8203;raik-casimiro](https://github.com/raik-casimiro) in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- Use Set.has instead of Array.indexOf for enum comparison (perf
improvement) by [@&#8203;jmike](https://github.com/jmike) in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- \[2888] fix emails with single quotes failing validation by
[@&#8203;Mansehej](https://github.com/Mansehej) in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- Bugfix: Commas are incorrectly allowed in email regex. by
[@&#8203;mokemoko](https://github.com/mokemoko) in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- Fix regex in cuid2 validation to be what cuid2 library expects by
[@&#8203;etareduction](https://github.com/etareduction) in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- Make depcruise pass by [@&#8203;rotu](https://github.com/rotu) in
[https://github.com/colinhacks/zod/pull/3037](https://github.com/colinhacks/zod/pull/3037)
- Faster ipv4 parsing by
[@&#8203;colinhacks](https://github.com/colinhacks) in
[https://github.com/colinhacks/zod/pull/3413](https://github.com/colinhacks/zod/pull/3413)

#### Docs and ecosystem

- chore: add pastel package to ecosystem by
[@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- added required styles. by
[@&#8203;Ansh101112](https://github.com/Ansh101112) in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- Feature/better chinese translate by
[@&#8203;NWYLZW](https://github.com/NWYLZW) in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- Fix z.instanceof example by
[@&#8203;alexnault](https://github.com/alexnault) in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- Add documentation to Zod enum exclude/extract functions by
[@&#8203;shaharke](https://github.com/shaharke) in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- Add docs for coercing nullish values by
[@&#8203;rbuetzer](https://github.com/rbuetzer) in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- Adds `zod-dev` utility to eco-system section by
[@&#8203;schalkventer](https://github.com/schalkventer) in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- Add zhttp library to docs by
[@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer) in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- fixed Readme typo in NaNs example by
[@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- adds zod-config library to the ecosystem by
[@&#8203;alexmarqs](https://github.com/alexmarqs) in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- docs: update link and description of conform integration by
[@&#8203;g1eny0ung](https://github.com/g1eny0ung) in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- Update README.md by
[@&#8203;yugmade13](https://github.com/yugmade13) in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- feat: overhaul generics section of readme to include more details on
z.ZodTypeAny usage by [@&#8203;braden-w](https://github.com/braden-w)
in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- Fix small typos by [@&#8203;mmorearty](https://github.com/mmorearty)
in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- docs: update Chinese docs and correct some of the typos by
[@&#8203;jiechen257](https://github.com/jiechen257) in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- docs: improve chinese readme by
[@&#8203;luckrnx09](https://github.com/luckrnx09) in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- Add java-to-zod in X to Zod section by
[@&#8203;ivangreene](https://github.com/ivangreene) in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- docs: add `orval` to "X to Zod" ecosystems by
[@&#8203;soartec-lab](https://github.com/soartec-lab) in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

#### New Contributors

- [@&#8203;jlarmstrongiv](https://github.com/jlarmstrongiv) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2949](https://github.com/colinhacks/zod/pull/2949)
- [@&#8203;Ansh101112](https://github.com/Ansh101112) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2955](https://github.com/colinhacks/zod/pull/2955)
- [@&#8203;NWYLZW](https://github.com/NWYLZW) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2988](https://github.com/colinhacks/zod/pull/2988)
- [@&#8203;alexnault](https://github.com/alexnault) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3003](https://github.com/colinhacks/zod/pull/3003)
- [@&#8203;shaharke](https://github.com/shaharke) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3044](https://github.com/colinhacks/zod/pull/3044)
- [@&#8203;rbuetzer](https://github.com/rbuetzer) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3067](https://github.com/colinhacks/zod/pull/3067)
- [@&#8203;schalkventer](https://github.com/schalkventer) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3113](https://github.com/colinhacks/zod/pull/3113)
- [@&#8203;evertdespiegeleer](https://github.com/evertdespiegeleer)
made their first contribution in
[https://github.com/colinhacks/zod/pull/3134](https://github.com/colinhacks/zod/pull/3134)
- [@&#8203;RashJrEdmund](https://github.com/RashJrEdmund) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3181](https://github.com/colinhacks/zod/pull/3181)
- [@&#8203;alexmarqs](https://github.com/alexmarqs) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3200](https://github.com/colinhacks/zod/pull/3200)
- [@&#8203;JonnyBurger](https://github.com/JonnyBurger) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3214](https://github.com/colinhacks/zod/pull/3214)
- [@&#8203;fernandollisboa](https://github.com/fernandollisboa) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3178](https://github.com/colinhacks/zod/pull/3178)
- [@&#8203;g1eny0ung](https://github.com/g1eny0ung) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3238](https://github.com/colinhacks/zod/pull/3238)
- [@&#8203;m10rten](https://github.com/m10rten) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3278](https://github.com/colinhacks/zod/pull/3278)
- [@&#8203;MatthijsMud](https://github.com/MatthijsMud) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3247](https://github.com/colinhacks/zod/pull/3247)
- [@&#8203;yugmade13](https://github.com/yugmade13) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3317](https://github.com/colinhacks/zod/pull/3317)
- [@&#8203;braden-w](https://github.com/braden-w) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3321](https://github.com/colinhacks/zod/pull/3321)
- [@&#8203;mmorearty](https://github.com/mmorearty) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3336](https://github.com/colinhacks/zod/pull/3336)
- [@&#8203;schicks](https://github.com/schicks) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3295](https://github.com/colinhacks/zod/pull/3295)
- [@&#8203;yukukotani](https://github.com/yukukotani) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2912](https://github.com/colinhacks/zod/pull/2912)
- [@&#8203;jiechen257](https://github.com/jiechen257) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3338](https://github.com/colinhacks/zod/pull/3338)
- [@&#8203;luckrnx09](https://github.com/luckrnx09) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3371](https://github.com/colinhacks/zod/pull/3371)
- [@&#8203;dvv](https://github.com/dvv) made their first contribution
in
[https://github.com/colinhacks/zod/pull/3063](https://github.com/colinhacks/zod/pull/3063)
- [@&#8203;rotu](https://github.com/rotu) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3038](https://github.com/colinhacks/zod/pull/3038)
- [@&#8203;petrovmiroslav](https://github.com/petrovmiroslav) made
their first contribution in
[https://github.com/colinhacks/zod/pull/3255](https://github.com/colinhacks/zod/pull/3255)
- [@&#8203;ivoilic](https://github.com/ivoilic) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2364](https://github.com/colinhacks/zod/pull/2364)
- [@&#8203;telemakhos](https://github.com/telemakhos) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3388](https://github.com/colinhacks/zod/pull/3388)
- [@&#8203;bchrobot](https://github.com/bchrobot) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2522](https://github.com/colinhacks/zod/pull/2522)
- [@&#8203;szamanr](https://github.com/szamanr) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3391](https://github.com/colinhacks/zod/pull/3391)
- [@&#8203;ivangreene](https://github.com/ivangreene) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3385](https://github.com/colinhacks/zod/pull/3385)
- [@&#8203;xuxucode](https://github.com/xuxucode) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2532](https://github.com/colinhacks/zod/pull/2532)
- [@&#8203;raik-casimiro](https://github.com/raik-casimiro) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3251](https://github.com/colinhacks/zod/pull/3251)
- [@&#8203;jmike](https://github.com/jmike) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2659](https://github.com/colinhacks/zod/pull/2659)
- [@&#8203;Mansehej](https://github.com/Mansehej) made their first
contribution in
[https://github.com/colinhacks/zod/pull/2889](https://github.com/colinhacks/zod/pull/2889)
- [@&#8203;mokemoko](https://github.com/mokemoko) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3286](https://github.com/colinhacks/zod/pull/3286)
- [@&#8203;etareduction](https://github.com/etareduction) made their
first contribution in
[https://github.com/colinhacks/zod/pull/2961](https://github.com/colinhacks/zod/pull/2961)
- [@&#8203;mastermatt](https://github.com/mastermatt) made their first
contribution in
[https://github.com/colinhacks/zod/pull/3265](https://github.com/colinhacks/zod/pull/3265)
- [@&#8203;soartec-lab](https://github.com/soartec-lab) made their
first contribution in
[https://github.com/colinhacks/zod/pull/3397](https://github.com/colinhacks/zod/pull/3397)

**Full Changelog**:
colinhacks/zod@v3.22.4...v3.23.0

</details>

---

### 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/weareinreach/InReach).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbImF1dG9tZXJnZSIsImRlcGVuZGVuY2llcyIsImtvZGlhazogbWVyZ2UubWV0aG9kID0gJ3NxdWFzaCciXX0=-->

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Joe Karow <58997957+JoeKarow@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants