helloadhavan/github_issues huggingface dataset:
Repository: denoland/deno
Pull request: fix(ext/node): use ext/io stdio in WriteStream

This is the same issue as https://github.com/denoland/deno/pull/23044 but in `WriteStream`.

Adding a docusarus test in npm_smoke_tests repo.


Changed files:
filename: ext/node/polyfills/tty.js
patch: @@ -80,7 +80,7 @@ export class WriteStream extends Socket {
     if (fd > 2) throw new Error("Only fd 0, 1 and 2 are supported.");
 
     const tty = new TTY(
-      fd === 0 ? Deno.stdin : fd === 1 ? Deno.stdout : Deno.stderr,
+      fd === 0 ? io.stdin : fd === 1 ? io.stdout : io.stderr,
     );
 
     super({
Repository: denoland/deno
Pull request: fix(publish): handle definite assignment on ts private properties

* https://github.com/denoland/deno_graph/pull/436

Closes https://github.com/denoland/deno/issues/23334

Changed files:
filename: Cargo.lock
patch: @@ -1475,9 +1475,9 @@ dependencies = [
 
 [[package]]
 name = "deno_graph"
-version = "0.71.2"
+version = "0.71.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e6b15fb6eda0c3b03ec24ae7d3c4e7a9c561f8cfe79aa9a9c3abf2b0fc5a8b4"
+checksum = "cabf5260490373a0486862fc6edd87fe378e00c91d98ff94e2e7804e6ce6eff9"
 dependencies = [
  "anyhow",
  "async-trait",

filename: cli/Cargo.toml
patch: @@ -68,7 +68,7 @@ deno_config = "=0.15.0"
 deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
 deno_doc = { version = "=0.123.1", features = ["html"] }
 deno_emit = "=0.39.0"
-deno_graph = { version = "=0.71.2", features = ["tokio_executor"] }
+deno_graph = { version = "=0.71.3", features = ["tokio_executor"] }
 deno_lint = { version = "=0.58.2", features = ["docs"] }
 deno_lockfile.workspace = true
 deno_npm = "=0.17.0"
Repository: nodejs/node
Pull request: lib: test_runner#mock:timers respeced timeout_max behaviour

Fixes mock timers to respect native timeout behaviour. 

Closes https://github.com/nodejs/node/issues/55367

Changed files:
filename: lib/internal/test_runner/mock/mock_timers.js
patch: @@ -38,6 +38,8 @@ const {
   },
 } = require('internal/errors');
 
+const { TIMEOUT_MAX } = require('internal/timers');
+
 const PriorityQueue = require('internal/priority_queue');
 const nodeTimers = require('timers');
 const nodeTimersPromises = require('timers/promises');
@@ -288,6 +290,10 @@ class MockTimers {
   }
 
   #createTimer(isInterval, callback, delay, ...args) {
+    if (delay > TIMEOUT_MAX) {
+      delay = 1;
+    }
+
     const timerId = this.#currentTimer++;
     const opts = {
       __proto__: null,

filename: test/parallel/test-runner-mock-timers.js
patch: @@ -251,6 +251,22 @@ describe('Mock Timers Test Suite', () => {
           done();
         }), timeout);
       });
+
+      it('should change timeout to 1ms when it is >= 2 ** 31', (t) => {
+        t.mock.timers.enable({ apis: ['setTimeout'] });
+        const fn = t.mock.fn();
+        global.setTimeout(fn, 2 ** 31);
+        t.mock.timers.tick(1);
+        assert.strictEqual(fn.mock.callCount(), 1);
+      });
+
+      it('should change the delay to one if timeout < 0', (t) => {
+        t.mock.timers.enable({ apis: ['setTimeout'] });
+        const fn = t.mock.fn();
+        global.setTimeout(fn, -1);
+        t.mock.timers.tick(1);
+        assert.strictEqual(fn.mock.callCount(), 1);
+      });
     });
 
     describe('clearTimeout Suite', () => {
Repository: denoland/deno
Pull request: fix(publish): incorrect type checking error for rest parameter in an overload

* https://github.com/denoland/deno_graph/pull/435

Closes https://github.com/denoland/deno/issues/23338

Changed files:
filename: Cargo.lock
patch: @@ -1442,9 +1442,9 @@ dependencies = [
 
 [[package]]
 name = "deno_graph"
-version = "0.71.1"
+version = "0.71.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "198e0be3da5754b2c1bc6e4c53280c79ca101eb9065f98db8fbae423c64edae5"
+checksum = "0e6b15fb6eda0c3b03ec24ae7d3c4e7a9c561f8cfe79aa9a9c3abf2b0fc5a8b4"
 dependencies = [
  "anyhow",
  "async-trait",
@@ -7362,7 +7362,7 @@ dependencies = [
  "codespan-reporting",
  "log",
  "naga",
- "parking_lot 0.12.1",
+ "parking_lot 0.11.2",
  "profiling",
  "raw-window-handle",
  "ron",
@@ -7403,7 +7403,7 @@ dependencies = [
  "naga",
  "objc",
  "once_cell",
- "parking_lot 0.12.1",
+ "parking_lot 0.11.2",
  "profiling",
  "range-alloc",
  "raw-window-handle",

filename: cli/Cargo.toml
patch: @@ -68,7 +68,7 @@ deno_config = "=0.15.0"
 deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
 deno_doc = { version = "=0.123.1", features = ["html"] }
 deno_emit = "=0.39.0"
-deno_graph = { version = "=0.71.1", features = ["tokio_executor"] }
+deno_graph = { version = "=0.71.2", features = ["tokio_executor"] }
 deno_lint = { version = "=0.58.2", features = ["docs"] }
 deno_lockfile.workspace = true
 deno_npm = "=0.17.0"
Repository: ggml-org/llama.cpp
Pull request: CUDA: fix logic for V100 + GGML_CUDA_FORCE_MMQ

Fixes https://github.com/LostRuins/koboldcpp/issues/1390 .

The logic for the combination of V100s and `GGML_CUDA_FORCE_MMQ` seems to be wrong on master. By default, when compiling without `GGML_CUDA_FORCE_MMQ`, the MMQ kernels should only be compiled for batch sizes up to `MMQ_DP4A_MAX_BATCH_SIZE` if FP16 tensor core hardware is available but int8 tensor core hardware is not (basically only V100s). Template specializations for higher batch sizes will never be used. However, the condition for this seems to have been inverted. Without `GGML_CUDA_FORCE_MMQ` unneeded template specializations were being compiled and with it the host code could attempt to run nonexistent kernels.

Changed files:
filename: ggml/src/ggml-cuda/mmq.cuh
patch: @@ -109,9 +109,9 @@ static constexpr __device__ int get_mmq_x_max_device() {
 
 #if __CUDA_ARCH__ >= GGML_CUDA_CC_VOLTA
 #ifdef GGML_CUDA_FORCE_MMQ
-    return MMQ_DP4A_MAX_BATCH_SIZE;
-#else // GGML_CUDA_FORCE_MMQ
     return 128;
+#else // GGML_CUDA_FORCE_MMQ
+    return MMQ_DP4A_MAX_BATCH_SIZE;
 #endif // GGML_CUDA_FORCE_MMQ
 #else // __CUDA_ARCH__ >= GGML_CUDA_CC_VOLTA
Repository: nodejs/node
Pull request: build: fix make errors that occur in Makefile

### Fix make errors that occur in Makefile
fix make errors that occur in coverage-clean case and coverage-test case in Makefile 
Closes https://github.com/nodejs/node/issues/55288

AS-IS
![image](https://github.com/user-attachments/assets/0aeb5a4a-c3e6-44d3-9f84-c42e715add1c)

To-BE
![image](https://github.com/user-attachments/assets/0cc7bde3-3c9d-48e6-881f-c190b3ff4905)




Changed files:
filename: Makefile
patch: @@ -243,7 +243,7 @@ coverage-clean: ## Remove coverage artifacts.
 	$(RM) -r coverage/tmp
 	@if [ -d "out/Release/obj.target" ]; then \
 		$(FIND) out/$(BUILDTYPE)/obj.target \( -name "*.gcda" -o -name "*.gcno" \) \
-			-type f -exec $(RM) {};\
+			-type f | xargs $(RM); \
 	fi
 
 .PHONY: coverage
@@ -269,7 +269,7 @@ coverage-build-js: ## Build JavaScript coverage files.
 .PHONY: coverage-test
 coverage-test: coverage-build ## Run the tests and generate a coverage report.
 	@if [ -d "out/Release/obj.target" ]; then \
-		$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f -exec $(RM) {}; \
+		$(FIND) out/$(BUILDTYPE)/obj.target -name "*.gcda" -type f | xargs $(RM); \
 	fi
 	-NODE_V8_COVERAGE=coverage/tmp \
 		TEST_CI_ARGS="$(TEST_CI_ARGS) --type=coverage" $(MAKE) $(COVTESTS)
Repository: denoland/deno
Pull request: test(compile): dynamic JSR imports are working correctly

Adds a test that ensure that dynamic import from JSR are working
correctly for `deno compile`.

Changed files:
filename: tests/integration/compile_tests.rs
patch: @@ -1243,3 +1243,29 @@ fn standalone_config_file_respects_compiler_options() {
   output.assert_exit_code(0);
   output.assert_matches_text("[WILDCARD]C.test() called[WILDCARD]");
 }
+
+#[test]
+fn standalone_jsr_dynamic_import() {
+  let context = TestContextBuilder::for_jsr().build();
+  let dir = context.temp_dir();
+  let exe = if cfg!(windows) {
+    dir.path().join("jsr_dynamic_import.exe")
+  } else {
+    dir.path().join("jsr_dynamic_import")
+  };
+  context
+    .new_command()
+    .args_vec([
+      "compile",
+      "--output",
+      &exe.to_string_lossy(),
+      "./compile/jsr_dynamic_import/main.ts",
+    ])
+    .run()
+    .skip_output_check()
+    .assert_exit_code(0);
+  let output = context.new_command().name(&exe).run();
+
+  output.assert_exit_code(0);
+  output.assert_matches_text("Hello world\n");
+}

filename: tests/testdata/compile/jsr_dynamic_import/main.ts
patch: @@ -0,0 +1,2 @@
+await import("jsr:@denotest/add");
+console.log("Hello world");
Repository: huggingface/transformers
Pull request: guard torch version for uint16

# What does this PR do?

Fixes https://github.com/huggingface/transformers/issues/36472#issuecomment-2695005664 
torch.uint16, torch.uint32, torch.uint64 are available only for torch>=2.3. See https://github.com/pytorch/vision/issues/8359

Changed files:
filename: src/transformers/modeling_utils.py
patch: @@ -522,17 +522,19 @@ def load_sharded_checkpoint(model, folder, strict=True, prefer_safe=True):
     "U8": torch.uint8,
     "I8": torch.int8,
     "I16": torch.int16,
-    "U16": torch.uint16,
     "F16": torch.float16,
     "BF16": torch.bfloat16,
     "I32": torch.int32,
-    "U32": torch.uint32,
     "F32": torch.float32,
     "F64": torch.float64,
     "I64": torch.int64,
-    "U64": torch.uint64,
 }
 
+if is_torch_greater_or_equal("2.3.0"):
+    str_to_torch_dtype["U16"] = torch.uint16
+    str_to_torch_dtype["U32"] = torch.uint32
+    str_to_torch_dtype["U64"] = torch.uint64
+
 
 def load_state_dict(
     checkpoint_file: Union[str, os.PathLike],
Repository: vercel/next.js
Pull request: with-polyfills example: only link to specific browsers

Previously, this example named specific browsers, including IE 11 which is no longer supported by default. This now links to the corresponding docs page that lists what’s currently supported.

I couldn’t find any other examples of this in the codebase.


Closes PACK-4175

Changed files:
filename: examples/with-polyfills/README.md
patch: @@ -1,6 +1,6 @@
 # With Polyfills
 
-Next.js supports IE11 and all modern browsers (Edge, Firefox, Chrome, Safari, Opera, et al) with no required configuration. It also adds [some polyfills](https://nextjs.org/docs/architecture/supported-browsers#polyfills) by default.
+Next.js supports [modern browsers](https://nextjs.org/docs/architecture/supported-browsers) with no required configuration. It also adds [some polyfills](https://nextjs.org/docs/architecture/supported-browsers#polyfills) by default.
 
 If your own code or any external npm dependencies require features not supported by your target browsers, you need to add polyfills yourself.
Repository: huggingface/transformers
Pull request: [save_pretrained ] Skip collecting duplicated weight

# What does this PR do?

Many weight in sub moduoles are collected multiple times. It's useless and time-wasting. Sometimes it even induces some issue when CPU/disk offload is enabled.


<!-- Remove if not applicable -->

Fixes # (issue)


## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] 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?




@Rocketknight1 @ArthurZucker


Changed files:
filename: src/transformers/modeling_utils.py
patch: @@ -3071,6 +3071,9 @@ def save_pretrained(
                 # init state_dict for this shard
                 shard_state_dict = {name: "" for name in shard}
                 for module_name in shard:
+                    # skip to collect this weight again
+                    if shard_state_dict.get(module_name) != "":
+                        continue
                     module = module_map[module_name]
                     # update state dict with onloaded parameters
                     shard_state_dict = get_state_dict_from_offload(module, module_name, shard_state_dict)
Repository: vercel/next.js
Pull request: [backport] Update middleware request header 

Backports https://github.com/vercel/next.js/pull/77201 to v14 release branch

Changed files:
filename: packages/next/src/server/lib/router-server.ts
patch: @@ -149,6 +149,12 @@ export async function initialize(opts: {
   renderServer.instance =
     require('./render-server') as typeof import('./render-server')
 
+  const randomBytes = new Uint8Array(8)
+  crypto.getRandomValues(randomBytes)
+  const middlewareSubrequestId = Buffer.from(randomBytes).toString('hex')
+  ;(globalThis as any)[Symbol.for('@next/middleware-subrequest-id')] =
+    middlewareSubrequestId
+
   const requestHandlerImpl: WorkerRequestHandler = async (req, res) => {
     // internal headers should not be honored by the request handler
     if (!process.env.NEXT_PRIVATE_TEST_HEADERS) {

filename: packages/next/src/server/lib/server-ipc/utils.ts
patch: @@ -57,5 +57,16 @@ export const filterInternalHeaders = (
     if (INTERNAL_HEADERS.includes(header)) {
       delete headers[header]
     }
+
+    // If this request didn't origin from this session we filter
+    // out the "x-middleware-subrequest" header so we don't skip
+    // middleware incorrectly
+    if (
+      header === 'x-middleware-subrequest' &&
+      headers['x-middleware-subrequest-id'] !==
+        (globalThis as any)[Symbol.for('@next/middleware-subrequest-id')]
+    ) {
+      delete headers['x-middleware-subrequest']
+    }
   }
 }

filename: packages/next/src/server/web/sandbox/context.ts
patch: @@ -365,6 +365,10 @@ Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation`),
             store.headers.get('x-middleware-subrequest') ?? ''
           )
         }
+        init.headers.set(
+          'x-middleware-subrequest-id',
+          (globalThis as any)[Symbol.for('@next/middleware-subrequest-id')]
+        )
 
         const prevs =
           init.headers.get(`x-middleware-subrequest`)?.split(':') || []

filename: test/e2e/middleware-general/test/index.test.ts
patch: @@ -102,6 +102,19 @@ describe('Middleware Runtime', () => {
   }
 
   function runTests({ i18n }: { i18n?: boolean }) {
+    it('should filter request header properly', async () => {
+      const res = await next.fetch('/redirect-to-somewhere', {
+        headers: {
+          'x-middleware-subrequest':
+            'middleware:middleware:middleware:middleware:middleware',
+        },
+        redirect: 'manual',
+      })
+
+      expect(res.status).toBe(307)
+      expect(res.headers.get('location')).toContain('/somewhere')
+    })
+
     it('should handle 404 on fallback: false route correctly', async () => {
       const res = await next.fetch('/ssg-fallback-false/first')
       expect(res.status).toBe(200)
Repository: ggml-org/llama.cpp
Pull request: CANN: Fix build error with GCC 13

Remove unused header file that causes compilation failure on ARM platform with GCC 13.

*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR*


Changed files:
filename: ggml/src/ggml-cann/kernels/dup.cpp
patch: @@ -1,7 +1,5 @@
 #include "kernel_operator.h"
 
-#include <cmath>
-
 using namespace AscendC;
 
 #define BUFFER_NUM 2
@@ -183,7 +181,7 @@ extern "C" __global__ __aicore__ void ascendc_dup_by_rows_fp32(
     copy_to_ub(output_ne_gm, output_ne_ub, 32);
     copy_to_ub(output_nb_gm, output_nb_ub, 32);
 
-    DupByRows<float_t, float_t> op;
+    DupByRows<float, float> op;
     op.init(src_gm, dst_gm, input_ne_ub, input_nb_ub);
     op.dup();
 }
@@ -206,7 +204,7 @@ extern "C" __global__ __aicore__ void ascendc_dup_by_rows_fp32_to_fp16(
     copy_to_ub(output_ne_gm, output_ne_ub, 32);
     copy_to_ub(output_nb_gm, output_nb_ub, 32);
 
-    DupByRows<float_t, half> op;
+    DupByRows<float, half> op;
     op.init(src_gm, dst_gm, input_ne_ub, input_nb_ub);
     op.dup_with_cast();
 }
@@ -230,7 +228,7 @@ extern "C" __global__ __aicore__ void ascendc_dup_by_rows_fp16_to_fp32(
     copy_to_ub(output_ne_gm, output_ne_ub, 32);
     copy_to_ub(output_nb_gm, output_nb_ub, 32);
 
-    DupByRows<half, float_t> op;
+    DupByRows<half, float> op;
     op.init(src_gm, dst_gm, input_ne_ub, input_nb_ub);
     op.dup_with_cast();
 }
Repository: electron/electron
Pull request: build: update appveyor image to latest version

Backport of #42771

See that PR for details.


Notes: none

Changed files:
filename: appveyor-woa.yml
patch: @@ -29,7 +29,7 @@
 
 version: 1.0.{build}
 build_cloud: electronhq-16-core
-image: e-128.0.6558.0
+image: e-128.0.6571.0
 environment:
   GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
   ELECTRON_OUT_DIR: Default

filename: appveyor.yml
patch: @@ -29,7 +29,7 @@
 
 version: 1.0.{build}
 build_cloud: electronhq-16-core
-image: e-128.0.6558.0
+image: e-128.0.6571.0
 environment:
   GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
   ELECTRON_OUT_DIR: Default
Repository: vercel/next.js
Pull request: Update default allowed origins list

Per feedback in https://github.com/vercel/next.js/pull/76880 this ensures we ocnsider `*.localhost` as allowed by default for the dev origins list. 

Changed files:
filename: packages/next/src/server/lib/router-server.ts
patch: @@ -172,7 +172,11 @@ export async function initialize(opts: {
   ;(globalThis as any)[Symbol.for('@next/middleware-subrequest-id')] =
     middlewareSubrequestId
 
-  const allowedOrigins = ['localhost', ...(config.allowedDevOrigins || [])]
+  const allowedOrigins = [
+    '*.localhost',
+    'localhost',
+    ...(config.allowedDevOrigins || []),
+  ]
   if (opts.hostname) {
     allowedOrigins.push(opts.hostname)
   }
Repository: denoland/deno
Pull request: fix(lsp): Denormalize specifiers before calling `$projectChanged`

Fixes the regression described in https://github.com/denoland/deno/pull/23293#issuecomment-2049819724. This affected jupyter notebooks, as the LSP was passing in already denormalized specifiers, while the jupyter kernel was not. We need to denormalize the specifiers to evict the proper keys from our caches.

Changed files:
filename: cli/lsp/tsc.rs
patch: @@ -303,6 +303,10 @@ impl TsServer {
     new_project_version: String,
     config_changed: bool,
   ) {
+    let modified_scripts = modified_scripts
+      .iter()
+      .map(|(spec, change)| (self.specifier_map.denormalize(spec), change))
+      .collect::<Vec<_>>();
     let req = TscRequest {
       method: "$projectChanged",
       args: json!([modified_scripts, new_project_version, config_changed,]),
Repository: facebook/react
Pull request: DevTools console patching should handle Symbols without erroring

Resolves #21332

Changed files:
filename: packages/react-devtools-shared/src/__tests__/console-test.js
patch: @@ -453,4 +453,16 @@ describe('console', () => {
       '\n    in Child (at **)\n    in Intermediate (at **)\n    in Parent (at **)',
     );
   });
+
+  it('should correctly log Symbols', () => {
+    const Component = ({children}) => {
+      fakeConsole.warn('Symbol:', Symbol(''));
+      return null;
+    };
+
+    act(() => ReactDOM.render(<Component />, document.createElement('div')));
+
+    expect(mockWarn).toHaveBeenCalledTimes(1);
+    expect(mockWarn.mock.calls[0][0]).toBe('Symbol:');
+  });
 });

filename: packages/react-devtools-shared/src/backend/console.js
patch: @@ -144,7 +144,7 @@ export function patch({
         if (consoleSettingsRef.appendComponentStack) {
           const lastArg = args.length > 0 ? args[args.length - 1] : null;
           const alreadyHasComponentStack =
-            lastArg !== null && isStringComponentStack(lastArg);
+            typeof lastArg === 'string' && isStringComponentStack(lastArg);
 
           // If we are ever called with a string that already has a component stack,
           // e.g. a React error/warning, don't append a second stack.

filename: packages/react-devtools-shell/src/app/InlineWarnings/index.js
patch: @@ -149,6 +149,12 @@ function ComponentWithMissingKey({children}) {
   return [<div />];
 }
 
+function ComponentWithSymbolWarning() {
+  console.warn('this is a symbol', Symbol('foo'));
+  console.error('this is a symbol', Symbol.for('bar'));
+  return null;
+}
+
 export default function ErrorsAndWarnings() {
   const [count, setCount] = useState(0);
   const handleClick = () => setCount(count + 1);
@@ -176,6 +182,7 @@ export default function ErrorsAndWarnings() {
       <ReallyLongErrorMessageThatWillCauseTextToBeTruncated />
       <DuplicateWarningsAndErrors />
       <MultipleWarningsAndErrors />
+      <ComponentWithSymbolWarning />
     </Fragment>
   );
 }
Repository: electron/electron
Pull request: build: update appveyor image to latest version

This PR updates appveyor.yml to the latest baked image, e-128.0.6571.0.

Notes: none

Changed files:
filename: appveyor-woa.yml
patch: @@ -29,7 +29,7 @@
 
 version: 1.0.{build}
 build_cloud: electronhq-16-core
-image: e-128.0.6558.0
+image: e-128.0.6571.0
 environment:
   GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
   ELECTRON_OUT_DIR: Default

filename: appveyor.yml
patch: @@ -29,7 +29,7 @@
 
 version: 1.0.{build}
 build_cloud: electronhq-16-core
-image: e-128.0.6558.0
+image: e-128.0.6571.0
 environment:
   GIT_CACHE_PATH: C:\Users\appveyor\libcc_cache
   ELECTRON_OUT_DIR: Default
Repository: electron/electron
Pull request: fix: dangling raw_ptr ElectronBrowserContext::extension_system_

Backport of #42785

See that PR for details.


Notes: none

Changed files:
filename: shell/browser/electron_browser_context.cc
patch: @@ -372,6 +372,10 @@ ElectronBrowserContext::ElectronBrowserContext(
 ElectronBrowserContext::~ElectronBrowserContext() {
   DCHECK_CURRENTLY_ON(BrowserThread::UI);
   NotifyWillBeDestroyed();
+
+  // the DestroyBrowserContextServices() call below frees this.
+  extension_system_ = nullptr;
+
   // Notify any keyed services of browser context destruction.
   BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices(
       this);
Repository: denoland/deno
Pull request: perf(lsp): replace document registry source cache on update

Fixes redundant calls to `op_resolve()` for unchanged modules.

Changed files:
filename: cli/tsc/99_main_compiler.js
patch: @@ -304,6 +304,7 @@ delete Object.prototype.__proto__;
             /** @type {ts.IScriptSnapshot} */ (sourceFile.scriptSnapShot),
           ),
         );
+        documentRegistrySourceFileCache.set(mapKey, sourceFile);
       }
       return sourceFile;
     },
Repository: vercel/next.js
Pull request: Ensure deploymentId is used for CSS preloads

This just ensures we use the deployment ID if configured for preload CSS links. 

x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1742146672858189)

Changed files:
filename: packages/next/src/shared/lib/lazy-dynamic/preload-chunks.tsx
patch: @@ -37,10 +37,14 @@ export function PreloadChunks({
     return null
   }
 
+  const dplId = process.env.NEXT_DEPLOYMENT_ID
+    ? `?dpl=${process.env.NEXT_DEPLOYMENT_ID}`
+    : ''
+
   return (
     <>
       {allFiles.map((chunk) => {
-        const href = `${workStore.assetPrefix}/_next/${encodeURIPath(chunk)}`
+        const href = `${workStore.assetPrefix}/_next/${encodeURIPath(chunk)}${dplId}`
         const isCss = chunk.endsWith('.css')
         // If it's stylesheet we use `precedence` o help hoist with React Float.
         // For stylesheets we actually need to render the CSS because nothing else is going to do it so it needs to be part of the component tree.