From 0ff894aeb11da0713d461099ee68521cbe37f99a Mon Sep 17 00:00:00 2001 From: Fabian Hiller <35291865+fabian-hiller@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:31:59 -0400 Subject: [PATCH] fix(valibot-validator): add support for v1 dist-tags (#797) --- .changeset/early-tools-press.md | 5 +++++ packages/valibot-validator/package.json | 2 +- yarn.lock | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/early-tools-press.md diff --git a/.changeset/early-tools-press.md b/.changeset/early-tools-press.md new file mode 100644 index 00000000..f4cdfd11 --- /dev/null +++ b/.changeset/early-tools-press.md @@ -0,0 +1,5 @@ +--- +'@hono/valibot-validator': patch +--- + +Fix Valibot peer dependency to support dist-tags diff --git a/packages/valibot-validator/package.json b/packages/valibot-validator/package.json index 72807d22..6d3bab9a 100644 --- a/packages/valibot-validator/package.json +++ b/packages/valibot-validator/package.json @@ -32,7 +32,7 @@ "homepage": "https://github.com/honojs/middleware", "peerDependencies": { "hono": ">=3.9.0", - "valibot": "^1.0.0" + "valibot": "^1.0.0 || ^1.0.0-beta || ^1.0.0-rc" }, "devDependencies": { "hono": "^4.5.1", diff --git a/yarn.lock b/yarn.lock index 75d3ffb3..dec6276d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2690,7 +2690,7 @@ __metadata: valibot: "npm:^1.0.0-beta.0" peerDependencies: hono: ">=3.9.0" - valibot: ^1.0.0 + valibot: ^1.0.0 || ^1.0.0-beta || ^1.0.0-rc languageName: unknown linkType: soft