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 |
|---|---|---|---|---|---|
facebook/react | 14580fb01209c1424797c1cdb03a00ca71681841 | d5533cfb6d2c5581c5ea7e2dc33d96cdc4d0f076 | Update refs example code to use onChange
Fixes #1408.
Test Plan: Copy each code snippet into jsbin; type in the text box successfully; click the button and see the input clear (and in the second example, get focused). | [
{
"path": "docs/docs/07.1-more-about-refs.md",
"patch": "@@ -15,7 +15,7 @@ Consider the case when you wish to tell an `<input />` element (that exists with\n getInitialState: function() {\n return {userInput: ''};\n },\n- handleKeyUp: function(e) {\n+ handleChange: function(e) {\n ... | 2014-04-14T23:22:04 |
golang/go | 2caaad942e15c148bfce33e06baa03d3a1557fcd | 5a379654952f8103d801cbccb5112c3e9976b104 | runtime: use searchIdx in scavengeOne
This is an optimization that prevents N^2 behavior within a chunk, but
was accidentally skipped. There should be no functional change as a
result of this CL.
Fixes #54892.
Change-Id: I861967a2268699fdc3464bd41bc56618b5628e6b
Reviewed-on: https://go-review.googlesource.com/c/go/+... | [
{
"path": "src/runtime/mgcscavenge.go",
"patch": "@@ -718,7 +718,7 @@ func (p *pageAlloc) scavengeOne(ci chunkIdx, searchIdx uint, max uintptr) uintpt\n \tif p.summary[len(p.summary)-1][ci].max() >= uint(minPages) {\n \t\t// We only bother looking for a candidate if there at least\n \t\t// minPages free pag... | 2022-09-07T20:31:00 |
rust-lang/rust | c439a59dbd275aef9bc24c7172e2111ccc3794c3 | d9dba3a55476ae2da5d4e5bce8a81b341c675750 | Change the desugaring of `assert!` for better error output
In the desugaring of `assert!`, we now expand to a `match` expression
instead of `if !cond {..}`.
The span of incorrect conditions will point only at the expression, and not
the whole `assert!` invocation.
```
error[E0308]: mismatched types
--> $DIR/issue-... | [
{
"path": "compiler/rustc_builtin_macros/src/assert.rs",
"patch": "@@ -1,8 +1,8 @@\n mod context;\n \n-use rustc_ast::token::Delimiter;\n+use rustc_ast::token::{self, Delimiter};\n use rustc_ast::tokenstream::{DelimSpan, TokenStream};\n-use rustc_ast::{DelimArgs, Expr, ExprKind, MacCall, Path, PathSegment, ... | 2024-03-17T20:46:36 |
nodejs/node | e65d189e508056e9ce16377bcc42dc02a64e46c6 | fe4e4ddc718a359b97f3fc89e5ff44625dcd6e7d | test: regression tests for async_hooks + Promise + Worker interaction
Add regression tests for the case in which an async_hook is enabled
inside a Worker thread and `process.exit()` is called during the
async part of an async function.
This commit includes multiple tests that seem like they should all
crash in a simi... | [
{
"path": "test/parallel/test-async-hooks-worker-asyncfn-terminate-1.js",
"patch": "@@ -0,0 +1,15 @@\n+'use strict';\n+const common = require('../common');\n+const { Worker } = require('worker_threads');\n+\n+const w = new Worker(`\n+const { createHook } = require('async_hooks');\n+\n+setImmediate(async () ... | 2020-05-10T22:25:49 |
vercel/next.js | 5ab289caaeca2f842e618d60b2f52e6b31114962 | 642ad12c29c8a98c55cd86e026bdfff0b84f6c7a | Turbopack: improve error display (#58734)
### What?
* include path and title in errors
* don't block the page for errors in node_modules
### Why?
### How?
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> | [
{
"path": "packages/next/src/server/lib/router-utils/setup-dev-bundler.ts",
"patch": "@@ -305,10 +305,12 @@ async function startWatcher(opts: SetupOpts) {\n const { start } = source.range\n message = `${issue.severity} - ${formattedFilePath}:${\n start.line + 1\n- }:... | 2023-11-21T18:57:41 |
rust-lang/rust | e7e18a3297a01f25b5b7f40e86125b80cae8a7a5 | a5469b8b4a29c4c57d3c5833a2f946537666d898 | clippy: Update for switch to `MacroKinds`
This updates two clippy lints which had exceptions for `MacroKind::Bang`
macros to extend those exceptions to any macro, now that a macro_rules
macro can be any kind of macro. | [
{
"path": "clippy_lints/src/item_name_repetitions.rs",
"patch": "@@ -8,7 +8,6 @@ use rustc_data_structures::fx::FxHashSet;\n use rustc_hir::{EnumDef, FieldDef, Item, ItemKind, OwnerId, QPath, TyKind, Variant, VariantData};\n use rustc_lint::{LateContext, LateLintPass};\n use rustc_session::impl_lint_pass;\n... | 2025-08-09T08:37:03 |
golang/go | 5a379654952f8103d801cbccb5112c3e9976b104 | e28cc362a825b297fa8a10dc95d7c0d2e2b21dfc | runtime: make mheap.pagesInUse an atomic.Uintptr
This change fixes an old TODO that made it a uint64 because it would
make alignment within mheap more complicated. Now that we don't have to
worry about it since we're using atomic types as much as possible,
switch to using a Uintptr. This likely will improve performanc... | [
{
"path": "src/runtime/mheap.go",
"patch": "@@ -100,13 +100,11 @@ type mheap struct {\n \t// accounting for current progress. If we could only adjust\n \t// the slope, it would create a discontinuity in debt if any\n \t// progress has already been made.\n-\tpagesInUse atomic.Uint64 // pages of spans... | 2022-09-07T20:14:46 |
electron/electron | c3798be9b8e0508e821c9b5ea5db1ac72cac7ba3 | 7f28b7a151ee8b5c9ccd197d7d92535f3b909788 | Upgrade node for fork --eval cherry pick fix | [
{
"path": "vendor/node",
"patch": "@@ -1 +1 @@\n-Subproject commit a6663598aa78832e7955cb93c51a098eac787abb\n+Subproject commit 3fe90cfcf54dd946980e59daf550a7cdb2317c8f",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2017-04-06T16:48:04 |
nodejs/node | fe4e4ddc718a359b97f3fc89e5ff44625dcd6e7d | dd0980ecc287537a48cd5d6f7f803cd8c681dbdb | async_hooks: clear async_id_stack for terminations in more places
Termination exceptions are similar to uncaught exceptions in that they
should clear the async id stack, because no ongoing async callbacks
will be brought to completion when execution terminates.
Previously, there was a check that made sure that that h... | [
{
"path": "src/api/callback.cc",
"patch": "@@ -84,9 +84,13 @@ void InternalCallbackScope::Close() {\n closed_ = true;\n \n if (!env_->can_call_into_js()) return;\n- if (failed_ && !env_->is_main_thread() && env_->is_stopping()) {\n- env_->async_hooks()->clear_async_id_stack();\n- }\n+ auto perform... | 2020-05-11T00:30:02 |
vercel/next.js | a2e61343c94315a7de3a7bb9079d61f19d768be0 | c6af1a15802f63f877deaa8e9fa547ca50de135a | fix(turbopack): postcss should be applied to `@import`ed CSS files (vercel/turbo#6531) | [
{
"path": "crates/turbopack/src/module_options/mod.rs",
"patch": "@@ -395,6 +395,32 @@ impl ModuleOptions {\n ),\n ]);\n } else {\n+ if let Some(options) = enable_postcss_transform {\n+ let execution_context = execution_context\n+ ... | 2023-11-21T16:53:47 |
rust-lang/rust | e1fc89af5bb657acb45097cae15873de78210065 | 33ba4a2f119e23b5d92ba6fac833b532abab82ee | rustdoc: Minimal fixes to compile with `MacroKinds`
This makes the minimal fixes necessary for rustdoc to compile and pass
existing tests with the switch to `MacroKinds`. It only works for macros
that don't actually have multiple kinds, and will panic (with a `todo!`)
if it encounters a macro with multiple kinds.
rus... | [
{
"path": "src/librustdoc/clean/inline.rs",
"patch": "@@ -6,7 +6,7 @@ use std::sync::Arc;\n use rustc_data_structures::fx::FxHashSet;\n use rustc_hir as hir;\n use rustc_hir::Mutability;\n-use rustc_hir::def::{DefKind, Res};\n+use rustc_hir::def::{DefKind, MacroKinds, Res};\n use rustc_hir::def_id::{DefId, ... | 2025-08-09T07:20:07 |
electron/electron | 7f28b7a151ee8b5c9ccd197d7d92535f3b909788 | 4ec7cc913d840ee211a92afa13f260681d8bf8f9 | Add failing spec for fork --eval message bug | [
{
"path": "spec/node-spec.js",
"patch": "@@ -91,6 +91,16 @@ describe('node feature', function () {\n done()\n })\n })\n+\n+ it('works when sending message to a forked process using the --eval argument', function (done) {\n+ const source = \"process.on('message', function ... | 2017-04-06T16:47:33 |
golang/go | 403f91c24430213b6a8efb3d143b6eae08b02ec2 | 530a2369746555ce099870e88714a54c4f4473d1 | cmd/compile/internal: merge rules in PPC64.rules
This uses rulegen syntax which allows similar rules
to be combined, saving lines in the rules file.
The Lsh16x32 rule had an incorrect value and that was
fixed.
Change-Id: I637410e39d8554825076aca5ac24083ce05ab186
Reviewed-on: https://go-review.googlesource.com/c/go/+/... | [
{
"path": "src/cmd/compile/internal/ssa/gen/PPC64.rules",
"patch": "@@ -45,22 +45,16 @@\n \n (Hmul(64|64u|32|32u) ...) => (MULH(D|DU|W|WU) ...)\n \n-(Mul32F ...) => (FMULS ...)\n-(Mul64F ...) => (FMUL ...)\n+(Mul(32|64)F ...) => ((FMULS|FMUL) ...)\n \n-(Div32F ...) => (FDIVS ...)\n-(Div64F ...) => (FDIV ...... | 2022-08-30T20:51:57 |
nodejs/node | dd0980ecc287537a48cd5d6f7f803cd8c681dbdb | c7eeef568ce5a3714b89689160ec85c017527364 | worker: call CancelTerminateExecution() before exiting Locker
As the comment indicates, this fixes a DCHECK failure, although I don’t
quite understand why it is happening in the first place.
PR-URL: https://github.com/nodejs/node/pull/33347
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasn... | [
{
"path": "src/node_worker.cc",
"patch": "@@ -260,6 +260,11 @@ void Worker::Run() {\n \n DeleteFnPtr<Environment, FreeEnvironment> env_;\n auto cleanup_env = OnScopeLeave([&]() {\n+ // TODO(addaleax): This call is harmless but should not be necessary.\n+ // Figure out why V8 is raising a D... | 2020-05-10T22:55:29 |
vercel/next.js | ce183f6e3e3c532b0fb1343914e5369cee7f7920 | 493f69ffcd28b4b10bd39279e477182aaf8ce665 | Add experimental.windowHistorySupport to Turbopack supported options (#58717)
## What?
Enables `experimental.windowHistorySupport` support for Turbopack.
## How?
Turbopack has a guard for unknown options (allow-list). Added the option
to the list of supported configurations.
No additional changes are ne... | [
{
"path": "packages/next/src/lib/turbopack-warning.ts",
"patch": "@@ -67,6 +67,7 @@ const supportedTurbopackNextConfigOptions = [\n 'experimental.useDeploymentIdServerActions',\n 'experimental.deploymentId',\n 'experimental.useLightningcss',\n+ 'experimental.windowHistorySupport',\n \n // Experimen... | 2023-11-21T10:08:18 |
rust-lang/rust | 33ba4a2f119e23b5d92ba6fac833b532abab82ee | b74e1cb769d11b37d29490f9ab63a3af19c509fc | clippy: Update for switch to `MacroKinds`
This updates two clippy lints which had exceptions for `MacroKind::Bang`
macros to extend those exceptions to any macro, now that a macro_rules
macro can be any kind of macro. | [
{
"path": "src/tools/clippy/clippy_lints/src/item_name_repetitions.rs",
"patch": "@@ -8,7 +8,6 @@ use rustc_data_structures::fx::FxHashSet;\n use rustc_hir::{EnumDef, FieldDef, Item, ItemKind, OwnerId, QPath, TyKind, Variant, VariantData};\n use rustc_lint::{LateContext, LateLintPass};\n use rustc_session::... | 2025-08-09T08:37:03 |
facebook/react | 382be4e9e99e523f2e42dc1734e8a97a56e2b1e4 | 8855d6153e252c735de0e6cc373787d22c1a467b | Improve error for nested render calls
In the future we could consider wrapping the entire public API (renderComponent, setProps, setState, etc) in this check but this should do for now.
Test Plan: grunt test | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -1164,6 +1164,17 @@ var ReactCompositeComponentMixin = {\n 'ReactCompositeComponent',\n '_renderValidatedComponent',\n function() {\n+ // We set ReactCurrentOwner.current back to null at the end of this\n+ // function, so it... | 2014-04-12T22:32:15 |
golang/go | 9c147cc617ed8d9b22ee2637a7c7f7a28e1ee21c | 866fbb67d0285240c3cf0c430ff018d20f99379c | cmd/fix: use strings.Builder
Change-Id: I761766e147202970f82ce804dbaf5d491508995c
Reviewed-on: https://go-review.googlesource.com/c/go/+/428289
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <ia... | [
{
"path": "src/cmd/fix/main.go",
"patch": "@@ -141,7 +141,7 @@ func gofmtFile(f *ast.File) ([]byte, error) {\n func processFile(filename string, useStdin bool) error {\n \tvar f *os.File\n \tvar err error\n-\tvar fixlog bytes.Buffer\n+\tvar fixlog strings.Builder\n \n \tif useStdin {\n \t\tf = os.Stdin\n@@ ... | 2022-09-04T12:08:30 |
nodejs/node | c7eeef568ce5a3714b89689160ec85c017527364 | d3a8a23089af06bb047bf9bad7531fbfc70f6314 | cli: add `--trace-atomics-wait` flag
Adds a flag that helps with debugging deadlocks due to incorrectly
implemented `Atomics.wait()` calls.
PR-URL: https://github.com/nodejs/node/pull/33292
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.co... | [
{
"path": "benchmark/worker/atomics-wait.js",
"patch": "@@ -0,0 +1,15 @@\n+'use strict';\n+/* global SharedArrayBuffer */\n+\n+const common = require('../common.js');\n+const bench = common.createBenchmark(main, {\n+ n: [1e7]\n+});\n+\n+function main({ n }) {\n+ const i32arr = new Int32Array(new SharedArr... | 2019-12-05T23:39:16 |
vercel/next.js | 4345504b61289a4dca0abd55a173f8d3ed35d063 | 94771bf3cc42d8821404b87e0d5c3aa7a6f69fac | fix: avoid race condition when download swc wasm (#58536)
### What?
I noticed that code that was responsible for download the SWC Wasm
fallback wasn't bullet proof and there was a chance for a race
condition. The reason was that both `write` and `close` from a write
stream are async operations and it's best to w... | [
{
"path": "packages/next/src/lib/download-swc.ts",
"patch": "@@ -55,10 +55,28 @@ async function extractBinary(\n return body.pipeTo(\n new WritableStream({\n write(chunk) {\n- cacheWriteStream.write(chunk)\n+ return new Promise<void>((resolve, reject) =>\n+ ... | 2023-11-20T19:12:31 |
rust-lang/rust | ba231db3f33381f417a94566f043738dcaf60fc3 | c81fcaca1c4f2e9b39fc8bc3d03a3f19b475d366 | Detect and report macro kind mismatches early, and more precisely
This eliminates the case in `failed_to_match_macro` to check for a
function-like invocation of a macro with no function-like rules.
Instead, macro kind mismatches now result in an unresolved macro, and we
detect this case in `unresolved_macro_suggestio... | [
{
"path": "compiler/rustc_expand/src/mbe/diagnostics.rs",
"patch": "@@ -58,18 +58,6 @@ pub(super) fn failed_to_match_macro(\n \n let Some(BestFailure { token, msg: label, remaining_matcher, .. }) = tracker.best_failure\n else {\n- // FIXME: we should report this at macro resolution time, as w... | 2025-08-09T05:49:57 |
facebook/react | d673e510446e3c11a29aeb8e1e000733dd798094 | ef81148b091f67f04acd0bd9937e0b530b49fed2 | Make PropType.object pass for Date and RegExp instances
8855d6153e252c735de0e6cc373787d22c1a467b gave more accurate error messages for date and regexp by returning 'date' and 'regexp' respectively from `getPropType`.
However, for the object primitive check, which compares the instance passed with `getPropType's` retur... | [
{
"path": "src/core/ReactPropTypes.js",
"patch": "@@ -113,11 +113,17 @@ function createChainableTypeChecker(validate) {\n \n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location) {\n- var propType = getPropType(props[propName]);\n+ var prop... | 2014-04-11T23:36:46 |
golang/go | 2b6ff90851b08d4595a55602e25265f596ac3b5b | 51fdfeb1ce89c61332e28ef97a3e72a1d327c2df | debug/elf: define additional PPC64 ELFv2 relocations
The PPC64 ELFv2 supplement version 1.5 defines a handful of
new relocation types, similarly some were not added.
Fixes #54345
Change-Id: Id39b29d404298fca4a10ccf1e96b5964dc452c9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/425555
Reviewed-by: Ian Lance ... | [
{
"path": "api/next/54345.txt",
"patch": "@@ -0,0 +1,108 @@\n+pkg debug/elf, const R_PPC64_ADDR16_HIGHER34 = 136 #54345\n+pkg debug/elf, const R_PPC64_ADDR16_HIGHER34 R_PPC64 #54345\n+pkg debug/elf, const R_PPC64_ADDR16_HIGHERA34 = 137 #54345\n+pkg debug/elf, const R_PPC64_ADDR16_HIGHERA34 R_PPC64 #54345\n+... | 2022-08-08T20:58:04 |
nodejs/node | d3a8a23089af06bb047bf9bad7531fbfc70f6314 | e9f293750760d59243020d0376edf242c9a26b67 | fs: forbid concurrent operations on Dir handle
libuv does not expect concurrent operations on `uv_dir_t` instances,
and will gladly create memory leaks, corrupt data, or crash the
process.
This patch forbids that, and:
- Makes sure that concurrent async operations are run sequentially
- Throws an exception if sync o... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -855,6 +855,15 @@ An unknown Diffie-Hellman group name was given. See\n \n The [`fs.Dir`][] was previously closed.\n \n+<a id=\"ERR_DIR_CONCURRENT_OPERATION\"></a>\n+### `ERR_DIR_CONCURRENT_OPERATION`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+A synchronous read or... | 2020-05-07T00:16:17 |
vercel/next.js | 42e17d070b4552978cf1c4a16e1f2916d58a8d97 | 90cd224111c67392aa7d4300ffcad40007ee8277 | fix lint in examples (#58630)
#58053 was merged without lint passing. | [
{
"path": "examples/with-cypress/tsconfig.json",
"patch": "@@ -1,11 +1,7 @@\n {\n \"compilerOptions\": {\n \"target\": \"es5\",\n- \"lib\": [\n- \"dom\",\n- \"dom.iterable\",\n- \"esnext\"\n- ],\n+ \"lib\": [\"dom\", \"dom.iterable\", \"esnext\"],\n \"allowJs\": true,\n ... | 2023-11-18T18:09:25 |
facebook/react | 422a8d9c2ce651f7034d2488e8e744c5e255df56 | 13351dd9379a09d1e431836aea999a208ddd6d37 | Support minimizable, non-boolean attributes
Fixes GH-1337 | [
{
"path": "src/browser/ui/dom/DOMProperty.js",
"patch": "@@ -34,6 +34,7 @@ var DOMPropertyInjection = {\n HAS_BOOLEAN_VALUE: 0x8,\n HAS_NUMERIC_VALUE: 0x10,\n HAS_POSITIVE_NUMERIC_VALUE: 0x20 | 0x10,\n+ CAN_BE_MINIMIZED: 0x40,\n \n /**\n * Inject some specialized knowledge about the DOM. This ta... | 2014-04-01T01:43:19 |
golang/go | a50c434308d474212557b7fa73583d68d09bd60d | 85c0d26c6a107b532ce0298c494456dac8d3b97c | cmd/asm: improve argument to obj.Prog assignment on PPC64
These can be simplified with the knowledge of how arguments are
assigned to obj.Prog objects on PPC64. If the argument is not
a register type, the Reg argument (a2 in optab) of obj.Prog is
not used, and those arguments are placed into RestArgs (a3, a4, a5
in op... | [
{
"path": "src/cmd/asm/internal/arch/ppc64.go",
"patch": "@@ -21,28 +21,6 @@ func jumpPPC64(word string) bool {\n \treturn false\n }\n \n-// IsPPC64RLD reports whether the op (as defined by an ppc64.A* constant) is\n-// one of the RLD-like instructions that require special handling.\n-// The FMADD-like inst... | 2022-09-01T14:23:49 |
facebook/react | 697bf73c5f37049b1e9b048aa23007ca50f4b26d | 8855d6153e252c735de0e6cc373787d22c1a467b | Add test for isValidDescriptor
Fixes #1164.
Test Plan: grunt test | [
{
"path": "src/core/__tests__/ReactDescriptor-test.js",
"patch": "@@ -0,0 +1,48 @@\n+/**\n+ * Copyright 2013-2014 Facebook, Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the... | 2014-04-10T05:53:22 |
vercel/next.js | 024a0ef24d0954b20f5ab0965e6df3ec9075bed3 | c0e5d6584d19d1fe7c225afe5313f5c478c3ec08 | Update rust-toolchain to 2023-11-16 (#58558)
This updates the rust toolchain to 2023-11-16 and:
- Removes now-unnecessary `#![feature(async_fn_in_trait)]`
- Applies auto-fixable lint fixes
- Uses `Cargo.toml` new `lint` section instead of command line rustc flags
Test Plan: Tested with updated turbo in a create-next... | [
{
"path": ".cargo/config.toml",
"patch": "@@ -34,5 +34,4 @@ rustflags = [\n \"tokio_unstable\",\n \"-Zshare-generics=y\",\n \"-Csymbol-mangling-version=v0\",\n- \"-Aclippy::too_many_arguments\",\n ]",
"additions": 0,
"deletions": 1,
"language": "Unknown"
},
{
"path": "Cargo.lock",... | 2023-11-18T00:29:50 |
rust-lang/rust | 875c158686fc47e083c83d1ccee4359ba4cc64f9 | e52666380f6f03fb1211138171e0ef626ceb468d | fix: Implement default member to resolve IdentPat | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/add_missing_impl_members.rs",
"patch": "@@ -2418,6 +2418,55 @@ pub struct MyStruct;\n \n impl other_file_2::Trait for MyStruct {\n $0type Iter;\n+}\"#,\n+ );\n+ }\n+\n+ #[test]\n+ fn test_qualify_ident_pat_in_default_memb... | 2025-08-11T13:19:50 |
nodejs/node | 441e703b2851be4c0f924907ff3c20cc4bab8588 | 23a61eb683bcfb147ca1040e36c70fe366452a77 | doc: enhance guides by fixing and making grammar more consistent
PR-URL: https://github.com/nodejs/node/pull/33152
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> | [
{
"path": "doc/guides/collaborator-guide.md",
"patch": "@@ -109,8 +109,8 @@ review by @-mention.\n See [Who to CC in the issue tracker](#who-to-cc-in-the-issue-tracker).\n \n If you are the first Collaborator to approve a pull request that has no CI yet,\n-please [start one](#testing-and-ci). Please also st... | 2020-04-29T23:38:16 |
electron/electron | 95e782d26cf034280af80393b49ff0494d448969 | d857b715574315e255c0f32d6db3e7ae0021153e | Fix link to the Upgrading Chrome doc | [
{
"path": "docs/README.md",
"patch": "@@ -103,6 +103,6 @@ an issue:\n * [Debug Instructions (Windows)](development/debug-instructions-windows.md)\n * [Setting Up Symbol Server in debugger](development/setting-up-symbol-server.md)\n * [Documentation Styleguide](styleguide.md)\n-* [Updating Chrome](developmen... | 2017-04-06T06:04:19 |
golang/go | 85c0d26c6a107b532ce0298c494456dac8d3b97c | 454a058ffcd90dc8db311c08747506186af1f952 | cmd/asm,cmd/internal/obj/ppc64: recognize ppc64 ISA 3.1 MMA registers
Allow the assembler frontend to match MMA register arguments added by
ISA 3.1. The prefix "A" (for accumulator) is chosen to identify them.
Updates #44549
Change-Id: I363e7d1103aee19d7966829d2079c3d876621efc
Reviewed-on: https://go-review.googleso... | [
{
"path": "src/cmd/asm/internal/arch/arch.go",
"patch": "@@ -336,6 +336,9 @@ func archPPC64(linkArch *obj.LinkArch) *Arch {\n \tfor i := ppc64.REG_VS0; i <= ppc64.REG_VS63; i++ {\n \t\tregister[obj.Rconv(i)] = int16(i)\n \t}\n+\tfor i := ppc64.REG_A0; i <= ppc64.REG_A7; i++ {\n+\t\tregister[obj.Rconv(i)] = ... | 2021-08-10T14:59:00 |
facebook/react | 8855d6153e252c735de0e6cc373787d22c1a467b | 5a9d0c6a123764e52e4be3f428be5d967bc5a771 | Revamp and fix PropTypes
This uses the return value (an Error or nothing) to indicate whether a prop passes validation or not. It used to be done through calling `console.warn` as a side-effect, except this didn't work well with and `oneOfType`, which calls each validator.
The solution was to insert a `.weak` prop to... | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -927,7 +927,11 @@ var ReactCompositeComponentMixin = {\n var componentName = this.constructor.displayName;\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n- propTypes[propName](props, propName... | 2014-04-10T00:50:13 |
vercel/next.js | 06efea1b45e83fe030495fcd05998b30e8af8125 | c88d369507aa92590933b3acf30d85f4134668bb | fix(ecma-runtime): fix incorrect relative url calculation (vercel/turbo#6504) | [
{
"path": "crates/turbopack-ecmascript-runtime/js/src/build/runtime.ts",
"patch": "@@ -83,7 +83,7 @@ function resolveAbsolutePath(modulePath?: string): string {\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\n var relativeU... | 2023-11-17T22:28:54 |
electron/electron | 59fe7d3dbbe539f5fcdaf5fb7cb1e33c0ffe3307 | d857b715574315e255c0f32d6db3e7ae0021153e | :memo: Fix document of MimeTypedBuffer Object
[ci skip] | [
{
"path": "docs/api/structures/mime-typed-buffer.md",
"patch": "@@ -1,4 +1,4 @@\n # MimeTypedBuffer Object\n \n * `mimeType` String - The mimeType of the Buffer that you are sending\n-* `buffer` Buffer - The actual Buffer content\n+* `data` Buffer - The actual Buffer content",
"additions": 1,
"delet... | 2017-04-06T02:38:59 |
nodejs/node | 23a61eb683bcfb147ca1040e36c70fe366452a77 | 2d5d77306f6dff9110c1f77fefab25f973415770 | test: fix test-dns-idna2008
The DNS server will sometimes return an IPv6 address (as seen in nightly
CI from time to time). Use `family` option to force IPv4.
PR-URL: https://github.com/nodejs/node/pull/33367
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "test/internet/test-dns-idna2008.js",
"patch": "@@ -16,31 +16,37 @@ const { addresses } = require('../common/internet');\n const fixture = {\n hostname: 'straße.de',\n expectedAddress: '81.169.145.78',\n- dnsServer: addresses.DNS4_SERVER\n+ dnsServer: addresses.DNS4_SERVER,\n+ family: 4,\n ... | 2020-05-12T13:39:00 |
golang/go | e828fbdffe3318b976aa12d2aee27d4a53bc9f12 | dfdf55158dcfc3ef1bd436b3b9ed6daa20801fdb | os/exec: skip TestFindExecutableVsNoexec if mount failed
Apparently, some testing environments do not allow root to mount tmpfs
(due to e.g. AppArmor profile disallowing mount(2) syscall).
Always skip the test if the mount has failed.
Fixes the test issue introduced by CL 414824.
Change-Id: Ic565d2e6f277f2926d85a35... | [
{
"path": "src/os/exec/lp_linux_test.go",
"patch": "@@ -23,10 +23,8 @@ func TestFindExecutableVsNoexec(t *testing.T) {\n \t// Create a tmpfs mount.\n \terr := syscall.Mount(\"tmpfs\", tmp, \"tmpfs\", 0, \"\")\n \tif err != nil {\n-\t\tif os.Geteuid() == 0 {\n-\t\t\tt.Fatalf(\"tmpfs mount failed: %v\", err)\... | 2022-09-07T17:30:46 |
facebook/react | 5a9d0c6a123764e52e4be3f428be5d967bc5a771 | 356e85cd6ad4db66c3dceb44e12f1f8f709f1fce | Update invalid render error message
forgot to update the message following the previous diff on rendering null. | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -1181,7 +1181,7 @@ var ReactCompositeComponentMixin = {\n invariant(\n ReactDescriptor.isValidDescriptor(renderedComponent),\n '%s.render(): A valid ReactComponent must be returned. You may have ' +\n- 'returned an ... | 2014-04-10T00:50:01 |
vercel/next.js | c88d369507aa92590933b3acf30d85f4134668bb | 1623a677ca86415a53992bd34f0e22964204a9bd | Update rust-toolchain to 2023-11-16 (vercel/turbo#6492)
This updates the rust toolchain to 2023-11-16 and:
- Removes now-unnecessary `#![feature(async_fn_in_trait)]`
- Applies auto-fixable lint fixes
- Uses `Cargo.toml` new `lint` section instead of command line rustc
flags
Test Plan: Tested with updated Next.js in ... | [
{
"path": "crates/node-file-trace/Cargo.toml",
"patch": "@@ -21,6 +21,9 @@ tokio_console = [\n node-api = []\n custom_allocator = [\"turbo-tasks-malloc\", \"turbo-tasks-malloc/custom_allocator\"]\n \n+[lints]\n+workspace = true\n+\n [dependencies]\n anyhow = { workspace = true }\n clap = { workspace = true,... | 2023-11-17T22:09:43 |
facebook/react | af7ea7c9991c7e8691dac4b3c93e61fb048dd19b | 4f1ca0ee96553b024b17d08b37a0fffcac9abf82 | Carry ajax error checking from step #13 forward to other ajax steps
The following steps also have an ajax function, but the 'error:' param
is gone after #13:
#14
#17
#19
#20
This may be superfluous, but it helped me find an error with something I
was doing - Namely, in my .json file, I had single line javascript
comme... | [
{
"path": "docs/docs/tutorial.md",
"patch": "@@ -420,6 +420,9 @@ var CommentBox = React.createClass({\n dataType: 'json',\n success: function(data) {\n this.setState({data: data});\n+ }.bind(this),\n+ error: function(xhr, status, err) {\n+ console.error(this.props.url, s... | 2014-04-09T17:42:13 |
nodejs/node | 2d5d77306f6dff9110c1f77fefab25f973415770 | 24bf1adacc61a96111ae3ad06afba6f9b7f435a7 | Revert "vm: add importModuleDynamically option to compileFunction"
This reverts commit 74c393dd93cc0e461e3796fbcc09545fcacdecaf.
Fixes: https://github.com/nodejs/node/issues/33166
PR-URL: https://github.com/nodejs/node/pull/33364
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <... | [
{
"path": "doc/api/vm.md",
"patch": "@@ -88,7 +88,7 @@ changes:\n This option is part of the experimental modules API, and should not be\n considered stable.\n * `specifier` {string} specifier passed to `import()`\n- * `script` {vm.Script}\n+ * `module` {vm.Module}\n * Returns: {Module... | 2020-05-12T09:18:34 |
rust-lang/rust | f2f06654a59963a71b3f1f87942e71e561b083a7 | a5469b8b4a29c4c57d3c5833a2f946537666d898 | Revert "Partially outline code inside the panic! macro".
Without any tests/benchmarks that show some improvement, it's hard to
know whether the change had any positive effect at all. (And if it did,
whether that effect is still achieved today.) | [
{
"path": "clippy_utils/src/macros.rs",
"patch": "@@ -250,18 +250,13 @@ impl<'a> PanicExpn<'a> {\n };\n let name = path.segments.last().unwrap().ident.name;\n \n- // This has no argument\n- if name == sym::panic_cold_explicit {\n- return Some(Self::Empty);\n- ... | 2025-08-12T10:52:39 |
golang/go | dfdf55158dcfc3ef1bd436b3b9ed6daa20801fdb | 10ffb27528af47c28ee55683421056e3de5bee17 | cmd/compile/internal/noder: fix type switch case vars package
When naming case variables, the unified frontend was using
typecheck.Lookup, which uses the current package, rather than
localIdent, which uses the package the variable was originally
declared in. When inlining across package boundaries, this could cause
th... | [
{
"path": "src/cmd/compile/internal/noder/reader.go",
"patch": "@@ -1957,7 +1957,7 @@ func (r *reader) switchStmt(label *types.Sym) ir.Node {\n \t\tpos := r.pos()\n \t\tif r.Bool() {\n \t\t\tpos := r.pos()\n-\t\t\tsym := typecheck.Lookup(r.String())\n+\t\t\t_, sym := r.localIdent()\n \t\t\tident = ir.NewIde... | 2022-09-07T02:30:30 |
vercel/next.js | 1f3178e7433ed28d65bdb0f0219334e8dfc90c69 | 68e74b44bcb1c1ab4da4322e6b4b8e4299bfb061 | fix(next-core): allow runtime segment option in pages/api (#58409)
### What
This PR fixes turbopack to allow runtime segment option (https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes#segment-runtime-Option) in pages/api.
Previously it only allows config object (https://nextjs.... | [
{
"path": "packages/next-swc/crates/next-core/src/util.rs",
"patch": "@@ -2,7 +2,7 @@ use anyhow::{bail, Context, Result};\n use indexmap::{IndexMap, IndexSet};\n use serde::{de::DeserializeOwned, Deserialize, Serialize};\n use serde_json::Value as JsonValue;\n-use swc_core::ecma::ast::Program;\n+use swc_co... | 2023-11-17T20:59:01 |
rust-lang/rust | 08acba30718281a068ab978f8feded9b871ec9db | a1531335fe2807715fff569904d99602022643a7 | Revert "Partially outline code inside the panic! macro".
Without any tests/benchmarks that show some improvement, it's hard to
know whether the change had any positive effect at all. (And if it did,
whether that effect is still achieved today.) | [
{
"path": "compiler/rustc_const_eval/src/check_consts/check.rs",
"patch": "@@ -827,7 +827,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {\n \n // At this point, we are calling a function, `callee`, whose `DefId` is known...\n \n- // `begin_panic` and `#[rustc_const_panic... | 2025-08-12T10:52:39 |
electron/electron | ce1a5e3c9c5d231233035fc1b5836656d64de56c | 7574c33ef1b6addde7beaba889bb5403f29c4d5c | Fix sandboxed crashReporter for windows.
- Use `path` module from browser process in sandboxed renderer. This is required
because the return value of `path.join` is platform-specific, and this is an
assumtion of crash-reporter.js which is shared between sandboxed and
non-sandboxed renderers.
- Set `process.platf... | [
{
"path": "electron.gyp",
"patch": "@@ -447,6 +447,8 @@\n '-r',\n './lib/sandboxed_renderer/api/exports/os.js:os',\n '-r',\n+ './lib/sandboxed_renderer/api/exports/path.js:path',\n+ '-r',\n './lib/sandboxed_renderer/api/exports/child_process.js:child... | 2017-04-05T20:42:24 |
nodejs/node | 24bf1adacc61a96111ae3ad06afba6f9b7f435a7 | 50ba066921a2bfee743617f58d42eaeea02d0fca | module: do not check circular dependencies for exported proxies
In case the exported module is a proxy that has the `getPrototypeOf`
or `setPrototypeOf` trap, skip the circular dependencies check.
It would otherwise be triggered by the check itself.
Fixes: https://github.com/nodejs/node/issues/33334
Signed-off-by: R... | [
{
"path": "lib/internal/modules/cjs/loader.js",
"patch": "@@ -107,6 +107,11 @@ const {\n CHAR_COLON\n } = require('internal/constants');\n \n+\n+const {\n+ isProxy\n+} = require('internal/util/types');\n+\n const isWindows = process.platform === 'win32';\n \n const relativeResolveCache = ObjectCreate(nul... | 2020-05-10T11:49:23 |
golang/go | 2c45feb4d7b8d214d10ca7a34f0986b4e3d00ca1 | cdb270cf0737a4752e5375b737eba83929f2b415 | test: fix typo in escape_unsafe.go
The toStringData test was meant to test reflect.StringHeader, not
reflect.SliceHeader. It's not supported to convert *string to
*reflect.SliceHeader anyway.
Change-Id: Iaa4912eafd241886c6337bd7607cdf2412a15ead
Reviewed-on: https://go-review.googlesource.com/c/go/+/428995
Reviewed-by... | [
{
"path": "test/escape_unsafe.go",
"patch": "@@ -65,5 +65,5 @@ func toSliceData(s *[]int, p unsafe.Pointer) { // ERROR \"s does not escape\" \"lea\n }\n \n func toStringData(s *string, p unsafe.Pointer) { // ERROR \"s does not escape\" \"leaking param: p$\"\n-\t(*reflect.SliceHeader)(unsafe.Pointer(s)).Data... | 2022-09-07T09:04:13 |
facebook/react | 5167b7a5b2a77152e202682fbcc7184a6d71f8f2 | debd3318c7195799ab09c2e6020524ccb2197a2e | fix typo in 09.4-test-utils.md | [
{
"path": "docs/docs/09.4-test-utils.md",
"patch": "@@ -22,7 +22,7 @@ Example usage:\n ```javascript\n React.addons.TestUtils.Simulate.click(myComponent);\n React.addons.TestUtils.Simulate.change(myComponent);\n-React.addons.TestUtils.Simulate.keydown(myComponent, {key: \"Enter\"});\n+React.addons.TestUtils... | 2014-04-09T00:31:02 |
electron/electron | 73e3fd01eb6554e65496882cadc2aec5ba731954 | 7574c33ef1b6addde7beaba889bb5403f29c4d5c | Fixed a couple of failing debug checks when calling Chromium APIs | [
{
"path": "atom/browser/browser_win.cc",
"patch": "@@ -61,11 +61,11 @@ bool GetProtocolLaunchPath(mate::Arguments* args, base::string16* exe) {\n // Read in optional args arg\n std::vector<base::string16> launch_args;\n if (args->GetNext(&launch_args) && !launch_args.empty())\n- *exe = base::String... | 2017-04-05T12:45:46 |
golang/go | cdb270cf0737a4752e5375b737eba83929f2b415 | 027ff3f47d5d6557067324c342c8e14d7da1cf7a | reflect: fix stale Value.kind documentation
The lowests fives bits are the kind, and the next five bits are attributes,
not the other way around.
Change-Id: I5e1d13b195b766e99f66bb1227cc7f84e85dc49d
Reviewed-on: https://go-review.googlesource.com/c/go/+/425185
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-... | [
{
"path": "src/reflect/value.go",
"patch": "@@ -45,17 +45,19 @@ type Value struct {\n \tptr unsafe.Pointer\n \n \t// flag holds metadata about the value.\n-\t// The lowest bits are flag bits:\n+\t//\n+\t// The lowest five bits give the Kind of the value, mirroring typ.Kind().\n+\t//\n+\t// The next set of b... | 2022-08-24T02:27:49 |
facebook/react | 216fcdeb42cd4d783a89f618ed989010c10506fc | 21de5c816f5dbc320b8e7e0a1c32397a080e6ac2 | Ignore children with clashing keys
Fixes #566. | [
{
"path": "src/utils/ReactChildren.js",
"patch": "@@ -20,8 +20,8 @@\n \n var PooledClass = require('PooledClass');\n \n-var invariant = require('invariant');\n var traverseAllChildren = require('traverseAllChildren');\n+var warning = require('warning');\n \n var twoArgumentPooler = PooledClass.twoArgumentPo... | 2014-04-07T03:47:09 |
nodejs/node | 50ba066921a2bfee743617f58d42eaeea02d0fca | 4fa7d6e4c4be096b248f00a4d8435027a6e8fda1 | repl: improve repl autocompletion for require calls
This improves the autocompletion for require calls. It had multiple
small issues so far. Most important: it won't suggest completions for
require statements that are fully written out. Second, it'll detect
require calls that have whitespace behind the opening bracket... | [
{
"path": "lib/repl.js",
"patch": "@@ -1046,7 +1046,7 @@ REPLServer.prototype.turnOffEditorMode = deprecate(\n 'REPLServer.turnOffEditorMode() is deprecated',\n 'DEP0078');\n \n-const requireRE = /\\brequire\\s*\\(['\"](([\\w@./-]+\\/)?(?:[\\w@./-]*))/;\n+const requireRE = /\\brequire\\s*\\(\\s*['\"`]((... | 2020-05-07T15:13:07 |
facebook/react | a6211a0fd86391a4274b628c1623428ce97dbb4b | 9e160df86806c2746735492263401aac725281af | Serve unminified react on docs site. Fixes #1359 | [
{
"path": "docs/_layouts/default.html",
"patch": "@@ -30,7 +30,7 @@\n <![endif]-->\n <script type=\"text/javascript\" src=\"/react/js/codemirror.js\"></script>\n <script type=\"text/javascript\" src=\"/react/js/javascript.js\"></script>\n- <script type=\"text/javascript\" src=\"/react/js/react.min.js... | 2014-04-07T05:56:29 |
golang/go | 027ff3f47d5d6557067324c342c8e14d7da1cf7a | 3e758593905c1377b0db8d388839171159d0fea5 | debug/gosym: rename nameoff to nameOff to match runtime
Change-Id: Id33526e56bb25bc06746355f95045c5ef3c795c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/428660
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Subm... | [
{
"path": "src/debug/gosym/pclntab.go",
"patch": "@@ -314,7 +314,7 @@ func (t *LineTable) go12Funcs() []Func {\n \t\tsyms[i] = Sym{\n \t\t\tValue: f.Entry,\n \t\t\tType: 'T',\n-\t\t\tName: t.funcName(info.nameoff()),\n+\t\t\tName: t.funcName(info.nameOff()),\n \t\t\tGoType: 0,\n \t\t\t... | 2022-09-06T22:02:13 |
nodejs/node | b38d26a1685630eaf0a2aa2a933934e80f0a3f57 | 80913e655fef0950be61b5fb97261956f9d2c5bb | repl: show reference errors during preview
This aligns the behavior with the one in the Firefox console.
It will visualize ReferenceErrors in case the input has no possible
completion and no buffered input. That way typos can already be
highlighted before being evaluated.
Signed-off-by: Ruben Bridgewater <ruben@bridg... | [
{
"path": "lib/internal/repl/utils.js",
"patch": "@@ -48,6 +48,8 @@ const previewOptions = {\n showHidden: false\n };\n \n+const REPL_MODE_STRICT = Symbol('repl-strict');\n+\n // If the error is that we've unexpectedly ended the input,\n // then let the user try to recover by adding more input.\n // Note:... | 2020-05-04T01:49:04 |
facebook/react | 9a78db345732fba22df47959e556d9d26126ec85 | 9c2b9b1eb697eb939d308085e96049523c28d30d | Initial add
Add readme
remove gitignore
fix graphic | [
{
"path": "examples/server-rendering/README.md",
"patch": "@@ -0,0 +1,44 @@\n+# React server rendering example\n+\n+This example demonstrates how React's server rendering works. Rather than demonstrate a pure-Node solution, this example shows how an app not written in JavaScript (in this case, PHP) can util... | 2014-04-05T01:17:22 |
golang/go | 88149ed43e50325f3200b580be400c91ed01aaac | 5a9638692298deb45e7b95f51d5dd5a1be724874 | os: fix wrong error msg from TestReadClosed
If test would fail, the error message will have wrong error and its
type, because e is used after the failed type assertion.
To fix, use the original err.
While at it,
- combine the checks for error type and value into one statement;
- use the standard "got ..., want ...... | [
{
"path": "src/os/os_test.go",
"patch": "@@ -314,12 +314,8 @@ func TestReadClosed(t *testing.T) {\n \t_, err = file.Read(b)\n \n \te, ok := err.(*PathError)\n-\tif !ok {\n-\t\tt.Fatalf(\"Read: %T(%v), want PathError\", e, e)\n-\t}\n-\n-\tif e.Err != ErrClosed {\n-\t\tt.Errorf(\"Read: %v, want PathError(ErrC... | 2022-09-07T00:48:26 |
vercel/next.js | d5aea2c5cf462b3d1c31fb250c1f8b5eae3664fb | 41d890aaecf6b60e2d7234e62ac0e88c5bdd4cd5 | Add cacheNodeSeedData to RSC payload (#58566)
This adds an additional item to the FlightData type. The type of the
field is currently `null`, but eventually this slot will represent a
tree of data that is used to seed the cache nodes.
This is a fragile change because the FlightData type is not covered by
TypeScr... | [
{
"path": "packages/next/src/client/components/router-reducer/apply-flight-data.ts",
"patch": "@@ -11,14 +11,15 @@ export function applyFlightData(\n wasPrefetched: boolean = false\n ): boolean {\n // The one before last item is the router state tree patch\n- const [treePatch, subTreeData, head] = flig... | 2023-11-17T09:29:06 |
nodejs/node | 80913e655fef0950be61b5fb97261956f9d2c5bb | 47804933012841f2dc90626bdcc161adf34569a5 | repl: improve repl preview
This aligns the REPL preview with the one used in the Chrome
DevTools console. It will now preview the output for the input
including the completion suffix as input. When pressing enter while
previewing such data, it will automatically insert the suffix
before evaluating the input. When pres... | [
{
"path": "lib/internal/repl/utils.js",
"patch": "@@ -138,6 +138,8 @@ function setupPreview(repl, contextSymbol, bufferSymbol, active) {\n \n let wrapped = false;\n \n+ let escaped = null;\n+\n function getPreviewPos() {\n const displayPos = repl._getDisplayPos(`${repl._prompt}${repl.line}`);\n ... | 2020-05-04T01:46:23 |
facebook/react | ed0ef164c006572cef358257a180a10e98bf0eb5 | 9c2b9b1eb697eb939d308085e96049523c28d30d | Fix appearance of code blocks in lists | [
{
"path": "docs/_css/react.scss",
"patch": "@@ -683,7 +683,10 @@ p code {\n }\n \n .highlight pre code {\n+ /* Cancel out styles for `li code` in case we have a <pre> within an <li>. */\n+ background: none;\n font-size: inherit;\n+ padding: 0;\n }\n \n .highlight pre .lineno {",
"additions": 3,
... | 2014-04-04T19:53:04 |
golang/go | 5a9638692298deb45e7b95f51d5dd5a1be724874 | 2e1f98e3a17510c73d71bc4fc61a2bdbf20f92aa | test: add regression test for issue 54911
It was fixed by CL 422196, and have been already worked in unified IR.
Fixes #54911
Change-Id: Ie69044a64b296f6961e667e7661d8c4d1a24d84e
Reviewed-on: https://go-review.googlesource.com/c/go/+/428758
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher... | [
{
"path": "test/fixedbugs/issue54911.go",
"patch": "@@ -0,0 +1,21 @@\n+// compile\n+\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 main\n+\n+type Set[T comparable] map[T]struct... | 2022-09-07T03:20:57 |
facebook/react | 933dde9c6d788519785b47e9dad9c9330504d69c | 67ff4e505017b3e0b9776531e1d8b737a08cf755 | Batch updates caused by handlers in multiple roots
Fixes #1227.
It seems rare that event handlers in two roots nested in the DOM will update the same component in the same tick, but if that happens, the updates should be batched together. | [
{
"path": "src/browser/ui/ReactEventTopLevelCallback.js",
"patch": "@@ -23,6 +23,7 @@ var PooledClass = require('PooledClass');\n var ReactEventEmitter = require('ReactEventEmitter');\n var ReactInstanceHandles = require('ReactInstanceHandles');\n var ReactMount = require('ReactMount');\n+var ReactUpdates =... | 2014-03-07T09:33:40 |
nodejs/node | 47804933012841f2dc90626bdcc161adf34569a5 | 5ae5262f448295e314393dad4c491259793cea3f | doc: add examples for implementing ESM
Fixes: https://github.com/nodejs/node/issues/28060
PR-URL: https://github.com/nodejs/node/pull/33168
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com> | [
{
"path": "doc/api/esm.md",
"patch": "@@ -13,6 +13,27 @@ ECMAScript modules are [the official standard format][] to package JavaScript\n code for reuse. Modules are defined using a variety of [`import`][] and\n [`export`][] statements.\n \n+The following example of an ES module exports a function:\n+\n+```j... | 2020-04-30T16:32:53 |
vercel/next.js | d115ccad14e33bd9d09774301fc7ff8abb8f8bf3 | 0e55bb1a4ab357e0d5947200cf93d1360fb2d3db | examples: fix import statement for lru-cache (#58567) | [
{
"path": "examples/api-routes-rate-limit/utils/rate-limit.ts",
"patch": "@@ -7,7 +7,7 @@ type Options = {\n }\n \n export default function rateLimit(options?: Options) {\n- const tokenCache = new LRU({\n+ const tokenCache = new LRUCache({\n max: options?.uniqueTokenPerInterval || 500,\n ttl: opti... | 2023-11-17T03:55:24 |
electron/electron | 2bd47eb67262a79016edb2c9aef220ee766ba607 | 2e32525e8f041056c10c908c80f55e1d56f2b426 | Add specs for showCertificateTrustDialog option errors | [
{
"path": "spec/api-dialog-spec.js",
"patch": "@@ -93,4 +93,20 @@ describe('dialog module', () => {\n }, /Error processing argument at index 1/)\n })\n })\n+\n+ describe('showCertificateTrustDialog', () => {\n+ it('throws errors when the options are invalid', () => {\n+ assert.throws(()... | 2017-04-04T17:49:21 |
golang/go | ccf82d53233234e563c0d394cb5a3b6da888e3d6 | bfadd789860871741e0a86154e02998f879f29f3 | net: fix a typo in BenchmarkSendFile
Change-Id: Ic463bd6d52e7d1d50d2dbd2122b4d514e0b4af60
Reviewed-on: https://go-review.googlesource.com/c/go/+/428755
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lanc... | [
{
"path": "src/net/sendfile_linux_test.go",
"patch": "@@ -59,7 +59,7 @@ func (bench sendFileBench) benchSendFile(b *testing.B) {\n func createTempFile(b *testing.B, size int) *os.File {\n \tf, err := os.CreateTemp(\"\", \"linux-sendfile-test\")\n \tif err != nil {\n-\t\tb.Fatalf(\"failed to create tmp direc... | 2022-09-06T17:16:14 |
nodejs/node | 1dafaf03cb35d51562193afab6e903a10a89d906 | 4ad26923f480197b16c11e8b7a493ed81b1326d5 | tls: fix --tls-keylog option
There's a typo that causes only the first socket to be logged
(i.e. when the warning is emitted).
In addition, server sockets aren't logged because `keylog` events
are not emitted on tls.Server, not the socket. This behaviour is
counterintuitive and has caused more bugs in the past, so ma... | [
{
"path": "doc/api/tls.md",
"patch": "@@ -701,7 +701,7 @@ added:\n \n * `line` {Buffer} Line of ASCII text, in NSS `SSLKEYLOGFILE` format.\n \n-The `keylog` event is emitted on a client `tls.TLSSocket` when key material\n+The `keylog` event is emitted on a `tls.TLSSocket` when key material\n is generated or... | 2020-05-12T12:53:12 |
vercel/next.js | 49e391cd2b33cbaadbb757360cd20394e5fbff44 | fd0c3c63ec74f5bd6d22691da053b584eab5e422 | docs: fix naming of Route Handlers to Route Handler (#58539) | [
{
"path": "docs/02-app/01-building-your-application/04-caching/index.mdx",
"patch": "@@ -393,7 +393,7 @@ When configuring the different caching mechanisms, it's important to understand\n \n ### Data Cache and Client-side Router cache\n \n-- Revalidating the Data Cache in a [Route Handler](/docs/app/building... | 2023-11-17T03:41:40 |
golang/go | 2b8f21409480931b45c983853a78dc7984ed634e | 403e5f1cb174185a763745276e12156e8d70ba6a | os/exec: LookPath: use eaccess for exec check on linux
Having an executable bit set for a binary is not enough for it to be
executable -- there might be more checks in the kernel. For example,
binaries on a filesystem mounted with "noexec" flag couldn't be
executed. There might be other scenarios involving ACLs, SELin... | [
{
"path": "src/internal/syscall/unix/at_sysnum_linux.go",
"patch": "@@ -9,5 +9,9 @@ import \"syscall\"\n const unlinkatTrap uintptr = syscall.SYS_UNLINKAT\n const openatTrap uintptr = syscall.SYS_OPENAT\n \n-const AT_REMOVEDIR = 0x200\n-const AT_SYMLINK_NOFOLLOW = 0x100\n+const (\n+\tAT_EACCESS = 0... | 2022-06-28T22:40:29 |
electron/electron | 2749ded062c820e0680d802698a67eb82c8eab51 | 736d6afe730d297f58eca96df367676d7c6b013f | Fix c&p error | [
{
"path": "lib/browser/api/dialog.js",
"patch": "@@ -288,7 +288,7 @@ module.exports = {\n }\n \n let {certificate, message} = options\n- if (certificate == null || typeof options !== 'object') {\n+ if (certificate == null || typeof certificate !== 'object') {\n throw new TypeError('certi... | 2017-04-04T15:45:27 |
facebook/react | 42e20a1488031ce0f6d10bfcb89ec4b56a33e578 | 7cbbff01e7b1ddf5d2e12eeadaf77439fb0b4dc6 | Fix jshint warnings in grunt/
Fixes #1052.
Test Plan:
jshint grunt | [
{
"path": "grunt/config/webdriver-all.js",
"patch": "@@ -110,4 +110,4 @@ module.exports = function(props){\n }\n \n return exports;\n-}\n+};",
"additions": 1,
"deletions": 1,
"language": "JavaScript"
},
{
"path": "grunt/config/webdriver-perf.js",
"patch": "@@ -21,7 +21,7 @@ var p... | 2014-03-30T23:09:08 |
nodejs/node | eaa16cd477f671804a46b57bfdfe918a02334f4d | fcc183c99413750b1b965e45cb42a1af73da47ab | src: remove deprecated FinalizationRegistry hooks
PR-URL: https://github.com/nodejs/node/pull/33373
Fixes: https://github.com/nodejs/node/issues/33389
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By... | [
{
"path": "src/api/environment.cc",
"patch": "@@ -16,7 +16,6 @@ using errors::TryCatchScope;\n using v8::Array;\n using v8::Context;\n using v8::EscapableHandleScope;\n-using v8::FinalizationGroup;\n using v8::Function;\n using v8::FunctionCallbackInfo;\n using v8::HandleScope;\n@@ -82,15 +81,6 @@ static Ma... | 2020-05-12T18:26:38 |
vercel/next.js | 7d2be4be1593f14f8121fc566a6833cd81463775 | 10c794a371d6a1d480e1a96c60c7b3a6976c3210 | docs: Fix grammar in Caching section (#58070)
This PR fixes several grammar issues in
https://nextjs.org/docs/app/building-your-application/caching.
Co-authored-by: Lee Robinson <me@leerob.io> | [
{
"path": "docs/02-app/01-building-your-application/04-caching/index.mdx",
"patch": "@@ -120,7 +120,7 @@ fetch(url, { signal })\n \n Next.js has a built-in Data Cache that **persists** the result of data fetches across incoming **server requests** and **deployments**. This is possible because Next.js extend... | 2023-11-17T03:37:41 |
golang/go | 29af494fca8a25d7d46276f6d4835c4dcd09e47d | c83e1b6d5bd5378689a6485775a9a4f80c9c66ed | all: update vendored golang.org/x/net
Pull in security fix:
f3363e06e7 http2: handle server errors after sending GOAWAY
Fixes CVE-2022-27664
Fixes golang/go#54658
Change-Id: Ie1f58a8d769c7fd75c67d202c611a3abfd7dbb35
Reviewed-on: https://go-review.googlesource.com/c/go/+/428717
TryBot-Result: Gopher Robot <gobot... | [
{
"path": "src/go.mod",
"patch": "@@ -4,7 +4,7 @@ go 1.20\n \n require (\n \tgolang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa\n-\tgolang.org/x/net v0.0.0-20220805013720-a33c5aa5df48\n+\tgolang.org/x/net v0.0.0-20220906165146-f3363e06e74c\n )\n \n require (",
"additions": 1,
"deletions": 1,
... | 2022-09-06T16:58:29 |
facebook/react | 99e943dd1392f5ac4213f83346b9e3f259039e03 | 999b4cf1a84b045738413b2d2152c6472d118d3e | Clone objects in immutable tests
Fixes #1314, fixes #1328.
Test Plan:
`grunt test`, `grunt test --debug` in Chrome and Firefox. | [
{
"path": "src/vendor/immutable/__tests__/ImmutableObject-test.js",
"patch": "@@ -56,6 +56,14 @@ describe('ImmutableObject', function() {\n testProd(message + ':PROD', testFunc);\n };\n \n+ /**\n+ * Deep clone a JSON-ifiable object. Jasmine doesn't support comparing frozen\n+ * objects, so we clo... | 2014-03-30T03:01:23 |
nodejs/node | fcc183c99413750b1b965e45cb42a1af73da47ab | 3aa515210afaefcf99b3f4ad49239fc5738ef58d | build: enable `--error-on-warn` for POSIX workflows
Treat warnings as errors for non-deps code on Linux and macOS workflows.
Signed-off-by: Richard Lau <riclau@uk.ibm.com>
PR-URL: https://github.com/nodejs/node/pull/33357
Refs: https://github.com/nodejs/node/pull/32685
Reviewed-By: Michael Dawson <michael_dawson@ca.... | [
{
"path": ".github/workflows/test-linux.yml",
"patch": "@@ -18,6 +18,6 @@ jobs:\n - name: Environment Information\n run: npx envinfo\n - name: Build\n- run: make build-ci -j2 V=1\n+ run: make build-ci -j2 V=1 CONFIG_FLAGS=\"--error-on-warn\"\n - name: Test\n r... | 2020-05-11T14:28:51 |
facebook/react | 08baa114cced054fdd4717947319dfbe14a7c371 | 70a8c550237ad262044d81be61349ade99328245 | Make EventPluginUtils clear dispatchIDs and dispatchListeners
The other dispatch utils clear these out and I found a bug where they weren't being cleared out.
I'm thinking this should probably be done in the `SyntheticEvent` constructor but at least this way it's consistent. Also, I know no one else uses `executeDisp... | [
{
"path": "src/event/EventPluginUtils.js",
"patch": "@@ -135,7 +135,7 @@ function executeDispatchesInOrder(event, executeDispatch) {\n * @return id of the first dispatch execution who's listener returns true, or\n * null if no listener returned true.\n */\n-function executeDispatchesInOrderStopAtTrue(eve... | 2014-03-29T08:17:20 |
golang/go | c83e1b6d5bd5378689a6485775a9a4f80c9c66ed | c82304b7129d7e675ff010d54f58d039235e4802 | cmd/link,runtime: remove unused fields from inlinedCall
The parent, file, and line fields are no longer used now that we have
parentPc to find the parent and NOPs in the parent to attach file/line
pcdata to.
Removing these fields reduces the binary size of cmd/go on linux-amd64
by 1.1%.
Fixes #54849.
Change-Id: If5... | [
{
"path": "src/cmd/link/internal/ld/pcln.go",
"patch": "@@ -162,26 +162,22 @@ func genInlTreeSym(ctxt *Link, cu *sym.CompilationUnit, fi loader.FuncInfo, arch\n \tninl := fi.NumInlTree()\n \tfor i := 0; i < int(ninl); i++ {\n \t\tcall := fi.InlTree(i)\n-\t\tval := call.File\n \t\tnameoff, ok := nameOffsets[... | 2022-09-02T20:50:41 |
electron/electron | b3e865a4787b8b0aa844c8466a0b8ca83649314c | 398132cfe383f3e8cbc3742011596fcd4dceaed9 | Fix some style things | [
{
"path": "atom/browser/ui/certificate_trust_mac.mm",
"patch": "@@ -28,7 +28,7 @@ - (id)initWithCallback:(const certificate_trust::ShowTrustCallback&)callback\n certChain:(CFArrayRef)certChain\n secPolicy:(SecPolicyRef)secPolicy;\n \n-- (void)panelDidEnd:(NSWindow *)sheet\n+- (void)panelDidEnd:(... | 2017-04-04T01:22:14 |
nodejs/node | 3aa515210afaefcf99b3f4ad49239fc5738ef58d | 365ddb35036e7e140f5f07962c47bf1fd5f040b7 | build: fix `--error-on-warn` for macOS
XCode builds on macOS do not appear to inherit the `cflags` setting.
Signed-off-by: Richard Lau <riclau@uk.ibm.com>
PR-URL: https://github.com/nodejs/node/pull/33357
Refs: https://github.com/nodejs/node/pull/32685
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed... | [
{
"path": "node.gyp",
"patch": "@@ -378,6 +378,9 @@\n 'conditions': [\n [ 'error_on_warn==\"true\"', {\n 'cflags': ['-Werror'],\n+ 'xcode_settings': {\n+ 'WARNING_CFLAGS': [ '-Werror' ],\n+ },\n }],\n [ 'node_intermediate_lib_type==\"stati... | 2020-05-11T18:42:52 |
vercel/next.js | 56920b4b95ad5fc04a1b0b15d36436be1df5fcad | c72d1ea218022aa581c8d1428e735560e7c163e0 | fix(turbopack-ecmascript): support urlrewritebehavior::full (vercel/turbo#6413) | [
{
"path": "crates/turbopack-build/src/chunking_context.rs",
"patch": "@@ -147,6 +147,11 @@ impl BuildChunkingContext {\n this.into_value().cell()\n }\n \n+ #[turbo_tasks::function]\n+ pub fn asset_prefix(&self) -> Vc<Option<String>> {\n+ self.asset_prefix\n+ }\n+\n /// Genera... | 2023-11-17T01:39:56 |
electron/electron | 398132cfe383f3e8cbc3742011596fcd4dceaed9 | 370cf815d9ae4ce85c13b7dc725a76e5651169d6 | Fix file sorting | [
{
"path": "filenames.gypi",
"patch": "@@ -279,8 +279,8 @@\n 'atom/browser/ui/accelerator_util_views.cc',\n 'atom/browser/ui/atom_menu_model.cc',\n 'atom/browser/ui/atom_menu_model.h',\n- 'atom/browser/ui/certificate_trust_mac.mm',\n 'atom/browser/ui/certificate_trust.h',\n+ ... | 2017-04-04T01:19:00 |
golang/go | c82304b7129d7e675ff010d54f58d039235e4802 | 812fd2fe70112209557c4f6392ab8eaee6f68dda | cmd/compile: do not devirtualize defer/go calls
For defer/go calls, the function/method value are evaluated immediately.
So after devirtualizing, it may trigger a panic when implicitly deref
a nil pointer receiver, causing the program behaves unexpectedly.
It's safer to not devirtualizing defer/go calls at all.
Fixe... | [
{
"path": "src/cmd/compile/internal/devirtualize/devirtualize.go",
"patch": "@@ -17,9 +17,25 @@ import (\n // Func devirtualizes calls within fn where possible.\n func Func(fn *ir.Func) {\n \tir.CurFunc = fn\n+\n+\t// For promoted methods (including value-receiver methods promoted to pointer-receivers),\n+\... | 2022-09-06T05:54:54 |
nodejs/node | 365ddb35036e7e140f5f07962c47bf1fd5f040b7 | d28198b498b225ecd60379d486cb7aacbffbdfaa | test: refactor WPTRunner
- Print test results as soon as they are available, instead of
until after all the tests are complete. This helps us printing
tests whose completion callback is not called because of
failures.
- Run the scripts specified by `// META: script=` one by one
instead of concatenating them fi... | [
{
"path": "test/common/wpt.js",
"patch": "@@ -42,6 +42,18 @@ class ResourceLoader {\n this.path = path;\n }\n \n+ toRealFilePath(from, url) {\n+ // We need to patch this to load the WebIDL parser\n+ url = url.replace(\n+ '/resources/WebIDLParser.js',\n+ '/resources/webidl2/lib/webidl2... | 2020-05-06T08:09:34 |
vercel/next.js | ba3ef55f5c3f36c25559a2f49b8df07042132231 | df4c2aa8ecf25737356d9bf7aaa8a9e5122c0b72 | fix: fetch() behavior when "dynamic" is "force-dynamic (#58484)
### What?
I changed the behavior of fetch() when 'force-dynamic' is specified in the `dynamic` of Route Segment Config to be similar to when 'force-no-store' is specified in `fetchCache`.
### Why?
The document (https://nextjs.org/docs/app/api-reference... | [
{
"path": "packages/next/src/server/lib/patch-fetch.ts",
"patch": "@@ -257,7 +257,8 @@ export function patchFetch({\n const isOnlyNoStore =\n staticGenerationStore.fetchCache === 'only-no-store'\n const isForceNoStore =\n- staticGenerationStore.fetchCache === 'force-no-sto... | 2023-11-17T00:01:31 |
golang/go | 90f04dd4618339ffba8a46f46e8ab10a4e7de5c6 | 86f8b8d3f20129dce7a220d4ce32d13e766ba86a | net/http: clarify proxy selection from environment
For #40909
Fixes #54890
Change-Id: I00218bc1606eedb6194a3a7b81fd4d3f75325280
Reviewed-on: https://go-review.googlesource.com/c/go/+/428775
Reviewed-by: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Michael Knyszek <mknyszek@go... | [
{
"path": "src/net/http/transport.go",
"patch": "@@ -422,8 +422,8 @@ func (t *Transport) onceSetNextProtoDefaults() {\n // ProxyFromEnvironment returns the URL of the proxy to use for a\n // given request, as indicated by the environment variables\n // HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase ... | 2022-09-06T17:22:44 |
rust-lang/rust | e13e1e4c0c3253d25e2571ed7e58b3a02e28e922 | 61cb1e97fcf954c37d0a457a8084ed9ad8b3cb82 | fix(debuginfo): handle false positives in overflow check | [
{
"path": "compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs",
"patch": "@@ -276,7 +276,7 @@ pub(super) fn build_type_with_children<'ll, 'tcx>(\n && let ty::Adt(adt_def, args) = ty.kind()\n {\n let def_id = adt_def.did();\n- // If any sub type reference the original t... | 2025-08-12T09:13:13 |
facebook/react | 5fc2ecbe92c936128db32dc868467121045fb2c6 | e5c8831f903d8304a07dacc39e78c3bb111270e7 | Fix minor typo in `update` `$push` directive | [
{
"path": "docs/docs/09.6-update.md",
"patch": "@@ -45,7 +45,7 @@ While this is fairly performant (since it only shallow copies `log n` objects an\n ```javascript\n var newData = React.addons.update(myData, {\n x: {y: {z: {$set: 7}}},\n- a: {b: {$push: [7]}}\n+ a: {b: {$push: [9]}}\n });\n ```\n ",
... | 2014-03-28T23:33:03 |
nodejs/node | d28198b498b225ecd60379d486cb7aacbffbdfaa | e1b90be3b7c687fcf263db72862b6a199d239f89 | test: update WPT interfaces and hr-time
This commit updates the interfaces to
https://github.com/web-platform-tests/wpt/tree/8ada332aea/interfaces
and updates the hr-time test status:
- `window-worker-timeOrigin.window.js` should be skipped because we
don't implement `Blob`
- `idlharness.any.js` should be skipped s... | [
{
"path": "test/fixtures/wpt/README.md",
"patch": "@@ -14,7 +14,7 @@ Last update:\n - encoding: https://github.com/web-platform-tests/wpt/tree/5059d2c777/encoding\n - url: https://github.com/web-platform-tests/wpt/tree/418f7fabeb/url\n - resources: https://github.com/web-platform-tests/wpt/tree/e1fddfbf80/r... | 2020-05-12T11:47:07 |
vercel/next.js | df4c2aa8ecf25737356d9bf7aaa8a9e5122c0b72 | 82beef92a4785cf92ad07b40b544db2b290b8234 | fix: revalidation with file-system-cache (#58508)
### What?
When using the file system cache with `isrMemoryCacheSize: 0`, time-based revalidation is not working, and the file is constantly updated. I have also added some debug logging to mirror that in the `fetch-cache` handler
Detailed explanation in #58507
### W... | [
{
"path": "packages/next/src/server/lib/incremental-cache/file-system-cache.ts",
"patch": "@@ -38,6 +38,7 @@ export default class FileSystemCache implements CacheHandler {\n private tagsManifestPath?: string\n private revalidatedTags: string[]\n private readonly experimental: { ppr: boolean }\n+ priv... | 2023-11-16T23:34:50 |
electron/electron | e85e483c710097a2bf890e52e398044a6d9c1673 | 257f6b142f6e726dae1f767727e7255cbc2162b0 | Parse setting response to surface thrown errors | [
{
"path": "lib/renderer/api/remote.js",
"patch": "@@ -139,7 +139,12 @@ const setObjectMembers = function (ref, object, metaId, members) {\n // Only set setter when it is writable.\n if (member.writable) {\n descriptor.set = function (value) {\n- ipcRenderer.sendSync('ELECTRON_BR... | 2017-04-03T16:11:06 |
rust-lang/rust | 5e4f465655157365c016834dd3db6045d649483c | a1531335fe2807715fff569904d99602022643a7 | fix typo | [
{
"path": "library/core/src/ops/range.rs",
"patch": "@@ -853,7 +853,7 @@ pub trait RangeBounds<T: ?Sized> {\n /// assert!( RangeBounds::is_empty(&(f32::NAN..5.0)));\n /// ```\n ///\n- /// But never empty is either side is unbounded:\n+ /// But never empty if either side is unbounded:\n ... | 2025-08-12T07:43:17 |
facebook/react | c0de6b51ff17ea94bfc57e66b801d54d1587adb3 | 7982ba0571df014f46867ccc628723e33276e156 | Fix spelling of 'existence' | [
{
"path": "src/browser/ui/ReactDOMComponent.js",
"patch": "@@ -212,7 +212,7 @@ ReactDOMComponent.Mixin = {\n // we can do a cheap identity compare here to determine if this is a\n // superfluous reconcile. It's possible for state to be mutable but such\n // change should trigger an update ... | 2014-03-28T20:44:03 |
nodejs/node | 5bb4d01fbe1242c89eda198b92c0899da3736dbd | 0ddae48b888838b27a1878e636444e968237e61b | doc: add note about clientError writable handling
PR-URL: https://github.com/nodejs/node/pull/33308
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "doc/api/http.md",
"patch": "@@ -1045,6 +1045,21 @@ ensure the response is a properly formatted HTTP response message.\n correctly;\n * `rawPacket`: the raw packet of current request.\n \n+In some cases, the client has already received the response and/or the socket\n+has already been destroyed,... | 2020-05-08T10:27:52 |
vercel/next.js | 85a77c4c34aec536cab175fd0337a7d7a19e51cd | 4deb69793ea63927dcaf8875f231518f3a475c7d | turbopack: Fix pageExtensions with dots (#58504)
### What?
Fixes finding Page/App pages when using a `pageExtension` that itself contains a `.`. Eg, `pages/index.page.js` should match as a Page when using `pageExtensions: ["page.js"]`
### Why?
Matching webpack configurations.
### How?
We split in reverse directio... | [
{
"path": "packages/next-swc/crates/next-core/src/pages_structure.rs",
"patch": "@@ -377,12 +377,10 @@ async fn get_pages_structure_for_directory(\n }\n \n fn page_basename<'a>(name: &'a str, page_extensions: &'a [String]) -> Option<&'a str> {\n- if let Some((basename, extension)) = name.rsplit_once('.')... | 2023-11-16T23:03:27 |
electron/electron | bcecba20e6096e3b8ebeef3daa3a4397d201b6c3 | 4ffaf2cd99d44b8d143dcc2a4bf81e7a641144a0 | Fix indentation | [
{
"path": "atom/browser/api/atom_api_dialog.cc",
"patch": "@@ -123,10 +123,10 @@ void ShowSaveDialog(const file_dialog::DialogSettings& settings,\n \n // #if defined(OS_MACOSX)\n void ShowCertificateTrust(atom::NativeWindow* parent_window,\n- const scoped_refptr<net::X509Certif... | 2017-04-03T19:09:24 |
rust-lang/rust | e4540224229d10a9a537519cad8a64f01060c0ea | a1531335fe2807715fff569904d99602022643a7 | bootstrap: Only warn about `rust.debug-assertions` if downloading rustc | [
{
"path": "src/bootstrap/src/core/config/config.rs",
"patch": "@@ -955,7 +955,7 @@ impl Config {\n config.download_rustc_commit =\n download_ci_rustc_commit(dwn_ctx, rust_download_rustc, config.llvm_assertions);\n \n- if debug_assertions_requested {\n+ if debug_assertions_r... | 2025-08-12T07:11:58 |
nodejs/node | aa01fcae49ed7558a690e7143ac87fd7ff7508ab | d1156d0d2f9ff49e48f3421d62068cd13df04c75 | test: fix test-zlib-unused-weak on V8 8.2
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/1997438
Ref: https://chromium-review.googlesource.com/c/v8/v8/+/2010107
Ref: https://github.com/nodejs/node-v8/issues/144
Signed-off-by: Matheus Marchini <mmarchini@netflix.com>
PR-URL: https://github.com/nodejs/node/pul... | [
{
"path": "test/parallel/test-zlib-unused-weak.js",
"patch": "@@ -1,5 +1,5 @@\n 'use strict';\n-// Flags: --expose-gc\n+// Flags: --expose-gc --no-concurrent-array-buffer-sweeping\n require('../common');\n const assert = require('assert');\n const zlib = require('zlib');",
"additions": 1,
"deletions... | 2020-03-14T02:26:57 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.