helloadhavan/github_issues huggingface dataset:
Repository: nodejs/node
Pull request: doc: instantiate resolver object

<!--
Before submitting a pull request, please read:

- the CONTRIBUTING guide at https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md
- the commit message formatting guidelines at
  https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines

For code changes:
1. Include tests for any bug fixes or new features.
2. Update documentation if relevant.
3. Ensure that `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes.

If you believe this PR should be highlighted in the Node.js CHANGELOG
please add the `notable-change` label.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
-->

This pr fixes missing resolver instance in docs document.

Fixes: #60455 
Refs: https://nodejs.org/api/stream.html#readabletoarrayoptions

Changed files:
filename: doc/api/stream.md
patch: @@ -2315,6 +2315,8 @@ import { Resolver } from 'node:dns/promises';
 
 await Readable.from([1, 2, 3, 4]).toArray(); // [1, 2, 3, 4]
 
+const resolver = new Resolver();
+
 // Make dns queries concurrently using .map and collect
 // the results into an array using toArray
 const dnsResults = await Readable.from([
Repository: vuejs/vue
Pull request: Reuse no function from utils

A small change, reuse `no` function from shared/utils.

Changed files:
filename: src/compiler/optimizer.js
patch: @@ -1,6 +1,6 @@
 /* @flow */
 
-import { makeMap, isBuiltInTag, cached } from 'shared/util'
+import { makeMap, isBuiltInTag, cached, no } from 'shared/util'
 
 let isStaticKey
 let isPlatformReservedTag
@@ -21,7 +21,7 @@ const genStaticKeysCached = cached(genStaticKeys)
 export function optimize (root: ?ASTElement, options: CompilerOptions) {
   if (!root) return
   isStaticKey = genStaticKeysCached(options.staticKeys || '')
-  isPlatformReservedTag = options.isReservedTag || (() => false)
+  isPlatformReservedTag = options.isReservedTag || no
   // first pass: mark all non-static nodes.
   markStatic(root)
   // second pass: mark static roots.
Repository: ollama/ollama
Pull request: update chatml template format to latest

The chatml template format appears to be out of date in this template doc and the default chatml template we apply on conversion. Update these templates to match the most up to date version of this template.

Changed files:
filename: docs/template.md
patch: @@ -112,15 +112,9 @@ Keep the following tips and best practices in mind when working with Go template
 ChatML is a popular template format. It can be used for models such as Databrick's DBRX, Intel's Neural Chat, and Microsoft's Orca 2.
 
 ```gotmpl
-{{- if .System }}
system
-{{ .System }}

-{{ end }}
 {{- range .Messages }}
{{ .Role }}
 {{ .Content }}

 {{ end }}
