From edb02ac818294767a01744a6641ef60345961e52 Mon Sep 17 00:00:00 2001 From: kyoh86 Date: Sat, 3 Aug 2024 11:04:49 +0900 Subject: [PATCH] Allow imports dependencies different patch version --- denops/@ddu-kinds/git_commit.ts | 18 +++++++++--------- denops/@ddu-sources/git_log.ts | 14 +++++++------- dummy_test.ts | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/denops/@ddu-kinds/git_commit.ts b/denops/@ddu-kinds/git_commit.ts index 9277d0c..5e206f0 100644 --- a/denops/@ddu-kinds/git_commit.ts +++ b/denops/@ddu-kinds/git_commit.ts @@ -3,15 +3,15 @@ import { type Actions, BaseKind, type Previewer, -} from "jsr:@shougo/ddu-vim@5.0.0/types"; -import type { DduItem } from "jsr:@shougo/ddu-vim@5.0.0/types"; -import { echoallCommand } from "jsr:@kyoh86/denops-util@0.1.0/command"; -import { yank } from "jsr:@kyoh86/denops-util@0.1.0/yank"; -import { put } from "jsr:@kyoh86/denops-util@0.1.0/put"; -import type { GetPreviewerArguments } from "jsr:@shougo/ddu-vim@5.0.0/kind"; -import { ensure, is } from "jsr:@core/unknownutil@3.18.1"; -import type { Denops } from "jsr:@denops/std@7.0.1"; -import * as fn from "jsr:@denops/std@7.0.1/function"; +} from "jsr:@shougo/ddu-vim@~5.0.0/types"; +import type { DduItem } from "jsr:@shougo/ddu-vim@~5.0.0/types"; +import { echoallCommand } from "jsr:@kyoh86/denops-util@~0.1.0/command"; +import { yank } from "jsr:@kyoh86/denops-util@~0.1.0/yank"; +import { put } from "jsr:@kyoh86/denops-util@~0.1.0/put"; +import type { GetPreviewerArguments } from "jsr:@shougo/ddu-vim@~5.0.0/kind"; +import { ensure, is } from "jsr:@core/unknownutil@~3.18.1"; +import type { Denops } from "jsr:@denops/std@~7.0.1"; +import * as fn from "jsr:@denops/std@~7.0.1/function"; export type ActionData = { kind: "commit"; diff --git a/denops/@ddu-sources/git_log.ts b/denops/@ddu-sources/git_log.ts index dcef010..5078fd0 100644 --- a/denops/@ddu-sources/git_log.ts +++ b/denops/@ddu-sources/git_log.ts @@ -1,12 +1,12 @@ -import type { GatherArguments } from "jsr:@shougo/ddu-vim@5.0.0/source"; -import * as fn from "jsr:@denops/std@7.0.1/function"; -import { treePath2Filename } from "jsr:@shougo/ddu-vim@5.0.0/utils"; -import { BaseSource, type Item } from "jsr:@shougo/ddu-vim@5.0.0/types"; -import { TextLineStream } from "jsr:@std/streams@1.0.0"; -import { ChunkedStream } from "jsr:@hibiki/chunked-stream@0.1.4"; +import type { GatherArguments } from "jsr:@shougo/ddu-vim@~5.0.0/source"; +import * as fn from "jsr:@denops/std@~7.0.1/function"; +import { treePath2Filename } from "jsr:@shougo/ddu-vim@~5.0.0/utils"; +import { BaseSource, type Item } from "jsr:@shougo/ddu-vim@~5.0.0/types"; +import { TextLineStream } from "jsr:@std/streams@~1.0.0"; +import { ChunkedStream } from "jsr:@hibiki/chunked-stream@~0.1.4"; import type { ActionData } from "../@ddu-kinds/git_commit.ts"; -import { echoerrCommand } from "jsr:@kyoh86/denops-util@0.1.0/command"; +import { echoerrCommand } from "jsr:@kyoh86/denops-util@~0.1.0/command"; type Params = { cwd?: string; diff --git a/dummy_test.ts b/dummy_test.ts index a1e4e08..f883506 100644 --- a/dummy_test.ts +++ b/dummy_test.ts @@ -1,5 +1,5 @@ -import { test } from "jsr:@denops/test@3.0.2"; -import { assert } from "jsr:@std/assert@1.0.1"; +import { test } from "jsr:@denops/test@~3.0.2"; +import { assert } from "jsr:@std/assert@~1.0.1"; test({ mode: "all",