0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-02-01 15:20:05 +00:00
Commit graph

20 commits

Author SHA1 Message Date
Sergei Zharinov
baea715bea
feat: Wrap callback returning Promise for Result utility () 2024-11-28 17:07:36 +00:00
Sergei Zharinov
b01dcc78e4
refactor: Rename unwrapOrElse to unwrapOr for Result utility () 2024-11-28 17:04:02 +00:00
Sergei Zharinov
cae742417b
refactor: Error type narrowing for Result class () 2024-11-24 17:45:56 +00:00
renovate[bot]
eb8c08079e
chore(deps): update typescript-eslint monorepo to v8 (major) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-14 10:33:02 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas () 2023-11-07 15:50:29 +00:00
Sergei Zharinov
b2c6cbe0c8
feat(result): Add onValue and onError handlers () 2023-08-27 13:05:56 +00:00
Sergei Zharinov
8b4fae31de
refactor(result): Reoder parameters for Result.parse () 2023-08-26 16:06:30 +00:00
Sergei Zharinov
ecbee400cb
feat(result): Add unwrapOrNull method () 2023-08-22 19:40:16 +00:00
Sergei Zharinov
5ed8bb2642
refactor(result): Separate unwrapOrElse from unwrap () 2023-08-22 12:10:08 +00:00
Sergei Zharinov
31b3f28d5d
feat(result): Add helper for Zod schema parsing () 2023-08-21 15:55:34 +00:00
Sergei Zharinov
be8a9f7d5a
feat(result): Extend wrapNullable to accept pure values () 2023-08-21 15:39:23 +00:00
Sergei Zharinov
c5c99695dd
feat(result): Support wrapping Zod schemas () 2023-08-06 16:40:35 +00:00
Sergei Zharinov
8c0013f1fc
fix(util/result): Types for wrapNullable () 2023-08-04 15:00:11 +00:00
Sergei Zharinov
674c6fca49
feat: Support Zod values in Result transforms () 2023-07-27 15:17:18 +00:00
Sergei Zharinov
f28fc24201
feat: Support .catch method for Result () 2023-07-22 13:16:10 +00:00
Sergei Zharinov
894a18354b
refactor: Make AsyncResult a PromiseLike () 2023-07-22 11:30:15 +00:00
Sergei Zharinov
58f7c03789
refactor: Better tests for Result class () 2023-07-20 15:59:31 +00:00
Sergei Zharinov
b641ec2738
refactor: Better Result class implementation () 2023-07-19 11:30:47 +00:00
Sergei Zharinov
8f39f500cb
refactor: Don't restrict error type for Result<T, E> () 2023-07-10 09:41:38 +00:00
Sergei Zharinov
ac114f1df0
feat: Utility class for Result values () 2023-06-30 15:48:38 +00:00