Skip to content

Commit

Permalink
Merge pull request #27 from kyoh86/molt-update
Browse files Browse the repository at this point in the history
Update Deno dependencies
  • Loading branch information
kyoh86 authored Jul 27, 2024
2 parents e8c48d2 + 600f24c commit 6e1eed1
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion denops/ollama/dispatch/complete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import {
is,
PredicateType,
Expand Down
4 changes: 2 additions & 2 deletions denops/ollama/dispatch/delete_model.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { type Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import { getLogger } from "https://deno.land/[email protected]/log/mod.ts";
import * as helper from "https://deno.land/x/[email protected].0/helper/mod.ts";
import * as helper from "https://deno.land/x/[email protected].1/helper/mod.ts";
import {
is,
PredicateType,
Expand Down
2 changes: 1 addition & 1 deletion denops/ollama/dispatch/init.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import {
ConsoleHandler,
setup as setupLog,
Expand Down
4 changes: 2 additions & 2 deletions denops/ollama/dispatch/list_models.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as datetime from "https://deno.land/[email protected]/datetime/mod.ts";
import * as bytes from "https://deno.land/[email protected]/fmt/bytes.ts";
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import * as helper from "https://deno.land/x/[email protected].0/helper/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import * as helper from "https://deno.land/x/[email protected].1/helper/mod.ts";
import { Table } from "https://deno.land/x/[email protected]/table/mod.ts";

import { listLocalModels } from "../api.ts";
Expand Down
2 changes: 1 addition & 1 deletion denops/ollama/dispatch/open_log.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";

import {
is,
Expand Down
4 changes: 2 additions & 2 deletions denops/ollama/dispatch/pull_model.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import * as bytes from "https://deno.land/[email protected]/fmt/bytes.ts";
import { pullModel as pullModelAPI } from "../api.ts";
import { getLogger } from "https://deno.land/[email protected]/log/mod.ts";
import * as helper from "https://deno.land/x/[email protected].0/helper/mod.ts";
import * as helper from "https://deno.land/x/[email protected].1/helper/mod.ts";
import { canceller } from "../util/cancellable.ts";
import { abortableAsyncIterable } from "https://deno.land/[email protected]/async/mod.ts";
import { isReqArgs } from "./types.ts";
Expand Down
2 changes: 1 addition & 1 deletion denops/ollama/dispatch/start_chat.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { abortableAsyncIterable } from "https://deno.land/[email protected]/async/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import {
is,
maybe,
Expand Down
2 changes: 1 addition & 1 deletion denops/ollama/dispatch/start_chat_in_ctx.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { abortableAsyncIterable } from "https://deno.land/[email protected]/async/mod.ts";
import { type Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { type Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import {
is,
maybe,
Expand Down
2 changes: 1 addition & 1 deletion denops/ollama/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import {
ensure,
is,
Expand Down
14 changes: 7 additions & 7 deletions denops/ollama/ui/chat.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { getLogger } from "https://deno.land/[email protected]/log/mod.ts";
import * as datetime from "https://deno.land/[email protected]/datetime/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import { ulid } from "https://deno.land/[email protected]/ulid/mod.ts";
import * as autocmd from "https://deno.land/x/[email protected].0/autocmd/mod.ts";
import * as fn from "https://deno.land/x/[email protected].0/function/mod.ts";
import * as batch from "https://deno.land/x/[email protected].0/batch/mod.ts";
import * as option from "https://deno.land/x/[email protected].0/option/mod.ts";
import * as helper from "https://deno.land/x/[email protected].0/helper/mod.ts";
import * as lambda from "https://deno.land/x/[email protected].0/lambda/mod.ts";
import * as autocmd from "https://deno.land/x/[email protected].1/autocmd/mod.ts";
import * as fn from "https://deno.land/x/[email protected].1/function/mod.ts";
import * as batch from "https://deno.land/x/[email protected].1/batch/mod.ts";
import * as option from "https://deno.land/x/[email protected].1/option/mod.ts";
import * as helper from "https://deno.land/x/[email protected].1/helper/mod.ts";
import * as lambda from "https://deno.land/x/[email protected].1/lambda/mod.ts";
import { ensure, is } from "https://deno.land/x/[email protected]/mod.ts";
import { Notify, Queue } from "https://deno.land/x/[email protected]/mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion denops/ollama/ui/highlight_prefix.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import { type Denops } from "https://deno.land/x/[email protected].1/mod.ts";

export async function setup(denops: Denops) {
await denops.cmd("highlight default link OllamaPrompt Question");
Expand Down
8 changes: 4 additions & 4 deletions denops/ollama/ui/spinner.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import spinners from "npm:cli-spinners@3.0.0";
import spinners from "npm:cli-spinners@3.1.0";
import { type SpinnerName as Kind } from "npm:[email protected]";
import { type Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import * as batch from "https://deno.land/x/[email protected].0/batch/mod.ts";
import * as fn from "https://deno.land/x/[email protected].0/function/mod.ts";
import { type Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import * as batch from "https://deno.land/x/[email protected].1/batch/mod.ts";
import * as fn from "https://deno.land/x/[email protected].1/function/mod.ts";
import { ensure, is } from "https://deno.land/x/[email protected]/mod.ts";

const varPrefix = "ollama_ui_spinner";
Expand Down
4 changes: 2 additions & 2 deletions denops/ollama/ui/spinner_test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test } from "https://deno.land/x/[email protected]/mod.ts";
import { bufnr } from "https://deno.land/x/[email protected].0/function/mod.ts";
import { bufnr } from "https://deno.land/x/[email protected].1/function/mod.ts";
import * as target from "./spinner.ts";
import { default as sp, type SpinnerName } from "npm:cli-spinners@3.0.0";
import { default as sp, type SpinnerName } from "npm:cli-spinners@3.1.0";

test({
mode: "all",
Expand Down
8 changes: 4 additions & 4 deletions denops/ollama/util/cancellable.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { map } from "https://deno.land/x/[email protected].0/mapping/mod.ts";
import * as lambda from "https://deno.land/x/[email protected].0/lambda/mod.ts";
import { map } from "https://deno.land/x/[email protected].1/mapping/mod.ts";
import * as lambda from "https://deno.land/x/[email protected].1/lambda/mod.ts";
import { ulid } from "https://deno.land/[email protected]/ulid/mod.ts";
import * as autocmd from "https://deno.land/x/[email protected].0/autocmd/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import * as autocmd from "https://deno.land/x/[email protected].1/autocmd/mod.ts";
import { Denops } from "https://deno.land/x/[email protected].1/mod.ts";

export async function mapCancel(denops: Denops) {
// See ../../../autoload/ollama/internal.vim
Expand Down
8 changes: 4 additions & 4 deletions denops/ollama/util/context.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Functions to get context

import { type Denops } from "https://deno.land/x/[email protected].0/mod.ts";
import * as fn from "https://deno.land/x/[email protected].0/function/mod.ts";
import * as option from "https://deno.land/x/[email protected].0/option/mod.ts";
import * as batch from "https://deno.land/x/[email protected].0/batch/mod.ts";
import { type Denops } from "https://deno.land/x/[email protected].1/mod.ts";
import * as fn from "https://deno.land/x/[email protected].1/function/mod.ts";
import * as option from "https://deno.land/x/[email protected].1/option/mod.ts";
import * as batch from "https://deno.land/x/[email protected].1/batch/mod.ts";
import {
ensure,
is,
Expand Down
4 changes: 2 additions & 2 deletions denops/ollama/util/context_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
assertFalse,
} from "https://deno.land/[email protected]/assert/mod.ts";
import { test } from "https://deno.land/x/[email protected]/mod.ts";
import * as fn from "https://deno.land/x/[email protected].0/function/mod.ts";
import * as option from "https://deno.land/x/[email protected].0/option/mod.ts";
import * as fn from "https://deno.land/x/[email protected].1/function/mod.ts";
import * as option from "https://deno.land/x/[email protected].1/option/mod.ts";
import * as testtarget from "./context.ts";

test({
Expand Down

0 comments on commit 6e1eed1

Please sign in to comment.