Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/express-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@swc-node/register": "1.6.8",
"@types/express": "4.17.18",
"c8": "8.0.1",
"typescript": "4.7.4"
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/express-wrapper/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export type MiddlewareChain =
];

export type MiddlewareChainOutput<
Input,
Input extends {},
Chain extends MiddlewareChain,
> = Chain extends []
? Input
Expand Down
2 changes: 1 addition & 1 deletion packages/io-ts-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"@swc-node/register": "1.6.8",
"c8": "8.0.1",
"typescript": "4.7.4"
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/resolve": "1.20.3",
"c8": "8.0.1",
"memfs": "4.5.0",
"typescript": "4.7.4"
"typescript": "5.2.2"
},
"optionalDependencies": {
"@swc/core-linux-x64-gnu": "1.3.91",
Expand Down
2 changes: 1 addition & 1 deletion packages/response/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"clean": "rm -rf -- dist"
},
"devDependencies": {
"typescript": "4.7.4"
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/superagent-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"io-ts-types": "0.5.19",
"superagent": "8.1.2",
"supertest": "6.3.3",
"typescript": "4.7.4"
"typescript": "5.2.2"
},
"peerDependencies": {
"superagent": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/typed-express-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@api-ts/superagent-wrapper": "0.0.0-semantically-released",
"@swc-node/register": "1.6.8",
"c8": "8.0.1",
"typescript": "4.7.4"
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public"
Expand Down
19 changes: 19 additions & 0 deletions patches/io-ts+2.1.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This is a backport of this fix to version 2.1.3:
https://github.com/gcanti/io-ts/pull/657

It allows Typescript to be upgraded beyond version 4.7.4

diff --git a/node_modules/io-ts/lib/index.d.ts b/node_modules/io-ts/lib/index.d.ts
index 17c4ce8..1a7545c 100644
--- a/node_modules/io-ts/lib/index.d.ts
+++ b/node_modules/io-ts/lib/index.d.ts
@@ -996,6 +996,6 @@ export declare type Exact<T, X extends T> = T & {
* @since 1.1.0
* @deprecated
*/
-export declare function alias<A, O, P, I>(codec: PartialType<P, A, O, I>): <AA extends Exact<A, AA>, OO extends Exact<O, OO> = O, PP extends Exact<P, PP> = P, II extends I = I>() => PartialType<PP, AA, OO, II>;
-export declare function alias<A, O, P, I>(codec: StrictType<P, A, O, I>): <AA extends Exact<A, AA>, OO extends Exact<O, OO> = O, PP extends Exact<P, PP> = P, II extends I = I>() => StrictType<PP, AA, OO, II>;
-export declare function alias<A, O, P, I>(codec: InterfaceType<P, A, O, I>): <AA extends Exact<A, AA>, OO extends Exact<O, OO> = O, PP extends Exact<P, PP> = P, II extends I = I>() => InterfaceType<PP, AA, OO, II>;
+export declare function alias<A, O, P, I>(codec: PartialType<P, A, O, I>): <AA extends A, OO extends O = O, PP extends P = P, II extends I = I>() => PartialType<PP, AA, OO, II>;
+export declare function alias<A, O, P, I>(codec: StrictType<P, A, O, I>): <AA extends A, OO extends O = O, PP extends P = P, II extends I = I>() => StrictType<PP, AA, OO, II>;
+export declare function alias<A, O, P, I>(codec: InterfaceType<P, A, O, I>): <AA extends A, OO extends O = O, PP extends P = P, II extends I = I>() => InterfaceType<PP, AA, OO, II>;