From 974216f200982bef0325ee4940076b3b2ba9f39a Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Fri, 27 Oct 2023 10:41:57 +0200 Subject: [PATCH] Downgrade zod-validation-error (for Node.js v16 support) (fixes #321) --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 72a6725d5..9a5bfdd0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "summary": "^2.1.0", "typescript": "^5.0.2", "zod": "3.22.4", - "zod-validation-error": "2.0.0" + "zod-validation-error": "1.5.0" }, "bin": { "knip": "dist/cli.js" @@ -12990,11 +12990,11 @@ } }, "node_modules/zod-validation-error": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-2.0.0.tgz", - "integrity": "sha512-YTZXzeJW1JuHANATyLSdKyQUEXmM5fU0Yzop5odR4rZGtfL6I9HCvJDvBCizu1rPUNiKDEgd5riDxGVNAAPKxg==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-1.5.0.tgz", + "integrity": "sha512-/7eFkAI4qV0tcxMBB/3+d2c1P6jzzZYdYSlBuAklzMuCrJu5bzJfHS0yVAS87dRHVlhftd6RFJDIvv03JgkSbw==", "engines": { - "node": ">=18.0.0" + "node": ">=16.0.0" }, "peerDependencies": { "zod": "^3.18.0" diff --git a/package.json b/package.json index 85501ba95..8094c2f3b 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "summary": "^2.1.0", "typescript": "^5.0.2", "zod": "3.22.4", - "zod-validation-error": "2.0.0" + "zod-validation-error": "1.5.0" }, "devDependencies": { "@jest/types": "29.6.3",