Skip to content

Commit

Permalink
Adapt to Deno 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Oct 4, 2024
1 parent df14d9a commit 2c416ca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jsr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
permissions:
contents: read
id-token: write
uses: cross-org/workflows/.github/workflows/jsr-publish.yml@main
uses: cross-org/workflows/.github/workflows/jsr-publish.yml@main
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:
on:
push:
branches: [main]
pull_request:
Expand All @@ -20,4 +20,4 @@ jobs:
with:
jsr_dependencies: "@cross/test @cross/fs @cross/runtime @std/[email protected] @std/[email protected]"
npm_dependencies: "cbor-x"
test_target: "test/*.test.ts"
test_target: "test/*.test.ts"
5 changes: 4 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cross/kv",
"version": "0.17.1",
"version": "0.17.2",
"exports": {
".": "./mod.ts",
"./cli": "./src/cli/mod.ts"
Expand All @@ -12,6 +12,9 @@
]
}
},
"compilerOptions": {
"useUnknownInCatchVariables": false
},
"imports": {
"@cross/fs": "jsr:@cross/fs@^0.1.11",
"@cross/runtime": "jsr:@cross/runtime@^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/cli/loop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { CurrentRuntime, Runtime } from "@cross/runtime";
import { createInterface } from "node:readline";

import type { KVCliHandler, KVDBContainer } from "./common.ts";
import process from "node:process";

// Command handling structure
const commands: { [command: string]: KVCliHandler } = {};
Expand Down

0 comments on commit 2c416ca

Please sign in to comment.