Why does `deno test` add an older version of the `std` library to my deno.lock?
std/0.165 and my import-map.json is pinned to std/0.177. When I use deno run everything works fine. When I use deno test for some reason std/0.165 is added to my deno.lock file and then I get errors about core.runMicrotasks is not a function.
How do I keep deno test from adding an older version of std to the deno.lock file?...package.json support not working for prisma
PrismaClient from @prisma/client (not using dataproxy) and getting the error as seen in the screenshot
FFI Difference between buffer and pointer
Deno.UnsafePointer.of(new Uint8Array()) with type pointer and new Uint8Array() with type buffer. Is there any major difference? Per se I don’t use char[] arrays, just pointers.Detecting invalid JS strings
Error connecting to MongoDB Atlas
mongoose (npm:mongoose) but encountered the following error: error: Uncaught MongoAPIError: Server record does not share hostname with parent URI
at resolveSRVRecord (file:///home/farish/.cache/deno/npm/registry.npmjs.org/mongodb/4.14.0/lib/connection_string.js:63:19)
at async file:///home/farish/.cache/deno/npm/registry.npmjs.org/mongodb/4.14.0/lib/mongo_client.js:123:31
error: Uncaught MongoAPIError: Server record does not share hostname with parent URI
at resolveSRVRecord (file:///home/farish/.cache/deno/npm/registry.npmjs.org/mongodb/4.14.0/lib/connection_string.js:63:19)
at async file:///home/farish/.cache/deno/npm/registry.npmjs.org/mongodb/4.14.0/lib/mongo_client.js:123:31
interact with deno Extension at runtime
Any good way to modify remote url file and debug it?
import server "https://deno.land/x/ultra@v2.1.7/server.ts"
I want to modify this remote package and debug it with chrome or VScode....Not implemented: crypto.generateKeyPairSync
Cache related headers not included in deno deploy for static file serving
serveDir. When I run the site locally I see that Weak E-Tag headers are included in responses for the static files and can verify in dev tools that caching works.
When I deploy the site with deno deploy I don't see any caching and each request sends the full response to the browser. I can see that compression is running as described in the caching documentation but the docs seem to suggest that if Weak E-tags are included (which I assume is the case since that is how serveDir is behaving locally) that I would expect them in the responses.
- Any ideas on why deno deploy is not including caching headers in responses?...Error with relativ import path after "deno install"
deno run ./my-cli.ts
deno run ./my-cli.ts
Run examples on Windows
Piping to files example on Windows?
https://deno.land/manual@v1.30.3/examples/subprocess
'yes' is ignored, and I get a final error for the kill request
```ts...Python alternative to ctypes, can't figure how to convert a code
Suggestions for minimal JSX rendering?
Deno.run Strange Issue
Deno.run + stdout/signals/etc a lot, but this behavior is beyond my current debugging abilities
I have a command nix eval ... which works fine in a python subshell, and on the commandline. However, Deno.run with piped stdout makes it hang indefinitely. To be explicit, in this block: process.status().then(callback).catch(callback) the callback doesn't run until a .kill() is used (SIGHUP/SIGINT/SIGKILL). Tested on Deno 1.29.4 and Deno 1.22.0 for good measure.
What is even more strange is trying to bypass the problem with hackery also fails....Properly continuously read data from a Reader
Deno.Reader?
I'm trying to parse incoming HTTP2 frames from a Deno.TlsConn, but my current method of reading involves two sets of while loops, one to continuously perform the read operation, and the other, to try read everything currently available to read from the stream in chunks of 16k.
Naturally, the while loops make it take approximately one entire core of my processor, which is far from ideal.
...npm:redis – everything returns `string`?
npm:redis seems to have inferred return type string. Look at the screenshot. Surely this command should be returning string[].
Is this not supposed to be working automatically? Anyone tried this?...
Is it possible to compile my app with additional files? Or, setup a config location it looks for?
My magic middlewares type
MiddlewareHandler types. This MiddlewareHandler is defined as: ```ts
export type MiddlewareHandler<I = unknown, O extends I = I> = (
req: Request,
ctx: MiddlewareContext<I, O>,
) => Response | Promise<Response>;...Read one byte at a time from ReadableStream
My deno.lock file exceeds 4000 lines of JSON now