From c0520d3c11069525d0955216b3e94bc2596742c7 Mon Sep 17 00:00:00 2001 From: Lars Grammel Date: Mon, 18 Sep 2023 22:27:24 +0300 Subject: [PATCH] Downgrade Zod to 3.21.4 (see https://github.com/colinhacks/zod/issues/2697 ). --- examples/pdf-to-tweet/package.json | 3 ++- extensions/google-custom-search-tool/package.json | 2 +- extensions/serpapi-tools/package.json | 10 ++++------ package.json | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/examples/pdf-to-tweet/package.json b/examples/pdf-to-tweet/package.json index 21230656f..5b4ca6500 100644 --- a/examples/pdf-to-tweet/package.json +++ b/examples/pdf-to-tweet/package.json @@ -10,7 +10,8 @@ "modelfusion": "*", "commander": "10.0.1", "dotenv": "16.0.3", - "pdfjs-dist": "3.6.172" + "pdfjs-dist": "3.6.172", + "zod": "3.21.4" }, "devDependencies": { "@types/node": "20.2.3", diff --git a/extensions/google-custom-search-tool/package.json b/extensions/google-custom-search-tool/package.json index 66550866d..e1bbedfe3 100644 --- a/extensions/google-custom-search-tool/package.json +++ b/extensions/google-custom-search-tool/package.json @@ -57,7 +57,7 @@ "prettier": "3.0.1", "rimraf": "5.0.1", "typescript": "5.1.6", - "zod": "3.22.2" + "zod": "3.21.4" }, "peerDependencies": { "zod": "^3", diff --git a/extensions/serpapi-tools/package.json b/extensions/serpapi-tools/package.json index a5e51e231..e1bbedfe3 100644 --- a/extensions/serpapi-tools/package.json +++ b/extensions/serpapi-tools/package.json @@ -1,6 +1,6 @@ { - "name": "@modelfusion/serpapi-tools", - "description": "SerpAPI tools for ModelFusion", + "name": "@modelfusion/google-custom-search-tool", + "description": "Google Custom Search tool for ModelFusion", "version": "0.5.0", "author": "Lars Grammel", "license": "MIT", @@ -44,9 +44,7 @@ "dist:copy-files": "copyfiles package.json README.md LICENSE dist", "dist": "npm run clean && npm run lint && npm run build && npm run dist:copy-files" }, - "dependencies": { - "serpapi": "^2.0.0" - }, + "dependencies": {}, "devDependencies": { "@tsconfig/recommended": "1.0.2", "@types/node": "18.11.9", @@ -59,7 +57,7 @@ "prettier": "3.0.1", "rimraf": "5.0.1", "typescript": "5.1.6", - "zod": "3.22.2" + "zod": "3.21.4" }, "peerDependencies": { "zod": "^3", diff --git a/package.json b/package.json index ab74278da..72b16ec38 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "js-tiktoken": "1.0.7", "nanoid": "3.3.6", "secure-json-parse": "2.7.0", - "zod": "3.22.2", + "zod": "3.21.4", "zod-to-json-schema": "3.21.4" }, "devDependencies": {