Skip to content

Commit 5839bbe

Browse files
committed
📦 Add ^ prefix to dependency versions
1 parent 0519fb1 commit 5839bbe

12 files changed

+34
-24
lines changed

conf.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { resolve } from "jsr:@std/[email protected]/resolve";
1+
import { resolve } from "jsr:@std/path@^1.0.1/resolve";
22

33
let conf: Config | undefined;
44

conf_test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import {
33
assertEquals,
44
assertObjectMatch,
55
assertThrows,
6-
} from "jsr:@std/[email protected]";
7-
import { stub } from "jsr:@std/[email protected]/mock";
8-
import { basename, isAbsolute } from "jsr:@std/[email protected]";
6+
} from "jsr:@std/assert@^1.0.0";
7+
import { stub } from "jsr:@std/testing@^0.225.3/mock";
8+
import { basename, isAbsolute } from "jsr:@std/path@^1.0.1";
99
import { _internal, getConfig } from "./conf.ts";
1010

1111
const ENV_VARS: Readonly<Record<string, string | undefined>> = {

denops.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import type { Context, Denops, Dispatcher, Meta } from "jsr:@denops/[email protected]";
2-
import type { Client } from "jsr:@lambdalisue/[email protected]";
1+
import type {
2+
Context,
3+
Denops,
4+
Dispatcher,
5+
Meta,
6+
} from "jsr:@denops/core@^7.0.0";
7+
import type { Client } from "jsr:@lambdalisue/messagepack-rpc@^2.1.1";
38

49
export class DenopsImpl implements Denops {
510
readonly name: string;

error.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
isErrorObject,
55
toErrorObject,
66
tryOr,
7-
} from "jsr:@lambdalisue/[email protected]";
7+
} from "jsr:@lambdalisue/errorutil@^1.0.0";
88

99
export function errorSerializer(err: unknown): unknown {
1010
if (err instanceof Error) {

plugin.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { Denops } from "jsr:@denops/[email protected]";
1+
import type { Denops } from "jsr:@denops/core@^7.0.0";
22
import { as, assert, ensure, is } from "jsr:@core/unknownutil@^4.0.0";
3-
import { Client, Session } from "jsr:@lambdalisue/[email protected]";
3+
import { Client, Session } from "jsr:@lambdalisue/messagepack-rpc@^2.1.1";
44
import { errorDeserializer, errorSerializer } from "./error.ts";
55

66
export async function main(denops: Denops): Promise<void> {

runner.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { mergeReadableStreams } from "jsr:@std/[email protected]/merge-readable-streams";
1+
import { mergeReadableStreams } from "jsr:@std/streams@^0.224.5/merge-readable-streams";
22
import { is } from "jsr:@core/unknownutil@^4.0.0";
3-
import { unreachable } from "jsr:@lambdalisue/[email protected]";
3+
import { unreachable } from "jsr:@lambdalisue/errorutil@^1.0.0";
44
import { type Config, getConfig } from "./conf.ts";
55

66
/**

stub.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import type { Context, Denops, Dispatcher, Meta } from "jsr:@denops/[email protected]";
1+
import type {
2+
Context,
3+
Denops,
4+
Dispatcher,
5+
Meta,
6+
} from "jsr:@denops/core@^7.0.0";
27

38
/**
49
* Represents a stubber object for `Denops`.

stub_test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { assertSpyCall, spy } from "jsr:@std/[email protected]/mock";
2-
import { assertEquals } from "jsr:@std/[email protected]";
3-
import type { Denops } from "jsr:@denops/[email protected]";
1+
import { assertSpyCall, spy } from "jsr:@std/testing@^0.225.3/mock";
2+
import { assertEquals } from "jsr:@std/assert@^1.0.0";
3+
import type { Denops } from "jsr:@denops/core@^7.0.0";
44
import { DenopsStub } from "./stub.ts";
55

66
Deno.test("`DenopsStub`", async (t) => {

tester.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { sample } from "jsr:@std/[email protected]/sample";
2-
import type { Denops } from "jsr:@denops/[email protected]";
1+
import { sample } from "jsr:@std/collections@^1.0.5/sample";
2+
import type { Denops } from "jsr:@denops/core@^7.0.0";
33
import type { RunMode } from "./runner.ts";
44
import { withDenops } from "./with.ts";
55

tester_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
assertEquals,
44
assertFalse,
55
assertThrows,
6-
} from "jsr:@std/[email protected]";
6+
} from "jsr:@std/assert@^1.0.0";
77
import { test } from "./tester.ts";
88

99
test({

with.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { deadline } from "jsr:@std/[email protected]/deadline";
1+
import { deadline } from "jsr:@std/async@^1.0.0/deadline";
22
import { assert, is } from "jsr:@core/unknownutil@^4.0.0";
3-
import { Client, Session } from "jsr:@lambdalisue/[email protected]";
4-
import type { Denops, Meta } from "jsr:@denops/[email protected]";
3+
import { Client, Session } from "jsr:@lambdalisue/messagepack-rpc@^2.1.1";
4+
import type { Denops, Meta } from "jsr:@denops/core@^7.0.0";
55
import { getConfig } from "./conf.ts";
66
import { run, type RunMode } from "./runner.ts";
77
import { DenopsImpl } from "./denops.ts";

with_test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
assertEquals,
55
assertFalse,
66
assertRejects,
7-
} from "jsr:@std/[email protected]";
8-
import { assertSpyCalls, spy, stub } from "jsr:@std/[email protected]/mock";
9-
import type { Denops } from "jsr:@denops/[email protected]";
7+
} from "jsr:@std/assert@^1.0.0";
8+
import { assertSpyCalls, spy, stub } from "jsr:@std/testing@^0.225.3/mock";
9+
import type { Denops } from "jsr:@denops/core@^7.0.0";
1010
import { withDenops } from "./with.ts";
1111

1212
Deno.test("test(mode:vim) start vim to test denops features", async () => {

0 commit comments

Comments
 (0)