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
91221da2f1f68df9eb97c980a7206b14c4d3a9b0
ebfbcd42da327b4a9f2d73c93a962be0a581faaa
[glm4v] fix video inference (#39174) fix video inference
[ { "path": "src/transformers/models/glm4v/modeling_glm4v.py", "patch": "@@ -1269,13 +1269,13 @@ def forward(\n \n if input_ids is None:\n video_mask = inputs_embeds == self.get_input_embeddings()(\n- torch.tensor(self.config.video_token_id, dtype=torch.long, dev...
2025-07-03T05:20:41
nodejs/node
036fbdb63d603a64bd8562ec9331dfb7a5c5075c
d568b53931958075be962ce79d23c24307af66f5
src: remove `Environment::tracing_agent_writer()` As per the conversation in https://github.com/nodejs/node/issues/22513, this is essentially global, and adding this on the Environment is generally just confusing. Refs: https://github.com/nodejs/node/issues/22513 Fixes: https://github.com/nodejs/node/issues/22767 PR...
[ { "path": "src/env-inl.h", "patch": "@@ -334,10 +334,6 @@ inline v8::Isolate* Environment::isolate() const {\n return isolate_;\n }\n \n-inline tracing::AgentWriterHandle* Environment::tracing_agent_writer() const {\n- return tracing_agent_writer_;\n-}\n-\n inline Environment* Environment::from_timer_han...
2018-10-20T09:02:37
vercel/next.js
c01f8da55930fd0dafe5c82658268247e2ced7fa
cdf1d52d9aed42d01a46539886a4bda14cb77a99
Improve server-only imported in external package error (#45749) Fail at build time with helpful message instead of getting a runtime error when external package imports 'server-only' in a Client Component. Before ![image](https://user-images.githubusercontent.com/25056922/217865154-57fd821c-9502-4e0a-a31c-19f2f89b584...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -2010,6 +2010,15 @@ export default async function getBaseWebpackConfig(\n \"'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component.\",\n },\n },\n+ ...
2023-02-15T01:54:41
electron/electron
4a508e0e4189d3351df117cfb7937f26839d6324
b6875ad49b328e1ef3ebb6016c2831ffb3a0ff83
reverted incorrect changes
[ { "path": "docs/api/browser-window.md", "patch": "@@ -241,16 +241,16 @@ Get the unique ID of this window.\n ### BrowserWindow.destroy()\n \n Force closing the window, the `unload` and `beforeunload` event won't be emitted\n-for the renderer process (web page), and `close` event would also not be emitted\n+f...
2015-03-27T12:46:26
golang/go
9d9e3291faee4b01165247956e8555eb1bb291f1
cf12b0d1f96242eefbe64dbf449f30cce2756560
cmd/compile/internal/types2: fix method lookup for type-parameter based types Pointers to type parameters don't have methods, but pointers to defined types whose underlying types are type parameters may have methods. Fix the respective test. For #47747. Change-Id: I1de47be094ed9297f0e7782538011657c37c5adc Reviewed-o...
[ { "path": "src/cmd/compile/internal/types2/lookup.go", "patch": "@@ -74,9 +74,12 @@ func lookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string) (o\n \ttyp, isPtr := deref(T)\n \n \t// *typ where typ is an interface or type parameter has no methods.\n-\tswitch under(typ).(type) {\n-\tcase *...
2021-08-17T18:45:05
huggingface/transformers
ebfbcd42da327b4a9f2d73c93a962be0a581faaa
37a239ca50885443a3216f56110a03f959509c80
Test fixes for Aria (and some Expectation for llava_next_video) (#39131) * Expectations for llava_next_video * Updated image src in aria * Fix test_small_model_integration_test * Fix small model integration llama * Fix a bunch of tests * Style * Shortened generation in test from 900 to 90
[ { "path": "tests/models/aria/test_modeling_aria.py", "patch": "@@ -25,6 +25,7 @@\n AriaTextConfig,\n AutoProcessor,\n AutoTokenizer,\n+ BitsAndBytesConfig,\n is_torch_available,\n is_vision_available,\n )\n@@ -52,6 +53,9 @@\n if is_vision_available():\n from PIL import Image\n \n+...
2025-07-02T21:41:14
rust-lang/rust
c343b2a47c29bdfe4c611ba74f9c9e455f12539b
e42bbfe1f7c26f8760a99c4b1f27d33aba1040bb
`gather_locals`: only visit guard pattern guards when checking the guard When checking a pattern with guards in it, `GatherLocalsVisitor` will visit both the pattern (when type-checking the let, arm, or param containing it) and the guard expression (when checking the guard itself). This keeps it from visiting the guar...
[ { "path": "compiler/rustc_hir_typeck/src/gather_locals.rs", "patch": "@@ -218,7 +218,12 @@ impl<'a, 'tcx> Visitor<'tcx> for GatherLocalsVisitor<'a, 'tcx> {\n );\n }\n let old_outermost_fn_param_pat = self.outermost_fn_param_pat.take();\n- intravisit::walk_pat(self, p);\n+ ...
2025-05-20T06:18:08
electron/electron
0611f9156fb721ff39685e5d0a6d9d1c59ce3114
e2bdbae262671c807a299206835acf64f2108873
docs: Mention the debug symbols, closes #1201
[ { "path": "README.md", "patch": "@@ -7,10 +7,11 @@ editor](https://github.com/atom/atom).\n \n ## Downloads\n \n-Prebuilt binaries of atom-shell for Linux, Windows and Mac can be found on the\n-[releases](https://github.com/atom/atom-shell/releases) page.\n+Prebuilt binaries and debug symbols of atom-shell ...
2015-03-26T07:59:07
huggingface/transformers
37a239ca50885443a3216f56110a03f959509c80
9326fc332d4b8477fb1b990a5de486c70a94696d
Update expected values (after switching to A10) - part 3 (#39179) * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/dpt/test_modeling_dpt.py", "patch": "@@ -18,7 +18,7 @@\n from transformers import DPTConfig\n from transformers.file_utils import is_torch_available, is_vision_available\n from transformers.pytorch_utils import is_torch_greater_or_equal_than_2_4\n-from transformers.testing_utils impo...
2025-07-02T20:48:30
vercel/next.js
c8fe390041548439dc54f2b1c4495310ee4a7024
8af2881a297ba0ab97bd51220bd71a7f76996c99
Rename manifest file names (#45877) Here we rename names of manifest files to align better with React. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.m...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -49,7 +49,7 @@ import {\n PAGES_MANIFEST,\n PHASE_PRODUCTION_BUILD,\n PRERENDER_MANIFEST,\n- FLIGHT_MANIFEST,\n+ CLIENT_REFERENCE_MANIFEST,\n REACT_LOADABLE_MANIFEST,\n ROUTES_MANIFEST,\n SERVER_DIRECTORY,\n@@ -903,8 +903,14 @@ export ...
2023-02-15T01:03:17
golang/go
4012fea822763ef3aa66dd949fa95b9f8d89450a
b7b790a71a86678f036b7d30a892c5f792c5092f
all: fix typos Change-Id: I83180c472db8795803c1b9be3a33f35959e4dcc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/336889 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Austin Clements <austin@google.com>
[ { "path": "src/cmd/go/internal/modcmd/vendor.go", "patch": "@@ -242,7 +242,7 @@ func vendorPkg(vdir, pkg string) {\n \tif err != nil {\n \t\tif errors.As(err, &noGoError) {\n \t\t\treturn // No source files in this package are built. Skip embeds in ignored files.\n-\t\t} else if !errors.As(err, &multiplePac...
2021-07-23T13:28:26
nodejs/node
3ec8cec6483549a91d1c89bed3c15856b71850c3
12c530ccd5890e75515918e0456daf42260ba5b6
stream: async iteration should work with destroyed stream Fixes https://github.com/nodejs/node/issues/23730. PR-URL: https://github.com/nodejs/node/pull/23785 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
[ { "path": "lib/internal/streams/async_iterator.js", "patch": "@@ -1,5 +1,7 @@\n 'use strict';\n \n+const finished = require('internal/streams/end-of-stream');\n+\n const kLastResolve = Symbol('lastResolve');\n const kLastReject = Symbol('lastReject');\n const kError = Symbol('error');\n@@ -34,30 +36,6 @@ fu...
2018-10-20T13:04:57
huggingface/transformers
9326fc332d4b8477fb1b990a5de486c70a94696d
25cd65ac43ee1a96cef4692bda0b110d1e3c6903
Update expected values (after switching to A10) - part 2 (#39165) * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * empty * [skip ci] * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.githu...
[ { "path": "tests/models/grounding_dino/test_modeling_grounding_dino.py", "patch": "@@ -681,25 +681,48 @@ def test_inference_object_detection_head(self):\n expected_shape_logits = torch.Size((1, model.config.num_queries, model.config.d_model))\n self.assertEqual(outputs.logits.shape, expected...
2025-07-02T20:47:55
electron/electron
ae5586408f0cc5ff630563c4b42a53771d4ce49f
a4342fd5ba6898a2473883009260a025fc34278a
Enable setting only one side of max/min size, fixes #1301
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -204,8 +204,8 @@ void NativeWindow::InitFromOptions(const mate::Dictionary& options) {\n options.Get(switches::kMinWidth, &min_width)) {\n SetMinimumSize(gfx::Size(min_width, min_height));\n }\n- int max_height = -1, max_width = -1;\n- if...
2015-03-26T04:23:38
vercel/next.js
8af2881a297ba0ab97bd51220bd71a7f76996c99
4eb55d0ff6efd83ac4f97c22dfb3da56803882eb
Add `MDXComponents` type to `useMDXComponents` (#45737) MDX publishes types which includes a proper `MDXComponents` type, provides nicer autocomplete for users and also includes the `wrapper` option: ![image](https://user-images.githubusercontent.com/55017335/217798272-2fc5e574-5a0b-49e5-92d8-62b56ad4d043.png) ...
[ { "path": "examples/app-dir-mdx/mdx-components.tsx", "patch": "@@ -1,7 +1,7 @@\n+import type { MDXComponents } from 'mdx/types'\n+\n // This file is required to use MDX in `app` directory.\n-export function useMDXComponents(components: {\n- [component: string]: React.ComponentType\n-}) {\n+export function ...
2023-02-15T00:41:49
golang/go
b7b790a71a86678f036b7d30a892c5f792c5092f
a304273d74b95c835ee08b641a17ce6bc591ddd3
cmd/compile: fix CONVIFACE case converting interface to empty interface We need an extra case in convertToDictionary. In the case of an operand which is an interface and converting to an empty interface, we don't want to get the run-time type from the dictionary (which would be the run-time type of the interface). We ...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1224,6 +1224,11 @@ func convertUsingDictionary(info *instInfo, dictParam *ir.Name, pos src.XPos, v\n \t\t}\n \t\tassert(ix >= 0)\n \t\trt = getDictionaryEntry(pos, dictParam, ix, info.dictLen)\n+\t} else if v.Type().IsInterface() {\n+\t\tt...
2021-08-13T00:08:49
nodejs/node
cc750b71a15fce6fc825544fd9008ea3de4288cd
91431db9eb8fc8356d0b62756f36bebd5672ddce
doc: NODE_EXTRA_CA_CERTS is ignored if setuid root Fixes: https://github.com/nodejs/node/issues/22081 PR-URL: https://github.com/nodejs/node/pull/23770 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann...
[ { "path": "doc/api/cli.md", "patch": "@@ -525,6 +525,9 @@ malformed, but any errors are otherwise ignored.\n Note that neither the well known nor extra certificates are used when the `ca`\n options property is explicitly specified for a TLS or HTTPS client or server.\n \n+This environment variable is ignore...
2018-10-19T21:39:46
huggingface/transformers
25cd65ac43ee1a96cef4692bda0b110d1e3c6903
548794b886a2186e9904ce6a90819eb2d0dfe266
Random serve fixes (#39176) * Fix index out of bounds exception on wrong kv reuse * Prevent loading same model twice --------- Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> Co-authored-by: Lysandre Debut <hi@lysand.re>
[ { "path": "src/transformers/commands/serving.py", "patch": "@@ -347,7 +347,7 @@ def _serve(req: \"ChatCompletionInput\"):\n if not req.stream:\n return {\"error\": \"Only streaming mode is supported.\"}\n \n- update_model = req.model != self.loaded_model\n+ ...
2025-07-02T20:09:58
electron/electron
a4342fd5ba6898a2473883009260a025fc34278a
1a6677bdc38fdb1f951bf156f567ed0862ee4b52
Unify how we throw exceptions
[ { "path": "atom/browser/api/atom_api_screen.cc", "patch": "@@ -117,16 +117,14 @@ mate::ObjectTemplateBuilder Screen::GetObjectTemplateBuilder(\n // static\n v8::Handle<v8::Value> Screen::Create(v8::Isolate* isolate) {\n if (!Browser::Get()->is_ready()) {\n- isolate->ThrowException(v8::Exception::Error(...
2015-03-26T03:34:41
vercel/next.js
4eb55d0ff6efd83ac4f97c22dfb3da56803882eb
4ef0bcc7799ab614638ad3235c3ee9e7f2094943
Use details tag in collapsed call stacks (#45907) Currently the collapsed frameworks uses a `<button>` and React to show/hide the frames in the error overlay. This change utilizes the native `<details>` tag instead to achieve the same behaviour. The default `<details>` arrow is hidden to preserve the same look: ...
[ { "path": "packages/next/src/client/components/react-dev-overlay/internal/container/RuntimeError/GroupedStackFrames.tsx", "patch": "@@ -12,39 +12,34 @@ function FrameworkGroup({\n stackFrames: StackFramesGroup['stackFrames']\n all: boolean\n }) {\n- const [open, setOpen] = React.useState(false)\n- con...
2023-02-15T00:31:59
golang/go
d3deb2c359ec1d3b9fbfdfa224c0f03ecdde2c02
29ec74fb82328f4c005d556291ea687da7aad4b0
cmd/compile: fix typos Change-Id: I88a3e69e232bf94296fe97621c5d395fc1296bbb GitHub-Last-Rev: f1cc29dc287eb02881fead0b815e1b45e23adfa4 GitHub-Pull-Request: golang/go#47482 Reviewed-on: https://go-review.googlesource.com/c/go/+/338751 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Trust: Josh Bleecher Snyder <joshar...
[ { "path": "src/cmd/compile/internal/escape/graph.go", "patch": "@@ -117,7 +117,7 @@ func (l *location) isName(c ir.Class) bool {\n \treturn l.n != nil && l.n.Op() == ir.ONAME && l.n.(*ir.Name).Class == c\n }\n \n-// An hole represents a context for evaluation a Go\n+// A hole represents a context for evalua...
2021-08-17T03:24:15
nodejs/node
91431db9eb8fc8356d0b62756f36bebd5672ddce
added1b0c5ad82ed47921bea00f05aad85548a62
test: fix strictEqual() arguments order PR-URL: https://github.com/nodejs/node/pull/23800 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
[ { "path": "test/parallel/test-http-upgrade-server.js", "patch": "@@ -98,20 +98,20 @@ function test_upgrade_with_listener() {\n conn.on('data', function(data) {\n state++;\n \n- assert.strictEqual('string', typeof data);\n+ assert.strictEqual(typeof data, 'string');\n \n if (state === 1) {\n-...
2018-10-20T19:56:05
huggingface/transformers
548794b886a2186e9904ce6a90819eb2d0dfe266
2d561713f8e3eb3fcd219b44c9ea8f51db69c96c
[serve] Model name or path should be required (#39178) * Model name or path should be required * Fix + add tests * Change print to log so it doesn't display in transformers chat
[ { "path": "src/transformers/commands/chat.py", "patch": "@@ -333,6 +333,11 @@ def __init__(self, args):\n )\n \n args.host, args.port = args.model_name_or_path_or_address.rsplit(\":\", 1)\n+\n+ if args.model_name_or_path is None:\n+ raise...
2025-07-02T20:06:47
electron/electron
18044663341701f70528375a799881e087357e01
a9301ea1d04805f23358c08e13e16e3af8004741
Print localizedFailureReason for autoUpdater errors This is to help solve #1292.
[ { "path": "atom/browser/auto_updater_mac.mm", "patch": "@@ -94,7 +94,9 @@ void RelaunchToInstallUpdate() {\n delegate->OnUpdateNotAvailable();\n }\n } error:^(NSError *error) {\n- delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));\n+ delegate->OnErr...
2015-03-25T13:19:18
golang/go
8ff16c19909e5aecf51c6b993cba36ea51791f34
df9c5d8f5dc96977dad865dc531d6c1e665ea1cb
runtime: accept restartable sequence pcdata values in isAsyncSafePoint If the pcdata value indicates a restartable sequence, it is okay to asynchronously preempt (and resume at the restart PC). Accept it in isAsyncSafePoint. Fixes #47530. Change-Id: I419225717c8eee5812f3235338262da5895aad0d Reviewed-on: https://go-r...
[ { "path": "src/runtime/preempt.go", "patch": "@@ -399,7 +399,7 @@ func isAsyncSafePoint(gp *g, pc, sp, lr uintptr) (bool, uintptr) {\n \t\treturn false, 0\n \t}\n \tup, startpc := pcdatavalue2(f, _PCDATA_UnsafePoint, pc)\n-\tif up != _PCDATA_UnsafePointSafe {\n+\tif up == _PCDATA_UnsafePointUnsafe {\n \t\t/...
2021-08-04T23:41:19
vercel/next.js
216e8b6ba3c589e95ff4b6fd6cb7f0df41624dc7
cd769686210c91ad0717ea04344276209a541142
Remove action adding "linear" label which is not used anymore (#45911) We don't need this action anymore, so we are deleting it. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/b...
[ { "path": ".github/actions/issue-on-label/.gitignore", "patch": "@@ -1,2 +0,0 @@\n-!package-lock.json\n-lib/\n\\ No newline at end of file", "additions": 0, "deletions": 2, "language": "Unknown" }, { "path": ".github/actions/issue-on-label/action.yaml", "patch": "@@ -1,6 +0,0 @@\n-na...
2023-02-14T22:22:28
huggingface/transformers
df12d87d184db59aed00b6b22c2daff7bac95204
2b4a12b5bf5b5fa609c64268c600e81fe8623afc
[docs] ViTPose (#38630) * vitpose * fix? * fix? * feedback * fix * feedback * feedback * update sample image
[ { "path": "docs/source/en/model_doc/vitpose.md", "patch": "@@ -10,52 +10,39 @@ an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express o\n specific language governing permissions and limitations under the License.\n -->\n \n-# ViTPose\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-...
2025-07-02T14:56:29
nodejs/node
cdba3c1de0de37576426421128982a4022480381
51cd9719b5fde5da973dcdbb196402b49f885c63
tls: throw if protocol too long The convertProtocols() function now throws a range error when the byte length of a protocol is too long to fit in a Buffer. Also added a test case in test/parallel/test-tls-basic-validations.js to cover this. PR-URL: https://github.com/nodejs/node/pull/23606 Reviewed-By: Anna Hennings...
[ { "path": "lib/internal/errors.js", "patch": "@@ -825,10 +825,11 @@ E('ERR_NO_ICU',\n '%s is not supported on Node.js compiled without ICU', TypeError);\n E('ERR_NO_LONGER_SUPPORTED', '%s is no longer supported', Error);\n E('ERR_OUT_OF_RANGE',\n- (name, range, value) => {\n- let msg = `The value of \...
2018-10-12T18:44:10
vercel/next.js
cd769686210c91ad0717ea04344276209a541142
cc428e925d46928ba25978e01c768fb1eaabded0
Fix flaky rsc-build-error test (#45896) Seems like a full reload was made in the test due to a runtime error which made it flaky. [slack ref](https://vercel.slack.com/archives/C04DUD7EB1B/p1676314015291299) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors...
[ { "path": "test/development/acceptance-app/rsc-build-errors.test.ts", "patch": "@@ -237,6 +237,7 @@ createNextDescribe(\n )\n \n expect(await session.hasRedbox(true)).toBe(true)\n+ await check(() => session.getRedboxSource(), /must be a Client Component/)\n expect(await session.getRed...
2023-02-14T21:49:35
huggingface/transformers
2b4a12b5bf5b5fa609c64268c600e81fe8623afc
e355c0a11c927d9e8f22409559c0fae76ccc598c
Reduce Glm4v model test size significantly (#39173) * fix test size * Update test_modeling_glm4v.py
[ { "path": "tests/models/glm4v/test_modeling_glm4v.py", "patch": "@@ -69,16 +69,15 @@ def __init__(\n is_training=True,\n text_config={\n \"vocab_size\": 99,\n- \"hidden_size\": 32,\n- \"intermediate_size\": 37,\n- \"num_hidden_layers\": 4,\n- ...
2025-07-02T13:55:05
nodejs/node
b794f581b1475bccfe0606ab0fda49500bd58b6c
30219bfc572101f48d0bc4b01d04a5e22c1c4b74
test: fix flaky test This commit fixes test-tls-set-secure-context.js. The test was making one long lasting HTTP connection, followed by a number of shorter lived connections. However, it was possible that the connections were not received in the desired order. This commit ensures that the long lasting connection is e...
[ { "path": "test/parallel/test-tls-set-secure-context.js", "patch": "@@ -4,6 +4,10 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+// This test verifies the behavior of the tls setSecureContext() method.\n+// It also verifies that existing connections ...
2018-10-21T20:36:08
rust-lang/rust
ed983c21842be5e84f11b745c0c04ea23baa5509
e42bbfe1f7c26f8760a99c4b1f27d33aba1040bb
only resolve top-level guard patterns' guards once We resolve guard patterns' guards in `resolve_pattern_inner`, so to avoid resolving them multiple times, we must avoid doing so earlier. To accomplish this, `LateResolutionVisitor::visit_pat` contains a case for guard patterns that avoids visiting their guards while w...
[ { "path": "compiler/rustc_resolve/src/late.rs", "patch": "@@ -3901,7 +3901,9 @@ impl<'a, 'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {\n // We walk the pattern before declaring the pattern's inner bindings,\n // so that we avoid resolving a literal expression to a bindi...
2025-05-20T01:02:54
golang/go
df9c5d8f5dc96977dad865dc531d6c1e665ea1cb
213e157d3aad3fbb289d184a5cb4b18258162634
cmd/cgo: fix unused parameter warnings in generated _cgo_main.c Applying -Werror compiler option to request warnings is an usual way to discover potential errors. Go user may put a cgo directive in preamble: `// #cgo CFLAGS: -Werror=unused-parameter`. However, the directive also takes effect on the cgo generated file...
[ { "path": "misc/cgo/test/testdata/issue43639.go", "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+package cgotest\n+\n+// Issue 43639: No runtime test needed, m...
2021-07-30T02:36:02
vercel/next.js
cc428e925d46928ba25978e01c768fb1eaabded0
3502fca7a1bbf6fe3c31cc8191114a495eaae33e
Update `NextResponse` section in Middleware docs (#45913) Starting from Next.js 13.1.0, we can now return a response directly from Middleware. However, the NextResponse section in the middleware docs is still outdated. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Err...
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -147,7 +147,10 @@ The [`NextResponse`](#nextresponse) API allows you to:\n - Set response cookies\n - Set response headers\n \n-To produce a response from Middleware, you should `rewrite` to a route ([Page](/docs/basic-features/pages.md) or [Edg...
2023-02-14T21:48:10
huggingface/transformers
e355c0a11c927d9e8f22409559c0fae76ccc598c
1125513a8da80d16e26cecfcbb508efc9038b5a7
Fix missing initializations for models created in 2024 (#38987) * fix GroundingDino * fix SuperGlue * fix GroundingDino * fix MambaModel * fix OmDetTurbo * fix SegGpt * fix Qwen2Audio * fix Mamba2 * fix DabDetr * fix Dac * fix FalconMamba * skip timm initialization * fix Encodec and MusicgenMelody * fix M...
[ { "path": "src/transformers/models/dab_detr/modeling_dab_detr.py", "patch": "@@ -829,6 +829,9 @@ def _init_weights(self, module):\n module.weight.data.normal_(mean=0.0, std=std)\n if module.bias is not None:\n module.bias.data.zero_()\n+ elif isinstance(module,...
2025-07-02T13:03:57
nodejs/node
a88ca5246c5af6bf5d7b614a0f92c3a847efb20b
22ee5d920970bcbd3103b986be9b8f68394a5361
test: fix invalid modulesLength for DSA keygen During key generation, the default dsa_builtin_paramgen will reset modulusLength to 512. But in dsa_builtin_paramgen2 this does not happen, leading to lockup in FIPS mode. PR-URL: https://github.com/nodejs/node/pull/23732 Refs: https://github.com/nodejs/node/pull/23430 R...
[ { "path": "test/parallel/test-crypto-keygen.js", "patch": "@@ -182,7 +182,7 @@ function convertDERToPEM(label, der) {\n {\n // Test async DSA key generation.\n generateKeyPair('dsa', {\n- modulusLength: 256,\n+ modulusLength: 512,\n divisorLength: 256,\n publicKeyEncoding: {\n type: ...
2018-10-18T13:49:20
golang/go
213e157d3aad3fbb289d184a5cb4b18258162634
c04a32e59a001f0490082619bbe6a36e1e23ef99
testing/fstest: allow specifying file for "." in MapFS Prior to this commit, specifying a file for "." in MapFS created an invalid fs.FS and caused infinite recursion in fs.WalkDir. Fixes #46776 Change-Id: Ia9e4ae1125355a74dba9ee6b36451b7fda75a862 Reviewed-on: https://go-review.googlesource.com/c/go/+/328409 Trust: ...
[ { "path": "src/testing/fstest/mapfs.go", "patch": "@@ -66,7 +66,9 @@ func (fsys MapFS) Open(name string) (fs.File, error) {\n \t\tfor fname, f := range fsys {\n \t\t\ti := strings.Index(fname, \"/\")\n \t\t\tif i < 0 {\n-\t\t\t\tlist = append(list, mapFileInfo{fname, f})\n+\t\t\t\tif fname != \".\" {\n+\t\t...
2021-06-15T23:01:25
vercel/next.js
3502fca7a1bbf6fe3c31cc8191114a495eaae33e
d4f3621e2d4154e742c49e31700e4472f2ba365d
test(integration): allow to partially skip retry (#45914) <!-- 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: --> Cl...
[ { "path": "run-tests.js", "patch": "@@ -17,7 +17,14 @@ const DEFAULT_NUM_RETRIES = os.platform() === 'win32' ? 2 : 1\n const DEFAULT_CONCURRENCY = 2\n const RESULTS_EXT = `.results.json`\n const isTestJob = !!process.env.NEXT_TEST_JOB\n+// Check env to see if test should continue even if some of test fails\...
2023-02-14T21:30:34
electron/electron
ee71b2044ef185b943af5085a3b8090aa0a9f612
665363b356f99adc9c616ae4fed7b61e4e7e0677
Catch the exception thrown from Squirrel
[ { "path": "atom/browser/auto_updater_mac.mm", "patch": "@@ -36,14 +36,20 @@ void RelaunchToInstallUpdate() {\n // static\n void AutoUpdater::SetFeedURL(const std::string& feed) {\n if (g_updater == nil) {\n+ AutoUpdaterDelegate* delegate = GetDelegate();\n+ if (!delegate)\n+ return;\n+\n //...
2015-03-25T11:59:36
rust-lang/rust
8a9adba8525e7bf40ca5f3b08d359742173f6fa7
8c6eea85a171bdd54811f5562884e8e706da34ce
Fix adjacent code
[ { "path": "clippy_lints/src/blocks_in_conditions.rs", "patch": "@@ -100,8 +100,7 @@ impl<'tcx> LateLintPass<'tcx> for BlocksInConditions {\n cond.span,\n BRACED_EXPR_MESSAGE,\n \"try\",\n- snippet_...
2025-02-09T00:29:02
nodejs/node
d8b6a1d4f6410e8b36a58a0d822773ee28f7b1e5
341006b144d18c15e1b026ea0aa5044c07436f87
doc: document and warn if the ICU version is too old Fixes: https://github.com/nodejs/node/issues/19657 PR-URL: https://github.com/nodejs/node/pull/23766 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ack...
[ { "path": "BUILDING.md", "patch": "@@ -470,6 +470,10 @@ You can find other ICU releases at\n Download the file named something like `icu4c-**##.#**-src.tgz` (or\n `.zip`).\n \n+To check the minimum recommended ICU, run `./configure --help` and see\n+the help for the `--with-icu-source` option. A warning wil...
2018-06-08T20:57:32
huggingface/transformers
1125513a8da80d16e26cecfcbb508efc9038b5a7
28df7f854ac4ec650c4a5057cc95a072d5efa5a8
Blip2 fixes (#39080) * Fixed some devices errors * Fixed other device issues and more expectations * Reverted support flags * style * More granular support * Fixed some rebase stuff * add a not None check before .to
[ { "path": "src/transformers/models/blip_2/modeling_blip_2.py", "patch": "@@ -415,6 +415,7 @@ class Blip2PreTrainedModel(PreTrainedModel):\n _no_split_modules = [\n \"Blip2Attention\",\n \"Blip2QFormerMultiHeadAttention\",\n+ \"Blip2EncoderLayer\",\n \"Blip2TextEmbeddings\"...
2025-07-02T12:39:39
golang/go
6406227d71d2de0bec944bfc1a6aaed90dbf9d0d
a05a7d49a9b7975d89bc5851cff55b64f64242c3
runtime: skip sysmon workaround on NetBSD >= 9.2 Detect the NetBSD version in osinit and only enable the workaround for the kernel bug identified in #42515 for NetBSD versions older than 9.2. For #42515 For #46495 Change-Id: I808846c7f8e47e5f7cc0a2f869246f4bd90d8e22 Reviewed-on: https://go-review.googlesource.com/c/...
[ { "path": "src/runtime/os_netbsd.go", "patch": "@@ -101,6 +101,9 @@ var sigset_all = sigset{[4]uint32{^uint32(0), ^uint32(0), ^uint32(0), ^uint32(0)\n \n // From NetBSD's <sys/sysctl.h>\n const (\n+\t_CTL_KERN = 1\n+\t_KERN_OSREV = 3\n+\n \t_CTL_HW = 6\n \t_HW_NCPU = 3\n \t_HW_PAGESIZE = 7\...
2021-06-03T14:57:54
vercel/next.js
5a5b683a9786d81d87741702eadf92e2a9210593
a485dc9af197d7da30ffc02c212fab278b28696c
Add warning when mismatching @next/swc version is being used (#45880) This adds a debug warning to help catch when a stale `@next/swc` version is being used. x-ref: [slack thread](https://vercel.slack.com/archives/C02HY34AKME/p1676331498415309?thread_ts=1676315836.304549&cid=C02HY34AKME) ---------
[ { "path": "packages/next/src/build/swc/index.ts", "patch": "@@ -39,6 +39,16 @@ export const __isCustomTurbopackBinary = async (): Promise<boolean> => {\n )\n }\n \n+function checkVersionMismatch(pkgData: any) {\n+ const version = pkgData.version\n+\n+ if (version && version !== nextVersion) {\n+ Log....
2023-02-14T21:15:09
electron/electron
62f9c3def03c6dcf3b4df530536491db29ff5749
9f9f772ff50ccd32b403775178caa54ae0d9e4f8
mac: Don't rely on autorelease to delete window delegate When quiting while closing window, it will leave the window delegate out of the autorelease pool and crash. Fixes #881.
[ { "path": "atom/browser/native_window_mac.h", "patch": "@@ -14,6 +14,8 @@\n #include \"base/memory/scoped_ptr.h\"\n #include \"atom/browser/native_window.h\"\n \n+@class AtomNSWindow;\n+@class AtomNSWindowDelegate;\n @class FullSizeContentView;\n class SkRegion;\n \n@@ -102,7 +104,8 @@ class NativeWindowMac...
2015-03-25T10:51:29
huggingface/transformers
28df7f854ac4ec650c4a5057cc95a072d5efa5a8
b61023a1b760b207d99b699dafc1fbfde992c12c
Fix multimodal processor get duplicate arguments when receive kwargs for initialization (#39125) * fix processor tokenizer override Signed-off-by: Isotr0py <2037008807@qq.com> * code format Signed-off-by: Isotr0py <2037008807@qq.com> * add regression test Signed-off-by: Isotr0py <2037008807@qq.com> * fix Signed...
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -1097,9 +1097,13 @@ def from_args_and_dict(cls, args, processor_dict: dict[str, Any], **kwargs):\n processor_config=processor_dict, valid_kwargs=accepted_args_and_kwargs\n )\n \n- # remove args that are in processor_di...
2025-07-02T11:57:15
nodejs/node
4194b051e8271efc2f778d02cd8dec7030fb2a68
d36abb5d0b9470a237a2614c743ae28115bd86d6
deps: icu: apply workaround patch ICU 62.1 had a bug where certain orders of operations would not work with the minimum significant digit setting. Fixed in ICU 63.1. Applied the following patch from v8. https://chromium-review.googlesource.com/c/chromium/deps/icu/+/1128503 ICU Bug: https://unicode-org.atlassian.net/...
[ { "path": "test/parallel/test-intl.js", "patch": "@@ -99,8 +99,18 @@ if (!common.hasIntl) {\n assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');\n }\n // number format\n- const numberFormat = new Intl.NumberFormat(['en']).format(12345.67890);\n- assert.strictEqual(numberFormat, '12,345.679...
2018-08-07T18:37:12
rust-lang/rust
72a4e33d69d982c6d26d19d65e136f21bded3184
da7b678992dd65dbd644bfe30ba61a9a0d2c695c
Fix ICE while computing type layout If a type is incomplete, for example if generic parameters are not available yet, although they are not escaping, its layout may not be computable. Calling `TyCtxt::layout_of()` would create a delayed bug in the compiler.
[ { "path": "clippy_lints/src/zero_sized_map_values.rs", "patch": "@@ -51,9 +51,11 @@ impl LateLintPass<'_> for ZeroSizedMapValues {\n && (is_type_diagnostic_item(cx, ty, sym::HashMap) || is_type_diagnostic_item(cx, ty, sym::BTreeMap))\n && let ty::Adt(_, args) = ty.kind()\n ...
2025-05-18T12:39:28
golang/go
742dcba7bb953a96c9f3fcdeb32b1c03cbbd8d5e
41d991e4e1f3a9230cc3832a39dbf49ce9aa191f
cmd: support space and quotes in CC and CXX The CC and CXX environment variables now support spaces and quotes (both double and single). This fixes two issues: first, if CC is a single path that contains spaces (like 'c:\Program Files\gcc\bin\gcc.exe'), that should now work if the space is quoted or escaped (#41400). ...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -23,10 +23,13 @@ import (\n \t\"internal/xcoff\"\n \t\"math\"\n \t\"os\"\n+\t\"os/exec\"\n \t\"strconv\"\n \t\"strings\"\n \t\"unicode\"\n \t\"unicode/utf8\"\n+\n+\t\"cmd/internal/str\"\n )\n \n var debugDefine = flag.Bool(\"debug-define\", false, \"print relevan...
2021-07-14T23:57:24
vercel/next.js
a485dc9af197d7da30ffc02c212fab278b28696c
93ee752d41a9205fb13be9a29eaaf57374df8018
Add top-level trace include/exclude config (#44605) This adds a top-level experimental config for including/excluding files from the file traces. This replaces the page level `unstable_includeFiles`/`unstable_excludeFiles` as those had some drawbacks such as not being supported for API routes as these files aren't...
[ { "path": "docs/advanced-features/output-file-tracing.md", "patch": "@@ -64,7 +64,23 @@ module.exports = {\n }\n ```\n \n-- There are some cases in which Next.js might fail to include required files, or might incorrectly include unused files. In those cases, you can export page configs props `unstable_inclu...
2023-02-14T20:09:47
electron/electron
a360ef7c8d42e38d930d6cdfc2566d5c4680c2d1
7006a140319bf61c45854941ce1baa2a94e1ffeb
[doc]: fix when to use protocol module
[ { "path": "docs/api/protocol.md", "patch": "@@ -10,7 +10,7 @@ An example of implementing a protocol that has the same effect with the\n var app = require('app'),\n path = require('path');\n \n-app.on('will-finish-launching', function() {\n+app.on('ready', function() {\n var protocol = require('proto...
2015-03-24T11:56:12
huggingface/transformers
b61023a1b760b207d99b699dafc1fbfde992c12c
4d5822e65daa1ea14d199a8e7b893a01787cfcc1
🚨🚨🚨 [eomt] make EoMT compatible with pipeline (#39122) * Make EoMT compatible with pipeline * Implicit patch offsets * remove patch offsets from arg * Modify tests * Update example * fix proc testcase * Add few more args * add pipeline test suite * fix * docstring fixes * add pipeline test * changes w.r....
[ { "path": "docs/source/en/model_doc/eomt.md", "patch": "@@ -74,20 +74,16 @@ inputs = processor(\n return_tensors=\"pt\",\n )\n \n-# Remove Patch Offsets from inputs — only used later for post-processing.\n-patch_offsets = inputs.pop(\"patch_offsets\")\n-\n with torch.inference_mode():\n outputs = mo...
2025-07-02T11:25:26
nodejs/node
b049d55cd882a9d3e8a2f5be69dd9fdb6623eab7
6c079905a3dc4a6e3317b4fa1ada0ce39c8d0db7
doc: add note about removeListener order Fixes: https://github.com/nodejs/node/issues/21635 PR-URL: https://github.com/nodejs/node/pull/23762 Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Hen...
[ { "path": "doc/api/events.md", "patch": "@@ -581,6 +581,26 @@ being removed. This will not impact the order in which listeners are called,\n but it means that any copies of the listener array as returned by\n the `emitter.listeners()` method will need to be recreated.\n \n+When a single function has been ad...
2018-10-19T18:57:19
rust-lang/rust
1525f548bc376b04692b97a84898900e8f27fdd0
5b808b7da8df062f1c4d5d73c98e19e6cc4b283b
Fix up some comments. Some are too long (> 100 chars), some are too short, some are missing full stops, some are missing upper-case letters at the start of sentences.
[ { "path": "compiler/rustc_attr_parsing/src/context.rs", "patch": "@@ -115,7 +115,8 @@ impl<'a> Deref for AcceptContext<'a> {\n \n /// Context given to every attribute parser during finalization.\n ///\n-/// Gives [`AttributeParser`](crate::attributes::AttributeParser)s enough information to create errors, f...
2025-05-01T06:24:48
vercel/next.js
268c9e08fcc5f90b4000e095a39350e5516de7a4
e12e4760ceaf42818da27218c093f86d3016baf5
Restore Issue Reporters (vercel/turbo#3803) This restores issue reporters, addressing a bug that prevented turbo-trace from completing. This moves `ConsoleUiVc::new` into an async block to prevent it from stalling. Test Plan: Verify `cargo run --bin node-file-trace -- print path/to/my/app` no longer stalls.
[ { "path": "packages/next-swc/crates/next-dev/src/lib.rs", "patch": "@@ -27,14 +27,15 @@ use owo_colors::OwoColorize;\n use turbo_malloc::TurboMalloc;\n use turbo_tasks::{\n util::{FormatBytes, FormatDuration},\n- RawVc, StatsType, TransientInstance, TransientValue, TurboTasks, TurboTasksBackendApi, V...
2023-02-14T19:10:12
golang/go
446614182202a57b84c2742c8992c552e5fc7d3b
8d2066177dda53372469040e9bd18f836f121c58
cmd/go: add document -json in testflag Fixes #47628 Change-Id: I2776fbc22d8a73ca7adc2cf7ad85669d57cc7eae GitHub-Last-Rev: 826907b0797cdc25f921117e2ee44fc0dc2d21c3 GitHub-Pull-Request: golang/go#47683 Reviewed-on: https://go-review.googlesource.com/c/go/+/341991 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Res...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2658,6 +2658,10 @@\n // \t-failfast\n // \t Do not start new tests after the first test failure.\n //\n+// \t-json\n+// \t Log verbose output and test results in JSON. This presents the\n+// \t same information as the -v flag in a machine-readable fo...
2021-08-16T06:07:39
electron/electron
9f9f772ff50ccd32b403775178caa54ae0d9e4f8
c4b240170db6aacc08f425fef0d7f9285ecafc67
:art: Add "-ize" suffix
[ { "path": "docs/api/protocol.md", "patch": "@@ -1,7 +1,7 @@\n # protocol\n \n The `protocol` module can register a new protocol or intercept an existing\n-protocol, so you can custom the response to the requests for various protocols.\n+protocol, so you can customize the response to the requests for various...
2015-03-24T23:18:51
huggingface/transformers
4d5822e65daa1ea14d199a8e7b893a01787cfcc1
9b2f5b66d83e1b15dd1430f887f2037fd4039992
[smolvlm] fix video inference (#39147) * fix smolvlm * better do as before, set sampling params in overwritten `apply_chat_template` * style * update with `setdefault`
[ { "path": "src/transformers/models/smolvlm/processing_smolvlm.py", "patch": "@@ -434,6 +434,10 @@ def apply_chat_template(\n if chat_template is None and has_video:\n # re-assign to the correct default template for BC, if user is not requesting their own template\n chat_templ...
2025-07-02T10:05:10
rust-lang/rust
8224956dffb1b296841c2e31c5496ab1a53b2d83
b87e90b28f474c64a753e65b81a973f7b1a15d52
Various macro fixes for loop lints The `explicit_into_iter_loop`, `explicit_iter_loop` and `iter_next_loop` will now: - trigger only when the triggering expression is not located into macro code; - properly expose code rewrite proposal with code coming from the root context.
[ { "path": "clippy_lints/src/loops/explicit_into_iter_loop.rs", "patch": "@@ -1,7 +1,7 @@\n use super::EXPLICIT_INTO_ITER_LOOP;\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::is_trait_method;\n-use clippy_utils::source::snippet_with_applicability;\n+use clippy_utils::source::snippet...
2025-04-16T18:43:23
nodejs/node
6c079905a3dc4a6e3317b4fa1ada0ce39c8d0db7
30d42f6a4830777c1d85916f0179021cd0c8c3d6
doc: document ACL limitation for fs.access on Windows Fixes: https://github.com/nodejs/node/issues/19192 PR-URL: https://github.com/nodejs/node/pull/23772 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ba...
[ { "path": "doc/api/fs.md", "patch": "@@ -980,6 +980,11 @@ In general, check for the accessibility of a file only if the file will not be\n used directly, for example when its accessibility is a signal from another\n process.\n \n+On Windows, access-control policies (ACLs) on a directory may limit access to\...
2018-10-19T22:25:34
vercel/next.js
881262abef7dfb780331661f660c94aadaf9cc26
d0e5a8d5b325cf2ca5182439bdb5e200251dfe5e
Restore Issue Reporters (vercel/turbo#3803) This restores issue reporters, addressing a bug that prevented turbo-trace from completing. This moves `ConsoleUiVc::new` into an async block to prevent it from stalling. Test Plan: Verify `cargo run --bin node-file-trace -- print path/to/my/app` no longer stalls.
[ { "path": "crates/next-dev/src/lib.rs", "patch": "@@ -27,14 +27,15 @@ use owo_colors::OwoColorize;\n use turbo_malloc::TurboMalloc;\n use turbo_tasks::{\n util::{FormatBytes, FormatDuration},\n- RawVc, StatsType, TransientInstance, TransientValue, TurboTasks, TurboTasksBackendApi, Value,\n+ Collec...
2023-02-14T19:10:12
golang/go
ec271687129dc8b263699b0b9d3abed71d8bd39d
d35035f84e5dbe4c740d3f338ba89b41a00e270e
net/http: drop headers with invalid keys in Header.Write Don't let handlers inject unexpected headers by setting keys like: w.Header().Set("Evil: x\r\nSmuggle", y) Fixes #47711. Change-Id: I459ce1c79bc273a84230a0f5b665f81c46dbc672 Reviewed-on: https://go-review.googlesource.com/c/go/+/342530 Trust: Damien Neil <dne...
[ { "path": "src/net/http/header.go", "patch": "@@ -13,6 +13,8 @@ import (\n \t\"strings\"\n \t\"sync\"\n \t\"time\"\n+\n+\t\"golang.org/x/net/http/httpguts\"\n )\n \n // A Header represents the key-value pairs in an HTTP header.\n@@ -192,6 +194,13 @@ func (h Header) writeSubset(w io.Writer, exclude map[strin...
2021-08-16T17:46:06
huggingface/transformers
9b2f5b66d83e1b15dd1430f887f2037fd4039992
e8e0c76162263840661fc0ca0da3952861754759
fix default value of config to match checkpionts in LLaVa-OV models (#39163)
[ { "path": "src/transformers/models/llava_onevision/configuration_llava_onevision.py", "patch": "@@ -176,7 +176,7 @@ def __init__(\n patch_size=14,\n image_size=384,\n num_hidden_layers=26,\n- num_attention_heads=14,\n+ num_attenti...
2025-07-02T09:45:50
electron/electron
d46c64f64b0168cf74e5fb9f1140ca5869a5e75c
5bd3cfc4f621a63daba51096ab7016401bb165e6
Clean up WebView's ipc listeners when detached, fix #1185
[ { "path": "atom/renderer/lib/web-view/guest-view-internal.coffee", "patch": "@@ -40,6 +40,11 @@ module.exports =\n domEvent[f] = args[i]\n webView.onSizeChanged domEvent\n \n+ deregisterEvents: (viewInstanceId) ->\n+ ipc.removeAllListeners \"ATOM_SHELL_GUEST_VIEW_INTERNAL_DISPATCH_EVENT-#{...
2015-03-23T15:07:53
nodejs/node
30d42f6a4830777c1d85916f0179021cd0c8c3d6
2caf0793c1e60b37851753d2eb219034be57da5f
doc: document that addMembership must be called once in a cluster Fixes: https://github.com/nodejs/node/issues/12572 Refs: https://github.com/nodejs/node/pull/16240 PR-URL: https://github.com/nodejs/node/pull/23746 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Review...
[ { "path": "doc/api/dgram.md", "patch": "@@ -95,6 +95,24 @@ Tells the kernel to join a multicast group at the given `multicastAddress` and\n one interface and will add membership to it. To add membership to every\n available interface, call `addMembership` multiple times, once per interface.\n \n+When sharin...
2018-10-19T01:12:59
vercel/next.js
776dca7a9b64c45ab721230fba6ba50768549347
512daba611fa6a1dfcf7141803bbe8c6f8ac68dc
Improve TypeScript plugin for metadata (#45876) This PR covers more common cases of metadata development. <details> <summary> Invalid exports in client components </summary> <img width="530" alt="CleanShot-2023-02-13-Ilq7rrRF@2x" src="https://user-images.githubusercontent.com/3676859/218588139-0fb00d2f...
[ { "path": "packages/next/src/server/typescript/index.ts", "patch": "@@ -191,6 +191,7 @@ export function createTSPlugin(modules: {\n \n ts.forEachChild(source!, (node) => {\n if (ts.isImportDeclaration(node)) {\n+ // import ...\n if (isAppEntry) {\n if (!isClientE...
2023-02-14T15:33:24
huggingface/transformers
8e87adc45f20ba88360afbc29ab3f7a0063bf720
4c1715b6109184b062198793c3922ae1cffa79f9
fix `llama` tests (#39161) * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/llama/test_modeling_llama.py", "patch": "@@ -25,6 +25,7 @@\n require_read_token,\n require_torch,\n require_torch_accelerator,\n+ run_test_using_subprocess,\n slow,\n torch_device,\n )\n@@ -96,36 +97,28 @@ class LlamaModelTest(CausalLMModelTest, unittest.TestCa...
2025-07-01T21:27:22
golang/go
2460cf8602aa1830bf712bf70f7dc8882bbfa79c
281ed619f87fb2d3758f9c378984a16f9d822401
go/types: remove Named.SetTArgs This is a port of CL 341290 to go/types; SetTArgs is a potentially error-prone API. Change-Id: I484e62d71a0e09be1e19f8e63994912a88364eca Reviewed-on: https://go-review.googlesource.com/c/go/+/342476 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google...
[ { "path": "src/go/types/named.go", "patch": "@@ -132,9 +132,6 @@ func (t *Named) NumTArgs() int { return len(t.targs) }\n // TArgs returns the i'th type argument of the named type t for 0 <= i < t.NumTArgs().\n func (t *Named) TArg(i int) Type { return t.targs[i] }\n \n-// SetTArgs sets the type arguments o...
2021-08-16T16:09:56
rust-lang/rust
4a99cbbf6b1e5074017d49a14cf37259d7c82e50
59372f2c81ba74554d9a71b12a4ed7f29adb33a2
Warning when dependency crate has async drop types, and the feature is disabled - typo fixed
[ { "path": "compiler/rustc_metadata/messages.ftl", "patch": "@@ -2,7 +2,7 @@ metadata_as_needed_compatibility =\n linking modifier `as-needed` is only compatible with `dylib` and `framework` linking kinds\n \n metadata_async_drop_types_in_dependency =\n- found async drop types in dependecy `{$extern_c...
2025-05-19T14:14:28
huggingface/transformers
4c1715b6109184b062198793c3922ae1cffa79f9
ab59cc27fe1e166095f1b53e050a718fa7e86f34
Update expected values (after switching to A10) (#39157) * fix * fix * fix * fix * fix * fix * fix * fix * fix * empty * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/conditional_detr/test_modeling_conditional_detr.py", "patch": "@@ -570,9 +570,14 @@ def test_inference_no_head(self):\n expected_shape = torch.Size((1, 300, 256))\n self.assertEqual(outputs.last_hidden_state.shape, expected_shape)\n expected_slice = torch.tens...
2025-07-01T18:54:31
vercel/next.js
e12e4760ceaf42818da27218c093f86d3016baf5
c881b16e4924c7748991e6a77b85ee5c9be470b2
fix export * warning for client pages (vercel/turbo#3795) This gets rid of this warning when using a client component as page: ``` warning - [analyze] [project-with-next]/src/app/client/page.jsx unexpected export * export * used with module [project-with-next]/src/app/client/page.jsx which has no exports Typescr...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -117,7 +117,11 @@ async function runOperation(renderData: RenderData) {\n const layoutInfoChunks: Record<string, string[]> = {};\n const pageItem = LAYOUT_INFO[LAYOUT_INFO.length - 1];\n const pageModule = pageI...
2023-02-14T14:38:55
nodejs/node
2caf0793c1e60b37851753d2eb219034be57da5f
3516052bee118dce767dd330fa857f6615c5b28a
lib: trigger uncaught exception handler for microtasks PR-URL: https://github.com/nodejs/node/pull/23794 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
[ { "path": "doc/api/globals.md", "patch": "@@ -119,8 +119,8 @@ added: v11.0.0\n * `callback` {Function} Function to be queued.\n \n The `queueMicrotask()` method queues a microtask to invoke `callback`. If\n-`callback` throws an exception, the [`process` object][] `'error'` event will\n-be emitted.\n+`callba...
2018-10-21T03:08:41
rust-lang/rust
c99c4b17b2a28f4056cbd460bfbf8cb27bc0be64
e5a2a6a15d05a4d4aad43f399dbe4242e0b2226d
current_dll_path: fix mistake in assertion message
[ { "path": "compiler/rustc_session/src/filesearch.rs", "patch": "@@ -82,7 +82,7 @@ fn current_dll_path() -> Result<PathBuf, String> {\n let fname_ptr = info.dli_fname.as_ptr();\n #[cfg(not(target_os = \"cygwin\"))]\n let fname_ptr = {\n- asse...
2025-05-19T18:20:34
golang/go
281ed619f87fb2d3758f9c378984a16f9d822401
aab1d1fcb9f7e77191085a192b2d0c061fd42df2
go/types: parameterized functions must have a body This is a port of CL 340911 to go/types. The new check differs slightly, due to go/ast storing type parameters on the function type, rather than declaration. The error was positioned on the function name for consistency with types2 (and because that's a better positio...
[ { "path": "src/go/types/api_test.go", "patch": "@@ -343,10 +343,10 @@ func TestTypesInfo(t *testing.T) {\n \t\t{broken + `x5; func _() { var x map[string][...]int; x = map[string][...]int{\"\": {1,2,3}} }`, `x`, `map[string][-1]int`},\n \n \t\t// parameterized functions\n-\t\t{genericPkg + `p0; func f[T any...
2021-08-16T16:07:27
electron/electron
40da835cbb7a5f76aacebf9d3ee4b66a62cece71
38aba072908357b4eebc68462714b01a9c2d0138
Don't reset handle before Wrappable is destroyed It is possible that the user wants to use the V8 object in the destructor. Fixes atom/atom-shell#1112.
[ { "path": "native_mate/constructor.h", "patch": "@@ -176,7 +176,7 @@ class Constructor {\n }\n \n base::StringPiece name_;\n- v8::Persistent<v8::FunctionTemplate> constructor_;\n+ v8::UniquePersistent<v8::FunctionTemplate> constructor_;\n \n DISALLOW_COPY_AND_ASSIGN(Constructor);\n };", "additio...
2015-03-23T08:19:55
huggingface/transformers
db2f5354439f887f4ae0a46fb3f4a6dd4bec3b45
260846efadb9b03472427a46c30ba8f717d182c4
update bnb ground truth (#39117) * update bnb resulte Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * set seed to avoid sampling different results Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix int8 tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix typo Signed-off-by: jiqing-feng <ji...
[ { "path": "tests/quantization/bnb/test_4bit.py", "patch": "@@ -27,6 +27,7 @@\n AutoTokenizer,\n BitsAndBytesConfig,\n pipeline,\n+ set_seed,\n )\n from transformers.models.opt.modeling_opt import OPTAttention\n from transformers.testing_utils import (\n@@ -111,6 +112,8 @@ class Base4bitTest(u...
2025-07-01T18:06:37
vercel/next.js
d0e5a8d5b325cf2ca5182439bdb5e200251dfe5e
27d0403b2e316fb20a0c41eb3509a0bb450ad6f2
fix export * warning for client pages (vercel/turbo#3795) This gets rid of this warning when using a client component as page: ``` warning - [analyze] [project-with-next]/src/app/client/page.jsx unexpected export * export * used with module [project-with-next]/src/app/client/page.jsx which has no exports Typescr...
[ { "path": "crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -117,7 +117,11 @@ async function runOperation(renderData: RenderData) {\n const layoutInfoChunks: Record<string, string[]> = {};\n const pageItem = LAYOUT_INFO[LAYOUT_INFO.length - 1];\n const pageModule = pageItem.page!.module;\...
2023-02-14T14:38:55
rust-lang/rust
db1ac980818078ce3fb49b8cf0607464126da199
e5a2a6a15d05a4d4aad43f399dbe4242e0b2226d
Fixed possible ICE in annotate_mut_binding_to_immutable_binding
[ { "path": "compiler/rustc_hir_typeck/src/demand.rs", "patch": "@@ -84,7 +84,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n \n self.annotate_expected_due_to_let_ty(err, expr, error);\n self.annotate_loop_expected_due_to_inference(err, expr, error);\n- if self.annotate_mut_binding_to_immutabl...
2025-05-18T21:23:53
nodejs/node
3516052bee118dce767dd330fa857f6615c5b28a
8a02d941b6c2e053376dd70dd0cca2351903c577
2018-10-23, Version 11.0.0 (Current) Notable changes: * Build * FreeBSD 10 is no longer supported.[#22617](https://github.com/nodejs/node/pull/22617) * `child_process` * The default value of the `windowsHide` option has been changed to `true`. [#21316](https://github.com/nodejs/node/pull/21316) * `console` ...
[ { "path": "CHANGELOG.md", "patch": "@@ -8,7 +8,8 @@ release lines.\n \n Select a Node.js version below to view the changelog history:\n \n-* [Node.js 10](doc/changelogs/CHANGELOG_V10.md) — **Current**\n+* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) - **Current**\n+* [Node.js 10](doc/changelogs/CHANGELOG_V...
2018-10-02T23:01:19
huggingface/transformers
260846efadb9b03472427a46c30ba8f717d182c4
cdfe49a4d0a364c4bdf2b828b67403994f00b092
fix: remove undefined variable (#39146)
[ { "path": "src/transformers/models/musicgen/modeling_musicgen.py", "patch": "@@ -147,7 +147,7 @@ def forward(self, input_ids: torch.Tensor, past_key_values_length: int = 0):\n position_ids = (torch.arange(seq_len) + past_key_values_length).to(input_ids.device)\n # expand embeddings if needed...
2025-07-01T17:10:29
electron/electron
de76ab97fb19a9c4c112ca556b92faedd2685ae1
414c91a6377ffab37ea162eb9a9d16fdfb72457c
docs: Fix setting GYP_DEFINES on Windows, closes #1126
[ { "path": "docs/tutorial/application-distribution.md", "patch": "@@ -95,7 +95,7 @@ variable and have a clean rebuild:\n __Windows__\n \n ```cmd\n-> set GYP_DEFINES=\"project_name=myapp product_name=MyApp\"\n+> set GYP_DEFINES=project_name=myapp product_name=MyApp\n > python script\\bootstrap.py\n > python s...
2015-03-23T02:19:49
golang/go
9ff61acbd76733ec065cb1185608aa5564f2685a
fda8ee8b077dd8a5819cac7c52c3af1499a0674e
go/types,types2: superficial changes to align types and types2 This CL contains an assortment of superficial fixes noticed while self-reviewing the most recent stack of ports. It also makes a couple adjustments to termlist_test.go, in both go/types and cmd/compile/internal/types2. Change-Id: I64c8cda5e1704e86ac11c6ff...
[ { "path": "src/cmd/compile/internal/types2/termlist_test.go", "patch": "@@ -11,7 +11,7 @@ import (\n \n // maketl makes a term list from a string of the term list.\n func maketl(s string) termlist {\n-\ts = strings.Replace(s, \" \", \"\", -1)\n+\ts = strings.ReplaceAll(s, \" \", \"\")\n \tnames := strings.S...
2021-08-16T13:36:49
vercel/next.js
f3daa1c36455fe150fc9170f43b8785cfac1430f
5422f3c5533c72de72d950d99260453f50145660
Add missing isRootLayout when creating optimistic tree (#45899) Fixes #45750 Closes #45822 Fixes NEXT-514 Ensures rootlayout marker is copied into the optimistic tree. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that...
[ { "path": "packages/next/src/client/components/router-reducer/create-optimistic-tree.test.ts", "patch": "@@ -42,6 +42,9 @@ describe('createOptimisticTree', () => {\n 'refetch',\n ],\n },\n+ undefined,\n+ undefined,\n+ true,\n ])\n })\n })", "additions": 3, ...
2023-02-14T13:06:58
nodejs/node
d1d5924f1a360f18a6eda06655f7e821335e1eb6
c9b49a64fec997438fe0f734839edbaedfa2ad25
test: fix test-require-symlink on Windows Creating directory symlinks on Windows require 'dir' parameter to be provided. Fixes: https://github.com/nodejs/node/issues/23596 PR-URL: https://github.com/nodejs/node/pull/23691 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> R...
[ { "path": "test/parallel/test-require-symlink.js", "patch": "@@ -60,7 +60,7 @@ const linkScriptTarget = path.join(dirName, 'symlinked.js');\n test();\n \n function test() {\n- fs.symlinkSync(linkTarget, linkDir);\n+ fs.symlinkSync(linkTarget, linkDir, 'dir');\n fs.symlinkSync(linkScriptTarget, linkScrip...
2018-10-16T13:54:02
huggingface/transformers
f46798193ecd617752e54099983598a912982b64
fe838d6631badce944d77c3822f09200d01951bb
Fix: Ensure wandb logs config in offline mode (#38992) * Fix: Ensure wandb logs config in offline mode * Apply style fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -34,6 +34,10 @@\n import numpy as np\n import packaging.version\n \n+\n+if os.getenv(\"WANDB_MODE\") == \"offline\":\n+ print(\"⚙️ Running in WANDB offline mode\")\n+\n from .. import PreTrainedModel, TFPreTrainedModel, Trainin...
2025-07-01T16:17:58
electron/electron
fa011c3d9768742dbbeda6ae555d26b735ac7d63
24d615d428ebe4c491c8925dafc169791bfa5ebd
Add runas as devDependencies, or the python script will install it again and again. The options of register_msdia80_dll.js should be admin. Fix the problem of runas not works cause it will escape command parameters by default.
[ { "path": "package.json", "patch": "@@ -1,24 +1,21 @@\n {\n \"name\": \"atom-shell\",\n \"version\": \"0.22.1\",\n-\n \"licenses\": [\n {\n \"type\": \"MIT\",\n \"url\": \"http://github.com/atom/atom-shell/raw/master/LICENSE.md\"\n }\n ],\n-\n \"devDependencies\": {\n- \"ato...
2015-03-21T07:22:45
golang/go
e61d1445ab2304e2d6e4711f8477061192d5942c
5c7a460a1c108e5bf7a99817b86ebded7ce81812
cmd/compile: fix panic with dead hidden closures Currently, for hidden closures, we always push them to compile queue during typechecking. If the hidden closure is discarded from the outer function body during deadcode, any desugaring phase after deadcode won't be applied to the closure. Thus, some un-expected OPs are...
[ { "path": "src/cmd/compile/internal/deadcode/deadcode.go", "patch": "@@ -38,6 +38,7 @@ func Func(fn *ir.Func) {\n \t\t}\n \t}\n \n+\tir.VisitList(fn.Body, markHiddenClosureDead)\n \tfn.Body = []ir.Node{ir.NewBlockStmt(base.Pos, nil)}\n }\n \n@@ -62,9 +63,11 @@ func stmts(nn *ir.Nodes) {\n \t\t\tif ir.IsCons...
2021-08-15T19:15:28
vercel/next.js
4460521e70b1b12a237dc025a6dca1d02b18b77c
ca14667a0eb75f8410404250e584b2ac8c2db876
Fix the router when Next.js returns no result (vercel/turbo#3741) I changed the return type of the Next.js router in https://github.com/vercel/next.js/pull/45668 to account for cases where the router does and does not find a matching rewrite.
[ { "path": "packages/next-swc/crates/next-core/js/package.json", "patch": "@@ -12,7 +12,7 @@\n \"@vercel/turbopack-runtime\": \"latest\",\n \"anser\": \"^2.1.1\",\n \"css.escape\": \"^1.5.1\",\n- \"next\": \"13.1.7-canary.8\",\n+ \"next\": \"13.1.7-canary.12\",\n \"platform\": \"1.3.6\"...
2023-02-14T12:33:07
huggingface/transformers
fe838d6631badce944d77c3822f09200d01951bb
128387757105c7c0b57b519ac2aaff217a20e3f0
Fix missing fsdp & trainer jobs in daily CI (#39153) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-scheduled.yml", "patch": "@@ -135,6 +135,7 @@ jobs:\n folder_slices: ${{ needs.setup.outputs.folder_slices }}\n machine_type: ${{ matrix.machine_type }}\n slice_id: ${{ matrix.slice_id }}\n+ runner_map: ${{ needs.setup.outputs.runner_map }}\n do...
2025-07-01T16:10:30
electron/electron
46cb6e68f6b561b9813d4397daf9af898c0abdaf
8b88dc6a94da08b2c3c10f2198d76b48c905aa88
Ship snapshot file, fixes #1260
[ { "path": "script/create-dist.py", "patch": "@@ -43,13 +43,17 @@\n 'ui_resources_200_percent.pak',\n 'vccorlib120.dll',\n 'xinput1_3.dll',\n+ 'natives_blob.bin',\n+ 'snapshot_blob.bin',\n ],\n 'linux': [\n 'atom',\n 'content_shell.pak',\n 'icudtl.dat',\n 'libchromiumcon...
2015-03-18T14:36:01
vercel/next.js
1791c7f12e0e528c5311e802be4412b058fd3b57
da82eece3b67e4950689812ea24efafde545144b
Fix the router when Next.js returns no result (vercel/turbo#3741) I changed the return type of the Next.js router in https://github.com/vercel/next.js/pull/45668 to account for cases where the router does and does not find a matching rewrite.
[ { "path": "crates/next-core/js/package.json", "patch": "@@ -12,7 +12,7 @@\n \"@vercel/turbopack-runtime\": \"latest\",\n \"anser\": \"^2.1.1\",\n \"css.escape\": \"^1.5.1\",\n- \"next\": \"13.1.7-canary.8\",\n+ \"next\": \"13.1.7-canary.12\",\n \"platform\": \"1.3.6\",\n \"react-do...
2023-02-14T12:33:07
golang/go
5a401001417151649363a4b2fbd658f3f1957cba
c92f5ee170e6f9c639f1ca684061a0cedde54108
cmd/compile: fix dictionaries for nested closures Capturing dictionary closure variables is ok. Fixes #47684 Change-Id: I049c87117915e0c5a172b9665bfac2f91064b2d4 Reviewed-on: https://go-review.googlesource.com/c/go/+/342050 Trust: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Ke...
[ { "path": "src/cmd/compile/internal/ir/name.go", "patch": "@@ -404,7 +404,9 @@ func CaptureName(pos src.XPos, fn *Func, n *Name) *Name {\n \tif n.Op() != ONAME || n.Curfn == nil {\n \t\treturn n // okay to use directly\n \t}\n-\tif n.IsClosureVar() {\n+\tif n.IsClosureVar() && n.Sym().Name != \".dict\" {\n+...
2021-08-13T16:30:19
nodejs/node
c9b49a64fec997438fe0f734839edbaedfa2ad25
d901d16b395e59f3f898e1f2527cb539ca97a077
deps: fix wrong default for v8 handle zapping PR-URL: https://github.com/nodejs/node/pull/23801 Fixes: https://github.com/nodejs/node/issues/23796 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
[ { "path": "common.gypi", "patch": "@@ -33,7 +33,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.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code...
2018-10-21T13:04:43
huggingface/transformers
128387757105c7c0b57b519ac2aaff217a20e3f0
f8b88866f552e0eeb21059c90e2c30dba058c8e9
[superglue] fix wrong concatenation which made batching results wrong (#38850)
[ { "path": "src/transformers/models/superglue/modeling_superglue.py", "patch": "@@ -725,8 +725,8 @@ def _match_image_pair(\n matches0 = torch.where(valid0, indices0, indices0.new_tensor(-1))\n matches1 = torch.where(valid1, indices1, indices1.new_tensor(-1))\n \n- matches = torch.cat([...
2025-07-01T12:14:44
electron/electron
57812616b9a8fd282e94da740bae1e10a0a47668
b43386b2736103fd9b1280715149ca652b3c06a4
win: Fix tests and compilation errors
[ { "path": "atom/common/platform_util_win.cc", "patch": "@@ -29,8 +29,8 @@ namespace {\n // is empty. This function tells if it is.\n bool ValidateShellCommandForScheme(const std::string& scheme) {\n base::win::RegKey key;\n- std::wstring registry_path = base::ASCIIToWide(scheme) +\n- ...
2015-03-18T04:55:44
vercel/next.js
f9022d7e6c5fd0c4bf55dbf25f2434a06d570f46
3b1aa1c94174a293f8eb42b597ceb563264469dd
Fix typo in `@next/mdx` readme (#45888) Fixes a small typo in the `@next/mdx` [readme](url). The file that needs to be created is `mdx-components.{js,jsx,ts,tsx}`, not `mdx-component.{js,jsx,ts,tsx}`. - Original MR where change was introduced: https://github.com/vercel/next.js/pull/44651/files#diff-bdcc8e0f4068c2d8bc...
[ { "path": "packages/next-mdx/readme.md", "patch": "@@ -99,7 +99,7 @@ yarn add @next/mdx\n \n ## Usage\n \n-Create a `mdx-component.js` file at the root of your project with the following contents:\n+Create a `mdx-components.js` file at the root of your project with the following contents:\n \n ```js\n // Th...
2023-02-14T07:18:41
golang/go
ea8298e2f5e9f17372e818ffbd4fab951857ec6a
fe489c86a7a65b6bcd25118e1a8919b9950af83f
cmd/compile/internal/ssa: delete unused code Fixes #46186 Change-Id: Idb0674079f9484593e07cca172dfbb19be0e594d GitHub-Last-Rev: 615fc5365510ff7a39af7569f05a0013b724d0c9 GitHub-Pull-Request: golang/go#46185 Reviewed-on: https://go-review.googlesource.com/c/go/+/320111 Reviewed-by: Ben Shi <powerman1st@163.com> Reviewe...
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -1865,23 +1865,6 @@ func (s *regAllocState) regalloc(f *Func) {\n }\n \n func (s *regAllocState) placeSpills() {\n-\tf := s.f\n-\n-\t// Precompute some useful info.\n-\tphiRegs := make([]regMask, f.NumBlocks())\n-\tfor _, b := range s.visitO...
2021-08-16T14:49:45
electron/electron
4e14c8634b2aa87bf5d6dd2a7e8db62b82e0dd88
21ee1f257fee3ce56e69088f8b1ebd3b1d1151df
Fix building on Windows
[ { "path": "brightray/browser/views/views_delegate.cc", "patch": "@@ -54,6 +54,10 @@ HICON ViewsDelegate::GetDefaultWindowIcon() const {\n return LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(1 /* IDR_MAINFRAME */));\n }\n \n+HICON ViewsDelegate::GetSmallWindowIcon() const {\n+ return GetDefaultWindowI...
2015-03-18T04:55:02
huggingface/transformers
f8b88866f552e0eeb21059c90e2c30dba058c8e9
20901f1d681669fa402f47edce49873432c3212e
[VLMs] support passing embeds along with pixels (#38467) * VLMs can work with embeds now * update more models * fix tests * fix copies * fixup * fix * style * unskip tests * fix copies * fix tests * style * omni modality models * qwen models had extra indentation * fix some other tests * fix copies * fi...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -733,7 +733,9 @@ def _prepare_model_inputs(\n # - encoder-decoder models should complain if the user attempts to pass `inputs_embeds` and `input_ids`, and\n # pull the former to inputs. It will be used in place of `input_ids` to ...
2025-07-01T11:33:20
vercel/next.js
3b1aa1c94174a293f8eb42b597ceb563264469dd
cabace0c21c05fb44ac1671178bbc2a0e17b23cb
build(cargo): update turbopack (#45863) # New Features - https://github.com/vercel/turbo/pull/3695 - https://github.com/vercel/turbo/pull/3696 # Performance - https://github.com/vercel/turbo/pull/3738 - https://github.com/vercel/turbo/pull/3714 - https://github.com/vercel/turbo/pull/3739 # Fixes - https://...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -126,7 +126,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230209.02#90c627bedee8ff106abafc4a178c2a8c5074f8e6\"\n+source = \"git+https://github.com/...
2023-02-13T22:40:58