Skip to content

Commit

Permalink
Merge pull request #202 from vim-skk/update_deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
kuuote authored Sep 3, 2024
2 parents 7c33a16 + 6833e15 commit 882ec0c
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 30 deletions.
9 changes: 6 additions & 3 deletions denops/@ddc-filters/skkeleton.ts
Original file line number Diff line number Diff line change
@@ -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<string, never>;

Expand Down
10 changes: 5 additions & 5 deletions denops/@ddc-sources/skkeleton.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
8 changes: 6 additions & 2 deletions denops/skkeleton/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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(
Expand Down
14 changes: 7 additions & 7 deletions denops/skkeleton/deps.ts
Original file line number Diff line number Diff line change
@@ -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";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/ddc/filter.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@shougo/ddc-vim@6.0.0/filter";
export * from "jsr:@shougo/ddc-vim@~7.0.0/filter";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/ddc/source.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@shougo/ddc-vim@6.0.0/source";
export * from "jsr:@shougo/ddc-vim@~7.0.0/source";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/ddc/types.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@shougo/ddc-vim@6.0.0/types";
export * from "jsr:@shougo/ddc-vim@~7.0.0/types";
4 changes: 2 additions & 2 deletions denops/skkeleton/deps/denops_test.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export type { TestDefinition } from "jsr:@denops/[email protected].1";
export { test } from "jsr:@denops/[email protected].1";
export type { TestDefinition } from "jsr:@denops/test@~3.0.4";
export { test } from "jsr:@denops/test@~3.0.4";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/dictionary.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * as yaml from "jsr:@std/[email protected].0";
export * as yaml from "jsr:@std/[email protected].4";
export * as msgpack from "https://esm.sh/@msgpack/[email protected]";
export { default as jsonschema } from "https://esm.sh/[email protected]";
export { default as jisyoschema } from "https://cdn.jsdelivr.net/gh/skk-dict/jisyo/schema/jisyo.schema.v0.0.0.json" with { type: "json" };
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/std/assert.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@std/[email protected].1";
export * from "jsr:@std/assert@~1.0.3";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/std/async.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@std/[email protected].1";
export * from "jsr:@std/async@~1.0.4";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/std/collections.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@std/[email protected]";
export * from "jsr:@std/collections@~1.0.5";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/std/path.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "jsr:@std/[email protected].2";
export * from "jsr:@std/path@~1.0.3";
2 changes: 1 addition & 1 deletion denops/skkeleton/deps/std/streams.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { TextLineStream } from "jsr:@std/[email protected].0";
export { TextLineStream } from "jsr:@std/streams@~1.0.3/text-line-stream";
4 changes: 2 additions & 2 deletions denops/skkeleton/deps/unknownutil.ts
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 882ec0c

Please sign in to comment.