Skip to content

Commit f04803a

Browse files
committed
Arktype requires 2.0.0-rc.23
Fixes #510
1 parent 9012284 commit f04803a

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- Valibot updated to require `1.0.0-beta.3` (hoping for a stable release soon).
13+
- Arktype updated to require `2.0.0-rc.23` (hoping for a stable release soon).
1314

1415
### Added
1516

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"@sveltejs/kit": "1.x || 2.x",
109109
"@typeschema/class-validator": "^0.3.0",
110110
"@vinejs/vine": "^1.8.0 || ^2.0.0",
111-
"arktype": ">=2.0.0-rc.8",
111+
"arktype": ">=2.0.0-rc.23",
112112
"class-validator": "^0.14.1",
113113
"effect": "^3.8.2",
114114
"joi": "^17.13.1",
@@ -166,7 +166,7 @@
166166
"@sinclair/typebox": "^0.32.35",
167167
"@typeschema/class-validator": "^0.3.0",
168168
"@vinejs/vine": "^2.0.0",
169-
"arktype": "2.0.0-rc.8",
169+
"arktype": "^2.0.0-rc.23",
170170
"class-validator": "^0.14.1",
171171
"effect": "^3.9.1",
172172
"joi": "^17.13.3",

pnpm-lock.yaml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/adapters/arktype.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function _validate<T extends type.Any>(
3232
}
3333
const issues = [];
3434
for (const error of result) {
35-
issues.push({ message: error.message, path: error.path });
35+
issues.push({ message: error.message, path: Array.from(error.path) });
3636
}
3737
return {
3838
issues,

0 commit comments

Comments
 (0)