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 | 0d8efa6e842169e61cbe343441092b6f7c9b886c | 7adfa82726280371bb4dfc710dc4168dfd9de703 | internal/xcoff: use saferio to read string table
No test case because the problem can only happen for invalid data.
Let the fuzzer find cases like this.
For #47653
Fixes #52526
Change-Id: Id90a5e391a4f684f45f8d7e32608eb03b8081076
Reviewed-on: https://go-review.googlesource.com/c/go/+/413875
Reviewed-by: Ian Lance Ta... | [
{
"path": "src/internal/xcoff/file.go",
"patch": "@@ -9,6 +9,7 @@ import (\n \t\"debug/dwarf\"\n \t\"encoding/binary\"\n \t\"fmt\"\n+\t\"internal/saferio\"\n \t\"io\"\n \t\"os\"\n \t\"strings\"\n@@ -213,13 +214,11 @@ func NewFile(r io.ReaderAt) (*File, error) {\n \t\treturn nil, err\n \t}\n \tif l > 4 {\n-\... | 2022-06-23T23:36:08 |
nodejs/node | 97ef4d76c96c070aad76bd3b6d5b89f0f03e458c | 89ae1f1b73451ed40fa78d379e66d5c061f04548 | fs: add fs.readv()
Fixes: https://github.com/nodejs/node/issues/2298
PR-URL: https://github.com/nodejs/node/pull/32356
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/fs.md",
"patch": "@@ -3069,6 +3069,42 @@ Returns the number of `bytesRead`.\n For detailed information, see the documentation of the asynchronous version of\n this API: [`fs.read()`][].\n \n+## `fs.readv(fd, buffers[, position], callback)`\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `fd` ... | 2020-03-16T13:50:27 |
facebook/react | b0431a51ca6dd4404c5e19c632b00abe3b3082a1 | 02e47ebd008806008f29cf1f058614365c8035f9 | Respect 'key' prop for object identity
Now when a `key` prop appears, its value is always honored. This means that in the root component or as an only child, changing key will cause remounting; in a `children` object, the `key` prop will be joined with the object key to form a two-part key.
Fixes #590. | [
{
"path": "src/core/ReactComponent.js",
"patch": "@@ -155,23 +155,6 @@ var ReactComponent = {\n );\n },\n \n- /**\n- * Generate a key string that identifies a component within a set.\n- *\n- * @param {*} component A component that could contain a manual key.\n- * @param {number} index Index t... | 2013-11-23T04:43:59 |
vercel/next.js | 679a398e49c1f0363cb1a16bd7baad1dc76fedbc | dc7b5d806e4950b3c45537a80b6e9f2da5b788b7 | fix(turbopack): write manifests for edge app pages and use proper edge entry (#56675)
### Description
- We previously didn't write to the shared `middleware-manifest.json` for edge app pages
- We also need to manually write to the `_ENTRIES` object in turbopack entries because it currently doesn't have a way to chang... | [
{
"path": "packages/next-swc/crates/next-api/src/app.rs",
"patch": "@@ -242,13 +242,17 @@ impl AppProject {\n ECMASCRIPT_CLIENT_TRANSITION_NAME.to_string(),\n Vc::upcast(NextEcmascriptClientReferenceTransition::new(\n self.client_transition(),\n- ... | 2023-10-24T00:47:55 |
golang/go | 7adfa82726280371bb4dfc710dc4168dfd9de703 | 71424806fa76d5b5d1b2492741d2564664af136c | debug/macho, internal/saferio: limit slice allocation
Don't allocate slices that are too large; choose a smaller capacity
and build the slice using append. Use this in debug/macho to avoid
over-allocating if a fat header is incorrect.
No debug/macho test case because the problem can only happen for
invalid data. Let ... | [
{
"path": "src/debug/macho/fat.go",
"patch": "@@ -7,6 +7,7 @@ package macho\n import (\n \t\"encoding/binary\"\n \t\"fmt\"\n+\t\"internal/saferio\"\n \t\"io\"\n \t\"os\"\n )\n@@ -85,9 +86,13 @@ func NewFatFile(r io.ReaderAt) (*FatFile, error) {\n \n \t// Following the fat_header comes narch fat_arch structs... | 2022-06-23T22:57:10 |
nodejs/node | 89ae1f1b73451ed40fa78d379e66d5c061f04548 | 75aaf7496e1ff6272b5d76372aecbf6f37fbc3d4 | util: fix inspecting document.all
Fixes: https://github.com/nodejs/node/issues/31889
PR-URL: https://github.com/nodejs/node/pull/31938
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "lib/internal/util/inspect.js",
"patch": "@@ -134,6 +134,9 @@ const builtInObjects = new Set(\n ObjectGetOwnPropertyNames(global).filter((e) => /^[A-Z][a-zA-Z0-9]+$/.test(e))\n );\n \n+// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n+const isUndetectableObject = (v) => typeof v === 'und... | 2020-02-24T21:34:38 |
vercel/next.js | 78ffea42ee63decf96059c96a5fb777093d35b37 | ce085b56dda05a3bf33528029190eb283ca6711a | Fix client reference proxies (#57301)
Each individual exported component should be a proxied reference. Not sure why it's been broken for so long and it didn't trigger any error. | [
{
"path": "packages/next/src/build/webpack/loaders/next-flight-loader/index.ts",
"patch": "@@ -97,14 +97,14 @@ const __default__ = proxy.default;\n let cnt = 0\n for (const ref of clientRefs) {\n if (ref === '') {\n- esmSource += `\\nexports[''] = proxy[''];`\n+ esmSour... | 2023-10-24T00:24:22 |
golang/go | cdb3789772a7e7c02d2ac7290b3a16fb542b48dd | 9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb | debug/pe, internal/saferio: use saferio to read PE section data
For #47653
Fixes #53189
Change-Id: If35b968fc53e4c96b18964cfb020cdc003b881bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/412014
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lan... | [
{
"path": "src/debug/pe/section.go",
"patch": "@@ -7,6 +7,7 @@ package pe\n import (\n \t\"encoding/binary\"\n \t\"fmt\"\n+\t\"internal/saferio\"\n \t\"io\"\n \t\"strconv\"\n )\n@@ -97,12 +98,7 @@ type Section struct {\n \n // Data reads and returns the contents of the PE section s.\n func (s *Section) Data... | 2022-06-14T00:25:27 |
nodejs/node | 575b4e368d01b0be0a5f821d4c46b5aa8ff4b528 | 988f5bf6fb739950fe47ecc3c20853893ba729b0 | doc: fix typo in http2 docs
PR-URL: https://github.com/nodejs/node/pull/32292
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -2281,7 +2281,7 @@ changes:\n * `http2.constants.PADDING_STRATEGY_NONE`: No padding is applied.\n * `http2.constants.PADDING_STRATEGY_MAX`: The maximum amount of padding,\n determined by the internal implementation, is applied.\n- * `http2.constant... | 2020-03-30T05:49:18 |
vercel/next.js | ce085b56dda05a3bf33528029190eb283ca6711a | b1d1ed6087fbda6fb6a7c94115b63a14f38cc330 | revert "React Aliases (#57283)" (#57299)
This reverts commit 9f512f1cca96b73567bbfc24172e390b2bac1c48.
<!-- 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 f... | [
{
"path": "packages/next/taskfile-swc.js",
"patch": "@@ -100,15 +100,6 @@ module.exports = function (task) {\n keepImportAttributes,\n emitAssertForImportAttributes: keepImportAttributes,\n },\n- baseUrl: __dirname,\n- paths: {\n- 'react-dom/ser... | 2023-10-23T23:59:55 |
golang/go | a55793835f16d0242be18aff4ec0bd13494175bd | 68005592b38027490a08972f13269406b2556a07 | net/http/httputil: add ReverseProxy.Rewrite
Add a new Rewrite hook to ReverseProxy, superseding the Director hook.
Director does not distinguish between the inbound and outbound request,
which makes it possible for headers added by Director to be inadvertently
removed before forwarding if they are listed in the inbou... | [
{
"path": "api/next/53002.txt",
"patch": "@@ -0,0 +1,6 @@\n+pkg net/http/httputil, method (*ProxyRequest) SetURL(*url.URL) #53002\n+pkg net/http/httputil, method (*ProxyRequest) SetXForwarded() #53002\n+pkg net/http/httputil, type ProxyRequest struct #53002\n+pkg net/http/httputil, type ProxyRequest struct,... | 2022-05-18T23:23:28 |
facebook/react | 6bd9f35bf3bb353a0542d33fafa9405f0a0e9843 | 0bbf535b7b2bf2195195a125f6cb4526d0173435 | Fix html-jsx compiler
It changed React Playground to add a required props but unfortunately didn't update the call sites of the front-page. I don't think it should be required so I'm just making it optional and providing the correct default value.
Test Plan:
- Open the front page and make sure examples are working
... | [
{
"path": "docs/_js/live_editor.js",
"patch": "@@ -57,10 +57,18 @@ var ReactPlayground = React.createClass({\n \n propTypes: {\n codeText: React.PropTypes.string.isRequired,\n- transformer: React.PropTypes.func.isRequired,\n+ transformer: React.PropTypes.func,\n renderCode: React.PropTypes.b... | 2013-12-23T17:24:22 |
nodejs/node | 988f5bf6fb739950fe47ecc3c20853893ba729b0 | be2f36a51a3c11b2001bd74e03a77cf3ee920aa0 | doc: fix typo in maintaining-zlib guide
PR-URL: https://github.com/nodejs/node/pull/32292
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gma... | [
{
"path": "doc/guides/maintaining-zlib.md",
"patch": "@@ -22,7 +22,7 @@ Check that Node.js still builds and tests.\n It may be necessary to update deps/zlib/zlib.gyp if any significant changes have\n occurred upstream.\n \n-## Commiting zlib\n+## Committing zlib\n \n Add zlib: `git add --all deps/zlib`\n ",... | 2020-03-30T05:48:49 |
electron/electron | 2cf6a026d86e06d2b592cd17d07727150b189ec7 | 87392ff04606e6b111fc94250006931a8725a16c | fix linting error | [
{
"path": "atom/common/native_mate_converters/blink_converter.cc",
"patch": "@@ -224,8 +224,8 @@ v8::Local<v8::Value> Converter<content::NativeWebKeyboardEvent>::ToV8(\n else if (in.type == blink::WebInputEvent::Type::KeyUp)\n dict.Set(\"type\", \"keyUp\");\n dict.Set(\"key\", ui::KeycodeConverter::... | 2017-02-02T13:16:30 |
vercel/next.js | b1d1ed6087fbda6fb6a7c94115b63a14f38cc330 | 4bbf9b6c70d2aa4237defe2bebfa790cdb7e334e | only log export-no-custom-routes warning if unsupported (#57298)
This doesn't need to error, we can instead warn that the functionality will not work as expected out of the box. Support can be added for outside of Next for this to behave as expected.
These are supported when deployed via the Nextjs builder ([x-ref](... | [
{
"path": "packages/next/src/server/config.ts",
"patch": "@@ -23,6 +23,7 @@ import { pathHasPrefix } from '../shared/lib/router/utils/path-has-prefix'\n \n import { ZodParsedType, util as ZodUtil } from 'next/dist/compiled/zod'\n import type { ZodError, ZodIssue } from 'next/dist/compiled/zod'\n+import { ha... | 2023-10-23T23:58:41 |
facebook/react | 814faed08f5d691f534063be8ce573448542f912 | c7fbaa4966cc4034686d296adf931b59be4c9f48 | Fix "Dynamic Children" example | [
{
"path": "docs/docs/04-multiple-components.md",
"patch": "@@ -124,7 +124,7 @@ The situation gets more complicated when the children are shuffled around (as in\n var results = this.props.results;\n return (\n <ol>\n- {this.results.map(function(result) {\n+ {results.map(function(r... | 2013-12-22T15:37:09 |
golang/go | 68005592b38027490a08972f13269406b2556a07 | 0df7ad2e79ac5ca5197509596446dd83380aaf90 | strings, bytes: add CutPrefix and CutSuffix
Fixes #42537
Change-Id: Ie03c2614ffee30ebe707acad6b9f6c28fb134a45
Reviewed-on: https://go-review.googlesource.com/c/go/+/407176
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Changkun Ou <mail@changkun.de>
Reviewed... | [
{
"path": "api/next/42537.txt",
"patch": "@@ -0,0 +1,4 @@\n+pkg bytes, func CutPrefix([]uint8, []uint8) ([]uint8, bool) #42537\n+pkg bytes, func CutSuffix([]uint8, []uint8) ([]uint8, bool) #42537\n+pkg strings, func CutPrefix(string, string) (string, bool) #42537\n+pkg strings, func CutSuffix(string, string... | 2022-05-19T09:57:50 |
nodejs/node | be2f36a51a3c11b2001bd74e03a77cf3ee920aa0 | 67d5c907d2dcf338306eaa74b910096b2a686fc4 | doc: fix typo in maintaining-openssl guide
PR-URL: https://github.com/nodejs/node/pull/32292
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@... | [
{
"path": "doc/guides/maintaining-openssl.md",
"patch": "@@ -94,7 +94,7 @@ The commit message can be (with the openssl version set to the relevant value):\n deps: update archs files for OpenSSL-1.1.0\n \n After an OpenSSL source update, all the config files need to be regenerated and\n- comitted by:\n+ co... | 2020-03-30T05:48:04 |
electron/electron | 0430380de14efda9d8fa991809cf2639c712740b | 6e2f977f7ad34fa69837507685f34bc2be96fd5a | Update the Node submodule to use the new module wrapper
See the fixed issue for the context. This pulls in a vendored copy of Node that includes the described patch.
Fixes #8358
Test Plan: Built Electron and verified it loaded the sample app correctly and that the module wrapper is the new one by viewing Node's sour... | [
{
"path": "spec/fixtures/module/declare-global.js",
"patch": "@@ -0,0 +1,2 @@\n+const global = {__global: true}\n+module.exports = global",
"additions": 2,
"deletions": 0,
"language": "JavaScript"
},
{
"path": "spec/fixtures/module/declare-process.js",
"patch": "@@ -0,0 +1,2 @@\n+con... | 2017-01-11T03:29:22 |
facebook/react | ab88dd19d356f056d26832ac97bb8c695ec3822e | d914522ae4111512c7e0a604a6c5027600f5e966 | Added property to non-standard attributes
Fixes issue #655 | [
{
"path": "src/dom/DefaultDOMPropertyConfig.js",
"patch": "@@ -116,6 +116,7 @@ var DefaultDOMPropertyConfig = {\n */\n autoCapitalize: null, // Supported in Mobile Safari for keyboard hints\n autoCorrect: null, // Supported in Mobile Safari for keyboard hints\n+ property: null, // Supports O... | 2013-12-22T02:56:44 |
vercel/next.js | d0e92b19af6672c44533eb8b6826007f645a943d | 7c803a762eeaed7383850cc15b7fbb5be2d1cfeb | chore: Refactor with-supabase example to use ssr package (#57100)
### What?
[1] Refactors `with-supabase` example to use new `@supabase/ssr` package
[2] Makes landing page dynamic steps to connect Next.js to Supabase
[3] Fixes a range of small bugs
### Why?
[1] Simplifies creating a Supabase client
[2] People were ... | [
{
"path": "examples/with-supabase/README.md",
"patch": "@@ -1,32 +1,32 @@\n <a href=\"https://demo-nextjs-with-supabase.vercel.app/\">\n- <img alt=\"Next.js 13 and app template Router-ready Supabase starter kit.\" src=\"https://demo-nextjs-with-supabase.vercel.app/opengraph-image.png\">\n- <h1 align=\"cen... | 2023-10-23T23:34:10 |
golang/go | 0df7ad2e79ac5ca5197509596446dd83380aaf90 | 805305e24f762887a10eb5c410683aa541d1b3c3 | all: fix some typos
Change-Id: I147622770587cff1551a0be189003666463f34e3
GitHub-Last-Rev: 71b5375983820445a331c46481a2a3a44fafb760
GitHub-Pull-Request: golang/go#54472
Reviewed-on: https://go-review.googlesource.com/c/go/+/424154
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
R... | [
{
"path": "src/cmd/compile/internal/noder/transform.go",
"patch": "@@ -733,7 +733,7 @@ func transformAppend(n *ir.CallExpr) ir.Node {\n \t\t// assignconvfn is of args[1] not required here, as the\n \t\t// types of args[0] and args[1] don't need to match\n \t\t// (They will both have an underlying type which... | 2022-08-16T13:43:23 |
nodejs/node | 3822cae39cf6ad95dd2840ebb31afb6903ee33e2 | cc8066e0d196f0180ddcfa04207de8bee69db285 | doc: fix profile type of --heap-prof-name
V8 CPU profile -> V8 heap profile
PR-URL: https://github.com/nodejs/node/pull/32404
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Re... | [
{
"path": "src/node_options.cc",
"patch": "@@ -409,7 +409,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {\n \"the profile to the current working directory.\",\n &EnvironmentOptions::heap_prof);\n AddOption(\"--heap-prof-name\",\n- \"specified file name of the V8 CPU prof... | 2020-03-21T08:29:06 |
vercel/next.js | 661c598a21111bbbaf52e251ae789b7ab93f6b56 | a77acd22ad0d52596cc539dae4b1c7ddf9be6083 | Improve encryption of Server Actions bound values (#57297)
Removes the constant prefix and action ID from the IV value and makes it a fully random string. Then, we prefix the actual payload with the action ID to avoid submitting the payload from a different action, as well as using it as the checksum of the encryption... | [
{
"path": "packages/next/src/server/app-render/action-encryption-utils.ts",
"patch": "@@ -35,10 +35,7 @@ export function stringToUint8Array(binary: string) {\n return arr\n }\n \n-const encoder = new TextEncoder()\n-\n-export function encrypt(key: CryptoKey, salt: string, data: Uint8Array) {\n- const iv ... | 2023-10-23T23:18:49 |
golang/go | 805305e24f762887a10eb5c410683aa541d1b3c3 | a45bbeae339cd51b60fc59f13da02111f3fc8851 | cmd/go: stamp VCS information in test binaries when -buildvcs=true
(But still not when -buildvcs=auto, the default.)
Fixes #52648.
Change-Id: I87a87d4ea84e8bf9635a4f7c8674c9311c3e21be
Reviewed-on: https://go-review.googlesource.com/c/go/+/409177
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance T... | [
{
"path": "src/cmd/go/internal/list/list.go",
"patch": "@@ -592,7 +592,7 @@ func runList(ctx context.Context, cmd *base.Command, args []string) {\n \tpkgOpts := load.PackageOpts{\n \t\tIgnoreImports: *listFind,\n \t\tModResolveTests: *listTest,\n-\t\tLoadVCS: true,\n+\t\tAutoVCS: true,\n \... | 2022-05-27T20:33:36 |
nodejs/node | 400bc5cdc0b528a853c6b01b5b5ac993c078f9a2 | 9b4306dc153c73b71cfcc58b14de04d3a53809de | http: increase default header size from 8KB to 16KB
Fixes: https://github.com/nodejs/node/issues/27645
PR-URL: https://github.com/nodejs/node/pull/32520
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ih... | [
{
"path": "doc/api/cli.md",
"patch": "@@ -440,9 +440,13 @@ disappear in a non-semver-major release.\n ### `--max-http-header-size=size`\n <!-- YAML\n added: v11.6.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/32520\n+ description: Change maximum default size of H... | 2020-03-27T15:34:24 |
facebook/react | 3c5710193c2a0947ddf8c05f920edbdbc4d66859 | 9a4a8aa71a0ce5a255dfba533fec3ff885a7d708 | Fix a perf issue of <select multiple />
`indexOf` was used inside a loop. Use an object and
`hasOwnProperty` instead. | [
{
"path": "src/dom/components/ReactDOMSelect.js",
"patch": "@@ -65,17 +65,17 @@ function updateOptions() {\n var options = this.getDOMNode().options;\n var selectedValue, i, l;\n if (multiple) {\n- selectedValue = [];\n+ selectedValue = {};\n for (i = 0, l = value.length; i < l; ++i) {\n- ... | 2013-12-20T05:55:19 |
electron/electron | e683f28e32b4869f2c3461ea8f2e0dcc66ffb1b5 | 8ce1930f0daf2a815bdea486880154437061f49e | Require a non-empty drag image to prevent crash | [
{
"path": "atom/browser/api/atom_api_web_contents.cc",
"patch": "@@ -1327,9 +1327,17 @@ void WebContents::StartDrag(const mate::Dictionary& item,\n \n // Error checking.\n if (icon.IsEmpty()) {\n+ args->ThrowError(\"Must specify 'icon' option\");\n+ return;\n+ }\n+\n+#if defined(OS_MACOSX)\n+ //... | 2017-01-26T18:38:13 |
vercel/next.js | 9e050fba9429d2504e927edc33d44449605d4114 | 7a1b01b85d7ef544dd721dcf59d0308dd73e336b | perf: remove `parse-body` from the server runtime (#57280)
This PR removes the `raw-body` dependency from the server runtime. It
still is used in the pages runtime but at least if you're only using
app, you won't bundle your server function with it.
<!-- Thanks for opening a PR! Your contribution is much apprecia... | [
{
"path": "packages/next/src/build/collect-build-traces.ts",
"patch": "@@ -219,14 +219,6 @@ export async function collectBuildTraces({\n paths: [require.resolve('next/dist/server/require-hook')],\n })\n )),\n- require.resolve('next/dist/compiled/next-server/a... | 2023-10-23T22:11:09 |
nodejs/node | eb553a473bc5ff2ad1b155774553122f4e52d231 | bc28daa9f7a73ce2c21984684315cf03925ca175 | test: unflake async-hooks/test-statwatcher
On Windows 2016 under high load further change events can be emitted
after writing the 5 bytes is reported. Updating the mtime of the file
can be reported as a separate change. This will increase the "before"
count, but not the "w1HookCount" since we removed the listener.
Th... | [
{
"path": "test/async-hooks/async-hooks.status",
"patch": "@@ -7,8 +7,6 @@ prefix async-hooks\n [true] # This section applies to all platforms\n \n [$system==win32]\n-# https://github.com/nodejs/node/issues/29852\n-test-statwatcher: PASS,FLAKY\n \n [$system==linux]\n ",
"additions": 0,
"deletions": ... | 2020-03-25T14:05:22 |
facebook/react | 6a8542a6e9879260d19ee97f259c615ffb4c02b1 | a1699bdb88d9f4f5a7c54331b89b2066b2493695 | Fix npm-react build task, add to release | [
{
"path": "Gruntfile.js",
"patch": "@@ -72,7 +72,7 @@ module.exports = function(grunt) {\n 'version-check',\n 'populist:test'\n ]);\n- grunt.registerTask('build:npm-react', ['version-check', 'jsx:release', 'react-core:release']);\n+ grunt.registerTask('build:npm-react', ['version-check', 'jsx:re... | 2013-12-19T18:31:43 |
golang/go | a45bbeae339cd51b60fc59f13da02111f3fc8851 | 98f3eb2d3edc00ac3c39f23db157b42d14fe6726 | go/token: add (*FileSet).RemoveFile(*File) method
The design of FileSet encourages it to be used as a global variable.
Each call to AddFile consumes about 3KB, that is never returned,
even after an application no longer cares about the File.
This change adds a RemoveFile method that a long-running application
can use ... | [
{
"path": "api/next/53200.txt",
"patch": "@@ -0,0 +1 @@\n+pkg go/token, method (*FileSet) RemoveFile(*File) #53200",
"additions": 1,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "src/go/token/position.go",
"patch": "@@ -366,6 +366,9 @@ func (f *File) Position(p Pos) (pos Pos... | 2022-06-02T13:54:12 |
vercel/next.js | 46617646213ed7b82a9f588c1342bceaeaec8b90 | f154bb831358985b69db83e6da276db24d795718 | Enhance Buffered Transform Stream (#57267)
This adds some better handling around the buffered transform streams to handle error cases a bit better. | [
{
"path": "packages/next/src/lib/batcher.ts",
"patch": "@@ -1,4 +1,5 @@\n-import type { SchedulerFn } from '../server/lib/schedule-on-next-tick'\n+import type { SchedulerFn } from './scheduler'\n+\n import { DetachedPromise } from './detached-promise'\n \n type CacheKeyFn<K, C extends string | number | null... | 2023-10-23T20:05:57 |
nodejs/node | cd1db2db48d28db805227e7f6ade79a106d85bc6 | 05aa67aa21b77933033027615eb30df70338c735 | src: fix compiler warnings in node_report_module
Currently, the following compiler warnings are generated:
../src/node_report_module.cc:
In function ‘void report::ShouldReportOnFatalError(
const v8::FunctionCallbackInfo<v8::Value>&)’:
../src/node_report_module.cc:132:16: warning:
unused variable ‘env’ [-Wunused-va... | [
{
"path": "src/node_report_module.cc",
"patch": "@@ -129,13 +129,11 @@ static void SetSignal(const FunctionCallbackInfo<Value>& info) {\n }\n \n static void ShouldReportOnFatalError(const FunctionCallbackInfo<Value>& info) {\n- Environment* env = Environment::GetCurrent(info);\n info.GetReturnValue().Set... | 2020-03-26T04:22:30 |
golang/go | 5e7697b6275bb28bcfd18b2f21de9905164926dd | f80b12667c69c72e170862ef50f085ff9d35f354 | test: add regression test for issue 43942
CL 356011 fixed this issue too.
Fixes #43942
Change-Id: I35ad397e78eeb80eff3a4217c4d40f15d40bdebb
Reviewed-on: https://go-review.googlesource.com/c/go/+/423814
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Cuong Manh Le <... | [
{
"path": "test/fixedbugs/issue43942.go",
"patch": "@@ -0,0 +1,48 @@\n+// run\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+import \"log\"\n+\n+func main() {\n+\td... | 2022-08-14T12:08:00 |
electron/electron | 06c025050ed6f9c63a2c0b459c9a6f7422df7af1 | ff718b19db10105e1e0687f77b156445e444fd93 | Fix typo in spec description | [
{
"path": "spec/node-spec.js",
"patch": "@@ -150,7 +150,7 @@ describe('node feature', function () {\n })\n \n describe('error thrown in main process node context', function () {\n- it('gets emitted as an process uncaughtException event', function () {\n+ it('gets emitted as a process uncau... | 2017-01-25T18:19:38 |
facebook/react | adfb5f1eaeef9ef4c9a7d29d46d6c74213e95241 | d663d42d23e7fe7d1c478d537a03faca746135a8 | Update npm-react error to point to autoflow | [
{
"path": "npm-react/ReactJSErrors.js",
"patch": "@@ -1,10 +1,12 @@\n+'use strict';\n+\n var copyProperties = require('./lib/copyProperties');\n \n var WARNING_MESSAGE = (\n 'It looks like you\\'re trying to use jeffbski\\'s React.js project.\\n' +\n 'The `react` npm package now points to the React Java... | 2013-12-17T19:18:27 |
vercel/next.js | a255e028799155648c0dce3bdaf9604b4c2c98db | ab9bada7b7fbd5b3310bf60e26b35a57419858fe | Simplify iv prefixing of Server Actions encryption (#57274)
Since we have a fixed length of the random bytes prefixed to the iv,
there's no need to split by `:`. | [
{
"path": "packages/next/src/server/app-render/action-encryption.ts",
"patch": "@@ -34,7 +34,9 @@ async function decodeActionBoundArg(actionId: string, arg: string) {\n )\n }\n \n- const [ivPrefix, payload] = arg.split(':', 2)\n+ // Get the payload and iv from the arg. 18 bytes * 8/6 = 24 chars in b... | 2023-10-23T18:06:59 |
nodejs/node | 05aa67aa21b77933033027615eb30df70338c735 | 7d3791a3a4fced7ab524cfd34ecb3b9805d86e28 | console: fixup error message
Use "options.inspectOptions" instead of just "inspectOptions"
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/32475
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/internal/console/constructor.js",
"patch": "@@ -110,11 +110,14 @@ function Console(options /* or: stdout, stderr, ignoreErrors = true */) {\n if (inspectOptions.colors !== undefined &&\n options.colorMode !== undefined) {\n throw new ERR_INCOMPATIBLE_OPTION_PAIR(\n- '... | 2020-03-24T22:17:02 |
golang/go | f80b12667c69c72e170862ef50f085ff9d35f354 | 7ec0ec3645a481155728020c07685992444a9e4f | go/types, types2: check integer constant literal overflow
Fixes #54280.
Change-Id: I44a31daaace50bc90c96cd36387bd1a009d6a287
Reviewed-on: https://go-review.googlesource.com/c/go/+/424055
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -109,7 +109,11 @@ func (check *Checker) overflow(x *operand) {\n \t// Untyped integer values must not grow arbitrarily.\n \tconst prec = 512 // 512 is the constant precision\n \tif x.val.Kind() == constant.Int && constant.BitLen(x.val) > prec... | 2022-08-15T23:26:23 |
electron/electron | 24fb560a9dee974aa2730f43caa54805b681ed41 | a4e25a89172269a18c9c53f2419df4998fc2eb5d | Add failing spec for uncaught main process errors | [
{
"path": "spec/node-spec.js",
"patch": "@@ -3,7 +3,7 @@ const ChildProcess = require('child_process')\n const fs = require('fs')\n const path = require('path')\n const os = require('os')\n-const {remote} = require('electron')\n+const {ipcRenderer, remote} = require('electron')\n \n const isCI = remote.getG... | 2017-01-25T16:55:38 |
facebook/react | 7f3d4f0340e3df266ae0434662d6650fa9eedbd7 | 346c8f5e6efb16912000448961bc7b466bcf5659 | fixes ReactTextComponent rootID unescapedness | [
{
"path": "src/core/ReactTextComponent.js",
"patch": "@@ -65,7 +65,7 @@ mixInto(ReactTextComponent, {\n mountDepth\n );\n return (\n- '<span ' + ReactMount.ATTR_NAME + '=\"' + rootID + '\">' +\n+ '<span ' + ReactMount.ATTR_NAME + '=\"' + escapeTextForBrowser(rootID) + '\">' +\n ... | 2013-12-17T10:07:49 |
vercel/next.js | 7208535786581ca17d4f8ca3bc5e752d6b2e474b | eb4b41e513642cf1064731abef28b939df40bba8 | perf: fix memory leaks in the edge runtime in dev (#57235)
This PR fixes a memory leak when using `next dev` where on HMR, we would always retain the memory associated with the old VM instance, leading to pretty egregious usage of RAM after only a few edits.
The leak itself comes from methods like `setTimeout` and `s... | [
{
"path": "packages/next/src/server/web/sandbox/context.ts",
"patch": "@@ -24,6 +24,7 @@ import EventsImplementation from 'node:events'\n import AssertImplementation from 'node:assert'\n import UtilImplementation from 'node:util'\n import AsyncHooksImplementation from 'node:async_hooks'\n+import { intervals... | 2023-10-23T17:51:06 |
nodejs/node | 7d3791a3a4fced7ab524cfd34ecb3b9805d86e28 | a744dad589cdfe35f322f28d199968559cd4953a | fs: fixup error message for invalid options.recursive
Use "options.recursive" instead of just "recursive"
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/32472
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/fs.js",
"patch": "@@ -863,7 +863,7 @@ function mkdir(path, options, callback) {\n path = getValidatedPath(path);\n \n if (typeof recursive !== 'boolean')\n- throw new ERR_INVALID_ARG_TYPE('recursive', 'boolean', recursive);\n+ throw new ERR_INVALID_ARG_TYPE('options.recursive', 'boo... | 2020-03-24T21:56:58 |
golang/go | 7ec0ec3645a481155728020c07685992444a9e4f | e3c2e4cb7dc006d4282e6d5c85222006d380d701 | go/types, types2: skip comparison for operands with invalid types
Fixes #54405.
Change-Id: Ia7b2709b83966fa080e41e3d4818527d1e8b49f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/424054
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Robert G... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -783,6 +783,12 @@ func (check *Checker) implicitTypeAndValue(x *operand, target Type) (Type, const\n \n // If switchCase is true, the operator op is ignored.\n func (check *Checker) comparison(x, y *operand, op syntax.Operator, switchCase boo... | 2022-08-15T22:37:22 |
facebook/react | 93eb6a5637f67df55f47ccf8181ee31aefc38334 | 760cdd35c9939906d0297a8214cfa9b2eb187be2 | Fix typo in comments (ot -> to) | [
{
"path": "src/addons/transitions/ReactTransitionKeySet.js",
"patch": "@@ -52,7 +52,7 @@ var ReactTransitionKeySet = {\n \n /**\n * When you're adding or removing children some may be added or removed in the\n- * same render pass. We want ot show *both* since we want to simultaneously\n+ * same ren... | 2013-12-15T17:12:38 |
vercel/next.js | eb4b41e513642cf1064731abef28b939df40bba8 | 4a37c2d1a15e28f4780e304401eb453f2eff9d62 | Fix unmatched WebSocket upgrade requests being closed (#57245)
We should not close unmatched sockets as it might be handled by user's server.
Fixes #56996
Fixes #49334
Fixes #55299 | [
{
"path": "packages/next/src/server/lib/router-server.ts",
"patch": "@@ -602,8 +602,9 @@ export async function initialize(opts: {\n if (parsedUrl.protocol) {\n return await proxyRequest(req, socket as any, parsedUrl, head)\n }\n- // no match close socket\n- socket.end()\n+\n+ ... | 2023-10-23T17:23:34 |
golang/go | e3c2e4cb7dc006d4282e6d5c85222006d380d701 | de0f4d190fc98c9dcc3d3537ae889be2c5eb7bd5 | net/http: make Request.WithContext documentation less prescriptive
WithContext makes a shallow copy of a Request, and Clone makes a
deep copy. Both set the context of the new request. The distinction
between the two is clear, and it doesn't seem useful or necessary
to say that "it's rare to need WithContext".
Also up... | [
{
"path": "src/net/http/request.go",
"patch": "@@ -317,14 +317,14 @@ type Request struct {\n \tResponse *Response\n \n \t// ctx is either the client or server context. It should only\n-\t// be modified via copying the whole Request using WithContext.\n+\t// be modified via copying the whole Request using Cl... | 2022-06-16T20:36:28 |
nodejs/node | c3204a8787452e3c3727353ab397de7ee407e5cb | 6791ac0a472cdc968f8d97187c3a8a3d1b272341 | test: use common.buildType in embedding test
This un-breaks testing in the case of `./configure --debug-node`.
PR-URL: https://github.com/nodejs/node/pull/32422
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James ... | [
{
"path": "test/embedding/test-embedding.js",
"patch": "@@ -6,8 +6,7 @@ const child_process = require('child_process');\n const path = require('path');\n \n common.allowGlobals(global.require);\n-let binary = process.features.debug ?\n- 'out/Debug/embedtest' : 'out/Release/embedtest';\n+let binary = `out/$... | 2020-03-22T10:50:20 |
electron/electron | b67d515a76832af6234aa011abd169cf62293bbd | 9e189b9d2d434470fc69a43a35e5d4cec0028fd2 | fix signature for SetAlwaysOnTop in native window views | [
{
"path": "atom/browser/native_window_views.h",
"patch": "@@ -87,7 +87,7 @@ class NativeWindowViews : public NativeWindow,\n void SetClosable(bool closable) override;\n bool IsClosable() override;\n void SetAlwaysOnTop(bool top, const std::string& level,\n- int relativeLevel, std:... | 2017-01-26T15:24:20 |
facebook/react | 760cdd35c9939906d0297a8214cfa9b2eb187be2 | 3ad2938dfab98ac1e2e698d89c6418af90f17b9a | Fix typo (ot -> to) | [
{
"path": "docs/docs/09.2-form-input-binding-sugar.md",
"patch": "@@ -62,7 +62,7 @@ var WithLink = React.createClass({\n });\n ```\n \n-`LinkedStateMixin` adds a method ot your React component called `linkState()`. `linkState()` returns a `ReactLink` object which contains the current value of the React stat... | 2013-12-15T17:11:47 |
rust-lang/rust | 7d88f657e993a3ec394f0b29dea0e5008633a6ba | e2acc6c5f4474b3610ce9f1cde84ecb854a354a7 | Fix ICE | [
{
"path": "compiler/rustc_ty_utils/src/abi.rs",
"patch": "@@ -474,9 +474,10 @@ fn fn_abi_new_uncached<'tcx>(\n let (caller_location, determined_fn_def_id, is_virtual_call) = if let Some(instance) = instance\n {\n let is_virtual_call = matches!(instance.def, ty::InstanceKind::Virtual(..));\n+... | 2025-08-06T18:31:58 |
vercel/next.js | 4a37c2d1a15e28f4780e304401eb453f2eff9d62 | 67415750f33de670cf02de2a9fcf57ba58aa98d4 | chore: fix a typo (#57272) | [
{
"path": "packages/next/cache.js",
"patch": "@@ -14,7 +14,7 @@ const cacheExports = {\n // When importing CommonJS modules, the module.exports object is provided as the default export\n module.exports = cacheExports\n \n-// make import { xxx } from 'next/server' work\n+// make import { xxx } from 'next/cac... | 2023-10-23T17:10:35 |
nodejs/node | 191fb3c2f29c8c5827a99258d45163b148824faf | 1b1c2993a5bc9a64cb4d417509d2fc35a64182f4 | src: check for empty maybe local
Using ToLocalChecked on MaybeLocal without verifying it's empty
can lead to unattempted crash.
PR-URL: https://github.com/nodejs/node/pull/32339
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.c... | [
{
"path": "src/udp_wrap.cc",
"patch": "@@ -516,7 +516,8 @@ void UDPWrap::DoSend(const FunctionCallbackInfo<Value>& args, int family) {\n \n // construct uv_buf_t array\n for (size_t i = 0; i < count; i++) {\n- Local<Value> chunk = chunks->Get(env->context(), i).ToLocalChecked();\n+ Local<Value> ch... | 2020-03-18T07:46:40 |
electron/electron | 9e189b9d2d434470fc69a43a35e5d4cec0028fd2 | 1234b61fa6d3ee3c6245c5d5dee54dfd2e8654e5 | fix js lint errors | [
{
"path": "spec/api-browser-window-spec.js",
"patch": "@@ -514,14 +514,14 @@ describe('BrowserWindow module', function () {\n assert.equal(w.isAlwaysOnTop(), true)\n })\n \n- it('raises an error when relativeLevel is out of bounds', function() {\n- if (process.platform !== 'darwin') return... | 2017-01-26T15:14:47 |
golang/go | de0f4d190fc98c9dcc3d3537ae889be2c5eb7bd5 | 7b45edb45016307151266731ccd158e14504598f | go/types, types2: don't build unnecessary error strings in implements
When accessing (*Checker).implements from types.AssignableTo or
types.ComparableTo, we don't need to build error strings -- they won't
be used.
This string manipulation showed up as a hot spot in gopls completion,
which checks a lot of type predica... | [
{
"path": "src/cmd/compile/internal/types2/api.go",
"patch": "@@ -429,7 +429,7 @@ func AssertableTo(V *Interface, T Type) bool {\n \tif T.Underlying() == Typ[Invalid] {\n \t\treturn false\n \t}\n-\treturn (*Checker)(nil).newAssertableTo(V, T) == nil\n+\treturn (*Checker)(nil).newAssertableTo(V, T)\n }\n \n ... | 2022-08-12T21:51:55 |
rust-lang/rust | 82aac02c5267a427fdc5e8e1abbba98fc11c832c | 2136c500cdbdd08fe7c25927b5d3ce790d75f68b | Revert "Preserve the .debug_gdb_scripts section"
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e. | [
{
"path": "src/debuginfo.rs",
"patch": "@@ -254,8 +254,7 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {\n // TODO(antoyo): implement.\n }\n \n- fn debuginfo_finalize(&mut self) {\n- // TODO: emit section `.debug_gdb_scripts`.\n+ fn debuginfo_finalize(&... | 2025-08-06T18:01:07 |
vercel/next.js | 67415750f33de670cf02de2a9fcf57ba58aa98d4 | b0e3a67edb2adbc52ad6606dc072d8430c65d736 | Improve encryption of Server Actions closure arguments (#57227)
This change makes sure that the iv of AES-GCM encryption is cryptographically random on each request. Also added a constant prefix as some kind of checksum to ensure the data is not damaged (e.g. wrong key is being used). | [
{
"path": "packages/next/src/server/app-render/action-encryption.ts",
"patch": "@@ -23,6 +23,9 @@ import {\n stringToUint8Array,\n } from './action-encryption-utils'\n \n+const PAYLOAD_PREFIX = 'next:'\n+const SALT_PREFIX = '__next_action__'\n+\n async function decodeActionBoundArg(actionId: string, arg: ... | 2023-10-23T16:53:15 |
facebook/react | 8b0af9b5de47e48d9dfd793219a40fa0f39efaa9 | 02de96f012cc535659eb26b79b9827d6e1f7eb7d | Fix SelectEventPlugin
mouseup was not fired when context menu showed, so select events stopped being fired. | [
{
"path": "src/eventPlugins/SelectEventPlugin.js",
"patch": "@@ -192,6 +192,7 @@ var SelectEventPlugin = {\n case topLevelTypes.topMouseDown:\n mouseDown = true;\n break;\n+ case topLevelTypes.topContextMenu:\n case topLevelTypes.topMouseUp:\n mouseDown = false;\n ... | 2013-12-11T21:40:40 |
nodejs/node | ca19d553cf78e335da396756677bd5afb910ed2d | a0578714bf50a473563fa32bad258aad92351ba0 | http: fixup options.method error message
Use `options.method` instead of just `method`
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/32471
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> | [
{
"path": "lib/_http_client.js",
"patch": "@@ -172,7 +172,7 @@ function ClientRequest(input, options, cb) {\n let method = options.method;\n const methodIsString = (typeof method === 'string');\n if (method !== null && method !== undefined && !methodIsString) {\n- throw new ERR_INVALID_ARG_TYPE('me... | 2020-03-24T21:32:37 |
golang/go | 7b45edb45016307151266731ccd158e14504598f | 69a8954282dc4500bb645e67fb912d53a7f78a5c | bytes: add Clone function
The new Clone function returns a copy of b[:len(b)]
for the input byte slice b.
The result may have additional unused capacity.
Clone(nil) returns nil.
Fixes #45038
Change-Id: I0469a202d77a7b491f1341c08915d07ddd1f0300
Reviewed-on: https://go-review.googlesource.com/c/go/+/359675
Run-TryBot:... | [
{
"path": "api/next/45038.txt",
"patch": "@@ -0,0 +1 @@\n+pkg bytes, func Clone([]uint8) []uint8 #45038",
"additions": 1,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "src/bytes/bytes.go",
"patch": "@@ -1299,3 +1299,13 @@ func Cut(s, sep []byte) (before, after []byte, found ... | 2021-10-31T09:04:03 |
electron/electron | a749a3dd2af69f9598dc6ca679f3a04cb683477d | 94fdcb4f489c9b938679d79bf96cc39f0c984957 | Fix Debug building on Windows | [
{
"path": "brightray/browser/views/views_delegate.cc",
"patch": "@@ -100,10 +100,6 @@ void ViewsDelegate::OnBeforeWidgetInit(\n }\n \n \n-base::TimeDelta ViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() {\n- return base::TimeDelta();\n-}\n-\n bool ViewsDelegate::WindowManagerProvidesTitleBar(bool... | 2017-01-26T07:09:45 |
rust-lang/rust | e02cc40ec96457ab563273a69d314418cea7eb84 | 270c1a4d24ba4b244037c3fa1651d17a5f77eae4 | Revert "Preserve the .debug_gdb_scripts section"
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e. | [
{
"path": "compiler/rustc_codegen_gcc/src/debuginfo.rs",
"patch": "@@ -254,8 +254,7 @@ impl<'gcc, 'tcx> DebugInfoCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {\n // TODO(antoyo): implement.\n }\n \n- fn debuginfo_finalize(&mut self) {\n- // TODO: emit section `.debug_gdb_scripts`.\n+... | 2025-08-06T18:01:07 |
facebook/react | 02de96f012cc535659eb26b79b9827d6e1f7eb7d | e92ce38cf1a770e5eaf3b2dbf485d90f9f7d90bf | Fix Merging `propTypes`, `contextTypes`, and `childContextTypes`
This fixes merging of `propTypes`, `contextTypes`, and `childContextTypes` so that we actually merge (instead of only taking the component or last mixin). | [
{
"path": "src/core/ReactCompositeComponent.js",
"patch": "@@ -100,31 +100,31 @@ var ReactCompositeComponentInterface = {\n * @type {object}\n * @optional\n */\n- statics: SpecPolicy.DEFINE_MANY_MERGED,\n+ statics: SpecPolicy.DEFINE_MANY,\n \n /**\n * Definition of prop types for this compon... | 2013-12-11T21:40:21 |
golang/go | 69a8954282dc4500bb645e67fb912d53a7f78a5c | 95c125a44ad1a0c3e441c3214160cd7b4483e79c | runtime: document GODEBUG=cpu.* in runtime package
So far was only documented in doc/diagnostics.
Fixes: #54183
Change-Id: Iab67a1500547f30325453c614a2f2f6621dfadb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/423275
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@goog... | [
{
"path": "src/runtime/extern.go",
"patch": "@@ -42,6 +42,12 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \tclobber the memory content of an object with bad content when it frees\n \tthe object.\n \n+\tcpu.*: cpu.all=off disables the use of all optional instruction set ... | 2022-08-12T17:08:35 |
nodejs/node | a0578714bf50a473563fa32bad258aad92351ba0 | 1428a92492469b7ea1ee91acd204854a615be4eb | repl: fixup error message
Use "cmd.action" instead of just "action" for ERR_INVALID_ARG_TYPE
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/32474
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/repl.js",
"patch": "@@ -1378,7 +1378,7 @@ REPLServer.prototype.defineCommand = function(keyword, cmd) {\n if (typeof cmd === 'function') {\n cmd = { action: cmd };\n } else if (typeof cmd.action !== 'function') {\n- throw new ERR_INVALID_ARG_TYPE('action', 'Function', cmd.action);\... | 2020-03-24T22:05:39 |
vercel/next.js | b0e3a67edb2adbc52ad6606dc072d8430c65d736 | e6b103b85bd6aa19539cfd471794cb6f289bdd07 | Fix relative metadata url resolving on windows (#57265)
x-ref: https://dev.azure.com/nextjs/next.js/_build/results?buildId=71544&view=logs&j=8af7cf9c-43a1-584d-6f5c-57bad8880974&t=7ae70e63-3625-50f4-6764-5b3e72b4bd7a
We need to use poxis join for url pathname
```
- Expected - 1
+ Received + 1
Object {
"itune... | [
{
"path": "packages/next/src/lib/metadata/resolvers/resolve-url.ts",
"patch": "@@ -66,7 +66,7 @@ function resolveUrl(\n \n // Handle relative or absolute paths\n const basePath = metadataBase.pathname || ''\n- const joinedPath = path.join(basePath, url)\n+ const joinedPath = path.posix.join(basePath, ... | 2023-10-23T16:38:51 |
electron/electron | 1234b61fa6d3ee3c6245c5d5dee54dfd2e8654e5 | 1f5518b91efad274e75000313727f936c4fbfbe8 | spec to ensure an error is thrown when relativeLevel is set out of bounds | [
{
"path": "spec/api-browser-window-spec.js",
"patch": "@@ -513,6 +513,18 @@ describe('BrowserWindow module', function () {\n w.setAlwaysOnTop(true)\n assert.equal(w.isAlwaysOnTop(), true)\n })\n+\n+ it('raises an error when relativeLevel is out of bounds', function() {\n+ if (process... | 2017-01-26T03:39:57 |
golang/go | 95c125a44ad1a0c3e441c3214160cd7b4483e79c | 05ff045dfeab582503a15c4233161aa8b6be179d | net/http: allow zero-valued Expires in Cookie.Valid
The value of Expires is only checked when a value is set.
This fixes the bug that a cookie with a zero-valued Expire
was considered invalid, even though Expires is an optional
field.
Fixes #52989
Change-Id: I206c50e9b6ea2744a92c74673d589ce2aaa62670
Reviewed-on: ht... | [
{
"path": "src/net/http/cookie.go",
"patch": "@@ -247,7 +247,7 @@ func (c *Cookie) Valid() error {\n \tif !isCookieNameValid(c.Name) {\n \t\treturn errors.New(\"http: invalid Cookie.Name\")\n \t}\n-\tif !validCookieExpires(c.Expires) {\n+\tif !c.Expires.IsZero() && !validCookieExpires(c.Expires) {\n \t\tret... | 2022-05-21T07:42:02 |
nodejs/node | 1428a92492469b7ea1ee91acd204854a615be4eb | cba9f2e7a2ff04619ceba1350418469049d79b1c | stream: make pipeline try to wait for 'close'
Pipeline uses eos which will invoke the callback
on 'finish' and 'end' before all streams have been
fully destroyed.
Fixes: https://github.com/nodejs/node/issues/32032
PR-URL: https://github.com/nodejs/node/pull/32158
Reviewed-By: Matteo Collina <matteo.collina@gmail.com... | [
{
"path": "lib/internal/streams/end-of-stream.js",
"patch": "@@ -63,22 +63,35 @@ function eos(stream, opts, callback) {\n \n const wState = stream._writableState;\n const rState = stream._readableState;\n+ const state = wState || rState;\n \n const onlegacyfinish = () => {\n if (!stream.writable)... | 2020-03-09T16:00:01 |
vercel/next.js | e6b103b85bd6aa19539cfd471794cb6f289bdd07 | c2ba7e6a167a85d54c9efdc2f8b246836f442486 | Simplify options passed to createWebpackAliases (#57239)
Reducing the options so it becomes easier to call it outside of
webpack-config.ts, which would be needed to pass it to Turbopack.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we... | [
{
"path": "packages/next/src/build/create-compiler-aliases.ts",
"patch": "@@ -24,37 +24,39 @@ interface CompilerAliases {\n }\n \n export function createWebpackAliases({\n- dev,\n- pageExtensions,\n+ isClient,\n isEdgeServer,\n+ isNodeServer,\n+ dev,\n config,\n pagesDir,\n appDir,\n dir,\n- ... | 2023-10-23T16:04:05 |
electron/electron | 2ad46f18429a480c1b471857e80f0f24008a1bef | 8e69f94df000b1efd4022e3029e0122dde374f06 | Add failing spec for empty image crashes | [
{
"path": "spec/api-native-image-spec.js",
"patch": "@@ -7,7 +7,16 @@ const path = require('path')\n describe('nativeImage module', () => {\n describe('createEmpty()', () => {\n it('returns an empty image', () => {\n- assert(nativeImage.createEmpty().isEmpty())\n+ const empty = nativeImage.c... | 2017-01-25T20:57:20 |
golang/go | 05ff045dfeab582503a15c4233161aa8b6be179d | f7e6986d6b9f230a6807383fc0e37d9042baa5bf | net/http: add Server.DisableOptionsHandler for custom handling of OPTIONS *
Fixes #41773
Change-Id: I432ad5410d5e3bb0aff3a6e0eea6906ab1b214e2
GitHub-Last-Rev: 57d1ee249dcdf46c54214d0636f235e5c62af213
GitHub-Pull-Request: golang/go#49014
Reviewed-on: https://go-review.googlesource.com/c/go/+/356410
Reviewed-by: Brad F... | [
{
"path": "api/next/41773.txt",
"patch": "@@ -0,0 +1 @@\n+pkg net/http, type Server struct, DisableGeneralOptionsHandler bool #41773",
"additions": 1,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "src/net/http/serve_test.go",
"patch": "@@ -3492,6 +3492,37 @@ func TestOptions... | 2022-08-14T09:56:34 |
vercel/next.js | c2ba7e6a167a85d54c9efdc2f8b246836f442486 | 6adb9716c5c66c5cc99eb27c5bef5ab15432b768 | Turbopack: fix over-invalidation of node.js assets (#57240)
### What?
* no need to clear require cache when assets where not used previously
* make build status reporting more consistent
* report build status to client side for build indicator
### Why?
### How?
Closes WEB-1826 | [
{
"path": "packages/next/src/client/dev/dev-build-watcher.ts",
"patch": "@@ -95,6 +95,7 @@ export default function initializeBuildWatcher(\n break\n case HMR_ACTIONS_SENT_TO_BROWSER.BUILT:\n case HMR_ACTIONS_SENT_TO_BROWSER.SYNC:\n+ case HMR_ACTIONS_SENT_TO_BROWSER.FINISH_BUILDING:\... | 2023-10-23T15:56:47 |
rust-lang/rust | 51c6272baee4e60a525959c2fc9b96103ad5de74 | efbe625e35df7c2a7fa59b94a783f6f160828167 | Fix non-lsp compliant `Response` definition | [
{
"path": "src/tools/rust-analyzer/Cargo.lock",
"patch": "@@ -1294,7 +1294,7 @@ checksum = \"13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94\"\n \n [[package]]\n name = \"lsp-server\"\n-version = \"0.7.8\"\n+version = \"0.7.9\"\n dependencies = [\n \"anyhow\",\n \"crossbeam-channel\",\n@@... | 2025-08-06T15:46:39 |
facebook/react | 4b3fa413a166e6f3a77cc538417ce4b8ea0dceea | b268f95e1f3b8c482077a10c6924155d8f731c7d | Improving never seen error message
Removing repeating "support it" and fixing camelCase method name | [
{
"path": "src/vendor/stubs/EventListener.js",
"patch": "@@ -46,8 +46,8 @@ var EventListener = {\n if (!el.addEventListener) {\n if (__DEV__) {\n console.error(\n- 'You are attempting to use addEventlistener ' +\n- 'in a browser that does not support it support it.' +\n+ ... | 2013-12-11T05:07:41 |
golang/go | 1d66144bfd4b6aad915a8b62e43e3cab5460e9bc | a13903562d612346507d9bacf481aaf0d9fa02fc | build: update comments about Go 1.4 in make.bash, make.bat, make.rc
A few lingering references to Go 1.4 remain.
Fix them, and document the ones that should stay.
For #44505.
Fixes #54301.
Change-Id: Ieb9c0f08e4d1890ea3fdfd9c8df5493934ae7493
Reviewed-on: https://go-review.googlesource.com/c/go/+/423354
TryBot-Result... | [
{
"path": "src/make.bash",
"patch": "@@ -67,9 +67,12 @@\n # timing information to this file. Useful for profiling where the\n # time goes when these scripts run.\n #\n-# GOROOT_BOOTSTRAP: A working Go tree >= Go 1.4 for bootstrap.\n+# GOROOT_BOOTSTRAP: A working Go tree >= Go 1.17 for bootstrap.\n # If $GOR... | 2022-08-12T16:16:47 |
vercel/next.js | 652a553a130c57df276db5e2267a8233e1552a73 | c5207751a20d2dc731a5ec18d6548e8bb8dfab41 | Update `swc_core` to `v0.86.10` (#57121)
### What?
Update SWC crates. This PR fixes a regression of `swc_core`.
The important PR: https://github.com/swc-project/swc/pull/8153
### Why?
There was a regression in `swc_core`.
### How?
- Fixes #56408
Closes WEB-1811
---------
Co-authored-by: Tobia... | [
{
"path": "Cargo.lock",
"patch": "@@ -321,7 +321,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-231022.2#a1f9184bbee4ef589c3cba47810cc331975ac8af\"\n+source = \"git+https://github.com/vercel/turbo.git?ta... | 2023-10-23T03:01:31 |
electron/electron | 330ac5f2667d564ab66cbf4ea44437a47a446091 | 56a8eb3a946c2855aef425575cba5391ea8c1e42 | Fix standard linting error | [
{
"path": "spec/static/main.js",
"patch": "@@ -257,7 +257,9 @@ ipcMain.on('try-emit-web-contents-event', (event, id, eventName) => {\n const listenerCountBefore = contents.listenerCount(eventName)\n \n try {\n- console.warn = (message) => warningMessage = message\n+ console.warn = (message) => {\n... | 2017-01-24T23:09:41 |
nodejs/node | 0d0f151a46b36483af15e355afc81d1693c98fb0 | b2e1a01516cbbf9dd1a90e8e0cba188db0b67062 | stream: emit 'pause' on unpipe
unpipe should use pause() instead of mutating
state.flowing directly so that pausing side
effects such as emitting 'pause' are properly
performed.
Fixes: https://github.com/nodejs/node/issues/32470
PR-URL: https://github.com/nodejs/node/pull/32476
Reviewed-By: Anna Henningsen <anna@add... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -819,7 +819,7 @@ Readable.prototype.unpipe = function(dest) {\n // remove all.\n var dests = state.pipes;\n state.pipes = [];\n- state.flowing = false;\n+ this.pause();\n \n for (const dest of dests)\n dest.emit('unpipe', this, { ... | 2020-03-24T23:43:18 |
facebook/react | 043a986ba906129f3ffcd6f7e2c5371ae5248a85 | 7640e5310219577ab4a9f8ea3b2683623632fc3b | fixing capitalization | [
{
"path": "docs/tips/10-props-in-getInitialState-as-anti-pattern.md",
"patch": "@@ -1,6 +1,6 @@\n ---\n id: props-in-getInitialState-as-anti-pattern\n-title: Using state to cache calculations is an antipattern\n+title: Using State to Cache Calculations Is an Anti-Pattern\n layout: tips\n permalink: props-in... | 2013-12-10T18:59:29 |
golang/go | 4a4e206884c64397c0b62e58be876f457b4cd477 | e99f285d52627aa415f9c1766cbffe375b2f67d9 | test: fix issue53702.go for noopt builder
The test requires inlining happens.
Updates #53702
Change-Id: I0d93b5e29e271ace4098307b74c40c0e06d975e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/423834
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Cuong... | [
{
"path": "test/run.go",
"patch": "@@ -92,6 +92,10 @@ func defaultAllCodeGen() bool {\n \treturn os.Getenv(\"GO_BUILDER_NAME\") == \"linux-amd64\"\n }\n \n+func optimizationOff() bool {\n+\treturn strings.HasSuffix(os.Getenv(\"GO_BUILDER_NAME\"), \"-noopt\")\n+}\n+\n var (\n \tgoos = env.GOOS\n \tg... | 2022-08-15T02:58:30 |
vercel/next.js | c5207751a20d2dc731a5ec18d6548e8bb8dfab41 | ac00e86452ad657576aaf190cb30a289e946dacb | Polish turbopack start logging (#57203)
Bring a tiny util to get a `(turbo)` label after next.js info for turbopack dev-server logging and also remove the disclaimer of "thank you for trying".
### After
<img width="597" alt="image" src="https://github.com/vercel/next.js/assets/4800338/c3658775-3ce6-48fc-8128-7baebe9... | [
{
"path": "packages/next/src/build/output/log.ts",
"patch": "@@ -4,7 +4,7 @@ export const prefixes = {\n wait: white(bold('○')),\n error: red(bold('⨯')),\n warn: yellow(bold('⚠')),\n- ready: bold('▲'), // no color\n+ ready: '▲', // no color\n info: white(bold(' ')),\n event: green(bold('✓')),\n ... | 2023-10-23T02:53:40 |
rust-lang/rust | d339009cbfc59f04be15a9ca6c8f2d9ff98aa0f7 | efbe625e35df7c2a7fa59b94a783f6f160828167 | Report the incorrect payload when failing to deserialize lsp messages | [
{
"path": "src/tools/rust-analyzer/crates/ide/src/inlay_hints.rs",
"patch": "@@ -228,9 +228,9 @@ fn hints(\n chaining::hints(hints, famous_defs, config, display_target, &expr);\n adjustment::hints(hints, famous_defs, config, display_target, &expr);\n match exp... | 2025-08-06T15:30:18 |
electron/electron | c213971a2dc87554ce70b9019d04e93cd5311c0f | bc2f1e81990719743876105bfebd655fd6bb5c42 | Write a warning instead of crashing. | [
{
"path": "lib/browser/rpc-server.js",
"patch": "@@ -160,6 +160,9 @@ const rendererMissingErrorMessage = (meta, args, callIntoRenderer) => {\n \n if (remoteEvents.length > 0) {\n message += `\\nRemote event names: ${remoteEvents.join(', ')}`\n+ remoteEvents.forEach((eventName) => {\n+ sender.r... | 2017-01-13T20:28:11 |
nodejs/node | bdfbbf6c68da7a413d5e7101ce135ea41e4e81f4 | afb5639119c91afc8c6f5c078468fe6f7775f8a2 | doc: trim wording in n-api.md text about exceptions
PR-URL: https://github.com/nodejs/node/pull/32457
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com> | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -799,9 +799,8 @@ This API can be called even if there is a pending JavaScript exception.\n ### Exceptions\n \n Any N-API function call may result in a pending JavaScript exception. This is\n-obviously the case for any function that may cause the execution of\n-Java... | 2020-03-24T13:19:35 |
facebook/react | 42dee34146c7ef24cf6bf6962a39a1b468bcd03a | 00c8160f8e7bdfcf01341c00a97c341191a002f9 | Update highlighted lines in tutorial
Minor issue, but I found it distracting that the highlighted lines were not accurate. I *believe* this fixes them up. | [
{
"path": "docs/docs/tutorial.md",
"patch": "@@ -320,7 +320,7 @@ That's it!\n \n Let's replace the hard-coded data with some dynamic data from the server. We will remove the data prop and replace it with a URL to fetch:\n \n-```javascript{2}\n+```javascript{3}\n // tutorial11.js\n React.renderComponent(\n ... | 2013-12-09T23:16:37 |
golang/go | e99f285d52627aa415f9c1766cbffe375b2f67d9 | 1f833e4a1bfd77c2dfa91305f90ade9f9ceb66de | cmd/compile: fix ICE when checking implicit dot for method call
CL 414836 limited the check for implicit dot for method call enabled by
a type bound. However, the checking condition for ODOTMETH only is not
right. For example, for promoted method, we have a OXDOT node instead,
and we still have to check for implicit d... | [
{
"path": "src/cmd/compile/internal/noder/stencil.go",
"patch": "@@ -1656,9 +1656,11 @@ func (g *genInst) getDictionarySym(gf *ir.Name, targs []*types.Type, isMeth bool\n \t\t\t\tvar nameNode *ir.Name\n \t\t\t\tse := call.X.(*ir.SelectorExpr)\n \t\t\t\tif se.X.Type().IsShape() {\n-\t\t\t\t\t// This is a met... | 2022-08-09T12:30:47 |
rust-lang/rust | a2b1714fb2500afd59835a9f01c90e8463957418 | 768f97748f81c4cb7f63cfb74c16cb2f80dc0ce4 | Add regression test for rustdoc scrape-examples feature crash (#144752) | [
{
"path": "tests/run-make/rustdoc-scrape-examples-paths/foo/Cargo.toml",
"patch": "@@ -0,0 +1,8 @@\n+[package]\n+name = \"foo\"\n+version = \"0.0.1\"\n+edition = \"2024\"\n+\n+[[example]]\n+name = \"complex\"\n+doc-scrape-examples = true",
"additions": 8,
"deletions": 0,
"language": "Unknown"
... | 2025-08-06T15:09:21 |
vercel/next.js | b64c0426bcc7281581782ea0be75cc0e2745a23c | 1836998e527a6937d94e998708289f34ab142f9e | update turbopack (#57176)
* https://github.com/vercel/turbo/pull/6241 <!-- Tobias Koppers - make
the daily ci faster -->
* https://github.com/vercel/turbo/pull/6242 <!-- Justin Ridgewell - Add
caching to `chunk_content`'s graph walking -->
* https://github.com/vercel/turbo/pull/6228 <!-- Tobias Koppers - Reduce
r... | [
{
"path": "Cargo.lock",
"patch": "@@ -321,7 +321,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-231020.4#07e8e48458b553930be29b7d4a0da89204a4e59a\"\n+source = \"git+https://github.com/vercel/turbo.git?ta... | 2023-10-23T00:42:29 |
electron/electron | b04db2e546c3f56ff9b2fef5f664e49896ba4e8c | a0b24bd155437d7a85d0238e572abbabf8ce0f42 | Add a spec for the "renderer window closed" error. | [
{
"path": "spec/api-ipc-spec.js",
"patch": "@@ -494,6 +494,18 @@ describe('ipc module', function () {\n w.removeListener('test', listener)\n assert.equal(w.listenerCount('test'), 0)\n })\n+\n+ it('throws an error when a function is called in a destroyed renderer', (done) => {\n+ w = ... | 2017-01-12T23:02:24 |
nodejs/node | f0a33d99ec4656b87bebb97162837047b52eb6f8 | dade90db9c64040f3bfc0ebb6d7556277e7de5a1 | doc: simplify and correct example descriptions in net.md
Instead of indicating that examples show lines to change in previous
examples, present the examples as standalone items. They suffice on
their own.
In the first of these, it says to change "the second line" of a previous
example, but if it were literally change... | [
{
"path": "doc/api/net.md",
"patch": "@@ -1064,8 +1064,7 @@ client.on('end', () => {\n });\n ```\n \n-To connect on the socket `/tmp/echo.sock` the second line would just be\n-changed to:\n+To connect on the socket `/tmp/echo.sock`:\n \n ```js\n const client = net.createConnection({ path: '/tmp/echo.sock' }... | 2020-03-24T06:04:38 |
facebook/react | 277abbfe7b0190197b5eae278a4848f945fcf4e5 | 00c8160f8e7bdfcf01341c00a97c341191a002f9 | Fix lint error (unused variable) | [
{
"path": "vendor/constants.js",
"patch": "@@ -15,7 +15,6 @@\n */\n 'use strict';\n \n-var assert = require('assert');\n var recast = require('recast');\n var types = recast.types;\n var namedTypes = types.namedTypes;",
"additions": 0,
"deletions": 1,
"language": "JavaScript"
}
] | 2013-12-09T20:29:03 |
rust-lang/rust | 768f97748f81c4cb7f63cfb74c16cb2f80dc0ce4 | dc0bae1db725fbba8524f195f74f680995fd549e | Fix rustdoc scrape-examples feature crash | [
{
"path": "src/librustdoc/config.rs",
"patch": "@@ -804,8 +804,7 @@ impl Options {\n \n let scrape_examples_options = ScrapeExamplesOptions::new(matches, dcx);\n let with_examples = matches.opt_strs(\"with-examples\");\n- let call_locations =\n- crate::scrape_examples::load... | 2025-08-06T15:08:43 |
golang/go | 09932f95f5619f44fa874c780dbbddc073be990a | 8adc63b3eb21e8bbacd13335bcf8d6b3a9a507c4 | cmd/compile: combine more constant stores on amd64
Fixes #53324
Change-Id: I06149d860f858b082235e9d80bf0ea494679b386
Reviewed-on: https://go-review.googlesource.com/c/go/+/411614
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Wayne Zuo <wdvxdr@golangcn.org>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-... | [
{
"path": "src/cmd/compile/internal/ssa/gen/AMD64.rules",
"patch": "@@ -1929,52 +1929,52 @@\n => (MOVQstore [i] {s} p0 (BSWAPQ <w.Type> w) mem)\n \n // Combine constant stores into larger (unaligned) stores.\n-(MOVBstoreconst [c] {s} p x:(MOVBstoreconst [a] {s} p mem))\n+(MOVBstoreconst [c] {s} p1 x:(MOVB... | 2022-06-10T11:06:30 |
vercel/next.js | 1836998e527a6937d94e998708289f34ab142f9e | 27625117966f367c677bbfc4e4893098d410728e | perf: memory usage tweaks (#57163)
This PR does two things:
- bring back the logic to restart the dev server when approaching 80% of
the heap limits
- add some logic to increase the default Node.js memory usage to 50% of
the available RAM
Tested manually
<!-- Thanks for opening a PR! Your contribution is muc... | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -6,6 +6,7 @@ import {\n RESTART_EXIT_CODE,\n checkNodeDebugType,\n getDebugPort,\n+ getMaxOldSpaceSize,\n getNodeOptionsWithoutInspect,\n getPort,\n printAndExit,\n@@ -33,6 +34,7 @@ import {\n getReservedPortExplanation,\n isPortIs... | 2023-10-23T00:26:48 |
nodejs/node | b950daf8368cb9ab7f190b74774e55b20e17dec9 | 2fa74e3e38bb028339e48763138456b3ed10ed97 | src: use single ObjectTemplate for TextDecoder
`ObjectTemplate`s are not garbage-collected like regular objects
(for some reason). It is sufficient to create a single template
anyway, so do that to address the memory leak.
Fixes: https://github.com/nodejs/node/issues/32424
PR-URL: https://github.com/nodejs/node/pull... | [
{
"path": "src/env.h",
"patch": "@@ -411,6 +411,7 @@ constexpr size_t kFsStatsBufferLength =\n V(http2settings_constructor_template, v8::ObjectTemplate) \\\n V(http2stream_constructor_template, v8::ObjectTemplate) \\\n V(http2ping_constructor_template, v8::Objec... | 2020-03-22T17:00:57 |
facebook/react | feeebfbc51962b0029e9d1b316187c6da0fbfed3 | 55f50ca4d1561111c30f648dea1fa9551cb38a5c | removed complexity report until it's fixed | [
{
"path": ".travis.yml",
"patch": "@@ -26,7 +26,6 @@ env:\n matrix:\n - TEST_TYPE=test:full\n - TEST_TYPE=lint\n- - TEST_TYPE=\"build complexity\"\n - TEST_TYPE=test:coverage\n - TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie11\n - TEST_TYPE=test:webdriver:saucelabs BROWSER_NAME=ie10\n@@ -4... | 2013-12-09T19:55:00 |
rust-lang/rust | b1f49d872869f5ed52776473c9003d8b351c77c6 | dc0bae1db725fbba8524f195f74f680995fd549e | Fix build/doc/test of error index generator
It is essentially a RustcPrivate tool, so it should be treated as such using the new `RustcPrivateCompilers` infra. | [
{
"path": "src/bootstrap/src/core/build_steps/doc.rs",
"patch": "@@ -12,7 +12,9 @@ use std::path::{Path, PathBuf};\n use std::{env, fs, mem};\n \n use crate::core::build_steps::compile;\n-use crate::core::build_steps::tool::{self, SourceType, Tool, prepare_tool_cargo};\n+use crate::core::build_steps::tool::... | 2025-08-06T15:10:13 |
electron/electron | 26e3ad3c2ef38ee5169922f8310f3bb52ead7a4a | 8e39aea34acdcaccbe9cd5a09cc32ff960c4fc92 | Display more information about remote event crashes.
If possible, we'll dig into the function args and print the ones that are attached remotely. | [
{
"path": "lib/browser/rpc-server.js",
"patch": "@@ -146,6 +146,28 @@ const throwRPCError = function (message) {\n throw error\n }\n \n+const rendererMissingErrorMessage = function (meta, args, callIntoRenderer) {\n+ let message = `Attempting to call a function in a renderer window that has been closed o... | 2017-01-06T21:09:48 |
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.