-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from vim-denops/fix-deps
📦 Add `^` prefix to dependency versions
- Loading branch information
Showing
12 changed files
with
34 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { resolve } from "jsr:@std/[email protected]/resolve"; | ||
import { resolve } from "jsr:@std/path@^1.0.1/resolve"; | ||
|
||
let conf: Config | undefined; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ import { | |
assertEquals, | ||
assertObjectMatch, | ||
assertThrows, | ||
} from "jsr:@std/[email protected]"; | ||
import { stub } from "jsr:@std/[email protected]/mock"; | ||
import { basename, isAbsolute } from "jsr:@std/[email protected]"; | ||
} from "jsr:@std/assert@^1.0.0"; | ||
import { stub } from "jsr:@std/testing@^0.225.3/mock"; | ||
import { basename, isAbsolute } from "jsr:@std/path@^1.0.1"; | ||
import { _internal, getConfig } from "./conf.ts"; | ||
|
||
const ENV_VARS: Readonly<Record<string, string | undefined>> = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import type { Context, Denops, Dispatcher, Meta } from "jsr:@denops/[email protected]"; | ||
import type { Client } from "jsr:@lambdalisue/[email protected]"; | ||
import type { | ||
Context, | ||
Denops, | ||
Dispatcher, | ||
Meta, | ||
} from "jsr:@denops/core@^7.0.0"; | ||
import type { Client } from "jsr:@lambdalisue/messagepack-rpc@^2.1.1"; | ||
|
||
export class DenopsImpl implements Denops { | ||
readonly name: string; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ import { | |
isErrorObject, | ||
toErrorObject, | ||
tryOr, | ||
} from "jsr:@lambdalisue/[email protected]"; | ||
} from "jsr:@lambdalisue/errorutil@^1.0.0"; | ||
|
||
export function errorSerializer(err: unknown): unknown { | ||
if (err instanceof Error) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import type { Denops } from "jsr:@denops/[email protected]"; | ||
import type { Denops } from "jsr:@denops/core@^7.0.0"; | ||
import { as, assert, ensure, is } from "jsr:@core/unknownutil@^4.0.0"; | ||
import { Client, Session } from "jsr:@lambdalisue/[email protected]"; | ||
import { Client, Session } from "jsr:@lambdalisue/messagepack-rpc@^2.1.1"; | ||
import { errorDeserializer, errorSerializer } from "./error.ts"; | ||
|
||
export async function main(denops: Denops): Promise<void> { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { mergeReadableStreams } from "jsr:@std/[email protected]/merge-readable-streams"; | ||
import { mergeReadableStreams } from "jsr:@std/streams@^0.224.5/merge-readable-streams"; | ||
import { is } from "jsr:@core/unknownutil@^4.0.0"; | ||
import { unreachable } from "jsr:@lambdalisue/[email protected]"; | ||
import { unreachable } from "jsr:@lambdalisue/errorutil@^1.0.0"; | ||
import { type Config, getConfig } from "./conf.ts"; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
import type { Context, Denops, Dispatcher, Meta } from "jsr:@denops/[email protected]"; | ||
import type { | ||
Context, | ||
Denops, | ||
Dispatcher, | ||
Meta, | ||
} from "jsr:@denops/core@^7.0.0"; | ||
|
||
/** | ||
* Represents a stubber object for `Denops`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { assertSpyCall, spy } from "jsr:@std/[email protected]/mock"; | ||
import { assertEquals } from "jsr:@std/[email protected]"; | ||
import type { Denops } from "jsr:@denops/[email protected]"; | ||
import { assertSpyCall, spy } from "jsr:@std/testing@^0.225.3/mock"; | ||
import { assertEquals } from "jsr:@std/assert@^1.0.0"; | ||
import type { Denops } from "jsr:@denops/core@^7.0.0"; | ||
import { DenopsStub } from "./stub.ts"; | ||
|
||
Deno.test("`DenopsStub`", async (t) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { sample } from "jsr:@std/[email protected]/sample"; | ||
import type { Denops } from "jsr:@denops/[email protected]"; | ||
import { sample } from "jsr:@std/collections@^1.0.5/sample"; | ||
import type { Denops } from "jsr:@denops/core@^7.0.0"; | ||
import type { RunMode } from "./runner.ts"; | ||
import { withDenops } from "./with.ts"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ import { | |
assertEquals, | ||
assertFalse, | ||
assertThrows, | ||
} from "jsr:@std/[email protected]"; | ||
} from "jsr:@std/assert@^1.0.0"; | ||
import { test } from "./tester.ts"; | ||
|
||
test({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { deadline } from "jsr:@std/[email protected]/deadline"; | ||
import { deadline } from "jsr:@std/async@^1.0.0/deadline"; | ||
import { assert, is } from "jsr:@core/unknownutil@^4.0.0"; | ||
import { Client, Session } from "jsr:@lambdalisue/[email protected]"; | ||
import type { Denops, Meta } from "jsr:@denops/[email protected]"; | ||
import { Client, Session } from "jsr:@lambdalisue/messagepack-rpc@^2.1.1"; | ||
import type { Denops, Meta } from "jsr:@denops/core@^7.0.0"; | ||
import { getConfig } from "./conf.ts"; | ||
import { run, type RunMode } from "./runner.ts"; | ||
import { DenopsImpl } from "./denops.ts"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ import { | |
assertEquals, | ||
assertFalse, | ||
assertRejects, | ||
} from "jsr:@std/[email protected]"; | ||
import { assertSpyCalls, spy, stub } from "jsr:@std/[email protected]/mock"; | ||
import type { Denops } from "jsr:@denops/[email protected]"; | ||
} from "jsr:@std/assert@^1.0.0"; | ||
import { assertSpyCalls, spy, stub } from "jsr:@std/testing@^0.225.3/mock"; | ||
import type { Denops } from "jsr:@denops/core@^7.0.0"; | ||
import { withDenops } from "./with.ts"; | ||
|
||
Deno.test("test(mode:vim) start vim to test denops features", async () => { | ||
|