Web Cache API: Worth using to skip one kv.get()?
Packages for image creation
Local Deno package imports: Use package's deno.json config "exports" map?
deno.json
references a project within (at some sub-dir path).
- The project's deno.json
uses the "exports" option to map "."
to "./src/mod.ts"
.
- The workspace root's deno.json
then references this directory in the "imports"
map, from "package-a"
to "./package-a"
.
```...Deno Subhosting Security
Deno not recognizing default export from npm package 'unstorage' as a function
unstorage
with the Deno KV driver, as per https://unstorage.unjs.io/drivers/deno
When I import the driver and attempt to call it, the LSP reports that denoKVdriver
lacks a call signature, and type-checking also fails:...deno compile tree-shaking
deno compile
to produce a single binary, is there any tree-shaking performed?
specifically, if i perform an import such as import * as yaml from "@std/yaml";
and then only use yaml.parse
and yaml.stringify
from the module, will the end bundle include the rest of the module, or only those two plus any dependencies?...NPM package "pg@8.16.0" does not define an export ".".
deno install npm:pg
. However when trying to import it in any form from...Is there a way to use `tsconfig.json` `compilerOptions.types`?
/// <reference types="npm:@types/serviceworker" />
/// <reference types="npm:@types/serviceworker" />
tsconfig.json
file like normal Node/TypeScript projects?...Incorrect documentation example (partial mocking)
spy()
function should only receive two arguments. How can i fix or do partial mocking?
Thanks
- jsr:@std/testing/mock 1.0.12...
How to deploy a staging (preview?) branch
Supabase Client Causing Resourse Leak During Integration Tests
Make vscode not treat my client folder as a deno project
Websocket implementation
Cors No 'Access-Control-Allow-Origin'
``
const response = await fetch(
http://localhost:8000/users/${userId}/cards`, {...Dependencies not found from a process that was spawned using Node’s spawn process library
How do I view CPU time?
Third-Party Library Uses `window` not `globalThis` Causing Issues.
error: Uncaught (in promise) ReferenceError: window is not defined
With further information
``
info: window global is not available in Deno 2.
hint: Replace
window with
globalThis`....Deno check fail
launch.json for debugging deno next.js in vs code