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
bb45d3631ec7026db04a77d33a52b31766372160
12b8e10dbfabaad43b8b4664aec78c6b9fb4307c
refactor(serve): move `request_id` to headers (#40722) * refactor(serve): move `request_id` to headers * fix(serve): typo in middleware fn name Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> --------- Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
[ { "path": "src/transformers/commands/serving.py", "patch": "@@ -24,6 +24,7 @@\n import tempfile\n import threading\n import time\n+import uuid\n from argparse import ArgumentParser, Namespace\n from collections.abc import AsyncGenerator, Generator, Iterable\n from contextlib import asynccontextmanager\n@@ -...
2025-09-05T15:50:04
vercel/next.js
5950e2b3b0e3cec6e842cad8766524502afba0e9
65631741760d7a04e863d4d7cfe01740913e6242
Small fixes to copy of Turbopack errors (#47734) This also removes next-swc's Prettier configuration, which we weren't following anyway.
[ { "path": "packages/next-swc/crates/next-core/js/.prettierrc.json", "patch": "@@ -1,4 +0,0 @@\n-{\n- \"singleQuote\": false,\n- \"semi\": true\n-}", "additions": 0, "deletions": 4, "language": "JSON" }, { "path": "packages/next-swc/crates/next-core/js/src/overlay/internal/container/Err...
2023-03-31T11:12:12
golang/go
a91d0b649c9ee8c64328fb124eff94dfca300d39
79ff663754f4238bd1fe2e56f460c2f603c71b80
cmd/compile/internal/types2: disallow lone type parameter on RHS of type declaration We may revisit this decision in a future release. By disallowing this for Go 1.18 we are ensuring that we don't lock in the generics design in a place that may need to change later. (Type declarations are the primary construct where i...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -622,13 +622,6 @@ func TestDefsInfo(t *testing.T) {\n \t\t{`package p3; type x int`, `x`, `type p3.x int`},\n \t\t{`package p4; func f()`, `f`, `func p4.f()`},\n \t\t{`package p5; func f() int { x, _ := 1, 2; return x }`, `_`, `var _ int`...
2021-10-27T20:55:15
huggingface/transformers
12b8e10dbfabaad43b8b4664aec78c6b9fb4307c
6b232618b6375b1f4be8fe56e973db71748e8e95
Skip `VitMatteImageProcessingTest::test_fast_is_faster_than_slow` (#40713) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/vitmatte/test_image_processing_vitmatte.py", "patch": "@@ -23,7 +23,6 @@\n \n from transformers.image_utils import load_image\n from transformers.testing_utils import (\n- is_flaky,\n require_torch,\n require_torch_accelerator,\n require_vision,\n@@ -267,7 +266,7 @@ de...
2025-09-05T15:36:20
electron/electron
775c90b7337bcb74a3d5d21f803f4a7034c6ff24
c0528c5049dc42ab191367b0a463274f72f46818
Use 0.8.0. This picks up the fix for https://github.com/atom/atom/issues/7061.
[ { "path": "script/update-external-binaries.py", "patch": "@@ -8,7 +8,7 @@\n from lib.util import safe_mkdir, rm_rf, extract_zip, tempdir, download\n \n \n-VERSION = 'v0.7.0'\n+VERSION = 'v0.8.0'\n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n FRAMEWORKS_URL = 'http://github.com...
2015-09-25T15:37:30
nodejs/node
582c12260ed99ebe7710894c2dab29435b1bebdc
39171d755d3e81f03ac0fd716cd80c2e20882fb6
deps: update acorn to 6.0.7 acorn and acorn-walk are now published as two different packages. Put them both in subdirectories of `deps/acorn`. Adapt the REPL's recoverable error detection to use the new API for extending acorn parsers. PR-URL: https://github.com/nodejs/node/pull/25844 Reviewed-By: Ruben Bridgewater <...
[ { "path": "deps/acorn/AUTHORS", "patch": "@@ -1,77 +0,0 @@\n-List of Acorn contributors. Updated before every release.\n-\n-Adrian Heine\n-Adrian Rakovsky\n-Alistair Braidwood\n-Amila Welihinda\n-Andres Suarez\n-Angelo\n-Aparajita Fishman\n-Arian Stolwijk\n-Artem Govorov\n-Boopesh Mahendran\n-Bradley Heinz\...
2019-01-31T07:36:48
huggingface/transformers
948bc0fa34f56bc70477fcd35d7dc0d1cee3cf37
828044cadbe43e4c071fbd3a18be717508927683
[`Gemma Embedding`] Fix SWA (#40700) * fix gemma embedding flash attention * fix sdpa * fix atttempt number 2 * alternative gemma fix * fix modular
[ { "path": "src/transformers/models/gemma3/configuration_gemma3.py", "patch": "@@ -226,6 +226,8 @@ def __init__(\n self.attn_logit_softcapping = attn_logit_softcapping\n self.layer_types = layer_types\n self.use_bidirectional_attention = use_bidirectional_attention\n+ if use_bi...
2025-09-05T15:12:00
vercel/next.js
d83f68ccf7956ba6ae46667d56f282d68de5b9fc
43872c75723d9477b5fd244b5241759fb1e12f37
chore(ci): fix codemod tests (#47710) These tests were failing with the following error: ``` Failed to fetch origin/canary Error: Command failed: git fetch origin canary fatal: could not read Username for 'https://github.com/': No such device or address ``` https://github.com/vercel/next.js/actions/runs/4220015224/j...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -35,6 +35,7 @@ jobs:\n TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}\n outputs:\n docsChange: ${{ steps.docs-change.outputs.DOCS_CHANGE }}\n+ codemodChange: ${{ steps.codemod-change.outputs.CODEMOD_CHANGE }}\n isRelease: ...
2023-03-31T04:27:16
golang/go
a3c4ac0fbca51fc2e3369c93738419fc947bda77
de1abf76fb69739c6cad463454a55fe9c33f63ac
reflect: skip duplicate check in StructOf when the name of a field is "_" Fixes #49110 Change-Id: I32c2cb26cca067a4a676ce4bbc3e51f1e0cdb259 Reviewed-on: https://go-review.googlesource.com/c/go/+/357959 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylo...
[ { "path": "src/reflect/type.go", "patch": "@@ -2606,7 +2606,7 @@ func StructOf(fields []StructField) Type {\n \t\t\t\t}\n \t\t\t}\n \t\t}\n-\t\tif _, dup := fset[name]; dup {\n+\t\tif _, dup := fset[name]; dup && name != \"_\" {\n \t\t\tpanic(\"reflect.StructOf: duplicate field \" + name)\n \t\t}\n \t\tfset...
2021-10-22T09:00:46
rust-lang/rust
d5e9833af388c9f3122877fe355ff7b244c50516
18b12218a4ae486b3c699efa159ab07277624982
Remove rustc's notion of "preferred" alignment AKA `__alignof` In PR 90877 T-lang decided not to remove `intrinsics::pref_align_of`. However, the intrinsic and its supporting code 1. is a nightly feature, so can be removed at compiler/libs discretion 2. requires considerable effort in the compiler to support, as it ...
[ { "path": "src/intrinsics/mod.rs", "patch": "@@ -812,11 +812,7 @@ fn codegen_regular_intrinsic_call<'tcx>(\n dest.write_cvalue(fx, val);\n }\n \n- sym::pref_align_of\n- | sym::needs_drop\n- | sym::type_id\n- | sym::type_name\n- | sym::variant_count => {...
2025-02-12T06:09:16
nodejs/node
5d609bb11c4c4b73f86100363430010b663f0775
64745c3ade8bad694fffba06736b461ab9a05a1d
assert: create internal/assert micro-module For use in built-in modules that could benefit from `assert()` without having to load the entire module (unless an AssertionError actually occurs): lib/internal/assert.js. PR-URL: https://github.com/nodejs/node/pull/25956 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de...
[ { "path": "lib/internal/assert.js", "patch": "@@ -0,0 +1,9 @@\n+'use strict';\n+\n+function assert(value, message) {\n+ if (!value) {\n+ require('assert')(value, message);\n+ }\n+}\n+\n+module.exports = assert;", "additions": 9, "deletions": 0, "language": "JavaScript" }, { "path": ...
2019-02-06T05:05:24
golang/go
4fefd439a4087ec4a4cb7a61cfe15801115321d2
51be206114b559f7ea26fe2290f8ed274a2080c3
cmd/go: fix recognition of Fossil checkout directories Use ".fslckout" or "_FOSSIL_" files to correctly identify the root of Fossil checkout directories. Previously, Go has assumed VCS checkouts are indicated by a dot-file named after the VCS command (eg, .git, .hg, .fossil). This is not normally true for Fossil, but...
[ { "path": "src/cmd/go/internal/vcs/vcs.go", "patch": "@@ -35,8 +35,9 @@ import (\n // A Cmd describes how to use a version control system\n // like Mercurial, Git, or Subversion.\n type Cmd struct {\n-\tName string\n-\tCmd string // name of binary to invoke command\n+\tName string\n+\tCmd string...
2021-10-22T01:36:00
vercel/next.js
43872c75723d9477b5fd244b5241759fb1e12f37
47152638d488e5dcf2b69aba66c71e48a68c5ae9
Turbopack: Fix images.remotePatterns port/protocol serialization (#47721) By default, `serde-json` will transform a `None` into a `null` value, and Next's [default image loader][loader] will perform strict `=== undefined` [equality checks][checks] on the fields. Because `null !== undefined`, a missing `protocol` or `p...
[ { "path": "packages/next-swc/crates/next-core/src/next_config.rs", "patch": "@@ -321,9 +321,12 @@ pub enum ImageFormat {\n #[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, TraceRawVcs)]\n #[serde(rename_all = \"camelCase\")]\n pub struct RemotePattern {\n- pub protocol: Option<RemotePat...
2023-03-31T03:26:38
electron/electron
4a64d1d9467e00748f4e157af664a51aed564e38
01f06431423195891f6f6f63f3135d83ec8eca20
:memo: fix a typo interrputed => interrupted
[ { "path": "atom/browser/api/atom_api_download_item.cc", "patch": "@@ -30,7 +30,7 @@ struct Converter<content::DownloadItem::DownloadState> {\n download_state = \"cancelled\";\n break;\n case content::DownloadItem::INTERRUPTED:\n- download_state = \"interrputed\";\n+ downl...
2015-09-25T05:13:11
huggingface/transformers
828044cadbe43e4c071fbd3a18be717508927683
e9d6a6907b5838464a0aa8a9d49d7075f37fd2e8
Add Optional typing (#40686) * Add Optional typing Signed-off-by: cyy <cyyever@outlook.com> * Fix typing Signed-off-by: cyy <cyyever@outlook.com> * Format Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1091,7 +1091,7 @@ def _get_logits_processor(\n self,\n generation_config: GenerationConfig,\n input_ids_seq_length: Optional[int] = None,\n- encoder_input_ids: torch.LongTensor = None,\n+ encoder_input_ids:...
2025-09-05T15:05:51
nodejs/node
64745c3ade8bad694fffba06736b461ab9a05a1d
7182aca108fac7a7e464e9450461975e6ef4a4e3
assert: refactor internal assert.js Move lib/internal/assert.js to lib/internal/assert/assertion_error.js. This is in preparation for making lib/internal/assert.js a tiny module for use in Node.js built-ins so that we can use `assert()` without having to load the entire ~1200 line `assert` module. PR-URL: https://git...
[ { "path": "lib/assert.js", "patch": "@@ -27,7 +27,7 @@ const { codes: {\n ERR_INVALID_ARG_VALUE,\n ERR_INVALID_RETURN_VALUE\n } } = require('internal/errors');\n-const { AssertionError } = require('internal/assert');\n+const AssertionError = require('internal/assert/assertion_error');\n const { openSync...
2019-02-06T04:46:35
rust-lang/rust
2e1965831526407bada7abec631d7b7e9f6cbc7d
6ccd4476036edfce364e6271f9e190ec7a2a1ff5
Remove rustc's notion of "preferred" alignment AKA `__alignof` In PR 90877 T-lang decided not to remove `intrinsics::pref_align_of`. However, the intrinsic and its supporting code 1. is a nightly feature, so can be removed at compiler/libs discretion 2. requires considerable effort in the compiler to support, as it ...
[ { "path": "compiler/rustc_abi/src/layout.rs", "patch": "@@ -8,7 +8,7 @@ use rustc_index::bit_set::BitMatrix;\n use tracing::debug;\n \n use crate::{\n- AbiAndPrefAlign, Align, BackendRepr, FieldsShape, HasDataLayout, IndexSlice, IndexVec, Integer,\n+ AbiAlign, Align, BackendRepr, FieldsShape, HasDataL...
2025-02-12T06:09:16
golang/go
51be206114b559f7ea26fe2290f8ed274a2080c3
30a82efcf403fed76bf1542e9477047660d5f54d
runtime/testdata/testprogcgo: fix TestCgoPanicCallback A cgo file with "//export" declarations is not permitted to have function definitions in the cgo comments. Fixes #49188 Change-Id: I5c24b62b259871473ee984cea96a0edd7d42d23a Reviewed-on: https://go-review.googlesource.com/c/go/+/359195 Trust: Cuong Manh Le <cuong...
[ { "path": "src/runtime/testdata/testprogcgo/panic.c", "patch": "@@ -0,0 +1,9 @@\n+// Copyright 2021 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+extern void panic_callback();\n+\n+void call_callback(void...
2021-10-27T18:55:10
vercel/next.js
47152638d488e5dcf2b69aba66c71e48a68c5ae9
d71cbe9116f2a260aee44adfc3832ed7c25e57bb
Replace AWS Serverless to SST in Serverless (#47725) AWS Serverless(a.k.a Serverless Next.js) is not suitable for versions of Next.js 12 or higher. As an alternative, I recommend SST. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we re...
[ { "path": "docs/deployment.md", "patch": "@@ -116,12 +116,12 @@ You can also manually deploy the output from [`output: 'export'`](/docs/advanced\n ### Serverless\n \n - [AWS Amplify](https://aws.amazon.com/blogs/mobile/amplify-next-js-13/)\n-- [AWS Serverless](https://github.com/serverless-nextjs/serverless...
2023-03-31T02:45:05
electron/electron
004d3ced5323f55fb094c400365d21edcf4e109c
109d8352e1f0970c3382a89ff72289065a04af49
Update node to fix building on Windows
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 558bfc048294acb57f702f1a802eddd01ebf2794\n+Subproject commit ac25693ad1d4c248e69a89147fd3995c3bf6c946", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-09-25T05:04:54
huggingface/transformers
c76387e580eb8f4f74e3b4d117eeac41a3d56d69
21f09032dbc0bf74cadad39599a5a1fe0239eda6
Fix arguments (#40605) * Fix invalid arguments Signed-off-by: cyy <cyyever@outlook.com> * Fix typing Signed-off-by: cyy <cyyever@outlook.com> * Add missing self Signed-off-by: cyy <cyyever@outlook.com> * Add missing self and other fixes Signed-off-by: cyy <cyyever@outlook.com> *  More fixes Signed-off-by: cyy...
[ { "path": "src/transformers/models/evolla/modeling_evolla.py", "patch": "@@ -637,7 +637,11 @@ def forward(\n )\n \n def get_extended_attention_mask(\n- self, attention_mask: Tensor, input_shape: tuple[int], device: torch.device = None, dtype: torch.float = None\n+ self,\n+ a...
2025-09-05T13:50:04
nodejs/node
2ea20006256caf844dc8d297868544790807aa52
b44131ab927008edff85a9efb196e1e192d28a29
test: exit sequence sanity tests Execute JS code in worker through same vm context while exiting from the main thread at arbitrary execution points, and make sure that the workers quiesce without crashing. `worker_threads` are not necessarily the subject of testing, those are used for easy simulation of multi-thread ...
[ { "path": "test/parallel/test-worker-cleanexit-with-js.js", "patch": "@@ -0,0 +1,21 @@\n+'use strict';\n+const common = require('../common');\n+\n+// Harden the thread interactions on the exit path.\n+// Ensure workers are able to bail out safe at\n+// arbitrary execution points. By running a lot of\n+// JS...
2018-12-17T09:48:53
golang/go
30a82efcf403fed76bf1542e9477047660d5f54d
bbc059572d599a414653e4ac659b4738d434e1f1
cmd/compile, runtime: track argument stack slot liveness Currently, for stack traces (e.g. at panic or when runtime.Stack is called), we print argument values from the stack. With register ABI, we may never store the argument to stack therefore the argument value on stack may be meaningless. This causes confusion. Th...
[ { "path": "src/cmd/compile/internal/bitvec/bv.go", "patch": "@@ -128,10 +128,21 @@ func (bv BitVec) IsEmpty() bool {\n \treturn true\n }\n \n+func (bv BitVec) Count() int {\n+\tn := 0\n+\tfor _, x := range bv.B {\n+\t\tn += bits.OnesCount32(x)\n+\t}\n+\treturn n\n+}\n+\n func (bv BitVec) Not() {\n \tfor i, ...
2021-09-24T20:46:05
electron/electron
109d8352e1f0970c3382a89ff72289065a04af49
a0638fe801fc0c502f2bd6c42923e098c02b5ee1
Update node, fixes #2894
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit d64246490d697f387b888391b1aba65032703a0f\n+Subproject commit 558bfc048294acb57f702f1a802eddd01ebf2794", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-09-25T04:52:16
huggingface/transformers
21f09032dbc0bf74cadad39599a5a1fe0239eda6
b62e5b605129100ea740d46f7ff8d4d00e936e1f
🔴 Update Glm4V to use config values (#40712) * update to use config * just fix it * fixup want this to be reformatted
[ { "path": "src/transformers/models/glm4v/image_processing_glm4v.py", "patch": "@@ -369,13 +369,14 @@ def preprocess(\n - `\"none\"` or `ChannelDimension.NONE`: image in (height, width) format.\n \n \"\"\"\n+ # Try to use config values if set, otherwise fallback to global defau...
2025-09-05T13:19:50
vercel/next.js
af49d5098b050698661fb1f1787870fb554e44f8
a6e504933b7584f72c9a3664fab51fd7430774bc
chore(docs): update `next export` to `output: 'export'` (#47717) fix NEXT-927 ([link](https://linear.app/vercel/issue/NEXT-927))
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -43,7 +43,7 @@ body:\n - 'Routing (next/router, next/navigation, next/link)'\n - 'Script optimization (next/script)'\n - 'Standalone mode (output: \"standalone\")'\n- - 'Static HTML Export (next export)'\n+ ...
2023-03-31T02:04:23
nodejs/node
b44131ab927008edff85a9efb196e1e192d28a29
09a5f0252ed8e367dd29ba77e2931e5cf2a39a9e
lib: use `internal/options` to query `--abort-on-uncaught-exception` Instead of using `internalBinding('config').shouldAbortOnUncaughtException`. Also removes that property from the binding. PR-URL: https://github.com/nodejs/node/pull/25862 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigip...
[ { "path": "lib/internal/async_hooks.js", "patch": "@@ -4,6 +4,11 @@ const {\n ERR_ASYNC_TYPE,\n ERR_INVALID_ASYNC_ID\n } = require('internal/errors').codes;\n+\n+const { getOptionValue } = require('internal/options');\n+const shouldAbortOnUncaughtException =\n+ getOptionValue('--abort-on-uncaught-excep...
2019-02-01T00:28:05
huggingface/transformers
b62e5b605129100ea740d46f7ff8d4d00e936e1f
313effa7ad5b375e68c504434d0427bb488ce90a
Fix parent classes of AllKwargsForChatTemplate (#40685) Fix parent classes of AllKwargsForChatTemplate because the *Kwargs are members Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -455,18 +455,10 @@ class ProcessorChatTemplateKwargs(ChatTemplateLoadKwargs, TokenizerChatTemplateK\n return_dict: Optional[bool] = False\n \n \n-class AllKwargsForChatTemplate(\n- TextKwargs, ImagesKwargs, VideosKwargs, AudioKwargs, Comm...
2025-09-05T11:08:51
electron/electron
01f06431423195891f6f6f63f3135d83ec8eca20
a0638fe801fc0c502f2bd6c42923e098c02b5ee1
Fix inconsistent docs: downloadItem.getURL() => downloadItem.getUrl()
[ { "path": "docs/api/download-item.md", "patch": "@@ -66,7 +66,7 @@ Resumes the download that has been paused.\n \n Cancels the download operation.\n \n-### `downloadItem.getURL()`\n+### `downloadItem.getUrl()`\n \n Returns a `String` represents the origin url where the item is downloaded from.\n ", "add...
2015-09-25T01:34:04
vercel/next.js
2d796ed5940ed82d74170f23d3ac882802dba18c
614a14bc6c56929e4f91f422c04194d792cc5ee2
Fix duplicated default metadata tags (#47690) Adding default metadata before causes duplicated metadata tags when adding server inserted html. Remove the ones in the not found boundary Now we use same way to render metadata to render the default metadata in error html Fixes the issue introduced in #47404 ----...
[ { "path": "packages/next/src/client/components/not-found-boundary.tsx", "patch": "@@ -1,5 +1,4 @@\n import React from 'react'\n-import { DEFAULT_METADATA_TAGS } from '../../lib/metadata/default-metadata'\n \n interface NotFoundBoundaryProps {\n notFound?: React.ReactNode\n@@ -29,7 +28,6 @@ class NotFoundE...
2023-03-31T00:17:52
nodejs/node
d310d8df62f9c05d07e68c4177f225e9dda72271
93a57c3f1fe229f3d70357f5146293dc6b5dc3a1
src: fix compiler warnings in node_buffer.cc Currently the following compiler warnings are generated on Linux: ../src/node_buffer.cc: In function 'void node::Buffer::{anonymous}::StringSlice( const v8::FunctionCallbackInfo<v8::Value>&) [with node::encoding encoding = (node::encoding)1]': ../src/node_buffer.c...
[ { "path": "src/node_buffer.cc", "patch": "@@ -47,8 +47,8 @@\n } while (0) \\\n \n #define SLICE_START_END(env, start_arg, end_arg, end_max) \\\n- size_t start; \\\n-...
2019-01-23T12:04:02
rust-lang/rust
f4ba1746cc1b13eb73f3739a5ff5e64cde56f078
fb644e6a1a7d34c6bbb5ecfe5c185f8c977d6bb3
CI: rfl: move job forward to Linux v6.16-rc1 Remove the comment on top as well, since that issue is now fixed in this new tag. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
[ { "path": "src/ci/docker/scripts/rfl-build.sh", "patch": "@@ -2,8 +2,7 @@\n \n set -euo pipefail\n \n-# https://github.com/Rust-for-Linux/linux/issues/1163\n-LINUX_VERSION=3ca02fc80cc4fdac63aaa6796642f1e07be591d6\n+LINUX_VERSION=v6.16-rc1\n \n # Build rustc, rustdoc, cargo, clippy-driver and rustfmt\n ../x....
2025-06-08T19:37:25
huggingface/transformers
a2a8a3ca1ef23dd3b134199d87c4a1988f062ea9
4e195f1949299221fce2693c369fdedb55ab1a78
[tests] fix blip2 edge case (#40699)
[ { "path": "setup.py", "patch": "@@ -79,14 +79,12 @@\n stale_egg_info = Path(__file__).parent / \"transformers.egg-info\"\n if stale_egg_info.exists():\n print(\n- (\n- \"Warning: {} exists.\\n\\n\"\n- \"If you recently updated transformers to 3.0 or later, this is expected,\...
2025-09-05T10:35:29
vercel/next.js
6dbb6318a1d3999f212c1fbe5c0f8feafa39bd20
35cf930572f70fb7f64bbccce833584c14b9da0c
Provide default metadataBase for local and vercel deployment (#47568) ### What? - Provide a default `metadataBase` - Always resolve urls that could be resolved as absolute with `metadataBase`, e.g. tw/og urls, canonical urls - Give a warning in dev mode if user doesn't provide one in dev - Error if you don't h...
[ { "path": "packages/next/src/lib/metadata/default-metadata.tsx", "patch": "@@ -1,12 +1,17 @@\n import React from 'react'\n import type { ResolvedMetadata } from './types/metadata-interface'\n \n-export const createDefaultMetadata = (): ResolvedMetadata => {\n+export function createDefaultMetadata(): Resolve...
2023-03-30T23:27:24
nodejs/node
a046ae5ceddcaaf695df60be5dbc9d725beb6f22
d597b9193fca7087a6bf1a5eb64c40ac88e852de
test: clarify confusion over "client" in comment Fix perplexing comment. It's not that TLS "clients" don't support 'secureConnect', it's that client sockets created with `new TLSSocket` (as opposed to `tls.connect()`) don't support that event. PR-URL: https://github.com/nodejs/node/pull/25508 Reviewed-By: Anna Hennin...
[ { "path": "test/parallel/test-tls-socket-default-options.js", "patch": "@@ -54,8 +54,9 @@ function test(client, callback) {\n }));\n }));\n \n- // Client doesn't support the 'secureConnect' event, and doesn't error if\n- // authentication failed. Caller must explicitly check for failure.\n+ ...
2019-02-01T20:23:07
rust-lang/rust
20670f78fdd63fbf1597457fcb35a562a428e0e9
9e9c9170a50ba34a3cb66540a2079884b92ed480
fix: `iter_on_single_item` FP on let stmt with type annotation
[ { "path": "clippy_lints/src/methods/iter_on_single_or_empty_collections.rs", "patch": "@@ -10,6 +10,7 @@ use rustc_hir::LangItem::{OptionNone, OptionSome};\n use rustc_hir::hir_id::HirId;\n use rustc_hir::{Expr, ExprKind, Node};\n use rustc_lint::LateContext;\n+use rustc_middle::ty::Binder;\n use rustc_span...
2025-06-07T17:13:18
golang/go
68bd5121ee8954cfd7e3f7edb5d035f0e8b1bccc
ffd2284db06d433d60aa75ea413f407b90e583b6
cmd/go: remove support for -buildmode=shared It never worked in module mode (or with a read-only GOROOT). A proposal to drop it was filed (and approved) in https://golang.org/issue/47788. Fixes #47788 Change-Id: I0c12f38eb0c5dfe9384fbdb49ed202301fa4273d Reviewed-on: https://go-review.googlesource.com/c/go/+/359096 T...
[ { "path": "doc/go1.18.html", "patch": "@@ -89,6 +89,13 @@ <h3 id=\"go-command\">Go command</h3>\n package.\n </p>\n \n+<p><!-- golang.org/issue/47788 -->\n+ The <code>go</code> command no longer supports <code>-linkshared</code>\n+ and <code>-buildmode=shared</code>.\n+ (<code>shared<code> building and...
2021-10-27T18:29:29
electron/electron
497732fb6f191fab881330b6b5617f3c19754da7
fe2d9ee0f69a96b78edf595e626138f416e26030
Revert "spec: ffi is crashing on OS X" This reverts commit 706deae1b0dc924fc8cb11f992f36c7cf56530ab.
[ { "path": "spec/modules-spec.coffee", "patch": "@@ -23,7 +23,6 @@ describe 'third-party module', ->\n done()\n \n describe 'ffi', ->\n- return if process.platform is 'darwin'\n it 'does not crash', ->\n require 'ffi'\n ", "additions": 0, "deletions": 1, "language...
2015-09-24T07:06:06
huggingface/transformers
4e195f1949299221fce2693c369fdedb55ab1a78
93df343defec98e53634bd0955efd6969e53ac9a
🚨 Allow `check_model_inputs` in core VLMs (#40342) * allow `check_model_inputs` in core VLMs * address comments * fix style * why this didnt fail prev? * chec for Noneness instead * batch update vlms * fix some tests * fix copies * oops delete * fix efficientloftr * fix copies * i am stupid, fix idefics *...
[ { "path": "src/transformers/models/aimv2/modeling_aimv2.py", "patch": "@@ -34,7 +34,10 @@\n from ...modeling_layers import GradientCheckpointingLayer\n from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling\n from ...modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel\n-from ...
2025-09-05T10:05:56
vercel/next.js
97b158cc81a163ae889365576151ef02264b689b
dbc4320035a1a0f909b033a5d55ccb963b2fab78
Fix turbopack `_devPagesManifest.json` on next-site (#47427) just took a bit of banging my head against the wall 👀 the `'dynamic route/page check'` route resolves `fsRoutes` (which leads to an object with `{pages: undefined}` because the route doesn't have the list of pages(?)) that route only gets enabled if you h...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/router.ts", "patch": "@@ -1,9 +1,9 @@\n-import type { Ipc } from \"@vercel/turbopack-next/ipc/index\";\n+import type { Ipc, StructuredError } from \"@vercel/turbopack-next/ipc/index\";\n import type { IncomingMessage, ServerResponse } from \"node:ht...
2023-03-30T21:44:02
nodejs/node
1f4c5bdbcab0ec89cabdc3d598d6bf2ab4f1894c
1bd42833d7ac3b5cc9737c6cc7dc8d69a4102ba5
test: send a bad record only after connection done Connection is known to be completely setup only after data has exchanged, so wait unil data echo before sending a bad record. Otherwise, the bad record could interrupt completion of the server's handshake, and whether the error is emitted on the connection or server i...
[ { "path": "test/parallel/test-tls-alert-handling.js", "patch": "@@ -48,6 +48,9 @@ server.listen(0, common.mustCall(function() {\n sendClient();\n }));\n \n+server.on('tlsClientError', common.mustNotCall());\n+\n+server.on('error', common.mustNotCall());\n \n function sendClient() {\n const client = tls....
2019-02-01T20:02:44
golang/go
ffd2284db06d433d60aa75ea413f407b90e583b6
514ebaec358488d1dcf7253b9d05b4ad8c76c390
cmd/go: fix testdata/script/mod_vendor_goversion for new compiler output The message is now a single line, but I couldn't get '\n?' to work. (This test does not run in short mode.) Change-Id: I3d7033f78ac2bf41db7fdfe96cbb988c4533d834 Reviewed-on: https://go-review.googlesource.com/c/go/+/359095 Trust: Russ Cox <rsc@...
[ { "path": "src/cmd/go/testdata/script/mod_vendor_goversion.txt", "patch": "@@ -3,7 +3,6 @@\n \n [short] skip\n \n-\n # Control case: without a vendor directory, need117 builds and bad114 doesn't.\n \n go build example.net/need117\n@@ -26,7 +25,8 @@ go mod vendor\n \n ! grep 1.17 vendor/modules.txt\n ! go bu...
2021-10-27T19:06:23
huggingface/transformers
93df343defec98e53634bd0955efd6969e53ac9a
89e103c15e1581833b7c243255e487cc5a4b2c06
Fix parent classes of ProcessingKwargs (#40676) FIx parent classes of ProcessingKwargs Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -332,7 +332,7 @@ class CommonKwargs(TypedDict, total=False):\n return_tensors: Optional[Union[str, TensorType]]\n \n \n-class ProcessingKwargs(TextKwargs, ImagesKwargs, VideosKwargs, AudioKwargs, CommonKwargs, total=False):\n+class Processin...
2025-09-05T10:01:16
vercel/next.js
0616f1b4321d4df36d92c37f2832531f2dca522c
b9d77321d21b60778e223157d7e6a99877925b58
Add not found boundary and move head cache to app router (#47688) ### What? - Add not found boundary to app router - Move `head` cache back to app router ### Why? We want the head to be rendered separately from body, previously to be able to use `redirect()` and `notFound()` in `generateMetadata` we move t...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -42,6 +42,8 @@ import { isBot } from '../../shared/lib/router/utils/is-bot'\n import { addBasePath } from '../add-base-path'\n import { AppRouterAnnouncer } from './app-router-announcer'\n import { RedirectBoundary } from './redire...
2023-03-30T21:08:37
nodejs/node
bca2e219a36372d94fe420d314ca3b2ad896f67b
1316b7652a50da7e996897edfab9a1d3c365d3b5
test: pin regression test for #8074 to TLS 1.2 This test has a dependency on the order in which the TCP connection is made, and TLS server handshake completes. It assumes those server side events occur before the client side write callback, which is not guaranteed by the TLS API. It usually passes with TLS1.3, but TLS...
[ { "path": "test/parallel/test-tls-socket-close.js", "patch": "@@ -8,6 +8,19 @@ const tls = require('tls');\n const net = require('net');\n const fixtures = require('../common/fixtures');\n \n+// Regression test for https://github.com/nodejs/node/issues/8074\n+//\n+// This test has a dependency on the order ...
2019-01-15T20:49:45
golang/go
514ebaec358488d1dcf7253b9d05b4ad8c76c390
259735f97a2dfd33849eacef15047f5a0964498e
internal/fuzz: don't deflake coverage found while fuzzing Previously, the worker would attempt to deflake an input that was reported to have caused new coverage. The chances of a flake causing new coverage seem pretty low to me, and even if it was a flake that caused it, adding that input to the cache doesn't seem lik...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_mutator_repeat.txt", "patch": "@@ -1,5 +1,3 @@\n-skip # Flaky: https://golang.org/issue/49047\n-\n # TODO(jayconrod): support shared memory on more platforms.\n [!darwin] [!linux] [!windows] skip\n \n@@ -9,11 +7,11 @@ skip # Flaky: https://golang.org/issue/4...
2021-10-22T19:59:15
huggingface/transformers
4a88e815327e3b0fa075b909feb84b5a2e2df6e1
9db11b728bc35cc36532a936a83cd0e356a18d9a
Add Fast Image Processor for ImageGPT (#39592) * initial commit * initial setup * Overiding imageGPT specific functions * imported is_torch_available and utilized it for importing torch in imageGPT fast * Created init and ImageGPTFastImageProcessorKwargs * added return_tensors, data_format, and input_data_format ...
[ { "path": "docs/source/en/model_doc/imagegpt.md", "patch": "@@ -104,6 +104,11 @@ If you're interested in submitting a resource to be included here, please feel f\n [[autodoc]] ImageGPTImageProcessor\n - preprocess\n \n+## ImageGPTImageProcessorFast\n+\n+[[autodoc]] ImageGPTImageProcessorFast\n+ - pre...
2025-09-04T22:45:06
rust-lang/rust
b5eac2482032277359ca3ccd621706ee931ef81e
737b8be34dde7c2ce695ca4f6f4c18bde8978254
fix: `match_single_binding` misses curlies on type signatures
[ { "path": "clippy_lints/src/matches/match_single_binding.rs", "patch": "@@ -1,14 +1,15 @@\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::macros::HirNode;\n use clippy_utils::source::{indent_of, snippet, snippet_block_with_context, snippet_with_context};\n-use clippy_utils::{get_par...
2025-06-08T12:19:18
vercel/next.js
b9d77321d21b60778e223157d7e6a99877925b58
2ac022391c6e55300a3ca3cf2e3c73f08a0ab937
fix: handle empty `src` prop on `next/image` (#47695) Previously, `next start` was incorrectly trying to optimize an empty `src` prop. This PR fixes the behavior so that empty `src` will automatically set `unoptimized` (same behavior as data urls). fix NEXT-915 ([link](https://linear.app/vercel/issue/NEXT-915))
[ { "path": "packages/next/src/client/image.tsx", "patch": "@@ -647,7 +647,7 @@ const Image = forwardRef<HTMLImageElement | null, ImageProps>(\n \n let isLazy =\n !priority && (loading === 'lazy' || typeof loading === 'undefined')\n- if (src.startsWith('data:') || src.startsWith('blob:')) {\n+ ...
2023-03-30T20:02:47
nodejs/node
8bc39e7286526dfc1b7edf5861f9c4c6f6146721
cdd6eb237b8393531a1beeef00901e89e5279c0a
test: do not assume server gets secure connection Test assumed that server got the the connection before the client destroys it, but that is not guaranteed. Also, the test was closing the TCP connection 3 times, effectively: 1. on the server side, right after TLS connection occurs (if it does) 2. on the client side, ...
[ { "path": "test/parallel/test-tls-friendly-error-message.js", "patch": "@@ -31,14 +31,15 @@ const tls = require('tls');\n const key = fixtures.readKey('agent1-key.pem');\n const cert = fixtures.readKey('agent1-cert.pem');\n \n-tls.createServer({ key, cert }, common.mustCall(function(conn) {\n- conn.end();\...
2019-02-01T19:14:06
huggingface/transformers
9db11b728bc35cc36532a936a83cd0e356a18d9a
acd820561f1438d60e74733ab3edbcacb63e55a6
Fetch one missing test data (#40703) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_processing_common.py", "patch": "@@ -332,7 +332,9 @@ def test_processor_text_has_no_visual(self):\n {\"type\": \"text\", \"text\": \"What is the capital of France?\"},\n {\n \"type\": \"image\",\n- ...
2025-09-04T21:05:23
golang/go
259735f97a2dfd33849eacef15047f5a0964498e
bb49eb3e6a464fbbebd425c4b84c32609b27ecf2
cmd/compile: enable branchelim pass on ppc64 and fix/cleanup lowering of the SSA operator created by the pass. Change-Id: I7e6153194fd16013e3b24da8aa40683adafa3d15 Reviewed-on: https://go-review.googlesource.com/c/go/+/344573 Run-TryBot: Paul Murphy <murp@ibm.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by:...
[ { "path": "src/cmd/compile/internal/ssa/branchelim.go", "patch": "@@ -22,7 +22,7 @@ import \"cmd/internal/src\"\n func branchelim(f *Func) {\n \t// FIXME: add support for lowering CondSelects on more architectures\n \tswitch f.Config.arch {\n-\tcase \"arm64\", \"amd64\", \"wasm\":\n+\tcase \"arm64\", \"ppc6...
2021-08-24T19:09:26
electron/electron
9e90ea8734521f249d555256849b83710bb0dc1f
9b1fa04988c2db6653a8537fb7fd645f2c76f24b
win: Fix leaking of fd when reading file in asar
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -115,6 +115,14 @@ bool FillFileInfoWithNode(Archive::FileInfo* info,\n Archive::Archive(const base::FilePath& path)\n : path_(path),\n file_(path_, base::File::FLAG_OPEN | base::File::FLAG_READ),\n+#if defined(OS_WIN)\n+ fd_(_open_osfhandl...
2015-09-24T04:11:07
rust-lang/rust
5b1ac613834326ea935c52a95089d610f66cd636
3bae562b51452906e7f8046f984d8e861c0e8bc5
Add the quickfix for increasing visibility of a private field to the private-field diagnostic (previously it was only on no-such-field) The difference between the diagnostics is that no-such-field is for record struct construction, while private-field is for dot syntax. I tried to unify them, but there is a bit of un...
[ { "path": "src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/no_such_field.rs", "patch": "@@ -1,5 +1,4 @@\n use either::Either;\n-use hir::{Field, HasCrate};\n use hir::{HasSource, HirDisplay, Semantics, VariantId, db::ExpandDatabase};\n use ide_db::text_edit::TextEdit;\n use ide_db::{EditionedFil...
2025-06-08T12:17:34
vercel/next.js
80ebfad19dd58ffdd0c51a4f84ed78411074d43c
16badb40c1d907d34c4f1acf574e7e42bbd6375a
Handle `async` require when importing ESM in `instrumentation.ts` (#47658) Fixed issue where `require` will return a Promise if (and only if) there is an ESM module imported in `instrumentation.ts`: https://github.com/vercel/next.js/blob/61cd219f1597e9c25e4eb812365f967e0caa2df2/packages/next/src/server/next-server.t...
[ { "path": "packages/next/src/server/dev/next-dev-server.ts", "patch": "@@ -1408,7 +1408,12 @@ export default class DevServer extends Server {\n clientOnly: false,\n })\n try {\n- require(pathJoin(this.distDir, 'server', 'instrumentation')).register()\n+ const instrumentatio...
2023-03-30T16:05:26
nodejs/node
f31794bf1467eb156dad077647e2f075eb3757c7
475c43c1b006e186036817c364dfc24a4d12c44f
doc: fix err_synthetic issue on v11.x Fixes: https://github.com/nodejs/node/issues/25750 PR-URL: https://github.com/nodejs/node/pull/25770 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjih...
[ { "path": "doc/api/errors.md", "patch": "@@ -1690,7 +1690,7 @@ An attempt has been made to create a string longer than the maximum allowed\n length.\n \n <a id=\"ERR_SYNTHETIC\"></a>\n-#### ERR_SYNTHETIC\n+### ERR_SYNTHETIC\n \n An artificial error object used to capture the call stack for diagnostic\n repo...
2019-01-28T16:57:19
huggingface/transformers
acd820561f1438d60e74733ab3edbcacb63e55a6
16b821c5423c9ac7567cc75ec7810bb5ab5b3772
Align assisted generate for unified signature in decoding methods (#40657) * Squashed previous branch * unify assisted generate to common decoding method signature * move checks to validate steps where possible * fix csm and other models that override _sample * ops dia you again * opsie * joao review
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -129,6 +129,19 @@\n \"past_buckets_states\", # reformer\n ]\n \n+GENERATION_MODES_MAPPING = {\n+ GenerationMode.SAMPLE: \"_sample\",\n+ GenerationMode.GREEDY_SEARCH: \"_sample\",\n+ GenerationMode.BEAM_SEARCH: \"_beam_search\",\n+ ...
2025-09-04T20:47:44
electron/electron
9b1fa04988c2db6653a8537fb7fd645f2c76f24b
e3ec705c8046a88eeb242e35d09ea9013be3cb20
win: Fix building
[ { "path": "atom/browser/ui/win/notify_icon.cc", "patch": "@@ -4,10 +4,7 @@\n \n #include \"atom/browser/ui/win/notify_icon.h\"\n \n-#include <shobjidl.h>\n-\n #include \"atom/browser/ui/win/notify_icon_host.h\"\n-#include \"base/md5.h\"\n #include \"base/strings/string_number_conversions.h\"\n #include \"ba...
2015-09-24T04:01:57
golang/go
bb49eb3e6a464fbbebd425c4b84c32609b27ecf2
c0ac39c70eeeaadbebe13efb407a1a272a926d30
cmd/compile/internal/syntax: fix constraint literal parsing for generic functions Fixes #49174. Change-Id: I943c370f7abd5f50a541e682f130b3526c3b5bdb Reviewed-on: https://go-review.googlesource.com/c/go/+/359014 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -588,19 +588,24 @@ func (p *parser) typeDecl(group *Group) Decl {\n \td.Name = p.name()\n \tif p.tok == _Lbrack {\n \t\t// array/slice or generic type\n+\t\t// name \"[\" ...\n \t\tpos := p.pos()\n \t\tp.next()\n \t\tswitch p.tok {\n \t\tca...
2021-10-27T04:12:31
vercel/next.js
e7371bc3b7efec756e885e498fddc0bfbd2bfb2d
99cdb366637d1616ecc69e8ea50580164060a0c4
Fix `next-types-plugin` generated files for `Node16`/`NodeNext` (#47571) ### What / Why / How? In a project with `"type": "module"` in `package.json` and a `compilerOptions.moduleResolution` of `Node16` or `NodeNext` in `tsconfig.json`, running `tsc` will yield errors like the following: ``` .next/types/app/[...not_...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -44,11 +44,11 @@ function createTypeGuardFile(\n }\n ) {\n return `// File: ${fullPath}\n-import * as entry from '${relativePath}'\n+import * as entry from '${relativePath}.js'\n ${\n options.type === 'route'\n- ...
2023-03-30T14:43:27
huggingface/transformers
16b821c5423c9ac7567cc75ec7810bb5ab5b3772
519c2524af3de7c2147a04aded83a19eba286894
Avoid `T5GemmaModelTest::test_eager_matches_sdpa_inference` being flaky (#40702) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/t5gemma/test_modeling_t5gemma.py", "patch": "@@ -202,6 +202,15 @@ def prepare_config_and_inputs(self):\n input_ids = torch.where(input_ids == self.bos_token_id, 42, input_ids)\n decoder_input_ids = torch.where(decoder_input_ids == self.bos_token_id, 42, decoder_input_...
2025-09-04T20:44:40
nodejs/node
106dd1e345bcaa2f73ba7120a1163f8c6a021633
91adbe14b4490483785e1cd094c1130278cd25f3
lib: fix a few minor issues flagged by lgtm * Confusing (but correct) regex using `A-z` character range by accident * Add the status argument to afterShutdown PR-URL: https://github.com/nodejs/node/pull/25873 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1515,7 +1515,8 @@ function streamOnPause() {\n this[kHandle].readStop();\n }\n \n-function afterShutdown() {\n+function afterShutdown(status) {\n+ // Currently this status value is unused\n this.callback();\n const stream = this.handle[kOwner];\...
2019-01-30T17:55:54
electron/electron
b0e5039951b8f17f15b0978e873dd4010530ad39
22e6f15795dc457c48d5e7c751191ebc219eed49
Fix initializer
[ { "path": "atom/browser/ui/win/notify_icon.cc", "patch": "@@ -28,8 +28,7 @@ NotifyIcon::NotifyIcon(NotifyIconHost* host,\n icon_id_(id),\n window_(window),\n message_id_(message),\n- menu_model_(NULL),\n- has_tray_app_id_hash_(false) {\n+ menu_model_(NULL) {\n NOTIFYICONDA...
2015-09-23T18:26:57
golang/go
cfb532158fc5b5cd6b9c35bbc2ff7c203fe5f09b
bdefb77309fdc6e47102a8d6272fd2293aefa1d9
cmd/go: add darwin/arm64 in the list of supported systems in help message Fixes #49173. Change-Id: I71270b4ff7e9ede3cdfa5946b73142a731752adf Reviewed-on: https://go-review.googlesource.com/c/go/+/358901 Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Keith Randall <khr@golang.org> Trust: Alberto...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -114,7 +114,7 @@\n // \t\tThe default is GOMAXPROCS, normally the number of CPUs available.\n // \t-race\n // \t\tenable data race detection.\n-// \t\tSupported only on linux/amd64, freebsd/amd64, darwin/amd64, windows/amd64,\n+// \t\tSupported only on linux/a...
2021-10-27T03:41:47
rust-lang/rust
d98070dbdb329eb029b26593f767fba3ff3a8e18
0138c79f7695aea2fdc9abaa1ecea662217efce2
fix: `std_instead_of_core` FP when part of the `use` cannot be replaced
[ { "path": "clippy_lints/src/std_instead_of_core.rs", "patch": "@@ -1,13 +1,13 @@\n use clippy_config::Conf;\n-use clippy_utils::diagnostics::span_lint_and_then;\n+use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::is_from_proc_macro;\n use clippy_utils::msrvs::Msrv;\n use rustc_attr_data...
2025-06-08T09:02:24
huggingface/transformers
519c2524af3de7c2147a04aded83a19eba286894
586dc5d06e3421a63d60b469a13b467e24b96478
Fix broken Llama4 accuracy in MoE part (#40609) * Fix broken Llama4 accuracy in MoE part Llama4 accuracy is broken by a bug in https://github.com/huggingface/transformers/pull/39501 . It forgot to transpose the router_scores before applying it to routed_in, causing Llama4 to generate garbage output. This PR fixes th...
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -158,7 +158,7 @@ def forward(self, hidden_states):\n hidden_states = hidden_states.reshape(-1, self.hidden_dim)\n router_scores, router_logits = self.router(hidden_states)\n routed_in = hidden_states.repeat(r...
2025-09-04T20:14:44
vercel/next.js
6e8ee78dfafb8698e02b222281b9faa2d6f9906d
7e70ac64b372c92dd608eecdd449f3a6660a8250
Fix rust-check
[ { "path": "packages/next-swc/crates/next-core/src/next_edge/context.rs", "patch": "@@ -73,7 +73,11 @@ pub async fn get_edge_resolve_options_context(\n let resolve_options_context = ResolveOptionsContext {\n enable_node_modules: Some(project_path.root().resolve().await?),\n // https://git...
2023-03-30T03:27:01
golang/go
ca5f65d771bc24b9717dca615fa4ad25dcd94fad
13eccaa9902f3bb17999f1f7f14b7da39d60e0ea
cmd/compile: fix generic type handling when crawling inline body For base generic type that is written to export file, we need to mark all of its methods, include exported+unexported methods, as reachable, so they can be available for instantiation if necessary. But markType only looks for exported methods, thus causi...
[ { "path": "src/cmd/compile/internal/typecheck/crawler.go", "patch": "@@ -20,6 +20,7 @@ func crawlExports(exports []*ir.Name) {\n \tp := crawler{\n \t\tmarked: make(map[*types.Type]bool),\n \t\tembedded: make(map[*types.Type]bool),\n+\t\tgeneric: make(map[*types.Type]bool),\n \t}\n \tfor _, n := range exp...
2021-10-25T07:16:53
electron/electron
334c28d128e6e04eccfef0d023d739004a3cd89f
057c77341af8c2a609673bfff063500fe762cacb
:memo: Include UTF-8 charset in quick start example Partially fixes #678
[ { "path": "docs/tutorial/quick-start.md", "patch": "@@ -124,6 +124,7 @@ Finally the `index.html` is the web page you want to show:\n <!DOCTYPE html>\n <html>\n <head>\n+ <meta charset=\"UTF-8\">\n <title>Hello World!</title>\n </head>\n <body>", "additions": 1, "deletions": 0, "lang...
2015-09-23T08:21:03
huggingface/transformers
586dc5d06e3421a63d60b469a13b467e24b96478
ad2da3ea83363416232009c135a4d33b92ff35a7
[Glm4.5V] fix vLLM support (#40696) * fix * add a test case
[ { "path": "src/transformers/models/glm4v/image_processing_glm4v.py", "patch": "@@ -452,7 +452,7 @@ def get_number_of_image_patches(self, height: int, width: int, images_kwargs=Non\n \"\"\"\n patch_size = images_kwargs.get(\"patch_size\", self.patch_size)\n merge_size = images_kwargs....
2025-09-04T20:09:20
vercel/next.js
7e70ac64b372c92dd608eecdd449f3a6660a8250
0ed46203aa1f7f13e72bb702c157e060b7186c30
build(next-swc): introduce turbo-binding (#47512) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contribut...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -1245,12 +1245,6 @@ dependencies = [\n \"syn 1.0.109\",\n ]\n \n-[[package]]\n-name = \"cty\"\n-version = \"0.2.2\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f...
2023-03-30T03:25:11
golang/go
86f6bf18b013d570e89f57c2decaddca5ce2a847
091db6392da5913e4bd4806215102e461dc5649c
runtime: handle async fatal signals in VDSO If we receive an async signal while running in the VDSO, such as a SIGABRT or SIGSEGV sent from another process, we fail to print the stacktrace with "runtime: unknown pc <vdso PC>". We already have machinery to handle SIGPROF in the VDSO, but it isn't hooked up for other s...
[ { "path": "src/runtime/crash_cgo_test.go", "patch": "@@ -526,13 +526,15 @@ func TestCgoTracebackSigpanic(t *testing.T) {\n \t}\n \tt.Parallel()\n \tgot := runTestProg(t, \"testprogcgo\", \"TracebackSigpanic\")\n+\tt.Log(got)\n \twant := \"runtime.sigpanic\"\n \tif !strings.Contains(got, want) {\n-\t\tt.Fata...
2021-08-04T21:33:50
huggingface/transformers
ad2da3ea83363416232009c135a4d33b92ff35a7
e39f2220969d5ee2fe5643eef4888e36b6800a3c
Fix self.dropout_p is not defined for SamAttention/Sam2Attention (#40667) Fix dropout_p is not defined for SamAttention/Sam2Attention
[ { "path": "src/transformers/models/sam/modeling_sam.py", "patch": "@@ -262,7 +262,7 @@ def forward(\n key,\n value,\n attention_mask=attention_similarity,\n- dropout=0.0 if not self.training else self.dropout_p,\n+ dropout=0.0,\n scaling=...
2025-09-04T17:32:39
rust-lang/rust
1fc6be419adaf4e6573632e283b85b610135a013
b616e1197482f31c0a403d2dac41bb7425cd70f4
avoid repeating error annotations in test file
[ { "path": "tests/ui/abi/unsupported.aarch64.stderr", "patch": "@@ -15,7 +15,7 @@ LL | extern \"ptx-kernel\" {}\n | ^^^^^^^^^^^^^^^^^^^^^^\n \n warning: the calling convention \"aapcs\" is not supported on this target\n- --> $DIR/unsupported.rs:55:17\n+ --> $DIR/unsupported.rs:50:17\n |\n LL | fn aap...
2025-05-23T12:22:55
vercel/next.js
ca56e4fb26d680072dcd6ead9f0e62b86059e44e
e9085efe47a51005eb9c798fd1c6152e68a233a5
Fix(next-types-plugin): remove unused imports (#47667) Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -45,8 +45,11 @@ function createTypeGuardFile(\n ) {\n return `// File: ${fullPath}\n import * as entry from '${relativePath}'\n-import type { ResolvingMetadata } from 'next/dist/lib/metadata/types/metadata-interface'\n-...
2023-03-30T00:21:52
huggingface/transformers
e39f2220969d5ee2fe5643eef4888e36b6800a3c
d8f670583ed4444443f6df8b2a8040333b1de287
Fix backward compatibility with accelerate in Trainer (#40668)
[ { "path": "src/transformers/trainer.py", "patch": "@@ -5626,7 +5626,7 @@ def get_batch_samples(\n # In the DataParallel case, convert the scalar tensor into a 1-dim tensor\n num_items_in_batch = num_items_in_batch.unsqueeze(0)\n # Divide by number of d...
2025-09-04T16:15:15
electron/electron
706deae1b0dc924fc8cb11f992f36c7cf56530ab
f8f8db7e88f44293fcccca5810d84405ec3443af
spec: ffi is crashing on OS X
[ { "path": "spec/modules-spec.coffee", "patch": "@@ -23,6 +23,7 @@ describe 'third-party module', ->\n done()\n \n describe 'ffi', ->\n+ return if process.platform is 'darwin'\n it 'does not crash', ->\n require 'ffi'\n ", "additions": 1, "deletions": 0, "language...
2015-09-23T07:44:50
nodejs/node
b1f82e4342f8a630b1ef83cd33781a725428f569
3732d7786bcb5722b9a4345e1345ff5ad81a7888
child_process: close pipe ends that are re-piped when t0 and t1 are spawned with t0's outputstream [1, 2] is piped into t1's input, a new pipe is created which uses a copy of the t0's fd. This leaves the original copy in Node parent, unattended. Net result is that when t0 produces data, it gets bifurcated into both th...
[ { "path": "lib/internal/child_process.js", "patch": "@@ -384,6 +384,12 @@ ChildProcess.prototype.spawn = function(options) {\n continue;\n }\n \n+ // stream is already cloned and piped, so close\n+ if (stream.type === 'wrap') {\n+ stream.handle.close();\n+ continue;\n+ }\n+\n ...
2018-06-08T12:33:37
rust-lang/rust
b616e1197482f31c0a403d2dac41bb7425cd70f4
873122c006315e541c30809210089606877122c5
raw dylib: ensure that we have applied standard ABI checks also unify error messages that do not seem to have a good reason to be different
[ { "path": "compiler/rustc_metadata/messages.ftl", "patch": "@@ -272,6 +272,9 @@ metadata_raw_dylib_no_nul =\n metadata_raw_dylib_only_windows =\n link kind `raw-dylib` is only supported on Windows targets\n \n+metadata_raw_dylib_unsupported_abi =\n+ ABI not supported by `#[link(kind = \"raw-dylib\")]...
2025-05-23T10:44:15
golang/go
091db6392da5913e4bd4806215102e461dc5649c
3a0cd1121413ad02172784114318ac6b0c2801c1
runtime: fix cgo signals detection CL 64070 removed lockOSThread from the cgocall path, but didn't update the signal-in-cgo detection in sighandler. As a result, signals that arrive during a cgo call are treated like they arrived during Go execution, breaking the traceback. Update the cgo detection to fix the backtra...
[ { "path": "src/runtime/crash_cgo_test.go", "patch": "@@ -536,6 +536,29 @@ func TestCgoTracebackSigpanic(t *testing.T) {\n \t}\n }\n \n+func TestCgoPanicCallback(t *testing.T) {\n+\tt.Parallel()\n+\tgot := runTestProg(t, \"testprogcgo\", \"PanicCallback\")\n+\tt.Log(got)\n+\twant := \"panic: runtime error: i...
2021-08-04T15:24:28
vercel/next.js
e9085efe47a51005eb9c798fd1c6152e68a233a5
b1cbb4c4668b7c65b6eb5f89dcdf308a214e9786
Grammar fix (#47600) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Document...
[ { "path": "docs/deployment.md", "patch": "@@ -37,7 +37,7 @@ When deploying to Vercel, the platform [automatically detects Next.js](https://v\n - [Pages](/docs/basic-features/pages.md) are automatically statically optimized, if possible\n - Assets (JavaScript, CSS, images, fonts) are compressed and served fr...
2023-03-29T23:43:26
huggingface/transformers
4cbca0d1af4a362a803abe05779837e327cda54b
9a6c6568db1f89f560cbb58d120c7a04dac32442
Fixing bug in Voxtral when merging text and audio embeddings (#40671) * Fixing bug when replacing text-audio token placeholders with audio embeddings * apply changes --------- Co-authored-by: Eustache Le Bihan <eulebihan@gmail.com> Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com>
[ { "path": "src/transformers/models/voxtral/modeling_voxtral.py", "patch": "@@ -504,12 +504,14 @@ def forward(\n if inputs_embeds is None:\n inputs_embeds = self.get_input_embeddings()(input_ids)\n \n- if input_features is not None:\n+ if input_features is not None and input...
2025-09-04T15:11:23
electron/electron
7c65d05b02c15267b5aabeceac95f00afafef004
619a397ec93332c00545747e6a57819a7b9942b1
Don't print error when window.open failed
[ { "path": "atom/renderer/lib/override.coffee", "patch": "@@ -70,7 +70,6 @@ window.open = (url, frameName='', features='') ->\n if guestId\n new BrowserWindowProxy(guestId)\n else\n- console.error 'It is not allowed to open new window from this WebContents'\n null\n \n # Use the dialog API to ...
2015-09-22T11:59:32
golang/go
f8779b9e757e38810bec2284e06fea20bbf09bf4
b54bdd281e62a4658ea4edb5e0a6139006938c9a
runtime: rename _m_ to mp [generated] _g_, _p_, and _m_ are primarily vestiges of the C version of the runtime, while today we prefer Go-style variable names (generally gp, pp, and mp). This change replaces all remaining uses of _m_ with mp. There are very few remaining and all replacements are trivial. [git-generat...
[ { "path": "src/runtime/os3_solaris.go", "patch": "@@ -329,37 +329,37 @@ func semacreate(mp *m) {\n \n //go:nosplit\n func semasleep(ns int64) int32 {\n-\t_m_ := getg().m\n+\tmp := getg().m\n \tif ns >= 0 {\n-\t\t_m_.ts.tv_sec = ns / 1000000000\n-\t\t_m_.ts.tv_nsec = ns % 1000000000\n-\n-\t\t_m_.libcall.fn =...
2021-04-01T21:01:51
huggingface/transformers
87f38dbfcec48027d4bf2ea7ec8b8eecd5a7bc85
5b0c01b5e2bb826fcc0429c151185bf6375ecf3f
add: embedding model (#40694) * Gemma 3 for Embeddings * Style fixes * Rename conversion file for consistency * Default padding side emb vs gen * Corrected 270m config * style fixes * EmbeddingGemma config * TODO for built-in prompts * Resolving the sentence similarity bug and updating the architecture * code...
[ { "path": "src/transformers/models/gemma3/configuration_gemma3.py", "patch": "@@ -136,6 +136,8 @@ class Gemma3TextConfig(PretrainedConfig):\n Only used with 'llama3'. Scaling factor applied to high frequency components of the RoPE\n rope_local_base_freq (float, *optional*, defaul...
2025-09-04T14:16:15
vercel/next.js
b1cbb4c4668b7c65b6eb5f89dcdf308a214e9786
0a94e2221f2e6549b7755f7ab7eeee1f83c0081c
fix: improve type of `ExportPathMap` (#47676) This is a new PR with only the typescript changes from previous closed PR #47628
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1,7 +1,7 @@\n import type { RemotePattern } from '../shared/lib/image-config'\n import type { AppBuildManifest } from './webpack/plugins/app-build-manifest-plugin'\n import type { PagesManifest } from './webpack/plugins/pages-manifest-plugin'\n-imp...
2023-03-29T23:35:31
nodejs/node
f9fe037088d66b2ad4bab5bd299be1e78065d776
e3055dc5254502d2f02276f20c9a3f37b41e7f12
repl: fix eval return value In case no error has occurred during the evaluation of some code, `undefined` has been returned in some cases as error argument instead of `null`. This is fixed by this patch. PR-URL: https://github.com/nodejs/node/pull/25731 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: ...
[ { "path": "lib/repl.js", "patch": "@@ -215,10 +215,11 @@ function REPLServer(prompt,\n }\n \n function defaultEval(code, context, file, cb) {\n- var err, result, script, wrappedErr;\n- var wrappedCmd = false;\n- var awaitPromise = false;\n- var input = code;\n+ let result, script, wrapped...
2019-01-27T00:18:47
rust-lang/rust
4d6254c688970ee7753e2314b1ad006096efeb02
f2922e7a275d4e6763a32dfd53695aa6a315051b
fix: `create_dir` ignores paths in suggestions
[ { "path": "clippy_lints/src/create_dir.rs", "patch": "@@ -1,7 +1,6 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n-use clippy_utils::source::snippet_with_applicability;\n use rustc_errors::Applicability;\n-use rustc_hir::{Expr, ExprKind};\n+use rustc_hir::{Expr, ExprKind, QPath};\n use rustc_lint:...
2025-06-07T13:53:48
huggingface/transformers
5b0c01b5e2bb826fcc0429c151185bf6375ecf3f
1f3cc935cc64382a76c239ffc0e2dc56dc865d0e
Final test data cache - inside CI docker images (#40689) * run * build * build * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -177,7 +177,9 @@ def to_dict(self):\n \"command\": f\"TESTS=$(circleci tests split --split-by=timings {self.job_name}_test_list.txt) && echo $TESTS > splitted_tests.txt && echo $TESTS | tr ' ' '\\n'\" if self.parallelism else...
2025-09-04T13:12:49
golang/go
1dc77a38d293763b9de50110dd72edd755ce72b7
76cef81bcff371c88d277f17c712ecf22b8c83e7
internal/fuzz: tiny refactor+fix Change-Id: I8db9c31ead3e5905b7f9d1faed36555e8aaa00cd Reviewed-on: https://go-review.googlesource.com/c/go/+/358054 Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> Reviewed-by: Julie Qiu <julie@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
[ { "path": "src/internal/fuzz/fuzz.go", "patch": "@@ -702,7 +702,7 @@ func (c *coordinator) logStats() {\n \t\t\tinterestingTotalCount := int64(c.warmupInputCount-len(c.opts.Seed)) + c.interestingCount\n \t\t\tfmt.Fprintf(c.opts.Log, \"fuzz: elapsed: %s, execs: %d (%.0f/sec), new interesting: %d (total: %d)\...
2021-10-22T15:37:28
rust-lang/rust
f43bb2ac994e356d6e3abbee6f4eb1609a7bd0bd
cc3e57147e7cf5933a2bfa4b92b5a3a5eb424997
compiler-builtins: Fix a `rustdoc::bare-urls` error
[ { "path": "library/compiler-builtins/compiler-builtins/src/aarch64_linux.rs", "patch": "@@ -4,7 +4,7 @@\n //! To avoid breaking backwards compat, C toolchains introduced a concept of \"outlined atomics\",\n //! where atomic operations call into the compiler runtime to dispatch between two depending on\n //!...
2025-06-05T06:00:54
nodejs/node
4cc9b5f28579d2b5f0ae9ef071fa2e6a4dcfd2ae
686043e76e676b68be63b1b33b8a09e64c9092e3
deps: patch to fix *.onion MX query on c-ares c-ares rejects *.onion MX query but forgot to set `*bufp` to NULL. This will occur SegmentFault when free `*bufp`. I make this quick fix and then will make a PR for c-ares either. PR-URL: https://github.com/nodejs/node/pull/25840 Fixes: https://github.com/nodejs/node/iss...
[ { "path": "deps/cares/src/ares_create_query.c", "patch": "@@ -94,14 +94,14 @@ int ares_create_query(const char *name, int dnsclass, int type,\n size_t buflen;\n unsigned char *buf;\n \n- /* Per RFC 7686, reject queries for \".onion\" domain names with NXDOMAIN. */\n- if (ares__is_onion_domain(name))\n...
2019-01-31T05:02:59
huggingface/transformers
669230a86f421457e8ee5d96caa9d696921bc7f3
91b34be9cf780e3ed4cc46358083444335c22552
fix broken offline mode when loading tokenizer from hub (#40669) * fix broken offline mode when loading tokenizer from hub * formatting * make quality * fix import order
[ { "path": "src/transformers/utils/hub.py", "patch": "@@ -176,7 +176,7 @@ def list_repo_templates(\n ]\n except (GatedRepoError, RepositoryNotFoundError, RevisionNotFoundError):\n raise # valid errors => do not catch\n- except (HTTPError, requests.exceptions.Connection...
2025-09-04T12:15:56
vercel/next.js
0a94e2221f2e6549b7755f7ab7eeee1f83c0081c
d19617e9c7cd0e8aad35dca5a05a7fb55d0e64c9
Update vendored react to 18.3.0-next-85de6fde5-20230328 (#47675) Changelog from react side ``` - 85de6fde5 Refactor DOM special cases per tags including controlled fields (#26501) (Sebastian Markbåge) - 5cbe6258b Remove unnecessary CIRCLE_CI_API_TOKEN checks (#26499) (Mengdi Chen) - 1f5cdf8c7 Update Suspense fuzz ...
[ { "path": "package.json", "patch": "@@ -197,11 +197,11 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-next-12a1d140e-20230321\",\n+ \"react-builtin\": \"npm:react@18.3.0-next-85de6fde5-20230328\",\n ...
2023-03-29T23:21:33
nodejs/node
d3ea63921f834d46b13e72a344d8c24833dc75d5
12b3cfcea686e2bd01c4d17d0835b74710ce950c
src: fix data type in node_crypto.cc Signed-off-by: gengjiawen <technicalcute@gmail.com> PR-URL: https://github.com/nodejs/node/pull/25889 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <...
[ { "path": "src/node_crypto.cc", "patch": "@@ -6245,7 +6245,7 @@ void SetEngine(const FunctionCallbackInfo<Value>& args) {\n ENGINE* engine = LoadEngineById(*engine_id, &errmsg);\n \n if (engine == nullptr) {\n- int err = ERR_get_error();\n+ unsigned long err = ERR_get_error(); // NOLINT(runtime/i...
2019-02-02T09:07:36
huggingface/transformers
91b34be9cf780e3ed4cc46358083444335c22552
25b4a0d8aef515ed309c935607473da319d9291c
Add codebook_dim attribute to DacVectorQuantize for DacResidualVectorQuantize.from_latents() (#40665) * Add instance attribute to DacVectorQuantize for use in DacResidualVectorQuantize.from_latents * add from_latent tests * style fix * Fix style for test_modeling_dac.py
[ { "path": "src/transformers/models/dac/modeling_dac.py", "patch": "@@ -115,6 +115,7 @@ class DacVectorQuantize(nn.Module):\n def __init__(self, config: DacConfig):\n super().__init__()\n \n+ self.codebook_dim = config.codebook_dim\n self.in_proj = nn.Conv1d(config.hidden_size, con...
2025-09-04T11:29:53
vercel/next.js
d19617e9c7cd0e8aad35dca5a05a7fb55d0e64c9
f44e214ff10f865ff888656f6ba3095f2194004f
fix: image `loaderFile` with edge runtime (#47659) - Fixes #47168 - fix NEXT-909 ([link](https://linear.app/vercel/issue/NEXT-909))
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1008,6 +1008,9 @@ export default async function getBaseWebpackConfig(\n ...(config.images.loaderFile\n ? {\n 'next/dist/shared/lib/image-loader': config.images.loaderFile,\n+ ...(isEdgeServer && {\n+ ...
2023-03-29T22:08:36
golang/go
76cef81bcff371c88d277f17c712ecf22b8c83e7
1b2362bb83de47188e7c60a69f46950de542f017
cmd/go: stamp VCS commit time into binaries Only Git and Mercurial are supported for now. This CL also: - Skips tagging "revision" and "committime" for empty repositories. - Stores the full Mercurial changeset ID instead of the short form. Fixes #37475 Change-Id: I62ab7a986d1ddb2a0e7166a6404b5aa80c2ee387 Reviewed-o...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -25,6 +25,7 @@ import (\n \t\"sort\"\n \t\"strconv\"\n \t\"strings\"\n+\t\"time\"\n \t\"unicode\"\n \t\"unicode/utf8\"\n \n@@ -2364,10 +2365,14 @@ func (p *Package) setBuildInfo() {\n \t\t\tsetVCSError(err)\n \t\t\treturn\n \t\t}\n-\t\tinfo.Settings ...
2021-10-16T06:53:31
nodejs/node
12b3cfcea686e2bd01c4d17d0835b74710ce950c
62b4796e369895e614e22bb176702f2499317f4a
process: stub unsupported worker methods Some process methods are not supported in workers. This commit adds stubs that throw more informative errors. PR-URL: https://github.com/nodejs/node/pull/25587 Fixes: https://github.com/nodejs/node/issues/25448 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refa...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -84,6 +84,8 @@ if (isMainThread) {\n } else {\n const wrapped = workerThreadSetup.wrapProcessMethods(rawMethods);\n \n+ process.abort = workerThreadSetup.unavailable('process.abort()');\n+ process.chdir = workerThreadSetup.unavailable('process.chd...
2019-01-15T19:12:57
golang/go
a2b8c186f616db92f9812e09fb2c44b0e753f8a7
1e2820a6d72b606eb4070eda6cc626bde122f9c8
all: update vendored golang.org/x/tools Pull in CL 358034 (and some more changes with passing tests) with: go get -d golang.org/x/tools@f916b54 go mod tidy go mod vendor This teaches x/tools/cmd/bundle and the package loader it uses about the new export data version. Fixes #49159. Change-Id: Icc36e77e602b1cd2da...
[ { "path": "src/cmd/go.mod", "patch": "@@ -8,7 +8,7 @@ require (\n \tgolang.org/x/mod v0.5.1-0.20210913215816-37dd6891021a\n \tgolang.org/x/sync v0.0.0-20210220032951-036812b2e83c\n \tgolang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b\n-\tgolang.org/x/tools v0.1.8-0.20211011152358-18fa84021695\n+\tgolang.o...
2021-10-26T04:27:27