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 |
|---|---|---|---|---|---|
golang/go | 0750107074c39f7b846515de47c2857cbdb7e3d6 | e5017a93fcde94f09836200bca55324af037ee5f | go/token: use atomics not Mutex for last file cache
Previously, FileSet would cache the last *File found by a lookup,
using a full (exclusive) mutex within FileSet.File, turning a logical
read operation into an update. This was one of the largest sources
of contention in gopls. This change uses atomic load/store on t... | [
{
"path": "src/go/token/position.go",
"patch": "@@ -8,6 +8,7 @@ import (\n \t\"fmt\"\n \t\"sort\"\n \t\"sync\"\n+\t\"sync/atomic\"\n )\n \n // -----------------------------------------------------------------------------\n@@ -366,10 +367,10 @@ func (f *File) Position(p Pos) (pos Position) {\n // interval la... | 2022-06-29T17:08:11 |
electron/electron | 5e8059e0fae4138a823773a8a032c27cae772102 | 08a9af3a85f205a26656630205bcccab75ee61e4 | Fix method names, move to anon namespace | [
{
"path": "atom/common/platform_util_mac.mm",
"patch": "@@ -17,6 +17,44 @@\n #include \"net/base/mac/url_conversions.h\"\n #include \"url/gurl.h\"\n \n+namespace {\n+\n+bool OpenURLInWorkspace(NSURL* ns_url, NSUInteger launchOptions) {\n+ return [[NSWorkspace sharedWorkspace] openURLs: @[ns_url]\n+ ... | 2016-10-25T22:19:34 |
vercel/next.js | f2ad08e2c8a84c7480b461148ee04ab4d4a771d9 | 646ae98d8d43e8bb248275b8aa3f6bbe4e5cc76c | Ensure tests suites have unique names (#56085)
Currently these share the same name which makes it hard to track down
which failed.
I think this was accidental based on the previous `pnpm new-test`
workflow.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as... | [
{
"path": "test/e2e/next-head/index.test.ts",
"patch": "@@ -5,7 +5,7 @@ import webdriver from 'next-webdriver'\n import { NextInstance } from 'test/lib/next-modes/base'\n import { join } from 'path'\n \n-describe('should set-up next', () => {\n+describe('next/head', () => {\n let next: NextInstance\n \n ... | 2023-09-27T11:55:45 |
facebook/react | a4123a069ef05b6fdbb065d060baee47a61ec3ec | a5ddb07cb3d390cde3d294533cc1aaac763f0b48 | Continue over ID-less children in ReactMount.findComponentRoot.
This fixes our perf test by coping with edge cases like the
injection of `<tbody>` between `<table>` and `<tr>` nodes, which occurs
automatically in some browsers when we set `.innerHTML`.
Introducing more search branches would be risky if not for my pre... | [
{
"path": "src/core/ReactInstanceHandles.js",
"patch": "@@ -303,6 +303,13 @@ var ReactInstanceHandles = {\n firstChildren.push(child.firstChild);\n break;\n }\n+ } else {\n+ // If this child had no ID, then there's a chance that it was\n+ // injecte... | 2013-07-08T18:48:44 |
nodejs/node | 375c7649ec8a67aaf5524df762f221168716a523 | 7cbec42178ca2919c045f1120e2318d3ceaea658 | build: add configure option to debug only Node.js part of the binary
Building Node.js with `--debug` takes a long time and generates
binaries that can be hard to work with due to their size, in
particular because debug builds of V8 are large.
Sometimes, it’s sufficient to build the Node.js parts with native
debugging... | [
{
"path": "configure.py",
"patch": "@@ -89,6 +89,11 @@\n dest='debug',\n help='also build debug build')\n \n+parser.add_option('--debug-node',\n+ action='store_true',\n+ dest='debug_node',\n+ help='build the Node.js part of the binary with debugging symbols')\n+\n parser.add_option('--dest-... | 2020-02-05T14:24:14 |
golang/go | e5017a93fcde94f09836200bca55324af037ee5f | 20760cff001e9acc05627dfeab42ea50b57920e6 | net/http: don't strip whitespace from Transfer-Encoding headers
Do not accept "Transfer-Encoding: \rchunked" as a valid TE header
setting chunked encoding.
Thanks to Zeyu Zhang (https://www.zeyu2001.com/) for identifying
the issue.
Fixes #53188
Fixes CVE-2022-1705
Change-Id: I1a16631425159267f2eca68056b057192a7edf6... | [
{
"path": "src/net/http/serve_test.go",
"patch": "@@ -6245,6 +6245,7 @@ func TestUnsupportedTransferEncodingsReturn501(t *testing.T) {\n \t\t\"fugazi\",\n \t\t\"foo-bar\",\n \t\t\"unknown\",\n+\t\t\"\\rchunked\",\n \t}\n \n \tfor _, badTE := range unsupportedTEs {",
"additions": 1,
"deletions": 0,
... | 2022-06-01T18:17:07 |
electron/electron | d186fd78e3fbfc6c64df2d5a161b6be928aa46d8 | 6524a33ffc883ee325c663ac2cccb28fa7505832 | Fix header | [
{
"path": "atom/common/platform_util_linux.cc",
"patch": "@@ -6,7 +6,7 @@\n \n #include <stdio.h>\n \n-#include \"base/callback_forward.h\"\n+#include \"base/cancelable_callback.h\"\n #include \"base/files/file_util.h\"\n #include \"base/process/kill.h\"\n #include \"base/process/launch.h\"",
"additions... | 2016-10-21T00:08:05 |
facebook/react | a5ddb07cb3d390cde3d294533cc1aaac763f0b48 | 917e101c2c687387ebb50d79948094fd2ead2644 | Make ReactMount.findComponentRoot breadth-first & non-recursive.
This function needs to be as fast as possible for those cases when
`ReactID.getNode` can't rely on the `nodeCache`.
Breadth-first search prevents us from diving too deeply down the wrong
branches when the sought-after node can be found at a shallower le... | [
{
"path": "src/core/ReactInstanceHandles.js",
"patch": "@@ -284,18 +284,30 @@ var ReactInstanceHandles = {\n * @internal\n */\n findComponentRoot: function(ancestorNode, id) {\n- var child = ancestorNode.firstChild;\n- while (child) {\n- var childID = ReactID.getID(child);\n- if (chi... | 2013-07-08T18:48:39 |
vercel/next.js | 646ae98d8d43e8bb248275b8aa3f6bbe4e5cc76c | ef4faa5f9c3b35014bab740afa149b970cb1d769 | Skip more production tests for turbopack (#56084)
Follow-up to #56045.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're mak... | [
{
"path": "test/integration/image-optimizer/test/util.ts",
"patch": "@@ -1369,20 +1369,72 @@ export const setupTests = (ctx) => {\n \n runTests(curCtx)\n })\n+ ;(process.env.TURBOPACK ? describe.skip : describe)(\n+ 'Production Mode Server support w/o next.config.js',\n+ () => {\n+ ... | 2023-09-27T11:45:39 |
nodejs/node | 8a14884babdcfaaf0571c95830b3e7478c18afdb | 0279c2f28bedae92a7be3e1c67794e66432cf4b7 | test: fix test-benchmark-http
fe3975783cc4fdba47c2e25442ca891aab31e805 added a setting to a benchmark
which needs to be reflected in the test.
PR-URL: https://github.com/nodejs/node/pull/31686
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com> | [
{
"path": "test/benchmark/test-benchmark-http.js",
"patch": "@@ -29,6 +29,7 @@ runBenchmark('http',\n 'type=asc',\n 'url=long',\n 'value=X-Powered-By',\n+ 'w=0',\n ],\n {\n NODEJS_BENCHMARK_ZERO_ALLOWED: 1,",... | 2020-02-07T21:42:07 |
golang/go | 20760cff001e9acc05627dfeab42ea50b57920e6 | e6c0546c54f6f3fa7c6cb5002ecc839bc89d5d20 | runtime: add race annotations to cbs.lock
cbs.lock protects a map. The map implementation is race instrumented
regardless of which package is it called from.
lock/unlock are not automatically race instrumented, so we can trigger
race false positives without manually annotating our lock acquire and
release.
compileCa... | [
{
"path": "src/runtime/syscall_windows.go",
"patch": "@@ -12,12 +12,30 @@ import (\n \n // cbs stores all registered Go callbacks.\n var cbs struct {\n-\tlock mutex\n+\tlock mutex // use cbsLock / cbsUnlock for race instrumentation.\n \tctxt [cb_max]winCallback\n \tindex map[winCallbackKey]int\n \tn ... | 2022-06-28T20:32:50 |
rust-lang/rust | de02a32cf1203a9c9efb97a66dac44b7c646bb24 | 552904134b564a74489db50aebe7070fdcce895c | Fix typo in `DropGuard` doc | [
{
"path": "library/core/src/mem/drop_guard.rs",
"patch": "@@ -4,7 +4,7 @@ use crate::ops::{Deref, DerefMut};\n \n /// Wrap a value and run a closure when dropped.\n ///\n-/// This is useful for quickly creating desructors inline.\n+/// This is useful for quickly creating destructors inline.\n ///\n /// # Ex... | 2025-07-29T11:24:41 |
electron/electron | cfd2a029add3eabf5d59a0b7c83d931e55169421 | c78567aba6fad051452c4477cdea4f2c4a030437 | Fix linting | [
{
"path": "atom/common/api/atom_api_shell.cc",
"patch": "@@ -60,7 +60,8 @@ bool OpenExternal(\n if (args->Length() >= 3) {\n v8::Local<v8::Value> peek = args->PeekNext();\n platform_util::OpenExternalCallback callback;\n- if (mate::Converter<platform_util::OpenExternalCallback>::FromV8(args->is... | 2016-10-14T19:38:55 |
vercel/next.js | 9fd5b96e1f6eae31a75d52c216097695a70f46f2 | 80635d8a60fa4ff93ab8a2c6d449c59bd7fa93e6 | Make `permanentRedirect` return 308 in route handlers (#56065)
### Why?
`permanentRedirect` currently still returns a 307 response if called inside a route handler
<img width="465" alt="image" src="https://github.com/vercel/next.js/assets/44609036/e0cddd37-0292-4865-a423-7bf11ad6beae">
This PR tries to fix that.
... | [
{
"path": "packages/next/src/server/future/route-modules/app-route/helpers/resolve-handler-error.ts",
"patch": "@@ -1,11 +1,12 @@\n+import { getRedirectStatusCodeFromError } from '../../../../../client/components/get-redirect-status-code-from-error'\n import { isNotFoundError } from '../../../../../client/c... | 2023-09-27T10:28:30 |
golang/go | d6481d5b9662b29453004204746945a93a6b4eb2 | bd1783e812bf10f5829b742135ef886623cccc5c | runtime: add race annotations to metricsSema
metricsSema protects the metrics map. The map implementation is race
instrumented regardless of which package is it called from.
semacquire/semrelease are not automatically race instrumented, so we can
trigger race false positives without manually annotating our lock
acqui... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -312,9 +312,9 @@ func ReadMetricsSlow(memStats *MemStats, samplesp unsafe.Pointer, len, cap int)\n \n \t// Initialize the metrics beforehand because this could\n \t// allocate and skew the stats.\n-\tsemacquire(&metricsSema)\n+\tmetricsLock()\n \tinitMetr... | 2022-06-28T19:17:12 |
facebook/react | c692d9e84421447b65fd23d31ac16b81fa055005 | 32423a83fc9c9c8dc1eac8f769a581e09a2ba74f | Fix ChangeEventPlugin for IE8 and IE9
This fixes a bug with `ChangeEventPlugin` in IE8 and IE9. The extend of this bug includes:
- On IE8, not firing `onChange` immediately after `value` of an input is changed.
- On IE9, not firing `onChange` when backspacing. | [
{
"path": "src/eventPlugins/ChangeEventPlugin.js",
"patch": "@@ -242,7 +242,7 @@ function getTargetIDForInputEvent(\n }\n }\n \n-// For IE8 and IE9\n+// For IE8 and IE9.\n function handleEventsForInputEventIE(\n topLevelType,\n topLevelTarget,\n@@ -265,8 +265,15 @@ function handleEventsForInputEv... | 2013-07-03T18:33:09 |
nodejs/node | 0279c2f28bedae92a7be3e1c67794e66432cf4b7 | 8c18e91c8afc0629a097ecb193e41eab058d02bb | test: fix flaky test-inspector-connect-main-thread
Previously, the test waited for a (any) message from the workers,
and then attached another event listener to a specific kind of
message. However, it was possible that the second listener was
attached after the Worker had already exited, thus never receiving
the messa... | [
{
"path": "test/parallel/test-inspector-connect-main-thread.js",
"patch": "@@ -50,28 +50,19 @@ function startWorker(skipChild, sharedBuffer) {\n console.error(e);\n throw e;\n });\n- worker.once('message', (m) => {\n+ // Add 2 promises to the worker, one resolved when a message with a\... | 2020-02-04T22:27:28 |
vercel/next.js | 80635d8a60fa4ff93ab8a2c6d449c59bd7fa93e6 | a751bbf6422d449ac708cfde50db9acd1b91c5b5 | fix reporting of illegal segments when directory only contains irrelevant files (#56076)
### What?
fixes
```
[Error: Invalid segment components, catch all segment must be the last segment
Debug info:
- Execution of directory_tree_to_entrypoints_internal failed
- Invalid segment components, catch all segment must be... | [
{
"path": "packages/next-swc/crates/next-core/src/app_structure.rs",
"patch": "@@ -721,7 +721,7 @@ async fn directory_tree_to_entrypoints_internal(\n add_app_page(\n app_dir,\n &mut result,\n- app_page.clone().complete(PageType::Page)?,\n+ app_page.compl... | 2023-09-27T10:04:10 |
golang/go | 160414ca6a30a210b82fb09abbd3541802a51017 | a30f4346674ec43bf576e6f56a9cd1c7ca482e1f | cmd/internal/obj/arm64: fix BITCON constant printing error
For some 32-bit instructions whose first operand is a constant, we
copy the lower 32 bits of the constant into the upper 32 bits in progedit,
which leads to the wrong value being printed in -S output.
The purpose of this is that we don't need to distinguish b... | [
{
"path": "src/cmd/internal/obj/arm64/asm7.go",
"patch": "@@ -1557,6 +1557,10 @@ func sequenceOfOnes(x uint64) bool {\n // N=0, S=11110x -- period=2\n // R is the shift amount, low bits of S = n-1\n func bitconEncode(x uint64, mode int) uint32 {\n+\tif mode == 32 {\n+\t\tx &= 0xffffffff\n+\t\tx = x<<32 | x\... | 2022-06-26T09:39:09 |
vercel/next.js | f3cb952873600c3fe14c85fd21086efe3a9d8175 | cf3d73a46b545cdd8e3f68b1fc17da673c9692e1 | fix(worker): pass env to build worker w/ `config.experimental.workerThreads` (#55257)
**TL; DR**
The PR updates the `jest-worker` to the latest `@27` (which is `jest-worker@27.5.1`) and pre-compile.
---
I use `config.experimental.workerThreads` for my personal website built with Next.js, and I noticed that the reac... | [
{
"path": "packages/next/package.json",
"patch": "@@ -244,7 +244,7 @@\n \"image-size\": \"1.0.0\",\n \"is-docker\": \"2.0.0\",\n \"is-wsl\": \"2.2.0\",\n- \"jest-worker\": \"27.0.0-next.5\",\n+ \"jest-worker\": \"27.5.1\",\n \"json5\": \"2.2.3\",\n \"jsonwebtoken\": \"9.0.0\",\n ... | 2023-09-27T04:41:26 |
nodejs/node | f3682102dca1d24959e93de918fbb583f19ee688 | 3271c40ab102841735aa55f6489fe9df2cd47fcc | src: give Http2Session JS fields their own backing store
It looks like it’s virtually impossible at this point to
create “fake” backing stores for objects that don’t fully
own their memory allocations, like the sub-field `js_fields_`
of `Http2Session`. In particular, it turns out that an
`ArrayBuffer` cannot always be... | [
{
"path": "src/node_http2.cc",
"patch": "@@ -568,42 +568,23 @@ Http2Session::Http2Session(Environment* env,\n outgoing_storage_.reserve(1024);\n outgoing_buffers_.reserve(32);\n \n- {\n- // Make the js_fields_ property accessible to JS land.\n- std::unique_ptr<BackingStore> backing =\n- Ar... | 2020-02-05T15:45:58 |
golang/go | a30f4346674ec43bf576e6f56a9cd1c7ca482e1f | 3580ef9d64bdc0176cde032d170737a6e67ef8f2 | cmd/go: pass --no-decorate when listing git tags for a commit
This avoids a parse error when the user's global .gitconfig sets
log.decorate to true.
Fixes #51312.
Change-Id: Ic47b0f604c0c3a404ec50d6e09f4e138045ac2f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/387835
Run-TryBot: Bryan Mills <bcmills@google... | [
{
"path": "src/cmd/go/internal/modfetch/codehost/git.go",
"patch": "@@ -447,7 +447,7 @@ func (r *gitRepo) fetchRefsLocked() error {\n // statLocal returns a RevInfo describing rev in the local git repository.\n // It uses version as info.Version.\n func (r *gitRepo) statLocal(version, rev string) (*RevInfo,... | 2022-03-03T05:33:38 |
vercel/next.js | b596de89d348c153283b444cde0f2d8cef0170bc | a961ec0d5f74b60134e7c8dddefec41f474d9978 | Fix invalid build-and-test workflow (#56053)
x-ref: https://vercel.slack.com/archives/C04KC8A53T7/p1695763819725649 | [
{
"path": ".github/workflows/build_and_test.yml",
"patch": "@@ -151,21 +151,6 @@ jobs:\n afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS=\"$(pwd)/test/turbopack-tests-manifest.json\" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration\n ... | 2023-09-26T21:45:49 |
nodejs/node | 3271c40ab102841735aa55f6489fe9df2cd47fcc | d394dd78de600e89ceea02b3582435e50f249aa4 | src: remove fixed-size GetHumanReadableProcessName
Remove the version of GetHumanReadableProcessName() that operates on a
fixed-size buffer.
The only remaining caller is Assert() which might get called in contexts
where dynamically allocating memory isn't possible but as Assert() calls
printf(), which also allocates ... | [
{
"path": "src/node_errors.cc",
"patch": "@@ -242,12 +242,11 @@ void AppendExceptionLine(Environment* env,\n }\n \n [[noreturn]] void Assert(const AssertionInfo& info) {\n- char name[1024];\n- GetHumanReadableProcessName(&name);\n+ std::string name = GetHumanReadableProcessName();\n \n fprintf(stderr,\... | 2020-02-04T14:52:39 |
golang/go | 3580ef9d64bdc0176cde032d170737a6e67ef8f2 | 34f3ac5f165d50356d3a8940dc87b77e9b2b7fb9 | os/exec: on Windows, suppress ErrDot if the implicit path matches the explicit one
If the current directory is also listed explicitly in %PATH%,
this changes the behavior of LookPath to prefer the explicit name for it
(and thereby avoid ErrDot).
However, in order to avoid running a different executable from what
woul... | [
{
"path": "src/os/exec/dot_test.go",
"patch": "@@ -15,6 +15,13 @@ import (\n \t\"testing\"\n )\n \n+var pathVar string = func() string {\n+\tif runtime.GOOS == \"plan9\" {\n+\t\treturn \"path\"\n+\t}\n+\treturn \"PATH\"\n+}()\n+\n func TestLookPath(t *testing.T) {\n \ttestenv.MustHaveExec(t)\n \n@@ -42,22 +... | 2022-06-24T19:36:25 |
electron/electron | 128feb17cb1751adbd452bb73b46cb6488d8a783 | 3eb5f8d52147e7a589dabbbf151743995dca7b09 | Fix method call | [
{
"path": "atom/common/platform_util_linux.cc",
"patch": "@@ -95,7 +95,7 @@ bool OpenExternal(const GURL& url, bool activate) {\n bool OpenExternal(const GURL& url, bool activate, const OpenExternalCallback& callback) {\n // TODO: Implement async open if callback is specified\n bool opened = openExterna... | 2016-10-14T02:16:47 |
facebook/react | e748be32da843211e68e60e3ec247bbfeef1d33a | 0ad14fc0380e9221fa191da6924c869232bf4768 | Bump Commoner version to fix EMFILE errors.
Finally found a more robust solution for the "too many open files"
problem: https://github.com/benjamn/commoner/commit/ad72ba42db.
Closes #137.
Closes #138. | [
{
"path": "package.json",
"patch": "@@ -36,7 +36,7 @@\n },\n \"dependencies\": {\n \"base62\": \"~0.1.1\",\n- \"commoner\": \"~0.7.0\",\n+ \"commoner\": \"~0.7.1\",\n \"esprima\": \"https://github.com/facebook/esprima/tarball/a3e0ea3979eb8d54d8bfade220c272903f928b1e\",\n \"recast\": \"... | 2013-07-01T20:29:56 |
nodejs/node | d394dd78de600e89ceea02b3582435e50f249aa4 | 7df429808ca336b6aa868a9ae1ceb6117c68e7c4 | src: fix OOB reads in process.title getter
The getter passed a stack-allocated, fixed-size buffer to
uv_get_process_title() but neglected to check the return value.
When the total length of the command line arguments exceeds the size of
the buffer, libuv returns UV_ENOBUFS and doesn't modify the contents of
the buffe... | [
{
"path": "src/node_internals.h",
"patch": "@@ -95,6 +95,7 @@ void ResetStdio(); // Safe to call more than once and from signal handlers.\n void SignalExit(int signal, siginfo_t* info, void* ucontext);\n #endif\n \n+std::string GetProcessTitle(const char* default_title);\n std::string GetHumanReadableProce... | 2020-02-04T14:52:39 |
golang/go | 34f3ac5f165d50356d3a8940dc87b77e9b2b7fb9 | 7df0a002e64e92f35db5a70e64345651ad2cbf97 | cmd/compile: fix generic inter-inter comparisons from value switch statements
If value is a non-empty interface and has shape, we still need to
convert it to an interface{} first.
Fixes #53477
Change-Id: I516063ba4429a6cc24c483758387ec13815fc63e
Reviewed-on: https://go-review.googlesource.com/c/go/+/414834
Reviewed-... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -1214,7 +1214,7 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\tif m.Tag != nil && m.Tag.Op() == ir.OTYPESW {\n \t\t\t\tbreak // Nothing to do here for type switches.\n \t\t\t}\n-\t\t\tif m.Tag != nil && !m.Tag.Type().IsInterface... | 2022-06-28T17:07:37 |
electron/electron | 3eb5f8d52147e7a589dabbbf151743995dca7b09 | b266533dfc8f4ae0f2c00771ef1b2f03ee99cda3 | Fix typo | [
{
"path": "atom/common/platform_util_win.cc",
"patch": "@@ -322,7 +322,7 @@ bool OpenExternal(const base::string16& url, bool activate) {\n \n bool OpenExternal(const base::string16& url, bool activate, const OpenExternalCallback& callback) {\n // TODO: Implement async open if callback is specified\n- bo... | 2016-10-14T02:10:12 |
nodejs/node | 7df429808ca336b6aa868a9ae1ceb6117c68e7c4 | aee3e2bc4ca40538c9f470cbf67fed20de9f6dc0 | doc: clarify Worker exit/message event ordering
Motivated by the fact that getting this wrong has led to flaky
tests in our test suite.
Refs: https://github.com/nodejs/node/pull/31637
PR-URL: https://github.com/nodejs/node/pull/31642
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihr... | [
{
"path": "doc/api/worker_threads.md",
"patch": "@@ -584,6 +584,8 @@ exited by calling [`process.exit()`][], the `exitCode` parameter will be the\n passed exit code. If the worker was terminated, the `exitCode` parameter will\n be `1`.\n \n+This is the final event emitted by any `Worker` instance.\n+\n ### ... | 2020-02-05T12:09:11 |
golang/go | 7df0a002e64e92f35db5a70e64345651ad2cbf97 | d5bf9604aa597d23085435701f5f8d1584596dbd | cmd/go/internal/modfetch: cache latest revinfo in Versions func
The responses have been cached by the web2 package before removed
it in CL 170879. This change add latest revinfo cache in Versions
func.
Fixes #51391
Change-Id: I73597e0a6b4938238e69d85e1cbbaa9007776db3
Reviewed-on: https://go-review.googlesource.com/c... | [
{
"path": "src/cmd/go/internal/modfetch/proxy.go",
"patch": "@@ -187,6 +187,10 @@ type proxyRepo struct {\n \turl *url.URL\n \tpath string\n \tredactedURL string\n+\n+\tlistLatestOnce sync.Once\n+\tlistLatest *RevInfo\n+\tlistLatestErr error\n }\n \n func newProxyRepo(baseURL, path strin... | 2022-05-01T06:32:02 |
facebook/react | 40bebf0c861700b387dc848a2538eef4b96778a4 | f39a0f8e40a8aeb0f6d6e5e63be2a38a89f3fb5d | Fix `ReactDOMInput` and `ReactDOMTextarea` Race Condition
This fixes a race condition if the `onClick` tries to update the input or textarea (e.g. by calling `setState`):
<input
onClick={function(event) {
this.setState({somethingElse: true}); // Triggers an update.
// event.target.value is now equal... | [
{
"path": "src/dom/components/ReactDOMInput.js",
"patch": "@@ -52,6 +52,11 @@ var ReactDOMInput = ReactCompositeComponent.createClass({\n };\n },\n \n+ shouldComponentUpdate: function() {\n+ // Defer any updates to this component during the `onChange` handler.\n+ return !this._isChanging;\n+ }... | 2013-07-01T19:59:18 |
electron/electron | 5979dab13cbcd1270ec35961c8e9b90c908cd946 | c9739abf7fae03edd89fdd8dd9988306b69905be | fix some class headings | [
{
"path": "docs/api/menu-item.md",
"patch": "@@ -1,15 +1,11 @@\n-# MenuItem\n+## Class: MenuItem\n \n > Add items to native application menus and context menus.\n \n Process: [Main](../tutorial/quick-start.md#main-process)\n \n See [`Menu`](menu.md) for examples.\n \n-## Class: MenuItem\n-\n-Create a new `M... | 2016-11-15T00:24:48 |
nodejs/node | a555be2e45b283a201de21350c0115680a7d4e7c | e2a3a87060af4c48b2551d20dfede33183b1931d | worker: improve MessagePort performance
Use a JS function as the single entry point for emitting `.onmessage()`
calls, avoiding the overhead of manually constructing each message
event object in C++.
confidence improvement accuracy (*) (**... | [
{
"path": "lib/internal/per_context/messageport.js",
"patch": "@@ -0,0 +1,12 @@\n+'use strict';\n+class MessageEvent {\n+ constructor(data, target) {\n+ this.data = data;\n+ this.target = target;\n+ }\n+}\n+\n+exports.emitMessage = function(data) {\n+ if (typeof this.onmessage === 'function')\n+ ... | 2020-02-01T16:16:23 |
golang/go | a6e5be0d30770e8bd1ba1e4bac2089218df121d9 | d3ffff2790059226ae3aa90856d687e138701b5c | cmd/go: omit build metadata that may contain system paths when -trimpath is set
CGO flag variables often include system paths for header files and
compiled libraries. The point of -trimpath is to avoid dependending on
system paths, so stamping these variables is counterproductive.
Moreover, the point of stamping buil... | [
{
"path": "src/cmd/go/internal/load/pkg.go",
"patch": "@@ -2347,7 +2347,17 @@ func (p *Package) setBuildInfo(includeVCS bool) {\n \t\tappendSetting(\"-gcflags\", gcflags)\n \t}\n \tif ldflags := BuildLdflags.String(); ldflags != \"\" {\n-\t\tappendSetting(\"-ldflags\", ldflags)\n+\t\t// https://go.dev/issue... | 2022-05-27T19:54:44 |
facebook/react | 15272f30f426dc02349856f4a4dc0f0dad8afb9a | 55176116a225c7664d082580faa6dde12a3bb00e | Don't keep the HTML escaped ID internally, only in HTML generation
A dynamic value can be provided as a key to a child. Either as part of an object
or key property. This becomes part of the component's ID.
We have to be careful to escape this key before inserting it into the DOM since
it could become a vulnerability.... | [
{
"path": "src/core/ReactNativeComponent.js",
"patch": "@@ -139,7 +139,8 @@ ReactNativeComponent.Mixin = {\n }\n }\n \n- return ret + ' ' + ReactID.ATTR_NAME + '=\"' + this._rootNodeID + '\">';\n+ var escapedID = escapeTextForBrowser(this._rootNodeID);\n+ return ret + ' ' + ReactID.ATTR_N... | 2013-06-28T23:33:56 |
electron/electron | d6684c4dcdc545ad00dd8c0d715597185f6a7cbb | 4770d2b526c170c81f87926be51cd2e71feb76c8 | fix UploadBlob heading | [
{
"path": "docs/api/structures/upload-blob.md",
"patch": "@@ -1,4 +1,4 @@\n-# Upload Blob Object\n+# UploadBlob Object\n \n * `type` String - `blob`.\n * `blobUUID` String - UUID of blob data to upload.",
"additions": 1,
"deletions": 1,
"language": "Markdown"
}
] | 2016-11-14T22:55:25 |
vercel/next.js | a961ec0d5f74b60134e7c8dddefec41f474d9978 | 379f2d82c28a8f963562aae9277b742d85385a6f | Skip production tests for Turbopack (#56045)
As Turbopack is only focusing on dev currently.
<!-- 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 ch... | [
{
"path": ".github/workflows/build_and_test.yml",
"patch": "@@ -152,19 +152,19 @@ jobs:\n secrets: inherit\n \n # --type production also runs tests/e2e\n- test-turbopack-prod:\n- name: test turbopack prod\n- needs: ['build-native', 'build-next']\n- strategy:\n- fail-fast: false\n- ... | 2023-09-26T20:30:04 |
nodejs/node | a733c18e2854eac4afbb3d82e451b0ddac871d15 | f9a27ea510c6b89f8d4791b2eb51e359297ac193 | doc: add note in BUILDING.md about running `make distclean`
Fixes: https://github.com/nodejs/node/issues/28675
PR-URL: https://github.com/nodejs/node/pull/31542
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "BUILDING.md",
"patch": "@@ -28,11 +28,12 @@ file a new issue.\n * [Running Coverage](#running-coverage)\n * [Building the documentation](#building-the-documentation)\n * [Building a debug build](#building-a-debug-build)\n+ * [Troubleshooting Unix and macOS builds](#troubleshooting-... | 2020-01-28T00:58:07 |
golang/go | d3ffff2790059226ae3aa90856d687e138701b5c | 751cae8855f34116b0596d15cd499bb07b4e6747 | api: correct debug/pe issue number for Go 1.19 changes
It was #51868 not #51686.
For #53310.
Change-Id: I2cf28ca4de65e7030fdbd05e7f32fe42c8f3ca0a
Reviewed-on: https://go-review.googlesource.com/c/go/+/414515
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: ... | [
{
"path": "api/go1.19.txt",
"patch": "@@ -114,42 +114,42 @@ pkg debug/elf, const R_LARCH_TLS_TPREL64 R_LARCH #46229\n pkg debug/elf, method (R_LARCH) GoString() string #46229\n pkg debug/elf, method (R_LARCH) String() string #46229\n pkg debug/elf, type R_LARCH int #46229\n-pkg debug/pe, const IMAGE_COMDAT_... | 2022-06-27T21:48:57 |
facebook/react | 738de8cfa846936ae754ccfda607e4fb41c2170b | bd150ec658aff506b9bc4ef612a2c1b1bbf20f96 | Improve `findComponentRoot` Error Message
Instead of simply logging the React ID of the `ancestorNode` when `findComponentRoot` fails, use a `try ... finally` to `console.error` the `ancestorNode`. This allows modern web inspectors to actually log a reference to the node (which may not have a React ID).
This means wh... | [
{
"path": "src/core/ReactInstanceHandles.js",
"patch": "@@ -296,12 +296,15 @@ var ReactInstanceHandles = {\n }\n child = child.nextSibling;\n }\n+ global.console && console.error && console.error(\n+ 'Error while invoking `findComponentRoot` with the following ' +\n+ 'ancestor n... | 2013-06-28T23:33:45 |
electron/electron | 2b689a21e7700354b652428f7f0a33e46ca6dabf | b084dc29ea2012381f9b307c8dfc402b4a2d7519 | fix structure headings | [
{
"path": "docs/api/structures/upload-file-system.md",
"patch": "@@ -1,4 +1,4 @@\n-# Upload FileSystem Object\n+# UploadFileSystem Object\n \n * `type` String - `fileSystem`.\n * `filsSystemURL` String - FileSystem url to read data for upload.",
"additions": 1,
"deletions": 1,
"language": "Markd... | 2016-11-14T22:54:16 |
vercel/next.js | 379f2d82c28a8f963562aae9277b742d85385a6f | 22380dfe2aee2181144048d0deb8d0e1ae077a34 | chore: Remove 'beta.' Subdomain from `beta.nextjs.org` Links (#55924)
**low-priority chore change**
## What?
This PR removes the 'beta.' prefix from links beginning with it. These links are no longer in beta and are now automatically redirected to their non-beta versions. The change serves as a minor enhancement. | [
{
"path": "examples/with-storybook/app/page.tsx",
"patch": "@@ -44,7 +44,7 @@ export default function Home() {\n \n <div className={styles.grid}>\n <a\n- href=\"https://beta.nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app\"\n+ ... | 2023-09-26T20:09:21 |
facebook/react | 65568814179d2a28cc83d68a5e467c24b86da2f6 | c54900f63e3841c571e637b364efd53f9af3c9c9 | Throw on Missing Elements
This changes React to throw when `ReactID.getNode()` fails to find a node. This method is used by two call sites:
- Implements `ReactComponent#getDOMNode`. This method already throws if a component is not mounted, and //all mounted components should be able to find their rendered root nodes... | [
{
"path": "src/core/ReactComponent.js",
"patch": "@@ -276,7 +276,7 @@ var ReactComponent = {\n /**\n * Returns the DOM node rendered by this component.\n *\n- * @return {?DOMElement} The root node of this component.\n+ * @return {DOMElement} The root node of this component.\n * @f... | 2013-06-28T20:46:29 |
golang/go | 751cae8855f34116b0596d15cd499bb07b4e6747 | 85d7bab91d9a3ed1f76842e4328973ea75efef54 | cmd/go/internal/modload: fix doc comment
Change-Id: Ib7f47c7fc2fa5db3adbe51612b1e7a9bb49647b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/411105
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org> | [
{
"path": "src/cmd/go/internal/modload/query.go",
"patch": "@@ -32,29 +32,28 @@ import (\n // The module must be a complete module path.\n // The version must take one of the following forms:\n //\n-// - the literal string \"latest\", denoting the latest available, allowed\n+// - the literal string \"late... | 2022-06-09T12:51:11 |
nodejs/node | 10d378e947565d4aa786f9f5bd69f55c208faf0f | 1d369a2031700d0b4ac94a6233ab51846ca59b80 | doc: correct getting an ArrayBuffer's length
`ArrayBuffer` instances do not have `.length` property.
Instead they have `.byteLength` property.
Fixed that in the description of
`new Buffer(arrayBuffer[, byteOffset[, length]])` and
`Buffer.from(arrayBuffer[, byteOffset[, length]])`.
PR-URL: https://github.com/nodejs/no... | [
{
"path": "doc/api/buffer.md",
"patch": "@@ -384,7 +384,7 @@ changes:\n [`SharedArrayBuffer`][] or the `.buffer` property of a [`TypedArray`][].\n * `byteOffset` {integer} Index of first byte to expose. **Default:** `0`.\n * `length` {integer} Number of bytes to expose.\n- **Default:** `arrayBuffer.lengt... | 2020-02-04T10:51:13 |
rust-lang/rust | 56d9ed74452c8e19c532e98294d5d01925822e94 | 552904134b564a74489db50aebe7070fdcce895c | Fix nvptx-safe-naming.rs test on LLVM 21
This is now printed on the same line. Use NEXT/SAME depending on
the LLVM version. | [
{
"path": "tests/assembly-llvm/nvptx-safe-naming.rs",
"patch": "@@ -1,6 +1,9 @@\n //@ assembly-output: ptx-linker\n //@ compile-flags: --crate-type cdylib -Z unstable-options -Clinker-flavor=llbc\n //@ only-nvptx64\n+//@ revisions: LLVM20 LLVM21\n+//@ [LLVM21] min-llvm-version: 21\n+//@ [LLVM20] max-llvm-ma... | 2025-07-22T12:18:46 |
vercel/next.js | 22380dfe2aee2181144048d0deb8d0e1ae077a34 | 5cd8e87812c961442257826f514fda578d468568 | Updates "Prerender Error" page for App Router (#56044)
I am open to alternative ideas on how to solve this.
Fixes https://github.com/vercel/feedback/issues/40502 | [
{
"path": "errors/prerender-error.mdx",
"patch": "@@ -8,6 +8,7 @@ While prerendering a page an error occurred. This can occur for many reasons fro\n \n ## Possible Ways to Fix It\n \n+- Use Next.js 13 (or higher) and the [App Router](/docs#app-router-vs-pages-router), which allows [colocation](/docs/app/bui... | 2023-09-26T19:32:06 |
electron/electron | 81f2e76e36ab70b7ccbf617beaca3276cc6bc6b7 | 18fca785c411f823a5f60d13d9da4a8db0eb3ddf | Fix standard linting errors | [
{
"path": "spec/chromium-spec.js",
"patch": "@@ -320,15 +320,15 @@ describe('chromium feature', function () {\n let url = `${scheme}://${fixtures}/pages/window-opener-location.html`\n let w = null\n \n- before(function () {\n+ before(function (done) {\n protocol.registerFileProtocol(sche... | 2016-11-16T00:57:12 |
facebook/react | c54900f63e3841c571e637b364efd53f9af3c9c9 | 431e1d56089a2109771d86a064f5a2f29852b742 | Fix Composition Level of Components w/o Owners
This fixes a bug with components constructed with no owners, for example:
// Both the <div> and <span> have no owners.
React.renderComponent(<div><span /></div>, node);
They should have a composition level of 1 and their keys should be prefixed with 0 to indicate th... | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -476,8 +476,7 @@ var ReactCompositeComponentMixin = {\n this.state = null;\n this._pendingState = null;\n this._compositeLifeCycleState = null;\n- this._compositionLevel = ReactCurrentOwner.current ?\n- ReactCurrentOwner.getDe... | 2013-06-28T20:46:24 |
golang/go | a42573c2f1d6a806439ec0cf65ace0508a37747f | 68289f39f0019ff5c03e047d68e5b7f6a9f9e9e2 | net: avoid darwin/arm64 platform bug in TestCloseWrite
On darwin_arm64, reading from a socket at the same time as the other
end is closing it will occasionally hang for 60 seconds before
returning ECONNRESET. (This is a macOS issue, not a Go issue.)
Work around this condition by adding a brief sleep before the read.
... | [
{
"path": "src/net/net_test.go",
"patch": "@@ -97,6 +97,17 @@ func TestCloseWrite(t *testing.T) {\n \t\t\t\t\tt.Error(err)\n \t\t\t\t\treturn\n \t\t\t\t}\n+\n+\t\t\t\t// Workaround for https://go.dev/issue/49352.\n+\t\t\t\t// On arm64 macOS (current as of macOS 12.4),\n+\t\t\t\t// reading from a socket at t... | 2022-06-27T17:58:55 |
nodejs/node | 884e287199901853a30781a0b398e6c3e4a07eb1 | a9e26268f5b464f508a033129c1ffaa694e5d361 | n-api: free instance data as reference
Instance data associated with a `napi_env` is no longer stored on the
env itself but is instead rendered as a reference. Since
`v8impl::Reference` is tied to a JS object, this modification factors
out the `v8impl::Reference` refcounting and the deletion process into
a base class ... | [
{
"path": "src/js_native_api_v8.cc",
"patch": "@@ -186,49 +186,41 @@ inline static napi_status ConcludeDeferred(napi_env env,\n }\n \n // Wrapper around v8impl::Persistent that implements reference counting.\n-class Reference : protected Finalizer, RefTracker {\n+class RefBase : protected Finalizer, RefTrac... | 2020-02-04T04:46:37 |
facebook/react | e9980412296b6469f39605f48ea527776d7ac718 | 3373572e15c00b2dab9f005a85bb420fae107b2b | Remove content property
Fixes #119. | [
{
"path": "src/core/ReactDOMIDOperations.js",
"patch": "@@ -36,7 +36,6 @@ var invariant = require('invariant');\n * @private\n */\n var INVALID_PROPERTY_ERRORS = {\n- content: '`content` must be set using `updateTextContentByID()`.',\n dangerouslySetInnerHTML:\n '`dangerouslySetInnerHTML` must be s... | 2013-06-22T08:18:09 |
vercel/next.js | 493036dfb9f81d0cfc824bf9bc52f8473b77f048 | 7102e297d107b3bcac86bfe4495874b07b2318d8 | turbopack: improve turbopack/test stability (#56024)
### What?
a few cherry picked fixes to test execution, issue reporting and hmr
behavior
### Why?
### How?
Closes WEB-1657 | [
{
"path": "packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx",
"patch": "@@ -51,6 +51,7 @@ interface Dispatcher {\n \n let mostRecentCompilationHash: any = null\n let __nextDevClientId = Math.round(Math.random() * 100 + Date.now())\n+let reloading = false\n \n function onBeforeFa... | 2023-09-26T18:32:54 |
electron/electron | 18fca785c411f823a5f60d13d9da4a8db0eb3ddf | a1066617a8fa321664601f0407c7ccbed96eb0c4 | Print error messages | [
{
"path": "lib/browser/guest-window-manager.js",
"patch": "@@ -190,6 +190,8 @@ ipcMain.on('ELECTRON_GUEST_WINDOW_MANAGER_WINDOW_CLOSE', function (event, guestI\n const guestWindow = getGuestWindow(guestId)\n if (guestWindow != null && canAccessWindow(event.sender, guestWindow.webContents)) {\n guest... | 2016-11-16T00:51:43 |
rust-lang/rust | d073d297b65f8cc0c8b75249b74c7df5a3dc18bc | 3eb722e655670cc204aee5e3b4f0a9b9f29a8cd0 | add extra drop, panic, and unwind tests | [
{
"path": "library/std/tests/sync/mutex.rs",
"patch": "@@ -111,6 +111,7 @@ nonpoison_and_poison_unwrap_test!(\n self.0.fetch_add(1, Ordering::SeqCst);\n }\n }\n+\n let num_drops = Arc::new(AtomicUsize::new(0));\n let m = Mutex::new(Foo(num_drops.clone()));... | 2025-07-29T08:44:36 |
golang/go | 68289f39f0019ff5c03e047d68e5b7f6a9f9e9e2 | c3bea70d9b3b80ceb7733cd7bde0cdf0a1bfd0d0 | html/template: fix typo in content_test.go
esacped -> escaped
Change-Id: I253c46b30bb1cf7cdfb4668628907d16428fefb9
GitHub-Last-Rev: accd0e089f35b93c7e26725fcac5c048799db022
GitHub-Pull-Request: golang/go#53553
Reviewed-on: https://go-review.googlesource.com/c/go/+/414274
Reviewed-by: Ian Lance Taylor <iant@google.com... | [
{
"path": "src/html/template/content_test.go",
"patch": "@@ -280,7 +280,7 @@ func TestTypedContent(t *testing.T) {\n \t\t\t[]string{\n \t\t\t\t`#ZgotmplZ`,\n \t\t\t\t`#ZgotmplZ`,\n-\t\t\t\t// Commas are not esacped\n+\t\t\t\t// Commas are not escaped.\n \t\t\t\t`Hello,#ZgotmplZ`,\n \t\t\t\t// Leading spaces... | 2022-06-26T03:27:08 |
nodejs/node | 861d3f7a61f543c253337cfc1a967fa84f96c653 | fe3975783cc4fdba47c2e25442ca891aab31e805 | crypto: fix assertion caused by unsupported ext
`X509V3_EXT_print` can return value different from `1` if the X509
extension does not support printing to a buffer. Instead of failing with
an unrecoverable assertion - replace the relevant value in the hashmap
with a JS null value.
Fixes: https://hackerone.com/reports/... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -1995,8 +1995,11 @@ static Local<Object> X509ToObject(Environment* env, X509* cert) {\n X509_EXTENSION* ext = X509_get_ext(cert, index);\n CHECK_NOT_NULL(ext);\n \n- if (!SafeX509ExtPrint(bio.get(), ext)) {\n- CHECK_EQ(1, X509V3_EXT_print(bio.get(... | 2019-11-26T20:47:00 |
vercel/next.js | ec9a87afd8c9752e1710427abd584a5b0da720f7 | 89c5fdf1e99ec3212bffd0bb4582a51c57e66a57 | fix test case (#56034)
### What?
moving the production test case broke it
Closes WEB-1660
Co-authored-by: Jiachi Liu <inbox@huozhi.im> | [
{
"path": "test/integration/url-imports/pages/image.js",
"patch": "@@ -1,5 +1,5 @@\n import Image from 'next/image'\n-import logo from 'https://github.com/vercel/next.js/raw/canary/test/integration/production/public/vercel.png'\n+import logo from 'https://github.com/vercel/next.js/raw/canary/test/integratio... | 2023-09-26T16:41:46 |
electron/electron | 86321a2c607e96b267496dc69816e3d8b7a4d34d | 2e5c92d41e6f9cbdea9336cc8099fd57f47c7dff | Fixed incorrect subject name of test client certificate. | [
{
"path": "spec/api-app-spec.js",
"patch": "@@ -207,11 +207,11 @@ describe('app module', function () {\n app.on('select-client-certificate', function (event, webContents, url, list, callback) {\n assert.equal(list.length, 1)\n assert.equal(list[0].issuerName, 'Intermediate CA')\n- ... | 2016-11-15T09:36:48 |
golang/go | f093cf90bff4bfc4e0a304283eef0d2445d67538 | 155612a9b981eb32b2312659409fc46bac535c90 | test: add test that caused gofrontend crash
For #52871
Change-Id: Id6102222a8b1ec8a84b716425bed0e349c65dbc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/414336
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed... | [
{
"path": "test/fixedbugs/issue52871.go",
"patch": "@@ -0,0 +1,17 @@\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+// gofrontend crashed compiling this code.\n+\n+packa... | 2022-06-26T22:17:23 |
nodejs/node | fe3975783cc4fdba47c2e25442ca891aab31e805 | f8e75512951b5060409b0c80e246ffc81ee9e72e | http: strip trailing OWS from header values
HTTP header values can have trailing OWS, but it should be stripped. It
is not semantically part of the header's value, and if treated as part
of the value, it can cause spurious inequality between expected and
actual header values.
Note that a single SPC of leading OWS is... | [
{
"path": "benchmark/http/incoming_headers.js",
"patch": "@@ -3,12 +3,12 @@ const common = require('../common.js');\n const http = require('http');\n \n const bench = common.createBenchmark(main, {\n- // Unicode confuses ab on os x.\n- c: [50, 500],\n- n: [0, 5, 20]\n+ c: [50], // Concurrent connect... | 2020-01-10T23:00:11 |
facebook/react | dbd9d99bcd01849b737f608a8862c4300cbae217 | c032743b932267d5301925d60ab172430e5b6818 | Fix `findComponentRoot` w/ Unidentified Nodes
The current `ReactInstanceHandles` has a bug where `findComponentRoot` barfs if it comes across a node that was not identified by React (via `ReactID`). This fixes that.
This was always a bug, but it became more apparent once we switched to `data-reactid` because arbitrar... | [
{
"path": "src/core/ReactInstanceHandles.js",
"patch": "@@ -286,10 +286,10 @@ var ReactInstanceHandles = {\n findComponentRoot: function(ancestorNode, id) {\n var child = ancestorNode.firstChild;\n while (child) {\n- var childId = ReactID.getID(child);\n- if (id === childId) {\n+ va... | 2013-06-27T23:30:03 |
vercel/next.js | ed38f03e4616df3cd370cbe3c5869c6857570988 | 4e445982495a6177bb40633e5ae5fe6083553da6 | Fix barrel optimizer conflicts with client entry module (#56020)
The barrel optimization loader creates a virtual module to re-export
from the original file, which causes the situation that now there are 2
modules with the same resource but only one of them is the actual code.
When the code contains `"use client"... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -37,6 +37,7 @@ import {\n SERVER_DIRECTORY,\n COMPILER_NAMES,\n CompilerNameValues,\n+ BARREL_OPTIMIZATION_PREFIX,\n } from '../shared/lib/constants'\n import { execOnce } from '../shared/lib/utils'\n import { NextConfigComplete } fr... | 2023-09-26T16:03:51 |
electron/electron | 2e5c92d41e6f9cbdea9336cc8099fd57f47c7dff | f767f0f04876ba74f0c3b244d8126c1d00b6b4ba | Fix listing issues: remove semicolons. | [
{
"path": "spec/api-app-spec.js",
"patch": "@@ -208,9 +208,9 @@ describe('app module', function () {\n assert.equal(list.length, 1)\n assert.equal(list[0].issuerName, 'Intermediate CA')\n assert.equal(list[0].subjectName, 'localhost')\n- assert(list[0].issuer);\n+ asser... | 2016-11-14T09:13:49 |
golang/go | 155612a9b981eb32b2312659409fc46bac535c90 | a861eee51ad897807df7968b32c823dbad37276e | test: add test that caused gofrontend crash
The gofrontend crashed importing a complex 0 constant.
For #52862
Change-Id: Ia87d8eadb9c5ddf51e1cd65c1a626f05f0d068d4
Reviewed-on: https://go-review.googlesource.com/c/go/+/413980
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>... | [
{
"path": "test/fixedbugs/issue52862.dir/a.go",
"patch": "@@ -0,0 +1,9 @@\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 a\n+\n+func F() complex128 {\n+\treturn 0+0i\n+}",
"... | 2022-06-25T00:13:30 |
nodejs/node | 06a43d4dcacc0c39506b8a3a1bb77411add6d9d7 | e001710219906b45bb5ac94d7e9cb4b56a83c134 | test: fix flaky test-http2-stream-destroy-event-order
Alternative to https://github.com/nodejs/node/pull/31590.
It appears that the issue here is that the test falsely assumed that
closing the client (which also currently destroys the socket rather
than gracefully shutting down the connection) would still leave
enoug... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -22,9 +22,6 @@ test-http2-multistream-destroy-on-read-tls: PASS,FLAKY\n # https://github.com/nodejs/node/issues/20750\n test-http2-pipe: PASS,FLAKY\n # https://github.com/nodejs/node/issues/20750\n-# https://github.com/nodejs/node/pull/31590\n-test-htt... | 2020-02-01T22:07:53 |
facebook/react | cf926338bf64da66ccf44e1ad8f0cbf8cf83a924 | 43930455de2ce9d6a9d8eb20cbb3ac4be828908f | Fix `onChange` for File Input
Makes sure that `onChange` fires for file inputs. | [
{
"path": "src/eventPlugins/ChangeEventPlugin.js",
"patch": "@@ -51,7 +51,10 @@ var activeElementValueProp = null;\n * SECTION: handle `change` event\n */\n var shouldUseChangeEvent = function(elem) {\n- return elem.nodeName === 'SELECT';\n+ return (\n+ elem.nodeName === 'SELECT' ||\n+ (elem.nodeN... | 2013-06-26T18:20:31 |
vercel/next.js | 4e445982495a6177bb40633e5ae5fe6083553da6 | 730b43d0ce6d328245d1f22be72880ed0d0b4844 | Progressive enhancement for form state (#55584)
This PR implements progressive enhancement for `useFormState`:
1. Inline the form state in `__next_f` and use it for hydration.
2. Encode the new form state based on the action return value, and pass
it to Flight/Fizz.
Also fixed a problem caused by inconsistent Re... | [
{
"path": "packages/next-swc/crates/next-core/js/src/entry/app/hydrate.tsx",
"patch": "@@ -39,12 +39,17 @@ let initialServerDataWriter: ReadableStreamDefaultController | undefined =\n let initialServerDataLoaded = false\n let initialServerDataFlushed = false\n \n+let initialFormStateData: null | any = null\... | 2023-09-26T16:03:31 |
electron/electron | 446399c3c11b20d0afa6726a7ad399823b72e4d8 | 0ef6d4631d2c18c41a09c7a763c212c825f8975f | Expose whole certificate chain to verify proc and certificate-error event. | [
{
"path": "atom/common/native_mate_converters/net_converter.cc",
"patch": "@@ -45,7 +45,11 @@ v8::Local<v8::Value> Converter<scoped_refptr<net::X509Certificate>>::ToV8(\n std::string encoded_data;\n net::X509Certificate::GetPEMEncoded(\n val->os_cert_handle(), &encoded_data);\n+ std::vector<std::... | 2016-11-06T13:37:07 |
nodejs/node | e001710219906b45bb5ac94d7e9cb4b56a83c134 | d602e586bf2baf5889586bde8e072e556db2b273 | meta: fix collaborator list errors in README.md
Add missing `-` characters in the list.
PR-URL: https://github.com/nodejs/node/pull/31655
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "README.md",
"patch": "@@ -353,7 +353,7 @@ For information about the governance of the Node.js project, see\n **Denys Otrishko** <shishugi@gmail.com> (he/him)\n * [maclover7](https://github.com/maclover7) -\n **Jon Moss** <me@jonathanmoss.me> (he/him)\n-* [mafintosh](https://github.com... | 2020-02-06T01:57:07 |
facebook/react | d93761af6253aa994660eb04be9313cddc920844 | fb6381fb35c8af868b5134c3d7a91699a7d01090 | Enforce nodeCache validity
A node is considered valid if it
1. has the expected ID (more of a sanity check than something that is
ever likely to go wrong), and
2. is contained by a currently mounted container.
When these requirements are met, we can be confident that
`ReactMount.findReactRenderedDOMNodeSlo... | [
{
"path": "src/core/ReactID.js",
"patch": "@@ -19,6 +19,7 @@\n \n \"use strict\";\n \n+var invariant = require('invariant');\n var ReactMount = require('ReactMount');\n var ATTR_NAME = 'id';\n var nodeCache = {};\n@@ -34,20 +35,34 @@ var nodeCache = {};\n * @return {string} ID of the supplied `domNode`.\n ... | 2013-06-25T20:56:56 |
rust-lang/rust | 81176b1a6c3a40b2db42821f209cf834befad77e | cb6785f73df1aa3f558796a22a4ab9652cf38e26 | Create two methods to fix `find_oldest_ancestor_in_same_ctxt`
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn> | [
{
"path": "compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs",
"patch": "@@ -341,7 +341,7 @@ impl<'tcx> BorrowExplanation<'tcx> {\n }\n }\n } else if let LocalInfo::BlockTailTemp(info) = local_decl.local_info() {\n- ... | 2025-07-21T16:20:52 |
golang/go | 351e0f4083779d8ac91c05afebded42a302a6893 | 416c953960a475b7418b5c6aef0f46dd102b9129 | runtime: avoid fma in mkfastlog2table
This lets us generate identical copies of fastlog2table.go on all hosts.
Tested by regenerating fastlog2table.go on linux-amd64 and darwin-arm64.
Fixes #49891
Change-Id: I279d6b5abb5a5290c049d9658050fd9c8d0c0190
Reviewed-on: https://go-review.googlesource.com/c/go/+/413976
Run-... | [
{
"path": "src/runtime/mkfastlog2table.go",
"patch": "@@ -46,7 +46,64 @@ const fastlogNumBits = 5\n func computeTable() []float64 {\n \tfastlog2Table := make([]float64, 1<<fastlogNumBits+1)\n \tfor i := 0; i <= (1 << fastlogNumBits); i++ {\n-\t\tfastlog2Table[i] = math.Log2(1.0 + float64(i)/(1<<fastlogNumBi... | 2022-06-24T20:22:02 |
vercel/next.js | efd6b682b8d31136b4abf2eb698587d14d60811c | 2554fa5f0a69dfbc6168a1529c5189ca77a53066 | turbopack: only skip known flakey test cases (#55976)
### What?
A follow up to https://github.com/vercel/next.js/pull/55975, this will
list every flakey test in the turbopack suite so that we can run the
remaining passing tests.
### Why?
More tests is more better.
### How?
Trial and error. Gonna let C... | [
{
"path": "run-tests.js",
"patch": "@@ -240,7 +240,7 @@ async function main() {\n const info = externalTestsFilterLists[test.file]\n // only run filtered mode when there are failing tests.\n // When the whole test suite passes we can run all tests, including newly added ones.\n- ... | 2023-09-26T14:58:34 |
facebook/react | 14102e8a4851119afe66866735d63d7901ab470f | 4f2d8dfe720aa5061ada4b027848b180a662b068 | Fix isMounted() for composite components
This behavior seemed incorrect for composite components.
- isComponentMounted() represents ReactComponent's lifecycle of mounting
- isMounted() represents ReactCompositeComponent's lifecycle of isMounted()
Therefore, ReactComponents no longer have isMounted(). I think this is... | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -326,8 +326,9 @@ function validateMethodOverride(proto, name) {\n function validateLifeCycleOnReplaceState(instance) {\n var compositeLifeCycleState = instance._compositeLifeCycleState;\n invariant(\n- instance.isMounted(),\n- 'replaceS... | 2013-06-24T23:09:46 |
golang/go | 416c953960a475b7418b5c6aef0f46dd102b9129 | 666d736ecb8afbe1aeb1d15f3958b70af2173510 | test: add test that gofrontend gets wrong
For #52856
Change-Id: Iab3e8352f64d774058391f0422cd01c53c3e711d
Reviewed-on: https://go-review.googlesource.com/c/go/+/414235
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org> | [
{
"path": "test/fixedbugs/issue52856.dir/a.go",
"patch": "@@ -0,0 +1,9 @@\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 a\n+\n+func F() any {\n+\treturn struct{ int }{0}\n+}",
... | 2022-06-25T22:40:11 |
nodejs/node | d602e586bf2baf5889586bde8e072e556db2b273 | e65ae4278578e51761bf9253a7c68ade0f9b897c | 2020-02-06, Version 10.19.0 'Dubnium' (LTS)
This is a security release.
Vulnerabilities fixed:
* **CVE-2019-15606**:
HTTP header values do not have trailing OWS trimmed.
* **CVE-2019-15605**:
HTTP request smuggling using malformed Transfer-Encoding header.
* **CVE-2019-15604**:
Remotely ... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -65,7 +65,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V12.md#12.0.0\">12.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.18.1\">10.18.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.19.0\">10.... | 2020-02-05T00:44:37 |
facebook/react | a62686622b4fbd2acd903d1879f77623373ff3bd | a61f4df0b9b23250a5a59285aad82cf7d82a19b8 | Clean up naming
Fix a small style nit | [
{
"path": "src/core/ReactComponent.js",
"patch": "@@ -63,7 +63,7 @@ var CHILD_HAS_NO_IDENTITY =\n \n var CHILD_CAME_FROM_ANOTHER_OWNER = '. It was passed a child from ';\n \n-var owner_has_warned = {};\n+var ownerHasWarned = {};\n \n /**\n * Helpers for flattening child arguments onto a new array or use an... | 2013-06-24T23:09:35 |
rust-lang/rust | 8b214fbf17d4e6f8e3ba38a26cffd741ac53adb8 | 2792799490b994ba3e7380fe9a151a6b95a1d7d1 | fix: Do not require all rename definitions to be renameable | [
{
"path": "src/tools/rust-analyzer/crates/ide/src/rename.rs",
"patch": "@@ -35,13 +35,8 @@ pub(crate) fn prepare_rename(\n let syntax = source_file.syntax();\n \n let res = find_definitions(&sema, syntax, position, &Name::new_symbol_root(sym::underscore))?\n- .map(|(frange, kind, def, _, _)| ... | 2025-07-29T06:31:08 |
vercel/next.js | 2554fa5f0a69dfbc6168a1529c5189ca77a53066 | 73a6374de21dd92743558d08beff995d296f3c4b | Add clientRouterFilterRedirects and webpackBuildWorker for Turbopack (#56019)
Both of these don't require Turbopack changes, it already works 👍
<!-- 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 sec... | [
{
"path": "packages/next-swc/crates/next-core/src/next_config.rs",
"patch": "@@ -412,6 +412,10 @@ pub struct ExperimentalConfig {\n pub isr_flush_to_disk: Option<bool>,\n mdx_rs: Option<bool>,\n pub swc_plugins: Option<Vec<(String, serde_json::Value)>>,\n+ // This is used in Next.js, doesn't ... | 2023-09-26T14:25:24 |
nodejs/node | e65ae4278578e51761bf9253a7c68ade0f9b897c | f0f2583c912d4c7abf6fb5a9ccd380976f1ab092 | 2020-02-06, Version 12.15.0 'Erbium' (LTS)
This is a security release.
Vulnerabilities fixed:
* **CVE-2019-15606**:
HTTP header values do not have trailing OWS trimmed.
* **CVE-2019-15605**:
HTTP request smuggling using malformed Transfer-Encoding header.
* **CVE-2019-15604**:
Remotely trigger an as... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -41,7 +41,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V13.md#13.0.0\">13.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.14.1\">12.14.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V12.md#12.15.0\">12.... | 2020-02-04T21:17:22 |
electron/electron | 00d9baa605bc57bc180aee23236daa5e876c38d9 | 356d0520ae4476cec147f9ee54e04a6764fe062f | fix linting error | [
{
"path": "atom/browser/native_window_views.cc",
"patch": "@@ -571,9 +571,8 @@ void NativeWindowViews::SetContentSizeConstraints(\n \n void NativeWindowViews::SetResizable(bool resizable) {\n #if defined(OS_WIN)\n- if (has_frame()) {\n+ if (has_frame())\n FlipWindowStyle(GetAcceleratedWidget(), resiza... | 2016-11-15T05:23:59 |
facebook/react | a61f4df0b9b23250a5a59285aad82cf7d82a19b8 | 3266818b42fbb035ea8d9b48c8a97da5f3e9d756 | Fix a bunch of problems with implicit autobinding | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -28,16 +28,18 @@ var keyMirror = require('keyMirror');\n var merge = require('merge');\n var mixInto = require('mixInto');\n \n-var invokedBeforeMount = function() {\n- invariant(\n- false,\n- 'You have invoked a method that is automatical... | 2013-06-24T23:09:26 |
golang/go | 666d736ecb8afbe1aeb1d15f3958b70af2173510 | 6b309be7ab7c17beb77c6e40b258278e7454d919 | cmd/compile: do branch/label checks only once
The previous change implemented the missing fallthrough checking
in the parser. Therefore we can now disable the duplicate check
in the type checker:
- rename (types2.Config.)IngoreLabels to IgnoreBranches to more
accurately reflect its functionality
- now also ignore ... | [
{
"path": "src/cmd/compile/internal/noder/irgen.go",
"patch": "@@ -41,7 +41,7 @@ func checkFiles(noders []*noder) (posMap, *types2.Package, *types2.Info) {\n \tconf := types2.Config{\n \t\tContext: ctxt,\n \t\tGoVersion: base.Flag.Lang,\n-\t\tIgnoreLabels: true, // parser ... | 2022-06-25T02:11:52 |
electron/electron | 9e91f319c19bcc9b062e28bf07b7827984b0e340 | 06cfcd612da7bed8b14df7f0f697a91340abd504 | fix linting error | [
{
"path": "atom/browser/ui/accelerator_util.cc",
"patch": "@@ -93,7 +93,7 @@ bool TriggerAcceleratorTableCommand(AcceleratorTable* table,\n if (item.model->IsEnabledAt(item.position)) {\n item.model->ActivatedAt(item.position);\n return true;\n- } \n+ }\n }\n return false;\n }",
... | 2016-11-15T05:19:34 |
nodejs/node | f0f2583c912d4c7abf6fb5a9ccd380976f1ab092 | 0effc9845f74e7351487644cbd1691196000b93e | 2020-02-06, Version 13.8.0 (Current)
This is a security release.
Vulnerabilities fixed:
* **CVE-2019-15606**:
HTTP header values do not have trailing OWS trimmed.
* **CVE-2019-15605**:
HTTP request smuggling using malformed Transfer-Encoding header.
* **CVE-2019-15604**:
Remotely trigger an assertio... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -29,7 +29,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V13.md#13.7.0\">13.7.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V13.md#13.8.0\">13.8.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V13.md#13.7.0\"... | 2020-02-04T17:58:51 |
vercel/next.js | 73a6374de21dd92743558d08beff995d296f3c4b | 5f03a7129aeec0f98a00113396c05edd225a7fe1 | Move test/integration/production to test/production (#55981)
Moves `test/integration/production` to
`test/production/pages-dir/production` to leverage test isolation,
useful for when Turbopack runs for the test.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled ... | [
{
"path": ".github/workflows/build_and_test.yml",
"patch": "@@ -172,7 +172,7 @@ jobs:\n uses: ./.github/workflows/build_reusable.yml\n with:\n skipForDocsOnly: 'yes'\n- afterBuild: rustup target add wasm32-unknown-unknown && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf... | 2023-09-26T13:38:50 |
facebook/react | 3266818b42fbb035ea8d9b48c8a97da5f3e9d756 | c9ecbaccb365ba39bd8839f61ae245cdc295317b | fix bad caching in ReactID.getID | [
{
"path": "src/core/ReactID.js",
"patch": "@@ -65,7 +65,7 @@ function setID(node, id) {\n * @internal\n */\n function getNode(id) {\n- if (!nodeCache.hasOwnProperty(id)) {\n+ if (!nodeCache[id]) {\n nodeCache[id] =\n document.getElementById(id) || // TODO Quit using getElementById.\n Rea... | 2013-06-24T23:09:18 |
golang/go | 1821639b57a643f9c3f6d3b3d329d2283d5d7a57 | 3b594b9255b091b8c3b56fc9592f05ebe71e31b8 | runtime: mark string comparison hooks as no split
These functions can be inserted by the compiler into the code to be
instrumented. This may result in these functions having callers that
are nosplit. That is why they must be nosplit.
This is a followup for CL 410034 in order to fix #53190.
Change-Id: I03746208a2a302... | [
{
"path": "src/runtime/libfuzzer.go",
"patch": "@@ -92,6 +92,8 @@ func init() {\n // 4. result: an integer representing the comparison result. 0 indicates\n // equality (comparison will ignored by libfuzzer), non-zero indicates a\n // difference (comparison will be taken into consideration).\n+//\n... | 2022-06-25T05:17:45 |
electron/electron | 4deb7c6fa72f863da5ee959daaed911053466895 | b9e950f5c7680a6a70eff4013a840c658d402ef9 | fix lint error | [
{
"path": "spec/api-browser-window-spec.js",
"patch": "@@ -9,8 +9,7 @@ const http = require('http')\n const {closeWindow} = require('./window-helpers')\n \n const {ipcRenderer, remote, screen} = require('electron')\n-const {app, ipcMain, BrowserWindow} = remote.require('electron')\n-const {protocol, session... | 2016-11-12T01:46:48 |
nodejs/node | 0effc9845f74e7351487644cbd1691196000b93e | ab4115f17cf2859f336b3c0588d2bf9eca0e65b8 | doc: ask more questions in the bug report template
Inspired by the defect report template of the V8 issue tracker
PR-URL: https://github.com/nodejs/node/pull/31611
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By... | [
{
"path": ".github/ISSUE_TEMPLATE.md",
"patch": "@@ -11,13 +11,35 @@ Please fill in as much of the template below as you're able.\n Version: output of `node -v`\n Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)\n Subsystem: if known, please specify affected core module name\n-\n... | 2020-02-02T01:03:44 |
vercel/next.js | 5f03a7129aeec0f98a00113396c05edd225a7fe1 | e3a28051517dbb86fa032020b94314e7103bb9a1 | Move SRI test into separate suite (#56015)
Moves the experimental.sri config test into a separate test suite.
<!-- 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 chec... | [
{
"path": "test/e2e/app-dir/app/index.test.ts",
"patch": "@@ -1,5 +1,4 @@\n import { createNextDescribe } from 'e2e-utils'\n-import crypto from 'crypto'\n import { check, getRedboxHeader, hasRedbox, waitFor } from 'next-test-utils'\n import cheerio from 'cheerio'\n import stripAnsi from 'strip-ansi'\n@@ -13... | 2023-09-26T13:34:34 |
golang/go | 3b594b9255b091b8c3b56fc9592f05ebe71e31b8 | 4f45ec5963a4b72e0c4ddbdfa84f9cb374692eea | io: clarify SeekEnd offset value
fixes #53474
Change-Id: I14c3dc800dc27233630a54592328bb0df1bbaa5d
GitHub-Last-Rev: 46f93cfbd41c1b3274b570744f18d08e7759eb1e
GitHub-Pull-Request: golang/go#53505
Reviewed-on: https://go-review.googlesource.com/c/go/+/413614
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: E... | [
{
"path": "src/io/io.go",
"patch": "@@ -111,7 +111,8 @@ type Closer interface {\n // interpreted according to whence:\n // SeekStart means relative to the start of the file,\n // SeekCurrent means relative to the current offset, and\n-// SeekEnd means relative to the end.\n+// SeekEnd means relative to the ... | 2022-06-24T04:02:10 |
facebook/react | ea5e13893e320f640c2061ce8e09729d44ad23a9 | 870a29d9b0a154ebc31dcc08cb1121ba3594639a | Fix dangerouslySetInnerHTML | [
{
"path": "docs/docs/jsx-is-not-html.md",
"patch": "@@ -55,7 +55,7 @@ You can use mixed arrays with strings and JSX elements.\n As a last resort, you always have the ability to insert raw HTML.\n \n ```javascript\n-<div dangerouslySetInnerHTML={{__html: 'First · Second'}} />\n+<div dangerouslySetInne... | 2013-06-19T06:09:02 |
electron/electron | 9536ebc0adc9387ccd077755157bb9ce7c4255d3 | 723a3eda8b75cbf792aef7eba6d4f507048c1b55 | fix build error | [
{
"path": "atom/common/native_mate_converters/content_converter.cc",
"patch": "@@ -251,7 +251,7 @@ bool Converter<scoped_refptr<ResourceRequestBodyImpl>>::FromV8(\n if (!ConvertFromV8(isolate, val, list.get()))\n return false;\n *out = new content::ResourceRequestBodyImpl();\n- for (int i = 0; i < ... | 2016-10-23T08:19:41 |
vercel/next.js | df12508be2d261fe6ff6bc284e1975497df13208 | 9ac463b218921038638dc14e0f10e4f25a0e3984 | use `experimentalHttpsServer` flag when determining image optimizer protocol (#55988)
Inferring the protocol from the request meta is not reliable when the next server is running over `http` but sitting behind an https proxy. This instead plumbs the experimental https flag through to the optimizer so we can more relia... | [
{
"path": "packages/next/src/server/base-server.ts",
"patch": "@@ -164,6 +164,11 @@ export interface Options {\n * Enables the experimental testing mode.\n */\n experimentalTestProxy?: boolean\n+\n+ /**\n+ * Whether or not the dev server is running in experimental HTTPS mode\n+ */\n+ experimen... | 2023-09-26T05:35:06 |
nodejs/node | c1da4e4aa4583c14f87c8d230ce7580f3b157ff0 | 234de6f1fd90ece1edc1a12d989ab0f15a1f19b8 | src: fix inspecting `MessagePort` from `init` async hook
During the `init()` async hook, the C++ object is not finished
creating yet (i.e. it is an `AsyncWrap`, but not yet a `HandleWrap`
or `MessagePort`). Accessing the `handle_` field is not valid
in that case.
However, the custom inspect function for `MessagePort`... | [
{
"path": "src/handle_wrap.h",
"patch": "@@ -61,7 +61,9 @@ class HandleWrap : public AsyncWrap {\n static void HasRef(const v8::FunctionCallbackInfo<v8::Value>& args);\n \n static inline bool IsAlive(const HandleWrap* wrap) {\n- return wrap != nullptr && wrap->state_ != kClosed;\n+ return wrap != ... | 2020-02-01T12:33:29 |
golang/go | 4f45ec5963a4b72e0c4ddbdfa84f9cb374692eea | 41e1d9075e428c2fc32d966b3752a3029b620e2c | cmd/go: prepend builtin prolog when checking for preamble errors
Fixes #50710
Change-Id: I62feddbe3eaae9605d196bec60d378614436603a
Reviewed-on: https://go-review.googlesource.com/c/go/+/379754
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Rob... | [
{
"path": "misc/cgo/errors/errors_test.go",
"patch": "@@ -112,6 +112,7 @@ func TestReportsTypeErrors(t *testing.T) {\n \t\t\"issue18889.go\",\n \t\t\"issue28721.go\",\n \t\t\"issue33061.go\",\n+\t\t\"issue50710.go\",\n \t} {\n \t\tcheck(t, file)\n \t}",
"additions": 1,
"deletions": 0,
"language"... | 2022-01-20T11:46:38 |
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.