summaryrefslogtreecommitdiff
path: root/ext/kv/lib.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-05-03 12:44:00 +0100
committerGitHub <noreply@github.com>2023-05-03 11:44:00 +0000
commit93a78d3d4aedb96cfc2641048532c95197f661bb (patch)
tree27698b73a919cb2f013b3fb982802ae376103f78 /ext/kv/lib.rs
parent798c1ad0f1de80ff0e7196b6140a3f74e31fe111 (diff)
fix(ext/kv): KvU64#valueOf and KvU64 inspect (#18656)
`new Deno.KvU64(1n) + 2n == 3n` is now true. `new Deno.KvU64(1n)` is now inspected as `[Deno.KvU64: 1n]` (`Object(1n)` is inspected as `[BigInt: 1n]`). --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r--ext/kv/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs
index f17ed55e3..dbc626225 100644
--- a/ext/kv/lib.rs
+++ b/ext/kv/lib.rs
@@ -53,8 +53,7 @@ impl UnstableChecker {
}
deno_core::extension!(deno_kv,
- // TODO(bartlomieju): specify deps
- deps = [ ],
+ deps = [ deno_console ],
parameters = [ DBH: DatabaseHandler ],
ops = [
op_kv_database_open<DBH>,