helloadhavan/github_issues huggingface dataset:
Repository: facebook/react
Pull request: Update Flow to 0.247

`$Call` was removed.

Changed files:
filename: .eslintrc.js
patch: @@ -547,7 +547,6 @@ module.exports = {
   },
 
   globals: {
-    $Call: 'readonly',
     $ElementType: 'readonly',
     $Flow$ModuleRef: 'readonly',
     $FlowFixMe: 'readonly',

filename: package.json
patch: @@ -72,8 +72,8 @@
     "eslint-plugin-react-internal": "link:./scripts/eslint-rules",
     "fbjs-scripts": "^3.0.1",
     "filesize": "^6.0.1",
-    "flow-bin": "^0.246",
-    "flow-remove-types": "^2.246",
+    "flow-bin": "^0.247",
+    "flow-remove-types": "^2.247",
     "glob": "^7.1.6",
     "glob-stream": "^6.1.0",
     "google-closure-compiler": "^20230206.0.0",

filename: packages/react-devtools-shared/src/hooks/parseHookNames/loadSourceAndMetadata.js
patch: @@ -134,7 +134,7 @@ function decodeBase64String(encoded: string): Object {
 
 function extractAndLoadSourceMapJSON(
   locationKeyToHookSourceAndMetadata: LocationKeyToHookSourceAndMetadata,
-): Promise<Array<$Call<<T>(p: Promise<T> | T) => T, Promise<void>>>> {
+): Promise<mixed> {
   // Deduplicate fetches, since there can be multiple location keys per source map.
   const dedupedFetchPromises = new Map<string, Promise<$FlowFixMe>>();
 
@@ -461,7 +461,7 @@ function isUnnamedBuiltInHook(hook: HooksNode) {
 function loadSourceFiles(
   locationKeyToHookSourceAndMetadata: LocationKeyToHookSourceAndMetadata,
   fetchFileWithCaching: FetchFileWithCaching | null,
-): Promise<Array<$Call<<T>(p: Promise<T> | T) => T, Promise<void>>>> {
+): Promise<mixed> {
   // Deduplicate fetches, since there can be multiple location keys per file.
   const dedupedFetchPromises = new Map<string, Promise<$FlowFixMe>>();
 

filename: yarn.lock
patch: @@ -9101,12 +9101,12 @@ flatted@^3.2.9:
   resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
   integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
 
-flow-bin@^0.246:
-  version "0.246.0"
-  resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.246.0.tgz#d08a696e6f796c497f7a7e98b22057dd0df0c38d"
-  integrity sha512-RB0gaPxrehIE0WoUbUMKgX/XpaY55JbtBhNhix5WzKFIDmRTVojJa+EJEbrTlo2BWRAZnnqOl13wanHmWwb1eA==
+flow-bin@^0.247:
+  version "0.247.1"
+  resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.247.1.tgz#8c8d08fcee11ca43cbb6059edb9933a29bdedc57"
+  integrity sha512-03wwQ5kPW4CYqhXvxTseMs2v6QuVwCtifVkON2UUyDg6Jp1+CaQpLAZK+sFNzQOExKp0Yvoug+fZOUb33ARwHQ==
 
-flow-remove-types@^2.246:
+flow-remove-types@^2.247:
   version "2.279.0"
   resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.279.0.tgz#3a3388d9158eba0f82c40d80d31d9640b883a3f5"
   integrity sha512-bPFloMR/A2b/r/sIsf7Ix0LaMicCJNjwhXc4xEEQVzJCIz5u7C7XDaEOXOiqveKlCYK7DcBNn6R01Cbbc9gsYA==
Repository: nodejs/node
Pull request: doc: fix grammatical error in README.md

Corrected wording for clarity in README.

<!--
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.
-->
### Description
This PR fixes a minor grammatical error in the "Verifying binaries" section of the README.

- **Before**: "commands to how to"
- **After**: "commands on how to"

This change improves the readability of the documentation.

### Checklist
- [x] I have read the [contributing guide](https://github.com/nodejs/node/blob/HEAD/CONTRIBUTING.md).
- [x] My change is a doc fix and doesn't require code tests.

Changed files:
filename: README.md
patch: @@ -105,7 +105,7 @@ curl -fsLo "/path/to/nodejs-keyring.kbx" "https://github.com/nodejs/release-keys
 ```
 
 Alternatively, you can import the releaser keys in your default keyring, see
-[Release keys](#release-keys) for commands to how to do that.
+[Release keys](#release-keys) for commands on how to do that.
 
 Then, you can verify the files you've downloaded locally
 (if you're using your default keyring, pass `--keyring="${GNUPGHOME:-~/.gnupg}/pubring.kbx"`):
Repository: vuejs/vue
Pull request: [automated] Patreon backers update (Jan 2022

This is an automated pull request. ping @yyx990803

Changed files:
filename: BACKERS.md
patch: @@ -501,65 +501,63 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 <h2 align="center">Generous Backers via Patreon ($50+)</h2>
 
 <!--50 start-->
-
 - Yoshitaka M
 - Peter Imburg
+- Johnny Ray Austin
 - Wasim Khamlichi
 <!--50 end-->
 
 <h2 align="center">Backers via Patreon</h2>
 
 <!--10 start-->
-
-- Theo Ephraim
+- Dave Mount
 - Keisuke Kita
+- Santiago Arizti
+- Sven Güntner
+- Theo Ephraim
+- Mok Wang Quan
 - Jeffrey Rennie
 - Meinhard Dam
 - Роман Латкин
 - Alex Riviere
 - WhereJuly
-- Fontis
-- Jack
-- Artur Bańka
-- Traversy Media
+- Fontis 
+- Jack 
 - Pierre Baron
 - Donghai Gai
 - Aleksander Figiel
-- wickedwei
+- wickedwei 
 - Sunny Yuen
-- Jules
+- Jules 
 - Zeth Odderskov
 - Thomas Wiedemann
 - Nobuhide Esaki
 - Nat Dunn
-- Roy Segall
 - Allan McKernan
 - Diana Bergholz
-- Philip John Basile
 - Riki Fridrich
 - Alfonso Herrera
 - Bichinger Software & Consulting
 - Pierre Lebrun
 - Peter Matkovsky
-- 龙腾道
-- Nick Dandakis
-- Mok Wang Quan
+- 龙腾道 
+- Rodolfo Cavallari
+- Yusuke Kawabata
 - Shawn Wildermuth
 - Elon Hung
 - Juan Bermudez
 - Daniel Mattingley
-- Matt Sencenbaugh
 - Jaeyoung Lee
 - David Kaplan
 - David Ang
 - Wakana Seki
 - Jere Sjöroos
 - Donald Fischer
-- Eric
+- Eric 
 - tyler madsen
 - Joe Gregory
 - Masahiro Tanaka
-- Tyler
+- Tyler 
 - Jim Raden
 - Haim Yulzari
 - Asaf Yishai
@@ -574,7 +572,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Wen-Tien Chang
 - Stephen Hartley
 - Victor Tolbert
-- Yusuke Kawabata
+- Nick Dandakis
 <!--10 end-->
 
 <h2 align="center">Backers via OpenCollective</h2>
Repository: vercel/next.js
Pull request: Update metadata assertions

These are too specific as `charset` is valid to be included in the `content-type` as well so this loosens the assertion. 

x-ref: https://github.com/vercel/next.js/actions/runs/21767409431/job/62826336346#step:34:339
x-ref: https://github.com/vercel/next.js/actions/runs/21767409431/job/62826336379#step:34:294

Changed files:
filename: test/e2e/app-dir/metadata-dynamic-routes/index.test.ts
patch: @@ -22,7 +22,7 @@ describe('app dir - metadata dynamic routes', () => {
       const res = await next.fetch('/robots.txt')
       const text = await res.text()
 
-      expect(res.headers.get('content-type')).toBe('text/plain')
+      expect(res.headers.get('content-type')).toContain('text/plain')
       expect(res.headers.get('cache-control')).toBe(CACHE_HEADERS.REVALIDATE)
 
       expect(text).toMatchInlineSnapshot(`
@@ -187,7 +187,9 @@ describe('app dir - metadata dynamic routes', () => {
       const res = await next.fetch('/manifest.webmanifest')
       const json = await res.json()
 
-      expect(res.headers.get('content-type')).toBe('application/manifest+json')
+      expect(res.headers.get('content-type')).toContain(
+        'application/manifest+json'
+      )
       expect(res.headers.get('cache-control')).toBe(CACHE_HEADERS.REVALIDATE)
 
       expect(json).toMatchObject({

filename: test/e2e/app-dir/use-cache-metadata-route-handler/use-cache-metadata-route-handler.test.ts
patch: @@ -97,7 +97,7 @@ describe('use-cache-metadata-route-handler', () => {
   it('should generate robots.txt with a metadata route handler that uses "use cache"', async () => {
     const res = await next.fetch('/robots.txt')
     expect(res.status).toBe(200)
-    expect(res.headers.get('content-type')).toBe('text/plain')
+    expect(res.headers.get('content-type')).toContain('text/plain')
 
     const body = await res.text()
 
@@ -121,7 +121,9 @@ describe('use-cache-metadata-route-handler', () => {
   it('should generate manifest.json with a metadata route handler that uses "use cache"', async () => {
     const res = await next.fetch('/manifest.webmanifest')
     expect(res.status).toBe(200)
-    expect(res.headers.get('content-type')).toBe('application/manifest+json')
+    expect(res.headers.get('content-type')).toContain(
+      'application/manifest+json'
+    )
 
     const body = await res.json()
Repository: ollama/ollama
Pull request: Update README.md - Added GPTranslate to the list

Added GPTranslate to the list of desktop apps. This app uses ollama, OpenAI or Azure OpenAI to translate text from the clipboard.

![settings](https://github.com/user-attachments/assets/7ed1466e-5992-4200-b09f-32b969cb0d1d)


Changed files:
filename: README.md
patch: @@ -407,6 +407,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Lumina](https://github.com/cushydigit/lumina.git) (A lightweight, minimal React.js frontend for interacting with Ollama servers)
 - [Tiny Notepad](https://pypi.org/project/tiny-notepad) (A lightweight, notepad-like interface to chat with ollama available on PyPI)
 - [macLlama (macOS native)](https://github.com/hellotunamayo/macLlama) (A native macOS GUI application for interacting with Ollama models, featuring a chat interface.) 
+- [GPTranslate](https://github.com/philberndt/GPTranslate) (A fast and lightweight, AI powered desktop translation application written with Rust and Tauri. Features real-time translation with OpenAI/Azure/Ollama.)
 
 ### Cloud
Repository: ggml-org/llama.cpp
Pull request: llama-fit: fix regex pattern for gate_up tensors

Fix #20883, #20492, #20703

Changed files:
filename: src/llama.cpp
patch: @@ -365,14 +365,14 @@ static void llama_params_fit_impl(
             case LAYER_FRACTION_ATTN: {
                 static std::array<std::string, n_strings> patterns;
                 if (patterns[il].empty()) {
-                    patterns[il] = "blk\\." + std::to_string(il) + "\\.ffn_(up|gate|down).*";
+                    patterns[il] = "blk\\." + std::to_string(il) + "\\.ffn_(gate|up|gate_up|down).*";
                 }
                 return patterns[il].c_str();
             }
             case LAYER_FRACTION_UP: {
                 static std::array<std::string, n_strings> patterns;
                 if (patterns[il].empty()) {
-                    patterns[il] = "blk\\." + std::to_string(il) + "\\.ffn_(gate|down).*";
+                    patterns[il] = "blk\\." + std::to_string(il) + "\\.ffn_(gate|gate_up|down).*";
                 }
                 return patterns[il].c_str();
             }
@@ -386,7 +386,7 @@ static void llama_params_fit_impl(
             case LAYER_FRACTION_MOE: {
                 static std::array<std::string, n_strings> patterns;
                 if (patterns[il].empty()) {
-                    patterns[il] = "blk\\." + std::to_string(il) + "\\.ffn_(up|down|gate)_(ch|)exps";
+                    patterns[il] = "blk\\." + std::to_string(il) + "\\.ffn_(up|down|gate_up|gate)_(ch|)exps";
                 }
                 return patterns[il].c_str();
             }
@@ -480,7 +480,7 @@ static void llama_params_fit_impl(
 
     int64_t global_surplus_cpu_moe = 0;
     if (hp_nex > 0) {
-        const static std::string pattern_moe_all = "blk\\.\\d+\\.ffn_(up|down|gate)_(ch|)exps"; // matches all MoE tensors
+        const static std::string pattern_moe_all = "blk\\.\\d+\\.ffn_(up|down|gate_up|gate)_(ch|)exps"; // matches all MoE tensors
         ggml_backend_buffer_type_t cpu_buft = ggml_backend_cpu_buffer_type();
         tensor_buft_overrides[0] = {pattern_moe_all.c_str(), cpu_buft};
         tensor_buft_overrides[1] = {nullptr, nullptr};
Repository: facebook/react
Pull request: Add flow suppression for Constant Condition rollout


Changed files:
filename: scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js
patch: @@ -81,6 +81,8 @@ export function register(name: string, callback: () => ViewConfig): string {
     typeof callback === 'function',
     'View config getter callback for component `%s` must be a function (received `%s`)',
     name,
+    /* $FlowFixMe[invalid-compare] Error discovered during Constant Condition
+     * roll out. See https://fburl.com/workplace/5whu3i34. */
     callback === null ? 'null' : typeof callback,
   );
   viewConfigCallbacks.set(name, callback);
Repository: vercel/next.js
Pull request: Revert "Ensure _middleware is consistent in adapter for name/id"

This is causing conflicts as the name value is relied on too much since it can differ heavily e.g. for `src` dir and if not. 

x-ref: https://github.com/vercel/next.js/actions/runs/21767409431/job/62826336354#step:34:240

Reverts vercel/next.js#89559

Changed files:
filename: packages/next/src/build/adapter/build-complete.ts
patch: @@ -749,7 +749,7 @@ export async function handleBuildComplete({
               }
             })
           output.pathname = '/_middleware'
-          output.id = '/_middleware'
+          output.id = page.name
           outputs.middleware = output
         } else {
           currentOutputs.push(output)
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request. ping @yyx990803

Changed files:
filename: BACKERS.md
patch: @@ -321,6 +321,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://finclip.com/?from=vue" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/finclip.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->

filename: README.md
patch: @@ -326,6 +326,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
         </a>
       </td>
     </tr><tr></tr>
+    <tr>
+      <td align="center" valign="middle">
+        <a href="https://finclip.com/?from=vue" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/finclip.png">
+        </a>
+      </td>
+    </tr><tr></tr>
   </tbody>
 </table>
 <!--gold end-->
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -67,11 +67,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/nuxt.png">
         </a>
       </td>
-      <td align="center" valign="middle">
-        <a href="https://www.daskeyboard.com/?utm_source=vuejs&utm_medium=sponsorship" target="_blank">
-          <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/das_keyboard.png">
-        </a>
-      </td>
     </tr><tr></tr>
   </tbody>
 </table>
@@ -320,6 +315,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/flowdash.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://www.fenetre.nl/english/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/fen_tre_online_solutions.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>

filename: README.md
patch: @@ -77,11 +77,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/nuxt.png">
         </a>
       </td>
-      <td align="center" valign="middle">
-        <a href="https://www.daskeyboard.com/?utm_source=vuejs&utm_medium=sponsorship" target="_blank">
-          <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/das_keyboard.png">
-        </a>
-      </td>
     </tr><tr></tr>
   </tbody>
 </table>
@@ -325,6 +320,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/flowdash.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://www.fenetre.nl/english/" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/fen_tre_online_solutions.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>
Repository: vuejs/vue
Pull request: [automated] Patreon backers update (Nov 2021

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -486,16 +486,14 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 <!--50 start-->
 - Yoshitaka M
 - Peter Imburg
-- Johnny Ray Austin
 - Wasim Khamlichi
 <!--50 end-->
 
 <h2 align="center">Backers via Patreon</h2>
 
 <!--10 start-->
-- Kevin López Brante
+- Theo Ephraim
 - Keisuke Kita
-- Mok Wang Quan
 - Jeffrey Rennie
 - Meinhard Dam
 - Роман Латкин
@@ -522,12 +520,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Riki Fridrich
 - Alfonso Herrera
 - Bichinger Software & Consulting
-- username
 - Pierre Lebrun
 - Peter Matkovsky
 - 龙腾道 
-- Theo Ephraim
-- Yusuke Kawabata
+- Nick Dandakis
+- Mok Wang Quan
 - Shawn Wildermuth
 - Elon Hung
 - Juan Bermudez
@@ -558,7 +555,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
 - Wen-Tien Chang
 - Stephen Hartley
 - Victor Tolbert
-- Nick Dandakis
+- Yusuke Kawabata
 <!--10 end-->
 
 <h2 align="center">Backers via OpenCollective</h2>
Repository: electron/electron
Pull request: ci: log mocha retries in spec runner

Backport of #49150

See that PR for details.


Notes: none


Changed files:
filename: spec/index.js
patch: @@ -189,6 +189,14 @@ app.whenReady().then(async () => {
   chai.config.truncateThreshold = 0;
 
   const runner = mocha.run(cb);
+
+  const RETRY_EVENT = Mocha?.Runner?.constants?.EVENT_TEST_RETRY || 'retry';
+
+  runner.on(RETRY_EVENT, (test, err) => {
+    console.log(`Failure in test: "${test.fullTitle()}"`);
+    if (err?.stack) console.log(err.stack.split('\n').slice(0, 3).join('\n'));
+    console.log(`Retrying test (${test.currentRetry() + 1}/${test.retries()})...`);
+  });
 }).catch((err) => {
   console.error('An error occurred while running the spec runner');
   console.error(err);
Repository: facebook/react
Pull request: [ci] Fix permissions for direct sync branch PRs workflow


Because we sync built artifacts into Meta, we can't support edits from inside www/fbsource to be synced back into OSS as it would cause merge conflicts for future OSS PRs.

We have a workflow that should automatically catch and close these PRs, but it looks like this one was missing one permission.


Changed files:
filename: .github/workflows/shared_close_direct_sync_branch_prs.yml
patch: @@ -18,6 +18,7 @@ jobs:
     permissions:
       # Used to create a review and close PRs
       pull-requests: write
+      contents: write
     steps:
       - name: Close PR
         uses: actions/github-script@v7
Repository: vuejs/vue
Pull request: [automated] Patreon sponsors update

This is an automated pull request.

Changed files:
filename: BACKERS.md
patch: @@ -315,6 +315,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/lendio.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://flowdash.com/?utm_source=vue&utm_medium=sponsor&utm_campaign=open-source" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/flowdash.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>

filename: README.md
patch: @@ -320,6 +320,11 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
           <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/lendio.png">
         </a>
       </td>
+      <td align="center" valign="middle">
+        <a href="https://flowdash.com/?utm_source=vue&utm_medium=sponsor&utm_campaign=open-source" target="_blank">
+          <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/flowdash.png">
+        </a>
+      </td>
     </tr><tr></tr>
   </tbody>
 </table>