helloadhavan/github_issues huggingface dataset:
Repository: facebook/react
Pull request: Include removal of scheduler/tracing in changelog


## Summary

Adds https://github.com/facebook/react/pull/20037 to changelog.
Will update releases once merged.

## How did you test this change?

- N/A


Changed files:
filename: CHANGELOG.md
patch: @@ -102,6 +102,10 @@ The existing `renderToString` method keeps working but is discouraged.
 * **Layout Effects with Suspense**: When a tree re-suspends and reverts to a fallback, React will now clean up layout effects, and then re-create them when the content inside the boundary is shown again. This fixes an issue which prevented component libraries from correctly measuring layout when used with Suspense.
 * **New JS Environment Requirements**: React now depends on modern browsers features including `Promise`, `Symbol`, and `Object.assign`. If you support older browsers and devices such as Internet Explorer which do not provide modern browser features natively or have non-compliant implementations, consider including a global polyfill in your bundled application.
 
+### Scheduler (Experimental)
+
+* Remove unstable `scheduler/tracing` API
+
 ## Notable Changes
 
 ### React
@@ -193,6 +197,10 @@ The existing `renderToString` method keeps working but is discouraged.
 * Fix a mistake in the Node loader. ([#22537](https://github.com/facebook/react/pull/22537) by [@btea](https://github.com/btea))
 * Use `globalThis` instead of `window` for edge environments. ([#22777](https://github.com/facebook/react/pull/22777) by [@huozhi](https://github.com/huozhi))
 
+### Scheduler (Experimental)
+
+* Remove unstable `scheduler/tracing` API ([#20037](https://github.com/facebook/react/pull/20037) by [@bvaughn](https://github.com/bvaughn))
+
 ## 17.0.2 (March 22, 2021)
 
 ### React DOM
Repository: denoland/deno
Pull request: fix(ext/fetch): don't throw when `bodyUsed` inspect after upgrade

Fixes https://github.com/denoland/deno/issues/27083


Changed files:
filename: ext/fetch/22_body.js
patch: @@ -286,8 +286,13 @@ function mixinBody(prototype, bodySymbol, mimeTypeSymbol) {
        */
       get() {
         webidl.assertBranded(this, prototype);
-        if (this[bodySymbol] !== null) {
-          return this[bodySymbol].consumed();
+        try {
+          if (this[bodySymbol] !== null) {
+            return this[bodySymbol].consumed();
+          }
+        } catch (_) {
+          // Request is closed.
+          return true;
         }
         return false;
       },

filename: tests/unit/serve_test.ts
patch: @@ -4327,3 +4327,55 @@ Deno.test({
 
   await server.shutdown();
 });
+
+// https://github.com/denoland/deno/issues/27083
+Deno.test(
+  { permissions: { net: true } },
+  async function httpServerWebSocketInspectRequest() {
+    const ac = new AbortController();
+    const listeningDeferred = Promise.withResolvers<void>();
+    const doneDeferred = Promise.withResolvers<void>();
+    const server = Deno.serve({
+      handler: (request) => {
+        const {
+          response,
+          socket,
+        } = Deno.upgradeWebSocket(request);
+
+        socket.onopen = () => {
+          Deno.inspect(request); // should not throw
+        };
+        socket.onerror = (e) => {
+          console.error(e);
+          fail();
+        };
+        socket.onmessage = (m) => {
+          socket.send(m.data);
+          socket.close(1001);
+        };
+        socket.onclose = () => doneDeferred.resolve();
+        return response;
+      },
+      port: servePort,
+      signal: ac.signal,
+      onListen: onListen(listeningDeferred.resolve),
+      onError: createOnErrorCb(ac),
+    });
+
+    await listeningDeferred.promise;
+    const def = Promise.withResolvers<void>();
+    const ws = new WebSocket(`ws://localhost:${servePort}`);
+    ws.onmessage = (m) => assertEquals(m.data, "foo");
+    ws.onerror = (e) => {
+      console.error(e);
+      fail();
+    };
+    ws.onclose = () => def.resolve();
+    ws.onopen = () => ws.send("foo");
+
+    await def.promise;
+    await doneDeferred.promise;
+    ac.abort();
+    await server.finished;
+  },
+);
Repository: huggingface/transformers
Pull request: fix(attention_visualizer): add default value for image_seq_length

# What does this PR do?
Fixes a small bug in `attention_visualizer.py` where `image_seq_length` may be used before assignment.

# 🐛 Bug Description

Calling `visualize_attention_mask()` triggers:
UnboundLocalError: cannot access local variable 'image_seq_length' where it is not associated with a value

# Fix

Just adds one line code

image_seq_length = None

Fixes  #38576 


## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request),
      Pull Request section?
- [x] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [x] (N/A) Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [x] (N/A) Did you write any new necessary tests?


## Who can review?
@ArthurZucker 







Changed files:
filename: src/transformers/utils/attention_visualizer.py
patch: @@ -178,6 +178,7 @@ def __call__(self, input_sentence: str, suffix=""):
     def visualize_attention_mask(self, input_sentence: str, suffix=""):
         model = self.model
         kwargs = {}
+        image_seq_length = None
         if self.config.model_type in PROCESSOR_MAPPING_NAMES:
             img = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg?download=true"
             img = Image.open(requests.get(img, stream=True).raw)
Repository: nodejs/node
Pull request: tools: switch back to official OpenSSL

Change `tools/dep_updaters/update-openssl.sh` to fetch updates from
official OpenSSL.

Refs: https://github.com/nodejs/node/pull/57142

---

I was intending to test this in https://github.com/nodejs/node-auto-test but ran into some sort of branch protection rule that prevented me from pushing to main there.

I'll open another draft PR with the results of running the update script locally so we can test CI with the resultant replaced `deps/openssl`.

Changed files:
filename: tools/dep_updaters/update-openssl.sh
patch: @@ -11,10 +11,10 @@ cleanup() {
 
 download() {
   LATEST_TAG_NAME="$("$NODE" --input-type=module <<'EOF'
-const res = await fetch('https://api.github.com/repos/quictls/openssl/git/matching-refs/tags/openssl-3.0');
+const res = await fetch('https://api.github.com/repos/openssl/openssl/git/matching-refs/tags/openssl-3.0');
 if (!res.ok) throw new Error(`FetchError: ${res.status} ${res.statusText}`, { cause: res });
 const releases = await res.json()
-const latest = releases.findLast(({ ref }) => ref.includes('quic'));
+const latest = releases.at(-1);
 if(!latest) throw new Error(`Could not find latest release`);
 console.log(latest.ref.replace('refs/tags/',''));
 EOF
@@ -39,14 +39,14 @@ EOF
 
   OPENSSL_TARBALL="openssl.tar.gz"
 
-  curl -sL -o "$OPENSSL_TARBALL" "https://api.github.com/repos/quictls/openssl/tarball/$LATEST_TAG_NAME"
+  curl -sL -o "$OPENSSL_TARBALL" "https://api.github.com/repos/openssl/openssl/tarball/$LATEST_TAG_NAME"
 
   log_and_verify_sha256sum "openssl" "$OPENSSL_TARBALL"
 
   gzip -dc "$OPENSSL_TARBALL" | tar xf -
 
   rm "$OPENSSL_TARBALL"
-  mv quictls-openssl-* openssl
+  mv openssl-openssl-* openssl
   echo "Replacing existing OpenSSL..."
   rm -rf "$DEPS_DIR/openssl/openssl"
   mv "$WORKSPACE/openssl" "$DEPS_DIR/openssl/"
@@ -56,7 +56,7 @@ EOF
   echo "Please git add openssl, and commit the new version:"
   echo ""
   echo "$ git add -A deps/openssl/openssl"
-  echo "$ git commit -m \"deps: upgrade openssl sources to quictls/openssl-$NEW_VERSION\""
+  echo "$ git commit -m \"deps: upgrade openssl sources to openssl/openssl-$NEW_VERSION\""
   echo ""
   # The last line of the script should always print the new version,
   # as we need to add it to $GITHUB_ENV variable.
Repository: ggml-org/llama.cpp
Pull request: cuda: remove linking to cublasLt

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*

The new MUSA SDK now includes `mublasLt` (the equivalent of `cublasLt`). However, I found that `llama.cpp` doesn't use any of the `cublasLt*` APIs. Therefore, this PR removes `cublasLt` from the build link dependencies.

```bash
# ldd /usr/local/lib/python3.12/dist-packages/nvidia/cublas/lib/libcublas.so.12
        linux-vdso.so.1 (0x00007ffc7b9d8000)
        libcublasLt.so.12 => /usr/local/lib/python3.12/dist-packages/nvidia/cublas/lib/libcublasLt.so.12 (0x00007fdf7cc00000)
        librt.so.1 => /usr/lib/x86_64-linux-gnu/librt.so.1 (0x00007fdfa1857000)
        libpthread.so.0 => /usr/lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdfa1852000)
        libdl.so.2 => /usr/lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdfa184d000)
        libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007fdfa1764000)
        libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fdfa1744000)
        libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007fdf7c9d7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdfa1865000)
```

Changed files:
filename: ggml/src/ggml-cuda/CMakeLists.txt
patch: @@ -102,12 +102,12 @@ if (CUDAToolkit_FOUND)
     if (GGML_STATIC)
         if (WIN32)
             # As of 12.3.1 CUDA Toolkit for Windows does not offer a static cublas library
-            target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas CUDA::cublasLt)
+            target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas)
         else ()
-            target_link_libraries(ggml-cuda PRIVATE  CUDA::cudart_static CUDA::cublas_static CUDA::cublasLt_static)
+            target_link_libraries(ggml-cuda PRIVATE  CUDA::cudart_static CUDA::cublas_static)
         endif()
     else()
-        target_link_libraries(ggml-cuda PRIVATE CUDA::cudart CUDA::cublas CUDA::cublasLt)
+        target_link_libraries(ggml-cuda PRIVATE CUDA::cudart CUDA::cublas)
     endif()
 
     if (GGML_CUDA_NO_VMM)
Repository: facebook/react
Pull request: [DevTools] fix local build for extension


## Summary

resolves #26051

After we upgrade to Manifest V3, the browser no longer allow us to run `eval` within the extension. It's not a problem for prod build, but for dev build, webpack has been using eval to inject the source map for devtool. This PR changes it to an alternative method.


Changed files:
filename: packages/react-devtools-extensions/webpack.backend.js
patch: @@ -36,7 +36,7 @@ const featureFlagTarget = process.env.FEATURE_FLAG_TARGET || 'extension-oss';
 
 module.exports = {
   mode: __DEV__ ? 'development' : 'production',
-  devtool: __DEV__ ? 'cheap-module-eval-source-map' : false,
+  devtool: __DEV__ ? 'cheap-module-source-map' : false,
   entry: {
     backend: './src/backend.js',
   },

filename: packages/react-devtools-extensions/webpack.config.js
patch: @@ -48,7 +48,7 @@ const babelOptions = {
 
 module.exports = {
   mode: __DEV__ ? 'development' : 'production',
-  devtool: __DEV__ ? 'cheap-module-eval-source-map' : false,
+  devtool: __DEV__ ? 'cheap-module-source-map' : false,
   entry: {
     background: './src/background.js',
     main: './src/main.js',
Repository: denoland/deno
Pull request: fix(lsp): support task object notation for tasks request

Fixes https://github.com/denoland/vscode_deno/issues/1211. Requires client-side change as well so 'Open task definition' works: https://github.com/denoland/vscode_deno/pull/1214. Also remove some old compat paths.

Changed files:
filename: cli/lsp/language_server.rs
patch: @@ -3781,14 +3781,11 @@ impl Inner {
   fn task_definitions(&self) -> LspResult<Vec<TaskDefinition>> {
     let mut result = vec![];
     for config_file in self.config.tree.config_files() {
-      if let Some(tasks) = json!(&config_file.json.tasks).as_object() {
-        for (name, value) in tasks {
-          let Some(command) = value.as_str() else {
-            continue;
-          };
+      if let Some(tasks) = config_file.to_tasks_config().ok().flatten() {
+        for (name, def) in tasks {
           result.push(TaskDefinition {
             name: name.clone(),
-            command: command.to_string(),
+            command: def.command.clone(),
             source_uri: url_to_uri(&config_file.specifier)
               .map_err(|_| LspError::internal_error())?,
           });

filename: cli/lsp/lsp_custom.rs
patch: @@ -14,8 +14,6 @@ pub const LATEST_DIAGNOSTIC_BATCH_INDEX: &str =
 #[serde(rename_all = "camelCase")]
 pub struct TaskDefinition {
   pub name: String,
-  // TODO(nayeemrmn): Rename this to `command` in vscode_deno.
-  #[serde(rename = "detail")]
   pub command: String,
   pub source_uri: lsp::Uri,
 }

filename: cli/lsp/mod.rs
patch: @@ -56,9 +56,6 @@ pub async fn start() -> Result<(), AnyError> {
     LanguageServer::performance_request,
   )
   .custom_method(lsp_custom::TASK_REQUEST, LanguageServer::task_definitions)
-  // TODO(nayeemrmn): Rename this to `deno/taskDefinitions` in vscode_deno and
-  // remove this alias.
-  .custom_method("deno/task", LanguageServer::task_definitions)
   .custom_method(testing::TEST_RUN_REQUEST, LanguageServer::test_run_request)
   .custom_method(
     testing::TEST_RUN_CANCEL_REQUEST,

filename: tests/integration/lsp_tests.rs
patch: @@ -1360,26 +1360,31 @@ fn lsp_deno_task() {
   let temp_dir = context.temp_dir();
   temp_dir.write(
     "deno.jsonc",
-    r#"{
-    "tasks": {
-      "build": "deno test"
-    }
-  }"#,
+    json!({
+      "tasks": {
+        "build": "deno test",
+        "serve": {
+          "description": "Start the dev server",
+          "command": "deno run -RN server.ts",
+        },
+      },
+    })
+    .to_string(),
   );
-
   let mut client = context.new_lsp_command().build();
-  client.initialize(|builder| {
-    builder.set_config("./deno.jsonc");
-  });
-
-  let res = client.write_request("deno/task", json!(null));
-
+  client.initialize_default();
+  let res = client.write_request("deno/taskDefinitions", json!(null));
   assert_eq!(
     res,
     json!([
       {
         "name": "build",
-        "detail": "deno test",
+        "command": "deno test",
+        "sourceUri": temp_dir.url().join("deno.jsonc").unwrap(),
+      },
+      {
+        "name": "serve",
+        "command": "deno run -RN server.ts",
         "sourceUri": temp_dir.url().join("deno.jsonc").unwrap(),
       }
     ])
Repository: ggml-org/llama.cpp
Pull request: opencl : fix im2col when KW!=KH

Followup to #14789

Changed files:
filename: ggml/src/ggml-opencl/kernels/im2col_f16.cl
patch: @@ -31,7 +31,7 @@ kernel void kernel_im2col_f16(
     src1 = (global float*)((global char*)src1 + offset1);
     dst = (global half*)((global char*)dst + offsetd);
 
-    long  ksize = OW * (KH > 1 ? KW : 1);
+    long  ksize = OW * KH;
     long  kx = i / ksize;
     long  kd = kx * ksize;
     long  ky = (i - kd) / OW;

filename: ggml/src/ggml-opencl/kernels/im2col_f32.cl
patch: @@ -31,7 +31,7 @@ kernel void kernel_im2col_f32(
     src1 = (global float*)((global char*)src1 + offset1);
     dst = (global float*)((global char*)dst + offsetd);
 
-    long  ksize = OW * (KH > 1 ? KW : 1);
+    long  ksize = OW * KH;
     long  kx = i / ksize;
     long  kd = kx * ksize;
     long  ky = (i - kd) / OW;
Repository: huggingface/transformers
Pull request: Remove `isort` from dependencies

# What does this PR do?
`isort` is no longer being used anywhere, it is replaced with ruff. So, I think it can be removed from dependencies.

References: https://docs.astral.sh/ruff/linter/#action-comments

## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#create-a-pull-request),
      Pull Request section?
- [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
      to it if that's the case.
- [ ] Did you make sure to update the documentation with your changes? Here are the
      [documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
      [here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
- [ ] Did you write any new necessary tests?


## Who can review?
@ydshieh @ArthurZucker 

Changed files:
filename: setup.py
patch: @@ -120,7 +120,6 @@
     "huggingface-hub>=0.30.0,<1.0",
     "importlib_metadata",
     "ipadic>=1.0.0,<2.0",
-    "isort>=5.5.4",
     "jax>=0.4.1,<=0.4.13",
     "jaxlib>=0.4.1,<=0.4.13",
     "jieba",
@@ -368,7 +367,7 @@ def run(self):
 
 extras["deepspeed-testing"] = extras["deepspeed"] + extras["testing"] + extras["optuna"] + extras["sentencepiece"]
 extras["ruff"] = deps_list("ruff")
-extras["quality"] = deps_list("datasets", "isort", "ruff", "GitPython", "urllib3", "libcst", "rich", "pandas")
+extras["quality"] = deps_list("datasets", "ruff", "GitPython", "urllib3", "libcst", "rich", "pandas")
 
 extras["all"] = (
     extras["tf"]

filename: src/transformers/dependency_versions_table.py
patch: @@ -27,7 +27,6 @@
     "huggingface-hub": "huggingface-hub>=0.30.0,<1.0",
     "importlib_metadata": "importlib_metadata",
     "ipadic": "ipadic>=1.0.0,<2.0",
-    "isort": "isort>=5.5.4",
     "jax": "jax>=0.4.1,<=0.4.13",
     "jaxlib": "jaxlib>=0.4.1,<=0.4.13",
     "jieba": "jieba",

filename: src/transformers/trainer.py
patch: @@ -38,12 +38,12 @@
 
 
 # Integrations must be imported before ML frameworks:
-# isort: off
+# ruff: isort: off
 from .integrations import (
     get_reporting_integration_callbacks,
 )
 
-# isort: on
+# ruff: isort: on
 
 import huggingface_hub.utils as hf_hub_utils
 import numpy as np

filename: tests/tokenization/test_tokenization_utils.py
patch: @@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 """
-isort:skip_file
+ruff: isort: skip_file
 """
 
 import os
Repository: denoland/deno
Pull request: fix(lsp): wasm file import completions

Fixes #26990.

Changed files:
filename: cli/util/path.rs
patch: @@ -27,7 +27,16 @@ pub fn is_importable_ext(path: &Path) -> bool {
   if let Some(ext) = get_extension(path) {
     matches!(
       ext.as_str(),
-      "ts" | "tsx" | "js" | "jsx" | "mjs" | "mts" | "cjs" | "cts" | "json"
+      "ts"
+        | "tsx"
+        | "js"
+        | "jsx"
+        | "mjs"
+        | "mts"
+        | "cjs"
+        | "cts"
+        | "json"
+        | "wasm"
     )
   } else {
     false
@@ -222,6 +231,7 @@ mod test {
     assert!(is_script_ext(Path::new("foo.cjs")));
     assert!(is_script_ext(Path::new("foo.cts")));
     assert!(!is_script_ext(Path::new("foo.json")));
+    assert!(!is_script_ext(Path::new("foo.wasm")));
     assert!(!is_script_ext(Path::new("foo.mjsx")));
   }
 
@@ -243,6 +253,7 @@ mod test {
     assert!(is_importable_ext(Path::new("foo.cjs")));
     assert!(is_importable_ext(Path::new("foo.cts")));
     assert!(is_importable_ext(Path::new("foo.json")));
+    assert!(is_importable_ext(Path::new("foo.wasm")));
     assert!(!is_importable_ext(Path::new("foo.mjsx")));
   }
Repository: facebook/react
Pull request: Add flow types to Maps in ReactNativeViewConfigRegistry.js

Need to add types to these two maps to unblock React Native sync.

Changed files:
filename: scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js
patch: @@ -34,8 +34,8 @@ const customDirectEventTypes: {
 exports.customBubblingEventTypes = customBubblingEventTypes;
 exports.customDirectEventTypes = customDirectEventTypes;
 
-const viewConfigCallbacks = new Map();
-const viewConfigs = new Map();
+const viewConfigCallbacks = new Map<string, ?() => ViewConfig>();
+const viewConfigs = new Map<string, ViewConfig>();
 
 function processEventTypes(viewConfig: ViewConfig): void {
   const {bubblingEventTypes, directEventTypes} = viewConfig;
Repository: nodejs/node
Pull request: stream: fix `sizeAlgorithm` validation in WritableStream

`sizeAlgorithm` seems to be set to `undefined` when the stream is closed as well. This patch adds the unchecked `closed` state to the assertion.

https://streams.spec.whatwg.org/#writable-stream-default-controller-process-close

> WritableStreamDefaultControllerProcessClose(controller) performs the following steps:
> 
>> 6. Perform ! WritableStreamDefaultControllerClearAlgorithms(controller).  <- Set `strategySizeAlgorithm` to undefined.
>> 7.1 Perform ! WritableStreamFinishInFlightClose(stream). <- Set stream.[[state]] to "closed".

Fixes: https://github.com/nodejs/node/issues/57272
Refs: https://github.com/nodejs/node/pull/56067



Changed files:
filename: lib/internal/webstreams/writablestream.js
patch: @@ -1181,7 +1181,9 @@ function writableStreamDefaultControllerGetChunkSize(controller, chunk) {
     sizeAlgorithm,
   } = controller[kState];
   if (sizeAlgorithm === undefined) {
-    assert(stream[kState].state === 'errored' || stream[kState].state === 'erroring');
+    assert(stream[kState].state === 'closed' ||
+           stream[kState].state === 'errored' ||
+           stream[kState].state === 'erroring');
     return 1;
   }
 

filename: test/parallel/test-whatwg-writablestream-close.js
patch: @@ -0,0 +1,29 @@
+'use strict';
+
+require('../common');
+const { test } = require('node:test');
+const assert = require('node:assert');
+
+// https://github.com/nodejs/node/issues/57272
+
+test('should throw error when writing after close', async (t) => {
+  const writable = new WritableStream({
+    write(chunk) {
+      console.log(chunk);
+    },
+  });
+
+  const writer = writable.getWriter();
+
+  await writer.write('Hello');
+  await writer.close();
+
+  await assert.rejects(
+    async () => {
+      await writer.write('World');
+    },
+    {
+      name: 'TypeError',
+    }
+  );
+});
Repository: denoland/deno
Pull request: fix(check): support jsdoc `@import` tag

* https://github.com/denoland/deno_graph/pull/544

Closes https://github.com/denoland/deno/issues/25516

Changed files:
filename: Cargo.lock
patch: @@ -1664,9 +1664,9 @@ dependencies = [
 
 [[package]]
 name = "deno_graph"
-version = "0.85.0"
+version = "0.85.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d097305aba3f119781fe82b4d5a85a1ad10c586a388ee4d754e5bf82901cc5c"
+checksum = "4c11027d9b4e9ff4f8bcb8316a1a5dd5241dc267380507e177457bc491696189"
 dependencies = [
  "anyhow",
  "async-trait",

filename: cli/Cargo.toml
patch: @@ -73,7 +73,7 @@ deno_cache_dir.workspace = true
 deno_config.workspace = true
 deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
 deno_doc = { version = "0.160.0", features = ["rust", "comrak"] }
-deno_graph = { version = "=0.85.0" }
+deno_graph = { version = "=0.85.1" }
 deno_lint = { version = "=0.68.0", features = ["docs"] }
 deno_lockfile.workspace = true
 deno_npm.workspace = true

filename: tests/specs/check/jsdoc_import_decl/__test__.jsonc
patch: @@ -0,0 +1,5 @@
+{
+  "args": "check --allow-import main.js",
+  "output": "check.out",
+  "exitCode": 1
+}

filename: tests/specs/check/jsdoc_import_decl/check.out
patch: @@ -0,0 +1,6 @@
+Download http://localhost:4545/add.ts
+Check file:///[WILDLINE]main.js
+error: TS2345 [ERROR]: Argument of type 'string' is not assignable to parameter of type '(a: number, b: number) => number'.
+addHere("");
+        ~~
+    at file:///[WILDLINE]main.js:12:9

filename: tests/specs/check/jsdoc_import_decl/main.js
patch: @@ -0,0 +1,12 @@
+// @ts-check
+
+/** @import { add } from "http://localhost:4545/add.ts" */
+
+/**
+ * @param {typeof add} myValue
+ */
+export function addHere(myValue) {
+  return myValue(1, 2);
+}
+
+addHere("");