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
c150f9da7e52701d48aa12c2c1930b490c097a7b
28bee2444e4d30b762a031958855a601aec27fe1
deps: uvwasi: cherry-pick c3bef8e Original commit message: prevent locking fd table while holding a mutex uvwasi_path_rename(), uvwasi_path_link(), uvwasi_path_open(), and uvwasi_fd_renumber() operate on multiple file descriptors. uvwasi_fd_renumber() has been updated prior to this commit, and is ...
[ { "path": "deps/uvwasi/include/fd_table.h", "patch": "@@ -46,17 +46,24 @@ uvwasi_errno_t uvwasi_fd_table_insert_preopen(struct uvwasi_s* uvwasi,\n const uv_file fd,\n const char* path,\n ...
2020-01-22T03:33:24
electron/electron
933e013e7e1841d475daab00acb3680ce0cb394d
ed878b400e6553b3c441e74bffa7cf486df9fa42
Fixed typo
[ { "path": "docs-translations/ru-RU/tutorial/application-distribution.md", "patch": "@@ -52,7 +52,7 @@ electron/resources/\n └── app.asar\n ```\n \n-Больше деталей можно найти в [инстуркции по упаковке приложения](application-packaging.md).\n+Больше деталей можно найти в [инструкции по упаковке приложения](a...
2016-10-27T11:58:16
rust-lang/rust
71ea00f7a3911990e9e5328446312bc0d792cf5f
d941bc7d306e2a6b232342ff453e8196bc27195e
fix: Fix runnables extra env not substituting env vars
[ { "path": "src/tools/rust-analyzer/editors/code/src/config.ts", "patch": "@@ -8,10 +8,9 @@ import type { Disposable } from \"vscode\";\n \n export type RunnableEnvCfgItem = {\n mask?: string;\n- env: Record<string, string>;\n+ env: { [key: string]: { toString(): string } | null };\n platform?:...
2025-07-27T12:07:10
golang/go
c2c76c6f198480f3c9aece4aa5d9b8de044d8457
36147dd1e8d8e21affbf5d8a758608e63304e4a7
cmd/link: set alignment for carrier symbols For carrier symbols like type.*, currently we don't set its alignment. Normally it doesn't actually matter as we still align the inner symbols. But in some cases it does make the symbol table a bit weird, e.g. on darwin/arm64, 0000000000070000 s _runtime.types 0000000000070...
[ { "path": "src/cmd/link/internal/ld/symtab.go", "patch": "@@ -475,16 +475,19 @@ func (ctxt *Link) symtab(pcln *pclntab) []sym.SymKind {\n \t\t\ts = ldr.CreateSymForUpdate(\"type.*\", 0)\n \t\t\ts.SetType(sym.STYPE)\n \t\t\ts.SetSize(0)\n+\t\t\ts.SetAlign(int32(ctxt.Arch.PtrSize))\n \t\t\tsymtype = s.Sym()\n...
2022-06-14T20:47:57
vercel/next.js
ade8d7cdc4b1b3d85bdf93728116a87c234adf95
073123234a8bad3570f869cb52f13121698b543f
fix(react-refresh-utils): avoid memory leaks caused by prevExports (#53797) This fixes memory leaks caused by `prevExports` in react-refresh-utils. It happens in code like the following: ```tsx const DATA = Array.from({ length: 100000 }, (_, i) => Math.random()); export const App = () => { return ( <div>...
[ { "path": "packages/react-refresh-utils/internal/ReactRefreshModule.runtime.ts", "patch": "@@ -30,7 +30,8 @@ export default function () {\n // @ts-ignore __webpack_module__ is global\n var currentExports = __webpack_module__.exports\n // @ts-ignore __webpack_module__ is global\n- var ...
2023-09-21T11:33:00
nodejs/node
8b606d3e264f1157e5f5da7ced7983a347cda8e8
c692568a092312e161a6926f8daf52f9fa4f2b78
deps: update to uvwasi 0.0.5 This version improves file descriptor renumbering, and as a result fixes uvwasi_fd_renumber(). PR-URL: https://github.com/nodejs/node/pull/31432 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: David Carlier <devnexen@gmail.com> Re...
[ { "path": "deps/uvwasi/include/fd_table.h", "patch": "@@ -31,19 +31,21 @@ uvwasi_errno_t uvwasi_fd_table_init(struct uvwasi_s* uvwasi,\n uint32_t init_size);\n void uvwasi_fd_table_free(struct uvwasi_s* uvwasi,\n struct uvwasi_fd_table_t* table);...
2020-01-20T23:25:40
electron/electron
a2b3abbf47f2adc8f945f3e12ce6f756670d03ca
93464b81004f995c0ff9cc7ae4f16f30f7ec3473
incorrect position when restored from maximize-on-top-drag under Windows #7630
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -327,7 +327,6 @@ NativeWindowViews::NativeWindowViews(\n last_window_state_ = ui::SHOW_STATE_FULLSCREEN;\n else\n last_window_state_ = ui::SHOW_STATE_NORMAL;\n- last_normal_bounds_ = GetBounds();\n #endif\n }\n ", "additions": 0, ...
2016-10-27T09:42:43
golang/go
0dffda13834545317569052a9de7dfbf27b62c5d
c22a6c3b906cd37616d76da5f504c4c3e5677d94
spec: clarify "slice of bytes" and "slice of runes" through examples The spec section on conversions uses the terms "slice of bytes" and "slice of runes". While not obviously clear, what is meant are slice types whose element types are byte or rune types; specifically the underlying types of the slices' element types ...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Version of June 13, 2022\",\n+\t\"Subtitle\": \"Version of June 14, 2022\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -5245,7 +5245,7 @@ <h3 id=\"Conversions\">Co...
2022-06-14T01:44:44
vercel/next.js
d665c3df4d92c2ee03a45677925a8f27bc54ca9a
90b0352a3e76dc5e909663b8460101094b6106fa
Upgrade to latest NAPI-RS infra (#55505) Should also resolve the msvc runtime issue: https://nextjs.org/docs/messages/failed-loading-swc#possible-ways-to-fix-it
[ { "path": ".cargo/config.toml", "patch": "@@ -7,6 +7,9 @@ rustdocflags = []\n \n [target.x86_64-pc-windows-msvc]\n linker = \"rust-lld\"\n+rustflags = [\"-C\", \"target-feature=+crt-static\"]\n+[target.i686-pc-windows-msvc]\n+rustflags = [\"-C\", \"target-feature=+crt-static\"]\n \n [target.aarch64-unknown-...
2023-09-20T23:37:28
nodejs/node
dc90f925fbf46d1d81940f3b07f7b71af9d83be3
9f22fda6466e835f4fb56552c4d3a9d98eb1c1d7
test: remove bluebird remnants from test fixture The test fixture in test/fixtures/bluebird was largely copied from bluebird, where a regression in Node.js was discovered. Simplify the test by removing a lot of things that aren't necessary to replicate the problem. Change name from bluebird to something less likely to...
[ { "path": "test/fixtures/bluebird/node_modules/bluebird/package.json", "patch": "@@ -1,78 +0,0 @@\n-{\n- \"name\": \"bluebird\",\n- \"description\": \"Full featured Promises/A+ implementation with exceptionally good performance\",\n- \"version\": \"3.7.2\",\n- \"keywords\": [\n- \"promise\",\n- \"...
2020-01-21T05:42:29
electron/electron
c61414e11bbb2e879017add67d12bd2654949851
93464b81004f995c0ff9cc7ae4f16f30f7ec3473
fix for Window hidden behind taskbar after maximize #7672
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -572,8 +572,10 @@ void NativeWindowViews::SetContentSizeConstraints(\n \n void NativeWindowViews::SetResizable(bool resizable) {\n #if defined(OS_WIN)\n- if (thick_frame_)\n+ if (thick_frame_) {\n FlipWindowStyle(GetAcceleratedWidget(), res...
2016-10-27T09:14:31
rust-lang/rust
81fc22753e3e75dae62a5837c2b641c0fbd57cde
1db89a1b1ca87f24bf22d0bad21d14b2d81b3e99
fix: `unnecessary_map_or` don't add parens if the parent expr comes from a macro
[ { "path": "clippy_lints/src/methods/unnecessary_map_or.rs", "patch": "@@ -109,10 +109,16 @@ pub(super) fn check<'a>(\n );\n \n let sugg = if let Some(parent_expr) = get_parent_expr(cx, expr) {\n- match parent_expr.kind {\n- ExprKind::Binary(..) | ExprKind::Unary(..)...
2025-07-25T20:32:41
facebook/react
b03f04ff24373a9898b062705a13f7124eba8c16
ce2d7991c98f0fe98abb86ea0ab46ca6c5c4b95e
Fixing Bug in JSX transformer The bug fixed by this commit prevented the correct parsing of `var` statements with multiple variables being declared. Instead of trying to parse a whole 'variable declarations' (a `var` statement with all its declarations), this visitor now only parses single 'variable declarators'.
[ { "path": "vendor/fbtransform/transforms/reactDisplayName.js", "patch": "@@ -36,32 +36,29 @@ var getDocblock = require('../lib/utils').getDocblock;\n * });\n */\n function visitReactDisplayName(traverse, object, path, state) {\n- object.declarations.forEach(function(dec) {\n- if (dec.type === Syntax.V...
2013-05-30T18:51:15
golang/go
c22a6c3b906cd37616d76da5f504c4c3e5677d94
e1e66a03a6bb3210034b640923fa253d7def1a26
reflect: when StructOf overflows computing size/offset, panic Fixes #52740 Change-Id: I849e585deb77cfcfc1b517be4a171eb29b30c5f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/412214 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@google.com>
[ { "path": "src/reflect/all_test.go", "patch": "@@ -5891,6 +5891,87 @@ func TestStructOfDifferentPkgPath(t *testing.T) {\n \t})\n }\n \n+func TestStructOfTooLarge(t *testing.T) {\n+\tt1 := TypeOf(byte(0))\n+\tt2 := TypeOf(int16(0))\n+\tt4 := TypeOf(int32(0))\n+\tt0 := ArrayOf(0, t1)\n+\n+\t// 2^64-3 sized ty...
2022-06-14T21:38:56
nodejs/node
9f22fda6466e835f4fb56552c4d3a9d98eb1c1d7
b4f745ec5ae515c35aa57c576b997bb1d7f96437
errors: make use of "cannot" consistent PR-URL: https://github.com/nodejs/node/pull/31420 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos...
[ { "path": "doc/api/errors.md", "patch": "@@ -1179,7 +1179,7 @@ To fix the error, open an issue at https://github.com/nodejs/node/issues.\n <a id=\"ERR_INCOMPATIBLE_OPTION_PAIR\"></a>\n ### `ERR_INCOMPATIBLE_OPTION_PAIR`\n \n-An option pair is incompatible with each other and can not be used at the same\n+An...
2020-01-20T15:17:30
vercel/next.js
90b0352a3e76dc5e909663b8460101094b6106fa
721a2709893aa6399f0b7dfa01e7446024d0122a
Docs - Fix VSCode Full Stack Debugging Regex Pattern (#55670) The most recent Next.js update [redesigned the logging output](https://github.com/vercel/next.js/pull/54713) (which looks great btw) but it broke the uri regex for the VSCode debugger. This PR updates it to use the new pattern. Output Pattern Before: ![A...
[ { "path": "docs/03-pages/01-building-your-application/06-configuring/13-debugging.mdx", "patch": "@@ -33,7 +33,7 @@ Create a file named `.vscode/launch.json` at the root of your project with the f\n \"request\": \"launch\",\n \"command\": \"npm run dev\",\n \"serverReadyAction\": {\n- ...
2023-09-20T23:24:12
rust-lang/rust
24e2b4832bfa0bf1b60159af0ae11b15de55590e
052114f0c5e8d49f62f8caba364b07017310ab09
coverage: Infer `instances_used` from `pgo_func_name_var_map` In obscure circumstances, we would sometimes emit a covfun record for a function with no physical coverage counters, causing `llvm-cov` to fail with the cryptic error message: malformed instrumentation profile data: function name is empty We can elimi...
[ { "path": "compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs", "patch": "@@ -46,21 +46,17 @@ pub(crate) fn finalize(cx: &mut CodegenCx<'_, '_>) {\n debug!(\"Generating coverage map for CodegenUnit: `{}`\", cx.codegen_unit.name());\n \n // FIXME(#132395): Can this be none even when coverage is e...
2025-07-27T11:19:07
electron/electron
6d92457095c9b45a169296aa8be31388158948ba
e9db926b486135ae79b822a858dd65a949464c96
Fixing code review issues: refactoring emit methods using CustomEmit.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -6,6 +6,7 @@\n #include <string>\n #include \"atom/browser/api/atom_api_session.h\"\n #include \"atom/browser/net/atom_url_request.h\"\n+#include \"atom/common/api/event_emitter_caller.h\"\n #include \"atom/common/native_mate_converters/call...
2016-10-26T09:10:15
facebook/react
86eeef1ccd16936aeb56f53926dd600dbb736c5c
ce2d7991c98f0fe98abb86ea0ab46ca6c5c4b95e
Update bower install command Fixes #21
[ { "path": "README.md", "patch": "@@ -46,7 +46,7 @@ We've also built a [starter kit](http://facebook.github.io/react/downloads/react\n If you'd like to use [bower](http://bower.io), it's as easy as:\n \n ```sh\n-bower install react\n+bower install --save react\n ```\n \n ## Contribute", "additions": 1, ...
2013-05-30T18:49:57
golang/go
e1e66a03a6bb3210034b640923fa253d7def1a26
cb9bf93078c54187f5be9d8a65c81c249d12d3c5
cmd/compile,runtime,reflect: move embedded bit from offset to name Previously we stole a bit from the field offset to encode whether a struct field was embedded. Instead, encode that bit in the name field, where we already have some unused bits to play with. The bit associates naturally with the name in any case. Th...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -412,7 +412,7 @@ func dimportpath(p *types.Pkg) {\n \t}\n \n \ts := base.Ctxt.Lookup(\"type..importpath.\" + p.Prefix + \".\")\n-\tot := dnameData(s, 0, p.Path, \"\", nil, false)\n+\tot := dnameData(s, 0, p.Path, \"\", nil, false, fal...
2022-06-14T20:38:02
vercel/next.js
d7818d21b6e1a3d90f82294e9389c1113804e937
a88e9953b953a7373600a57806e45eacd67908e8
turbopack: Update the `next/dist/esm` rewrite `ResolvePlugin` (#55689) ### What? This updates `NextSharedRuntimeResolvePlugin` to match on `next/dist/esm` pattern instead of matching on `node_modules/next/dist`. While the old code is more correct, it prevents the plugin from working when we're developing Next.js loca...
[ { "path": "packages/next-swc/crates/next-core/src/next_shared/resolve.rs", "patch": "@@ -285,7 +285,7 @@ impl ResolvePlugin for NextSharedRuntimeResolvePlugin {\n fn after_resolve_condition(&self) -> Vc<ResolvePluginCondition> {\n ResolvePluginCondition::new(\n self.root.root(),\n- ...
2023-09-20T22:04:29
nodejs/node
b4f745ec5ae515c35aa57c576b997bb1d7f96437
4e3dee48c8e932041e3af9a489cbe3fcb9e9bd72
doc: fix syntax in N-API documentation PR-URL: https://github.com/nodejs/node/pull/31466 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -1436,7 +1436,7 @@ napiVersion: 1\n ```C\n NAPI_EXTERN napi_status napi_reference_unref(napi_env env,\n napi_ref ref,\n- uint32_t* result););\n+ ...
2020-01-22T20:50:51
rust-lang/rust
49eda8edd5c99e4c65c687fff0b8e194eb339a23
86ef32029427cfc4161a3fd7a51992302f7c5552
fix(debuginfo): disable overflow check for recursive non-enum types
[ { "path": "compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs", "patch": "@@ -285,8 +285,8 @@ pub(super) fn build_type_with_children<'ll, 'tcx>(\n // Item(T),\n // }\n // ```\n- let is_expanding_recursive =\n- debug_context(cx).adt_stack.borrow().ite...
2025-07-24T13:30:22
electron/electron
9b19e6ee3895a6aa7b805d4b5f1cd8b733f092ac
6bac17fb9a521882b07b0492e42b66529864ea92
Changing names and memory leak fix
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -729,12 +729,12 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) {\n window_->SetAspectRatio(aspect_ratio, extra_size);\n }\n \n-void Window::PreviewFile(const std::string& filepath, mate::Arguments* args) {\n- std::s...
2016-10-14T16:42:50
golang/go
cb9bf93078c54187f5be9d8a65c81c249d12d3c5
cad477c922b8b6f71e3f0968822841430516c639
cmd/go: quote package directory when calling glob Fixes #53314 Change-Id: I4933b59ee247daec5cf96eb15c52ff54d3ec26a9 Reviewed-on: https://go-review.googlesource.com/c/go/+/411696 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>...
[ { "path": "src/cmd/go/internal/clean/clean.go", "patch": "@@ -22,6 +22,7 @@ import (\n \t\"cmd/go/internal/lockedfile\"\n \t\"cmd/go/internal/modfetch\"\n \t\"cmd/go/internal/modload\"\n+\t\"cmd/go/internal/str\"\n \t\"cmd/go/internal/work\"\n )\n \n@@ -141,7 +142,7 @@ func runClean(ctx context.Context, cmd...
2022-06-10T22:46:43
nodejs/node
4e3dee48c8e932041e3af9a489cbe3fcb9e9bd72
31b31a3c52376a62bb1cd706dfc116c881fea12c
doc: add explanatory to path.resolve description Fixes: https://github.com/nodejs/node/issues/25542 PR-URL: https://github.com/nodejs/node/pull/31430 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <r...
[ { "path": "doc/api/path.md", "patch": "@@ -477,7 +477,8 @@ an absolute path.\n The given sequence of paths is processed from right to left, with each\n subsequent `path` prepended until an absolute path is constructed.\n For instance, given the sequence of path segments: `/foo`, `/bar`, `baz`,\n-calling `pa...
2020-01-20T22:35:35
vercel/next.js
563019f79cb77fae8ce809160ecea142bb16c1bd
e6910b4ca8230cc869ef6d584884d7c554133f26
Fix/upgrade examples with clerk (#55676) Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com>
[ { "path": "examples/with-clerk/package.json", "patch": "@@ -7,12 +7,12 @@\n },\n \"dependencies\": {\n \"@clerk/nextjs\": \"^4.17.3\",\n- \"@types/node\": \"20.1.3\",\n- \"@types/react\": \"18.2.6\",\n- \"@types/react-dom\": \"18.2.4\",\n+ \"@types/node\": \"20.5.7\",\n+ \"@types/reac...
2023-09-20T20:28:35
golang/go
cad477c922b8b6f71e3f0968822841430516c639
c29be2d41c6c3ed78a76b4d8d8c1c22d7e0ad5b7
cpu: fix typos in test case Change-Id: Id6a27d0b3f3fc4181a00569bacc578e72b04ce09 GitHub-Last-Rev: 85c063d1a2d62181d16044592a60acf970fe3c86 GitHub-Pull-Request: golang/go#53359 Reviewed-on: https://go-review.googlesource.com/c/go/+/411916 Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobo...
[ { "path": "src/internal/cpu/cpu_test.go", "patch": "@@ -19,7 +19,7 @@ func MustHaveDebugOptionsSupport(t *testing.T) {\n \t}\n }\n \n-func MustSupportFeatureDectection(t *testing.T) {\n+func MustSupportFeatureDetection(t *testing.T) {\n \t// TODO: add platforms that do not have CPU feature detection support...
2022-06-14T02:09:10
facebook/react
036e11c9ee6f70040208d1b139a48ebe9188906b
b4c0661dce3717e244c25244249c3b2bbe026364
more backbone fixes
[ { "path": "examples/todomvc-backbone/css/base.css", "patch": "@@ -383,6 +383,10 @@ body {\n \tcolor: inherit;\n }\n \n+.submitButton {\n+ display: none;\n+}\n+\n /*\n \tHack to remove background from Mobile Safari.\n \tCan't use it globally since it destroys checkboxes in Firefox and Opera", "additions...
2013-05-30T11:11:07
nodejs/node
31b31a3c52376a62bb1cd706dfc116c881fea12c
104681687581f49f1d3d90bf098e33984200d090
src: harden running native `SetImmediate()`s slightly Prevent mistakes like the one fixed by the previous commit by destroying the callback immediately after it has been called. PR-URL: https://github.com/nodejs/node/pull/31468 Refs: https://github.com/nodejs/node/pull/31386 Reviewed-By: Colin Ihrig <cjihrig@gmail.co...
[ { "path": "src/env.cc", "patch": "@@ -698,6 +698,8 @@ void Environment::RunAndClearNativeImmediates(bool only_refed) {\n if (head->is_refed() || !only_refed)\n head->Call(this);\n \n+ head.reset(); // Destroy now so that this is also observed by try_catch.\n+\n if (UNLIKELY(try_cat...
2020-01-22T22:33:29
vercel/next.js
13436ba660c0d791ff1cc784c756519437baaf86
2053bef9f42eeec4a8ec90e434373d11bfff10e7
refactor: use `fs.existsSync` instead of `accessSync` (#55675) There is no need to have accessSync since it throws an error, and creation of errors are costly.
[ { "path": "packages/next/src/lib/eslint/runLintCheck.ts", "patch": "@@ -1,4 +1,4 @@\n-import { promises as fs } from 'fs'\n+import { promises as fs, existsSync } from 'fs'\n import chalk from 'next/dist/compiled/chalk'\n import path from 'path'\n \n@@ -12,7 +12,7 @@ import { hasEslintConfiguration } from '....
2023-09-20T19:37:44
golang/go
56bc3098f4ed42b272a45c246dcd42d28d89a69a
1fe2810f9ca0dcd34e473f852102e2a49d45d7d8
sync: improve linearity test robustness This change improves the robustness of the locklinear test in the following ways: * It removes allocations from the timing, which may be very variable if we're unlucky. * It ensures that goroutines are properly cleaned up before the test function returns, reducing the chanc...
[ { "path": "src/sync/mutex_test.go", "patch": "@@ -340,16 +340,25 @@ func TestMutexLinearOne(t *testing.T) {\n \ttestenv.CheckLinear(t, func(scale float64) func(*testing.B) {\n \t\tn := int(1000 * scale)\n \t\treturn func(b *testing.B) {\n-\t\t\tch := make(chan int)\n+\t\t\tch := make(chan struct{})\n \t\t\t...
2022-06-10T18:47:37
facebook/react
56dbec46db99d5ba764714a585fe9ce17ec8dcd8
fd321cf07d1acb6b5c6d29078ffc745d574a577a
Fix backbone todomvc example
[ { "path": "examples/todomvc-backbone/js/app.js", "patch": "@@ -66,29 +66,6 @@ var TodoList = Backbone.Collection.extend({\n }\n });\n \n-// Create our global collection of **Todos**.\n-var Todos = new TodoList();\n-\n-var TodoFilter;\n-\n-var Workspace = Backbone.Router.extend({\n- routes:{\n- '*filte...
2013-05-30T10:35:45
vercel/next.js
2053bef9f42eeec4a8ec90e434373d11bfff10e7
628a19393bea4e40af3ef73b101669e1c2fdd672
update taskfile to generate types during `build` (#55628) When running the `dev` task, types aren't emitted so there's a good chance of running into a TypeError like: ``` Type error: Module '"next/dist/lib/metadata/types/metadata-interface.js"' has no exported member 'ResolvingMetadata'. ``` during a `next build` from...
[ { "path": "packages/next/package.json", "patch": "@@ -75,7 +75,7 @@\n \"scripts\": {\n \"dev\": \"taskr\",\n \"release\": \"taskr release\",\n- \"build\": \"pnpm release && pnpm types\",\n+ \"build\": \"pnpm release\",\n \"prepublishOnly\": \"cd ../../ && turbo run build\",\n \"types...
2023-09-20T18:19:43
nodejs/node
104681687581f49f1d3d90bf098e33984200d090
8fb5fe28a45cc884567cd39e3b2f6b4272917af6
worker: move JoinThread() back into exit callback de2c68c7dd17a217a818ea881e433034006fdb4b moved this call to the destructor, under the assumption that that would essentially be equivalent to running it as part of the callback since the worker would be destroyed along with the callback. However, the actual code in `E...
[ { "path": "src/node_worker.cc", "patch": "@@ -438,8 +438,6 @@ void Worker::JoinThread() {\n }\n \n Worker::~Worker() {\n- JoinThread();\n-\n Mutex::ScopedLock lock(mutex_);\n \n CHECK(stopped_);\n@@ -599,6 +597,7 @@ void Worker::StartThread(const FunctionCallbackInfo<Value>& args) {\n [w = std:...
2020-01-22T22:23:21
rust-lang/rust
c78f3aedfc262c95b08d944c878976dcc133dcf3
03978193a5900c0d4767891eee408a54aaf1915c
fix: `empty_structs_with_brackets` suggests wrongly on generics
[ { "path": "clippy_lints/src/empty_with_brackets.rs", "patch": "@@ -93,11 +93,11 @@ impl_lint_pass!(EmptyWithBrackets => [EMPTY_STRUCTS_WITH_BRACKETS, EMPTY_ENUM_VA\n impl LateLintPass<'_> for EmptyWithBrackets {\n fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) {\n // FIXME: hand...
2025-07-27T07:13:34
electron/electron
082cd9b72c423ad5aca5b2d3629b062504e68cc1
f7bf8c4fdc5b0b90c105a565e0108fc3fcc57265
:memo: Fix links in docs-translations/pt-BR/README.md [ci skip]
[ { "path": "docs-translations/pt-BR/README.md", "patch": "@@ -9,7 +9,7 @@ selecione a *tag* que corresponde à sua versão.\n ## FAQ\n \n Existem muitas perguntas comuns que são feitas, verifique antes de criar uma issue.\n-* [Electron FAQ](../../docs/faq.md)\n+* [Electron FAQ](faq.md)\n \n ## Guias\n \n@@ -40...
2016-10-25T17:53:33
golang/go
fbc75dff2fa5bac474936e611ff1b7e778617be3
5ee939b8199266446d7ccc563751a9d3db26bf8b
cmd/cgo: remove -fsanitize=hwaddress hardware tags No test because this isn't support on any of the builders. Fixes #53285 Change-Id: If8d17bdcdac81a6ce404a35a289bf83f07f02855 Reviewed-on: https://go-review.googlesource.com/c/go/+/411698 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -1831,16 +1831,34 @@ func (p *Package) gccDebug(stdin []byte, nnames int) (d *dwarf.Data, ints []int6\n \t\tbo := f.ByteOrder\n \t\tsymtab, err := f.Symbols()\n \t\tif err == nil {\n+\t\t\t// Check for use of -fsanitize=hwaddress (issue 53285).\n+\t\t\tremoveTag ...
2022-06-10T23:49:51
facebook/react
4f7380c4d7e773068898a6254d6703440a7c06f7
fd321cf07d1acb6b5c6d29078ffc745d574a577a
Fix react-tools module I messed this up pretty badly and didn't include react *at all*. Test Plan: npm pack && npm install <packed.tgz>, then require('react-tools')`
[ { "path": "main.js", "patch": "@@ -1,6 +1,6 @@\n 'use strict';\n \n-var React = require('./build/React');\n+var React = require('./build/react');\n var visitors = require('./vendor/fbtransform/visitors').transformVisitors;\n var transform = require('./vendor/fbtransform/lib/transform').transform;\n ", "...
2013-05-30T04:20:04
vercel/next.js
628a19393bea4e40af3ef73b101669e1c2fdd672
aea80aa53f94e0d576656ac54c337cbd69b33a54
only put css in entry_css_files (#55585) ### What? Fixes the error: ``` Refused to apply style from '...' because its MIME type ('application/javascript') is not a supported stylesheet MIME type, and strict MIME checking is enabled. ``` Closes WEB-1606
[ { "path": "packages/next-swc/crates/next-core/src/next_manifests/client_reference_manifest.rs", "patch": "@@ -72,7 +72,11 @@ impl ClientReferenceManifest {\n client_chunks_paths\n .iter()\n .filter_map(|chunk_path| {...
2023-09-20T17:32:09
nodejs/node
de2c68c7dd17a217a818ea881e433034006fdb4b
79a45e2cc3b048c3c1ffcc714e13dbf5f3b13b75
src: remove AsyncRequest Remove `AsyncRequest` from the source code, and replace its usage with threadsafe `SetImmediate()` calls. This has the advantage of being able to pass in any function, rather than one that is defined when the `AsyncRequest` is “installed”. This necessitates two changes: - The stopping flag (...
[ { "path": "src/env-inl.h", "patch": "@@ -897,8 +897,21 @@ inline void Environment::remove_sub_worker_context(worker::Worker* context) {\n sub_worker_contexts_.erase(context);\n }\n \n+inline void Environment::add_refs(int64_t diff) {\n+ task_queues_async_refs_ += diff;\n+ CHECK_GE(task_queues_async_refs...
2020-01-15T20:34:41
electron/electron
e9db926b486135ae79b822a858dd65a949464c96
bdb3f4d4cbd7243fbd3ff69458ebf0c2dd5f6cc1
Fixing code review issues: fixing linter issues in spec file.
[ { "path": "spec/api-net-spec.js", "patch": "@@ -859,11 +859,13 @@ describe('net module', function () {\n })\n \n it('should throw if given an invalid session option', function (done) {\n+ const requestUrl = '/requestUrl'\n try {\n const urlRequest = net.request({\n url: ...
2016-10-25T14:55:17
golang/go
5ee939b8199266446d7ccc563751a9d3db26bf8b
4703546a294b28e4e23043fe9cb745f27e55edab
spec: clarify behavior of map size hint for make built-in The spec already states that the precise behavior of the map size hint provided to the make built-in is implementation-dependent. Exclude requiring specific run-time behavior for maps. (The current Go compiler does not panic if the size hint is negative at run...
[ { "path": "doc/go_spec.html", "patch": "@@ -7141,7 +7141,7 @@ <h3 id=\"Making_slices_maps_and_channels\">Making slices, maps and channels</h3>\n by a value of type <code>int</code>; if it is an untyped constant it is given type <code>int</code>.\n If both <code>n</code> and <code>m</code> are provided and a...
2022-06-13T18:06:55
nodejs/node
5005c3c72c232915935b97800781467767964660
da66054e5d584bad7e5b3691f50deb1a5a8a4f53
lib,src: switch Buffer::kMaxLength to size_t Change the type of `Buffer::kMaxLength` to size_t because upcoming changes in V8 will allow typed arrays > 2 GB on 64 bits platforms. Not all platforms handle file reads and writes > 2 GB though so keep enforcing the 2 GB typed array limit for I/O operations. Fixes: https...
[ { "path": "lib/fs.js", "patch": "@@ -24,6 +24,10 @@\n \n 'use strict';\n \n+// Most platforms don't allow reads or writes >= 2 GB.\n+// See https://github.com/libuv/libuv/pull/1501.\n+const kIoMaxLength = 2 ** 31 - 1;\n+\n const {\n Map,\n MathMax,\n@@ -52,7 +56,7 @@ const {\n const pathModule = require...
2020-01-18T09:55:31
facebook/react
a8866ab824ae9697a5c67c6173d6cb889c50a1a3
2c6620d85ff2655f3e1bec65a4c8e45fc6055aad
Fix minor typo error
[ { "path": "docs/docs/component-data.md", "patch": "@@ -130,7 +130,7 @@ Now we are done. `LikeApp` renders an unliked link which, when clicked, will:\n 4. Trigger an update to the DOM.\n \n It's worth noting that React will handle new return values of `render()` by\n-making the mininal set of mutations neces...
2013-05-29T23:16:52
electron/electron
bdb3f4d4cbd7243fbd3ff69458ebf0c2dd5f6cc1
b44d5290e28760bce86a6d49ccc11fa847700651
Fixing code review issues: adding some test cases for partition/session options.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -173,9 +173,9 @@ URLRequest::~URLRequest() {\n \n // static\n mate::WrappableBase* URLRequest::New(mate::Arguments* args) {\n+ auto isolate = args->isolate();\n v8::Local<v8::Object> options;\n args->GetNext(&options);\n- auto isolate ...
2016-10-25T14:19:26
golang/go
4703546a294b28e4e23043fe9cb745f27e55edab
2c52465cb3d327590755cfb9ef1ef0f7a167c4eb
spec: add missing optional type arguments after TypeName in syntax Types may be generic, so each occurrence of a TypeName may be followed by optional type arguments. Add the missing syntactic (EBNF) factor. The syntax of type names followed by type arguments matches the syntax of operand names followed by type argume...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Version of May 12, 2022\",\n+\t\"Subtitle\": \"Version of June 13, 2022\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -1025,7 +1025,7 @@ <h3 id=\"Struct_types\">St...
2022-06-13T17:18:38
vercel/next.js
dff48cb8a791aee65b6470134295331311096cde
f5bef049f53ff767b8a541b85aba6935790c9c36
Fix importing name multiple times with the `named_import` transform (#55664) Specific case: https://twitter.com/shuding_/status/1704220735726633205 > import { User, User as foo } from 'lucide-react' In your codebase so `User` got imported twice
[ { "path": "packages/next-swc/crates/core/src/named_import_transform.rs", "patch": "@@ -1,3 +1,5 @@\n+use std::collections::HashSet;\n+\n use serde::Deserialize;\n use turbopack_binding::swc::core::{\n common::DUMMY_SP,\n@@ -26,26 +28,26 @@ impl Fold for NamedImportTransform {\n let src_value = d...
2023-09-20T15:22:38
nodejs/node
a484f1acf3becb0bab43af26a04908e80e66d813
3203febbb2c8f478e9895400b4a39bf947b82d04
2020-01-21, Version 13.7.0 (Current) Notable changes: * deps: * upgrade to libuv 1.34.1 (cjihrig) https://github.com/nodejs/node/pull/31332 * upgrade npm to 6.13.6 (Ruy Adorno) https://github.com/nodejs/node/pull/31304 * module * add API for interacting with source maps (bcoe) https://github.com/nodejs/node/pul...
[ { "path": "CHANGELOG.md", "patch": "@@ -29,7 +29,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V13.md#13.6.0\">13.6.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V13.md#13.7.0\">13.7.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V13.md#13.6.0\"...
2020-01-16T17:09:29
golang/go
2c52465cb3d327590755cfb9ef1ef0f7a167c4eb
9228d7d7d523e6831933b79f768dfbb51f8ffb5b
net: avoid darwin_arm64 bug in TestDialParallelSpuriousConnection On darwin_arm64, reading from a socket at the same time as the other end is closing it will occasionally hang for 60 seconds before returning ECONNRESET. (This is a macOS issue, not a Go issue.) Work around this condition by adding a brief sleep before...
[ { "path": "src/net/dial_test.go", "patch": "@@ -405,6 +405,16 @@ func TestDialParallelSpuriousConnection(t *testing.T) {\n \t\t\tt.Fatal(err)\n \t\t}\n \n+\t\t// Workaround for https://go.dev/issue/37795.\n+\t\t// On arm64 macOS (current as of macOS 12.4),\n+\t\t// reading from a socket at the same time as ...
2022-06-08T18:53:22
vercel/next.js
f5bef049f53ff767b8a541b85aba6935790c9c36
23c3ea44d88ebc5f5f395eccff88252d7fac3bc2
Polish error icon for error log (#55618) ### After 💅 <img width="109" alt="image" src="https://github.com/vercel/next.js/assets/4800338/f90d15a1-ac6e-4fe1-8241-d9e40e9d2e0e"> ### Before <img width="143" alt="image" src="https://github.com/vercel/next.js/assets/4800338/fbc09a29-cac2-459d-8a96-d1a5948947cc">
[ { "path": "packages/next/src/build/output/log.ts", "patch": "@@ -2,7 +2,7 @@ import chalk from '../../lib/chalk'\n \n export const prefixes = {\n wait: chalk.white(chalk.bold('○')),\n- error: chalk.red(chalk.bold('X')),\n+ error: chalk.red(chalk.bold('⨯')),\n warn: chalk.yellow(chalk.bold('⚠')),\n r...
2023-09-20T14:56:34
facebook/react
a341f778ae277bf4636c75ceaadf83f203388b26
0487cc8dea6db416ddee296184e1b0b7b59a7c70
Fix links in root README.md
[ { "path": "README.md", "patch": "@@ -6,7 +6,7 @@ React is a JavaScript library for building user interfaces.\n * **Efficient:** React minimizes interactions with the DOM by using a mock representation of the DOM.\n * **Flexible:** React works with the libraries and frameworks that you already know.\n \n-[Le...
2013-05-29T20:51:49
vercel/next.js
23c3ea44d88ebc5f5f395eccff88252d7fac3bc2
d97af317a3bba6e774eb4c82333d4c056c3b7ff8
Add additional cleanup logic for forked process (#55652) Can't verify this because there is no clear reproduction and I can't reproduce it when manually trying, but this will probably fix #55649. Not sure how they exit the process that it doesn't clean up on the Node.js side though 🤔 <!-- Thanks for opening a P...
[ { "path": "packages/next/src/cli/next-dev.ts", "patch": "@@ -322,4 +322,16 @@ const nextDev: CliCommand = async (args) => {\n })\n }\n \n+function cleanup() {\n+ if (!child) {\n+ return\n+ }\n+\n+ child.kill('SIGTERM')\n+}\n+\n+process.on('exit', cleanup)\n+process.on('SIGINT', cleanup)\n+process.on...
2023-09-20T14:31:53
rust-lang/rust
558796b4600828d5fa731e8a2c9364a282a995d5
ce5fdd7d42aba9a2925692e11af2bd39cf37798a
rustdoc: save target modifiers `rustdoc` was filling a `target_modifiers` variable, but it was not using the result. In turn, that means that trying to use a dependency that set a target modifier fails. For instance, running: ```sh RUSTC_BOOTSTRAP=1 rustc --edition=2024 --target=aarch64-unknown-none-softfloat --sys...
[ { "path": "src/librustdoc/config.rs", "patch": "@@ -173,6 +173,9 @@ pub(crate) struct Options {\n \n /// Arguments to be used when compiling doctests.\n pub(crate) doctest_build_args: Vec<String>,\n+\n+ /// Target modifiers.\n+ pub(crate) target_modifiers: BTreeMap<OptionsTargetModifiers, Stri...
2025-07-26T23:37:03
electron/electron
b44d5290e28760bce86a6d49ccc11fa847700651
6d7f179a9bbb73fa7189599e42fb8e3144428d4a
Fixing code review issues: adding a partition options and making the session option only takes Session objects.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -175,16 +175,21 @@ URLRequest::~URLRequest() {\n mate::WrappableBase* URLRequest::New(mate::Arguments* args) {\n v8::Local<v8::Object> options;\n args->GetNext(&options);\n- mate::Dictionary dict(args->isolate(), options);\n+ auto isol...
2016-10-25T13:47:54
golang/go
7eeec1f6e4b9359381e9aeffdb87c59308ecbb7e
d27128b065010ac6bae8dd648f85302240417294
cmd/compile: fix missing dict pass for type assertions For type assertions, if either src or dst type has shape, we must convert them to dynamic type assertions. Fixes #53309 Change-Id: Ia3362fa67c011febcbdb5b26f856d081b5c366de Reviewed-on: https://go-review.googlesource.com/c/go/+/411617 Run-TryBot: Cuong Manh Le <...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1330,10 +1330,10 @@ func (g *genInst) dictPass(info *instInfo) {\n \t\t\t\tm = convertUsingDictionary(info, info.dictParam, m.Pos(), mce.X, m, m.Type())\n \t\t\t}\n \t\tcase ir.ODOTTYPE, ir.ODOTTYPE2:\n-\t\t\tif !m.Type().HasShape() {\n+\t...
2022-06-10T18:33:11
facebook/react
ef6754bce52fd12759f9a8c3c09a9003a4e5f49a
5ec4542dfbaacacaa672dd31b153ef3fedc0ddd8
[docs] Fix couple minor typos/spelling
[ { "path": "docs/_js/examples/timer.js", "patch": "@@ -17,7 +17,7 @@ var Timer = React.createClass({\\n\\\n render: function() {\\n\\\n return (\\n\\\n <div>\\n\\\n- {'Seconds Ellapsed: ' + this.state.secondsElapsed}\\n\\\n+ {'Seconds Elapsed: ' + this.state.secondsElapsed}\\n\\\n ...
2013-05-29T20:37:07
vercel/next.js
d97af317a3bba6e774eb4c82333d4c056c3b7ff8
72434c27378fb6fa2aae5161022dc3ab756d55ba
Fix header resent when error occured (#55619) When errors are thrown in middleware it could re-send headers for the same response ``` Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at __node_internal_captureLargerStackTrace (node:internal/errors:490:5) at new NodeError (no...
[ { "path": "packages/next/src/server/base-server.ts", "patch": "@@ -751,6 +751,11 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n const origSetHeader = _res.setHeader.bind(_res)\n \n _res.setHeader = (name: string, val: string | string[]) => {\n+ // Whe...
2023-09-20T13:22:16
electron/electron
6d7f179a9bbb73fa7189599e42fb8e3144428d4a
61278f9aceaca9454c7aaa1d4d78222f17f64de7
Fixing code review issues: making delegate_ a raw pointer.
[ { "path": "atom/browser/api/atom_api_url_request.cc", "patch": "@@ -158,8 +158,7 @@ bool URLRequest::ResponseState::Failed() const {\n return IsFlagSet(ResponseStateFlags::kFailed);\n }\n \n-URLRequest::URLRequest(v8::Isolate* isolate, v8::Local<v8::Object> wrapper)\n- : weak_ptr_factory_(this) {\n+URL...
2016-10-25T13:02:35
golang/go
d27128b065010ac6bae8dd648f85302240417294
55590f3a2b89f001bcadf0df6eb2dde62618302b
doc/go1.19: fix crypto tags Closes an unclosed <code> tag, and tags a type that was untagged. Change-Id: I9a1efda07f783f0ca7a93ffefbda4e29f5fc8d41 Reviewed-on: https://go-review.googlesource.com/c/go/+/411694 Auto-Submit: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by:...
[ { "path": "doc/go1.19.html", "patch": "@@ -367,9 +367,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <code>RawIssuer</code>, <code>Signature</code>,\n <code>AuthorityKeyId</code>, and <code>Extensions</code>.\n \n- The new method <a href=\"/pkg/crypto/x509/#Revoca...
2022-06-10T20:21:14
nodejs/node
f0d2df41f8716670435b284e987b2fcc23221947
dcba12895ad58275ba5b027c2c5110461dfebf66
fs: change streams to always emit close by default Previously due to compat reasons 'close' was only emitted if no 'error'. This removes the compat behavior in order to properly follow expected streams behavior. PR-URL: https://github.com/nodejs/node/pull/31408 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewe...
[ { "path": "lib/internal/fs/streams.js", "patch": "@@ -73,10 +73,6 @@ function ReadStream(path, options) {\n if (options.highWaterMark === undefined)\n options.highWaterMark = 64 * 1024;\n \n- // For backwards compat do not emit close on destroy.\n- if (options.emitClose === undefined) {\n- option...
2020-01-18T13:56:59
vercel/next.js
38877dda37bb3c16f25f78e0fa5cf09458fe18bb
fcca4ce9555f906e54ce20174b4bdd4af3210f13
chore: bump `@vercel/og` and `satori` (#55654) ### What? Bump these packages to their latest. (Bumped `satori` too to avoid multiple versions in the repo) ### Why? Follow-up of https://github.com/vercel/next.js/pull/55187 ### How? Updated the original package applying the changes from #55187 Closes NEXT-1639 Fix...
[ { "path": "package.json", "patch": "@@ -109,7 +109,7 @@\n \"@typescript-eslint/eslint-plugin\": \"6.1.0\",\n \"@typescript-eslint/parser\": \"6.1.0\",\n \"@vercel/fetch\": \"6.1.1\",\n- \"@vercel/og\": \"0.5.12\",\n+ \"@vercel/og\": \"0.5.15\",\n \"@zeit/next-typescript\": \"1.1.2-cana...
2023-09-20T12:16:49
facebook/react
c5b4fe9e88a9a3b43cfd9b7e5383096bd9e213ef
e20747ef9bd206df6d03cc4c2ccb074eadf4a8df
[docs] Fix button links on bottom of home
[ { "path": "docs/index.md", "patch": "@@ -78,7 +78,7 @@ id: home\n <hr class=\"home-divider\" />\n <section class=\"home-bottom-section\">\n <div class=\"buttons-unit\">\n- <a href=\"/getting-started.html\" class=\"button\">Get Started</a>\n- <a href=\"/download.html\" class=\"button\">Download React...
2013-05-29T20:30:50
electron/electron
61278f9aceaca9454c7aaa1d4d78222f17f64de7
0c44d19249101d913470c1f2612a203c780ed41c
Fixing code review issues.
[ { "path": "atom/browser/api/atom_api_net.cc", "patch": "@@ -1,4 +1,4 @@\n-// Copyright (c) 2013 GitHub, Inc.\n+// Copyright (c) 2016 GitHub, Inc.\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n@@ -27,20 +27,13 @@ void Net::BuildPrototype(v8::Isola...
2016-10-25T10:41:01
rust-lang/rust
3b0988b6e9f92d9aadff2943e7a4004babcfdcb7
2c29977dfc97e295831c960d11b1740dfb74358d
minor: fix typo
[ { "path": "src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs", "patch": "@@ -700,7 +700,7 @@ type Foo<T, U> = foo<fold arglist><\n <fold function>fn foo<fold arglist>(\n very_long_parameter_name: u32,\n another_very_long_parameter_name: u32,\n- third_very_long_parm: u32,\n+ third_very_l...
2025-07-27T02:54:43
nodejs/node
c2c3274631fe50b7e7e8949f453e01a38f5a3695
343ddffc1c025e444f28dbb0ccfefc23815479d3
module: fix check exports issue in cjs module loading Refs: https://github.com/nodejs/node/pull/31001#issuecomment-576353389 PR-URL: https://github.com/nodejs/node/pull/31427 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Revi...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -435,7 +435,7 @@ function resolveBasePath(basePath, exts, isMain, trailingSlash, request) {\n \n function trySelf(parentPath, isMain, request) {\n const { data: pkg, path: basePath } = readPackageScope(parentPath) || {};\n- if (!pkg || 'exports...
2020-01-20T18:55:45
golang/go
ff3db8d12d8e2eacde7eccd47ea4f3e3dd5a6807
fb75c2da91b9cccf05ec6baad2636325c5d96751
doc: fix typos in Go memory model Change-Id: I8e94215d9bee0ea3ad378870fe565e961a9d80c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/411595 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot...
[ { "path": "doc/go_mem.html", "patch": "@@ -85,7 +85,7 @@ <h2 id=\"model\">Memory Model</h2>\n “<a href=\"https://www.hpl.hp.com/techreports/2008/HPL-2008-56.pdf\">Foundations of the C++ Concurrency Memory Model</a>”,\n published in PLDI 2008.\n The definition of data-race-free programs and the guarantee of ...
2022-06-10T21:13:41
facebook/react
e20747ef9bd206df6d03cc4c2ccb074eadf4a8df
6fc478516b489ac5c41939777fa6f13e305dcb6e
Fix live editor on mobile devices
[ { "path": "docs/_config.yml", "patch": "@@ -1,6 +1,7 @@\n --- \n-markdown: redcarpet\n name: React\n+markdown: redcarpet\n+baseurl: /react\n react_version: 0.3.0\n redcarpet: \n extensions: \n@@ -11,4 +12,3 @@ exclude:\n - Gemfile.lock\n - README.md\n - Rakefile\n-baseurl: /react", "additions": 2, ...
2013-05-29T20:24:51
vercel/next.js
fcca4ce9555f906e54ce20174b4bdd4af3210f13
ac1c062f4f310b409bb612d1852cdb7c66381134
fix(docs): internationalization middleware example (#55645) - remove the slash before `pathname` (already included in the value). - add `search` and `hash` values in redirected url: - retains these values on redirect - they already have `?` and `#` respectively Co-authored-by: Balázs Orbán <18369201+balazsor...
[ { "path": "docs/02-app/01-building-your-application/01-routing/13-internationalization.mdx", "patch": "@@ -33,30 +33,27 @@ match(languages, locales, defaultLocale) // -> 'en-US'\n Routing can be internationalized by either the sub-path (`/fr/products`) or domain (`my-site.fr/products`). With this informatio...
2023-09-20T11:37:15
electron/electron
6f64ad30cb14867391e2ec7124ee8f14b27b493b
1c7d5df2fe20c74297b369f1116f80134bff0d4c
Clarify the setMenuBarVisibility api The setMenuBarVisibility api is only supported on Windows and Linux. This adds some minor documentation to make that clearer. Fixes #7686
[ { "path": "docs-translations/ko-KR/api/browser-window.md", "patch": "@@ -1099,7 +1099,7 @@ Returns `Boolean` - 버튼이 성공적으로 추가되었는지 여부\n \n Returns `Boolean` - 메뉴 막대 자동 숨김 상태 여부.\n \n-#### `win.setMenuBarVisibility(visible)`\n+#### `win.setMenuBarVisibility(visible)` _Windows_ _Linux_\n \n * `visible` Boolean\n...
2016-10-25T04:04:45
facebook/react
6fc478516b489ac5c41939777fa6f13e305dcb6e
0ea0d2f76bd13a5fc6feb5e7e2e0564b1fa65bb8
Fix some URLs
[ { "path": "README.md", "patch": "@@ -36,9 +36,9 @@ The fastest way to get started is to serve JavaScript from the CDN:\n \n ```html\n <!-- The core React library -->\n-<script src=\"http://fbcdn.com/javascript/react/0.6.0/react.min.js\"></script>\n+<script src=\"http://fb.me/react-0.3.0.min.js\"></script>\n...
2013-05-29T20:11:15
golang/go
f73ad3d24d1a6c4cf733a8d62e62b66f32eec59e
8ef8b60e1816e0624fc894df90c853772d5059bb
[dev.unified] test: add regress tests for #53276 and #53328 These two tests fail with the 1.18 compiler frontend, because of incomplete dictionary support. This CL adds the tests for Unified IR, which currently handles them correctly, to make sure it doesn't repeat the same errors. Updates #53276. Updates #53328. Ch...
[ { "path": "test/run.go", "patch": "@@ -1964,8 +1964,10 @@ var types2Failures32Bit = setOf(\n )\n \n var go118Failures = setOf(\n-\t\"typeparam/nested.go\", // 1.18 compiler doesn't support function-local types with generics\n-\t\"typeparam/issue51521.go\", // 1.18 compiler produces bad panic message and...
2022-06-10T20:24:33
nodejs/node
343ddffc1c025e444f28dbb0ccfefc23815479d3
4f11fb6410728f5b026ea4b9b29775622dc4f849
doc: document process.std*.fd Fixes: https://github.com/nodejs/node/issues/28386 Refs: https://github.com/nodejs/node/pull/31292 Refs: https://github.com/nodejs/help/issues/2136 PR-URL: https://github.com/nodejs/node/pull/31395 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addalea...
[ { "path": "doc/api/process.md", "patch": "@@ -2190,6 +2190,14 @@ a [Writable][] stream.\n `process.stderr` differs from other Node.js streams in important ways. See\n [note on process I/O][] for more information.\n \n+### `process.stderr.fd`\n+\n+* {number}\n+\n+This property refers to the value of underlyi...
2020-01-17T07:02:03
vercel/next.js
5591abe7adc57e984e833d39d0f503bbed3e7108
56c324fb766b4500784bb6d5e6f7a37125c223b1
chore(examples): upgrade next-translate dependencies (#55637) Snyk has created this PR to upgrade next from 13.4.7 to 13.4.19. See this package in npm: https://www.npmjs.com/package/next See this project in Snyk: https://app.snyk.io/org/mayank1513/project/e72076fc-8d2c-4d92-ac05-133865d727f0?utm_source=githu...
[ { "path": "examples/with-next-translate/package.json", "patch": "@@ -6,12 +6,12 @@\n \"start\": \"next start\"\n },\n \"dependencies\": {\n- \"next\": \"13.4.7\",\n- \"next-translate\": \"2.4.0\",\n+ \"next\": \"latest\",\n+ \"next-translate\": \"2.5.3\",\n \"react\": \"18.2.0\",\n ...
2023-09-20T08:22:40
golang/go
386245b68ef4a24450a12d4f85d1835779dfef86
2cfbef438049fd4c3f73d1562773ad1f93900897
runtime: fix stack split at bad time when fuzzing Fix #53190 Change-Id: I6c1f9c3ab58818d3a9f05ddaa02fc247e53677d3 GitHub-Last-Rev: 13b0749c135598c97063b07e2b0266125f5da83e GitHub-Pull-Request: golang/go#53191 Reviewed-on: https://go-review.googlesource.com/c/go/+/410034 Reviewed-by: Michael Knyszek <mknyszek@google.c...
[ { "path": "src/runtime/libfuzzer.go", "patch": "@@ -15,41 +15,53 @@ func libfuzzerCall4(fn *byte, fakePC uintptr, s1, s2 unsafe.Pointer, result uint\n // Keep in sync with the definition of ret_sled in src/runtime/libfuzzer_amd64.s\n const retSledSize = 512\n \n+// In libFuzzer mode, the compiler inserts ca...
2022-06-09T07:29:14
nodejs/node
7d5a86cc05f3b8782b37c7ed438b3e994f6bd713
57bd715d527aba8dae56b975056961b0e429e91e
fs: do not emit 'close' twice if emitClose enabled fs streams have some backwards compat behavior that does not behave well if emitClose: true is passed in options. This fixes this edge case until the backwards compat is removed. PR-URL: https://github.com/nodejs/node/pull/31383 Fixes: https://github.com/nodejs/node/...
[ { "path": "lib/internal/fs/streams.js", "patch": "@@ -272,7 +272,8 @@ function closeFsStream(stream, cb, err) {\n er = er || err;\n cb(er);\n stream.closed = true;\n- if (!er)\n+ const s = stream._writableState || stream._readableState;\n+ if (!er && !s.emitClose)\n stream.emit('c...
2020-01-16T17:42:54
vercel/next.js
12e888126ccf968193e7570a68db1bc35f90d52d
7e17de988019845b5102b899241b967ef49e688e
fix: handle string nodejs signals (#55606) ## Fixing a bug ### What? On these versions, SIGINT signals are `string`, exit callback recieves code `number` ### How? We use code argument to quit process for `event`, and exit with code `0` for `SIGINT` and `SIGTERM` signals Fixes #55605 Co-authored-by: Jiachi Liu ...
[ { "path": "packages/next/src/server/lib/start-server.ts", "patch": "@@ -282,9 +282,10 @@ export async function startServer({\n // This is the render worker, we keep the process alive\n console.error(err)\n }\n- process.on('exit', cleanup)\n- process.on('SIGINT', cle...
2023-09-19T22:19:52
golang/go
2cfbef438049fd4c3f73d1562773ad1f93900897
c7ccabf3fea67f002bef190a5ffc7417f4371a23
cmd/cgo: recognize clang 14 DWARF type names Fixes #53013 Change-Id: I169d4eb2420a6da52cc9abe17da98c3092a91be6 Reviewed-on: https://go-review.googlesource.com/c/go/+/407514 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -2242,6 +2242,8 @@ var dwarfToName = map[string]string{\n \t\"long long unsigned int\": \"ulonglong\",\n \t\"signed char\": \"schar\",\n \t\"unsigned char\": \"uchar\",\n+\t\"unsigned long\": \"ulong\", // Used by Clang 14; issue ...
2022-05-20T13:07:03
electron/electron
0841c4291a83c417759b7bac067b3a3b33c06ebb
a2a44621fdc35293f2ed3d4e9a5db1a2e5c1417e
Remove RegisterURLSchemeAsPrivileged lint error
[ { "path": "atom/renderer/api/atom_api_web_frame.h", "patch": "@@ -63,10 +63,8 @@ class WebFrame : public mate::Wrappable<WebFrame> {\n \n void RegisterURLSchemeAsSecure(const std::string& scheme);\n void RegisterURLSchemeAsBypassingCSP(const std::string& scheme);\n- void RegisterURLSchemeAsPrivileged(\...
2016-10-24T07:27:54
nodejs/node
57bd715d527aba8dae56b975056961b0e429e91e
85592e281802f82c8e4b211a8e280b481fd65388
doc: fix several child_process doc typos PR-URL: https://github.com/nodejs/node/pull/31393 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
[ { "path": "doc/api/child_process.md", "patch": "@@ -983,7 +983,7 @@ added: v0.1.90\n The `'exit'` event is emitted after the child process ends. If the process\n exited, `code` is the final exit code of the process, otherwise `null`. If the\n process terminated due to receipt of a signal, `signal` is the st...
2020-01-17T01:14:18
vercel/next.js
deded850c32941c01ef762c4cbd3bc4cb87ec991
3cd4b975c3cb9d165ac1eb784d31a5e2edf4d9c2
chore: run repro validation only on bug reports (#55610) ### What? Continues #55525 Adding filtering for repro validation checks ### Why? #55589 should not have been closed ### How? https://github.com/balazsorban44/nissuer/commit/ecbf8b42139fc1442f134ed4671b71db5f04715c
[ { "path": ".github/workflows/issue_validator.yml", "patch": "@@ -18,7 +18,7 @@ jobs:\n runs-on: ubuntu-latest\n steps:\n - name: Nissuer\n- uses: balazsorban44/nissuer@1.3.5\n+ uses: balazsorban44/nissuer@1.4.0\n with:\n label-area-prefix: 'area:'\n la...
2023-09-19T20:00:06
golang/go
c7ccabf3fea67f002bef190a5ffc7417f4371a23
91019cc13d9de72d5e43a0068311dc9e6012777a
runtime/cgo: retry _beginthread on EACCES We occassionally see _beginthread failing with EACCES, meaning "insufficient resources" according to the Microsoft documentation. Exactly which resources is unclear. Similar to pthread_create on unix systems, we can wait a bit and retry to try to get success. The alternative ...
[ { "path": "src/runtime/cgo/gcc_libinit_windows.c", "patch": "@@ -129,11 +129,23 @@ void (*(_cgo_get_context_function(void)))(struct context_arg*) {\n }\n \n void _cgo_beginthread(void (*func)(void*), void* arg) {\n+\tint tries;\n \tuintptr_t thandle;\n \n-\tthandle = _beginthread(func, 0, arg);\n-\tif (than...
2022-06-03T20:22:58
nodejs/node
7864c53629b11d69746a4fc1f041900eeb358d31
cc0748f509140b7b42d157348300a5581db98a37
fs: unset FileHandle fd after close - Do not set the fd as a property on the native object. - Use the already-existent `GetFD()` method to pass the fd from C++ to JS. - Cache the fd in JS to avoid repeated accesses to the C++ getter. - Set the fd to `-1` after close, thus reliably making subsequent calls using t...
[ { "path": "lib/internal/fs/promises.js", "patch": "@@ -53,21 +53,23 @@ const pathModule = require('path');\n const { promisify } = require('internal/util');\n \n const kHandle = Symbol('kHandle');\n+const kFd = Symbol('kFd');\n const { kUsePromises } = binding;\n \n const getDirectoryEntriesPromise = promis...
2020-01-16T21:12:07
vercel/next.js
1afc38933f995c57eaec4a4029505c84ce774393
2815c6fc2b9b5ee45708c9629369c13327f5a5b7
fix: examples/with-grafbase/package.json to reduce vulnerabilities (#55593) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-GRAPHQL-5905181 Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "examples/with-grafbase/package.json", "patch": "@@ -11,7 +11,7 @@\n \"@types/node\": \"18.11.9\",\n \"@types/react\": \"18.0.25\",\n \"@types/react-dom\": \"18.0.8\",\n- \"graphql\": \"16.6.0\",\n+ \"graphql\": \"16.8.1\",\n \"graphql-request\": \"5.0.0\",\n \"next\": \"...
2023-09-19T18:46:12
golang/go
d6df08693cd1639a7d9f0df292b4aa469b1cd748
e7ef58542c7f12842cdefdb1cd5e1b794996dc96
[dev.unified] cmd/compile: fix unified IR don't report type size too large error For error reported during type size calculation, base.Pos needs to be set, otherwise, the compiler will treat them as the same error and only report once. Old typechecker and irgen all set base.Pos before processing types, this CL do the ...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -599,6 +599,7 @@ func (pr *pkgReader) objIdx(idx pkgbits.Index, implicits, explicits []*types.Typ\n \n \tdo := func(op ir.Op, hasTParams bool) *ir.Name {\n \t\tpos := r.pos()\n+\t\tsetBasePos(pos)\n \t\tif hasTParams {\n \t\t\tr.typeParamNam...
2022-05-25T16:27:45
electron/electron
67a09d9fe0c02208edd96fc95d5984504bb7e992
b2559d7d288d58c7975ded5f96648ffb47d4f747
Fix typo, and trimming.
[ { "path": "docs/api/protocol.md", "patch": "@@ -286,7 +286,6 @@ which sends a new HTTP request as a response.\n * `completion` Function (optional)\n * `error` Error\n \n-\n Remove the interceptor installed for `scheme` and restore its original handler.\n \n [net-error]: https://code.google.com/p/chromium/...
2016-10-24T06:34:09
nodejs/node
e588ed7391fb2a92b3936e0011d6fbe0df903fc2
3199996de3cfd08b01a674dbe6c2b5522a183dbb
doc: fix a broken link in fs.md PR-URL: https://github.com/nodejs/node/pull/31373 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>...
[ { "path": "doc/api/fs.md", "patch": "@@ -5574,4 +5574,4 @@ the file contents.\n [chcp]: https://ss64.com/nt/chcp.html\n [inode]: https://en.wikipedia.org/wiki/Inode\n [support of file system `flags`]: #fs_file_system_flags\n-[Writable Stream]: #stream_class_stream_writable\n+[Writable Stream]: stream.html#s...
2020-01-15T17:47:43
vercel/next.js
2815c6fc2b9b5ee45708c9629369c13327f5a5b7
9b44963cd55c5bb6393ef9f1a9f5eba073b15ffd
fix: examples/with-fauna/package.json to reduce vulnerabilities (#55594) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-GRAPHQL-5905181 Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com>
[ { "path": "examples/with-fauna/package.json", "patch": "@@ -10,7 +10,7 @@\n \"classnames\": \"2.3.1\",\n \"date-fns\": \"2.28.0\",\n \"faunadb\": \"4.5.4\",\n- \"graphql\": \"16.5.0\",\n+ \"graphql\": \"16.8.1\",\n \"graphql-request\": \"4.3.0\",\n \"next\": \"latest\",\n \"rea...
2023-09-19T18:32:46
huggingface/transformers
f3a68c4c187d009504ef140febb3769d56b600f4
5c7190f0bbbe04ef5776b3b7874988a82afc7bc6
Fix vlm weight mappings (#45358) * fix * style * comment * comment * remove gemma3n - should never have been there * fix much more....... * skip test for base models * revert unwanted changes * fix
[ { "path": "src/transformers/conversion_mapping.py", "patch": "@@ -62,18 +62,14 @@\n \"pp_doclayout_v3\": \"rt_detr\",\n \"paligemma\": \"llava\",\n \"aya_vision\": \"llava\",\n- \"fuyu\": \"llava\",\n \"got_ocr2\": \"llava\",\n \"shieldgemma2\": \"llava\",\n \"gemma3\": \"llava\",...
2026-04-10T15:41:44
golang/go
b51d44c6dd9d6f3ac3e1d275bc118aae23a5a482
80f86f706deff532cf3ee94a75dd1dc0db6795b2
cmd/go/testdata/script: fix skip on list_replace_absolute_windows The test should skip if it's not on windows *or* it's a short test, but instead is now skipping if it's not on windows *and* it's a short test, causing it to be run on non-windows longtest builders. Change-Id: Ica011bab632b713b0564fefabd5b42878d401844 ...
[ { "path": "src/cmd/go/testdata/script/list_replace_absolute_windows.txt", "patch": "@@ -3,7 +3,8 @@\n # whether the modindex logic cleans the modroot path before using\n # it.\n \n-[!windows] [short] skip\n+[!windows] skip\n+[short] skip\n \n go run print_go_mod.go # use this program to write a go.mod with ...
2022-06-08T23:14:11
nodejs/node
3199996de3cfd08b01a674dbe6c2b5522a183dbb
d43e94548253e49769126c62c59fc40e2993583f
doc: correct added version for --abort-on-uncaught-exception PR-URL: https://github.com/nodejs/node/pull/31360 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -54,7 +54,7 @@ the next argument will be used as a script filename.\n \n ### `--abort-on-uncaught-exception`\n <!-- YAML\n-added: v0.10\n+added: v0.10.8\n -->\n \n Aborting instead of exiting causes a core file to be generated for post-mortem", "additions": 1, ...
2020-01-14T21:12:14
huggingface/transformers
c9f1b95aef716ab6e00efc3b926be2968a3eab77
ce83f16daad07211b08b59ecef8c022865085f1e
Close file handler (#45187) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/cli/serving/utils.py", "patch": "@@ -948,8 +948,11 @@ def get_processor_inputs_from_messages(messages: list[dict], modality: Modality)\n image_data = re.sub(\"^data:image/.+;base64,\", \"\", url)\n image = Image.open...
2026-04-10T11:31:38
vercel/next.js
deb81cf246d83233a7d2c0320f19bc4518a37ae4
1a9b0f6f7a03ccdc825f92c654b8ca991f27d3fc
fix styled-jsx alias (#55581) ### What? makes sure that styled-jsx is always bundled as it contains `react` and it being external would break the react vendoring
[ { "path": "packages/next-swc/crates/next-core/src/next_import_map.rs", "patch": "@@ -389,11 +389,6 @@ async fn insert_next_server_special_aliases(\n NextRuntime::Edge => request_to_import_mapping(context_dir, request),\n NextRuntime::NodeJs => external_request_to_import_mapping(request),\n ...
2023-09-19T13:51:14
golang/go
13f6be28338c43d3aa22a4467b34a45c40f83593
1292176bc98be4b7b9d24abec05e88b3dbd89e21
runtime: use pidleget for faketime jump In faketime mode, checkdead is responsible for jumping time forward to the next timer expiration, and waking an M to handle the newly ready timer. Currently it pulls the exact P that owns the next timer off of the pidle list. In theory this is efficient because that P is immedi...
[ { "path": "src/runtime/proc.go", "patch": "@@ -5071,22 +5071,28 @@ func checkdead() {\n \n \t// Maybe jump time forward for playground.\n \tif faketime != 0 {\n-\t\twhen, _p_ := timeSleepUntil()\n-\t\tif _p_ != nil {\n+\t\tif when := timeSleepUntil(); when < maxWhen {\n \t\t\tfaketime = when\n-\t\t\tfor pp ...
2022-06-08T19:59:37
electron/electron
52783bb67f1cb1c19f5ea32d3eb4e9bbda30eb50
c90d4abcf0df4106d33db3b01f379591b2ed6038
update the zh-CN docs README.md and find a error in en docs README.md (#7676) * update the zh-CN readme and find a error in en readme * fix a style problem
[ { "path": "docs-translations/zh-CN/README.md", "patch": "@@ -1,25 +1,37 @@\n+请确认你的使用的文档匹配你的 Electron 版本。你可以在页面的 URL 中找到版本号。\n+如果不是,你可能在使用开发分支版本的文档,其中包括了一些与你的 Electron 版本不兼容的 API。\n+如果想要访问老版本的文档,你可以通过 GitHub 的[切换分支功能](https://github.com/electron/electron/tree/v1.4.0),在下拉菜单中选择与你的版本匹配的分支。\n+\n ## 常见问题\n \n-+ [...
2016-10-24T01:21:02
huggingface/transformers
ce83f16daad07211b08b59ecef8c022865085f1e
e07692b3a850e74cdb42da734f5ddd8d7e62a7ff
fix: restore mypy type checking for PreTrainedConfig subclasses (#45071) (#45240) * fix: restore mypy type checking for PreTrainedConfig subclasses (#45071) Add @dataclass_transform (PEP 681) so type checkers can synthesize __init__ signatures from dataclass fields. No runtime behavior change. Same pattern used by py...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -26,6 +26,7 @@\n from huggingface_hub import create_repo\n from huggingface_hub.dataclasses import strict\n from packaging import version\n+from typing_extensions import dataclass_transform\n \n from . import __version__\n from .dynamic_modul...
2026-04-10T10:56:55
nodejs/node
e43ee3712fd21710d6da07c4b7892fd1aa84d5e9
cf5624c4d8f16397c6d12aaf13bcc3ecfe10b8fe
doc: explain `hex` encoding in Buffer API fixes: https://github.com/nodejs/node/issues/29786 refs: https://github.com/nodejs/node/pull/29792 refs: https://github.com/nodejs/node/issues/24491 PR-URL: https://github.com/nodejs/node/pull/31352 Fixes: https://github.com/nodejs/node/issues/29786 Refs: https://github.com/n...
[ { "path": "doc/api/buffer.md", "patch": "@@ -203,7 +203,20 @@ The character encodings currently supported by Node.js include:\n \n * `'binary'`: Alias for `'latin1'`.\n \n-* `'hex'`: Encode each byte as two hexadecimal characters.\n+* `'hex'`: Encode each byte as two hexadecimal characters. Data truncation\...
2020-01-14T07:37:24
rust-lang/rust
31b6b666386146e5e88ff9f5d1327ee541c02939
5c7418b38afeb0f7256917b7bbee481b854e3113
Fix tooling Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "clippy_lints/src/needless_pass_by_value.rs", "patch": "@@ -312,9 +312,7 @@ impl<'tcx> LateLintPass<'tcx> for NeedlessPassByValue {\n /// Functions marked with these attributes must have the exact signature.\n pub(crate) fn requires_exact_signature(attrs: &[Attribute]) -> bool {\n attrs.iter()...
2025-07-07T20:28:37
vercel/next.js
1a9b0f6f7a03ccdc825f92c654b8ca991f27d3fc
063154918c28b4f2a45ffd8d506fc44924483d6e
improve internal error logging (#55582) ### What? Makes sure that errors that have no user code in stack trace still show an stack trace Closes WEB-1605
[ { "path": "packages/next/src/server/dev/log-app-dir-error.ts", "patch": "@@ -3,21 +3,24 @@ import * as Log from '../../build/output/log'\n \n export function logAppDirError(err: any) {\n if (isError(err) && err?.stack) {\n- const filteredStack = err.stack\n- .split('\\n')\n- .map((line: strin...
2023-09-19T13:46:26
golang/go
1292176bc98be4b7b9d24abec05e88b3dbd89e21
1858ea5d857f3a874bef131b7e1bc162d05b3366
cmd/go: clean paths before using them form index functions We use str.TrimFilePathPrefix to trim the module root prefix and get the relative path of each package in the module when scanning the module and in the RelPath function. Make sure to clean the path before indexing and in RelPath to ensure that each path star...
[ { "path": "src/cmd/go/internal/modindex/read.go", "patch": "@@ -112,6 +112,7 @@ func Get(modroot string) (*ModuleIndex, error) {\n \tif modroot == \"\" {\n \t\tpanic(\"modindex.Get called with empty modroot\")\n \t}\n+\tmodroot = filepath.Clean(modroot)\n \tisModCache := str.HasFilePathPrefix(modroot, cfg.G...
2022-06-08T18:26:44