Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 23, 2024
1 parent 79e270f commit 8c503ec
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 17 deletions.
3 changes: 1 addition & 2 deletions denops/@ddc-sources/lsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
OffsetEncoding,
parseSnippet,
} from "../ddc-source-lsp/deps/lsp.ts";
import { DeadlineError } from "../ddc-source-lsp/deps/std.ts";
import { is, u } from "../ddc-source-lsp/deps/unknownutil.ts";
import { CompletionItem } from "../ddc-source-lsp/completion_item.ts";
import { request } from "../ddc-source-lsp/request.ts";
Expand Down Expand Up @@ -172,7 +171,7 @@ export class Source extends BaseSource<Params> {
},
) as Result;
} catch (e) {
if (!(e instanceof DeadlineError)) {
if (!(e instanceof DOMException)) {
throw e;
}
}
Expand Down
6 changes: 3 additions & 3 deletions denops/ddc-source-lsp/deps/ddc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export {
type Item,
type Previewer,
type PumHighlight,
} from "https://deno.land/x/ddc_vim@v5.0.0/types.ts";
} from "https://deno.land/x/ddc_vim@v5.0.1/types.ts";
export type {
GatherArguments,
GetPreviewerArguments,
OnCompleteDoneArguments,
} from "https://deno.land/x/ddc_vim@v5.0.0/base/source.ts";
} from "https://deno.land/x/ddc_vim@v5.0.1/base/source.ts";
export type {
FilterArguments,
} from "https://deno.land/x/ddc_vim@v5.0.0/base/filter.ts";
} from "https://deno.land/x/ddc_vim@v5.0.1/base/filter.ts";
12 changes: 6 additions & 6 deletions denops/ddc-source-lsp/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.5.0/mod.ts";
export * as fn from "https://deno.land/x/denops_std@v6.5.0/function/mod.ts";
export * as nvim from "https://deno.land/x/denops_std@v6.5.0/function/nvim/mod.ts";
export * as op from "https://deno.land/x/denops_std@v6.5.0/option/mod.ts";
export type { Denops } from "https://deno.land/x/denops_std@v6.5.1/mod.ts";
export * as fn from "https://deno.land/x/denops_std@v6.5.1/function/mod.ts";
export * as nvim from "https://deno.land/x/denops_std@v6.5.1/function/nvim/mod.ts";
export * as op from "https://deno.land/x/denops_std@v6.5.1/option/mod.ts";
export {
register,
unregister,
} 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";
} from "https://deno.land/x/denops_std@v6.5.1/lambda/mod.ts";
export { batch } from "https://deno.land/x/denops_std@v6.5.1/batch/mod.ts";

export { test } from "https://deno.land/x/denops_test@v1.8.0/mod.ts";
2 changes: 1 addition & 1 deletion denops/ddc-source-lsp/deps/lsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export {
parseSnippet,
toUtf16Index,
uriFromBufnr,
} from "https://deno.land/x/denops_lsputil@v0.9.4/mod.ts";
} from "https://deno.land/x/denops_lsputil@v0.9.5/mod.ts";

export * as LSP from "npm:vscode-languageserver-protocol@3.17.5";
4 changes: 2 additions & 2 deletions denops/ddc-source-lsp/deps/std.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { deadline, DeadlineError } from "jsr:@std/async@0.224.1";
export { assertEquals } from "jsr:@std/assert@0.225.3";
export { deadline } from "jsr:@std/async@1.0.0";
export { assertEquals } from "jsr:@std/assert@1.0.0";
2 changes: 1 addition & 1 deletion denops/ddc-source-lsp/deps/unknownutil.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * as u from "jsr:@core/unknownutil@3.18.1";
export { is } from "jsr:@core/unknownutil@3.18.0";
export { is } from "jsr:@core/unknownutil@3.18.1";
4 changes: 2 additions & 2 deletions denops/ddc-source-lsp/request.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Denops, fn, register } from "./deps/denops.ts";
import { deadline, DeadlineError } from "./deps/std.ts";
import { deadline } from "./deps/std.ts";
import { uriFromBufnr } from "./deps/lsp.ts";
import { is, u } from "./deps/unknownutil.ts";
import { Params } from "../@ddc-sources/lsp.ts";
Expand Down Expand Up @@ -68,7 +68,7 @@ export async function request(
);
return result;
} catch (e) {
if (e instanceof DeadlineError) {
if (e instanceof DOMException) {
throw new Error(`No response from server ${opts.client.id}`);
} else {
throw new Error(`Unsupported method: ${method}`);
Expand Down

0 comments on commit 8c503ec

Please sign in to comment.