assistant
-{{ else }}
-{{ if .System }}
system
-{{ .System }}

 ```
 
 ### Example Tools
Repository: vuejs/vue
Pull request: Avoid to drop scope id by applying global mixin

Fix #4266

This PR fixes the problem that `_scopeId` will be dropped after applying global mixin.
reproduction: https://jsfiddle.net/tutjybnv/

Looks like same problem as vuejs/vue-loader#433

Changed files:
filename: src/core/instance/init.js
patch: @@ -72,6 +72,7 @@ export function resolveConstructorOptions (Ctor: Class<Component>) {
       Ctor.superOptions = superOptions
       extendOptions.render = options.render
       extendOptions.staticRenderFns = options.staticRenderFns
+      extendOptions._scopeId = options._scopeId
       options = Ctor.options = mergeOptions(superOptions, extendOptions)
       if (options.name) {
         options.components[options.name] = Ctor

filename: test/unit/features/global-api/mixin.spec.js
patch: @@ -70,4 +70,18 @@ describe('Global API: mixin', () => {
 
     expect(vm.$el.textContent).toBe('hello')
   })
+
+  // #4266
+  it('should not drop scopedId', () => {
+    const Test = Vue.extend({})
+    Test.options._scopeId = 'foo'
+
+    Vue.mixin({})
+
+    const vm = new Test({
+      template: '<div><p>hi<p></div>'
+    }).$mount()
+
+    expect(vm.$el.children[0].hasAttribute('foo')).toBe(true)
+  })
 })
Repository: electron/electron
Pull request: fix: enable shader-f16 on windows

Backport of #48342

See that PR for details.


Notes: Fixed shader-f16 to work on Windows.


Changed files:
filename: build/args/all.gn
patch: @@ -24,10 +24,6 @@ enable_printing = true
 angle_enable_vulkan_validation_layers = false
 dawn_enable_vulkan_validation_layers = false
 
-# Removes dxc dll's that are only used experimentally.
-# See https://bugs.chromium.org/p/chromium/issues/detail?id=1474897
-dawn_use_built_dxc = false
-
 # These are disabled because they cause the zip manifest to differ between
 # testing and release builds.
 # See https://chromium-review.googlesource.com/c/chromium/src/+/2774898.

filename: script/zip_manifests/dist_zip.win.arm64.manifest
patch: @@ -8,6 +8,8 @@ ffmpeg.dll
 icudtl.dat
 libEGL.dll
 libGLESv2.dll
+dxil.dll
+dxcompiler.dll
 locales/af.pak
 locales/am.pak
 locales/ar.pak

filename: script/zip_manifests/dist_zip.win.x64.manifest
patch: @@ -8,6 +8,8 @@ ffmpeg.dll
 icudtl.dat
 libEGL.dll
 libGLESv2.dll
+dxil.dll
+dxcompiler.dll
 locales/af.pak
 locales/am.pak
 locales/ar.pak
Repository: vercel/next.js
Pull request: `next analyze`: Make ipv6 server links valid and normalize localhost

The current implementation doesn't properly format IPv6 addresses, which means URLs aren't valid. 

- Added specific handling for IPv6 localhost addresses (`::`/`::1`) to display as `localhost:port` for display
- Added proper IPv6 address formatting with square brackets: `[IPv6Address]:port`
- Maintained existing handling for IPv4 addresses and string addresses

Fixes PACK-5874

Changed files:
filename: packages/next/src/build/analyze/index.ts
patch: @@ -77,9 +77,11 @@ export default async function analyze({
       await turbopackAnalyze(analyzeContext)
 
     const durationString = durationToString(analyzeDuration)
-    Log.event(
-      `Analyze data created successfully in ${durationString}. To explore it, run \`next experimental-analyze --serve\`.`
-    )
+    let logMessage = `Analyze completed in ${durationString}.`
+    if (!serve) {
+      logMessage += ` To explore the analyze results, run \`next experimental-analyze --serve\`.`
+    }
+    Log.event(logMessage)
 
     await shutdownPromise
 
