Skip to content

Commit 739607e

Browse files
authored
Merge pull request #29 from vim-denops/fix-deps
📦 Add `^` prefix to dependency versions
2 parents 0519fb1 + 5839bbe commit 739607e

File tree

12 files changed

+34
-24
lines changed

12 files changed

+34
-24
lines changed

conf.ts

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 7 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 6 additions & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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({

0 commit comments

Comments
 (0)