From 50410f2919e53dfb3d0478e5b4259e5df7d0e81b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 06:01:55 +0000 Subject: [PATCH] chore: bump zod from 3.23.8 to 3.24.1 --- denops/futago/db.ts | 2 +- denops/futago/dispatcher/git_commit.ts | 2 +- denops/futago/dispatcher/load_chat.ts | 2 +- denops/futago/dispatcher/open_history.ts | 2 +- denops/futago/dispatcher/send_chat_message.ts | 2 +- denops/futago/dispatcher/start_chat.ts | 2 +- denops/futago/futago.ts | 2 +- denops/futago/main.ts | 2 +- denops/futago/schema/generation_config.ts | 2 +- denops/futago/schema/history.ts | 2 +- denops/futago/schema/opener.ts | 2 +- denops/futago/schema/safety_settings.ts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/denops/futago/db.ts b/denops/futago/db.ts index 417ff97..5d41ac8 100644 --- a/denops/futago/db.ts +++ b/denops/futago/db.ts @@ -4,7 +4,7 @@ // Last Change : 2024/11/03 00:06:34. // ============================================================================= -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; import { GenerationConfigSchema } from "./schema/generation_config.ts"; import { SafetySettingsSchema } from "./schema/safety_settings.ts"; import { ContentSchema, HistorySchema } from "./schema/history.ts"; diff --git a/denops/futago/dispatcher/git_commit.ts b/denops/futago/dispatcher/git_commit.ts index c37b4d0..52f1864 100644 --- a/denops/futago/dispatcher/git_commit.ts +++ b/denops/futago/dispatcher/git_commit.ts @@ -10,7 +10,7 @@ import { DEFAULT_MODEL, GIT_COMMIT_PROMPT } from "../consts.ts"; import { Futago } from "../futago.ts"; import { GenerationConfigSchema } from "../schema/generation_config.ts"; import { SafetySettingsSchema } from "../schema/safety_settings.ts"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; export const GitCommitParamsSchema = z.object({ db: z.instanceof(Deno.Kv), diff --git a/denops/futago/dispatcher/load_chat.ts b/denops/futago/dispatcher/load_chat.ts index 523250c..a331fdf 100644 --- a/denops/futago/dispatcher/load_chat.ts +++ b/denops/futago/dispatcher/load_chat.ts @@ -12,7 +12,7 @@ import { Futago } from "../futago.ts"; import { basename, extname } from "jsr:@std/path@1.0.8"; import { getDb } from "../db.ts"; import { getNow } from "../util.ts"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; export const loadChatParamsSchema = z.object({ bufnr: z.number(), diff --git a/denops/futago/dispatcher/open_history.ts b/denops/futago/dispatcher/open_history.ts index 58cbb29..b626a06 100644 --- a/denops/futago/dispatcher/open_history.ts +++ b/denops/futago/dispatcher/open_history.ts @@ -8,7 +8,7 @@ import * as batch from "jsr:@denops/std@7.4.0/batch"; import * as fn from "jsr:@denops/std@7.4.0/function"; import type { Denops } from "jsr:@denops/std@7.4.0"; import { walk } from "jsr:@std/fs@1.0.6"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; export const openHistoryParamsSchema = z.object({ chatDir: z.string(), diff --git a/denops/futago/dispatcher/send_chat_message.ts b/denops/futago/dispatcher/send_chat_message.ts index e152ff9..98b635a 100644 --- a/denops/futago/dispatcher/send_chat_message.ts +++ b/denops/futago/dispatcher/send_chat_message.ts @@ -9,7 +9,7 @@ import * as option from "jsr:@denops/std@7.4.0/option"; import { Futago } from "../futago.ts"; import { getNow } from "../util.ts"; import type { Denops } from "jsr:@denops/std@7.4.0"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; import { Semaphore } from "jsr:@lambdalisue/async@2.1.1"; import { SEPARATOR } from "../consts.ts"; import { getLastLineNumber } from "../util.ts"; diff --git a/denops/futago/dispatcher/start_chat.ts b/denops/futago/dispatcher/start_chat.ts index b7684c2..1012065 100644 --- a/denops/futago/dispatcher/start_chat.ts +++ b/denops/futago/dispatcher/start_chat.ts @@ -15,7 +15,7 @@ import { HistorySchema } from "../schema/history.ts"; import { OpenerSchema } from "../schema/opener.ts"; import { SafetySettingsSchema } from "../schema/safety_settings.ts"; import { getNow } from "../util.ts"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; export const StartChatParamsSchema = z.object({ model: z.string().default(DEFAULT_MODEL), diff --git a/denops/futago/futago.ts b/denops/futago/futago.ts index 39a0782..ab8bf89 100644 --- a/denops/futago/futago.ts +++ b/denops/futago/futago.ts @@ -20,7 +20,7 @@ import { getDb, setDb } from "./db.ts"; import { Semaphore } from "jsr:@lambdalisue/async@2.1.1"; import { CACHE_DIR, DEFAULT_AI_PROMPT, DEFAULT_HUMAN_PROMPT, DEFAULT_MODEL } from "./consts.ts"; import { join } from "jsr:@std/path@1.0.8"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; export class Futago { #genAI: GoogleGenerativeAI; diff --git a/denops/futago/main.ts b/denops/futago/main.ts index 02d9af7..60491eb 100644 --- a/denops/futago/main.ts +++ b/denops/futago/main.ts @@ -21,7 +21,7 @@ import { setup, } from "jsr:@std/log@0.224.11"; import { GenerationConfig, SafetySetting } from "npm:@google/generative-ai@0.21.0"; -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; import { startChat, StartChatParamsSchema } from "./dispatcher/start_chat.ts"; import { loadChat } from "./dispatcher/load_chat.ts"; diff --git a/denops/futago/schema/generation_config.ts b/denops/futago/schema/generation_config.ts index f36f37a..e112a5d 100644 --- a/denops/futago/schema/generation_config.ts +++ b/denops/futago/schema/generation_config.ts @@ -4,7 +4,7 @@ // Last Change : 2024/11/02 23:49:19. // ============================================================================= -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; import { GenerationConfig } from "npm:@google/generative-ai@0.21.0"; export const GenerationConfigSchema = z.record(z.any()).transform((v) => v as GenerationConfig); diff --git a/denops/futago/schema/history.ts b/denops/futago/schema/history.ts index 9f0a55f..0fe97fb 100644 --- a/denops/futago/schema/history.ts +++ b/denops/futago/schema/history.ts @@ -4,7 +4,7 @@ // Last Change : 2024/11/03 00:00:20. // ============================================================================= -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; import { Content } from "npm:@google/generative-ai@0.21.0"; export const ContentSchema = z.record(z.any()).transform((v) => v as Content); diff --git a/denops/futago/schema/opener.ts b/denops/futago/schema/opener.ts index c6a5c33..990756b 100644 --- a/denops/futago/schema/opener.ts +++ b/denops/futago/schema/opener.ts @@ -4,7 +4,7 @@ // Last Change : 2024/11/02 18:54:18. // ============================================================================= -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; export const OpenerSchema = z.enum(["split", "vsplit", "tabnew", "edit", "new", "vnew"]).default( "tabnew", diff --git a/denops/futago/schema/safety_settings.ts b/denops/futago/schema/safety_settings.ts index cea805f..2a63dd3 100644 --- a/denops/futago/schema/safety_settings.ts +++ b/denops/futago/schema/safety_settings.ts @@ -4,7 +4,7 @@ // Last Change : 2024/11/02 23:56:45. // ============================================================================= -import { z } from "npm:zod@3.23.8"; +import { z } from "npm:zod@3.24.1"; import { SafetySetting } from "npm:@google/generative-ai@0.21.0"; export const SafetySettingsSchema = z.array(z.record(z.any()).transform((v) => v as SafetySetting));