Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
uga-rosa committed Jun 23, 2024
1 parent 68449be commit 808e944
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 20 deletions.
4 changes: 2 additions & 2 deletions denops/@ddc-sources/denippet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import {
DdcGatherItems,
Item,
Previewer,
} from "https://deno.land/x/ddc_vim@v4.3.1/types.ts";
} from "https://deno.land/x/ddc_vim@v5.0.1/types.ts";
import {
GatherArguments,
GetPreviewerArguments,
OnCompleteDoneArguments,
} from "https://deno.land/x/ddc_vim@v4.3.1/base/source.ts";
} from "https://deno.land/x/ddc_vim@v5.0.1/base/source.ts";
import { Denops, op } from "../denippet/deps/denops.ts";
import { splitLines } from "../denippet/util.ts";
import { lsputil } from "../denippet/deps/lsp.ts";
Expand Down
20 changes: 10 additions & 10 deletions denops/denippet/deps/denops.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export type { Denops } from "https://deno.land/x/denops_std@v6.3.0/mod.ts";
export * as fn from "https://deno.land/x/denops_std@v6.3.0/function/mod.ts";
export * as api from "https://deno.land/x/denops_std@v6.3.0/function/nvim/mod.ts";
export * as vim from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";
export * as op from "https://deno.land/x/denops_std@v6.3.0/option/mod.ts";
export { b, g } from "https://deno.land/x/denops_std@v6.3.0/variable/variable.ts";
export * as au from "https://deno.land/x/denops_std@v6.3.0/autocmd/mod.ts";
export * as lambda from "https://deno.land/x/denops_std@v6.3.0/lambda/mod.ts";
export { batch } from "https://deno.land/x/denops_std@v6.3.0/batch/mod.ts";
export type { Denops } from "https://deno.land/x/denops_std@v6.5.0/mod.ts";
export * as fn from "https://deno.land/x/denops_std@v6.5.0/function/mod.ts";
export * as api from "https://deno.land/x/denops_std@v6.5.0/function/nvim/mod.ts";
export * as vim from "https://deno.land/x/denops_std@v6.5.0/function/vim/mod.ts";
export * as op from "https://deno.land/x/denops_std@v6.5.0/option/mod.ts";
export { b, g } from "https://deno.land/x/denops_std@v6.5.0/variable/variable.ts";
export * as au from "https://deno.land/x/denops_std@v6.5.0/autocmd/mod.ts";
export * as lambda from "https://deno.land/x/denops_std@v6.5.0/lambda/mod.ts";
export { batch } from "https://deno.land/x/denops_std@v6.5.0/batch/mod.ts";

export { test } from "https://deno.land/x/[email protected]/mod.ts";
export { test } from "jsr:@denops/test";
8 changes: 4 additions & 4 deletions denops/denippet/deps/std.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * as TOML from "https://deno.land/[email protected]/toml/mod.ts";
export * as YAML from "https://deno.land/[email protected]/yaml/mod.ts";
export * as path from "https://deno.land/[email protected]/path/mod.ts";
export { assert, assertEquals } from "https://deno.land/[email protected]/assert/mod.ts";
export * as TOML from "jsr:@std/toml";
export * as YAML from "jsr:@std/yaml";
export * as path from "jsr:@std/path";
export { assert, assertEquals } from "jsr:@std/assert";
4 changes: 2 additions & 2 deletions denops/denippet/deps/unknownutil.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * as u from "https://deno.land/x/[email protected]/mod.ts";
export { is } from "https://deno.land/x/[email protected]/mod.ts";
export * as u from "jsr:@core/unknownutil";
export { is } from "jsr:@core/unknownutil";
6 changes: 4 additions & 2 deletions denops/denippet/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function main(denops: Denops): void {
const filepath = u.ensure(filepathU, is.String);
const filetype = u.ensure(
filetypeU,
is.OneOf([is.String, is.ArrayOf(is.String)]),
is.UnionOf([is.String, is.ArrayOf(is.String)]),
);
try {
await loader.load(filepath, filetype);
Expand Down Expand Up @@ -135,7 +135,9 @@ export function main(denops: Denops): void {
},

async anonymous(bodyU: unknown, prefixU: unknown): Promise<void> {
const body = normalizeNewline(u.ensure(bodyU, is.OneOf([is.String, is.ArrayOf(is.String)])));
const body = normalizeNewline(
u.ensure(bodyU, is.UnionOf([is.String, is.ArrayOf(is.String)])),
);
const prefix = u.ensure(prefixU, is.OptionalOf(is.String));
if (await session.expand(body, prefix)) {
const syncDelay = Number(await g.get(denops, "denippet_sync_delay"));
Expand Down

0 comments on commit 808e944

Please sign in to comment.