deno
deno copied to clipboard
A modern runtime for JavaScript and TypeScript.
serde_v8 is great. we use it for passing arguments and returning structures from Rust... but maybe we use it too much: - there is an obvious overhead serializing object keys...
Work in progress. This PR implements the [Cache API](https://developer.mozilla.org/en-US/docs/Web/API/Cache) with deviations from the spec where steps apply to browsers only. TODOs: - [ ] Figure out cache directory location -...
Doing something like ```rs let object: HashMap = serde_v8::from_v8(value).unwrap(); ``` gives two compile time errors.  
With this `test.mjs` module: ```js import puppeteer from "https://deno.land/x/[email protected]/mod.ts"; Deno.test("A", async (t) => { const browser = await puppeteer.launch(); try { await t.step("B", async () => {}); } finally {...
This is a feature request to reduce the verbosity of `deno test` output: 1. Don't print tests that have passed. 2. Don't re-print cached test results. 3. Aggregate successful test.step()...
(deno 1.23.1) Here's a screenshot from a log viewer (deno is running as a system daemon/background process, not in a terminal). Watching can also be useful in atypical situations like...
With Deno.serve on Windows, the first request is answered successfully, but the second and subsequent requests never reach the server. ```ts const abortController = new AbortController(); const timeoutId = setTimeout(()...
In #15806 we made a few fixes and that surfaced that the code executed in the [`npm_tests.rs#dynamic_import` test](https://github.com/denoland/deno/pull/15806/files#diff-5ea34ccbe091e1aeef61467fedb60a4c6c239c2a6a6f0bf2684d2c3d62ed9cf0R92-R99) wasn't exactly correct, so we disabled this test. Although, npm specifiers seem...
Before printing the error and exiting, `deno run a.js` waits for input, `sleep 5 | deno run a.js` waits 5 seconds, and `deno run --allow-read b.js` waits for the named...
```console $ deno --version deno 1.6.3 (release, x86_64-apple-darwin) v8 8.8.294 typescript 4.1.3 ``` I was attempting to import `rollup` in Deno and getting the following error: ```console $ deno run...