repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
huggingface/transformers
e07692b3a850e74cdb42da734f5ddd8d7e62a7ff
507a37d146ba1139dd2cd4142655c09eac9d0a3b
`cohere_asr`: fix device issue for `test_model_parallel_beam_search` (#45214) * cohere_asr: fix bug for model_parallel_beam_search test case Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * fix * fix --------- Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Co-authored-by: ydshieh <ydshieh@users.noreply....
[ { "path": "src/transformers/models/cohere_asr/modeling_cohere_asr.py", "patch": "@@ -385,6 +385,7 @@ def forward(\n \n # Fixed sinusoidal position embedding added to token embeddings, then layernorm\n pos_emb = self.pos_emb(position_ids.squeeze(0))\n+ pos_emb = pos_emb.to(inputs_embed...
2026-04-10T10:43:50
nodejs/node
e47a1eb0d32713854379ee1190d28e87657c52a7
5170daaca51bc9383df78b06ac1234867549c663
doc: explain _writev() API The exact context of invocation of _writev API is not well known. Also, the choice between _write and _writev is not well known. Add a description to make it explicit. Fixes: https://github.com/nodejs/node/issues/28408 Refs: https://github.com/nodejs/node/pull/28690 Co-authored-by: Parker ...
[ { "path": "doc/api/stream.md", "patch": "@@ -1886,8 +1886,8 @@ methods only.\n \n The `writable._writev()` method may be implemented in addition or alternatively\n to `writable._write()` in stream implementations that are capable of processing\n-multiple chunks of data at once. If implemented, the method wi...
2020-01-14T14:46:08
rust-lang/rust
97b65215fffb34339fa35d8a9b18d4d008d341bd
e64f75b3d26743d96690bac51b542409d97a9b2f
Fix tooling Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "src/librustdoc/clean/mod.rs", "patch": "@@ -36,6 +36,7 @@ use std::mem;\n \n use rustc_ast::token::{Token, TokenKind};\n use rustc_ast::tokenstream::{TokenStream, TokenTree};\n+use rustc_attr_data_structures::{AttributeKind, find_attr};\n use rustc_data_structures::fx::{FxHashMap, FxHashSet, FxIn...
2025-07-07T20:28:37
vercel/next.js
063154918c28b4f2a45ffd8d506fc44924483d6e
bad53655e8669389e534578980791079b37ea37f
Fix react packages are not bundled for metadata routes (#55579) `isAppLayer` condition was missing `app-metadata-route` layer, made it as a util now like other webpack layer utils, add metadata route layer to the group. Then `React.cache` can be available there. Also update regex to be compatible across platform ...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -2131,3 +2131,9 @@ export function isWebpackDefaultLayer(\n ): boolean {\n return layer === null || layer === undefined\n }\n+\n+export function isWebpackAppLayer(\n+ layer: WebpackLayerName | null | undefined\n+): boolean {\n+ return Boolean(la...
2023-09-19T13:45:59
huggingface/transformers
507a37d146ba1139dd2cd4142655c09eac9d0a3b
4fd862fca53deb90def57c8cf9a077e70a9ca28d
Fix AttributeError in Gemma3ForConditionalGeneration and Gemma3ForSequenceClassification when config.return_dict=False (#45277) Co-authored-by: ctr-kkannan <ctr-kkannan@ext.tenstorrent.com> Co-authored-by: Raushan Turganbay <raushan@huggingface.co>
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -1041,6 +1041,7 @@ def forward(\n inputs_embeds=inputs_embeds,\n use_cache=use_cache,\n labels=labels,\n+ return_dict=True,\n **lm_kwargs,\n )\n \n@@ -1190,6 +1191,7...
2026-04-10T10:30:16
golang/go
bdde41e3ba4926b9c1143502f299286d5eca6490
432158b69a50e292b625d08dcfacd0604acbabd3
runtime: skip TestGdbBacktrace on gdb bug Very rarely, GDB will successfully run the whole test and the inferior will exit successfully, and then GDB itself hangs and never exits. Detect this and skip the test as flaky. We could just continue the test since all of the output we need is there, but by skipping it we're ...
[ { "path": "src/runtime/runtime-gdb_test.go", "patch": "@@ -435,6 +435,11 @@ func TestGdbBacktrace(t *testing.T) {\n \t\t\t// GDB bug: https://sourceware.org/bugzilla/show_bug.cgi?id=9086\n \t\t\ttestenv.SkipFlaky(t, 50838)\n \t\t}\n+\t\tif bytes.Contains(got, []byte(\" exited normally]\\n\")) {\n+\t\t\t// G...
2022-06-08T16:24:55
electron/electron
7c17aeb6da9312079342cb53fd5cf5fc988335e9
8c19d3b210eec1b40d770ce8eb41b7834ebcd14e
Documenting net module: fixing linter issues.
[ { "path": "docs/api/net.md", "patch": "@@ -32,13 +32,13 @@ app.on('ready', () => {\n const {net} = require('electron')\n const request = net.request('https://github.com')\n request.on('response', (response) => {\n- console.log(`STATUS: ${response.statusCode}`); \n- console.log(`HEADERS: ${JSON....
2016-10-20T12:42:15
nodejs/node
5170daaca51bc9383df78b06ac1234867549c663
3299de8743a05a523ce56b0da62fddce41540bcd
doc: fix changelog for v10.18.1 PR-URL: https://github.com/nodejs/node/pull/31358 Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gma...
[ { "path": "doc/changelogs/CHANGELOG_V10.md", "patch": "@@ -74,8 +74,8 @@\n \n * [[`a80c59130e`](https://github.com/nodejs/node/commit/a80c59130e)] - **build**: fix configure script to work with Apple Clang 11 (Saagar Jha) [#28071](https://github.com/nodejs/node/pull/28071)\n * [[`68b2b5cc51`](https://github...
2020-01-14T16:55:04
huggingface/transformers
4fd862fca53deb90def57c8cf9a077e70a9ca28d
47d776574eb01fbe6000ea7ebc5d23712dd3afb6
fix bug for videomt model device mismatch (#45204) * fix bug for videomt model device mismatch Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * update Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> * fix --------- Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Co-authored-by: ydshieh <ydshieh@user...
[ { "path": "src/transformers/models/videomt/modeling_videomt.py", "patch": "@@ -1176,12 +1176,12 @@ def forward(\n frame_hidden_states = hidden_states[:, frame_idx]\n \n if propagated_query is None:\n- query_tokens = self.query.weight[None, :, :].expand(batch_size, -1, ...
2026-04-10T10:15:14
golang/go
432158b69a50e292b625d08dcfacd0604acbabd3
899f0a29c7be2bba3f8f0bc2987f7c2d70a6c4ec
net: fix testHookDialTCP race CL 410754 introduces a race accessing the global testHookDialTCP hook. Avoiding this race is difficult, since Dial can return while goroutines it starts are still running. Add a version of this hook to sysDialer, so it can be set on a per-test basis. (Perhaps other uses of this hook shou...
[ { "path": "src/net/dial.go", "patch": "@@ -341,6 +341,7 @@ func DialTimeout(network, address string, timeout time.Duration) (Conn, error) {\n type sysDialer struct {\n \tDialer\n \tnetwork, address string\n+\ttestHookDialTCP func(ctx context.Context, net string, laddr, raddr *TCPAddr) (*TCPConn, error)\n }...
2022-06-07T23:53:53
electron/electron
8c19d3b210eec1b40d770ce8eb41b7834ebcd14e
9f151912807c614d00c8dea6a24f71a9e2429ad2
Documenting net module: various fixes.
[ { "path": "docs/api/net.md", "patch": "@@ -4,7 +4,7 @@\n \n The `net` module is a client-side API for issuing HTTP(S) requests. It is\n similar to the [HTTP](https://nodejs.org/api/http.html) and\n-[HTTPS](https://nodejs.org/api/https.html) modules of Node.js but it uses\n+[HTTPS](https://nodejs.org/api/h...
2016-10-20T11:57:08
vercel/next.js
8881c413a38a3dc0844f4a74f5bfed25b63fd0e7
10250119dfed2a40fb65cdad171094fb916293e2
Fix useState function initialiser case for `optimize_server_react` transform (#55551) This addresses the case mentioned in https://github.com/vercel/next.js/pull/54925#pullrequestreview-1616315332. We can't optimize the case where we can't statically determine the type of the `useState` argument as it can be a functio...
[ { "path": "Cargo.lock", "patch": "@@ -202,6 +202,23 @@ dependencies = [\n \"backtrace\",\n ]\n \n+[[package]]\n+name = \"arbitrary\"\n+version = \"0.4.7\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\"\n+checksum = \"db55d72333851e17d572bec876e390cd3b11eb1ef53ae821dd9f3b653d2b4569\"\n...
2023-09-19T13:32:52
huggingface/transformers
47d776574eb01fbe6000ea7ebc5d23712dd3afb6
d13b44b6c9914e4b7c2a07af7af9aec3f1f9a6f8
fix gemma4 gradient accumulation loss and last token incorrect labels (#45354) * fix gemma4 gradient accumulation loss and last token incorrect labels * modular + also gemma3n --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/models/gemma3n/modeling_gemma3n.py", "patch": "@@ -2159,6 +2159,7 @@ def get_audio_features(\n )\n class Gemma3nForConditionalGeneration(Gemma3nPreTrainedModel, GenerationMixin):\n _tied_weights_keys = {\"lm_head.weight\": \"model.language_model.embed_tokens.weight\"}\n+ a...
2026-04-10T09:54:30
nodejs/node
3299de8743a05a523ce56b0da62fddce41540bcd
9bfa4a937613c285cf9a747730a3249c73a593de
doc: document missing properties in child_process Add documentation for subprocess.exitCode, subprocess.signalCode, subprocess.spawnargs, and subprocess.spawnfile. PR-URL: https://github.com/nodejs/node/pull/31342 Fixes: https://github.com/nodejs/node/issues/27206 Reviewed-By: Anna Henningsen <anna@addaleax.net> Revi...
[ { "path": "doc/api/child_process.md", "patch": "@@ -1075,6 +1075,13 @@ When the child process is a Node.js instance (e.g. spawned using\n [`child_process.fork()`][]), the `process.disconnect()` method can be invoked\n within the child process to close the IPC channel as well.\n \n+### `subprocess.exitCode`\...
2020-01-13T13:15:50
golang/go
899f0a29c7be2bba3f8f0bc2987f7c2d70a6c4ec
f862280e30300017292b24a0fca088628d7b8065
cmd/go: enable module index by default This changes the module index to be enabled by default, rather than disabled by default. The index can still be disabled by setting GODEBUG=index=0. Fixes #53290. Change-Id: Ic3728fc69d96bb6ef56b56e8c9f2dce35f2923cc Reviewed-on: https://go-review.googlesource.com/c/go/+/410821 ...
[ { "path": "src/cmd/go/internal/modindex/read.go", "patch": "@@ -22,7 +22,6 @@ import (\n \t\"runtime\"\n \t\"runtime/debug\"\n \t\"sort\"\n-\t\"strconv\"\n \t\"strings\"\n \t\"sync\"\n \t\"unsafe\"\n@@ -40,7 +39,15 @@ import (\n // It will be removed before the release.\n // TODO(matloob): Remove enabled on...
2022-06-07T17:53:40
electron/electron
7f8b180f7065b9ee91f56c964267d8803448b203
7549adcfce72bf2d2dca665d54a932839c67a28c
Fixing authentication cancel with null/undefined credentials.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -305,9 +305,8 @@ void URLRequest::OnAuthenticationRequired(\n return;\n }\n \n- EmitRequestEvent(\n- false, \"login\", auth_info.get(),\n- base::Bind(&AtomURLRequest::PassLoginInformation, atom_request_));\n+ Emit(\"login\"...
2016-10-20T09:43:26
huggingface/transformers
d13b44b6c9914e4b7c2a07af7af9aec3f1f9a6f8
c43f15c71a931ae636b160a897f711308644dd03
Logger has `[transformers]` prefix in non-verbose mode (#45316) * . * wait * no color * oops * lib name is not hardcoded anymore
[ { "path": "src/transformers/utils/logging.py", "patch": "@@ -99,10 +99,17 @@ def _configure_library_root_logger() -> None:\n library_root_logger = _get_library_root_logger()\n library_root_logger.addHandler(_default_handler)\n library_root_logger.setLevel(_get_default_logging_level()...
2026-04-10T09:45:51
vercel/next.js
caa908326f19da7d2c292e61cb9fc29cdc21248d
d01ab6165e53c00dd33c933a59161e538c368010
chore: Fix heading hierarchy in revalidateTag documentation (#55470) ### What? Fix heading hierarchy in revalidateTag documentation (https://nextjs.org/docs/app/api-reference/functions/revalidateTag) ### Why? Makes it consistent with https://nextjs.org/docs/app/api-reference/functions/revalidatePath
[ { "path": "docs/02-app/02-api-reference/04-functions/revalidateTag.mdx", "patch": "@@ -30,7 +30,7 @@ fetch(url, { next: { tags: [...] } });\n \n ## Examples\n \n-## Server Action\n+### Server Action\n \n ```ts filename=\"app/actions.ts\" switcher\n 'use server'", "additions": 1, "deletions": 1, ...
2023-09-19T01:41:18
nodejs/node
9bfa4a937613c285cf9a747730a3249c73a593de
d2683ede836d3f2449714c6309b47fb469873bb2
build: do not use setup-node in build workflows The setup-node GitHub Action installs problem matchers that happen to match the warning message format of Visual Studio's C/C++ compiler. This is resulting in all of our pull requests being annotated with `Unchanged files with check annotations` which are confusing to ne...
[ { "path": ".github/workflows/CI.yml", "patch": "@@ -7,10 +7,6 @@ jobs:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v2\n- - name: Use Node.js 13\n- uses: actions/setup-node@v1\n- with:\n- node-version: 13.x\n - name: Environment Information\n ...
2020-01-14T00:54:36
golang/go
4afb0b9e533767f788252816c4b79ee29a1952a7
3426b7201da8140bb0fb433facd9e1fd3f267dfb
doc/go1.19: delete remaining TODOs The crypto ones were done in a separate CL and didn't merge well. Same for runtime/debug. The others are stale. For #51400. Change-Id: Iadb4de94d21cd6a20f52277a1c3d7800a729b81e Reviewed-on: https://go-review.googlesource.com/c/go/+/411115 Run-TryBot: Russ Cox <rsc@golang.org> Revi...
[ { "path": "doc/go1.19.html", "patch": "@@ -43,9 +43,7 @@ <h2 id=\"mem\">Memory Model</h2>\n </p>\n \n <h2 id=\"ports\">Ports</h2>\n-<p>\n- TODO: complete this section, or delete if not needed\n-</p>\n+\n <p><!-- https://go.dev/issue/46229 -->\n Go 1.19 supports the Loongson 64-bit architecture LoongArch ...
2022-06-08T15:33:53
electron/electron
7549adcfce72bf2d2dca665d54a932839c67a28c
fddbde2fd5327465a5c553532d1eb13886cc9e3e
Documenting net module: various fixes.
[ { "path": "docs/api/net.md", "patch": "@@ -60,11 +60,13 @@ The `net` module has the following methods:\n Returns `ClientRequest`\n \n Create a `ClientRequest` instance using the provided `options` object which is directly\n-passed to the `ClientRequest` constructor.\n+passed to the `ClientRequest` construct...
2016-10-19T16:31:08
vercel/next.js
6123a9700b66d54a7cabe1a9ec23ada11f576a36
b5beb3a968d97acf3fc412a8ba563d675435c5ca
Fix missing trace file and unhandledRejection in ensurePage (#55553) Seems we occasionally have unhandledRejections with `ensurePage` due to the our memoize handling not attaching `.catch` quick enough. This updates to ensure `.catch()` is always present for that promise and re-throwing separately. Also, ensures...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -2269,12 +2269,13 @@ export default async function build(\n const moduleTypes = ['app-page', 'pages']\n \n for (const type of moduleTypes) {\n+ const modulePath = require.resolve(\n+ `next/dist/ser...
2023-09-18T23:22:52
nodejs/node
d2683ede836d3f2449714c6309b47fb469873bb2
fc4e4135547a73bb54bf7d56ad1d478cf80c3140
benchmark: add default type in getstringwidth.js This fixes a benchmark test that was recently broken by a breaking change on the master branch. Fixes: https://github.com/nodejs/node/issues/31372 PR-URL: https://github.com/nodejs/node/pull/31377 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sam ...
[ { "path": "benchmark/misc/getstringwidth.js", "patch": "@@ -10,6 +10,8 @@ const bench = common.createBenchmark(main, {\n });\n \n function main({ n, type }) {\n+ // Default value for testing purposes.\n+ type = type || 'ascii';\n const { getStringWidth } = require('internal/readline/utils');\n \n cons...
2020-01-16T00:34:38
huggingface/transformers
c43f15c71a931ae636b160a897f711308644dd03
a9f5b3a8ac932a7678fd30ddf8d28ea2eb40aeff
Fix AttributeError in AssistantToTargetTranslator.unmap_input_ids with cross-vocab models (#45320) * Fix AssistantToTargetTranslator crash with cross-vocab models map_input_embeddings is only initialized when _suppress_input_ids is non-empty (line 723-740), but unmap_input_ids() only checked assistant_prune_lm_...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -750,7 +750,11 @@ def unmap_input_ids(self):\n This method is required for the first forward pass of `_MapInputEmbedding` where input ids are already in the assistant vocabulary space. By disabling the mapping, it ensures t...
2026-04-10T09:15:51
golang/go
f330a3a987aa980d6c1adfb4ed509b461d5c13cf
2882786bf4cd779f166e9ced82a4da2ea0f8b1f9
doc/go1.19: complete most remaining TODOs The ones I left behind are almost entirely ones that I see pending CLs for. Also make various fixes to existing text. For #51400. Change-Id: I555e0074c9df82b5bdb345e21a08c8757ca147b4 Reviewed-on: https://go-review.googlesource.com/c/go/+/410814 Reviewed-by: Ian Lance Taylor ...
[ { "path": "doc/go1.19.html", "patch": "@@ -20,12 +20,26 @@ <h2 id=\"introduction\">DRAFT RELEASE NOTES — Introduction to Go 1.19</h2>\n </p>\n \n <h2 id=\"language\">Changes to the language</h2>\n-<p>\n- TODO: complete this section\n-</p>\n \n <p><!-- https://go.dev/issue/52038 -->\n- TODO: <a href=\"http...
2022-06-07T04:02:29
electron/electron
fddbde2fd5327465a5c553532d1eb13886cc9e3e
6e5951b764ecfb15a10cfd515887918f33d33485
Documenting net module: various fixes.
[ { "path": "docs/api/net.md", "patch": "@@ -4,15 +4,19 @@\n \n The `net` module is a client-side API for issuing HTTP(S) requests. It is similar to the \n [HTTP](https://nodejs.org/api/http.html) and [HTTPS](https://nodejs.org/api/https.html) modules of Node.js \n-but uses Chromium networking library instea...
2016-10-19T16:19:28
vercel/next.js
4c6d4b35b46536bf81ac82dcb6c5ae7ce3d0fca1
41c89f0cd8809360fcfbf255136fc04264e99d3d
Type Error on Event Type payment_intent webhook (#55493) changed` failed `for `payment_failed` on line 45 ### What? Error in line 45 on type of payment_intent ### Why? Example provided does not work ### How? Added 'payment_'
[ { "path": "examples/with-stripe-typescript/app/api/webhooks/route.ts", "patch": "@@ -42,7 +42,7 @@ export async function POST(req: Request) {\n data = event.data.object as Stripe.Checkout.Session\n console.log(`💰 CheckoutSession status: ${data.payment_status}`)\n break\n- ...
2023-09-18T20:15:42
huggingface/transformers
a9f5b3a8ac932a7678fd30ddf8d28ea2eb40aeff
d1cca99836e1b4c378cba92554f3dfb2b319aec1
Fix Qwen2.5-VL temporal RoPE scaling applied to still images (#45330) get_rope_index unconditionally applies tokens_per_second temporal scaling to both images and videos. For still images (modality_type == 1), this shifts the temporal position origin to start_position * tokens_per_second instead of start_position, cre...
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -1117,7 +1117,12 @@ def get_rope_index(\n # image == 1, video == 2\n else:\n grid_thw = next(grid_iters[modality_type])\n- time_interval = tokens_per_sec...
2026-04-10T09:11:21
nodejs/node
662348113828891bf7d6f15e9881f163b782a90a
b4f5c9e47a414585e80571a8933054badb911284
src: fix performance regression in node_file.cc Commits dcb6929, 4396beb and 8a96d05 turned the O(n) scan in InternalModuleReadJSON() into an O(4n) scan. Fix the performance regression by turning that into a linear scan again. PR-URL: https://github.com/nodejs/node/pull/31343 Reviewed-By: Colin Ihrig <cjihrig@gmail.c...
[ { "path": "src/node_file.cc", "patch": "@@ -829,20 +829,46 @@ static void InternalModuleReadJSON(const FunctionCallbackInfo<Value>& args) {\n }\n \n const size_t size = offset - start;\n- if (size == 0 || (\n- size == SearchString(&chars[start], size, \"\\\"name\\\"\") &&\n- size == SearchString(...
2020-01-13T13:23:20
golang/go
b72a6a7b868deb5b671020c08fbf8d61ad8803d4
30b929b1efb470cb9b434cd47d6cbaa74c2baedf
os: document that Chdir affects fs.FS returned by DirFS with a relative path Fixes #47214. Change-Id: I6fdc1c4340c0943b825ac22e311179ad1cf30915 Reviewed-on: https://go-review.googlesource.com/c/go/+/410334 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian ...
[ { "path": "src/os/file.go", "patch": "@@ -620,8 +620,10 @@ func isWindowsNulName(name string) bool {\n // operating system will begin with \"/prefix\": DirFS(\"/prefix\").Open(\"file\") is the\n // same as os.Open(\"/prefix/file\"). So if /prefix/file is a symbolic link pointing outside\n // the /prefix tre...
2022-06-03T11:21:26
electron/electron
3b620b8c0c5df821140fe21bf5399d5fdb2d61ec
0d82fbcf370da077da91165e8c9d23f3f6ab1d6e
Documenting net module: various fixes.
[ { "path": "docs/api/net.md", "patch": "@@ -10,24 +10,24 @@ Following is a non-exhaustive list of why you may need to use the `net` module i\n * Support for authenticating proxies using basic, digest, NTLM, Kerberos or negotiate authentication schemes.\n * Support for traffic monitoring proxies: Fiddler-like...
2016-10-19T16:05:38
vercel/next.js
7fe01bb63911b027f29ce2e0e908b0c44af42433
e4439b14307ace497b8b89900674121c6510e1a1
Disable client-only for middleware and pages api layer (#55541) We need to disable the default treat `middleware` and `pages/api` as server-only, unless users explictly import "server-only" to poison it. This will avoid the case that when a library is mixing "client-only" API and shared components API in one bund...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -926,13 +926,13 @@ export default async function getBaseWebpackConfig(\n : []\n \n const swcLoaderForMiddlewareLayer = useSWCLoader\n- ? getSwcLoader({ hasServerComponents: false, bundleTarget: 'server' })\n+ ? getSwcLoader({ ha...
2023-09-18T19:59:54
nodejs/node
578e4eddb97fffd6b9f1fe527da865875efa73f1
e67dc1e09f64b502642b2adcdf1b4bca6faaa4c9
deps: V8: cherry-pick d89f4ef1cd62 Original commit message: S390x: improve performance by skipping Debug Hook if not needed Change-Id: Ib4b2821f2941cdc131f9c75b89a3baced7554f8d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1991802 Reviewed-by: Junliang Yan <jyan@ca.ibm.com> Comm...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.28',\n+ 'v8_embedder_string': '-node.29',\n \n ##### V8 defaults for Node.js #####\n...
2020-01-14T13:43:14
huggingface/transformers
f965b10bcc979e6ad5f02a46f6d074206eccbe75
9d840ea5f31a14d0d66c176f42ed300d7f1d2f1c
[docs] optimizers, hyperparam search, training features (#44290) * optimizer + scheduler * hyperparam * training features * feedback * fix * greedylr * flashoptim
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -165,9 +165,11 @@\n - local: data_collators\n title: Data collators\n - local: optimizers\n- title: Optimizers\n+ title: Optimizers and schedulers\n - local: hpo_train\n title: Hyperparameter search\n+ - local: traine...
2026-04-09T19:55:23
golang/go
a7551fe24524fb960fbe4cd74dae13afe9ca6a5c
19d71acd978891b201bc5ce79bdcd20b36d04a2e
net: use synthetic network in TestDialParallel TestDialParallel is testing the Happy Eyeballs algorithm implementation, which dials IPv4 and IPv6 addresses in parallel with the preferred address family getting a head start. This test doesn't care about the actual network operations, just the handling of the parallel c...
[ { "path": "src/net/dial_test.go", "patch": "@@ -9,6 +9,8 @@ package net\n import (\n \t\"bufio\"\n \t\"context\"\n+\t\"errors\"\n+\t\"fmt\"\n \t\"internal/testenv\"\n \t\"io\"\n \t\"os\"\n@@ -175,31 +177,9 @@ func dialClosedPort(t *testing.T) (dialLatency time.Duration) {\n }\n \n func TestDialParallel(t *t...
2022-06-06T22:52:19
huggingface/transformers
9d840ea5f31a14d0d66c176f42ed300d7f1d2f1c
d6a8904277b0ca5a89c60fa3fcfc079c008325d4
Remove unused parameters and improve add_tensor_parallel_hooks_t… (#44768) * fix: remove unused parameters and improve add_tensor_parallel_hooks_to_module * feat: cache module -> name mappings in hooks * fix: do not use cache, use explicit parameter --------- Co-authored-by: Ferdinand Mom <47445085+3outeille@users...
[ { "path": "src/transformers/integrations/tensor_parallel.py", "patch": "@@ -1388,7 +1388,11 @@ def gather_state_dict_for_save(\n \n \n def add_tensor_parallel_hooks_to_module(\n- model, module, tp_plan, layer_name, current_module_plan, device_mesh, parameter_name=None\n+ model,\n+ module,\n+ cur...
2026-04-09T16:59:48
vercel/next.js
9697bcd3c8672f7926cc19222e9c5801a9f49c6b
0338dcdf2cb1e56dbece1042552b5daf057096e8
Fix notFound status code with ISR in app (#55542) This ensures we properly set/restore the status code with ISR paths in app router so that when we set the 404 status code with `notFound` it is persisted properly. Fixes: https://github.com/vercel/next.js/issues/43831 Closes: https://github.com/vercel/next.js/iss...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -2238,6 +2238,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n html: result,\n pageData: metadata.pageData,\n headers,\n+ status: isAppPath ? res.statusCode : undefi...
2023-09-18T19:35:00
rust-lang/rust
534b1355efe3fc0dc962634773b0f6b1474bad13
f32b23204a0efe2fe8383ed4be1a30b56c1bbf94
tests: Add test for basic line-by-line stepping in a debugger Let's wait with lldb testing until the test works properly with gdb.
[ { "path": "tests/debuginfo/basic-stepping.rs", "patch": "@@ -0,0 +1,47 @@\n+//! Test that stepping through a simple program with a debugger one line at a\n+//! time works intuitively, e.g. that `next` takes you to the next source line.\n+//! Regression test for <https://github.com/rust-lang/rust/issues/3301...
2025-07-26T09:41:25
nodejs/node
dcbf9da0edf9545107828784dbf3a59706411a3c
216e42350f4fdfd4ae6c93b5569bc63327e823f3
deps: V8: cherry-pick b9d33036e9a8 Original commit message: [coverage] Improve whitespace precision of coverage reporting This CL improves whitespace precision of coverage around try blocks; previously a small portion of whitespace could be reported as uncovered between try blocks and catch and/or fi...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.27',\n+ 'v8_embedder_string': '-node.28',\n \n ##### V8 defaults for Node.js #####\n...
2020-01-13T01:25:43
huggingface/transformers
d6a8904277b0ca5a89c60fa3fcfc079c008325d4
6546bec441db2c27e9962c8e1835735f6e76ba98
Use torchvision `decode_image` to load images in the torchvision backend (#45195) * use torchvision's decode_image to load images for torchvision backend * fix video processor issue --------- Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
[ { "path": "src/transformers/image_processing_backends.py", "patch": "@@ -50,6 +50,8 @@\n get_image_type,\n get_max_height_width,\n infer_channel_dimension_format,\n+ is_valid_image,\n+ load_image_as_tensor,\n )\n from .processing_utils import ImagesKwargs, Unpack\n from .utils import (\n@@...
2026-04-09T16:49:38
electron/electron
43113fcfb465e32b7f4bacbb646ae482a9970a19
c198828e58a9fa4f0131957e4699bebe351a1230
Fixing net response objects being piped into writable streams test.
[ { "path": "spec/api-net-spec.js", "patch": "@@ -1040,12 +1040,10 @@ describe('net module', function () {\n urlRequest.end()\n })\n \n- it.skip('should be able to pipe a net response into a writable stream', function (done) {\n+ it('should be able to pipe a net response into a writable stream...
2016-10-18T08:28:35
golang/go
3507805bcdcd6674c842e25fdb5f07f5ce47ba87
269bf7e855da04e664fe8d7ffb654c4d0b1439f5
go/types, types2: better error message for invalid use of constraint type Fixes #42881. Change-Id: If800c5f90c0034d192bf8b6649e5cfda96df48cb Reviewed-on: https://go-review.googlesource.com/c/go/+/410954 Reviewed-by: Robert Griesemer <gri@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue42881.go", "patch": "@@ -0,0 +1,16 @@\n+// Copyright 2022 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package p\n+\n+type (\n+\tT1 inte...
2022-06-07T20:39:56
vercel/next.js
0338dcdf2cb1e56dbece1042552b5daf057096e8
4f98dc6f26985f78f9dc521e7dbb575cd0cab7cb
fix next.js own build on windows (#55544) ### What allow to build next.js on windows Closes WEB-1597 --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/webpack.config.js", "patch": "@@ -191,7 +191,7 @@ module.exports = ({ dev, turbo, bundleType, experimental }) => {\n module: {\n rules: [\n {\n- include: /vendored\\/rsc\\/entrypoints/,\n+ include: /vendored[\\\\/]rsc[\\\\/]entrypoints/,\n ...
2023-09-18T19:21:51
huggingface/transformers
6546bec441db2c27e9962c8e1835735f6e76ba98
353a9dc44701b2bf7831e5e992cac9ae3e76839e
[gemma4] Fix device map auto (#45347) add test
[ { "path": "src/transformers/models/gemma4/modeling_gemma4.py", "patch": "@@ -1354,8 +1354,8 @@ def __init__(self, config: Gemma4TextConfig | Gemma4VisionConfig, layer_idx: int\n def forward(\n self,\n hidden_states: torch.Tensor,\n- shared_kv_states: dict[int, tuple[torch.Tensor, ...
2026-04-09T15:45:12
electron/electron
9d0d1c8341bfc1ebecf0718176c84e8dd1281e02
ba91bbd3979d34ad693895e8bc9e32840e39313b
Fix bd object name
[ { "path": "docs/api/structures/bluetooth-device.md", "patch": "@@ -1,4 +1,4 @@\n-# Bluetooth Device Object\n+# BluetoothDevice Object\n \n * `deviceName` String\n * `deviceId` String", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2016-10-18T04:47:18
golang/go
269bf7e855da04e664fe8d7ffb654c4d0b1439f5
d4fb93be87c38aaf0f68ad91852f9f83be726262
go/types, types2: better error message if type is not in type set Fixes #40350. Change-Id: Ia654d6b854971700ca618692a864265557122b23 Reviewed-on: https://go-review.googlesource.com/c/go/+/410876 Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@google.com>
[ { "path": "src/cmd/compile/internal/types2/instantiate.go", "patch": "@@ -277,7 +277,7 @@ func (check *Checker) implements(V, T Type) error {\n \t\tif alt != nil {\n \t\t\treturn errorf(\"%s does not implement %s (possibly missing ~ for %s in constraint %s)\", V, T, alt, T)\n \t\t} else {\n-\t\t\treturn err...
2022-06-07T17:43:51
nodejs/node
216e42350f4fdfd4ae6c93b5569bc63327e823f3
9da241b600182a9ff400f6efc24f11a6303c27f7
deps: upgrade to libuv 1.34.1 Notable changes: - uv_fs_copyfile() now supports CIFS share destinations. - isatty() now works on IBMi - TTYs are opened with the O_NOCTTY flag. Fixes: https://github.com/nodejs/node/issues/31170 PR-URL: https://github.com/nodejs/node/pull/31332 Reviewed-By: Jiawen Geng <technicalcute@...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -412,3 +412,4 @@ ZYSzys <zyszys98@gmail.com>\n Carl Lei <xecycle@gmail.com>\n Stefan Bender <stefan.bender@ntnu.no>\n nia <nia@NetBSD.org>\n+virtualyw <virtualyw@gmail.com>", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "dep...
2020-01-12T23:41:48
vercel/next.js
0ddb15be49de0415cd459628a190540681658eb5
7db5c64e94a952414c2d5e215c3e9b02ac3375ff
fix: run turbopack in forked process (#55545) Closes WEB-1598
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -253,6 +253,7 @@ const nextDev: CliCommand = async (args) => {\n stdio: 'inherit',\n env: {\n ...((initialEnv || process.env) as typeof process.env),\n+ TURBOPACK: process.env.TURBOPACK,\n NEXT_PRIVATE_W...
2023-09-18T19:04:21
huggingface/transformers
353a9dc44701b2bf7831e5e992cac9ae3e76839e
1e931b8fcafa19dc82b2a482898098e4d15aca81
Refactor CLIP-like models (#44431) * squash! * fix copies for losses * reverse mapping test * xclip * fxi repo * altclip needs eager attn to pass the test?! and ofc non-causal masl * final fix repo * layernorm typo / docsting * clips can't agree on causality * ugh, skip xclip * fix repo * comments * and mo...
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -84,6 +84,9 @@\n \n def _build_checkpoint_conversion_mapping():\n mapping = {\n+ \"altclip\": [\n+ WeightRenaming(source_patterns=r\"layer\\.\", target_patterns=\"layers.\"),\n+ ],\n \"llava\": [\n ...
2026-04-09T15:20:21
golang/go
d4fb93be87c38aaf0f68ad91852f9f83be726262
346698eea71139280e3b3380554371b5d332ce02
go/types, types2: use | rather than ∪ when printing term lists With this change, the termlist String() function prints termlists in the usual Go notation and thus we can use it in error reporting. Preparation for fixing #40350. For #40350. Change-Id: Ia28318841305de234a71af3146ce0c59f5e601a5 Reviewed-on: https://go-...
[ { "path": "src/cmd/compile/internal/types2/termlist.go", "patch": "@@ -25,7 +25,7 @@ func (xl termlist) String() string {\n \tvar buf bytes.Buffer\n \tfor i, x := range xl {\n \t\tif i > 0 {\n-\t\t\tbuf.WriteString(\" ∪ \")\n+\t\t\tbuf.WriteString(\" | \")\n \t\t}\n \t\tbuf.WriteString(x.String())\n \t}", ...
2022-06-07T17:33:01
electron/electron
c198828e58a9fa4f0131957e4699bebe351a1230
9b4e9c642ab4b8ba5004ae3552e787f7979d335a
Adding gc tests: fixing a memory leak with C++ URLRequest objects.
[ { "path": "atom/browser/api/atom_api_url_request.h", "patch": "@@ -215,6 +215,7 @@ URLRequest::BuildArgsArray(ArgTypes... args) const {\n \n template <typename... ArgTypes>\n void URLRequest::EmitRequestEvent(ArgTypes... args) {\n+ v8::HandleScope handle_scope(isolate());\n auto arguments = BuildArgsArra...
2016-10-17T17:02:25
nodejs/node
9da241b600182a9ff400f6efc24f11a6303c27f7
521b2224c3b06de811f3d8353cce5e4a69239864
build: fix macos runner type in GitHub Action PR-URL: https://github.com/nodejs/node/pull/31327 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Minwoo Jung ...
[ { "path": ".github/workflows/CI.yml", "patch": "@@ -30,7 +30,7 @@ jobs:\n - name: Build\n run: ./vcbuild.bat\n build-macOS:\n- runs-on: macOS-latest\n+ runs-on: macos-latest\n steps:\n - uses: actions/checkout@v2\n - name: Use Node.js 13", "additions": 1, "delet...
2020-01-12T17:57:13
vercel/next.js
7db5c64e94a952414c2d5e215c3e9b02ac3375ff
4cc51d7d2fa612dff8aa97973ed8d5a681caac35
docs: add bun run dev command to template readme for create-next-app (#55504) ## For Contributors ### Improving Documentation - [x] Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - [x] Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.or...
[ { "path": "packages/create-next-app/templates/app-tw/js/README-template.md", "patch": "@@ -10,6 +10,8 @@ npm run dev\n yarn dev\n # or\n pnpm dev\n+# or\n+bun run dev\n ```\n \n Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.", "additions": 2, "deletions": 0,...
2023-09-18T18:18:58
huggingface/transformers
25c80bc456217b4c9f7a573fc5ff064705366b7f
83c3672b706b47061c0fb56a10ae8a451ae35506
http retries on audio file downloads (#45126) * http retries on lib audio file downloads * cleanups: the retry decorator is not http specific and the hub had redundant exceptions * docstrings and sleep assertion
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -37,6 +37,7 @@\n is_torchcodec_available,\n requires_backends,\n )\n+from .utils.generic import retry\n \n \n if TYPE_CHECKING:\n@@ -57,6 +58,14 @@\n AudioInput = Union[np.ndarray, \"torch.Tensor\", Sequence[np.ndarray], Sequence[\"torch.Tens...
2026-04-09T14:59:14
electron/electron
00d641aaf7b3871b102b37ef119f21610f7ceb55
3dd83772183b30e69542dd7fd11dbbbd0fcda827
Docs: Fix relative link to MAS builds tutorials The link was 404'ing
[ { "path": "docs/api/app.md", "patch": "@@ -830,7 +830,7 @@ Returns `Object`:\n closed. This setting is only supported on macOS.\n \n **Note:** This API has no effect on\n-[MAS builds](docs/tutorial/mac-app-store-submission-guide.md).\n+[MAS builds][mas-builds].\n \n ### `app.setLoginItemSettings(settings)...
2016-10-17T10:26:28
nodejs/node
b3605ab6a310b95830a5bb0c500dd42f3c2b7b4a
b477c9504d3d6ac34124cbe7b2efc4e6c0f3025d
doc: standardize on "host name" in errors.md Our docs have a mix of "hostname" and "host name" in prose. Let's follow the usage of Unix man pages, RFCs, and most professionally-edited sources, and use "host name" in prose and "hostname" to refer to the command and in code. Lint rule forthcoming. PR-URL: https://git...
[ { "path": "doc/api/errors.md", "patch": "@@ -1792,7 +1792,7 @@ additional details.\n <a id=\"ERR_TLS_CERT_ALTNAME_INVALID\"></a>\n ### `ERR_TLS_CERT_ALTNAME_INVALID`\n \n-While using TLS, the hostname/IP of the peer did not match any of the\n+While using TLS, the host name/IP of the peer did not match any o...
2020-01-12T15:24:25
vercel/next.js
c628076e914d311dc0c86276f5fd24abdb26ee07
1105501287d8120f954061a655554e2b75dc617d
Disable flakey middleware-dev-error test (#55539) x-ref: [slack thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1695039655548129)
[ { "path": "test/integration/middleware-dev-errors/test/index.test.js", "patch": "@@ -249,9 +249,10 @@ describe('Middleware development errors', () => {\n it('logs the error correctly', async () => {\n await fetchViaHTTP(context.appPort, '/')\n expect(context.logs.output).toContain(`Expected ...
2023-09-18T17:48:00
huggingface/transformers
83c3672b706b47061c0fb56a10ae8a451ae35506
655707b982e7cc05f18ac1e644a51bee0cf47df1
Fix `Wav2Vec2Config.vocab_size` type to allow `None` (#45108) fix wav2vec2 config Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
[ { "path": "src/transformers/models/wav2vec2/configuration_wav2vec2.py", "patch": "@@ -162,7 +162,7 @@ class Wav2Vec2Config(PreTrainedConfig):\n \n model_type = \"wav2vec2\"\n \n- vocab_size: int = 32\n+ vocab_size: int | None = 32\n hidden_size: int = 768\n num_hidden_layers: int = 12\n ...
2026-04-09T14:37:06
electron/electron
c6ae27c7c95272611125fea7bc9dc763934d54cb
0e13b8dd015439798afe1ae3c79ecad7064ed8b0
Adding a stability test: non referenced, unused requests are collected without crash.
[ { "path": "spec/api-net-spec.js", "patch": "@@ -25,7 +25,7 @@ const kOneKiloByte = 1024\n const kOneMegaByte = kOneKiloByte * kOneKiloByte\n \n describe('net module', function () {\n- // this.timeout(0)\n+ this.timeout(0)\n describe('HTTP basics', function () {\n let server\n beforeEach(functio...
2016-10-17T08:38:10
nodejs/node
689ab46c646bc8add5560a606ba73d3760f8f924
44aec00b70ece0d526faba8d312755d3ca49080c
n-api: return napi_invalid_arg on napi_create_bigint_words N-API statuses shall be preferred over throwing JavaScript Errors on checks occurred in N-APIs. PR-URL: https://github.com/nodejs/node/pull/31312 Refs: https://github.com/nodejs/node/issues/29849 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: C...
[ { "path": "src/js_native_api_v8.cc", "patch": "@@ -1596,10 +1596,8 @@ napi_status napi_create_bigint_words(napi_env env,\n \n v8::Local<v8::Context> context = env->context();\n \n- if (word_count > INT_MAX) {\n- napi_throw_range_error(env, nullptr, \"Maximum BigInt size exceeded\");\n- return napi_...
2019-12-01T08:04:57
huggingface/transformers
655707b982e7cc05f18ac1e644a51bee0cf47df1
0aff0dbf0aa1bf1fdbe8e43ff65d04658b185eba
fix(testing): Fix Kyutai Speech-To-Text and LongCatFlash test failures on main CI (#44695) * fix: Fix KyutaiSTT, LlavaOnevision, and LongcatFlash test failures on main * revert: Remove LLaVA-OneVision change out of scope
[ { "path": "tests/models/kyutai_speech_to_text/test_modeling_kyutai_speech_to_text.py", "patch": "@@ -637,7 +637,7 @@ def test_generation(self):\n \n samples = self._load_datasamples(1)\n inputs = processor(\n- samples,\n+ audio=samples,\n ).to(torch_device)\n \n...
2026-04-09T14:24:27
vercel/next.js
1105501287d8120f954061a655554e2b75dc617d
f393f55678173fcfbc2c2d05f4c5c3bfc123b56f
test(integration): fix --turbo tests fixture setup (#55293) ### What? Update few test fixture setup doesn't invoke --turbo based on the conditions. Closes WEB-1543
[ { "path": "test/development/basic/barrel-optimization.test.ts", "patch": "@@ -1,6 +1,7 @@\n import { join } from 'path'\n import { createNext, FileRef } from 'e2e-utils'\n import { NextInstance } from 'test/lib/next-modes/base'\n+import { shouldRunTurboDevTest } from '../../lib/next-test-utils'\n \n describ...
2023-09-18T17:46:07
electron/electron
e7962c7ba2421c809134f38fd82d0e5ca2e2c2a9
194b14100e08a9043364e308f83d53433b52fb05
fixes and tests for webview 'webpreferences' attr
[ { "path": "lib/browser/guest-view-manager.js", "patch": "@@ -188,15 +188,16 @@ const attachGuest = function (embedder, elementInstanceId, guestInstanceId, para\n // this uses the same parsing rules as window.open uses for its features\n if (typeof params.webpreferences === 'string') {\n // split the...
2016-10-14T23:04:33
huggingface/transformers
0aff0dbf0aa1bf1fdbe8e43ff65d04658b185eba
3170e369339e2c38d4f00f289a69638f36650d32
[Qwen3_5]Remove unnecessary masked_fill_ in torch_chunk_gated_delta_rule attention computation: "attn = (q_i @ k_i.transpose(-1, -2) * decay_mask[:, :, i]).masked_fill_(mask, 0)" (#45215) * [Qwen3_5]Remove excess mask Signed-off-by: zj <2716634506@qq.com> * [Qwen3_5]Remove unnecessary masked_fill_ in torch_chunk_gat...
[ { "path": "src/transformers/models/olmo_hybrid/modeling_olmo_hybrid.py", "patch": "@@ -554,7 +554,7 @@ def torch_chunk_gated_delta_rule(\n # for each chunk\n for i in range(0, total_sequence_length // chunk_size):\n q_i, k_i, v_i = query[:, :, i], key[:, :, i], value[:, :, i]\n- attn ...
2026-04-09T13:59:02
nodejs/node
44aec00b70ece0d526faba8d312755d3ca49080c
d15b8ea3bdcb72b8e2dd3aee0cc717daa512d2f6
doc: fix a code example in crypto.md PR-URL: https://github.com/nodejs/node/pull/31313 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.c...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1364,8 +1364,8 @@ const signature = sign.sign(privateKey, 'hex');\n const verify = crypto.createVerify('SHA256');\n verify.write('some data to sign');\n verify.end();\n-console.log(verify.verify(publicKey, signature));\n-// Prints: true or false\n+console.log(ver...
2020-01-11T07:07:49
vercel/next.js
f393f55678173fcfbc2c2d05f4c5c3bfc123b56f
c6c38916882e419d9c4babdd9223339094fff1c3
fix(next-core): enable image extensions (#55460) ### What? Enables the image extensions supported by turbopack. Also fixes test fixture to assert error overlay header. Closes WEB-1587
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -156,7 +156,7 @@ jobs:\n build: >-\n set -e &&\n apt update &&\n- apt install -y pkg-config xz-utils &&\n+ apt install -y pkg-config xz-utils dav1d libdav1d-dev &&\n ...
2023-09-18T17:30:27
golang/go
77d9252ddfc6b3e2e48916240340ea5470b005a6
38607c553878da21b5042e63997ecb3b7201e684
runtime: fix inline assembly trampoline for arm64 Use the program counter to compute the address of the first instruction of the ret sled. The ret sled is located after 5 instructions from the MOVD instruction saving the value of the program counter. Change-Id: Ie7ae7a0807785d6fea035cf7a770dba7f37de0ec GitHub-Last-Re...
[ { "path": "src/runtime/libfuzzer_arm64.s", "patch": "@@ -43,8 +43,8 @@ TEXT\truntime·libfuzzerCallTraceIntCmp(SB), NOSPLIT, $8-32\n \tMOVD\tR12, RSP\n call:\n \t// Load address of the ret sled into the default register for the return\n-\t// address (offset of four instructions, which means 16 bytes).\n-\tAD...
2022-05-23T23:20:00
electron/electron
bd34db256b589cba38d25013917aafc66064d20d
988e2334f59d8aaccdec394a9d9fa0c39920068d
browser: fix race in creation of default browser context by AtomAccessTokenStore
[ { "path": "atom/browser/atom_access_token_store.cc", "patch": "@@ -17,7 +17,7 @@ using content::BrowserThread;\n \n namespace atom {\n \n-namespace {\n+namespace internal {\n \n // Loads access tokens and other necessary data on the UI thread, and\n // calls back to the originator on the originating thread....
2016-10-14T19:30:54
huggingface/transformers
3170e369339e2c38d4f00f289a69638f36650d32
9f8ddaabcce8a4523112e496d0d631ba0356105f
Add THD support in ESM (#44145) * Add THD support in ESM Signed-off-by: Bruno Alvisio <balvisio@nvidia.com> * Remove commented code Signed-off-by: Bruno Alvisio <balvisio@nvidia.com> * Refactored Evolla model Signed-off-by: Bruno Alvisio <balvisio@nvidia.com> * Fix position_ids for aboslute embeddings Signed-of...
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -139,6 +139,12 @@ def _build_checkpoint_conversion_mapping():\n target_patterns=\"model.vlm.language_model.embed_tokens\",\n ),\n ],\n+ \"esm\": [\n+ WeightRenaming(\n+ \"enc...
2026-04-09T13:54:43
nodejs/node
d15b8ea3bdcb72b8e2dd3aee0cc717daa512d2f6
eb5e1ddd3146aa36180f44233a9465143a811afa
stream: fix async iterator destroyed error propagation There was an edge case where if _destroy calls the error callback later than one tick the iterator would complete early and not propgate the error. PR-URL: https://github.com/nodejs/node/pull/31314 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-B...
[ { "path": "lib/internal/streams/async_iterator.js", "patch": "@@ -78,18 +78,20 @@ const ReadableStreamAsyncIteratorPrototype = ObjectSetPrototypeOf({\n }\n \n if (this[kStream].destroyed) {\n- // We need to defer via nextTick because if .destroy(err) is\n- // called, the error will be emit...
2020-01-11T12:39:34
vercel/next.js
c6c38916882e419d9c4babdd9223339094fff1c3
36e12a7415365b1b215e35a950517d0cd81975e3
chore: remove replay from issue template (#55397) ### What? Removes Replay.io as a valid reproduction link from our bug template. ### Why? Based on issues https://github.com/vercel/next.js/issues/55181 and https://github.com/vercel/next.js/issues/55278 it looks like people are struggling to report the correct thing...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -15,12 +15,10 @@ body:\n - Ask a question on the [Next.js Discord](https://discord.com/invite/nextjs) server\n - type: input\n attributes:\n- label: Link to the code that reproduces this issue or a replay of the bug\n+ ...
2023-09-18T17:05:19
huggingface/transformers
0a66862c571a11ad62054d598eb4e5814cc34cdd
4cb5595aa76bb44c86fc484fdfc32be307c5376e
Fix conversion mappings for vlms (#45340) * fix * oupsi typo * missing dot * why did it have a mapping?... hub weights are correct already * no kw arg for replace...
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -35,11 +35,9 @@\n \n _MODEL_TO_CONVERSION_PATTERN = {\n # Mixtral-style MoE\n- \"mixtral\": \"mixtral\",\n \"minimax\": \"mixtral\",\n \"minimax_m2\": \"mixtral\",\n # Qwen2-style MoE\n- \"qwen2_moe\": \"qwen2_moe\",\n ...
2026-04-09T13:17:48
nodejs/node
eb5e1ddd3146aa36180f44233a9465143a811afa
b772b9ab328cdc3185db855293b37daab26b51ef
errors: remove dead code in ERR_INVALID_ARG_TYPE Remove unreachable code. As expected is converted to an Array the 'not ' check will be never executed. PR-URL: https://github.com/nodejs/node/pull/31322 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By:...
[ { "path": "lib/internal/errors.js", "patch": "@@ -946,14 +946,7 @@ E('ERR_INVALID_ARG_TYPE',\n const type = name.includes('.') ? 'property' : 'argument';\n msg += `\"${name}\" ${type} `;\n }\n-\n- // determiner: 'must be' or 'must not be'\n- if (typeof expected === 'string' && expected...
2020-01-11T21:55:24
golang/go
38607c553878da21b5042e63997ecb3b7201e684
95b68e1e02fa713719f02f6c59fb1532bd05e824
cmd/link: specify -Wl,-z params as documented Both GNU and LLVM linkers de facto accept `-zPARAM`, and Go sometimes does it. Inconsistently: there are more uses of `-z PARAM` than `-zPARAM`: $ git grep -E -- '-Wl,-z[^,]' master | wc -l 4 $ git grep -E -- '-Wl,-z,' master | wc -l 7 However, not adding...
[ { "path": "src/cmd/link/internal/ld/lib.go", "patch": "@@ -1463,12 +1463,12 @@ func (ctxt *Link) hostlink() {\n \t\t// We force all symbol resolution to be done at program startup\n \t\t// because lazy PLT resolution can use large amounts of stack at\n \t\t// times we cannot allow it to do so.\n-\t\targv = ...
2022-06-07T05:55:40
vercel/next.js
2a15f785e7f35e0e0e2d150817e857a7d7ab8f15
372c1347ab969bf1cb31398fc51b4871259686f1
feat(turbopack): emit raw image bytes for unsupported codec (vercel/turbo#5967) ### Description Turbopack fails & errors when the given image import is non decode / encodeable. This is a large papercut to run some pages as single image import blockes entire page rendering. Enabling those codec support (avif, web...
[ { "path": "crates/turbopack-image/src/process/mod.rs", "patch": "@@ -22,7 +22,7 @@ use turbo_tasks_fs::{File, FileContent, FileSystemPath};\n use turbopack_core::{\n error::PrettyPrintError,\n ident::AssetIdent,\n- issue::{Issue, IssueExt},\n+ issue::{Issue, IssueExt, IssueSeverity},\n };\n \n...
2023-09-18T16:32:29
huggingface/transformers
4cb5595aa76bb44c86fc484fdfc32be307c5376e
2fae57f5da9b0108d0c4da2692f5a702e6fb8c02
Fix resize failure caused by zero-sized masks in PP-DocLayoutV3 (#45281) * Fix resize failure caused by zero-sized masks in PP-DocLayoutV3 * add small test * add small reference to PR --------- Co-authored-by: vasqu <antonprogamer@gmail.com> Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
[ { "path": "src/transformers/models/pp_doclayout_v3/image_processing_pp_doclayout_v3.py", "patch": "@@ -202,6 +202,9 @@ def _extract_polygon_points_by_masks(self, boxes, masks, scale_ratio):\n y_coordinates = [int(round((y_min * scale_height).item())), int(round((y_max * scale_height).item()))]\n...
2026-04-09T13:06:31
nodejs/node
b772b9ab328cdc3185db855293b37daab26b51ef
cceef186dcc957d7b5078254e3e3a86f059deee6
build: fix step name in GitHub Actions workflow The CI workflow doesn't use the matrix strategy so there is no `${{ matrix.node-version }}` variable to use in the `Use Node.js` step names. PR-URL: https://github.com/nodejs/node/pull/31323 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henning...
[ { "path": ".github/workflows/CI.yml", "patch": "@@ -7,7 +7,7 @@ jobs:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v2\n- - name: Use Node.js ${{ matrix.node-version }}\n+ - name: Use Node.js 13\n uses: actions/setup-node@v1\n with:\n node-ver...
2020-01-12T08:06:52
golang/go
a8780f94c3eb19dda8aaa15ad83468b2d54a0e5a
3a1f1e15757e4c2fd310e3659eefff577d87717b
[dev.unified] cmd/compile: fix missing method value wrapper in unified IR Unified IR uses to generate wrappers after the global inlining pass, so it needs to apply inlining for the wrappers itself. However, inlining may reveal new method value nodes which have not been seen yet, thus unified IR never generates wrapper...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -2468,6 +2468,15 @@ func finishWrapperFunc(fn *ir.Func, target *ir.Package) {\n \t// so we're responsible for applying inlining ourselves here.\n \tinline.InlineCalls(fn)\n \n+\t// The body of wrapper function after inlining may reveal new i...
2022-05-23T17:41:13
huggingface/transformers
e0b41d7bebd9f769fd0cf682a5458661e655c832
e6831088ecb6a1a196c79dcc0209a97ef4020ccd
tweak checkers output on errors (#45163) * tweak TB * fix tests for the CI side
[ { "path": "tests/repo_utils/test_checkers.py", "patch": "@@ -42,6 +42,10 @@ def patch_checkers_paths(repo_root: Path):\n \n \n class CheckersCacheTest(unittest.TestCase):\n+ class _TTYStringIO(io.StringIO):\n+ def isatty(self) -> bool:\n+ return True\n+\n def _create_fake_repo(self,...
2026-04-09T11:44:43
vercel/next.js
d420233ec290b50e9314d4cda644342d86311f67
ff3668499a8e327e56b97cf49d6ad5c83e1eafbc
Hotfix for missing application/json header in Prepr example (#55517) I added the application/json header to the API lib of the Prepr example. Because without it when statically generating an error is produced by GraphQL. Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "examples/cms-prepr/lib/api.js", "patch": "@@ -2,6 +2,7 @@ async function fetchAPI(query, { variables, preview } = {}) {\n const response = await fetch(process.env.PREPRIO_API, {\n method: 'POST',\n headers: {\n+ 'Content-Type': 'application/json',\n Authorization:\n '...
2023-09-18T13:33:26
electron/electron
ac9e6eda9526e8b1e163e1c6e2136e85b06d25b2
c0c9e3ac3d675286550463d82aa2e7352ce43fd6
Fixing a crash with pending URLRequests on shutdown.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -132,7 +132,14 @@ URLRequest::URLRequest(v8::Isolate* isolate, v8::Local<v8::Object> wrapper)\n InitWith(isolate, wrapper);\n }\n \n-URLRequest::~URLRequest() {}\n+URLRequest::~URLRequest() {\n+ // A request has been created in JS, it was...
2016-10-14T15:37:39
nodejs/node
f4a4a1a63c7ceba77a0178b4af6068abcadba41f
a2c4244e3d72deb9c0e560ed9b2fb21b3698b7e0
doc: add an example for util.types.isExternal added usage example for util.types.isExternal which was missing owing to the complexity. Used a combination of n-api and js to demonstrate usage of the api. PR-URL: https://github.com/nodejs/node/pull/31173 Fixes: https://github.com/nodejs/node/issues/20604 Reviewed-By: R...
[ { "path": "doc/api/util.md", "patch": "@@ -1399,6 +1399,35 @@ properties. Such objects are created either by Node.js internals or native\n addons. In JavaScript, they are [frozen][`Object.freeze()`] objects with a\n `null` prototype.\n \n+```c\n+#include <js_native_api.h>\n+#include <stdlib.h>\n+napi_value ...
2020-01-03T07:28:52
huggingface/transformers
e6831088ecb6a1a196c79dcc0209a97ef4020ccd
03dd72d2440295c555737e0555a1719e54c1b186
fix: leak in tokenizer registry for `test_processors` (#45318) fix: leak in tokenizer reigstry
[ { "path": "tests/models/auto/test_processor_auto.py", "patch": "@@ -49,6 +49,7 @@\n )\n from transformers.models.auto.feature_extraction_auto import get_feature_extractor_config\n from transformers.models.auto.image_processing_auto import get_image_processor_config\n+from transformers.models.auto.tokenizati...
2026-04-09T10:07:11
golang/go
95547aee8c6377e73919d6f0b99484152fb3de04
d43ddc1f3fb25b4338433435caae7e6f4b3138a9
cmd/compile: cast riscv64 rewrite shifts to unsigned int This appeases Go 1.4, making it possible to bootstrap GOARCH=riscv64 with a Go 1.4 compiler. Fixes #52583 Change-Id: Ib13c2afeb095b2bb1464dcd7f1502574209bc7ab Reviewed-on: https://go-review.googlesource.com/c/go/+/409974 TryBot-Result: Gopher Robot <gobot@gola...
[ { "path": "src/cmd/compile/internal/ssa/gen/RISCV64.rules", "patch": "@@ -735,9 +735,9 @@\n (NEGW (MOVDconst [x])) => (MOVDconst [int64(int32(-x))])\n \n // Shift of a constant.\n-(SLLI [x] (MOVDconst [y])) && is32Bit(y << x) => (MOVDconst [y << x])\n-(SRLI [x] (MOVDconst [y])) => (MOVDconst [int64(uint64(y...
2022-06-01T19:09:09
vercel/next.js
ff3668499a8e327e56b97cf49d6ad5c83e1eafbc
ffc0e54102317ec348241ed3694cdcca8b3897e4
Make useSearchParams and useParams compatible between app and pages router (#55280) ### `useSearchParams` server router's query includes both search params and path params, this PR eliminate the path params from `useSearchParams` to make it aligned between app router and pages router ### `useParams` For pages, we e...
[ { "path": "packages/next/src/client/components/navigation.ts", "patch": "@@ -8,6 +8,7 @@ import {\n import {\n SearchParamsContext,\n PathnameContext,\n+ PathParamsContext,\n } from '../../shared/lib/hooks-client-context.shared-runtime'\n import { clientHookInServerComponentError } from './client-hook-...
2023-09-18T12:42:20
electron/electron
ba91bbd3979d34ad693895e8bc9e32840e39313b
78343a62b838f90f4a4500657cec7b7c06a53fa7
Fix spaces
[ { "path": "docs/api/structures/cookie.md", "patch": "@@ -1,14 +1,14 @@\n-# Certificate Object\n+# Cookie Object\n \n-* `name` String - The name of the cookie.\n-* `value` String - The value of the cookie.\n-* `domain` String - The domain of the cookie.\n-* `hostOnly` String - Whether the cookie is a hos...
2016-10-14T11:54:04
huggingface/transformers
d42f8ba5c86ee7d1472dd18ed929b4dbc3cd1f35
380e3cc5d59912a48508cb6d4959a31cd460e12e
[gemma4] Dissociate kv states sharing from the Cache (#45312) * force at least cache sharing always * better * adjust tests gradients * fix mask * fix * fix * simplify a lot * add slow test * fix * doc * improve type hints
[ { "path": "src/transformers/models/gemma4/modeling_gemma4.py", "patch": "@@ -1181,6 +1181,7 @@ def forward(\n hidden_states: torch.Tensor,\n position_embeddings: torch.Tensor,\n attention_mask: torch.Tensor | None,\n+ shared_kv_states: dict[int, tuple[torch.Tensor, torch.Tenso...
2026-04-09T08:08:03
nodejs/node
fff75645e9e9793397d89327c1bed87795ccb9b0
c643e3b5720bf8e4cb098368d30c869e1fdf53a4
doc: fix example of parsing request.url PR-URL: https://github.com/nodejs/node/pull/31302 Fixes: https://github.com/nodejs/node/issues/31301 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu ...
[ { "path": "doc/api/http.md", "patch": "@@ -1990,7 +1990,7 @@ When `request.url` is `'/status?name=ryan'` and\n \n ```console\n $ node\n-> new URL(request.url, request.headers.host)\n+> new URL(request.url, `http://${request.headers.host}`)\n URL {\n href: 'http://localhost:3000/status?name=ryan',\n orig...
2020-01-10T18:06:18
golang/go
d43ddc1f3fb25b4338433435caae7e6f4b3138a9
2fa45a4fcd57070967f081f3a5c33014c3f29fea
strconv: fix typo in atof.go strings for 'NaN' -> string for 'NaN' Change-Id: Ia415644a1b651e6ef9996ad24dd9708a60e57dfc GitHub-Last-Rev: 877f1c3eb1dc885915ae75385c5d38ee6f5fd9b1 GitHub-Pull-Request: golang/go#53246 Reviewed-on: https://go-review.googlesource.com/c/go/+/410494 Auto-Submit: Ian Lance Taylor <iant@golan...
[ { "path": "src/strconv/atof.go", "patch": "@@ -688,7 +688,7 @@ func atof64(s string) (f float64, n int, err error) {\n // away from the largest floating point number of the given size,\n // ParseFloat returns f = ±Inf, err.Err = ErrRange.\n //\n-// ParseFloat recognizes the strings \"NaN\", and the (possibl...
2022-06-06T05:10:38
rust-lang/rust
b6c54a97b3ce019b48a7e98f952532b9d1670834
715088094c2e2ef31158b4767ceacfba62c8e6ef
Avoid placing `// FIXME` comments inside doc code blocks This leads tools like rustfmt to get confused, because the doc code block effectively spans two doc comments. As a result, the tools think the first code block is unclosed, and the subsequent terminator opens a new block. Move the FIXME comments outside the doc...
[ { "path": "library/alloc/src/string.rs", "patch": "@@ -265,12 +265,12 @@ use crate::vec::{self, Vec};\n /// You can look at these with the [`as_ptr`], [`len`], and [`capacity`]\n /// methods:\n ///\n+// FIXME Update this when vec_into_raw_parts is stabilized\n /// ```\n /// use std::mem;\n ///\n /// let sto...
2025-07-26T00:52:13
electron/electron
9cc8bfae1c1ba28fb797145675479eee25bad371
de29f2dde5ed6bfe75a13ee304beaf3cc1b8d763
fixing space formatting issues.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -256,7 +256,7 @@ void URLRequest::Cancel() {\n }\n \n bool URLRequest::SetExtraHeader(const std::string& name,\n- const std::string& value) {\n+ const std::string& value) {\n // Requ...
2016-10-14T08:58:16
huggingface/transformers
380e3cc5d59912a48508cb6d4959a31cd460e12e
d0a7abe5173bd83ce080f0971595c4a9c1b831fc
Fix `text-to-speech` pipeline crash when generation config contains `None` values (#45107) fix text-to-audio pipeline config Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
[ { "path": "src/transformers/pipelines/text_to_audio.py", "patch": "@@ -131,7 +131,7 @@ def __init__(self, *args, vocoder=None, sampling_rate=None, **kwargs):\n config = self.model.config\n gen_config = self.model.__dict__.get(\"generation_config\", None)\n if gen_config i...
2026-04-08T17:06:30
nodejs/node
027eaac37378e6c38b900f9f19916de0b29f4162
94549be3405467df180ed3c5ac98c147665b3a77
doc: document readline key bindings This documents all readline key bindings. It is a rework of https://github.com/nodejs/node/pull/20825 PR-URL: https://github.com/nodejs/node/pull/31256 Fixes: https://github.com/nodejs/node/issues/20814 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <...
[ { "path": "doc/api/readline.md", "patch": "@@ -293,7 +293,8 @@ added: v0.1.98\n \n The `rl.write()` method will write either `data` or a key sequence identified\n by `key` to the `output`. The `key` argument is supported only if `output` is\n-a [TTY][] text terminal.\n+a [TTY][] text terminal. See [TTY keyb...
2020-01-07T12:37:42
vercel/next.js
ffc0e54102317ec348241ed3694cdcca8b3897e4
b2facf58118158ba8b3b356f034093bf6d593a0f
Allow server-only in server targets and client-only in client components targets to be available (#55394) Users want to use `server-only` to restrict the middleware / app routes / pages api, but now it's failing as we're treating them as different webpack layers, but validating the `server-only` only with server comp...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -46,7 +46,8 @@ use turbopack_binding::swc::{\n SyntaxContext,\n },\n ecma::{\n- ast::EsVersion, parser::parse_file_as_module, transforms::base::pass::noop, visit::Fold,\n+ ast::EsVersion, ato...
2023-09-18T12:27:45
rust-lang/rust
9e9ff76e32154be182ea2a8489249d6212f520e9
b9827eb1d87146cf043a7ba2158424db4ab79a05
add Debug on AstSubst PathTransform.rs Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-db/src/path_transform.rs", "patch": "@@ -15,12 +15,13 @@ use syntax::{\n ted,\n };\n \n-#[derive(Default)]\n+#[derive(Default, Debug)]\n struct AstSubsts {\n types_and_consts: Vec<TypeOrConst>,\n lifetimes: Vec<ast::LifetimeArg>,\n }\n \n+#[derive(De...
2025-07-26T04:26:11
golang/go
fc9707594910452cce3fba794fa9ffe541e8cefa
07eca49055f7ef0d73be2ca28dcc5d489db129b9
go/types, types2: simplify implementation of validType (fix TODO) Now that validType is using the correct type nest (CL 409694), the top entry of the type nest corresponds to the instantiated type. Thus we can use that type instance to look up the value of type parameters, there's no need anymore to create an environm...
[ { "path": "src/cmd/compile/internal/types2/validtype.go", "patch": "@@ -9,20 +9,20 @@ package types2\n // (Cycles involving alias types, as in \"type A = [10]A\" are detected\n // earlier, via the objDecl cycle detection mechanism.)\n func (check *Checker) validType(typ *Named) {\n-\tcheck.validType0(typ, n...
2022-06-03T03:40:17
electron/electron
ad45c084ccd4755f1d8541e0d8582cdace0f3547
5cf03e68d421a746d50153b95ae11a92fa34f090
Fix uploaddata naming
[ { "path": "docs/api/structures/upload-data.md", "patch": "@@ -1,4 +1,4 @@\n-# ThumbarButton Object\n+# UploadData Object\n \n * `bytes` Buffer - Content being sent.\n * `file` String - Path of file being uploaded.", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2016-10-14T00:37:36
huggingface/transformers
c850500b54dfd0b4df22a6cf143a06955cc3a733
d081c718b8825036a7662ec819313e5141dc34b5
Fix export for gemma4 and add Integration tests (#45285) * start updating tests * start making them pass * more * fix * fix export * fix * oupsi * review comments * fix expectations for a10 * style * rename tests
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -982,18 +982,38 @@ def update_recurrent_state(self, recurrent_states: torch.Tensor, layer_idx: int,\n return recurrent_states\n \n def early_initialization(\n- self, batch_size: int, num_heads: int, head_dim: int, dtype: torch.dtyp...
2026-04-08T13:07:37
nodejs/node
a13500f5037c1eede3a2d0a0db5fc532c05e14a8
a45c1aa39f593cc584f1895dd0b7309fb12e1b02
fs: improve mode and flags validation This fixes a few bugs in `fs`. E.g., `fs.promises.access` accepted strings as mode. It should have only accepted numbers. It will now always validate the flags and the mode argument in an consistent way. PR-URL: https://github.com/nodejs/node/pull/27044 Reviewed-By: Ben Noordhuis...
[ { "path": "doc/api/fs.md", "patch": "@@ -5493,8 +5493,8 @@ On Linux, positional writes don't work when the file is opened in append mode.\n The kernel ignores the position argument and always appends the data to\n the end of the file.\n \n-Modifying a file rather than replacing it may require a flags mode o...
2019-04-01T23:21:36
vercel/next.js
dc9ba02f0ac1cace397531859cffb5cf3e7e9933
8fd2ad27b94489a6487b6e40bc23a4d84b205845
Turbopack: Setup HMR for client-only changes in App dir (#55464) ### What? This sets up the Turbopack HMR client to listen for client-only changes in App Pages. In the [initial PR](https://github.com/vercel/next.js/pull/54772), I incorrectly assumed that client-only changes would trigger a page refresh, so we di...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -477,6 +477,10 @@ function createRSCAliases(\n ] = `next/dist/compiled/scheduler${bundledReactChannel}/tracing-profiling`\n }\n \n+ alias[\n+ '@vercel/turbopack-ecmascript-runtime/dev/client/hmr-client.ts'\n+ ] = `next/dist/clien...
2023-09-18T06:57:56