deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

The Deno Standard Library

Results 549 deno_std issues
Sort by recently updated
recently updated
newest added

We should ensure that [`console`](https://developer.mozilla.org/en-US/docs/Web/API/console) methods aren't used incorrectly across the codebase. We can enforce this by enabling the [`no-console`](https://lint.deno.land/rules/no-console) rule. Any instances where it should be kept should have...

good first issue

1. Bundle test entry point. 1. Polyfill Deno.test for browser 1. Correct test definition using [shim-deno-test](https://github.com/denoland/node_shims/tree/main/packages/shim-deno-test) 1. Pass them to some browser compatible test runner. 1. Create test bed html...

**Describe the bug** **Steps to Reproduce** Run the file server with permission `--allow-sys=networkInterfaces` and set the `--host` to a loopback value (e.g. `localhost`, `127.0.0.1`, etc.). ```sh deno run --allow-net=localhost --allow-read...

bug
http

https://github.com/denoland/std/actions/runs/10110044499/job/27959158000

Refer to the comments beginning here for context: https://github.com/denoland/std/issues/5002#issuecomment-2181247050 It appears that some modules (e.g. [`spinner.ts`](https://github.com/denoland/std/blob/release-2024.07.19/cli/spinner.ts) and [`prompt_secret.ts`](https://github.com/denoland/std/blob/release-2024.07.19/cli/prompt_secret.ts), but there may be more) are still writing informational output to `stdout`....

suggestion
cli

**Is your feature request related to a problem? Please describe.** Expose publicly `capitalizeWord` or something similar (maybe `capitalize` / `ucfirst` / `titleCase` / ...): https://github.com/denoland/deno_std/blob/22d3bda488f145b725fc1eaeee16922a97d88add/text/_util.ts#L9-L13 A lot of languages provides...

suggestion
needs discussion

**Describe the bug** **Steps to Reproduce** ```ts import * as path from 'jsr:@std/[email protected]' let globpath = 'D:\\a\\forager\\test\\resources\\*.jpg' path.isGlob(globpath) // false path.globToRegExp(globpath) // /^D:aforagertestresources\*\.jpg\/*$/ ``` **Expected behavior** I would expect to...

bug
needs investigation
path

Following on from #4671, it seems there are APIs within `@std/collections` that could support `Iterables` rather than just arrays. From a quick scan, these symbols might be able to be...

good first issue
collections
PR welcome

**Is your feature request related to a problem? Please describe.** Pluralizing english words is useful for many things: - Map more easily codebase with collections, database tables, etc. - e.g....

I.e. If there's a `@param` tag for an argument, the [doc checker](https://github.com/denoland/deno_std/blob/main/_tools/check_docs.ts) should flag that. #5438 gave me this idea.

enhancement
PR welcome