@@ -238,8 +240,15 @@ function startServer(dir: string, port: number): Promise<void> {
       let addressString
       if (typeof address === 'string') {
         addressString = address
+      } else if (
+        address.family === 'IPv6' &&
+        (address.address === '::' || address.address === '::1')
+      ) {
+        addressString = `localhost:${address.port}`
+      } else if (address.family === 'IPv6') {
+        addressString = `[${address.address}]:${address.port}`
       } else {
-        addressString = `${address.address === '::' ? 'localhost' : address.address}:${address.port}`
+        addressString = `${address.address}:${address.port}`
       }
 
       Log.info(`Bundle analyzer available at http://${addressString}`)
Repository: vercel/next.js
Pull request: Turbopack: allow trace level tracing

### What?

allow trace level tracing on release builds too

Changed files:
filename: packages/next-swc/package.json
patch: @@ -8,10 +8,10 @@
   "scripts": {
     "clean": "node ../../scripts/rm.mjs native",
     "build-native": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --features plugin,image-extended --js false native",
-    "build-native-release": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --release --features plugin,image-extended,tracing/release_max_level_info --js false native",
-    "build-native-release-with-assertions": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --profile release-with-assertions --features plugin,image-extended,tracing/release_max_level_info --js false native",
+    "build-native-release": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --release --features plugin,image-extended,tracing/release_max_level_trace --js false native",
+    "build-native-release-with-assertions": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --profile release-with-assertions --features plugin,image-extended,tracing/release_max_level_trace --js false native",
     "build-native-no-plugin": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --features image-webp --js false native",
-    "build-native-no-plugin-release": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --release --features image-webp,tracing/release_max_level_info --js false native",
+    "build-native-no-plugin-release": "napi build --platform -p next-swc-napi --cargo-cwd ../../ --cargo-name next_swc_napi --release --features image-webp,tracing/release_max_level_trace --js false native",
     "build-native-wasi": "npx --package=@napi-rs/cli@3.0.0-alpha.45 napi build --platform --target wasm32-wasip1-threads -p next-swc-napi --cwd ../../ --output-dir packages/next-swc/native --no-default-features",
     "build-wasm": "wasm-pack build ../../crates/wasm --scope=next",
     "cache-build-native": "[ -d native ] && echo $(ls native)",
Repository: vercel/next.js
Pull request: Turbopack: bundle-analyzer need to avoid using the local next.js build

### What?

Next build breaks when the API doesn't match.

Changed files:
filename: apps/bundle-analyzer/package.json
patch: @@ -3,10 +3,10 @@
   "version": "16.0.2-canary.16",
   "private": true,
   "scripts": {
-    "build": "next build --no-mangling",
-    "dev": "next dev",
+    "build": "cross-env NEXT_TEST_NATIVE_DIR=no next build --no-mangling",
+    "dev": "cross-env NEXT_TEST_NATIVE_DIR=no next dev",
     "lint": "eslint .",
-    "start": "next start"
+    "start": "cross-env NEXT_TEST_NATIVE_DIR=no next start"
   },
   "dependencies": {
     "@radix-ui/react-dialog": "1.1.4",
@@ -32,6 +32,7 @@
     "@types/node": "^22",
     "@types/react": "^18",
     "@types/react-dom": "^18",
+    "cross-env": "10.1.0",
     "inliner": "1.13.1",
     "postcss": "^8.5",
     "tailwindcss": "^4.1.9",

filename: pnpm-lock.yaml
patch: @@ -682,6 +682,9 @@ importers:
       '@types/react-dom':
         specifier: 19.2.1
         version: 19.2.1(@types/react@19.2.2)
+      cross-env:
+        specifier: 10.1.0
+        version: 10.1.0
       inliner:
         specifier: 1.13.1
         version: 1.13.1
@@ -3056,6 +3059,9 @@ packages:
   '@emotion/weak-memoize@0.3.1':
     resolution: {integrity: sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==}
 
+  '@epic-web/invariant@1.0.0':
+    resolution: {integrity: sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==}
+
   '@es-joy/jsdoccomment@0.41.0':
     resolution: {integrity: sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==}
     engines: {node: '>=16'}
@@ -8508,6 +8514,11 @@ packages:
   critters@0.0.6:
     resolution: {integrity: sha512-NUB3Om7tkf+XWi9+2kJ2A3l4/tHORDI1UT+nHxUqay2B/tJvMpiXcklDDLBH3fPn9Pe23uu0we/08Ukjy4cLCQ==}
 
+  cross-env@10.1.0:
+    resolution: {integrity: sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==}
+    engines: {node: '>=20'}
+    hasBin: true
+
   cross-env@6.0.3:
     resolution: {integrity: sha512-+KqxF6LCvfhWvADcDPqo64yVIB31gv/jQulX2NGzKS/g3GEVz6/pt4wjHFtFWsHMddebWD/sDthJemzM4MaAag==}
     engines: {node: '>=8.0'}
@@ -19869,6 +19880,8 @@ snapshots:
 
   '@emotion/weak-memoize@0.3.1': {}
 
+  '@epic-web/invariant@1.0.0': {}
+
   '@es-joy/jsdoccomment@0.41.0':
     dependencies:
       comment-parser: 1.4.1
@@ -26235,6 +26248,11 @@ snapshots:
       parse5-htmlparser2-tree-adapter: 6.0.1
       pretty-bytes: 5.5.0
 
+  cross-env@10.1.0:
+    dependencies:
+      '@epic-web/invariant': 1.0.0
+      cross-spawn: 7.0.6
+
   cross-env@6.0.3:
     dependencies:
       cross-spawn: 7.0.3
Repository: ollama/ollama
Pull request: Update openai.md to remove extra checkbox for vision

The list has Vision twice- once checked, the other unchecked. I'm removing the second one, optimistically, but I haven't verified a vision model works yet. So maybe the first one should be removed instead?

Changed files:
filename: docs/openai.md
patch: @@ -182,7 +182,6 @@ curl http://localhost:11434/v1/embeddings \
 - [x] Reproducible outputs
 - [x] Vision
 - [x] Tools (streaming support coming soon)
-- [ ] Vision
 - [ ] Logprobs
 
 #### Supported request fields
Repository: electron/electron
Pull request: fix: enable shader-f16 on windows

#### Description of Change
fixed: #43567 
CC: @jkleinsc (I'm sorry if I'm wrong...)

This pull request modifies Electron to include the DirectX Shader Compiler DLL.
This enables shader-f16, which was previously unavailable on Windows.

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: Fixed shader-f16 to work on Windows.


Changed files:
filename: build/args/all.gn
patch: @@ -24,10 +24,6 @@ enable_printing = true
 angle_enable_vulkan_validation_layers = false
 dawn_enable_vulkan_validation_layers = false
 
-# Removes dxc dll's that are only used experimentally.
-# See https://bugs.chromium.org/p/chromium/issues/detail?id=1474897
-dawn_use_built_dxc = false
-
 # These are disabled because they cause the zip manifest to differ between
 # testing and release builds.
 # See https://chromium-review.googlesource.com/c/chromium/src/+/2774898.

filename: script/zip_manifests/dist_zip.win.arm64.manifest
patch: @@ -8,6 +8,8 @@ ffmpeg.dll
 icudtl.dat
 libEGL.dll
 libGLESv2.dll
+dxil.dll
+dxcompiler.dll
 locales/af.pak
 locales/am.pak
 locales/ar.pak

filename: script/zip_manifests/dist_zip.win.x64.manifest
patch: @@ -8,6 +8,8 @@ ffmpeg.dll
 icudtl.dat
 libEGL.dll
 libGLESv2.dll
+dxil.dll
+dxcompiler.dll
 locales/af.pak
 locales/am.pak
 locales/ar.pak
Repository: vuejs/vue
Pull request: Fix the type of VNodeComponentOptions.Ctor

As `Ctor` is actually a constructor, its type should be `typeof Vue`.

Changed files:
filename: types/vnode.d.ts
patch: @@ -24,7 +24,7 @@ export interface VNode {
 }
 
 export interface VNodeComponentOptions {
-  Ctor: Vue;
+  Ctor: typeof Vue;
   propsData?: Object;
   listeners?: Object;
   children?: VNodeChildren;
Repository: electron/electron
Pull request: ci: fix publish for macOS < 26.0

Backport of #48575

See that PR for details.


Notes: none

Changed files:
filename: build/args/all.gn
patch: @@ -19,6 +19,10 @@ proprietary_codecs = true
 
 enable_printing = true
 
+# Refs https://chromium-review.googlesource.com/c/chromium/src/+/6986517
+# CI is using MacOS 15.5 which doesn't have the required modulemaps.
+use_clang_modules = false
+
 # Removes DLLs from the build, which are only meant to be used for Chromium development.
 # See https://github.com/electron/electron/pull/17985
 angle_enable_vulkan_validation_layers = false
Repository: electron/electron
Pull request: ci: fix publish for macOS < 26.0

#### Description of Change

Refs https://chromium-review.googlesource.com/c/chromium/src/+/6986517

CI is using MacOS 15.5 which doesn't have the required modulemaps and blocks publishing on failure.

#### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [x] PR description included and stakeholders cc'd
- [x] `npm test` passes
- [x] [PR release notes](https://github.com/electron/clerk/blob/main/README.md) describe the change in a way relevant to app developers, and are [capitalized, punctuated, and past tense](https://github.com/electron/clerk/blob/main/README.md#examples).

#### Release Notes

Notes: none

Changed files:
filename: build/args/all.gn
patch: @@ -19,6 +19,10 @@ proprietary_codecs = true
 
 enable_printing = true
 
+# Refs https://chromium-review.googlesource.com/c/chromium/src/+/6986517
+# CI is using MacOS 15.5 which doesn't have the required modulemaps.
+use_clang_modules = false
+
 # Removes DLLs from the build, which are only meant to be used for Chromium development.
 # See https://github.com/electron/electron/pull/17985
 angle_enable_vulkan_validation_layers = false
Repository: ollama/ollama
Pull request: Go back to a pinned Go version

Go version 1.22.6 is triggering AV false positives, so go back to 1.22.5

Changed files:
filename: .github/workflows/release.yaml
patch: @@ -31,7 +31,7 @@ jobs:
           security set-keychain-settings -lut 3600 build.keychain
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - name: Build Darwin
         env:
@@ -87,7 +87,7 @@ jobs:
           write-host "plugin installed"
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - run: go get ./...
       - run: |
@@ -141,7 +141,7 @@ jobs:
           write-host "plugin installed"
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - name: 'Install ROCm'
         run: |
@@ -218,7 +218,7 @@ jobs:
           write-host "plugin installed"
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - name: 'Install CUDA'
         run: |
@@ -306,7 +306,7 @@ jobs:
           write-host "plugin installed"
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - run: go get
       - uses: actions/download-artifact@v4

filename: .github/workflows/test.yaml
patch: @@ -63,7 +63,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - run: go get ./...
       - run: |
@@ -163,7 +163,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - name: 'Install ROCm'
         run: |
@@ -200,7 +200,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - name: 'Install CUDA'
         run: |
@@ -255,7 +255,7 @@ jobs:
           submodules: recursive
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: false
       - run: |
           case ${{ matrix.arch }} in
@@ -297,7 +297,7 @@ jobs:
           submodules: recursive
       - uses: actions/setup-go@v5
         with:
-          go-version: "stable"
+          go-version-file: go.mod
           cache: true
       - run: |
           case ${{ matrix.arch }} in

filename: go.mod
patch: @@ -1,6 +1,6 @@
 module github.com/ollama/ollama
 
-go 1.22.0
+go 1.22.5
 
 require (
 	github.com/containerd/console v1.0.3
Repository: ggml-org/llama.cpp
Pull request: Bump cmake max version (needed for Windows on Snapdragon builds)

`arm64-windows-snapdragon-release` builds were failing due to an older policy in CMake.
We need 3.28 but bumping min version breaks CI on other platforms. 
Bumping min version via Presets doesn't work.
So bumping max version seems like a good compromise. 


Changed files:
filename: docs/backend/snapdragon/CMakeUserPresets.json
patch: @@ -1,10 +1,5 @@
 {
   "version": 5,
-  "cmakeMinimumRequired": {
-      "major": 3,
-      "minor": 28,
-      "patch": 0
-  },
   "configurePresets": [
     {
         "name": "arm64-android-snapdragon",

filename: docs/backend/snapdragon/windows.md
patch: @@ -128,7 +128,7 @@ However, additional settings are required for generating and signing HTP Ops lib
 > $env:HEXAGON_HTP_CERT="c:\Users\MyUsers\Certs\ggml-htp-v1.pfx"
 > $env:WINDOWS_SDK_BIN="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\arm64"
 
-> cmake --preset arm64-windows-snapdragon -B build-wos
+> cmake --preset arm64-windows-snapdragon-release -B build-wos
 ...
 > cmake --install build-wos --prefix pkg-snapdragon
 ```

filename: ggml/CMakeLists.txt
patch: @@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.14) # for add_link_options and implicit target directories.
+cmake_minimum_required(VERSION 3.14...3.28) # for add_link_options and implicit target directories.
 project("ggml" C CXX ASM)
 
 ### GGML Version