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
rust-lang/rust
83fbcabd92dd62198a1275d0d5cf7925150d1d6a
b0ab2bf68efae0b1ccaa2a1ed643083d94756bae
Fix warnings in tests
[ { "path": "tests/run/asm.rs", "patch": "@@ -16,6 +16,7 @@ add_asm:\n ret\"\n );\n \n+#[cfg(target_arch = \"x86_64\")]\n extern \"C\" {\n fn add_asm(a: i64, b: i64) -> i64;\n }", "additions": 1, "deletions": 0, "language": "Rust" }, { "path": "tests/run/float.rs", "patch": "@...
2025-07-16T12:44:15
electron/electron
d0bd4816cb0149e16dbc621444594ffb2a106fd2
a39bb357446b0774d0ffe4f187b11b905238ebfb
adds tracing calls and osx fix
[ { "path": "atom/browser/osr_window.cc", "patch": "@@ -316,6 +316,7 @@ class CefCopyFrameGenerator {\n // int x = static_cast<int>(pixels[i]);\n // std::cout << std::hex << x << std::dec << std::endl;\n // }\n+ TRACE_EVENT0(\"electron\", \"OffScreenWindow::OnPaint\");\n if (view_->paintC...
2016-07-27T16:02:54
golang/go
65d7345e8ba77bea9dd3d694d0015308416e3280
1899472647513e6a63a95481493c45c579ec0cd8
go/types: introduce the error_ type to match types2 To begin aligning with types2 error reporting, use an error_ type to hold unevaluated error information, to report via Checker.report. Change-Id: Ic5ac515759961e55b81acc9eeaac4db25b61804c Reviewed-on: https://go-review.googlesource.com/c/go/+/400824 Run-TryBot: Robe...
[ { "path": "src/go/types/errors.go", "patch": "@@ -25,6 +25,64 @@ func unreachable() {\n \tpanic(\"unreachable\")\n }\n \n+// An error_ represents a type-checking error.\n+// To report an error_, call Checker.report.\n+type error_ struct {\n+\tdesc []errorDesc\n+\tcode errorCode\n+\tsoft bool // TODO(gri) ev...
2022-04-18T21:54:40
vercel/next.js
983feeb3dadc9617448d30be7e1a2aa84f38d750
e53f3af93474c917fb2f53ac28e8b09e3faff873
Fix typo in partial navigation section (#53981) Noticed a small typo, this fixed it. <!-- 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) t...
[ { "path": "docs/02-app/01-building-your-application/01-routing/03-linking-and-navigating.mdx", "patch": "@@ -188,7 +188,7 @@ Learn more about how the [Router Cache](/docs/app/building-your-application/data\n \n Partial rendering means only the route segments that change on navigation re-render on the client...
2023-08-14T08:36:04
huggingface/transformers
22b40e67338e7735e7e62720a74d8c1562601b76
91d7b6456c5ef62d72ffd9faac5d21260b91df5b
[`fix`] Set input_modalities on various architectures that aren't just text (#44078) * Set input_modalities on various architectures that aren't just text * Set Qwen3OmniMoeTalkerModel input_modalities to audio
[ { "path": "src/transformers/models/qwen3_5/modeling_qwen3_5.py", "patch": "@@ -1086,6 +1086,7 @@ def forward(\n \n class Qwen3_5VisionModel(Qwen3_5PreTrainedModel):\n config: Qwen3_5VisionConfig\n+ input_modalities = (\"image\", \"video\")\n _no_split_modules = [\"Qwen3_5VisionBlock\"]\n _can...
2026-02-24T10:39:31
rust-lang/rust
8d64937dc25eb2b01596a3581ec2660d8e81b9b2
231257f583c6e782da2e642ad007fca4e76779d6
trait_sel: `MetaSized` always holds temporarily As a temporary measure while a proper fix for `tests/ui/sized-hierarchy/incomplete-inference-issue-143992.rs` is implemented, make `MetaSized` obligations always hold. In effect, temporarily reverting the `sized_hierarchy` feature. This is a small change that can be back...
[ { "path": "compiler/rustc_trait_selection/src/traits/util.rs", "patch": "@@ -378,6 +378,13 @@ pub fn sizedness_fast_path<'tcx>(tcx: TyCtxt<'tcx>, predicate: ty::Predicate<'tc\n _ => return false,\n };\n \n+ // FIXME(sized_hierarchy): this temporarily reverts the `sized_hierarchy` ...
2025-07-16T10:56:32
electron/electron
242ce4f81887a32e9cfdcbeec2f45a3c62e864f9
ac8a490d5670cc5af25d3581b38eadd46a421d6c
Fix building on non-Windows
[ { "path": "atom/common/api/atom_api_shell.cc", "patch": "@@ -14,11 +14,9 @@\n #if defined(OS_WIN)\n #include \"base/win/scoped_com_initializer.h\"\n #include \"base/win/shortcut.h\"\n-#endif\n \n namespace mate {\n \n-\n template<>\n struct Converter<base::win::ShortcutOperation> {\n static bool FromV8(v8...
2016-07-27T10:55:05
golang/go
1899472647513e6a63a95481493c45c579ec0cd8
507b70d1e879ed51830d1f64f534c685b8ee1b13
go/types: remove unnecessary indirection when reporting errors Checker.err was only called to report errors created with Checker.newError or Checker.newErrorf. Update the API to pass around *Error rather than error, eliminating unnecessary type assertions and handling. Change-Id: I995a120c7e87266e656b8ff3fd9ed3d368fd...
[ { "path": "src/go/types/api.go", "patch": "@@ -414,9 +414,9 @@ func (conf *Config) Check(path string, fset *token.FileSet, files []*ast.File, i\n // AssertableTo reports whether a value of type V can be asserted to have type T.\n //\n // The behavior of AssertableTo is undefined in two cases:\n-// - if V i...
2022-04-18T20:47:42
huggingface/transformers
91d7b6456c5ef62d72ffd9faac5d21260b91df5b
aa156b7fb677101f30d2848d9c26d10d87cd1769
Add processing tests for phi4 multimodal (#44234) * Fix tied weight keys sam2 video * add tests for phi4 processor
[ { "path": "src/transformers/models/phi4_multimodal/processing_phi4_multimodal.py", "patch": "@@ -58,7 +58,7 @@ def __call__(\n text: TextInput | list[TextInput],\n images: ImageInput | None = None,\n audio: AudioInput | None = None,\n- **kwargs: Unpack[ProcessingKwargs],\n+ ...
2026-02-23T22:08:11
vercel/next.js
a4b430e6f18e280ff1f97e8147dc807799f9c314
df6ec96ab2937b68e7c4a6830d11f12aa4c609e6
Better IPv6 support for `next-server` (#53131) ### What? This PR makes it easier to use Next.js with IPv6 hostnames such as `::1` and `::`. ### How? It does so by removing rewrites from `localhost` to `127.0.0.1` introduced in #52492. It also fixes the issue where Next.js tries to fetch something like `http://::1:300...
[ { "path": "packages/next-swc/crates/next-core/js/src/internal/next-request-helpers.ts", "patch": "@@ -6,19 +6,20 @@ import {\n import { NodeNextRequest } from 'next/dist/server/base-http/node'\n import { BaseNextRequest } from 'next/dist/server/base-http'\n import { getCloneableBody } from 'next/dist/server...
2023-08-14T07:23:24
electron/electron
ac8a490d5670cc5af25d3581b38eadd46a421d6c
eadffc6db843c9246ce1f7de685a31406c69d871
Fix lint warnings
[ { "path": "spec/api-shell-spec.js", "patch": "@@ -4,7 +4,7 @@ const path = require('path')\n const os = require('os')\n const {shell} = require('electron')\n \n-describe('shell module', function() {\n+describe('shell module', function () {\n if (process.platform !== 'win32') return\n \n const fixtures =...
2016-07-27T10:51:16
golang/go
1e5987635cc8bf99e8a20d240da80bd6f0f793f7
be1d7388b349e86bc2fc1b8769902875e732918f
cmd/compile: enable Asan check for global variables With this patch, -asan option can detect the error memory access to global variables. So this patch makes a few changes: 1. Add the asanregisterglobals runtime support function, which calls asan runtime function _asan_register_globals to register global variables. ...
[ { "path": "misc/cgo/testsanitizers/asan_test.go", "patch": "@@ -22,6 +22,14 @@ func TestASAN(t *testing.T) {\n \tif !aSanSupported(goos, goarch) {\n \t\tt.Skipf(\"skipping on %s/%s; -asan option is not supported.\", goos, goarch)\n \t}\n+\t// The current implementation is only compatible with the ASan libra...
2021-04-29T09:02:53
rust-lang/rust
8e400f97e59211732ba67518199432ae22685cb5
e27f16a499074ba9a87f7f7641d9f64c572863bc
Fix ice for feature-gated cfg attributes applied to the crate Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "compiler/rustc_attr_parsing/src/attributes/cfg.rs", "patch": "@@ -9,7 +9,7 @@ use rustc_session::parse::feature_err;\n use rustc_span::{Span, Symbol, sym};\n use thin_vec::ThinVec;\n \n-use crate::context::{AcceptContext, Stage};\n+use crate::context::{AcceptContext, ShouldEmit, Stage};\n use cra...
2025-07-15T17:07:37
nodejs/node
9529c6660f5cc0de106a60f78d9dbafb6ccea26a
2d8307e1996ee0c45d3630c1716b5fbfa08ac380
tools: fix Python 3 syntax error in mac_tool.py PR-URL: https://github.com/nodejs/node/pull/30146 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
[ { "path": "tools/gyp/pylib/gyp/mac_tool.py", "patch": "@@ -137,29 +137,25 @@ def _CopyStringsFile(self, source, dest):\n # semicolon in dictionary.\n # on invalid files. Do the same kind of validation.\n import CoreFoundation\n- s = open(source, 'rb').read()\n+ with open(source, 'rb') ...
2019-10-27T13:35:53
vercel/next.js
9a6ae144a920ecbda74053a616b0f436178f0007
261db496f7cf04b70f078a6eae0c8baf6fe5c238
Update swc runners config (#53939) This fixes unexpected cache hits occurring causing latest next-swc changes to not be built for the docker based builds. Noticed in our turbo run summaries for these builds that no input files were detected most likely due to older Node.js/pnpm versions being used from the old Doc...
[ { "path": ".github/workflows/build_and_deploy.yml", "patch": "@@ -6,7 +6,7 @@ on:\n workflow_dispatch:\n \n env:\n- NAPI_CLI_VERSION: 2.14.7\n+ NAPI_CLI_VERSION: 2.16.2\n TURBO_VERSION: 1.10.9\n NODE_MAINTENANCE_VERSION: 16\n NODE_LTS_VERSION: 18.16.1\n@@ -70,70 +70,113 @@ jobs:\n \n # Build bin...
2023-08-14T02:02:48
electron/electron
ff5b8047a1fe3bff25a08fb869d0174ed218a89f
25538fe7fb8dc4f7c800661a36fb08160e446ccf
Throw exception when ReadShortcutLink failed
[ { "path": "atom/common/api/atom_api_shell.cc", "patch": "@@ -93,15 +93,16 @@ bool WriteShortcutLink(const base::FilePath& shortcut_path,\n shortcut_path, properties, operation);\n }\n \n-mate::Dictionary ReadShortcutLink(v8::Isolate* isolate,\n- const base::FilePath& p...
2016-07-27T07:32:32
huggingface/transformers
f26814d9ec63842a381e521375bc8052c98199f2
c0773fefa653682dc74c4f771bb6232d9bbaab28
refactor _inner_training_loop to smaller methods (#44041) * refactor _inner_training_loop to smaller methods * address PR comments and remove unused args * move _train_batch_size * big update * move DummyScheduler * style * make it private * switch to kwargs_handlers * style * fix resuming * style * revert ...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -1468,12 +1468,8 @@ def get_steps_per_epoch(trainer: Trainer) -> int:\n training_args = trainer.args\n train_dataloader = trainer.get_train_dataloader()\n \n- initial_training_values = trainer.set_initial_training_values(\n- args=...
2026-02-23T16:52:08
golang/go
bf19163a545c3117ab3c309a691f32a42cf29efd
c9031a44b2cf734e6d1f64c31d6ee3a34ca1a9cc
runtime/cgo: remove stdlib.h warning workaround on darwin CL 205457 added the flag -Wno-nullability-completeness to work around a user-reported build breakage on macOS Catalina. However, according to https://golang.org/issue/35247#issuecomment-589115489 the root cause of the breakage may be a toolchain misconfigurati...
[ { "path": "src/runtime/cgo/cgo.go", "patch": "@@ -23,9 +23,6 @@ package cgo\n #cgo solaris LDFLAGS: -lxnet\n #cgo illumos LDFLAGS: -lsocket\n \n-// Issue 35247.\n-#cgo darwin CFLAGS: -Wno-nullability-completeness\n-\n #cgo CFLAGS: -Wall -Werror\n \n #cgo solaris CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS", "a...
2021-12-02T14:39:22
nodejs/node
db1aab9df6bfad1d1601d474a1f978bedd9382d5
61d61448a91b74f889c33cad54e95f8fdb9d2c61
tools: undefined name opts -> args in gyptest.py ``` ./tools/gyp/gyptest.py:61:47: F821 undefined name 'opts' extra_path = [os.path.abspath(p) for p in opts.path] ^ ``` `opts.path` is an undefined name in this context while `args.path` is used on the preceding line and...
[ { "path": "tools/gyp/gyptest.py", "patch": "@@ -58,7 +58,7 @@ def main(argv=None):\n os.chdir(args.chdir)\n \n if args.path:\n- extra_path = [os.path.abspath(p) for p in opts.path]\n+ extra_path = [os.path.abspath(p) for p in args.path]\n extra_path = os.pathsep.join(extra_path)\n os.env...
2019-10-27T12:30:30
vercel/next.js
23f623546ec82f1257381f69a91e58f5b2776041
2b38118ea005c1bf6bc4059534754080cef7af54
add "expect" to list of forbidden IPC headers (#53947) `expect` is an unsupported header for undici: https://github.com/nodejs/undici/blob/c83b084879fa0bb8e0469d31ec61428ac68160d5/lib/core/request.js#L354 -- this filters it out so that the API routes don't throw an internal server error if that header is included. A...
[ { "path": "packages/next/src/server/lib/server-ipc/utils.ts", "patch": "@@ -6,6 +6,8 @@ export const ipcForbiddenHeaders = [\n 'transfer-encoding',\n // https://github.com/nodejs/undici/issues/1470\n 'connection',\n+ // marked as unsupported by undici: https://github.com/nodejs/undici/blob/c83b084879...
2023-08-12T19:38:38
huggingface/transformers
c0773fefa653682dc74c4f771bb6232d9bbaab28
fb086ef707b5e707a1983741ab3b3a725ae55735
[docs] fix broken chat_templating links in tasks docs (#44115) Links in docs/source/en/tasks/ used ./chat_templating which resolves within the tasks/ subdirectory. Corrected to ../chat_templating. Co-authored-by: Deep-unlearning <steven@hugginface.co>
[ { "path": "docs/source/en/tasks/any_to_any.md", "patch": "@@ -44,7 +44,7 @@ model = AutoModelForMultimodalLM.from_pretrained(\n processor = AutoProcessor.from_pretrained(\"Qwen/Qwen2.5-Omni-3B\")\n ```\n \n-These models typically include a [chat template](./chat_templating) to structure conversations across...
2026-02-23T16:27:56
rust-lang/rust
6444994556eb1f15aa2e19f7c175799d22d137c2
f6f6715990a8cb49fbbaf83e65fd884e0d63d17d
aarch64/arm: fix tests that matched on prefix of instruction
[ { "path": "library/stdarch/crates/stdarch-gen-arm/spec/neon/arm_shared.spec.yml", "patch": "@@ -14131,8 +14131,8 @@ intrinsics:\n - ['vld1q_dup_u32', '*const u32', 'uint32x4_t', 'vld1.32', 'ld1r', 'u32x4::splat']\n - ['vld1q_dup_f32', '*const f32', 'float32x4_t', 'vld1.32', 'ld1r', 'f32x4::splat...
2025-07-10T14:25:27
golang/go
c9031a44b2cf734e6d1f64c31d6ee3a34ca1a9cc
575fd8817ae9817303a69065def80c574718169e
net/netip: fix Addr.Unmap reference in Addr.Is4 godoc comment In CL 339309 this was probably copied from the respective godoc comment in package inet.af/netaddr, also see https://pkg.go.dev/inet.af/netaddr#IP.Is4 In net/netip the type is named Addr, so adjust the godoc comment accordingly. Change-Id: Ib5ab8054067f8b...
[ { "path": "src/net/netip/netip.go", "patch": "@@ -456,7 +456,7 @@ func (ip Addr) lessOrEq(ip2 Addr) bool { return ip.Compare(ip2) <= 0 }\n \n // Is4 reports whether ip is an IPv4 address.\n //\n-// It returns false for IPv4-mapped IPv6 addresses. See IP.Unmap.\n+// It returns false for IPv4-mapped IPv6 addr...
2022-04-20T22:00:38
nodejs/node
61d61448a91b74f889c33cad54e95f8fdb9d2c61
b23b8dc0fab6153ce73019247aa8d0c306ad1fb0
deps: V8: cherry-pick e5dbc95 Original commit message: [api] Fix handle leak when getting Context embedder data The `Context::SlowGetAlignedPointerFromEmbedderData()` method returns a pointer, so the fact that it allocates handles is not obvious to the caller. Since this is the slow path anyway,...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.17',\n+ 'v8_embedder_string': '-node.18',\n \n ##### V8 defaults for Node.js #####\n...
2019-10-30T01:59:09
vercel/next.js
40569943049aa597fc90d0e69daf3398241cbd4c
ea0bb97729c8a46747647de37ba9edff3de16c24
Recover not found errors from flight data to render with proper boundary (#53703) ### What? We change the not-found rendering strategy to the origin one which recovers the not found error from the flight data, and hit the error boundary to display the closet not found component. For parallel `@slot` we shouldn't pas...
[ { "path": "packages/next-swc/crates/next-dev-tests/tests/integration/next/app/404-custom/input/app/test.tsx", "patch": "@@ -49,7 +49,8 @@ function runTests(harness: Harness, iframe: HTMLIFrameElement) {\n )\n \n // TODO: This test is flaky, so it needs a particularly long timeout.\n- it(\n+ // TODO(WE...
2023-08-12T08:41:47
huggingface/transformers
a10c2cea742798b4e52c42a687744790178f3fea
be0b2d2a686cb0ad54185acb28166b0ec6fbca7c
Docs(it): fix typo in sentencepiece install command (#44218) Docs(it): fix sentencepiece install typo Co-authored-by: matisgagneux21 <matisgagneux21@users.noreply.github.com>
[ { "path": "docs/source/it/migration.md", "patch": "@@ -79,7 +79,7 @@ pip install transformers[sentencepiece]\n ```\n o\n ```bash\n-pip install transformers stentencepiece\n+pip install transformers sentencepiece\n ```\n #### 3. L'architettura delle repo è stato aggiornata in modo che ogni modello abbia la p...
2026-02-23T15:04:48
rust-lang/rust
f6f6715990a8cb49fbbaf83e65fd884e0d63d17d
f8de93acbe41241d6a17c6ba9cba663f9588fe43
s390x: fix tests that matched on prefix of instruction
[ { "path": "library/stdarch/crates/core_arch/src/s390x/vector.rs", "patch": "@@ -2265,14 +2265,14 @@ mod sealed {\n \n #[inline]\n #[target_feature(enable = \"vector\")]\n- #[cfg_attr(test, assert_instr(\"vlbb\"))]\n+ #[cfg_attr(test, assert_instr(vlbb))]\n unsafe fn test_vec_load_bndry(ptr...
2025-07-10T14:17:07
nodejs/node
b23b8dc0fab6153ce73019247aa8d0c306ad1fb0
1f080fcb47c6febd0bd4519897d12df54dead1e3
build: find Python syntax errors in dependencies As discussed in https://github.com/nodejs/node/issues/30129#issuecomment-546662351, when we vendor in code, we own the Syntax Errors in that code. This PR adds The `.flake8` config file at the root of this repo puts blinders on the linting of our dependencies so this t...
[ { "path": ".travis.yml", "patch": "@@ -88,3 +88,15 @@ jobs:\n - if [ \"${TRAVIS_PULL_REQUEST}\" != \"false\" ]; then\n bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};\n fi\n+\n+ - name: \"Find syntax errors in our Python dependencies\"\n+ language: pytho...
2019-10-27T10:10:58
vercel/next.js
ea0bb97729c8a46747647de37ba9edff3de16c24
e0ca2ba544b562bf718afadbc75db1885cb41504
Docs: fix pnpm command for saving dev deps (#53937) (#53938) Previous of after (before in linked issue) ``` ❯ pnpm add --save-dev @next/eslint-plugin-next Already up to date Progress: resolved 525, reused 517, downloaded 0, added 0, done Done in 6.4s ``` Resolves #53937
[ { "path": "docs/02-app/01-building-your-application/07-configuring/02-eslint.mdx", "patch": "@@ -215,7 +215,7 @@ npm install --save-dev eslint-config-prettier\n \n yarn add --dev eslint-config-prettier\n \n-pnpm add --dev eslint-config-prettier\n+pnpm add --save-dev eslint-config-prettier\n \n bun add --dev...
2023-08-12T07:52:46
golang/go
c510cd92cf69df3cdc224b930490274ce1b6e2ac
67d6be139c77b63395d8c1fa29cdae8d34635f3e
net: permit use of Resolver.PreferGo, netgo on Windows and Plan 9 Fixes #33097 Change-Id: I2e55c7c113683814521f2068e0922b63c62ea5d8 Reviewed-on: https://go-review.googlesource.com/c/go/+/400654 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Brad Fitzpatrick...
[ { "path": "src/net/addrselect.go", "patch": "@@ -2,8 +2,6 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-//go:build unix\n-\n // Minimal RFC 6724 address selection.\n \n package net", "additions": 0, "deletions": 2, "language":...
2022-04-16T14:59:23
huggingface/transformers
be0b2d2a686cb0ad54185acb28166b0ec6fbca7c
a08936f6e45118b50f98278841cac39a26c2975d
Docs(it): fix typo in docstring wording (#44219) Docs(it): fix docstring typo Co-authored-by: matisgagneux21 <matisgagneux21@users.noreply.github.com>
[ { "path": "docs/source/it/add_new_model.md", "patch": "@@ -708,7 +708,7 @@ Siete quasi alla fine! L'ultima cosa rimasta é avere una bella docstring e una\n un template chiamato `docs/source/model_doc/brand_new_bert.rst`, che dovrete compilare. La prima cosa che un utente farà\n per usare il vostro modello s...
2026-02-23T15:04:01
rust-lang/rust
f8de93acbe41241d6a17c6ba9cba663f9588fe43
36340cd77453b783f22139a64ff008cc1b71034a
`stdarch-test`: error if only part of an instruction matched
[ { "path": "library/stdarch/crates/stdarch-test/src/lib.rs", "patch": "@@ -92,7 +92,13 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {\n };\n \n // Check whether the given instruction is part of the disassemblied body.\n- let found = expected == \"nop\" || instrs.iter().any(|s| ...
2025-07-10T14:12:05
electron/electron
3279f5c80ae2d3f4beca0edccf503ea7537dabdb
895638880482e55db07cf3aa234247e9fdd828d3
Add spec for starting crash reporter twice
[ { "path": "spec/api-crash-reporter-spec.js", "patch": "@@ -88,5 +88,19 @@ describe('crash-reporter module', function () {\n })\n }, /companyName is a required option to crashReporter\\.start/)\n })\n+\n+ it('can be called multiple times', function () {\n+ assert.doesNotThrow(functi...
2016-07-26T17:43:57
huggingface/transformers
a08936f6e45118b50f98278841cac39a26c2975d
9140fbee216c40fb18141e5a2ed24d5a96782dcc
fix bug with position_ids on qwen3-vl models, such that position_ids include text position (#44158) * fix derived text position * add tests for position ids in qwen3-vl * fix ruff error --------- Co-authored-by: Raushan Turganbay <raushan@huggingface.co>
[ { "path": "src/transformers/models/qwen3_5/modeling_qwen3_5.py", "patch": "@@ -1339,17 +1339,17 @@ def forward(\n past_seen_tokens, past_seen_tokens + inputs_embeds.shape[1], device=inputs_embeds.device\n )\n \n- # mrope: the hard coded `3` is for temporal, height and widt...
2026-02-23T14:53:33
nodejs/node
efb406ccd55dc091ea28a6bcb8f4e792bbd3e380
99247e7662c6e4169c874a230760300eaa382207
build: fix pkg-config search for libnghttp2 The configure script was searching for 'nghttp2' whereas the actual name of the package is 'libnghttp2'. This change also removes the hack for libcares in one fell swoop. Co-Authored-By: legendecas <legendecas@gmail.com> PR-URL: https://github.com/nodejs/node/pull/30145 F...
[ { "path": "configure.py", "patch": "@@ -298,23 +298,23 @@\n \n shared_optgroup.add_option('--shared-cares',\n action='store_true',\n- dest='shared_libcares',\n+ dest='shared_cares',\n help='link to a shared cares DLL instead of static linking')\n \n shared_optgroup.add_option('--shared-cares-i...
2019-10-27T13:28:04
golang/go
67d6be139c77b63395d8c1fa29cdae8d34635f3e
3c29aca43630da1604c3378d2351050f23655268
reflect: make more Value methods inlineable The following Value methods are now inlineable: Bool for ~bool String for ~string (but not other kinds) Bytes for []byte (but not ~[]byte or ~[N]byte) Len for ~[]T (but not ~[N]T, ~chan T, ~map[K]V, or ~string) Cap for ~[]T (but not ~[N]T or ~chan T...
[ { "path": "src/cmd/compile/internal/test/inl_test.go", "patch": "@@ -128,15 +128,33 @@ func TestIntendedInlining(t *testing.T) {\n \t\t\t\"ValidRune\",\n \t\t},\n \t\t\"reflect\": {\n-\t\t\t\"Value.CanInt\",\n-\t\t\t\"Value.CanUint\",\n-\t\t\t\"Value.CanFloat\",\n-\t\t\t\"Value.CanComplex\",\n+\t\t\t\"Value...
2022-04-17T02:01:48
vercel/next.js
e0ca2ba544b562bf718afadbc75db1885cb41504
4c144825538ee5f7a427015a88d3a852be7e9e3d
feat(image): DataURL placeholder support for <Image /> (#53442) Adds support for base64-encoded `placeholder`. Enables using placeholders without the "blur" effect. Fixes #47639 - [x] Add support for DataURL placeholder - [x] Add tests - [x] Update docs Co-authored-by: Steven <229881+styfle@users.noreply.github.co...
[ { "path": "docs/02-app/02-api-reference/01-components/image.mdx", "patch": "@@ -238,21 +238,23 @@ Should only be used when the image is visible above the fold. Defaults to `false\n ### `placeholder`\n \n ```js\n-placeholder = 'empty' // {empty} | {blur}\n+placeholder = 'empty' // \"empty\" | \"blur\" | \"da...
2023-08-11T23:45:20
huggingface/transformers
65935e09212bcd5c3ceecbd6e12ace3ec26a804f
9f43e7b4e2e92044e56f4c68a60c17da1a514fed
fix(testing): Fix LayoutXLM tokenization test and LightOnOCR SDPA flash test failures on main CI (#43988) fix: Fix LayoutXLM and LightOnOCR test failures on main Co-authored-by: Ita Zaporozhets <31893021+itazap@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -3599,6 +3599,7 @@ def test_sdpa_can_dispatch_on_flash(self):\n \"jamba\",\n \"kosmos-2\",\n \"mllama\",\n+ \"lighton_ocr\",\n \"pixtral\",\n \"sam\",\n ...
2026-02-23T13:59:50
nodejs/node
5d1578d85b6f09d827a6fe954d0617e1c13267b3
6f39f105435ffd5e71ece41266ef3c256b29dc88
doc: add options description for send APIs Describes the meaning of the boolean return in process.send() (doc/api/process.md) and worker.send() (doc/api/cluster.md) as described in subprocess.send() (doc/api/child_process.md) Fixes: https://github.com/nodejs/node/issues/26995 PR-URL: https://github.com/nodejs/node/pu...
[ { "path": "doc/api/cluster.md", "patch": "@@ -456,7 +456,7 @@ Workers will call `process.exit(0)` if the `'disconnect'` event occurs\n on `process` and `.exitedAfterDisconnect` is not `true`. This protects against\n accidental disconnection.\n \n-### worker.send(message\\[, sendHandle\\]\\[, callback\\])\n+...
2019-10-07T18:16:03
golang/go
3c29aca43630da1604c3378d2351050f23655268
555bed939d878db4c6fd60f2fef0577273dd05a7
cmd/compile: Unify & improve struct comparisons Partially fixes https://github.com/golang/go/issues/38674 The first commit has the actual unification, the second commit just cleans things up by moving shared code into its own package for clarity. Change-Id: I85067f8b247df02f94684ec1297a1a42263bba0c GitHub-Last-Rev: ...
[ { "path": "src/cmd/compile/internal/compare/compare.go", "patch": "@@ -0,0 +1,272 @@\n+// Copyright 2022 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+// Package compare contains code for generating compa...
2022-04-21T23:26:16
vercel/next.js
c8020758278baeb1a538a70258854b984cb61bd6
ddc8f50d247b81388c69e207fcf41422350f2464
Update `swc_core` to `v0.79.55` (#53831) ### What? Update swc crates to https://github.com/swc-project/swc/commit/54f38cb47e4978b96f422c2ca2e7da1c7ae9283f ### Why? To apply minifier bugfixes. ### How? Closes WEB-1358 Fixes #53723 --- turbopack counterpart: https://github.com/vercel/turbo/pull/5699
[ { "path": "Cargo.lock", "patch": "@@ -539,9 +539,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.53.37\"\n+version = \"0.53.52\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"f720bb260bcde511155cecdf84399d97fbd71508d7082b1f37a9563bb6b5...
2023-08-11T22:38:44
huggingface/transformers
9f43e7b4e2e92044e56f4c68a60c17da1a514fed
78c873efeef8aec243568c4536175b052353f024
Add ModernVBERT models (#42504) * modernbert modeling * init back * add mdoernvbert * refine test: testing logits * refine test: testing logits * add missing methods to modernvbert + clean code and doc * add modernvbert and colmodernvbert * clean * add auto mapping for colmvb * colmvb imports * add colmvb te...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -671,6 +671,8 @@\n title: ModernBert\n - local: model_doc/modernbert-decoder\n title: ModernBERTDecoder\n+ - local: model_doc/modernvbert\n+ title: ModernVBert\n - local: model_doc/mpnet\n title: MPNet\n ...
2026-02-23T12:55:41
golang/go
555bed939d878db4c6fd60f2fef0577273dd05a7
21e1ffe7bc7793a8f1c1fca4dfa32f1f3f70681c
test/typeparam: fix copyright message Change-Id: Ia0a4be56d4e1fbfc73e6ce24f01a658c89a74adb GitHub-Last-Rev: dd95e50c4b37a031d3ee852bbb7487f748526562 GitHub-Pull-Request: golang/go#52393 Reviewed-on: https://go-review.googlesource.com/c/go/+/400694 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance T...
[ { "path": "test/typeparam/cons.go", "patch": "@@ -2,7 +2,7 @@\n \n // Copyright 2021 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n-// lice\n+// license that can be found in the LICENSE file.\n \n package main\n ", "additions": 1, "deletions": 1, "...
2022-04-17T15:17:08
rust-lang/rust
8770e5734ed5e7c1b8bc8b59b73b7f79134e4190
e27f16a499074ba9a87f7f7641d9f64c572863bc
Add `0323pin` as target maintainer, and fix link to pkgsrc-wip and explain.
[ { "path": "src/doc/rustc/src/platform-support/netbsd.md", "patch": "@@ -32,10 +32,11 @@ are built for NetBSD 8.x but also work on newer OS versions).\n ## Target Maintainers\n \n [@he32](https://github.com/he32)\n+[@0323pin](https://github.com/0323pin)\n \n Further contacts:\n \n-- [NetBSD/pkgsrc-wip's rust...
2025-07-14T17:03:42
nodejs/node
6f39f105435ffd5e71ece41266ef3c256b29dc88
11276af5dd60354af3db1b578804ca3839044420
doc: fix an error in resolution algorithm steps As it is, if `X begins with './' or '/' or '../'` (step 3), it reads as if it were possible for the algorithm to do a node_modules lookup (step 4). But that doesn't seem to reflect the actual logic. PR-URL: https://github.com/nodejs/node/pull/29940 Reviewed-By: Ben Noor...
[ { "path": "doc/api/modules.md", "patch": "@@ -159,6 +159,7 @@ require(X) from module at path Y\n 3. If X begins with './' or '/' or '../'\n a. LOAD_AS_FILE(Y + X)\n b. LOAD_AS_DIRECTORY(Y + X)\n+ c. THROW \"not found\"\n 4. LOAD_NODE_MODULES(X, dirname(Y))\n 5. LOAD_SELF_REFERENCE(X, dirname(Y))\n 6...
2019-10-11T23:01:34
vercel/next.js
424b205344067a85a9e6af24886539696615eeb1
2312852e57ba846c14e7df30a8326ff8675496e3
fix typo (#53908) remove misused pronoun "it" Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
[ { "path": "docs/01-getting-started/03-react-essentials.mdx", "patch": "@@ -334,7 +334,7 @@ With this approach, the rendering of `<ExampleClientComponent>` and `<ExampleSer\n >\n > - This pattern is **already applied** in [layouts and pages](/docs/app/building-your-application/routing/pages-and-layouts) with...
2023-08-11T21:59:31
electron/electron
de692c989660a2d20340a9bffee954ca62660df3
f3b85e915d7b0181a92c1f63468a67e04263da41
bring back fix from #152
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -109,7 +109,6 @@ BrowserContext::BrowserContext(const std::string& partition, bool in_memory)\n path_ = path_.Append(FILE_PATH_LITERAL(\"Partitions\"))\n .Append(base::FilePath::FromUTF8Unsafe(MakePartitionName(partition)));...
2016-07-26T11:02:14
huggingface/transformers
78c873efeef8aec243568c4536175b052353f024
a3dcad9e25af4c8747a365ec3f9a6b33e4b9abc1
fix: HiggsAudioV2 cached decode inputs in compiled generation (#44201) * Fix HiggsAudioV2 cached decode inputs in compiled generation * tweaked fix * missing block --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/models/higgs_audio_v2/generation_higgs_audio_v2.py", "patch": "@@ -265,18 +265,21 @@ def _sample(\n else self.__call__\n )\n \n- # Assisted generation completes the prefill stage in candidate generator so that\n- # we don't have several `prefill`...
2026-02-23T12:39:17
rust-lang/rust
038295adf8a26ba6c5f3de3d7c723ac98724dbc6
e1be06240d2be922d7cd20226ebb9b6d0051d311
fix: `filter_map_bool_then` wrongly showed macro definition in suggestions
[ { "path": "clippy_lints/src/methods/filter_map_bool_then.rs", "patch": "@@ -1,6 +1,6 @@\n use super::FILTER_MAP_BOOL_THEN;\n use clippy_utils::diagnostics::span_lint_and_then;\n-use clippy_utils::source::SpanRangeExt;\n+use clippy_utils::source::{SpanRangeExt, snippet_with_context};\n use clippy_utils::ty::...
2025-06-13T15:24:06
golang/go
bb004a179a034c799809f42d525801ec4a791987
889a902d215c57fe2032181370a9a2c30c531c99
syscall: define Syscall in terms of RawSyscall on linux This is a re-do of CL 388477, fixing #52472. It is unsafe to call syscall.RawSyscall from syscall.Syscall with -coverpkg=all and -race. This is because: 1. Coverage adds a sync/atomic call in RawSyscall to increment the coverage counter. 2. Race mode instrum...
[ { "path": "src/runtime/proc.go", "patch": "@@ -3658,7 +3658,7 @@ func reentersyscall(pc, sp uintptr) {\n \n // Standard syscall entry used by the go syscall library and normal cgo calls.\n //\n-// This is exported via linkname to assembly in the syscall package.\n+// This is exported via linkname to assembl...
2022-02-24T21:54:13
nodejs/node
11276af5dd60354af3db1b578804ca3839044420
8fa4abdf23abb09bd19dfb9a358a70d90672231e
http: support readable hwm in IncomingMessage This commit causes http.IncomingMessage instances to set their readableHighWaterMark value the same value used in the underlying socket. PR-URL: https://github.com/nodejs/node/pull/30135 Fixes: https://github.com/nodejs/node/issues/30107 Reviewed-By: Anna Henningsen <anna...
[ { "path": "doc/api/http.md", "patch": "@@ -1667,6 +1667,10 @@ the request body should be sent.\n ## Class: http.IncomingMessage\n <!-- YAML\n added: v0.1.17\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/30135\n+ description: The `readableHighWaterMark` value mirror...
2019-10-26T01:17:06
vercel/next.js
2312852e57ba846c14e7df30a8326ff8675496e3
707b1e3bc32f1911f282bf9bdc3a4bbbf87985ee
Update runner labels (#53925) Adds a new label for distinguishing between runners, also fixes a couple flakey fixtures noticed while benchmarking.
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -11,7 +11,7 @@ env:\n TURBO_VERSION: 1.10.9\n NODE_MAINTENANCE_VERSION: 16\n NODE_LTS_VERSION: 18.16.1\n- TEST_CONCURRENCY: 6\n+ TEST_CONCURRENCY: 8\n # disable backtrace for test snapshots\n RUST_BACKTRACE: 0\n ", "additions": 1...
2023-08-11T21:05:11
huggingface/transformers
a3dcad9e25af4c8747a365ec3f9a6b33e4b9abc1
9f7faed251b433c999b3d8f4313e675b7071165b
fix(models): Fix LayoutLMv2 NER crash and broken batched truncation/padding (#44187) fix: Add only_label_first_subword and model_max_length
[ { "path": "src/transformers/models/layoutlmv2/tokenization_layoutlmv2.py", "patch": "@@ -175,6 +175,7 @@ def __init__(\n only_label_first_subword=True,\n tokenize_chinese_chars=True,\n strip_accents=None,\n+ model_max_length=512,\n **kwargs,\n ):\n self.do_...
2026-02-23T10:29:37
golang/go
4d96c3cdadb7de81ced18eceaa906f35730523f4
aac1d3a1b12a290805ca35ff268738fb334b1ca4
crypto/x509: revert serial length restriction This reverts CL400377, which restricted serials passed to x509.CreateCertificate to <= 20 octets. Unfortunately this turns out to be something _a lot_ of people get wrong. Since it's not particularly obvious how to properly generate conformant serials, until we provide an ...
[ { "path": "src/crypto/x509/x509.go", "patch": "@@ -1478,21 +1478,14 @@ func CreateCertificate(rand io.Reader, template, parent *Certificate, pub, priv\n \t\treturn nil, errors.New(\"x509: no SerialNumber given\")\n \t}\n \n-\t// RFC 5280 Section 4.1.2.2: serial number must positive and should not be longer\...
2022-04-21T20:47:26
nodejs/node
050a3b1d7531b9c4e37aaa334ced363e77e52759
b086e38d858950dac3ea0774bf587aeef4a950e9
doc: fix numbering in require algorithm Refs: https://github.com/nodejs/node/pull/29327 PR-URL: https://github.com/nodejs/node/pull/30117 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@...
[ { "path": "doc/api/modules.md", "patch": "@@ -159,8 +159,8 @@ require(X) from module at path Y\n 3. If X begins with './' or '/' or '../'\n a. LOAD_AS_FILE(Y + X)\n b. LOAD_AS_DIRECTORY(Y + X)\n-5. LOAD_NODE_MODULES(X, dirname(Y))\n-4. LOAD_SELF_REFERENCE(X, dirname(Y))\n+4. LOAD_NODE_MODULES(X, dirna...
2019-10-25T15:54:25
vercel/next.js
10cb74062bd5c444f58b4156e45d381a0e4d75e2
fe80aff6dcde7a1e8224724ac1a524fb2372c19c
(docs) Fixes Server Actions example (#53920) Closes #53910.
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/03-server-actions.mdx", "patch": "@@ -459,12 +459,8 @@ function ExampleServerComponent({ id }) {\n 'use client'\n \n function ExampleClientComponent({ updateItem }) {\n- async function action(formData) {\n- await updateItem(formData)\n...
2023-08-11T18:25:31
electron/electron
9bc144c8801804e79f30328def8fdae35f5b0772
d6a7ced32cd28429d5ea9507f1e0077089ebd686
Fix test for PR #6600 Just realized that the tests don't pass after my PR. This fixes that :)
[ { "path": "spec/api-menu-spec.js", "patch": "@@ -399,7 +399,7 @@ describe('menu module', function () {\n describe('MenuItem role', function () {\n it('includes a default label and accelerator', function () {\n var item = new MenuItem({role: 'close'})\n- assert.equal(item.label, 'Close')\n+ ...
2016-07-26T00:27:45
huggingface/transformers
9f7faed251b433c999b3d8f4313e675b7071165b
5ef42f53c4225d9af28e8a297afcc624b8291a06
[CB] [Major] Asynchronous batching (#43960) * Cleanup: batch is more self contained * Created utils.py file * Moved pad to utils * Pin memory for input and outputs * Consolidate inputs into a bulk tensor * Consolidated read and write indices * Add the transfer_inputs fn * Renames and getters * Remove useless s...
[ { "path": "benchmark_v2/benchmark_scripts/continuous_batching_overall.py", "patch": "@@ -54,6 +54,8 @@ def run_and_parse_cb_example(args: str) -> dict:\n \n # Benchmark with high number of samples\n results.append(run_and_parse_cb_example(\"--samples 500\"))\n+ # Benchmark with async API\n+ re...
2026-02-23T10:11:26
rust-lang/rust
4b421d44e20351426cf4ded11248bd1d0af40b5f
7f2065a4bae1faed5bab928c670964eafbf43b55
Fix handling of SCRIPT_ARG in docker images Instead of making this a build parameter, pass the SCRIPT as an environment variable. To this purpose, normalize on always referring to a script in `/scripts`. For i686-gnu-nopt-2 I had to create a separate script, because Docker seems to be really terrible at command line...
[ { "path": "src/ci/docker/host-aarch64/aarch64-gnu-llvm-19/Dockerfile", "patch": "@@ -50,9 +50,7 @@ ENV RUST_CONFIGURE_ARGS \\\n \n COPY scripts/shared.sh /scripts/\n \n-ARG SCRIPT_ARG\n+COPY scripts/stage_2_test_set1.sh /scripts/\n+COPY scripts/stage_2_test_set2.sh /scripts/\n \n-COPY scripts/stage_2_test_s...
2025-07-15T13:33:32
golang/go
a4ded4b5ff90a58d1ecf55914af941c468a502f1
f95db21332118134973ba046c4f5d0e890e36066
misc/cgo/test: remove timing dependency from TestParallelSleep Rename it TestIssue1560 since it no longer sleeps. For #1560 Fixes #45586 Change-Id: I338eee9de43e871da142143943e9435218438e90 Reviewed-on: https://go-review.googlesource.com/c/go/+/400194 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Ian La...
[ { "path": "misc/cgo/test/callback_c.c", "patch": "@@ -3,8 +3,7 @@\n // license that can be found in the LICENSE file.\n \n #include <string.h>\n-#include <sys/types.h>\n-#include <unistd.h>\n+\n #include \"_cgo_export.h\"\n \n void\n@@ -31,32 +30,10 @@ IntoC(void)\n \tBackIntoGo();\n }\n \n-#ifdef WIN32\n-#...
2022-04-13T21:35:15
nodejs/node
b35181f877d5a92e8bb52eb071489f2a7d87494b
5783ed7667d2aab87d30ffddbb5cd7c1c5099cb6
fs: add `bufferSize` option to `fs.opendir()` Add an option that controls the size of the internal buffer. Fixes: https://github.com/nodejs/node/issues/29941 PR-URL: https://github.com/nodejs/node/pull/30114 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M ...
[ { "path": "benchmark/fs/bench-opendir.js", "patch": "@@ -7,22 +7,24 @@ const path = require('path');\n const bench = common.createBenchmark(main, {\n n: [100],\n dir: [ 'lib', 'test/parallel'],\n- mode: [ 'async', 'sync', 'callback' ]\n+ mode: [ 'async', 'sync', 'callback' ],\n+ bufferSize: [ 4, 32, ...
2019-10-25T14:17:07
vercel/next.js
13170acd90af169e77e9f667ea9c8b295671bb99
06ca082dd82e9e16f8e66185556a4f0df53c5304
fix dynamic embedding after the `Vc<T>` update (vercel/turbo#5708)
[ { "path": "crates/turbo-tasks-fs/src/embed/file.rs", "patch": "@@ -43,7 +43,10 @@ macro_rules! embed_file {\n // check that the file exists at compile time\n let _ = include_str!(concat!(env!(\"CARGO_MANIFEST_DIR\"), \"/\", $path));\n \n- turbo_tasks_fs::embed::content_from_relative_p...
2023-08-11T17:48:09
huggingface/transformers
5ef42f53c4225d9af28e8a297afcc624b8291a06
df1cd3a7bfe3e91a4c9bc32cd273d3683f976da6
Fix LASR feature extractor regression from invalid center argument (#44207) * Fix LASR feature extractor center arg regression * Keep LASR center API while fixing extractor mismatch * revert lasr feature extractor Co-authored-by: nightcityblade <nightcityblade@users.noreply.github.com> * voxtral realtime not modul...
[ { "path": "src/transformers/models/lasr/feature_extraction_lasr.py", "patch": "@@ -149,7 +149,6 @@ def __call__(\n do_normalize: bool | None = None,\n device: str | None = \"cpu\",\n return_token_timestamps: bool | None = None,\n- center: bool = True,\n **kwargs,\n ...
2026-02-23T10:01:35
rust-lang/rust
e331de149f4fe5ddafe7f4bad13acb1499a6108e
7dd28181e2243c3715efc7e0ce49848bfd256c86
Fix CI
[ { "path": "compiler/rustc_session/src/parse.rs", "patch": "@@ -209,7 +209,7 @@ pub fn add_feature_diagnostics_for_issue<G: EmissionGuarantee>(\n /// This is basically the same as `feature_err_issue`\n /// but without the feature issue note. If we can do a lookup for issue number from feature name,\n /// the...
2025-07-14T14:33:54
golang/go
f95db21332118134973ba046c4f5d0e890e36066
5b32a6f1793bbac820bc70066cb8f569edcaa982
cmd/go: add a better error message when in a module outside workspace When the user is trying to list or build a package in a module that's outside of the workspace provide a more clear message hinting to the user that they can add the module to the workspace using go work use. Fixes #51604 Change-Id: I1202ecb2f22fd...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -605,11 +605,13 @@ func resolveLocalPackage(ctx context.Context, dir string, rs *Requirements) (str\n \n \tpkg := pathInModuleCache(ctx, absDir, rs)\n \tif pkg == \"\" {\n-\t\tscope := \"main module or its selected dependencies\"\n \t\tif inWorks...
2022-04-12T19:17:18
vercel/next.js
9e1e9bf311a04bad4ed623f1d99d404849461371
85da585d1ffc8face09f2581df4f4e8ca7624d96
Fix/match resource (#53796) ### Bug Fix fixes #53366 ### Change Add `query` and [`matchResource`](https://webpack.js.org/api/loaders/#inline-matchresource) to the module mapping. ### Why `mod.resource` and all other paths inside `packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts` are alrea...
[ { "path": "packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -186,7 +186,13 @@ export class FlightClientEntryPlugin {\n \n compiler.hooks.afterCompile.tap(PLUGIN_NAME, (compilation) => {\n const recordModule = (modId: string, mod: any) => {\n- const modRes...
2023-08-11T17:36:58
nodejs/node
5783ed7667d2aab87d30ffddbb5cd7c1c5099cb6
f185990738ca6eb781328bfec65c416b5415d1fc
doc: remove incorrect and outdated example PR-URL: https://github.com/nodejs/node/pull/30138 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Franziska Hinkelmann <franzi...
[ { "path": "doc/api/cluster.md", "patch": "@@ -613,24 +613,6 @@ Emitted when the cluster master receives a message from any worker.\n \n See [`child_process` event: `'message'`][].\n \n-Before Node.js v6.0, this event emitted only the message and the handle,\n-but not the worker object, contrary to what the ...
2019-10-26T20:03:46
huggingface/transformers
df1cd3a7bfe3e91a4c9bc32cd273d3683f976da6
147b7aa040812b079f467e777a2d2e1284167de0
Models with incorrect tokenizer_class in tokenization_config.json tha… (#44179) Models with incorrect tokenizer_class in tokenization_config.json that should use TokenziersBackend Co-authored-by: ita.zaporozhets@huggingface.co <ita_zaporozhets@ip-26-0-164-75.ec2.internal>
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -185,6 +185,12 @@\n (\"megatron-bert\", \"BertTokenizer\" if is_tokenizers_available() else None),\n (\"metaclip_2\", \"XLMRobertaTokenizer\" if is_tokenizers_available() else None),\n (\"mgp-str\", \"MgpstrT...
2026-02-23T08:33:11
rust-lang/rust
ab29256b96660ffd01ab0257588cb6cbd08355a8
1e5c7b28772bb99b8af4ac350aaabbb28168dc99
Make stability attribute not to error when unstable feature bound is in effect
[ { "path": "compiler/rustc_passes/src/stability.rs", "patch": "@@ -802,22 +802,50 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {\n // FIXME(jdonszelmann): make it impossible to miss the or_else in the typesystem\n let const_stab = attrs::find_attr!(attrs, AttributeKin...
2025-07-14T13:36:19
golang/go
b34838913da606087b0f3141891f7d0fb2254eef
115852077f45141b293727558e61c0804661d328
os/exec: set PWD implicitly if Dir is non-empty and Env is nil Fixes #50599. Change-Id: I4e5dbb3972cdf21ede049567bfb98f2c992c5849 Reviewed-on: https://go-review.googlesource.com/c/go/+/401340 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@...
[ { "path": "api/next/50599.txt", "patch": "@@ -0,0 +1 @@\n+pkg os/exec, method (*Cmd) Environ() []string #50599", "additions": 1, "deletions": 0, "language": "Plain Text" }, { "path": "doc/go1.19.html", "patch": "@@ -132,6 +132,21 @@ <h3 id=\"minor_library_changes\">Minor changes to t...
2022-04-20T21:07:14
vercel/next.js
85da585d1ffc8face09f2581df4f4e8ca7624d96
599cde86318d3e92043390f9a90a633a1c8bf376
Turbopack: Fix debugging in napi for next-api (#53889) ### What? #51883: > Node.js sets stdout to non-blocking by default, rust expects it to be blocking > > so when logging a lot of data, it can happen that rust receives an error while writing causing it to panic, the error is just that the resource is temporarily...
[ { "path": "packages/next/src/build/swc/index.ts", "patch": "@@ -191,6 +191,21 @@ export async function loadBindings(): Promise<Binding> {\n if (pendingBindings) {\n return pendingBindings\n }\n+\n+ if (process.platform === 'darwin') {\n+ // rust needs stdout to be blocking, otherwise it will thr...
2023-08-11T17:13:40
huggingface/transformers
a3bfc8bcd53bb8c86fb239dac55a8ba163b18f6a
ecf79eb2f61bda25c38a41ce6480edfdd569bec4
fix(flaky): `test_generate_with_and_without_position_ids` in GLM ORC (#44173) Fixes flaky GLM OCR generation behavior when 2D position_ids are passed explicitly.
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -2260,17 +2260,31 @@ def test_forward_with_logits_to_keep(self):\n torch.testing.assert_close(all_logits[:, -1:, :], last_token_logits, rtol=1e-5, atol=1e-5)\n \n def test_generate_with_and_without_position_ids(self):\n+ ran_any...
2026-02-20T19:06:17
nodejs/node
f035f557d772d59434027b49746bd4d67796a6e4
72346bd8d43477273419049ab68a5c6611480a92
tools: doc: improve async workflow of generate.js Use fs.promises for read and write file Use unified().process wich is async instead processSync html and json are write in parallel errors are logged and exit process with `1` code Fixes: https://github.com/nodejs/node/issues/30090 PR-URL: https://github.com/nodejs/n...
[ { "path": "tools/doc/generate.js", "patch": "@@ -21,7 +21,7 @@\n \n 'use strict';\n \n-const fs = require('fs');\n+const { promises: fs } = require('fs');\n const path = require('path');\n const unified = require('unified');\n const markdown = require('remark-parse');\n@@ -41,36 +41,35 @@ let nodeVersion = ...
2019-10-24T10:14:45
rust-lang/rust
ba6485d61c5dd6c106c5f93b6d581a88f630cbc2
e1be06240d2be922d7cd20226ebb9b6d0051d311
fix: `match_single_binding` wrongly handles scope
[ { "path": "clippy_lints/src/matches/match_single_binding.rs", "patch": "@@ -1,11 +1,18 @@\n+use std::ops::ControlFlow;\n+\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_contex...
2025-06-15T13:28:14
golang/go
115852077f45141b293727558e61c0804661d328
b941a10e384e6772792bc9e05e7ebe58e98bc20e
Revert "cmd/go/internal/test: wrap os.Stdout always" This reverts CL 400877. Reason for revert: broke TestScript/test_output_wait and the regression test for #18153 on certain builders. Fixes #52461. Change-Id: I98627ce5e22088b0784be502c459480c41ba353a Reviewed-on: https://go-review.googlesource.com/c/go/+/401494 R...
[ { "path": "src/cmd/go/internal/test/test.go", "patch": "@@ -1261,11 +1261,7 @@ func (c *runCache) builderRunTest(b *work.Builder, ctx context.Context, a *work.\n \t\treturn nil\n \t}\n \n-\t// The os/exec package treats an *os.File differently to an io.Writer.\n-\t// Embed os.Stdout in an io.Writer struct s...
2022-04-21T13:22:59
vercel/next.js
1cafeb41022b1a6a15eddef908b0d843451f1b01
45576ae752a07f48ddfa6a407b59aab14954a3b7
Docs: Update confusing wording in intercepting routes (#53854) Fixes: https://github.com/vercel/next.js/issues/53787
[ { "path": "docs/02-app/01-building-your-application/01-routing/09-intercepting-routes.mdx", "patch": "@@ -8,9 +8,9 @@ related:\n - app/building-your-application/routing/parallel-routes\n ---\n \n-Intercepting routes allows you to load a route within the current layout while keeping the context for the c...
2023-08-11T08:59:03
electron/electron
f4207560f29ef2041597dabd1de2a5876d7439ba
f09fc2f6e9f300a07caa4b8ea597f13ba82db575
Update libchromiumcontent: fix linking error on Linux
[ { "path": "script/lib/config.py", "patch": "@@ -8,7 +8,7 @@\n \n BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \\\n 'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '0b5aa7b6ca450681c58087e14f72238aab5ab823'\n+LIBCHROMIUMCONTENT_COMMIT = 'f5ff2ac2...
2016-07-24T23:53:58
huggingface/transformers
ecf79eb2f61bda25c38a41ce6480edfdd569bec4
708d3e125150569436f8db0ca608a9a47f876814
[generate] Completely stop relying on `cache_position` to prepare inputs (#44130) * generalize * better doc * don't mixup the logic everywhere * doc * fix all * no unsqueeze * more fixes * add position_ids * simplify all a lot * doc * small oupsi * more small fixes * more fixes * fix assisted decoding * ...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -39,9 +39,7 @@\n class CandidateGenerator:\n \"\"\"Abstract base class for all candidate generators that can be applied during assisted generation.\"\"\"\n \n- def get_candidates(\n- self, input_ids: torch.LongTensor,...
2026-02-20T18:46:17
nodejs/node
ab78d4df34a7698c45fca0b81300fd02fc4add7b
d29f0eda152b0407bf6bd1e63f548bd39cd2fcd3
src: fix crash with SyntheticModule#setExport Use the new non-deprecated V8 API for that. PR-URL: https://github.com/nodejs/node/pull/30062 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@b...
[ { "path": "src/module_wrap.cc", "patch": "@@ -1500,7 +1500,7 @@ void ModuleWrap::SetSyntheticExport(\n Local<Value> export_value = args[1];\n \n Local<Module> module = obj->module_.Get(isolate);\n- module->SetSyntheticModuleExport(export_name, export_value);\n+ USE(module->SetSyntheticModuleExport(iso...
2019-10-22T13:28:34
golang/go
1715a86721164bee98d95b16c78529cdd7dacc9c
aa242555412c29f8af3da7d92067577c6b089c3a
crypto/tls: reject duplicate extensions Does what it says on the tin. Fixes #51088 Change-Id: I12c0fa6bba1c1ce96c1ad31ba387c77a93f801c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/384894 Reviewed-by: Roland Shoemaker <roland@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Gophe...
[ { "path": "src/crypto/tls/handshake_messages.go", "patch": "@@ -384,6 +384,7 @@ func (m *clientHelloMsg) unmarshal(data []byte) bool {\n \t\treturn false\n \t}\n \n+\tseenExts := make(map[uint16]bool)\n \tfor !extensions.Empty() {\n \t\tvar extension uint16\n \t\tvar extData cryptobyte.String\n@@ -392,6 +39...
2022-02-10T17:47:49
huggingface/transformers
87954470edab2b03b56bbb6bf530a2f07f9b2180
7c0a3be0bbe0d19bdbd1e59259ee06684f05fa58
[`Mamba`] Fix kernel loading (#44176) * fix * fix all imports * falcon h1 * fix check conditions and fixup zamba
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -44,6 +44,7 @@\n from ...processing_utils import Unpack\n from ...utils import TransformersKwargs, auto_docstring, can_return_tuple, is_torchdynamo_compiling, logging\n from ...utils.generic import maybe_autocast\n+from ...utils.impor...
2026-02-20T16:18:58
vercel/next.js
45576ae752a07f48ddfa6a407b59aab14954a3b7
7e165384857893a25eb59b800c5af585a7778c71
Turbopack: more tests and bugfixes for next.rs api (#53809) ### What? * adds more HMR test cases * fixes bugs found ### Why? ### Turbopack changes * https://github.com/vercel/turbo/pull/5668 <!-- OJ Kwon - ci(test): temporarily increase test timeout --> * https://github.com/vercel/turbo/pull/5696 <!-- T...
[ { "path": "Cargo.lock", "patch": "@@ -412,7 +412,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-230808.2#59effa31de90fcb7f55034f29efcd939a5de70e9\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-08-11T08:29:36
nodejs/node
d29f0eda152b0407bf6bd1e63f548bd39cd2fcd3
7b2de22d72a5fef171d835560a975615a938eaf3
deps: V8: backport 777fa98 Original commit message: Make SetSyntheticModuleExport throw instead of crash for nonexistent export name Per spec, Module::SetSyntheticModuleExport should throw a ReferenceError when called with an export name that was not supplied when constructing that SyntheticModule. ...
[ { "path": "common.gypi", "patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.16',\n+ 'v8_embedder_string': '-node.17',\n \n ##### V8 defaults for Node.js #####\n...
2019-10-22T13:07:21
huggingface/transformers
9887ca2ab5fc922e5f5c85070b5028c0284fbb44
d23397091ccc5aa0e647b5a850e1bbde1989fd2d
ESM2 attention_mask and token_dropout fix (#44163) * Update modeling_esm.py * Update modeling_esm.py * Skip irrelevant test --------- Co-authored-by: Matt <rocketknight1@gmail.com>
[ { "path": "src/transformers/models/esm/modeling_esm.py", "patch": "@@ -644,8 +644,11 @@ def forward(\n raise ValueError(\"You must specify exactly one of input_ids or inputs_embeds\")\n \n if inputs_embeds is None:\n+ # Important, attention_mask must be passed to the embedding...
2026-02-20T15:16:57
golang/go
aa242555412c29f8af3da7d92067577c6b089c3a
ab9d31da9e088a271e656120a3d99cd3b1103ab6
os/exec: preserve original order of entries in dedupEnv Once #50599 is implemented, the entries will be observable via the Environ method. I find it confusing for later entries in the list to jump arbitrarily far forward based on entries for the same key that no longer exist. This also fixes the deduplication logic f...
[ { "path": "src/os/exec/env_test.go", "patch": "@@ -18,17 +18,29 @@ func TestDedupEnv(t *testing.T) {\n \t\t{\n \t\t\tnoCase: true,\n \t\t\tin: []string{\"k1=v1\", \"k2=v2\", \"K1=v3\"},\n-\t\t\twant: []string{\"K1=v3\", \"k2=v2\"},\n+\t\t\twant: []string{\"k2=v2\", \"K1=v3\"},\n \t\t},\n \t\t{\n \t\...
2022-04-19T19:54:50
electron/electron
751ee536839cfd88539f2b4e720a658d00d6d850
99ec841a8e4fe21182e2dfa7a1f085d70b80d6cf
Do not throw exception when channel name is "error"
[ { "path": "lib/browser/api/ipc-main.js", "patch": "@@ -1,3 +1,6 @@\n const EventEmitter = require('events').EventEmitter\n \n module.exports = new EventEmitter()\n+\n+// Do not throw exception when channel name is \"error\".\n+module.exports.on('error', () => {})", "additions": 3, "deletions": 0, ...
2016-07-24T12:08:25
vercel/next.js
7e165384857893a25eb59b800c5af585a7778c71
9bb10b1cb3f8fa9ddd4e5f61983e6515b5e2eb69
Include instructions for `bun` package manager (#53590) ## For Contributors ### Improving Documentation - [x] Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - [x] Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contr...
[ { "path": "contributing/examples/adding-examples.md", "patch": "@@ -39,7 +39,7 @@ Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_mediu\n \n ## How to use\n \n-Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://do...
2023-08-10T23:44:20
nodejs/node
6858c7e3e7c30986d68a683d3d5e4ede4c0b529f
cb36fa67d77ff6891a48db0b473d1c51888e23ed
async_hooks: only emit `after` for AsyncResource if stack not empty We clear the async id stack inside the uncaught exception handler and emit `after` events in the process, so we should not emit `after` a second time from the `runInAsyncScope()` code. This should match the behaviour we have in C++. Fixes: https://g...
[ { "path": "lib/async_hooks.js", "patch": "@@ -17,6 +17,7 @@ const {\n executionAsyncId,\n triggerAsyncId,\n // Private API\n+ hasAsyncIdStack,\n getHookArrays,\n enableHooks,\n disableHooks,\n@@ -172,7 +173,8 @@ class AsyncResource {\n return fn(...args);\n return Reflect.apply(fn...
2019-10-23T14:06:16
huggingface/transformers
32deb4c32a9b5c9f455199f5a076f1112fc89f87
8151000f745deb056973e3b1387b4a537a586d63
Fix `Seq2SeqTrainingArguments` documentation (#35258) * try fix Seq2SeqTrainingArguments * ignore formatter
[ { "path": "src/transformers/training_args_seq2seq.py", "patch": "@@ -28,7 +28,12 @@\n @add_start_docstrings(TrainingArguments.__doc__)\n class Seq2SeqTrainingArguments(TrainingArguments):\n \"\"\"\n- Args:\n+ sortish_sampler (`bool`, *optional*, defaults to `False`):\n+ Whether to u...
2026-02-20T13:49:31
electron/electron
fac330fb50d1ac9ebc61a1cebfc105a96796195d
2757046e7170946b22bff7ed3e2c9a3c5ed36f57
Fix TypedArray check, add check when instanceof doesn't work for TypedArrays.
[ { "path": "lib/browser/rpc-server.js", "patch": "@@ -63,7 +63,7 @@ let valueToMeta = function (sender, value, optimizeSimpleObject = false) {\n meta.type = 'buffer'\n } else if (Array.isArray(value)) {\n meta.type = 'array'\n- } else if (isTypedArray(value.buffer)) {\n+ } else if (isTy...
2016-07-23T11:43:49
vercel/next.js
9bb10b1cb3f8fa9ddd4e5f61983e6515b5e2eb69
6f7ffadc86081c2da8e43fe541f086faa56a640e
Delete errorneous empty content length header (#53843) fixes https://github.com/vercel/next.js/issues/53822 PR https://github.com/vercel/next.js/pull/53368 introduced a regression causing fetch with custom headers to fail in safari. There are known issues with uncidi when a content-length: 0 header exists. When perf...
[ { "path": "packages/next/src/server/lib/server-ipc/utils.ts", "patch": "@@ -17,6 +17,12 @@ export const filterReqHeaders = (\n headers: Record<string, undefined | string | number | string[]>,\n forbiddenHeaders: string[]\n ) => {\n+ // Some browsers are not matching spec and sending Content-Length: 0. ...
2023-08-10T22:03:13
nodejs/node
cb36fa67d77ff6891a48db0b473d1c51888e23ed
175c318bc18beb8643fa9948a117cdef84f518e0
n-api,doc: add info about building n-api addons Adds information about tools available for building N-API addons. Fixes: https://github.com/nodejs/abi-stable-node/issues/384 PR-URL: https://github.com/nodejs/node/pull/30032 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gabriel Schulhof <gabriel.schulh...
[ { "path": "doc/api/n-api.md", "patch": "@@ -14,11 +14,10 @@ changes in the underlying JavaScript engine and allow modules\n compiled for one major version to run on later major versions of Node.js without\n recompilation. The [ABI Stability][] guide provides a more in-depth explanation.\n \n-Addons are buil...
2019-10-18T23:03:25
huggingface/transformers
e0b07d1b120fdc374b9a563f7edf0305401216be
64230197ff9a4499aa8557eb5b225d164ad8d7c7
[`simple`] Fix up `__repr__` whitespace/brackets (#44048) Fix up __repr__ whitespace/brackets
[ { "path": "src/transformers/tokenization_mistral_common.py", "patch": "@@ -1595,7 +1595,7 @@ def __repr__(self) -> str:\n f\"{self.__class__.__name__}(name_or_path='{self.name_or_path}',\"\n f\" vocab_size={self.vocab_size}, model_max_length={self.model_max_length},\"\n f...
2026-02-20T10:03:33
electron/electron
3a9c57231ebf06129d63291ec4d4e908a8e1a508
99ec841a8e4fe21182e2dfa7a1f085d70b80d6cf
fix wording in asar doc
[ { "path": "docs/tutorial/application-packaging.md", "patch": "@@ -95,7 +95,7 @@ $.get('file:///path/to/example.asar/file.txt', (data) => {\n ### Treating an `asar` Archive as a Normal File\n \n For some cases like verifying the `asar` archive's checksum, we need to read the\n-content of `asar` archive as fi...
2016-07-22T21:52:43
vercel/next.js
6f7ffadc86081c2da8e43fe541f086faa56a640e
2cf5d3a8aa325f8bece1094c9e566311e604e114
fix: normalize backslash in `getStaticPaths()` for windows (#53876) This normalizes the backslash for windows users who accidentally use `\` in the request paths instead of the expected `/`. For example, in https://github.com/nodejs/nodejs.org/pull/5617 the slash was hardcoded for split that caused the backlash to re...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1035,6 +1035,7 @@ export async function buildStaticPaths({\n .join('/')\n : escapePathDelimiters(paramValue as string, true)\n )\n+ .replace(/\\\\/g, '/')\n .replace(/(?!^)\\/$/, '')\n \n...
2023-08-10T21:27:02
huggingface/transformers
64230197ff9a4499aa8557eb5b225d164ad8d7c7
1f468a8b5d55397e72135d90cf5e9e3b710ebc2a
[`chore`] Fix incorrect forward type hint for Gemma3n (#44051) * Fix incorrect forward type hint for Gemma3n * Also on modular
[ { "path": "src/transformers/models/gemma3n/modeling_gemma3n.py", "patch": "@@ -2034,7 +2034,7 @@ def forward(\n output_attentions: bool | None = None,\n output_hidden_states: bool | None = None,\n **lm_kwargs: Unpack[TransformersKwargs],\n- ) -> Gemma3nCausalLMOutputWithPast:\n+ ...
2026-02-20T09:05:33
nodejs/node
11275dcf97aaf8f89127f8cf0fc4f6fcc5e70e93
bb7b48a86754a3e3facab214821ac59a0dc8c7c3
src: allow inspector without v8 platform Embedders sometimes want to take control of V8 platform initialization themselves, so we wouldn't want to experience an error if NODE_USE_V8_PLATFORM was false necessarily. Instead, we can also gate it with HAVE_INSPECTOR to allow embedders to define that themselves and use Ins...
[ { "path": "src/node_options.cc", "patch": "@@ -27,10 +27,10 @@ std::shared_ptr<PerProcessOptions> cli_options{new PerProcessOptions()};\n } // namespace per_process\n \n void DebugOptions::CheckOptions(std::vector<std::string>* errors) {\n-#if !NODE_USE_V8_PLATFORM\n+#if !NODE_USE_V8_PLATFORM && !HAVE_INSP...
2019-10-21T15:46:34
golang/go
e49b80a754c3df1a82d089a16a46ea8946d5a00b
c75befeec2a8ef2fea3c41da589ca0ffddda506f
cmd/compile/internal/syntax: correct an error string When we have an error in a function type used in an expression we don't know until we see an opening { whether we have a function literal or a function type. Use "function type" as context because that's always correct in the specific error message. Change-Id: I9aa...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -991,7 +991,7 @@ func (p *parser) operand(keep_parens bool) Expr {\n \tcase _Func:\n \t\tpos := p.pos()\n \t\tp.next()\n-\t\t_, ftyp := p.funcType(\"function literal\")\n+\t\t_, ftyp := p.funcType(\"function type\")\n \t\tif p.tok == _Lbrac...
2022-04-20T19:05:30
electron/electron
9ca0fbaeb7056a16956e77ccf553080a072b012f
7bcd76aa9321440fc91ce02ce02650fd697545f9
fix capitalization and headings for NativeImage class
[ { "path": "docs/api/native-image.md", "patch": "@@ -3,7 +3,7 @@\n > Create tray, dock, and application icons using PNG or JPG files.\n \n In Electron, for the APIs that take images, you can pass either file paths or\n-`nativeImage` instances. An empty image will be used when `null` is passed.\n+`NativeImage...
2016-07-22T20:42:27
vercel/next.js
712669f6056a61964760212868494042f55a4445
7d67f00f8fabb9044ec445d8aebed88c5f6d0f19
improve error message for conflicting parallel segments (#53803) This is a follow-up to log both conflicting paths & a link to route group docs, which I believe is the only scenario someone could trigger this - https://github.com/vercel/next.js/pull/53752
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -437,12 +437,14 @@ const nextAppLoader: AppLoader = async function nextAppLoader() {\n pathname: string\n ): [string, string | string[]][] => {\n const matched: Record<string, string | string[]> = {}\n+ let exi...
2023-08-09T17:21:24