@confect/core 9.2.3 → 9.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@confect/core",
3
3
  "description": "Shared specs and schemas used by all Confect packages",
4
- "version": "9.2.3",
4
+ "version": "9.2.4",
5
5
  "author": "RJ Dellecese",
6
6
  "bugs": {
7
7
  "url": "https://github.com/rjdellecese/confect/issues"
8
8
  },
9
9
  "devDependencies": {
10
- "@ark/attest": "0.56.0",
10
+ "@ark/attest": "0.56.3",
11
11
  "@effect/vitest": "0.29.0",
12
- "@types/node": "25.3.3",
12
+ "@types/node": "26.1.1",
13
13
  "effect": "3.21.2",
14
- "tsdown": "0.20.3",
15
- "tsx": "4.21.0",
16
- "typescript": "5.9.3",
17
- "vitest": "3.2.4"
14
+ "tsdown": "0.22.7",
15
+ "tsx": "4.23.0",
16
+ "typescript": "6.0.3",
17
+ "unrun": "0.3.1",
18
+ "vitest": "4.1.10"
18
19
  },
19
20
  "engines": {
20
21
  "node": ">=22"
package/src/Types.ts CHANGED
@@ -66,7 +66,11 @@ export type DeepMutable<T> =
66
66
  ? Set<DeepMutable<V>>
67
67
  : [keyof T] extends [never]
68
68
  ? T
69
- : { -readonly [K in keyof T]: DeepMutable<T[K]> };
69
+ : {
70
+ -readonly [K in keyof T]: IsOptional<T, K> extends true
71
+ ? DeepMutable<Exclude<T[K], undefined>>
72
+ : DeepMutable<T[K]>;
73
+ };
70
74
 
71
75
  export type TypeError<Message extends string, T = never> = [Message, T];
72
76