Simon Lecoq

Results 119 issues of Simon Lecoq

Currently we have a `debounce()` function but not a `throttle()` one. Reference: https://developer.mozilla.org/en-US/docs/Glossary/Throttle

Closes #5884 Not sure if it qualifies for "breaking change" since the API is still unstable, but it does break apps relying on current implementation `route()` As explained in the...

http

**Is your feature request related to a problem? Please describe.** A simple function that asserts a path is descending (i.e. not trying to go up `../`), or that "virtually" change...

Std provides a few data structures, but currently none of them can be used for spatial partitioning. I've mostly used quadtrees and r-trees in the past, but there are lot...

suggestion
data-structures
feedback welcome

**Is your feature request related to a problem? Please describe.** Current implementation is supporting http method discriminant probably covers most use-case, but there's also one more use-case which I feel...

**Describe the bug** Given the following valid archive: ```bash @lowlighter ➜ /tmp $ wget https://github.com/rustwasm/wasm-pack/releases/download/v0.13.0/wasm-pack-v0.13.0-x86_64-unknown-linux-musl.tar.gz ... @lowlighter ➜ /tmp $ tar -ztvf wasm-pack-v0.13.0-x86_64-unknown-linux-musl.tar.gz drwxrwxrwx 0/0 0 2024-07-01 18:54 wasm-pack-v0.13.0-x86_64-unknown-linux-musl/ -rwxrwxrwx...

bug
needs triage

The `Handler` interface is currently defined as: https://github.com/denoland/std/blob/94a7e1b34be4b2f18af1238d7b62c1a0cc700f41/http/route.ts#L14-L18 But I feel like people users using this API would most likely prefer to have `URLPatternResult` as second argument and `Deno.ServeHandlerInfo` as...

enhancement
good first issue
http
feedback welcome
PR welcome

Currently with `Deno.serve` you're able to know on which address you're listening to with `onListen`, but `deno serve` does not implement it: ```ts export default { onListen:() => { /*...

feat
serve

Need to setup the playwright env correctly, but as always running browser in dockerized environment is a pain Also need to patch out the chromium args (disabled sandboxing and other...