Hubert Lin
Hubert Lin
**Problem** Current implementation of chatbox is functioning well, but can be optimized for server performance. Especially when self hosting on a server with limited HTTP requests / month. Chatbox is...
**Describe the bug** When switching between Inbox, Done, Trash and Spam the web requests takes some time to resolve. The route and background color of the navigation link is changed...
Possible infinite loop. When `User-Agent` header is specified and `process.env.NODE_ENV` is `undefined` we hit line 273 and continue the while loop without ever incrementing the index `i++` https://github.com/tanhakabir/rest-book/blob/6df707bf0ef7f4b81f6ce73b7308952e39a2a065/src/common/request.ts#L266-L278 Tested on...
Partial fix for #4 Based test cases from https://github.com/ai/nanoid Added argument guards for customRandom to prevent misuse. run tests with `deno test`
Reproduction steps 1. Given a file that imports from a private repository `import { ... } from "https://raw.githubusercontent.com/"` 2. Deploy 3. See the error  4. Add environment variable `DENO_AUTH_TOKENS`...
Using a cloud managed DB often terminates sessions without notifying the library. This causes `ConnectionError` because the library was not notified of the cancelled connection. There is a `TODO` comment...
When creating the `OAuth2Client` we specify the `redirectUri`, which can be passed in from a `.env` file. We can also infer it from the request header, so there's one less...