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 |
|---|---|---|---|---|---|
nodejs/node | 62bdb7e801ace08d5ec5443c10e89947bd94b288 | 949d1c1f0c65867f2cc79b860c83a2f76d4aee9d | doc: add note about multiple sync events and once
Fixes: https://github.com/nodejs/node/issues/32431
PR-URL: https://github.com/nodejs/node/pull/34220
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> | [
{
"path": "doc/api/events.md",
"patch": "@@ -892,6 +892,60 @@ ee.emit('error', new Error('boom'));\n // Prints: ok boom\n ```\n \n+### Awaiting multiple events emitted on `process.nextTick()`\n+\n+There is an edge case worth noting when using the `events.once()` function\n+to await multiple events emitted o... | 2020-07-06T15:00:51 |
golang/go | ddd8bc1b074f51aa6fc73a94053f394e4bf25525 | 6f445a9db55f65e55c5be29d3c506ecf3be37915 | go/types, types2: optimize instance lookup in LookupFieldOrMethod
LookupFieldOrMethod appears as a hotspot when benchmarking gopls'
auto-completion. In particular, instanceLookup.add was allocating in the
common case of structs with no embedding.
This is easily fixed, by using a small array in front of the map inside... | [
{
"path": "src/cmd/compile/internal/types2/lookup.go",
"patch": "@@ -261,10 +261,18 @@ func lookupType(m map[Type]int, typ Type) (int, bool) {\n }\n \n type instanceLookup struct {\n-\tm map[*Named][]*Named\n+\t// buf is used to avoid allocating the map m in the common case of a small\n+\t// number of insta... | 2022-08-13T16:35:57 |
vercel/next.js | 09bde5a053ef0e8c0300c11427fecc433a2aeb0c | 4e1cd94a3ae4061cc9dc8170d6d6ead3f9e26034 | docs: small wording fix for 03-linking-and-navigating.mdx (#60089)
Probably there could be a better wording, but the current one looks
somewhat confusing.
---------
Co-authored-by: Lee Robinson <me@leerob.io> | [
{
"path": "docs/02-app/01-building-your-application/01-routing/03-linking-and-navigating.mdx",
"patch": "@@ -199,7 +199,7 @@ There are two ways routes are prefetched in Next.js:\n The`<Link>`'s prefetching behavior is different for static and dynamic routes:\n \n - [**Static Routes**](/docs/app/building-you... | 2024-01-03T00:18:59 |
facebook/react | ff12423d639413c1934dfc2ff337b298952e99ef | 1c241b3ebc36bd996353b5e93421128616b37c18 | Fixing touch/mouse issues with TapEventPlugin
On ios device, browser simulates mouse events, but does that with
a delay, because of double tap gesture. The problem is that
TapEventPlugins listens to both types of events, so it fires twice
Everytime there is a touch event, we should ignore mouse events that
follow it.... | [
{
"path": "src/browser/eventPlugins/TapEventPlugin.js",
"patch": "@@ -62,13 +62,15 @@ var dependencies = [\n topLevelTypes.topMouseUp\n ];\n \n+var touchDependencies = [\n+ topLevelTypes.topTouchStart,\n+ topLevelTypes.topTouchCancel,\n+ topLevelTypes.topTouchEnd,\n+ topLevelTypes.topTouchMove\n+];\n+... | 2014-10-28T00:02:03 |
nodejs/node | 949d1c1f0c65867f2cc79b860c83a2f76d4aee9d | a95fb930d0d2bcf8ba3c86f4525d1348e60a7507 | doc: document behavior for once(ee, 'error')
Fixes: https://github.com/nodejs/node/issues/31244
PR-URL: https://github.com/nodejs/node/pull/34225
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "doc/api/events.md",
"patch": "@@ -837,7 +837,7 @@ added:\n * Returns: {Promise}\n \n Creates a `Promise` that is fulfilled when the `EventEmitter` emits the given\n-event or that is rejected when the `EventEmitter` emits `'error'`.\n+event or that is rejected if the `EventEmitter` emits `'error'`... | 2020-07-06T19:51:46 |
electron/electron | 88791a7cb1bd0c01907c8bc29a57481b867d4e7f | 0732329a387badc9e7cd5473e84fc696f0ec8f24 | :memo: [ci skip] Fix link to Thai documentation | [
{
"path": "README.md",
"patch": "@@ -54,7 +54,7 @@ contains documents describing how to build and contribute to Electron.\n - [Simplified Chinese](https://github.com/electron/electron/tree/master/docs-translations/zh-CN)\n - [Traditional Chinese](https://github.com/electron/electron/tree/master/docs-transla... | 2017-06-07T16:38:57 |
golang/go | 0ae042f977942a60d7955bc10bf654835e47e12a | 79d0d330a9340d9e3ccb331660eb74f30e2edd01 | debug/elf: validate phentsize and shentsize
No test case because the problem can only happen for invalid data. Let
the fuzzer find cases like this.
Fixes #56129
Change-Id: I6c81933781384c5e2c8ba0fd99cec50455b9664a
Reviewed-on: https://go-review.googlesource.com/c/go/+/441976
Reviewed-by: Ian Lance Taylor <iant@googl... | [
{
"path": "src/debug/elf/file.go",
"patch": "@@ -344,6 +344,19 @@ func NewFile(r io.ReaderAt) (*File, error) {\n \t\treturn nil, &FormatError{0, \"invalid ELF shstrndx\", shstrndx}\n \t}\n \n+\tvar wantPhentsize, wantShentsize int\n+\tswitch f.Class {\n+\tcase ELFCLASS32:\n+\t\twantPhentsize = 8 * 4\n+\t\tw... | 2022-10-10T21:07:10 |
vercel/next.js | 5acf751663eaa4d3b4c1c6951d8909049e65c6c2 | be1b9738c8e155529158196cbaeffb1b7f2eb790 | chore: include required Next.js stages to issue template (#60142)
Include an additional requirement in the [Issue
Template](https://github.com/vercel/next.js/blob/canary/.github/ISSUE_TEMPLATE/1.bug_report.yml)
for adding information about which :nextjs: stage (e.g, `next dev`,
`next build`, & `next start`) is affe... | [
{
"path": ".github/ISSUE_TEMPLATE/1.bug_report.yml",
"patch": "@@ -103,6 +103,18 @@ body:\n - 'TypeScript (plugin, built-in types)'\n validations:\n required: true\n+ - type: dropdown\n+ attributes:\n+ label: Which stage(s) are affected? (Select all that apply)\n+ multiple: t... | 2024-01-02T23:03:19 |
facebook/react | 1c241b3ebc36bd996353b5e93421128616b37c18 | d63aa0f113e9ef8ac18df147b3b7a888deb39df4 | Ensure PropTypes test works when warning module is replaced
For example, warning might be replaced with a module that throws errors,
as is the case internally when running tests. Previously we were
whitelisting this test to provide time to update callsites. Now we
aren't and it fails. | [
{
"path": "src/core/__tests__/ReactPropTypes-test.js",
"patch": "@@ -407,8 +407,32 @@ describe('ReactPropTypes', function() {\n });\n \n it('should still work for deprecated typechecks', function() {\n- typeCheckPass(PropTypes.renderable, []);\n- typeCheckPass(PropTypes.renderable.isRequir... | 2014-10-27T23:58:54 |
nodejs/node | a95fb930d0d2bcf8ba3c86f4525d1348e60a7507 | 26493c02a26270cfbdd0cf3e46a7eaf649a7874a | doc: document security issues with url.parse()
Fixes: https://github.com/nodejs/node/issues/31279
PR-URL: https://github.com/nodejs/node/pull/34226
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> | [
{
"path": "doc/api/url.md",
"patch": "@@ -1262,6 +1262,12 @@ A `TypeError` is thrown if `urlString` is not a string.\n \n A `URIError` is thrown if the `auth` property is present but cannot be decoded.\n \n+Use of the legacy `url.parse()` method is discouraged. Users should\n+use the WHATWG `URL` API. Becau... | 2020-07-06T19:59:12 |
rust-lang/rust | 77d6ee0f351b5d058b96f6940e96221515a7acee | 8365fcb2b840c95eeb0bc377af8bd498fad22245 | Fix bug where `rustdoc-js` tester would not pick the right `search.js` file if there is more than one | [
{
"path": "src/tools/rustdoc-js/tester.js",
"patch": "@@ -405,6 +405,24 @@ async function runChecks(testFile, doSearch, parseQuery) {\n return res;\n }\n \n+function mostRecentMatch(staticFiles, regex) {\n+ const matchingEntries = fs.readdirSync(staticFiles)\n+ .filter(f => f.match(regex))\n+ ... | 2025-08-13T15:26:16 |
facebook/react | a29d496443a0569ecb434a7b51c246d332a6039d | 64a5355444257e953820c8435d198a27f63a3df0 | Changing api documentation for jsx transformer
Hi in chrome debugger, the files that use sourcemaps from the transformer get "null" as the filename during debug, https://github.com/facebook/react/blob/master/main.js#L15 "sourceFilename" is used instead of "filename" to specify the filename in the sourcemap. | [
{
"path": "npm-react-tools/README.md",
"patch": "@@ -37,7 +37,7 @@ option | values | default\n -------|--------|---------\n `sourceMap` | `true`: append inline source map at the end of the transformed source | `false`\n `harmony` | `true`: enable ES6 features | `false`\n-`filename` | the output filename for... | 2014-10-27T17:18:22 |
golang/go | 79d0d330a9340d9e3ccb331660eb74f30e2edd01 | 19095e109d0ae037828c519dda0af307b8a01813 | go/types, types2: better error if there's a field with the name of a missing method
Fixes #51025.
Change-Id: I469a705e7da059e7ac0b12b05beb9ed5d3617396
Reviewed-on: https://go-review.googlesource.com/c/go/+/438856
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by... | [
{
"path": "src/cmd/compile/internal/types2/lookup.go",
"patch": "@@ -395,6 +395,11 @@ func (check *Checker) missingMethodCause(V, T Type, m, alt *Func) string {\n \t\treturn \"(\" + check.interfacePtrError(T) + \")\"\n \t}\n \n+\tobj, _, _ := lookupFieldOrMethod(V, true /* auto-deref */, m.pkg, m.name, fals... | 2022-10-05T01:40:38 |
vercel/next.js | 76fa80000a04baaa251112ef394653190fff88a4 | 0df6fc90e8d7261d90a8926a051e5718b3e20b4c | Update 03-css-in-js.mdx : fix typo (#60114)
Fix a small typo of a missing space
Co-authored-by: Sam Ko <sam@vercel.com> | [
{
"path": "docs/02-app/01-building-your-application/05-styling/03-css-in-js.mdx",
"patch": "@@ -266,7 +266,7 @@ export default function RootLayout({ children }) {\n \n </details>\n \n-It's possible to use any existing CSS-in-JS solution.The simplest one is inline styles:\n+It's possible to use any existing ... | 2024-01-02T20:04:47 |
rust-lang/rust | b63507db20c6801d00022bddf51afc91e1060a20 | c9ee26ffdfeb427ee88e2df41644feec3b9fd8a9 | Prevent impossible combinations in `ast::ModKind`.
`ModKind::Loaded` has an `inline` field and a `had_parse_error` field.
If the `inline` field is `Inline::Yes` then `had_parse_error` must be
`Ok(())`.
This commit moves the `had_parse_error` field into the `Inline::No`
variant. This makes it impossible to create the ... | [
{
"path": "src/items.rs",
"patch": "@@ -3600,7 +3600,7 @@ pub(crate) fn rewrite_extern_crate(\n pub(crate) fn is_mod_decl(item: &ast::Item) -> bool {\n !matches!(\n item.kind,\n- ast::ItemKind::Mod(_, _, ast::ModKind::Loaded(_, ast::Inline::Yes, _, _))\n+ ast::ItemKind::Mod(_, _, a... | 2025-08-19T05:06:48 |
golang/go | 19095e109d0ae037828c519dda0af307b8a01813 | 1a7f08cf408ff4c4f05be25839a0d7c5ec28ed05 | go/types, types2: remove need for invalidAST prefix in error calls
Since we already provide the error code, the prefix can be deduced
automatically.
Except for the changes in errors.go, the updates were made with
regex find-and-replaces:
check\.error\((.+), InvalidSyntaxTree, invalidAST\+ =>
check.error($1, Inval... | [
{
"path": "src/cmd/compile/internal/types2/decl.go",
"patch": "@@ -899,7 +899,7 @@ func (check *Checker) declStmt(list []syntax.Decl) {\n \t\t\tcheck.pop().setColor(black)\n \n \t\tdefault:\n-\t\t\tcheck.errorf(s, InvalidSyntaxTree, invalidAST+\"unknown syntax.Decl node %T\", s)\n+\t\t\tcheck.errorf(s, Inva... | 2022-10-10T20:55:40 |
vercel/next.js | 65d59a24223e69f28fc01f800250e583056ea3e2 | d3151279e797e7e1d661595d1d3a5620f3da0e4a | chore: add github bug report item type module resolution (#60121)
Add new bug report type of module resolution in GH yml config file
Closes NEXT-1946 | [
{
"path": ".github/ISSUE_TEMPLATE/1.bug_report.yml",
"patch": "@@ -90,6 +90,7 @@ body:\n - 'MDX (@next/mdx)'\n - 'Metadata (metadata, generateMetadata, next/head)'\n - 'Middleware / Edge (API routes, runtime)'\n+ - 'Module resolution (CJS / ESM, module resolving)'\n - ... | 2024-01-02T19:44:05 |
rust-lang/rust | c1dfeea919a8ac54d152c90885704e9d43940c7b | cdcce5a137af21b8421f71ae104d00ead25eeaf8 | Prevent impossible combinations in `ast::ModKind`.
`ModKind::Loaded` has an `inline` field and a `had_parse_error` field.
If the `inline` field is `Inline::Yes` then `had_parse_error` must be
`Ok(())`.
This commit moves the `had_parse_error` field into the `Inline::No`
variant. This makes it impossible to create the ... | [
{
"path": "clippy_lints/src/duplicate_mod.rs",
"patch": "@@ -63,7 +63,7 @@ impl_lint_pass!(DuplicateMod => [DUPLICATE_MOD]);\n \n impl EarlyLintPass for DuplicateMod {\n fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) {\n- if let ItemKind::Mod(_, _, ModKind::Loaded(_, Inline::No, mod... | 2025-08-19T05:06:48 |
golang/go | 1a7f08cf408ff4c4f05be25839a0d7c5ec28ed05 | 6a2a11fc2836f2b4f5be1f035822ad18856f848a | os/signal: document behavior of SIGPIPE on non-Go thread
Fixes #56150
Change-Id: Id990783562950ba8be7ce9526b7a811625f2190a
Reviewed-on: https://go-review.googlesource.com/c/go/+/442415
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Pratt <mpratt@goo... | [
{
"path": "src/os/signal/doc.go",
"patch": "@@ -164,6 +164,12 @@ signal, and raises it again, to invoke any non-Go handler or default\n system handler. If the program does not exit, the Go handler then\n reinstalls itself and continues execution of the program.\n \n+If a SIGPIPE signal is received, the Go p... | 2022-10-11T22:09:02 |
vercel/next.js | d3151279e797e7e1d661595d1d3a5620f3da0e4a | 9ce18c4d5f389c697437f739ec576342dd0b1250 | Filter out duplicate paths in build output (#59858)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contrib... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -685,7 +685,7 @@ export default async function build(\n const pagesPageKeys = Object.keys(mappedPages)\n \n const conflictingAppPagePaths: [pagePath: string, appPath: string][] = []\n- const appPageKeys: string[] = []\n+ const ... | 2024-01-02T19:18:45 |
electron/electron | f0013774934b5b601b27858bd4e07153585181fa | dfab1043d98067b43b45d8dcbe9d0b84d4820555 | :apple: Fix an issue where alwaysOnTop window disappears when restored from the application icon | [
{
"path": "atom/browser/native_window_mac.mm",
"patch": "@@ -75,6 +75,7 @@ @interface AtomNSWindowDelegate : NSObject<NSWindowDelegate> {\n @private\n atom::NativeWindowMac* shell_;\n bool is_zooming_;\n+ int level_;\n }\n - (id)initWithShell:(atom::NativeWindowMac*)shell;\n @end\n@@ -204,11 +205,20 @... | 2017-06-07T16:28:50 |
rust-lang/rust | bfd5d59f976f6c3b6dbe486724a0bb2054aad94b | 425a9c0a0e365c0b8c6cfd00c2ded83a73bed9a0 | Prevent impossible combinations in `ast::ModKind`.
`ModKind::Loaded` has an `inline` field and a `had_parse_error` field.
If the `inline` field is `Inline::Yes` then `had_parse_error` must be
`Ok(())`.
This commit moves the `had_parse_error` field into the `Inline::No`
variant. This makes it impossible to create the ... | [
{
"path": "compiler/rustc_ast/src/ast.rs",
"patch": "@@ -3137,7 +3137,7 @@ impl FnRetTy {\n #[derive(Clone, Copy, PartialEq, Encodable, Decodable, Debug, Walkable)]\n pub enum Inline {\n Yes,\n- No,\n+ No { had_parse_error: Result<(), ErrorGuaranteed> },\n }\n \n /// Module item kind.\n@@ -3147,7 ... | 2025-08-19T05:06:48 |
golang/go | 4a4de1416654ec0c3cd6100fddb90a228657216a | 5bef938125d8604593ccacc59474db0b1403f6aa | runtime: fix invalid pointer in windows/arm64 badsignal2
Initializes the R3 register with an available address in the stack. The addressed location is used to receive the number of bytes written by WriteFile.
Fixes #56080
Change-Id: I0368eb7a31d2d6a098fa9c26e074eb1114a92704
GitHub-Last-Rev: 23dbdb53782b38819340ef660... | [
{
"path": "src/runtime/sys_windows_arm64.s",
"patch": "@@ -113,7 +113,8 @@ TEXT runtime·badsignal2(SB),NOSPLIT,$16-0\n \tMOVD\t$runtime·badsignalmsg(SB), R1\t// lpBuffer\n \tMOVD\t$runtime·badsignallen(SB), R2\t// lpNumberOfBytesToWrite\n \tMOVD\t(R2), R2\n-\tMOVD\tR13, R3\t\t// lpNumberOfBytesWritten\n+\t/... | 2022-10-12T10:39:27 |
vercel/next.js | 9ce18c4d5f389c697437f739ec576342dd0b1250 | 145a0c0797a77a0d9d9b0c7d6d99246bdcc937f8 | chore: update Copyright time from 2023 to 2024 (#60071)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Con... | [
{
"path": ".github/actions/needs-triage/dist/licenses.txt",
"patch": "@@ -481,7 +481,7 @@ THE SOFTWARE.\n nextjs-project\n The MIT License (MIT)\n \n-Copyright (c) 2023 Vercel, Inc.\n+Copyright (c) 2024 Vercel, Inc.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this ... | 2024-01-02T19:06:02 |
nodejs/node | e3813261b87f813cbd0cdc5199434de44b2a0c6a | cc89aac5f7d5443e0be9d037f067391ab144244e | quic: add tests confirming error handling for QuicSocket close event
PR-URL: https://github.com/nodejs/node/pull/34247
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "test/parallel/test-quic-socket-close-event-error-async.js",
"patch": "@@ -0,0 +1,31 @@\n+// Flags: --no-warnings\n+'use strict';\n+\n+const common = require('../common');\n+if (!common.hasQuic)\n+ common.skip('missing quic');\n+\n+const assert = require('assert');\n+const {\n+ key,\n+ cert,\n+... | 2020-07-07T20:48:34 |
facebook/react | 32630cd8cf65f53cd683ec962994b508644b4f66 | 5ffcec7552dd46396a2f19dd848fe5b9ec304e3b | Fix typo in 0.12 RC blog post | [
{
"path": "docs/_posts/2014-10-16-react-v0.12-rc1.md",
"patch": "@@ -106,7 +106,7 @@ You do NOT need to change the way to define `key` and `ref`, only if you need to\n \n ## Breaking Change: Default Props Resolution\n \n-This is a subtle difference but `defaultProps` are now resolved at `ReactElement` creat... | 2014-10-23T07:45:33 |
golang/go | 5bef938125d8604593ccacc59474db0b1403f6aa | 28a6f9cf2bccaabc69e7beb3d86161fa77f21daf | net/http: fix some test flakes caused by test refactoring
Skip TestTransportPersistConnLeakShortBody in HTTP/2 mode;
it's flaky and was previously HTTP/1-only.
Don't run TestTransportEventTrace and TestTransportIgnores408
in parallel.
Change-Id: I76bc540fac9317185ef7d414c9deafb35bc926b6
Reviewed-on: https://go-revie... | [
{
"path": "src/net/http/transport_test.go",
"patch": "@@ -1751,6 +1751,10 @@ func TestTransportPersistConnLeakShortBody(t *testing.T) {\n \trun(t, testTransportPersistConnLeakShortBody, testNotParallel)\n }\n func testTransportPersistConnLeakShortBody(t *testing.T, mode testMode) {\n+\tif mode == http2Mode ... | 2022-10-12T15:28:06 |
vercel/next.js | 145a0c0797a77a0d9d9b0c7d6d99246bdcc937f8 | 5f6cd8f64961d6a56c9ef832dfd24857e901c13b | fix: Fix wrong cjs detection of `auto-cjs` pass (#60118)
### What?
Make `auto-cjs` pass consider shadowing of `module`, so it can ignore
`module.exports = foo` in nested scopes.
### Why?
It's problematic for many tasks
### How?
Closes PACK-2074 | [
{
"path": "packages/next-swc/crates/core/src/auto_cjs/mod.rs",
"patch": "@@ -14,24 +14,32 @@ struct CjsFinder {\n found: bool,\n }\n \n+impl CjsFinder {\n+ /// If the given pattern contains `module` as a parameter, we don't need to\n+ /// recurse into it because `module` is shadowed.\n+ fn cont... | 2024-01-02T15:59:09 |
nodejs/node | cc89aac5f7d5443e0be9d037f067391ab144244e | edc71ef008cb8ac68b86da3a3df8d826aae6a249 | quic: refactor/improve error handling for busy event
Also, change setServerBusy into a setter
PR-URL: https://github.com/nodejs/node/pull/34247
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "doc/api/quic.md",
"patch": "@@ -1330,8 +1330,8 @@ added: REPLACEME\n -->\n \n Emitted when the server busy state has been toggled using\n-`quicSocket.setServerBusy()`. The callback is invoked with a single\n-boolean argument indicating `true` if busy status is enabled,\n+`quicSocket.serverBusy = ... | 2020-07-07T20:42:25 |
facebook/react | de1dacdb2887349d09b839bb79d008ae0bf057b0 | 9c2125599c15f36b0934384a64cb779b92b83485 | Refactor composite component update flow
Fixes #1392.
Previously, ReactComponent.updateComponent set the new props and owner and updated the component's refs. Because it did the actual props assignment, it had to be called by ReactCompositeComponent between componentWillMount and componentDidMount, meaning that it wa... | [
{
"path": "src/browser/ReactTextComponent.js",
"patch": "@@ -18,6 +18,7 @@ var ReactElement = require('ReactElement');\n \n var assign = require('Object.assign');\n var escapeTextForBrowser = require('escapeTextForBrowser');\n+var invariant = require('invariant');\n \n /**\n * Text nodes violate a couple a... | 2014-07-30T21:02:58 |
electron/electron | 7d2226e05e593109e88ab83ae80995ef7216c464 | d40a7569cc6b98049d3b170ccf56043dd877b97c | Let Chromium manage `document.visibilityState` and `document.hidden`
Chromium already includes the necessary plumbing to manage the
visibility properties and `visibilitychange` event so this gets rid of
most of our custom logic for `BrowserWindow` and `BrowserView`.
Note that `webview` remains unchanged and is still ... | [
{
"path": "atom/browser/web_contents_preferences.cc",
"patch": "@@ -186,24 +186,21 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(\n command_line->AppendSwitchASCII(::switches::kDisableBlinkFeatures,\n disable_blink_features);\n \n- // The initial vis... | 2017-05-22T18:10:10 |
golang/go | 0394cbed2e169ab71975109bd6a2309cc8c91b7e | 4bcf94b0232db65ed5df47e0127cdbc8866aec64 | cmd/{cover,covdata}: minor code cleanups
Delete some unused code, and fix a few warnings from staticcheck.
Change-Id: I3d3a6f13dccffda060449948769c305d93a0389c
Reviewed-on: https://go-review.googlesource.com/c/go/+/441936
Reviewed-by: Bryan Mills <bcmills@google.com> | [
{
"path": "src/cmd/covdata/subtractintersect.go",
"patch": "@@ -37,7 +37,6 @@ func makeSubtractIntersectOp(mode string) covOperation {\n // away most of the grubby details of reading coverage data files.\n type sstate struct {\n \tmm *metaMerge\n-\tindir string // current input directory\n \tinidx int\n ... | 2022-10-10T19:21:32 |
vercel/next.js | 5f6cd8f64961d6a56c9ef832dfd24857e901c13b | f1bc538629df05511e2d9e2b43c74594882525f0 | Fix path issues on linux machines when build created on windows (#60116)
Copy of #58398 with `normalizePathSep` applied. Unfortunately the branch
wasn't editable, I'm guessing because it was opened on an organization
instead of an individual.
Fixes #58244
Closes #58398
<!-- Thanks for opening a PR! Your contr... | [
{
"path": "packages/next/src/build/handle-externals.ts",
"patch": "@@ -11,6 +11,7 @@ import {\n } from './webpack-config'\n import { isWebpackAppLayer, isWebpackServerLayer } from './worker'\n import type { NextConfigComplete } from '../server/config-shared'\n+import { normalizePathSep } from '../shared/lib... | 2024-01-02T15:55:23 |
nodejs/node | edc71ef008cb8ac68b86da3a3df8d826aae6a249 | bcde849be9f4a4593d99d77cbc1d87ba9fdc27ba | quic: handle errors thrown / rejections in the session event
Errors thrown within the session event handler will be handled
by destroying the session (allowing a proper connection close
to be sent to the client peer). They will not crash the parent
QuicSocket by default. Instead, a `'sessionError'` event will
be emitt... | [
{
"path": "doc/api/quic.md",
"patch": "@@ -1385,10 +1385,60 @@ The `'ready'` event will not be emitted multiple times.\n added: REPLACEME\n -->\n \n-Emitted when a new `QuicServerSession` has been created.\n+Emitted when a new `QuicServerSession` has been created. The callback is\n+invoked with a single arg... | 2020-07-07T19:47:58 |
facebook/react | 9c2125599c15f36b0934384a64cb779b92b83485 | b78fe39b6073bab20eb7785aa9ef508aabf03c3f | Add \n after <textarea> to fix missing linebreaks
Same for <pre> and <listing>. Browsers are crazy.
Test Plan: jest, verify in Chrome that starting textareas with a value starting with two newlines renders both newlines instead of one newline, as it did before. | [
{
"path": "src/browser/ui/ReactDOMComponent.js",
"patch": "@@ -244,27 +244,37 @@ ReactDOMComponent.Mixin = {\n * @return {string} Content markup.\n */\n _createContentMarkup: function(transaction) {\n+ var prefix = '';\n+ if (this._tag === 'listing' ||\n+ this._tag === 'pre' ||\n+ ... | 2014-08-30T06:37:14 |
golang/go | 4bcf94b0232db65ed5df47e0127cdbc8866aec64 | e9fd40a866e9e47ba65976d4cfeaeef7eaf76266 | all: prevent fakePC overflow on 386 in libfuzzer mode
fakePC uses hash.Sum32, which returns an uint32. However, libfuzzer
trace/hook functions declare fakePC argument as int, causing overflow on
386 archs.
Fixing this by changing fakePC argument to uint to prevent the overflow.
Fixes #56141
Change-Id: I3994c4613199... | [
{
"path": "src/cmd/compile/internal/typecheck/_builtin/runtime.go",
"patch": "@@ -261,16 +261,16 @@ func asanwrite(addr, size uintptr)\n func checkptrAlignment(unsafe.Pointer, *byte, uintptr)\n func checkptrArithmetic(unsafe.Pointer, []unsafe.Pointer)\n \n-func libfuzzerTraceCmp1(uint8, uint8, int)\n-func l... | 2022-10-11T04:56:51 |
vercel/next.js | f1bc538629df05511e2d9e2b43c74594882525f0 | e5aa95ca8d990c0bf87a363dd3096e888fe29127 | Always call createPagesMapping for root paths (#60107)
## What?
Always call `createPagesMapping` as it already handles the case when
there are no paths.
Also introduces `PAGE_TYPES` to have a single source of truth for these
types and where they're used. As you can see this replaces a ton of
hardcoded `'app'`... | [
{
"path": "packages/next/src/build/analysis/get-page-static-info.ts",
"patch": "@@ -18,6 +18,7 @@ import { isAPIRoute } from '../../lib/is-api-route'\n import { isEdgeRuntime } from '../../lib/is-edge-runtime'\n import { RSC_MODULE_TYPES } from '../../shared/lib/constants'\n import type { RSCMeta } from '..... | 2024-01-02T14:20:05 |
facebook/react | dd92786fb038c4eb7c6545928646ec8aa9ecfa36 | daf4182707bd60c61bc289f3a75b4917edf4cb4a | Support but warn on key={null}
Fixes #2386.
Test Plan: jest | [
{
"path": "src/core/ReactElement.js",
"patch": "@@ -137,7 +137,16 @@ ReactElement.createElement = function(type, config, children) {\n \n if (config != null) {\n ref = config.ref === undefined ? null : config.ref;\n- key = config.key === undefined ? null : '' + config.key;\n+ if (__DEV__) {\n+ ... | 2014-10-21T00:03:42 |
nodejs/node | 527e2147afe43c7b19fd140ebd048c896705da7f | 6ae1b9c457444fdfa5e30d9142bb8cdccf35f8ee | stream: add promises version to utility functions
PR-URL: https://github.com/nodejs/node/pull/33991
Fixes: https://github.com/nodejs/node/issues/33582
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Triv... | [
{
"path": "doc/api/stream.md",
"patch": "@@ -48,6 +48,13 @@ Additionally, this module includes the utility functions\n [`stream.pipeline()`][], [`stream.finished()`][] and\n [`stream.Readable.from()`][].\n \n+### Streams Promises API\n+\n+The `stream/promises` API provides an alternative set of asynchronous... | 2020-06-28T08:29:01 |
electron/electron | f608c2b2d91ad88f9d87ab8c34bc51b2b1cc7709 | 21439a138bf182590d2514218ec90683d44eaa7b | :memo: Fixed typo
[ci skip] | [
{
"path": "docs/tutorial/debugging-main-process.md",
"patch": "@@ -3,7 +3,7 @@\n The DevTools in an Electron browser window can only debug JavaScript that's\n executed in that window (i.e. the web pages). To debug JavaScript that's\n executed in the main process you will need to use an external debugger and... | 2017-06-06T21:30:45 |
golang/go | e9fd40a866e9e47ba65976d4cfeaeef7eaf76266 | 140bc24445f3c86b61bfb4d924e1e26f477574a2 | go/types: add errorcalls_test, apply it, and fix errorf call sites
The errorcalls_test makes sure that we use error instead of errorf
where possible. Copied from types2 and adjusted for go/types.
Change-Id: Ib0572308c87e4415bf89aec8d64e662abe94754b
Reviewed-on: https://go-review.googlesource.com/c/go/+/441958
Reviewe... | [
{
"path": "src/go/types/builtins.go",
"patch": "@@ -522,7 +522,7 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\t\t}\n \t\t}\n \t\tif len(sizes) == 2 && sizes[0] > sizes[1] {\n-\t\t\tcheck.errorf(call.Args[1], SwappedMakeArgs, invalidArg+\"length and capacity swappe... | 2022-10-10T20:13:14 |
vercel/next.js | e5aa95ca8d990c0bf87a363dd3096e888fe29127 | 4425cde49d6d19b8c6fa952352aea4b4f3604625 | Add MappedPages type (#60106)
## What?
All of these separately defined types are referring to the same type
that is passed through to the functions so I've unified them into a
single type.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possi... | [
{
"path": "packages/next/src/build/build-context.ts",
"patch": "@@ -41,6 +41,10 @@ export function getPluginState() {\n return pluginState\n }\n \n+export interface MappedPages {\n+ [page: string]: string\n+}\n+\n // a global object to store context for the current build\n // this is used to pass data be... | 2024-01-02T14:00:23 |
facebook/react | edab4814dad8828044359ca97dacd7f15282beb3 | be468c2c22840296cca92daae5969a0dcc0417be | Fix: Always return boolean from isNullComponentID | [
{
"path": "src/core/ReactEmptyComponent.js",
"patch": "@@ -59,7 +59,7 @@ function deregisterNullComponentID(id) {\n * @return {boolean} True if the component is rendered to null.\n */\n function isNullComponentID(id) {\n- return nullComponentIdsRegistry[id];\n+ return !!nullComponentIdsRegistry[id];\n }... | 2014-10-20T19:13:04 |
nodejs/node | c08920b0c4ce3d3395796195b1473275e511b03b | b99253cfcfe5e2f4b7f4a947451cb00b877f200b | test: add n-api null checks for conversions
Add assertions that conversion and coercion N-APIs return appropriate
error statuses when given `NULL`s for parameters they expect to not be
`NULL`.
For `napi_get_value_string_*` this also checks that it returns
`napi_string_expected` when passed a `napi_value` not containi... | [
{
"path": "test/js-native-api/test_conversions/binding.gyp",
"patch": "@@ -4,7 +4,9 @@\n \"target_name\": \"test_conversions\",\n \"sources\": [\n \"../entry_point.c\",\n- \"test_conversions.c\"\n+ \"../common.c\",\n+ \"test_conversions.c\",\n+ \"test_null.c\"... | 2020-06-30T20:58:00 |
golang/go | 140bc24445f3c86b61bfb4d924e1e26f477574a2 | 2dbc5736b269cba7c0fcd10a6f60fb49fe927d38 | cmd/compile/internal/types2: adjust errorcalls_test and apply it
Checker.errorf calls now have an error code and thus require at
least 4 arguments.
Change-Id: Id01c30d5d3cc747ab0b3ba4001e88985192f2d80
Reviewed-on: https://go-review.googlesource.com/c/go/+/441957
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed... | [
{
"path": "src/cmd/compile/internal/types2/errorcalls_test.go",
"patch": "@@ -9,8 +9,10 @@ import (\n \t\"testing\"\n )\n \n-// TestErrorCalls makes sure that check.errorf calls have at\n-// least 3 arguments (otherwise we should be using check.error).\n+const errorfMinArgCount = 4\n+\n+// TestErrorCalls ma... | 2022-10-10T20:22:16 |
vercel/next.js | 4425cde49d6d19b8c6fa952352aea4b4f3604625 | c5e74cc4dfd83b53cc7e1b5e75acfeba48989f92 | Remove extra duplicate pages warning (#60113)
## What?
While working on some other refactors I noticed that this check for
duplicate routes is incorrect.
Upon further investigation with @feedthejim we noticed that this check
can be removed altogether as it's already being checked correctly in the
route matcher.... | [
{
"path": "packages/next/src/build/entries.ts",
"patch": "@@ -12,7 +12,6 @@ import type {\n import type { LoadedEnvFiles } from '@next/env'\n import type { AppLoaderOptions } from './webpack/loaders/next-app-loader'\n \n-import { cyan } from '../lib/picocolors'\n import { posix, join, dirname, extname } fro... | 2024-01-02T13:55:55 |
nodejs/node | b99253cfcfe5e2f4b7f4a947451cb00b877f200b | e0ecde973705402bd3ce3ec7d611d866e3e95daa | Forces Powershell to use tls1.2
Powershell defaults to tls 1.0 - This forces powershell to use tls 1.2
Tls 1.2 is supported in all current microsoft operating systems and
needed to download chocolatey.
Fixes: https://github.com/nodejs/node/issues/33140
PR-URL: https://github.com/nodejs/node/pull/33609
Reviewed-By: B... | [
{
"path": "tools/msvs/install_tools/install_tools.bat",
"patch": "@@ -52,4 +52,4 @@ pause\n \n cls\n \n-\"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command Start-Process '%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell... | 2020-05-28T13:00:14 |
facebook/react | ef971014bc22bf4cfecb31ce35de38c231c1c41d | daf4182707bd60c61bc289f3a75b4917edf4cb4a | Deprecate isValidClass
Fixes #2374 | [
{
"path": "src/browser/__tests__/ReactDOM-test.js",
"patch": "@@ -108,10 +108,6 @@ describe('ReactDOM', function() {\n expect(dog.className).toBe('bigdog');\n });\n \n- it('should be a valid class', function() {\n- expect(React.isValidClass(ReactDOM.div)).toBe(false);\n- });\n-\n it('allow Reac... | 2014-10-20T06:55:57 |
electron/electron | aeb68c23696dc1d12ac6ce62fff70885319c8c0c | 4c09b357a758c7186d0dcc50bfa0d5a363d058be | :white_check_mark: Add test for Windows fullscreen state toggle. Fix #6036 | [
{
"path": "spec/api-browser-window-spec.js",
"patch": "@@ -1949,6 +1949,41 @@ describe('BrowserWindow module', function () {\n })\n })\n \n+ describe('BrowserWindow.setFullScreen(false)', function () {\n+ // only applicable to windows: https://github.com/electron/electron/issues/6036\n+ if (pro... | 2017-06-01T04:56:35 |
golang/go | 2dbc5736b269cba7c0fcd10a6f60fb49fe927d38 | 2e0b97dde69cb66416844dba45c084bc13bd58fa | go/types: replace invalid(AST|Arg|Op) with errorf and message prefix
This brings go/types error reporting closer to types2.
Except for removing the error functions and one manual correction,
these changes were made by regex-replacing:
check\.invalidAST\((.*), " =>
check.errorf($1, InvalidSyntaxTree, invalidAST+... | [
{
"path": "src/go/types/builtins.go",
"patch": "@@ -21,9 +21,9 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t// append is the only built-in that permits the use of ... for the last argument\n \tbin := predeclaredFuncs[id]\n \tif call.Ellipsis.IsValid() && id != _App... | 2022-10-10T19:43:44 |
vercel/next.js | c5e74cc4dfd83b53cc7e1b5e75acfeba48989f92 | 6d0450c79bc76302fe1982c83d5f654b444dc676 | Remove root parameter (#60112)
## What?
While looking at other refactors I noticed that `entrypoint.name ===
'root'` was checked which is surprising as `root` is not any of the
injected entrypoints.
Also noticed that there's a `root` parameter that refers to the very
first name of App Router, which was the `roo... | [
{
"path": "packages/next/src/server/dev/on-demand-entry-handler.ts",
"patch": "@@ -503,6 +503,7 @@ export function onDemandEntryHandler({\n rootDir: string\n appDir?: string\n }) {\n+ const hasAppDir = !!appDir\n let curInvalidator: Invalidator = getInvalidator(\n multiCompiler.outputPath\n ) a... | 2024-01-02T13:46:54 |
nodejs/node | 7a84e2e07126a2d9bd8d3e36afc9c1f1e3b2b8e4 | cb67be7f6712e7d433288e1445acad72755a9aac | test: skip an ipv6 test on IBM i
Due to some unknown system configuration, the code
`socket_ipv6.bind(0, 111::1)` does not throw the
expected error EADDRNOTAVAIL on some IBM i systems.
This issue is still being investigated. To get the
IBM i CI passing, skip it for now.
PR-URL: https://github.com/nodejs/node/pull/342... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -72,4 +72,6 @@ test-net-socket-connect-without-cb: SKIP\n test-net-socket-connecting: SKIP\n test-net-socket-ready-without-cb: SKIP\n test-net-write-after-end-nt: SKIP\n-test-tls-env-extra-ca: SKIP\n\\ No newline at end of file\n+test-tls-env-extra-ca:... | 2020-07-05T03:31:58 |
facebook/react | 621bb09cd7e8f52bcc27fd1b0a3fc3a57b3de336 | daf4182707bd60c61bc289f3a75b4917edf4cb4a | Fix JSDoc tag in ReactElement.js | [
{
"path": "src/core/ReactElement.js",
"patch": "@@ -85,7 +85,7 @@ function defineMutationMembrane(prototype) {\n * @param {*} type\n * @param {string|object} ref\n * @param {*} key\n- * @params {*} props\n+ * @param {*} props\n * @internal\n */\n var ReactElement = function(type, key, ref, owner, conte... | 2014-10-19T15:31:45 |
electron/electron | e9aa9eaf5e4c4bbcd3a04eb87bdab4f8dc11f858 | 6537238c0d9cd4fd794e10f8db4b0fa4dabb9237 | :art:code structure fix | [
{
"path": "atom/browser/api/atom_api_screen_mac.mm",
"patch": "@@ -3,7 +3,6 @@\n // found in the LICENSE file.\n \n #import \"atom/browser/api/atom_api_screen.h\"\n-\n #import <Cocoa/Cocoa.h>\n \n namespace atom {",
"additions": 0,
"deletions": 1,
"language": "Objective-C++"
}
] | 2017-06-03T14:56:37 |
golang/go | b6e7e16208be683dbf8039acc7d7dfd97888aba1 | 01604129aee8bfc9dd3e2fffd2ad8f772a3089ec | math/big: error on buffer length overflow in Rat.GobDecode
Fixes #56156
Change-Id: Ib85ff45f0b0d0eac83c39606ee20b3a312e6e919
Reviewed-on: https://go-review.googlesource.com/c/go/+/442335
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdemps... | [
{
"path": "src/math/big/ratmarsh.go",
"patch": "@@ -10,6 +10,7 @@ import (\n \t\"encoding/binary\"\n \t\"errors\"\n \t\"fmt\"\n+\t\"math\"\n )\n \n // Gob codec version. Permits backward-compatible changes to the encoding.\n@@ -53,8 +54,12 @@ func (z *Rat) GobDecode(buf []byte) error {\n \t\treturn fmt.Erro... | 2022-10-11T18:21:13 |
vercel/next.js | 6d0450c79bc76302fe1982c83d5f654b444dc676 | a2c14f12530f4d9b1b80b76040fd6d957c9b6fb6 | Use WebpackError type instead of any (#60105)
## What?
Small fix for the type that is currently `any`.
<!-- 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 checkli... | [
{
"path": "packages/next/src/server/dev/hot-reloader-webpack.ts",
"patch": "@@ -76,6 +76,7 @@ import {\n type NextJsHotReloaderInterface,\n } from './hot-reloader-types'\n import type { HMR_ACTION_TYPES } from './hot-reloader-types'\n+import type { WebpackError } from 'webpack'\n \n const MILLISECONDS_IN_... | 2024-01-02T13:46:25 |
nodejs/node | cb67be7f6712e7d433288e1445acad72755a9aac | 6bc871f4704dbdb905cb64df22a4c40c4639aff9 | test: add regression test for C++-created Buffer transfer
Add a test for a regression that occurs when transferring some
`Buffer` objects that were created from C++ to a parent thread.
Fixes: https://github.com/nodejs/node/issues/34126
PR-URL: https://github.com/nodejs/node/pull/34140
Reviewed-By: Gerhard Stöbich <d... | [
{
"path": "test/parallel/test-worker-crypto-sign-transfer-result.js",
"patch": "@@ -0,0 +1,30 @@\n+'use strict';\n+const common = require('../common');\n+if (!common.hasCrypto)\n+ common.skip('missing crypto');\n+\n+const assert = require('assert');\n+const { Worker } = require('worker_threads');\n+const f... | 2020-06-30T18:15:39 |
electron/electron | 3ba0e288f72bfe429ec6d6e96d1ba725812b5ed9 | b5239754bafa9a3eb20cd1003ff11f33f7a1d9b5 | fix lint error | [
{
"path": "atom/browser/web_contents_preferences.cc",
"patch": "@@ -111,12 +111,12 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(\n if (IsSandboxed(web_contents)) {\n // pass `--enable-sandbox` to the renderer so it won't have any node.js\n // integration.\n- command_line->Appe... | 2017-06-01T06:20:13 |
golang/go | 01604129aee8bfc9dd3e2fffd2ad8f772a3089ec | f1e50a169708db11ad03516070740ca1392f2531 | cmd/go: do not exit with non-zero code from go list -e -export
go list -e -export puts errors running build actions on the load.Package
corresponding to the failed action rather than exiting with a non zero
exit code.
For #25842
Change-Id: I1fea85cc5a0557f514fe9d4ed3b6a858376fdcde
Reviewed-on: https://go-review.goog... | [
{
"path": "src/cmd/go/internal/list/list.go",
"patch": "@@ -690,6 +690,9 @@ func runList(ctx context.Context, cmd *base.Command, args []string) {\n \tneedStale := (listJson && listJsonFields.needAny(\"Stale\", \"StaleReason\")) || strings.Contains(*listFmt, \".Stale\")\n \tif needStale || *listExport || *li... | 2022-09-30T20:49:42 |
vercel/next.js | a2c14f12530f4d9b1b80b76040fd6d957c9b6fb6 | 8d1708684a583dc305480ba4a4edcb2d34c1230d | Ensure instrumentation file does not affect middleware count (#60102)
## What?
Currently this check assumes `rootPaths` only holds middleware, but that
is no longer the case since instrumentation.js was added.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled ... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -581,6 +581,10 @@ export default async function build(\n const hasInstrumentationHook = rootPaths.some((p) =>\n p.includes(INSTRUMENTATION_HOOK_FILENAME)\n )\n+ const hasMiddlewareFile = rootPaths.some((p) =>\n+ p.inc... | 2024-01-02T13:43:21 |
nodejs/node | 6bc871f4704dbdb905cb64df22a4c40c4639aff9 | 2243d79f74a0b9b4c2711fcf6ab47a747e737812 | src: exit explicitly after printing V8 help
V8 will not exit the process after handling --help anymore:
https://chromium-review.googlesource.com/c/v8/v8/+/2276276
As a drive-by fix, correctly return in the `print_bash_completion`
case as well.
Refs: https://github.com/nodejs/node/pull/34135
Co-authored-by: Ulan Dege... | [
{
"path": "src/node.cc",
"patch": "@@ -939,9 +939,8 @@ void Init(int* argc,\n }\n \n if (per_process::cli_options->print_v8_help) {\n- // Doesn't return.\n V8::SetFlagsFromString(\"--help\", static_cast<size_t>(6));\n- UNREACHABLE();\n+ exit(0);\n }\n \n *argc = argv_.size();\n@@ -1003,... | 2020-06-30T17:05:24 |
facebook/react | 810582d114f65b3f86301d53f34235b68d6c7f1e | 2b4e35870b7a0c4d681bc3c86641790dd828f0a0 | Fix warning message for using React.DOM.* as type
Previously, this said 'Use the string "function() { [native code] }" instead.'. | [
{
"path": "src/core/ReactLegacyElement.js",
"patch": "@@ -74,7 +74,7 @@ function warnForNonLegacyFactory(type) {\n warning(\n false,\n 'Do not pass React.DOM.' + type.type + ' to JSX or createFactory. ' +\n- 'Use the string \"' + type + '\" instead.'\n+ 'Use the string \"' + type.type + '\" ... | 2014-10-17T01:21:55 |
electron/electron | 4c09b357a758c7186d0dcc50bfa0d5a363d058be | dfab1043d98067b43b45d8dcbe9d0b84d4820555 | :checkered_flag: Fix #6036. Ensure window is visible after fullscreen toggle | [
{
"path": "atom/browser/native_window_views.cc",
"patch": "@@ -480,6 +480,8 @@ void NativeWindowViews::SetFullScreen(bool fullscreen) {\n \n #if defined(OS_WIN)\n // There is no native fullscreen state on Windows.\n+ bool fullscreen_to_normal_detected = IsFullscreen() && !fullscreen;\n+\n if (fullscree... | 2017-06-01T04:38:51 |
golang/go | 0f64a49460974fa65292d8d5bf6c8a9ceca4b780 | 1b316e3571190964d960c6a7af3e17e887c70d45 | os/exec: remove protection against a duplicate Close on StdinPipe
As of CL 438347, multiple concurrents calls to Close should be safe.
This removes some indirection and may also make some programs that use
type-assertions marginally more efficient. For example, if a program
calls (*exec.Cmd).StdinPipe to obtain a pip... | [
{
"path": "src/os/exec/exec.go",
"patch": "@@ -102,7 +102,6 @@ import (\n \t\"runtime\"\n \t\"strconv\"\n \t\"strings\"\n-\t\"sync\"\n \t\"syscall\"\n )\n \n@@ -809,25 +808,8 @@ func (c *Cmd) StdinPipe() (io.WriteCloser, error) {\n \t}\n \tc.Stdin = pr\n \tc.childIOFiles = append(c.childIOFiles, pr)\n-\twc ... | 2022-10-05T18:04:55 |
vercel/next.js | 8d1708684a583dc305480ba4a4edcb2d34c1230d | ef837c5b8ff48859bc199207dc2fc31586ae952b | Add PageExtensions type (#60108)
## What?
Adds a type for the often passed-around `pageExtensions` value. Ensures
there is a single place for this type, as it's used often.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request ... | [
{
"path": "packages/next/src/build/entries.ts",
"patch": "@@ -61,8 +61,9 @@ import { isStaticMetadataRouteFile } from '../lib/metadata/is-metadata-route'\n import { RouteKind } from '../server/future/route-kind'\n import { encodeToBase64 } from './webpack/loaders/utils'\n import { normalizeCatchAllRoutes } ... | 2024-01-02T13:42:59 |
facebook/react | 8210beeef4219d11b0a997f5a5abe7c348c01448 | 5263f61c8784a23a8bdffbc652a2cc09c6333ca6 | Hide Object.assign polyfill behind a module
Because the JS community's polyfilling infrastructure sucks and we'll
have to fix it for them before we require this.
JSX spread uses React.__spread
(which might get special behavior for key/ref, not sure yet)
This never uses the native implementation and throws for protot... | [
{
"path": "jest/environment.js",
"patch": "@@ -1,3 +1 @@\n __DEV__ = true;\n-\n-require.requireActual('../src/vendor/polyfill/Object.es6.js');",
"additions": 0,
"deletions": 2,
"language": "JavaScript"
},
{
"path": "src/addons/transitions/ReactCSSTransitionGroup.js",
"patch": "@@ -14... | 2014-10-16T16:21:10 |
nodejs/node | 2243d79f74a0b9b4c2711fcf6ab47a747e737812 | 30612316e4af64e530b9b3ecc1cbfc98d11cae3e | domain: fix unintentional deprecation warning
646e5a471766e27e8317bb changed the way that the domain hook callback
is called. Previously, the callback was only used in the case that
async_hooks were *not* being used (since domains already integrate
with async hooks the way they should), and the corresponding
deprecati... | [
{
"path": "lib/internal/async_hooks.js",
"patch": "@@ -112,18 +112,18 @@ function useDomainTrampoline(fn) {\n }\n \n function callbackTrampoline(asyncId, cb, ...args) {\n- if (asyncId && hasHooks(kBefore))\n+ if (asyncId !== 0 && hasHooks(kBefore))\n emitBeforeNative(asyncId);\n \n let result;\n- i... | 2020-07-07T16:05:33 |
golang/go | 1b316e3571190964d960c6a7af3e17e887c70d45 | 4274ffd4b8bcef4e07cfdef9405a2e33f935d079 | internal/coverage: minor code cleanups
Delete some unused code, various cleanups to fix staticcheck warnings.
Change-Id: Ie475d57735a83351a4977f0dd4bc1387ce06a20e
Reviewed-on: https://go-review.googlesource.com/c/go/+/441935
Reviewed-by: David Chase <drchase@google.com> | [
{
"path": "src/internal/coverage/decodecounter/decodecounterfile.go",
"patch": "@@ -25,7 +25,6 @@ type CounterDataReader struct {\n \tosargs []string\n \tgoarch string // GOARCH setting from run that produced counter data\n \tgoos string // GOOS setting from run that produced counter data\n-\tnsegs ... | 2022-10-10T18:45:12 |
vercel/next.js | e334859f21dba6555a5d556ca8b237a26e589937 | 07cfe5975fb68b1b01c0a8f8c6d1c1efecadcd3e | fix weird local name, add tests (vercel/turbo#6720)
### Description
fixes weird names of exports in the locals module
Closes PACK-2109 | [
{
"path": "crates/turbopack-ecmascript/src/side_effect_optimization/facade/module.rs",
"patch": "@@ -143,15 +143,15 @@ impl EcmascriptChunkPlaceable for EcmascriptModuleFacadeModule {\n for (name, export) in &esm_exports.exports {\n let name = name.clone();\n ... | 2024-01-02T11:10:53 |
nodejs/node | 772fdb0cd3163ad9299cdb1168b10059abe6ee71 | ee3416b055a3d877251c095981508e275d99f8c2 | test: fix flaky test-fs-stream-construct
The test is marked flaky on ARM because it times out on Raspberry Pi
devices in CI. Split the single test file into four separate test files
to ease debugging. Add fs.close() to avoid timing out.
Fixes: https://github.com/nodejs/node/issues/33796
PR-URL: https://github.com/no... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -40,8 +40,6 @@ test-async-hooks-http-parser-destroy: PASS,FLAKY\n # https://github.com/nodejs/node/pull/31178\n test-crypto-dh-stateless: SKIP\n test-crypto-keygen: SKIP\n-# https://github.com/nodejs/node/issues/33796\n-test-fs-stream-construct: PASS,F... | 2020-07-04T16:37:02 |
facebook/react | dcbc64ac76018cefb9eddac1e576eb59a94cd973 | e7f509d3a3be4af155f062c5bd1d4aefa3d2c958 | [docs] Move React Elements post to right place, fix typo
The URL already made its way around so we can't just break it. We might
want to just live with it instead of even doing this redirect.
https://github.com/plaxdan/react/commit/2b225446c03192b58e176f8885e60055cf5ea436#commitcomment-8176218 | [
{
"path": "docs/_posts/2014-10-14-introducing-react-elements.md",
"patch": "@@ -1,6 +1,7 @@\n ---\n title: \"Introducing React Elements\"\n author: Sebastian Markbåge\n+redirect_from: \"blog/2014/10/14/introducting-react-elements.html\"\n ---\n \n The upcoming React 0.12 tweaks some APIs to get us close to ... | 2014-10-15T23:03:00 |
golang/go | bb2a96b79df71c4b021c8611b916a2f402166d3b | fce449680a241a283f7661edb94eef5427bf595c | test: add test case that caused a bogus error from gofrontend
For #56109
Change-Id: I999763e463fac57732a92f5e396f8fa8c35bd2e1
Reviewed-on: https://go-review.googlesource.com/c/go/+/440297
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Ian Lance Taylor <iant@go... | [
{
"path": "test/fixedbugs/issue56109.go",
"patch": "@@ -0,0 +1,18 @@\n+// compile\n+\n+// Copyright 2022 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package main\n+\n+import \"math\"\n+\n+func main() {\... | 2022-10-08T18:17:47 |
vercel/next.js | ef837c5b8ff48859bc199207dc2fc31586ae952b | 82cd86d66b3dabb64c05204b5cc07e9f443bd05c | Ensure NextBuildContext is only used during build (#60099)
## What?
While looking into some refactors for `next build` I noticed that
`NextBuildContext` was used to propagate if instrumentation.js exists or
not, however that information can be inferred by checking if the
entrypoint exists in the compiler. Applie... | [
{
"path": "packages/next/src/build/webpack/plugins/middleware-plugin.ts",
"patch": "@@ -28,7 +28,6 @@ import { traceGlobals } from '../../../trace/shared'\n import { EVENT_BUILD_FEATURE_USAGE } from '../../../telemetry/events'\n import { normalizeAppPath } from '../../../shared/lib/router/utils/app-paths'\n... | 2024-01-02T09:25:52 |
nodejs/node | bf772896fe3621e6b2324c7dd610dfbd79f63ab9 | 9f0671ebc9fa564e59c79750f961f85b2d8fd026 | doc: remove errors that were never released
Refs: https://github.com/nodejs/node/pull/33764#issuecomment-653667275
PR-URL: https://github.com/nodejs/node/pull/34197
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -2631,78 +2631,6 @@ removed: v10.0.0\n Used when an attempt is made to use a `zlib` object after it has already been\n closed.\n \n-### Other error codes\n-\n-These errors have never been released, but had been present on master between\n-releases.\n-\n-<a id=\"ER... | 2020-07-04T13:26:30 |
electron/electron | 175f3e41f1fe3c3fe88ef93d8fe90a91faaf6b64 | c6c3aa0b9746653f1aa174215cc89023db3f7beb | bump ts linter with fixes for numeric keys | [
{
"path": "package.json",
"patch": "@@ -6,7 +6,7 @@\n \"browserify\": \"^13.1.0\",\n \"electabul\": \"~0.0.4\",\n \"electron-docs-linter\": \"^2.3.3\",\n- \"electron-typescript-definitions\": \"^1.2.5\",\n+ \"electron-typescript-definitions\": \"^1.2.7\",\n \"request\": \"*\",\n \"... | 2017-05-31T19:08:37 |
facebook/react | b8229cc7610701f9736ae0cf8addea354cd9d33e | efc7829e91a81a9b275dfde9e2416fb1cad0e96e | Fix typo in blog post | [
{
"path": "docs/_posts/2014-10-14-introducting-react-elements.md",
"patch": "@@ -44,7 +44,7 @@ var reactDivElement = div(props, children);\n \n ## Deprecated: Auto-generated Factories\n \n-Imagine if `React.createClass` was just a plain JavaScript class. If you call a class as a plain function you would cal... | 2014-10-15T17:09:23 |
golang/go | fce449680a241a283f7661edb94eef5427bf595c | 506e690a26390d137b8bfc01d90121581c3d6f7a | cmd/compile: fix missing walk pass for static initialization slice
CL 403995 fixed static init of literal contains dynamic exprs, by
ensuring their init are ordered properly. However, we still need to walk
the generated init codes before appending to parent init. Otherwise,
codes that requires desugaring will be unhan... | [
{
"path": "src/cmd/compile/internal/walk/complit.go",
"patch": "@@ -243,6 +243,7 @@ func fixedlit(ctxt initContext, kind initKind, n *ir.CompLitExpr, var_ ir.Node,\n \t\t\t\t\t// confuses about variables lifetime. So making sure those expressions\n \t\t\t\t\t// are ordered correctly here. See issue #52673.\... | 2022-10-08T05:32:06 |
nodejs/node | ddfaafa9b0d94daf183390a08e8a4b11d05a65fd | 67ba825037b4082d5d16f922fb9ce54516b4a869 | repl: fix verb conjugation in deprecation message
PR-URL: https://github.com/nodejs/node/pull/34198
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: J... | [
{
"path": "lib/repl.js",
"patch": "@@ -225,13 +225,13 @@ function REPLServer(prompt,\n ObjectDefineProperty(this, 'inputStream', {\n get: pendingDeprecation ?\n deprecate(() => this.input,\n- 'repl.inputStream and repl.outputStream is deprecated. ' +\n+ 'repl.inputS... | 2020-07-04T13:32:56 |
vercel/next.js | 82cd86d66b3dabb64c05204b5cc07e9f443bd05c | 7be8092f469084497b893c22a3b5d53327879d69 | Update `swc_core` to `v0.87.10` (#59834)
### What?
Update SWC crates
### Why?
It's required to fix some next.js isssues
### How?
Closes PACK-2174
Turbopack counterpart: https://github.com/vercel/turbo/pull/6843
---
# Turbopack
* https://github.com/vercel/turbo/pull/6737 <!-- Nicholas Yang - ... | [
{
"path": "Cargo.lock",
"patch": "@@ -231,11 +231,10 @@ dependencies = [\n \n [[package]]\n name = \"ast_node\"\n-version = \"0.9.5\"\n+version = \"0.9.6\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"c09c69dffe06d222d072c878c3afe86eee2179806f20503faec97250268b4c24\"\n... | 2024-01-02T08:44:46 |
golang/go | 506e690a26390d137b8bfc01d90121581c3d6f7a | 4a459cbbad7b9528e5f569157b157800866a4fb8 | runtime: mark arenaIdx.l1 and arenaIdx.l2 methods as nosplit
Mark the "l1" and "l2" methods on "arenaIdx" with //go:nosplit, since
these methods are called from a nosplit context (for example, from
"spanOf").
Fixes #56044.
Updates #21314.
Change-Id: I48c7aa756b59a13162c89ef21066f83371ae50f1
Reviewed-on: https://go-r... | [
{
"path": "src/runtime/mheap.go",
"patch": "@@ -576,6 +576,12 @@ func arenaBase(i arenaIdx) uintptr {\n \n type arenaIdx uint\n \n+// l1 returns the \"l1\" portion of an arenaIdx.\n+//\n+// Marked nosplit because it's called by spanOf and other nosplit\n+// functions.\n+//\n+//go:nosplit\n func (i arenaIdx)... | 2022-10-10T17:49:54 |
electron/electron | 5fa2831756b705f9121498a56786c2e165965cc2 | 227a2bd5dc57ee93bf4b4ea9e3a2c8837e629f51 | Coding style fixes | [
{
"path": "atom/browser/api/atom_api_notification.cc",
"patch": "@@ -4,24 +4,16 @@\n \n #include \"atom/browser/api/atom_api_notification.h\"\n \n-#include <map>\n-#include <string>\n-\n #include \"atom/browser/api/atom_api_menu.h\"\n #include \"atom/browser/browser.h\"\n-#include \"atom/common/api/atom_api... | 2017-05-31T07:17:29 |
nodejs/node | 67ba825037b4082d5d16f922fb9ce54516b4a869 | 82c435d0a08423cec36c91df7335f417ffa41122 | src: fix minor comment typo in KeyObjectData
PR-URL: https://github.com/nodejs/node/pull/34167
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: David Carlier <devnexen@gmail.com> | [
{
"path": "src/node_crypto.h",
"patch": "@@ -420,7 +420,7 @@ class KeyObjectData {\n KeyType GetKeyType() const;\n \n // These functions allow unprotected access to the raw key material and should\n- // only be used to implement cryptograohic operations requiring the key.\n+ // only be used to impleme... | 2020-07-02T10:51:00 |
vercel/next.js | 7be8092f469084497b893c22a3b5d53327879d69 | ab7142a68bab6ca2ad0d43cc30b3d4504bb732d8 | Remove return on void function (#60087)
## What?
The function is marked as void so we only have to await the trace
<!-- 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 ri... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -378,7 +378,7 @@ export default async function build(\n NextBuildContext.reactProductionProfiling = reactProductionProfiling\n NextBuildContext.noMangling = noMangling\n \n- const buildResult = await nextBuildSpan.traceAsyncFn(async () =>... | 2024-01-02T08:38:48 |
golang/go | 4a459cbbad7b9528e5f569157b157800866a4fb8 | 742e0a9720c04b6be694ad8ea8f7831ffa606e40 | cmd/compile: tweak inliners handling of coverage counter updates
This patch fixes up a bug in the inliner's special case code for
coverage counter updates, which was not properly working for
-covermode=atomic compilations.
Updates #56044.
Change-Id: I9e309312b123121c3df02862623bdbab1f6c6a4b
Reviewed-on: https://go-r... | [
{
"path": "src/cmd/compile/internal/inline/inl.go",
"patch": "@@ -37,7 +37,6 @@ import (\n \t\"cmd/compile/internal/typecheck\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/obj\"\n-\t\"cmd/internal/objabi\"\n \t\"cmd/internal/src\"\n )\n \n@@ -284,6 +283,19 @@ func (v *hairyVisitor) doNode(n ir.Nod... | 2022-10-10T17:39:30 |
nodejs/node | 82c435d0a08423cec36c91df7335f417ffa41122 | 654df09ae0c5e17d1b52a900a545f0664d8c7627 | src: fix unused namespace member
C++ linter fails because of unused ArrayBuffer namespace member
PR-URL: https://github.com/nodejs/node/pull/34212
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau... | [
{
"path": "src/env.cc",
"patch": "@@ -27,7 +27,6 @@\n namespace node {\n \n using errors::TryCatchScope;\n-using v8::ArrayBuffer;\n using v8::Boolean;\n using v8::Context;\n using v8::EmbedderGraph;",
"additions": 0,
"deletions": 1,
"language": "Unknown"
}
] | 2020-07-05T21:37:01 |
vercel/next.js | 7cbcea30c117ac790c8f07747b5acaa460d592ae | 5071fcad8138eaec567e7067c00521fb1c2ed710 | Remove duplicate standalone check (#60085)
## What?
I noticed this check is already in a block that does the exact same
check, so this one is no longer needed.
<!-- 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 follo... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -3046,58 +3046,56 @@ export default async function build(\n staticPages\n )\n \n- if (config.output === 'standalone') {\n- for (const file of [\n- ...requiredServerFiles.files,\n- ... | 2024-01-01T20:17:12 |
electron/electron | 6537238c0d9cd4fd794e10f8db4b0fa4dabb9237 | 62d9bf9baeb25c30d903db2be3fae84d93fa53e7 | :art: code structure fix | [
{
"path": "spec/api-screen-spec.js",
"patch": "@@ -29,5 +29,4 @@ describe('screen module', function () {\n assert.equal(typeof screenHeight, 'number')\n })\n })\n-\n })",
"additions": 0,
"deletions": 1,
"language": "JavaScript"
}
] | 2017-05-30T21:40:06 |
golang/go | 388fbf287c29c73fb8cd12f8c24e101d9e790dd2 | 578523e4a0f68e9b35984f017bb3471b0bd313b4 | go/types, types2: use zero error code to indicate unset error code
Use InvalidSyntaxError where the zero error code was used before.
Fix a couple of places that didn't set an error code.
Panic in error reporting if no error code is provided.
Change-Id: I3a537d42b720deb5c351bf38871e04919325e231
Reviewed-on: https://go... | [
{
"path": "src/cmd/compile/internal/types2/assignments.go",
"patch": "@@ -28,7 +28,8 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t\t// ok\n \tdefault:\n \t\t// we may get here because of other problems (issue #39634, crash 12)\n-\t\tcheck.errorf(x, 0, \"cannot assign %s to %... | 2022-10-07T01:09:23 |
facebook/react | 1db3ed0d6d3d0490977f258e2fba43f2d6153062 | cc0e7d2a79c12c516368e14aacff3cc71d8e3868 | fix: var name | [
{
"path": "examples/ballmer-peak/example.js",
"patch": "@@ -11,7 +11,7 @@ function computeBallmerPeak(x) {\n }\n \n function percentage(x) {\n- return isNaN(x) ? 'N/A' : (100 - Math.round(pct * 100)) + '%';\n+ return isNaN(x) ? 'N/A' : (100 - Math.round(x * 100)) + '%';\n }\n \n var BallmerPeakCalculator ... | 2014-10-12T13:06:53 |
nodejs/node | 654df09ae0c5e17d1b52a900a545f0664d8c7627 | 7eb500b538a5b78650ac9d2a6c5f52353dc4c577 | doc: move ERR_FEATURE_UNAVAILABLE_ON_PLATFORM to current errors
ERR_FEATURE_UNAVAILABLE_ON_PLATFORM is incorrectly included in the list
of errors that have never been released. It was added in
67e067eb0658281b647ff68a5a9e64ea2cfdb706 and included in every release
in the 14.x line.
PR-URL: https://github.com/nodejs/no... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -919,6 +919,15 @@ for the JS engine are not set up properly.\n A `Promise` that was callbackified via `util.callbackify()` was rejected with a\n falsy value.\n \n+<a id=\"ERR_FEATURE_UNAVAILABLE_ON_PLATFORM\"></a>\n+#### `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM`\n+<!-... | 2020-07-04T13:23:37 |
vercel/next.js | a5d87eb30a8a6eb5a1b7065b2189df76cb7ef283 | 2eda0140e3999c60006b068f9a2c2fdd010ca217 | docs: fix version history order in sitemap.mdx (#60054)
Co-authored-by: Lee Robinson <me@leerob.io> | [
{
"path": "docs/02-app/02-api-reference/02-file-conventions/01-metadata/sitemap.mdx",
"patch": "@@ -207,5 +207,5 @@ type Sitemap = Array<{\n \n | Version | Changes |\n | --------- | ------------------------------------------------------------ |\n-| `v13... | 2024-01-01T18:35:16 |
electron/electron | 227a2bd5dc57ee93bf4b4ea9e3a2c8837e629f51 | 3938373ecb5a43f68214eaa0882ec44356e37069 | Fix reference typed reply placeholder | [
{
"path": "brightray/browser/mac/cocoa_notification.h",
"patch": "@@ -28,7 +28,7 @@ class CocoaNotification : public Notification {\n const SkBitmap& icon,\n bool silent,\n const bool has_reply,\n- const base::string16 reply_placeholder) override;\n+ ... | 2017-05-30T10:29:27 |
facebook/react | 9c8ddb33169d47374df45f6672acf6ef154da968 | 9ef2b4e5d9459229756c9612876f7c2dacf45d64 | Error when unmountComponentAtNode receives non-node | [
{
"path": "src/browser/ui/ReactMount.js",
"patch": "@@ -465,6 +465,14 @@ var ReactMount = {\n 'componentDidUpdate.'\n );\n \n+ invariant(\n+ container && (\n+ container.nodeType === ELEMENT_NODE_TYPE ||\n+ container.nodeType === DOC_NODE_TYPE\n+ ),\n+ 'unmountCompon... | 2014-08-24T14:53:15 |
rust-lang/rust | ebfac4ecaf4190dada6dba95645ceee7efd2ca38 | 8365fcb2b840c95eeb0bc377af8bd498fad22245 | Avoid using `()` in `derive(From)` output.
Using an error type instead of `()` avoids the duplicated errors
on `struct SUnsizedField` in `deriving-from-wrong-target.rs`. It also
improves the expanded output from this:
```
struct S2(u32, u32);
impl ::core::convert::From<()> for S2 {
#[inline]
fn from(value: ())... | [
{
"path": "compiler/rustc_builtin_macros/src/deriving/from.rs",
"patch": "@@ -27,21 +27,39 @@ pub(crate) fn expand_deriving_from(\n cx.dcx().bug(\"derive(From) used on something else than an item\");\n };\n \n- // #[derive(From)] is currently usable only on structs with exactly one field.\n- ... | 2025-08-18T03:50:11 |
nodejs/node | 3837d9cf1fdb620dff50ee038f85a8528222e7d9 | 7b062ca015d5a2545c9d66992c183c325d938a23 | quic: fixup lint issues
PR-URL: https://github.com/nodejs/node/pull/34160
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/internal/quic/core.js",
"patch": "@@ -12,7 +12,6 @@ assertCrypto();\n const {\n Array,\n BigInt64Array,\n- Boolean,\n Error,\n Map,\n RegExp,\n@@ -30,7 +29,6 @@ const {\n setTransportParams,\n toggleListeners,\n validateNumber,\n- validateCloseCode,\n validateTransportPara... | 2020-07-02T23:24:38 |
vercel/next.js | 2eda0140e3999c60006b068f9a2c2fdd010ca217 | 4b669281703d932c9b986362254a3e6a52a692b8 | examples: fix contentful install instructions (#60050) | [
{
"path": "examples/cms-contentful/README.md",
"patch": "@@ -73,7 +73,7 @@ This project includes a setup script which you can use to set up the content mod\n \n In your Contentful dashboard go to **Settings > General Settings** and copy the **Space ID**.\n \n-Next, go to **Settings > API > Content managemen... | 2023-12-31T23:22:46 |
facebook/react | b2dbccf9a26e9980369b4666101b817559304c34 | c4658c1728b39c452a86f371ecb1c51874456107 | Rename lower case variables in JSX to upper case
We're trying to move to a convention where lower-case variables on JSX are always HTML/SVG tags rather than variables in scope. See:
http://fb.me/react-jsx-lower-case
Therefore, this diff renames existing uses to upper case variables.
This throws an error on all thes... | [
{
"path": "src/core/__tests__/ReactCompositeComponent-test.js",
"patch": "@@ -98,8 +98,8 @@ describe('ReactCompositeComponent', function() {\n console.log(this.getDOMNode());\n },\n render: function() {\n- var component = this.state.component;\n- return component ? <compone... | 2014-10-07T17:26:14 |
electron/electron | 3938373ecb5a43f68214eaa0882ec44356e37069 | 686b1388b1370e010a6a4dd06376f350a39a6922 | Fix linting errors and add isSupported | [
{
"path": "atom/browser/api/atom_api_notification.cc",
"patch": "@@ -132,6 +132,10 @@ void Notification::OnInitialProps() {\n }\n }\n \n+bool Notification::IsSupported() {\n+ return !!brightray::BrowserClient::Get()->GetNotificationPresenter();\n+}\n+\n // static\n void Notification::BuildPrototype(v8::I... | 2017-05-30T10:27:24 |
vercel/next.js | 9986e822637ca70efd4de8e0cb923798b684f4b9 | 33f9b344d7731ff434d8306e1ffc24a2e18d1d7d | examples: Update next-forms example (#60052)
- Remove `experimental_` import for `useFormStatus`
- Update all dependencies
- Move to `postgres` so it works with any Postgres provider
- Fix a TypeScript issue
- Use `next dev --turbo` | [
{
"path": "examples/next-forms/.env.example",
"patch": "@@ -1,6 +1 @@\n-POSTGRES_URL=\n-POSTGRES_URL_NON_POOLING=\n-POSTGRES_USER=\n-POSTGRES_HOST=\n-POSTGRES_PASSWORD=\n-POSTGRES_DATABASE=\n\\ No newline at end of file\n+POSTGRES_URL=\n\\ No newline at end of file",
"additions": 1,
"deletions": 6,
... | 2023-12-30T17:17:14 |
nodejs/node | 21005c3b4402241166d4a0ae6a9cc1b26cbba480 | bff7de3b43510232f205f11c199ee54cb5b803ec | doc: remove stability from unreleased errors
Remove stability indicators from errors that only existed on the master
branch and are not in the release.
PR-URL: https://github.com/nodejs/node/pull/33764
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -2630,8 +2630,6 @@ releases.\n <a id=\"ERR_ENTRY_TYPE_MISMATCH\"></a>\n #### `ERR_ENTRY_TYPE_MISMATCH`\n \n-> Stability: 1 - Experimental\n-\n The `--entry-type=commonjs` flag was used to attempt to execute an `.mjs` file\n or a `.js` file where the nearest parent... | 2020-06-06T05:00:09 |
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.