Skip to content

Commit

Permalink
chore: bump zod from 3.23.8 to 3.24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 11, 2024
1 parent 555cf23 commit 50410f2
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion denops/futago/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/dispatcher/git_commit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/dispatcher/load_chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Futago } from "../futago.ts";
import { basename, extname } from "jsr:@std/[email protected]";
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(),
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/dispatcher/open_history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as batch from "jsr:@denops/[email protected]/batch";
import * as fn from "jsr:@denops/[email protected]/function";
import type { Denops } from "jsr:@denops/[email protected]";
import { walk } from "jsr:@std/[email protected]";
import { z } from "npm:zod@3.23.8";
import { z } from "npm:zod@3.24.1";

export const openHistoryParamsSchema = z.object({
chatDir: z.string(),
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/dispatcher/send_chat_message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as option from "jsr:@denops/[email protected]/option";
import { Futago } from "../futago.ts";
import { getNow } from "../util.ts";
import type { Denops } from "jsr:@denops/[email protected]";
import { z } from "npm:zod@3.23.8";
import { z } from "npm:zod@3.24.1";
import { Semaphore } from "jsr:@lambdalisue/[email protected]";
import { SEPARATOR } from "../consts.ts";
import { getLastLineNumber } from "../util.ts";
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/dispatcher/start_chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/futago.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { getDb, setDb } from "./db.ts";
import { Semaphore } from "jsr:@lambdalisue/[email protected]";
import { CACHE_DIR, DEFAULT_AI_PROMPT, DEFAULT_HUMAN_PROMPT, DEFAULT_MODEL } from "./consts.ts";
import { join } from "jsr:@std/[email protected]";
import { z } from "npm:zod@3.23.8";
import { z } from "npm:zod@3.24.1";

export class Futago {
#genAI: GoogleGenerativeAI;
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
setup,
} from "jsr:@std/[email protected]";
import { GenerationConfig, SafetySetting } from "npm:@google/[email protected]";
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";
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/schema/generation_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]";

export const GenerationConfigSchema = z.record(z.any()).transform((v) => v as GenerationConfig);
2 changes: 1 addition & 1 deletion denops/futago/schema/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]";

export const ContentSchema = z.record(z.any()).transform((v) => v as Content);
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/schema/opener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion denops/futago/schema/safety_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]";

export const SafetySettingsSchema = z.array(z.record(z.any()).transform((v) => v as SafetySetting));

0 comments on commit 50410f2

Please sign in to comment.