Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Deno KV errors in the latest deno #189

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Fix Deno KV errors in the latest deno #189

merged 1 commit into from
Feb 9, 2024

Conversation

Shougo
Copy link
Contributor

@Shougo Shougo commented Feb 9, 2024

% deno --version
deno 1.40.4 (release, x86_64-unknown-linux-gnu)
v8 12.1.285.6
typescript 5.3.3

Deno 最新版で補完を使うとエラーが出ていたので修正。

[ddc] source: skkeleton "gather()" failed
[ddc] unknown error object
[denops] TypeError: start key is not in the keyspace defined by prefix
[denops]     at KvListIterator.<anonymous> (ext:deno_kv/01_db.ts:141:36)
[denops]     at KvListIterator.next (ext:deno_kv/01_db.ts:579:42)
[denops]     at Dictionary.getCompletionResult (file:///home/shougo/work/skkeleton/denops/skkeleton/sources/deno_kv.ts:138:15)
[denops]     at NumberConvertWrapper.getCompletionResult (file:///home/shougo/work/skkeleton/denops/skkeleton/dictionary.ts:163:42)
[denops]     at Library.getCompletionResult (file:///home/shougo/work/skkeleton/denops/skkeleton/dictionary.ts:248:21)
[denops]     at eventLoopTick (ext:core/01_core.js:65:7)
[denops]     at async Plugin.call (file:///home/shougo/work/denops.vim/denops/@denops-private/service.ts:139:12)
[denops]     at async Service.#dispatch (file:///home/shougo/work/denops.vim/denops/@denops-private/service.ts:69:12)
[denops]     at async Service.dispatch (file:///home/shougo/work/denops.vim/denops/@denops-private/service.ts:74:14)
[denops]     at async Source.gather (file:///home/shougo/work/skkeleton/denops/@ddc-sources/skkeleton.ts:33:25)

@Shougo Shougo merged commit 6851a31 into main Feb 9, 2024
2 checks passed
@Shougo Shougo deleted the fix_deno_kv branch February 9, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant