sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: TypeScript
Issue: Suboptimal completion list for template literal type member
Labels: Help Wanted,Domain: Completion Lists,Possible Improvement

### 🔎 Search Terms

"completion list", "template literal", "prefix", "unexpected items"

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries.

### ⏯ Playground Link

https://www.typescriptlang.org/play/?ts=5.7.0-dev.20240820#code/C4TwDgpgBAKlC8UAGASA3gIjAJwgMwEsAPARgwB8tdCiAmDAX3QGdhsCA7AcwaQG4AUAIA2EYFCIAuWAigYMQA

### 💻 Code

```ts
type T = `${"prefix1"|"prefix2"}${string}`;

let x: T = ""
```


### 🙁 Actual behavior

When requesting a completion inside the `""`, I get `"$"`, `"let"`, `"prefix1"`, `"prefix2"`, `"string"`, `"T"`, `"type"`, `"x"`.

### 🙂 Expected behavior

I expect to get just `"prefix1"`, `"prefix2"`.

### Additional information about the issue

The current completions include strings that the value cannot legally start with.
Repository: pytorch
Issue: Feat: output dtype for count_nonzero
Labels: triaged,actionable,module: python frontend

### 🚀 The feature, motivation and pitch

Can we add a `dtype` parameter to `count_nonzero()` to specify the output dtype?

Currently `count_nonzero()` outputs a int64 tensor. When working with large tensors, it may be preferable to use float32 or float16 outputs to save memory, especially if the count is later used with other floating-point operations.

For reference, many other operations have the option to specify an output dtype, eg [`torch.sum()`](https://pytorch.org/docs/stable/generated/torch.sum.html#torch.sum).

### Alternatives

_No response_

### Additional context

_No response_

cc @albanD
Repository: next.js
Issue: next/link  <Link> is not loading AMP page components from non-AMP page, I have to use <a> tag only then it renders AMP components which resets the router.
Labels: bug,Pages Router

### Link to the code that reproduces this issue

https://github.com/atul-vashisht/amp-error

### To Reproduce

1 Create a simple page router next app with non-AMP home page index.
2. add a new sample amp page with with some amp components.
3. on home page put a next/link <Link> tag with href="/my-sample-amp-page"
4. you will not be able to see the amp components.

### Current vs. Expected behavior

<Link> is not rendering amp page components from non-AMP page.

### Provide environment information

```bash
{
  "name": "amp-error",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "react": "^18",
    "react-dom": "^18",
    "next": "14.1.4"
  }
}
```


### Which area(s) are affected? (Select all that apply)

Pages Router

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

NON AMP PAGE IS NOT ABLE TO LOAD AMP PAGE WITH THE <LINK>  TAG, USING <a> tag or target="_blank" reset the router.
Repository: ui
Issue: [feat]: Missing in Command component for Asynchronous results - Command.Loading
Labels: area: request

### Feature description

Missing Command.Loading from "cmdk".

[[Asynchronous results](https://github.com/pacocoursey/cmdk?tab=readme-ov-file#asynchronous-results)](url)


### Affected component/components

Command

### Additional Context

```
const CommandLoading = React.forwardRef<
  React.ElementRef<typeof CommandPrimitive.Loading>,
  React.ComponentPropsWithoutRef<typeof CommandPrimitive.Loading>
>((props, ref) => (
  <CommandPrimitive.Loading
    ref={ref}
    className='py-6 text-center text-sm'
    {...props}
  />
))

CommandLoading.displayName = CommandPrimitive.Loading.displayName


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: excalidraw
Issue: [new feature] connection flow animation
Labels: enhancement

Is there a way to add a connection process animation?
demo：[URL](https://viewer.diagrams.net/?tags=%7B%7D&lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1#R%3Cmxfile%3E%3Cdiagram%20name%3D%22%E7%AC%AC%201%20%E9%A1%B5%22%20id%3D%225rhhy-bjW_c8JY8hIr5J%22%3E5ZbRTuswDIafppdIa9MOuISxcxACCWlCXIfVtJnSuspcuvL0pMRdGwaDCaGDdK7WfLET%2B7fdLhCzYvPXyCq%2FwRR0EE3STSAugigKJ8nE%2FnSkdSSJpw5kRqVsNICFeobek2mtUlh7hoSoSVU%2BXGJZwpI8Jo3Bxjd7RO3fWskMdsBiKfUuvVcp5Y6eRMcDvwSV5f3N4fTU7RSyN%2BZM1rlMsRkhMQ%2FEzCCSeyo2M9CdeL0uzu%2FPB7vbwAyU9BWH9upujidFmz1Mi%2BqUVqtWiCPhTnmSuuaEOVhqewUgtYLwEg3lmGEp9Xyg5wbrMoXumoldDTbXiJWFoYUrIGq5urImtCinQvPuo8bmrFRWMoUlMxdHd%2FmH%2BTJaY22WsCfJvm%2BkyYD22EXbqth2BiyATGv9DGgb2JMfh%2BS%2ByrZ27HpmjGxHBhWqktajk287YA14ROIwdifygITTN2U8zN4%2BuAj61SiVAb22xgFtEn7eJn4TNLkiWFTytS6NfTX4BefjwBBs9pd3txzsIBJfh2Mes2aY0rAfvXw0oSzXuwUciXi4Rsn%2FMErRF0cp%2FuYofasS0e%2Fv1u337Z%2B1a%2Fz7RRLJz4lkl8On170mhz8wYv4C%3C%2Fdiagram%3E%3C%2Fmxfile%3E)
Repository: PowerToys
Issue: quick accent bug for letter "a"
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.83.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Quick Accent

### Steps to reproduce

I need to produce this letter (ā), small letter "a" with horizontal line on top. But when I do it with quick accent, the line is hanging on the next letter.
![image](https://github.com/user-attachments/assets/4873c6ec-cb94-4405-ad2b-d81d93ea1420)


### ✔️ Expected Behavior

the line should be on top of letter 'a'

### ❌ Actual Behavior

the line goes to the next letter, regardless of what the next letter is.

### Other Software

_No response_
Repository: godot
Issue: .rotated() of a Vector2/3 returns a result with floating point error
Labels: discussion,topic:core,documentation

### Tested versions

- Reproducible in 4.2 stable

### System information

Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 32.0.15.5599) - AMD Ryzen 5 5600H with Radeon Graphics (12 Threads)

### Issue description

When rotating a Vector2 / Vector3 that has only the integer parts, by 90, 180 or 270 degrees, the result of Vector2.rotated() or Vector3.rotated() returns a value with a floating point error. When printing the result into the console, the result appears as if the floating point error isn't there (though there is a clue in a form of -0 showing up as one of the vector components sometimes, depending on the vector you'd be rotating).
This results in unexpected, game breaking behaviour for projects that rely on precise integer grid calculations, which was the case for me.

### Steps to reproduce

Open and start the MRP

### Minimal reproduction project (MRP)

[Vector.rotated() Bug showcase.zip](https://github.com/user-attachments/files/16674212/Vector.rotated.Bug.showcase.zip)
Repository: vscode
Issue: SCM Graph - HTML tags are omitted from pop-ups for git commit messages
Labels: bug,scm

Type: <b>Bug</b>

HTML tags seem to be omitted from the small pop-up that appears when you hover over a commit message. I've noticed this in the "Timeline" section in the left sidebar and in "Source Control."

**Only opening tag, Timeline:**
![image](https://github.com/user-attachments/assets/4507e01d-6da0-4f9e-a3dd-bf21520355e5)

**Only opening tag, Source Control:**
![image](https://github.com/user-attachments/assets/e18358fe-c59c-4aa1-9866-2b3ec9c0f7f7)

**Opening and closing tags, Timeline:**
![image](https://github.com/user-attachments/assets/88977379-cdd0-4020-aff4-ba5e5053150b)

**Opening and closing tags, Source Control:**
![image](https://github.com/user-attachments/assets/80a54772-0594-442e-af94-108244f455f9)

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.22631
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|7.80GB (2.34GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (18)</summary>

Extension|Author (truncated)|Version
---|---|---
ruff|cha|2024.42.0
vscode-eslint|dba|3.0.10
css-property-sorter|Enz|1.2.3
prettier-vscode|esb|11.0.0
vscode-htmlhint|HTM|1.0.5
rainbow-csv|mec|3.12.0
debugpy|ms-|2024.10.0
python|ms-|2024.12.3
vscode-pylance|ms-|2024.8.1
autodocstring|njp|0.6.1
sourcery|sou|1.22.0
vscode-stylelint|sty|1.4.0
errorlens|use|3.20.0
intellicode-api-usage-examples|Vis|0.2.8
vscodeintellicode|Vis|1.3.1
vscode-icons|vsc|12.8.0
five-server|yan|0.3.1
html-css-class-completion|Zig|1.20.0


</details>
<!-- generated by issue reporter -->
Repository: storybook
Issue: [Bug]: External CSS file for lit crashes with "does not provide an export named 'default'"
Labels: bug,help wanted,web-components,lit,sev:S3

### Describe the bug

We use Lit with shadow DOM and we use external stylesheets that we import using `import styles from './button.css?lit-css'`
To achieve this, we added the appropriate configuration for Typescript and Vite.
Unfortunately due to the .css extension that is handled somewhat magically in Storybook, we get the error.
Please change the way Storybook handles css and pcss files to handle lit components like ours.

### Reproduction link

https://github.com/johan-gorter/storybook-lit-css-issue

### Reproduction steps

1. Start storybook and view the Button story
2. The syntax error occurs

### System

```bash
System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
  Binaries:
    Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD <----- active
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.5.0 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.98)
  npmPackages:
    @storybook/addon-essentials: ^8.2.9 => 8.2.9
    @storybook/addon-links: ^8.2.9 => 8.2.9
    @storybook/blocks: ^8.2.9 => 8.2.9
    @storybook/test: ^8.2.9 => 8.2.9
    @storybook/web-components: ^8.2.9 => 8.2.9
    @storybook/web-components-vite: ^8.2.9 => 8.2.9
    storybook: ^8.2.9 => 8.2.9
  npmGlobalPackages:
    storybook: 8.1.2
```


### Additional context

We are currently replacing ?lit-css with ?raw&lit-css which does work (see previous commits). We think the raw is actually confusing, because we are also using postcss.

It would also be nice to have the default lit template use the shadow DOM, so it looks like a bit more like the examples on https://lit.dev/.
Repository: rust
Issue: `unused_qualification` breaks code for older rust versions
Labels: A-lints,A-diagnostics,T-compiler,L-unused_qualifications

### Code

```Rust
// Cargo.toml: a rust-version <= 1.79 (while being on 1.80 or nightly)

#![warn(unused_qualifications)]

let align = core::mem::align_of::<u128>();
dbg!(align);
```


### Current output

```Shell
warning: unnecessary qualification
 --> src/main.rs:9:17
  |
9 |     let align = core::mem::align_of::<u128>();
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
note: the lint level is defined here
 --> src/main.rs:2:9
  |
2 | #![warn(unused_qualifications, unused_imports)]
  |         ^^^^^^^^^^^^^^^^^^^^^
help: remove the unnecessary path segments
  |
9 -     let align = core::mem::align_of::<u128>();
9 +     let align = align_of::<u128>();
  |
```


### Desired output

The lint should not be triggered as `core::mem::align_of` is only part of the prelude since 1.80 (see https://github.com/rust-lang/rust/pull/123168/)


### Rationale and extra context

Adding `use core::mem::align_of` (or `std::…`) and using it that way will not trigger `unused_imports` (warn-by-default) on 1.80 which is somewhat weird. Applying the fixes for `unused_qualifications` changes the MSRV while `unused_imports` doesn't?

I somewhat expect this to be closed as won't fix as `rustc` itself doesn't care about cargo related settings?

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
binary: rustc
commit-hash: 3f5fd8dd41153bc5fdca9427e9e05be2c767ba23
commit-date: 2024-08-06
host: x86_64-unknown-linux-gnu
release: 1.80.1
LLVM version: 18.1.7
```


### Anything else?

_No response_
Repository: electron
Issue: [Bug]: webContents.isLoading() is true when did-finish-load fires (or promise of loadURL()/loadFile() resolves)
Labels: platform/windows,bug :beetle:,has-repro-gist,31-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

31.4.0

### What operating system(s) are you using?

Windows, macOS

### Operating System Version

Windows 11 Pro 22631.4037, macOS 14.6.1

### What arch are you using?

x64, arm64

### Last Known Working Electron version

_No response_

### Expected Behavior

After the `did-finish-load` event fires `webContents.isLoading()` should return `false`.

### Actual Behavior

`webContents.isLoading()` returns `true` when the `did-finish-load` event fires. It's possible to use `setImmediate()` to workaround this issue.

The same issue exists when awaiting the promise of `loadURL()` or `loadFile()`.

### Testcase Gist URL

https://gist.github.com/florianreinhart/a74f9f1e0d69251d1ab093db7c1ab599

### Additional Information

_No response_
Repository: rust
Issue: We should document the exact minimum versions of build tools required to build a given Rust toolchain
Labels: C-enhancement,T-compiler,T-bootstrap,A-docs

As noticed in https://github.com/rust-lang/rust/pull/128722#issuecomment-2297605573 when trying to bump `cc` to a version which [drops support for VS 2013](https://github.com/rust-lang/cc-rs/pull/1046).

Also cc:

> We also don't document minium versions of binutils etc on the platform support page. Maybe we should! But that's a pre-existing issue and bumping cc or not doesn't change that.

_Originally posted by @ChrisDenton in https://github.com/rust-lang/rust/issues/129290#issuecomment-2298050637_

`INSTALL.md` exists, but that seems more like some general advice for getting started, but not actual documented guarantees in terms of what kind of build environment is supported.
Repository: material-ui
Issue: [colorManipulator] Theme colors in the new syntax without comma (`rgb(106 27 154)`) fail to generate correct contrast color for buttons 
Labels: package: system,enhancement,customization: css

### Steps to reproduce

Link to live example: [codesandbox](https://codesandbox.io/s/fancy-fast-3cknx2?file=/src/Demo.tsx)

Steps:
1. Assign a dark theme color in the newer syntax using the `rgb` color function, for example `rgb(106 27 154)` 
2. Render a contained button that uses this theme color as its background: `<Button variant="contained">click me</Button>`
3. Observe the text color being dark as well
4. Change the theme color to the legacy syntax with commas: `rgb(106, 27, 154)`
5. Observe the button now having a white contrast text color


### Current behavior

A dark rgb theme color in the new color syntax results in the wrong contrast text being applied:

<img width="127" alt="CleanShot 2024-08-20 at 15 01 32@2x" src="https://github.com/user-attachments/assets/f9095d93-1b02-4f1d-93a4-a7188781f9bf">

I reckon this might affect other areas as well, but I have only identified this behavior for the `Button` component

### Expected behavior

I expect a button with a dark theme color background to have white contrast text:

<img width="127" alt="CleanShot 2024-08-20 at 15 03 31@2x" src="https://github.com/user-attachments/assets/2a7b5d9e-6471-4582-8242-273781c03cf9">


### Context

_No response_

### Your environment

Chrome Version 127.0.6533.120 (Official Build) (arm64)

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  System:
    OS: macOS 12.4
  Binaries:
    Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
    npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 127.0.6533.120
    Edge: Not Found
    Safari: 15.5
  npmPackages:
    @emotion/react:  11.13.0
    @emotion/styled:  11.13.0
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  5.16.6
    @mui/icons-material:  5.16.6
    @mui/lab:  5.0.0-alpha.173
    @mui/material:  5.16.6
    @mui/private-theming:  5.16.6
    @mui/styled-engine:  5.16.6
    @mui/system:  5.16.6
    @mui/types:  7.2.15
    @mui/utils:  5.16.6
    @mui/x-date-pickers:  7.12.0
    @types/react:  18.3.3
    react:  18.3.1
    react-dom:  18.3.1
    styled-components:  6.1.12
    typescript: ^5.5.4 => 5.5.4
```
</details>


**Search keywords**: contrast, comma, rgb
Repository: vscode
Issue: [12f] potential listener LEAK detected, having 1029 listeners already. MOST frequent listener (792):
Labels: error-telemetry,freeze-slow-crash-leak

```javascript
Error
at c.create in src/vs/base/common/event.ts:921:15
at h.q [as onDidChange] in src/vs/base/common/event.ts:1128:34
at Object.A [as onWillAddFirstListener] in src/vs/platform/actions/common/menuService.ts:425:34
at u.q [as onDidChange] in out/vs/workbench/workbench.desktop.main.js:91:1280
at D.G in src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.ts:352:36
at p._runFn in src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.ts:218:11
at p.j in src/vs/base/common/observableInternal/autorun.ts:196:10
at p.endUpdate in src/vs/base/common/observableInternal/autorun.ts:237:10
at d.finish in src/vs/base/common/observableInternal/base.ts:372:13
at s.set in src/vs/base/common/observableInternal/base.ts:445:9
at y.setVisible in src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.ts:31:16
at a.updateOutputHeight in src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.ts:449:34
at Pe.Wc in src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts:3039:9
at u.value in src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts:623:29
at o.B in src/vs/base/common/event.ts:1230:13
at o.fire in src/vs/base/common/event.ts:1261:9
at <anonymous> in src/vs/workbench/contrib/webview/browser/webviewElement.ts:198:20
at handler in src/vs/workbench/contrib/webview/browser/webviewElement.ts:510:35
at Set.forEach (<anonymous>)
at H.onmessage in src/vs/workbench/contrib/webview/browser/webviewElement.ts:510:16
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=fee1edb8d6d72a0ddff41e5f71a671c23ed924b9&bH=ba511a03-9df7-9d4f-76b4-5e17f6634dc8)
Repository: vscode
Issue: InstantiationService has been disposed
Labels: bug,debug,error-telemetry

```javascript
Error: InstantiationService has been disposed
at g.m in src/vs/platform/instantiation/common/instantiationService.ts:69:10
at g.invokeFunction in src/vs/platform/instantiation/common/instantiationService.ts:90:8
at H.D in src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts:566:66
at V.a in src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts:232:66
at V.h in out/vs/workbench/workbench.desktop.main.js:97:20944
at V.g in src/vs/base/common/async.ts:1033:9
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=fee1edb8d6d72a0ddff41e5f71a671c23ed924b9&bH=bed3ce91-3c80-8072-ddf1-6de94211ecb4)
Repository: vscode
Issue: FileLocationKind is not actionable. Does the matcher have a filePrefix? This should never happen.
Labels: error-telemetry,debt

```javascript
Error: FileLocationKind is not actionable. Does the matcher have a filePrefix? This should never happen.
at o in src/vs/workbench/contrib/tasks/common/problemMatcher.ts:234:9
at $NI in src/vs/workbench/contrib/tasks/common/problemMatcher.ts:206:27
at $NI in src/vs/workbench/contrib/tasks/common/problemMatcher.ts:409:10
at T.f in src/vs/workbench/contrib/tasks/common/problemMatcher.ts:398:21
at T.handle in src/vs/workbench/contrib/tasks/common/problemMatcher.ts:503:23
at p.L in src/vs/workbench/contrib/tasks/common/problemCollectors.ts:201:28
at p.H in src/vs/workbench/contrib/tasks/common/problemCollectors.ts:165:17
at p.G in src/vs/workbench/contrib/tasks/common/problemCollectors.ts:376:28
at <anonymous> in src/vs/workbench/contrib/tasks/common/problemCollectors.ts:122:17
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=fee1edb8d6d72a0ddff41e5f71a671c23ed924b9&bH=87dfc473-af15-a401-ec27-1a9e65dc60bc)
Repository: vscode
Issue: Model is disposed!
Labels: bug,debug,error-telemetry

```javascript
Error: Model is disposed!
at U.ib in src/vs/editor/common/model/textModel.ts:421:10
at U.getLineFirstNonWhitespaceColumn in src/vs/editor/common/model/textModel.ts:865:8
at q in src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts:176:29
at createCandidateDecorations in src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts:541:40
at setCandidateDecorations in src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts:603:6
at callback in src/vs/editor/common/model/textModel.ts:1622:13
at U.changeDecorations in src/vs/editor/common/model/textModel.ts:1592:16
at x.changeDecorations in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1257:32
at H.D in src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts:581:21
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=fee1edb8d6d72a0ddff41e5f71a671c23ed924b9&bH=a41df17e-79de-41a8-7799-5f6c4a4f0778)
Repository: deno
Issue: Tracking: stabilization of "patch" feature
Labels: feat

```jsonc
// deno.json
{
  "patch": [
    "../some-package-or-workspace"
  ]
}
```

https://github.com/denoland/deno/pull/25068

Questions:

- [ ] Is "patch" an ok name? Isn't it confusing with the idea of "patching a package" where you modify a package in the vendor or node_modules directory? What better alternatives are there?
- [ ] Can this work with git repositories? How does that work?
- [ ] What about patching to a remote specifier?

To implement:

- [ ] Patching npm packages.
- [ ] Improving error messages to recommend using the patch feature (https://github.com/denoland/deno/issues/26704)