From 6833e159bda43c2b8ba28b29bff0db274c80a92b Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Tue, 3 Sep 2024 19:49:03 +0900 Subject: [PATCH] Update deps --- denops/@ddc-filters/skkeleton.ts | 9 ++++++--- denops/@ddc-sources/skkeleton.ts | 10 +++++----- denops/skkeleton/config.ts | 8 ++++++-- denops/skkeleton/deps.ts | 14 +++++++------- denops/skkeleton/deps/ddc/filter.ts | 2 +- denops/skkeleton/deps/ddc/source.ts | 2 +- denops/skkeleton/deps/ddc/types.ts | 2 +- denops/skkeleton/deps/denops_test.ts | 4 ++-- denops/skkeleton/deps/dictionary.ts | 2 +- denops/skkeleton/deps/std/assert.ts | 2 +- denops/skkeleton/deps/std/async.ts | 2 +- denops/skkeleton/deps/std/collections.ts | 2 +- denops/skkeleton/deps/std/path.ts | 2 +- denops/skkeleton/deps/std/streams.ts | 2 +- denops/skkeleton/deps/unknownutil.ts | 4 ++-- 15 files changed, 37 insertions(+), 30 deletions(-) diff --git a/denops/@ddc-filters/skkeleton.ts b/denops/@ddc-filters/skkeleton.ts index 8282797e..f6d78279 100644 --- a/denops/@ddc-filters/skkeleton.ts +++ b/denops/@ddc-filters/skkeleton.ts @@ -1,6 +1,9 @@ -import { CompletionMetadata } from "../@ddc-sources/skkeleton.ts"; -import { BaseFilter, FilterArguments } from "../skkeleton/deps/ddc/filter.ts"; -import { Item } from "../skkeleton/deps/ddc/types.ts"; +import { type CompletionMetadata } from "../@ddc-sources/skkeleton.ts"; +import { + BaseFilter, + type FilterArguments, +} from "../skkeleton/deps/ddc/filter.ts"; +import { type Item } from "../skkeleton/deps/ddc/types.ts"; type Params = Record; diff --git a/denops/@ddc-sources/skkeleton.ts b/denops/@ddc-sources/skkeleton.ts index 84ce07fc..ec80169a 100644 --- a/denops/@ddc-sources/skkeleton.ts +++ b/denops/@ddc-sources/skkeleton.ts @@ -1,11 +1,11 @@ import { BaseSource, - GatherArguments, - GetCompletePositionArguments, - GetPreviewerArguments, - OnCompleteDoneArguments, + type GatherArguments, + type GetCompletePositionArguments, + type GetPreviewerArguments, + type OnCompleteDoneArguments, } from "../skkeleton/deps/ddc/source.ts"; -import { DdcGatherItems, Previewer } from "../skkeleton/deps/ddc/types.ts"; +import { type DdcGatherItems, Previewer } from "../skkeleton/deps/ddc/types.ts"; import { fn } from "../skkeleton/deps.ts"; import type { CompletionData, RankData } from "../skkeleton/types.ts"; diff --git a/denops/skkeleton/config.ts b/denops/skkeleton/config.ts index 48805635..e3ff4cdd 100644 --- a/denops/skkeleton/config.ts +++ b/denops/skkeleton/config.ts @@ -55,7 +55,9 @@ const validators: Validators = { globalDictionaries: (x): (string | [string, string])[] => { if ( !is.ArrayOf( - is.OneOf([is.String, is.TupleOf([is.String, is.String])] as const), + is.UnionOf( + [is.String, is.TupleOf([is.String, is.String])] as const, + ), )(x) ) { throw TypeError("'globalDictionaries' must be array of two string tuple"); @@ -65,7 +67,9 @@ const validators: Validators = { globalKanaTableFiles: (x): (string | [string, string])[] => { if ( !is.ArrayOf( - is.OneOf([is.String, is.TupleOf([is.String, is.String])] as const), + is.UnionOf( + [is.String, is.TupleOf([is.String, is.String])] as const, + ), )(x) ) { throw TypeError( diff --git a/denops/skkeleton/deps.ts b/denops/skkeleton/deps.ts index 0a223b95..a6c6ad3b 100644 --- a/denops/skkeleton/deps.ts +++ b/denops/skkeleton/deps.ts @@ -1,7 +1,7 @@ -export * as autocmd from "jsr:@denops/std@7.0.0/autocmd"; -export * as fn from "jsr:@denops/std@7.0.0/function"; -export { batch } from "jsr:@denops/std@7.0.0/batch"; -export type { Denops, Entrypoint } from "jsr:@denops/std@7.0.0"; -export * as mapping from "jsr:@denops/std@7.0.0/mapping"; -export * as vars from "jsr:@denops/std@7.0.0/variable"; -export * as op from "jsr:@denops/std@7.0.0/option"; +export * as autocmd from "jsr:@denops/std@~7.1.1/autocmd"; +export * as fn from "jsr:@denops/std@~7.1.1/function"; +export { batch } from "jsr:@denops/std@~7.1.1/batch"; +export type { Denops, Entrypoint } from "jsr:@denops/std@~7.1.1"; +export * as mapping from "jsr:@denops/std@~7.1.1/mapping"; +export * as vars from "jsr:@denops/std@~7.1.1/variable"; +export * as op from "jsr:@denops/std@~7.1.1/option"; diff --git a/denops/skkeleton/deps/ddc/filter.ts b/denops/skkeleton/deps/ddc/filter.ts index 4d7820bc..70abfaf2 100644 --- a/denops/skkeleton/deps/ddc/filter.ts +++ b/denops/skkeleton/deps/ddc/filter.ts @@ -1 +1 @@ -export * from "jsr:@shougo/ddc-vim@6.0.0/filter"; +export * from "jsr:@shougo/ddc-vim@~7.0.0/filter"; diff --git a/denops/skkeleton/deps/ddc/source.ts b/denops/skkeleton/deps/ddc/source.ts index f773e17b..46699ed1 100644 --- a/denops/skkeleton/deps/ddc/source.ts +++ b/denops/skkeleton/deps/ddc/source.ts @@ -1 +1 @@ -export * from "jsr:@shougo/ddc-vim@6.0.0/source"; +export * from "jsr:@shougo/ddc-vim@~7.0.0/source"; diff --git a/denops/skkeleton/deps/ddc/types.ts b/denops/skkeleton/deps/ddc/types.ts index f4ef4c1b..35bb5119 100644 --- a/denops/skkeleton/deps/ddc/types.ts +++ b/denops/skkeleton/deps/ddc/types.ts @@ -1 +1 @@ -export * from "jsr:@shougo/ddc-vim@6.0.0/types"; +export * from "jsr:@shougo/ddc-vim@~7.0.0/types"; diff --git a/denops/skkeleton/deps/denops_test.ts b/denops/skkeleton/deps/denops_test.ts index 1dfad0e0..5985c424 100644 --- a/denops/skkeleton/deps/denops_test.ts +++ b/denops/skkeleton/deps/denops_test.ts @@ -1,2 +1,2 @@ -export type { TestDefinition } from "jsr:@denops/test@3.0.1"; -export { test } from "jsr:@denops/test@3.0.1"; +export type { TestDefinition } from "jsr:@denops/test@~3.0.4"; +export { test } from "jsr:@denops/test@~3.0.4"; diff --git a/denops/skkeleton/deps/dictionary.ts b/denops/skkeleton/deps/dictionary.ts index d2d208a0..d8ed0da2 100644 --- a/denops/skkeleton/deps/dictionary.ts +++ b/denops/skkeleton/deps/dictionary.ts @@ -1,4 +1,4 @@ -export * as yaml from "jsr:@std/yaml@1.0.0"; +export * as yaml from "jsr:@std/yaml@1.0.4"; export * as msgpack from "https://esm.sh/@msgpack/msgpack@3.0.0-beta2"; export { default as jsonschema } from "https://esm.sh/jsonschema@1.4.1"; export { default as jisyoschema } from "https://cdn.jsdelivr.net/gh/skk-dict/jisyo/schema/jisyo.schema.v0.0.0.json" with { type: "json" }; diff --git a/denops/skkeleton/deps/std/assert.ts b/denops/skkeleton/deps/std/assert.ts index 162f1e37..60f46a73 100644 --- a/denops/skkeleton/deps/std/assert.ts +++ b/denops/skkeleton/deps/std/assert.ts @@ -1 +1 @@ -export * from "jsr:@std/assert@1.0.1"; +export * from "jsr:@std/assert@~1.0.3"; diff --git a/denops/skkeleton/deps/std/async.ts b/denops/skkeleton/deps/std/async.ts index 30ddcaaf..903d9a33 100644 --- a/denops/skkeleton/deps/std/async.ts +++ b/denops/skkeleton/deps/std/async.ts @@ -1 +1 @@ -export * from "jsr:@std/async@1.0.1"; +export * from "jsr:@std/async@~1.0.4"; diff --git a/denops/skkeleton/deps/std/collections.ts b/denops/skkeleton/deps/std/collections.ts index 15f993e1..43c2dab1 100644 --- a/denops/skkeleton/deps/std/collections.ts +++ b/denops/skkeleton/deps/std/collections.ts @@ -1 +1 @@ -export * from "jsr:@std/collections@1.0.5"; +export * from "jsr:@std/collections@~1.0.5"; diff --git a/denops/skkeleton/deps/std/path.ts b/denops/skkeleton/deps/std/path.ts index 27aa90c7..83bee8ec 100644 --- a/denops/skkeleton/deps/std/path.ts +++ b/denops/skkeleton/deps/std/path.ts @@ -1 +1 @@ -export * from "jsr:@std/path@1.0.2"; +export * from "jsr:@std/path@~1.0.3"; diff --git a/denops/skkeleton/deps/std/streams.ts b/denops/skkeleton/deps/std/streams.ts index b62ac9cc..9fb58b9a 100644 --- a/denops/skkeleton/deps/std/streams.ts +++ b/denops/skkeleton/deps/std/streams.ts @@ -1 +1 @@ -export { TextLineStream } from "jsr:@std/streams@1.0.0"; +export { TextLineStream } from "jsr:@std/streams@~1.0.3/text-line-stream"; diff --git a/denops/skkeleton/deps/unknownutil.ts b/denops/skkeleton/deps/unknownutil.ts index 7168886b..0c64f172 100644 --- a/denops/skkeleton/deps/unknownutil.ts +++ b/denops/skkeleton/deps/unknownutil.ts @@ -1,2 +1,2 @@ -export * as u from "jsr:@core/unknownutil@3.18.1"; -export { is } from "jsr:@core/unknownutil@3.18.1"; +export * as u from "jsr:@core/unknownutil@~4.3.0"; +export { is } from "jsr:@core/unknownutil@~4.3.0/is";