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
4d58c08865d7c996bb8cfbe15793443fd425410f
1f94b850690c2d43d9e29529409d80b372b54484
assert: remove internal errorCache property The internal assert module exposed an errorCache property solely for testing. It is no longer necessary. Remove it. PR-URL: https://github.com/nodejs/node/pull/23304 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcan...
[ { "path": "lib/assert.js", "patch": "@@ -27,12 +27,14 @@ const { codes: {\n ERR_INVALID_ARG_VALUE,\n ERR_INVALID_RETURN_VALUE\n } } = require('internal/errors');\n-const { AssertionError, errorCache } = require('internal/assert');\n+const { AssertionError } = require('internal/assert');\n const { openSy...
2018-10-07T01:27:54
golang/go
69728ead871f15cc1fd7e70b67e6768dd1100bae
c1cc9f9c3d5ed789a080ef9f8dd9c11eca7e2026
cmd/go: update error messages in tests to match CL 332573 I neglected to run the 'longtest' builder, and the tests that cover the error message changed in CL 332573 apparently do not run in short mode. Updates #36460 Updates #42661 Change-Id: I53500ddaca8ac9f0dfaab538923b3c9a4f71665e Reviewed-on: https://go-review.g...
[ { "path": "src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt", "patch": "@@ -23,7 +23,7 @@ cp go.mod go.mod.orig\n \n stderr '^example\\.com/m imports\\n\\texample\\.net/indirect imports\\n\\texample\\.net/ambiguous/nested/pkg loaded from example\\.net/ambiguous/nested@v0\\.1\\.0,\\n\\tbut go 1.16 wo...
2021-07-15T18:48:45
huggingface/transformers
8222a9325d33ea1c31c8654d6292264dae5012b0
e26ae892811dd32c90b12de94fc4105d690cd137
Fix erroneous docstring for the ordering of SWA layers (#38794)
[ { "path": "src/transformers/models/qwen3/configuration_qwen3.py", "patch": "@@ -113,7 +113,7 @@ class Qwen3Config(PretrainedConfig):\n sliding_window (`int`, *optional*, defaults to 4096):\n Sliding window attention (SWA) window size. If not specified, will default to `4096`.\n m...
2025-06-13T08:46:44
electron/electron
1cdbb6f18650a6c3c84df0ae8fd62694e6d08f5d
f57533fa0ee97bda5a196fb07e4e9ccbfd8aff2c
Upgrade brightray to fix running on Mac
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit f7f439bdd31c901c802108ec903a3bfc0448c3d1\n+Subproject commit fc681b2568eb8b1fe22b1d0611ead326d6d6d374", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-12-10T06:38:01
vercel/next.js
f2d95da75ba8b5c7857fe0e3f0cbd23d814f2458
fd1ae6ba33ad0bdbc6711635e1c27e016d703d4c
misc: refactor webpack build out of build/index (1/6) (#45335) I'm looking at potentially extracting the webpack compilation step to another process or thread to isolate memory issues, to do this I need to split the build code a bit. This makes it relatively cleaner but there's a lot more that could be done. I'm movi...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -13,7 +13,6 @@ import findUp from 'next/dist/compiled/find-up'\n import { nanoid } from 'next/dist/compiled/nanoid/index.cjs'\n import { pathToRegexp } from 'next/dist/compiled/path-to-regexp'\n import path from 'path'\n-import formatWebpackMessages...
2023-02-01T15:06:34
nodejs/node
1f94b850690c2d43d9e29529409d80b372b54484
157d507d64d471cfcd77ce0e10d80fb102ca065c
test: remove internal errorCache property The internal `assert` modules `errorCache` property is exposed only for testing. The one test that used it is rewritten here to not use it. This has the following advantages: * The test now makes sure that there is an empty cache in a more robust way. Instead of relying on...
[ { "path": "test/parallel/test-assert-builtins-not-read-from-filesystem.js", "patch": "@@ -5,47 +5,44 @@\n \n require('../common');\n const assert = require('assert');\n+const EventEmitter = require('events');\n+const e = new EventEmitter();\n+e.on('hello', assert);\n \n if (process.argv[2] !== 'child') {\n ...
2018-10-07T01:27:28
golang/go
c1cc9f9c3d5ed789a080ef9f8dd9c11eca7e2026
21a04e33353316635b5f3351e807916f3bb1e844
cmd/compile: fix lookup package of redeclared dot import symbol The compiler is relying on Sym.Def field to lookup symbol package in DotImportRefs map. But the Sym.Def field is clear whenever the compiler finish processing a file. If the dot import happen in file A, then the redeclaration happen in file B, then the sy...
[ { "path": "src/cmd/compile/internal/typecheck/dcl.go", "patch": "@@ -106,7 +106,17 @@ func Export(n *ir.Name) {\n // Redeclared emits a diagnostic about symbol s being redeclared at pos.\n func Redeclared(pos src.XPos, s *types.Sym, where string) {\n \tif !s.Lastlineno.IsKnown() {\n-\t\tpkgName := DotImport...
2021-07-14T17:56:44
huggingface/transformers
324cc77dc39566d69539ee026942cd8fc840a03f
85f060e9b061d2302b4a6a1f97928463bc6436bd
refactor create_token_type_ids_from_sequences (#37681) * rm build_input.. from old file * refactor create_token_type_ids_from_sequences * handle when cls_token_id is None * updated fix * markuplm * refactoring rest of models * copies * revert funnel * rm incorrect file * ruff * ruff
[ { "path": "src/transformers/models/albert/tokenization_albert.py", "patch": "@@ -299,36 +299,6 @@ def get_special_tokens_mask(\n return [1] + ([0] * len(token_ids_0)) + [1] + ([0] * len(token_ids_1)) + [1]\n return [1] + ([0] * len(token_ids_0)) + [1]\n \n- def create_token_type_ids_f...
2025-06-12T21:24:43
electron/electron
2c81fb47197bb0efbc7fb89569bed873e6cc70eb
289d3b54f301caef0cc48388feaaa969e0adfaa4
Fix compilation warnings due to API changes
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -45,18 +45,6 @@ class BrowserContext::ResourceContext : public content::ResourceContext {\n return getter_->GetURLRequestContext();\n }\n \n- // FIXME: We should probably allow clients to override this to implement more\n- // restrictive...
2014-12-07T06:16:00
vercel/next.js
fd1ae6ba33ad0bdbc6711635e1c27e016d703d4c
c5f1b459239136344068a26440f784606be41a73
Apply traceIgnores to turbotrace (#45405) <!-- 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 that you're making: --> ## Bug - [ ] Relat...
[ { "path": "packages/next/src/build/webpack/plugins/next-trace-entrypoints-plugin.ts", "patch": "@@ -814,7 +814,12 @@ export class TraceEntryPointsPlugin implements webpack.WebpackPluginInstance {\n ) {\n const maxFiles =\n this.turbotrace?.maxFiles ?? TURBO_TRACE_DEFAULT_...
2023-02-01T14:30:48
rust-lang/rust
57011501d5c907b89d2854ebfb889d652024b4fc
bef68d04d9be557d954dd89667da97c5565b21a1
Fix for libgccjit 12
[ { "path": "src/attributes.rs", "patch": "@@ -6,6 +6,7 @@ use rustc_attr_parsing::InlineAttr;\n use rustc_attr_parsing::InstructionSetAttr;\n #[cfg(feature = \"master\")]\n use rustc_middle::middle::codegen_fn_attrs::CodegenFnAttrFlags;\n+#[cfg(feature = \"master\")]\n use rustc_middle::mir::TerminatorKind;\...
2025-05-12T15:13:34
golang/go
3a047326e896302724378e5d6b8684851ccfdbfd
dd8bdf4a1fceb06231eb73c026f4a7fe41f00dc1
[dev.typeparams] cmd/compile/internal/types2: fix generic type indirection Change-Id: If25ceb2aa403b94608760be331faa2aff11c47cc Reviewed-on: https://go-review.googlesource.com/c/go/+/333890 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org> R...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -1479,13 +1479,24 @@ func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKin\n \t\t\t\tcase typexpr:\n \t\t\t\t\tx.typ = &Pointer{base: x.typ}\n \t\t\t\tdefault:\n-\t\t\t\t\tif typ := asPointer(x.typ); typ != nil {\n-...
2021-07-11T22:59:22
huggingface/transformers
85f060e9b061d2302b4a6a1f97928463bc6436bd
645cf297ccc9c0b3b984306744683a81042c354b
Updated moonshine modelcard (#38711) * Moved the sources to the right * small Changes * Some Changes to moonshine * Added the install to pipline * updated the monshine model card * Update docs/source/en/model_doc/moonshine.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/...
[ { "path": "docs/source/en/model_doc/moonshine.md", "patch": "@@ -14,35 +14,76 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# Moonshine\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white...
2025-06-12T17:27:17
rust-lang/rust
c12d12b1bb64abd3b694c7af703989ef3d8c1426
47beac18f43852cc2fbba38778c73a3839238678
Fix for renamed/removed UI tests
[ { "path": "tests/failing-ui-tests.txt", "patch": "@@ -10,7 +10,7 @@ tests/ui/sepcomp/sepcomp-fns-backwards.rs\n tests/ui/sepcomp/sepcomp-fns.rs\n tests/ui/sepcomp/sepcomp-statics.rs\n tests/ui/asm/x86_64/may_unwind.rs\n-tests/ui/catch-unwind-bang.rs\n+tests/ui/panics/catch-unwind-bang.rs\n tests/ui/drop/dyn...
2025-05-09T13:28:42
vercel/next.js
c5f1b459239136344068a26440f784606be41a73
a1c04b0162da382b374b5fbad680d044690d09ac
Fix metadata alternate and refactor twitter item (#45480) x-ref: https://github.com/vercel/next.js/discussions/41745#discussioncomment-4827270 refactor twitter related items based on @gnoff 's feedback ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpf...
[ { "path": "packages/next/src/lib/metadata/generate/alternate.tsx", "patch": "@@ -13,16 +13,18 @@ export function AlternatesMetadata({\n {alternates.canonical ? (\n <link rel=\"canonical\" href={alternates.canonical.toString()} />\n ) : null}\n- {Object.entries(alternates.languages)....
2023-02-01T13:43:12
electron/electron
cefc846e9e49e544d34504c3aa0231eb9b1bb9cf
1853bef39a183618ec8b96724f4bf6c3039f1c50
linux: Upgrade breakpad to fix building
[ { "path": "vendor/breakpad", "patch": "@@ -1 +1 @@\n-Subproject commit b07fb51bdb232fee33711e3eb48cb56dd3c257e3\n+Subproject commit 1e937567e92d2c3beed4556f3c68a4b0362b1e6d", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-12-10T01:05:18
huggingface/transformers
eea35a15b0f92b9d023f6a0fbf75242c2ac2c698
038a59e2cd0bdf484b76fa2cc1f403a5cf65b150
Fix `mllama` (#38704) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mllama/test_modeling_mllama.py", "patch": "@@ -534,7 +534,7 @@ def test_11b_model_integration_generate(self):\n {\n (\"xpu\", 3): \"If I had to write a haiku for this one, it would be:.\\\\nA dock on a lake.\\\\nA mountain in the distance.\\\\nA lo...
2025-06-12T14:15:35
vercel/next.js
a1c04b0162da382b374b5fbad680d044690d09ac
659a75177bf6b90630a16975b59882b64289a61e
Support generateMetadata export (#45401)Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Closes NEXT-397 Resolve `metadata` and `generateMetadata()` exports along with head during rendering, this is the easy way for now to collect all the metadata properly. Since we can access segment params and search params o...
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -7,7 +7,6 @@ import { sep } from 'path'\n import { verifyRootLayout } from '../../../lib/verifyRootLayout'\n import * as Log from '../../../build/output/log'\n import { APP_DIR_ALIAS } from '../../../lib/constants'\n-import...
2023-02-01T11:54:39
nodejs/node
c9d9ddcbc99b04489ca378250c555a57af3aa050
afb4914bf2b656722fada1cef259155440a22180
doc: fix minor typo in streams.md It appears that a `to` was left out in one sentence of the streams.md doc. Add it. PR-URL: https://github.com/nodejs/node/pull/23306 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Revi...
[ { "path": "doc/api/stream.md", "patch": "@@ -2327,7 +2327,7 @@ primarily for examples and testing, but there are some use cases where\n Prior to Node.js 0.10, the `Readable` stream interface was simpler, but also\n less powerful and less useful.\n \n-* Rather than waiting for calls the [`stream.read()`][str...
2018-10-07T00:03:49
rust-lang/rust
779dd35649c42b0f57a2338d4ccd344e8ba6ebe3
8e4b1c89f4515415244c623489b820eeed08edf4
manual clippy fixes
[ { "path": "library/proc_macro/src/bridge/arena.rs", "patch": "@@ -68,6 +68,7 @@ impl Arena {\n /// Allocates a byte slice with specified size from the current memory\n /// chunk. Returns `None` if there is no free space left to satisfy the\n /// request.\n+ #[allow(clippy::mut_from_ref)]\n ...
2025-05-10T08:58:23
vercel/next.js
659a75177bf6b90630a16975b59882b64289a61e
e01f0e4c4a63d55836f12b3c4055e87a4e7e03dc
Update error message for dynamic = "error" (#45432) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "packages/next/src/export/worker.ts", "patch": "@@ -366,7 +366,7 @@ export default async function exportPage({\n )\n } else if (isDynamicError) {\n throw new Error(\n- `Page with dynamic = \"error\" encountered dynamic data method ${path}.`\n+ ...
2023-02-01T11:20:35
golang/go
e3e6cd30221185d6e4fa76f109f96fdede580729
2b10d7ff0be9ee5ebe1856349714f78936bf059d
[dev.typeparams] cmd/compile: fix escape printout bugs for -G=3 Call SetPos() in g.expr() so it is available for any new nodes. Print out the actual type for a composite literal in exprFmt() if available, else use Ntype if available. Seems generally useful, since the type name is always more useful than just 'composi...
[ { "path": "src/cmd/compile/internal/ir/fmt.go", "patch": "@@ -714,6 +714,10 @@ func exprFmt(n Node, s fmt.State, prec int) {\n \t\t\t\tfmt.Fprintf(s, \"... argument\")\n \t\t\t\treturn\n \t\t\t}\n+\t\t\tif typ := n.Type(); typ != nil {\n+\t\t\t\tfmt.Fprintf(s, \"%v{%s}\", typ, ellipsisIf(len(n.List) != 0))\...
2021-07-14T05:21:54
rust-lang/rust
8e4b1c89f4515415244c623489b820eeed08edf4
27cca0db9b00bf6e8451a146b46e168cda13c8ef
./x clippy ci --fix
[ { "path": "src/bootstrap/src/bin/rustc.rs", "patch": "@@ -58,8 +58,8 @@ fn main() {\n let sysroot = env::var_os(\"RUSTC_SYSROOT\").expect(\"RUSTC_SYSROOT was not set\");\n let on_fail = env::var_os(\"RUSTC_ON_FAIL\").map(Command::new);\n \n- let rustc_real = env::var_os(rustc).unwrap_or_else(|| p...
2025-05-10T08:55:10
nodejs/node
8bce9e8f190ad2e10eb31bdceeaab4158d5ee8b4
e688fe6b7e60d3dd50f0aa922a1ab74d85cb39b5
streams: refactor ReadableStream asyncIterator creation and a few fixes Closes: https://github.com/nodejs/node/issues/23041 - Rewrite `ReadableAsyncIterator` class into `ReadableStreamAsyncIteratorPrototype` which contains no constructor and inherits from `%AsyncIteratorPrototype%`. - Rewrite `AsyncIteratorRecord` i...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -42,7 +42,7 @@ const { emitExperimentalWarning } = require('internal/util');\n \n // Lazy loaded to improve the startup performance.\n let StringDecoder;\n-let ReadableAsyncIterator;\n+let createReadableStreamAsyncIterator;\n \n util.inherits(Readable, Strea...
2018-09-23T20:10:12
vercel/next.js
e01f0e4c4a63d55836f12b3c4055e87a4e7e03dc
a47841b0ace72b7ac8acdc247895dcf73db86caa
Remove leftover server.js files in test suite (#45408) Removes leftover files that were used for `target: 'serverless'` which has been removed in Next.js 13. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](http...
[ { "path": "test/integration/custom-routes/server.js", "patch": "@@ -1,36 +0,0 @@\n-const path = require('path')\n-const http = require('http')\n-\n-const server = http.createServer((req, res) => {\n- const pagePath = (page) => path.join('.next/serverless/pages/', page)\n- const render = (page) => {\n- ...
2023-02-01T10:00:52
rust-lang/rust
2fdf3d98205abfbf1a034ef1f04369a6342645ec
ac9ac0e0f36dcd7f8a8f0405cd003585fe4e4426
ui/async-drop-initial: factor in panic strategy in destructor size check the size of `AsyncStruct`'s destructor depends on whether the configured panic strategy is 'unwind' or 'abort' so factor that into the test using conditional compilation fixes rust-lang/rust#140939
[ { "path": "tests/ui/async-await/async-drop/async-drop-initial.rs", "patch": "@@ -60,7 +60,10 @@ fn main() {\n let j = 42;\n test_async_drop(&i, 16).await;\n test_async_drop(&j, 16).await;\n- test_async_drop(AsyncStruct { b: AsyncInt(8), a: AsyncInt(7), i: 6 }, 168).await;\n+ ...
2025-05-12T11:49:17
golang/go
60ddf42b4627fb4ff5f92d2193c294456175af9a
d8f348a589b3df4bb48636023be4ccf9ac96d307
cmd/go: change link in error message from /wiki to /doc. The /doc link is currently a redirect (CL 334389), but I plan to update it soon with a more detailed guide. Updates #36460 Change-Id: I9e4a47ad0c8bcb7361cfa3e5b9d07ad241b13ba6 Reviewed-on: https://go-review.googlesource.com/c/go/+/332573 Trust: Bryan C. Mills ...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -1808,7 +1808,7 @@ func (ld *loader) checkTidyCompatibility(ctx context.Context, rs *Requirements)\n \t\tfmt.Fprintf(os.Stderr, \"If reproducibility with go %s is not needed:\\n\\tgo mod tidy%s -compat=%s\\n\", ld.TidyCompatibleVersion, goFlag, l...
2021-07-02T20:41:22
nodejs/node
c001ba65753f3eb41ecd8df3b013126593d95247
43a1bc30c1e14953e8570d99e91b1a1192712cc4
test: remove eslint-disable from fixtures Fixture files are not linted. Remove `eslint-disable` comments from fixture files. PR-URL: https://github.com/nodejs/node/pull/23345 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Revi...
[ { "path": "test/fixtures/guess-hash-seed.js", "patch": "@@ -1,4 +1,3 @@\n-/* eslint-disable required-modules */\n 'use strict';\n function min(arr) {\n let res = arr[0];", "additions": 0, "deletions": 1, "language": "JavaScript" }, { "path": "test/fixtures/inspector-global-function.js"...
2018-10-09T00:47:32
electron/electron
882a08f61a83238af3b742c8ba892ffc6cd62879
a9072049ea34f933057a445c6d0da57b356fe406
Fix browser plugin API changes
[ { "path": "atom.gyp", "patch": "@@ -49,6 +49,7 @@\n 'atom/renderer/lib/override.coffee',\n 'atom/renderer/lib/web-view/guest-view-internal.coffee',\n 'atom/renderer/lib/web-view/web-view.coffee',\n+ 'atom/renderer/lib/web-view/web-view-constants.coffee',\n 'atom/renderer/api/lib...
2014-12-08T16:05:34
vercel/next.js
a47841b0ace72b7ac8acdc247895dcf73db86caa
e8fcf8b569341d639757ff86cf26667e8b1be159
Some changes in grammar (#45467) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feature request or RFC. ...
[ { "path": ".github/actions/issue-validator/canary.md", "patch": "@@ -24,7 +24,7 @@ If your issue has not been resolved in that time and it has been closed/locked,\n \n ### **I did not open this issue, but it is relevant to me, what can I do to help?**\n \n-Anyone experiencing the same issue is welcome to pr...
2023-02-01T09:06:59
huggingface/transformers
910355a0104a67a2275252747e4d737af48d291a
6a5fd0c6d284dbfeb6af8b9cca3d6a7a81e5630f
Fix Typos in Comments: "quantitation" → "quantization", "averege" → "average" (#38766) * Update convert_llama4_weights_to_hf.py * Update modeling_visual_bert.py
[ { "path": "src/transformers/models/llama4/convert_llama4_weights_to_hf.py", "patch": "@@ -421,7 +421,7 @@ def write_model(\n tqdm.write(f\"Processing: {key.ljust(50)} ->\\t {v}, {values.shape}\")\n state_dict[v] = values\n elif _OFFLINE_QUANT_COMPATIBLE and \"fee...
2025-06-12T14:04:39
golang/go
a98589711da5e9d935e8d690cfca92892e86d557
cfbd73ba33fc6a3635b3a63096fd6c6bff9d73e8
crypto/tls: test key type when casting When casting the certificate public key in generateClientKeyExchange, check the type is appropriate. This prevents a panic when a server agrees to a RSA based key exchange, but then sends an ECDSA (or other) certificate. Fixes #47143 Fixes CVE-2021-34558 Thanks to Imre Rad for ...
[ { "path": "src/crypto/tls/key_agreement.go", "patch": "@@ -86,7 +86,11 @@ func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, clientHello\n \t\treturn nil, nil, err\n \t}\n \n-\tencrypted, err := rsa.EncryptPKCS1v15(config.rand(), cert.PublicKey.(*rsa.PublicKey), preMasterSecret)\n+\trsaKey,...
2021-06-09T18:31:27
nodejs/node
43a1bc30c1e14953e8570d99e91b1a1192712cc4
787cbe9abe6d93cacc6d3be72e0f2a1ab6b0c12b
src: fix ToObject() usage in node_crypto.cc PR-URL: https://github.com/nodejs/node/pull/23298 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/node_crypto.cc", "patch": "@@ -2168,7 +2168,8 @@ void SSLWrap<Base>::VerifyError(const FunctionCallbackInfo<Value>& args) {\n Isolate* isolate = args.GetIsolate();\n Local<String> reason_string = OneByteString(isolate, reason);\n Local<Value> exception_value = Exception::Error(reason_st...
2018-10-06T20:46:20
electron/electron
d4be5b6e8e52556c1315fc2ef929257cf841e248
75eb15fa1f69632f75fb1dab937cd33801a77684
Fix the default framework name to be 'Product Framework.framework', not 'Product.framework'
[ { "path": "brightray/common/main_delegate_mac.mm", "patch": "@@ -33,7 +33,7 @@\n }\n \n void MainDelegate::OverrideFrameworkBundlePath() {\n- base::FilePath helper_path = GetFrameworksPath().Append(GetApplicationName() + \".framework\");\n+ base::FilePath helper_path = GetFrameworksPath().Append(GetApplic...
2014-12-08T05:24:23
huggingface/transformers
c87058beb8f41d56387548cb8545673f63175a04
d4e7aa5526309b748e5a79a59991e147d0a75f93
Fix `llava_onevision` tests (#38791) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/llava_onevision/test_modeling_llava_onevision.py", "patch": "@@ -29,6 +29,7 @@\n is_vision_available,\n )\n from transformers.testing_utils import (\n+ Expectations,\n cleanup,\n require_bitsandbytes,\n require_torch,\n@@ -194,6 +195,12 @@ class LlavaOnevisionForCo...
2025-06-12T13:06:49
vercel/next.js
e8fcf8b569341d639757ff86cf26667e8b1be159
fb62d7e8cf009ac33dba2ba160ac10bb8ce71571
Add data attributes on @next/font usage (#45296) Adds `data-next-font` data attribute to the preload tag if added by `@next/font`. ```js // Using `size-adjust` fallback font. <link data-next-font="size-adjust" rel="preload" href="..." as="font" type="font/woff2" crossorigin="anonymous"> // Not using `size-adjus...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -155,7 +155,8 @@ const downloadGoogleFonts: FontLoader = async ({\n const selfHostedFileUrl = emitFontFile(\n fontFileBuffer,\n ext,\n- preloadFontFile\n+ preloadFontFile,\n+ !!adjustFontFallb...
2023-01-31T22:16:13
golang/go
0dcab98fd829e845a83fed996025f96b8b1165b1
3c3c1d8d2856e7859f4ba36b19c91f1538546d2a
[dev.typeparams] cmd/compile: slightly more incremental unified typecheck This CL pushes the typecheck.Expr calls further down to the IR construction points. It turns out we don't really care about typecheck.AssignExpr, because it's only used to distinguish whether ir.BlankNode is allowed. We can avoid that issue by j...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -1252,7 +1252,7 @@ func (r *reader) assignList() ([]*ir.Name, []ir.Node) {\n \t\t\tcontinue\n \t\t}\n \n-\t\tlhs[i] = typecheck.AssignExpr(r.expr0())\n+\t\tlhs[i] = r.expr()\n \t}\n \n \treturn names, lhs\n@@ -1447,18 +1447,13 @@ func (r *re...
2021-07-10T02:47:45
nodejs/node
787cbe9abe6d93cacc6d3be72e0f2a1ab6b0c12b
5e63cf29bfd09ad2c099b937602a355bd08ecdc4
test: read() on dir on AIX does not return EISDIR An upcoming change in libuv will remove the artificial EISDIR error. Update the test to reflect that. Refs: https://github.com/libuv/libuv/pull/2025 PR-URL: https://github.com/nodejs/node/pull/23330 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> R...
[ { "path": "test/parallel/test-fs-readfile-error.js", "patch": "@@ -25,9 +25,9 @@ const fs = require('fs');\n \n // Test that fs.readFile fails correctly on a non-existent file.\n \n-// `fs.readFile('/')` does not fail on FreeBSD, because you can open and read\n-// the directory there.\n-if (common.isFreeBSD...
2018-10-08T09:04:40
electron/electron
5dd73e74cb7a6b0ea86da5f8346f2d61b1f7289c
ba347f646018dfcc19156e53a130e7d659df9b5b
Disable crash reporter spec on Yosemite
[ { "path": "spec/api-crash-reporter-spec.coffee", "patch": "@@ -8,6 +8,9 @@ formidable = require 'formidable'\n BrowserWindow = remote.require 'browser-window'\n \n describe 'crash-reporter module', ->\n+ # We have trouble makeing crash reporter work on Yosemite.\n+ return if process.platform is 'darwin'\n...
2014-12-07T16:57:55
rust-lang/rust
41a2260bc7d7388a6ef2b0dfa7a980c977e26081
e74fe7a6ad02391ff873916a4e0243144e5e9355
Use unreachable instead of panic Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
[ { "path": "compiler/rustc_target/src/callconv/mod.rs", "patch": "@@ -919,7 +919,7 @@ fn conv_to_externabi(conv: &Conv) -> ExternAbi {\n Conv::AvrNonBlockingInterrupt => ExternAbi::AvrNonBlockingInterrupt,\n Conv::RiscvInterrupt { kind: RiscvInterruptKind::Machine } => ExternAbi::RiscvInterru...
2025-05-12T07:23:30
huggingface/transformers
d4e7aa5526309b748e5a79a59991e147d0a75f93
e1812864ab7b482b974591523eb9520480c1a0b3
Fix `qwen_2_5 omni` (#38658) * fix * fix * break style * break style * Apply style fixes * break style * Apply style fixes * fix modular --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[ { "path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py", "patch": "@@ -4029,70 +4029,70 @@ def generate(\n return thinker_result\n \n # 2. Generate speech tokens from talker module\n- embeds_to_talker = thinker_result.hidden_states[0][0].clone().to(self.talker.de...
2025-06-12T12:43:54
vercel/next.js
817e089a3043b75cee5ef8810ca263e6afcbcc67
eccd34fc7583528840d2a01ec354162fc3f0de2e
turbopackLoaders: accept basic loader options (vercel/turbo#3540) Fixes WEB-525 This allows webpack loaders defined by `experimental.turbopackLoaders` in `next.config.js` to pass serializable options to loaders. It expands `turbopackLoaders` to accept not just loader names for a given extension, but also `{loader: s...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/config/next.js", "patch": "@@ -1,5 +1,6 @@\n import loadConfig from \"next/dist/server/config\";\n import { PHASE_DEVELOPMENT_SERVER } from \"next/dist/shared/lib/constants\";\n+import assert from \"assert\";\n \n const loadNextConfig = async () => ...
2023-01-31T20:44:00
golang/go
a12ad271195d88ffa8f68ad01547560fb4d2ab49
5059aed9dd33e35d3d0d88be945b2aed8265e1c3
[dev.typeparams] cmd/compile: report functions declared in Go and assembly This CL reuses the symabi wrapper information to warn when a function is defined both in Go (i.e., has a function declaration with a body) and in assembly (i.e., has a TEXT instruction). This will eventually produce a linker error anyway, but ...
[ { "path": "src/cmd/compile/internal/ssagen/abi.go", "patch": "@@ -152,6 +152,9 @@ func (s *SymABIs) GenABIWrappers() {\n \t\t// Apply definitions.\n \t\tdefABI, hasDefABI := s.defs[symName]\n \t\tif hasDefABI {\n+\t\t\tif len(fn.Body) != 0 {\n+\t\t\t\tbase.ErrorfAt(fn.Pos(), \"%v defined in both Go and asse...
2021-07-08T06:32:49
nodejs/node
5e63cf29bfd09ad2c099b937602a355bd08ecdc4
67130f3ab596393e84fa81dc1a6696f90ec747a5
doc: add util.inspect() legacy signature PR-URL: https://github.com/nodejs/node/pull/23216 Fixes: https://github.com/nodejs/node/issues/23205 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/util.md", "patch": "@@ -361,6 +361,7 @@ stream.write('With ES6');\n ```\n \n ## util.inspect(object[, options])\n+## util.inspect(object[, showHidden[, depth[, colors]]])\n <!-- YAML\n added: v0.3.0\n changes:", "additions": 1, "deletions": 0, "language": "Markdown" } ]
2018-10-02T10:51:38
electron/electron
ba347f646018dfcc19156e53a130e7d659df9b5b
85cf8f91747cfeb969b33065f9c44a024ee49470
mac: Fix crash reporting on Yosemite
[ { "path": "atom/common/crash_reporter/crash_reporter_mac.mm", "patch": "@@ -4,6 +4,7 @@\n \n #include \"atom/common/crash_reporter/crash_reporter_mac.h\"\n \n+#include \"base/mac/mac_util.h\"\n #include \"base/memory/singleton.h\"\n #include \"base/strings/sys_string_conversions.h\"\n #import \"vendor/break...
2014-12-07T16:51:58
huggingface/transformers
89c46b648d82b670cc7286a25fa64d2d92770418
27459025b8f77d53631f7961cc967fa659d43f7e
Skip some export tests on torch 2.7 (#38677) * skip * fix * better check * Update import_utils.py --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -393,6 +393,13 @@ def get_torch_version():\n return _torch_version\n \n \n+def get_torch_major_and_minor_version() -> str:\n+ if _torch_version == \"N/A\":\n+ return \"N/A\"\n+ parsed_version = version.parse(_torch_version)\n+...
2025-06-12T10:47:15
golang/go
ab4085ce84f8378b4ec2dfdbbc44c98cb92debe5
296ddf2a936a30866303a64d49bc0e3e034730a8
runtime/pprof: call runtime.GC twice in memory profile test This change fixes #46500 by working around #45315 which may cause freed objects to get missed in the heap profile published for the test. By calling runtime.GC one more time this change ensures that all freed objects are accounted for. Fixes #46500. Change...
[ { "path": "src/runtime/pprof/mprof_test.go", "patch": "@@ -86,6 +86,17 @@ func TestMemoryProfiler(t *testing.T) {\n \n \truntime.GC() // materialize stats\n \n+\t// TODO(mknyszek): Fix #45315 and remove this extra call.\n+\t//\n+\t// Unfortunately, it's possible for the sweep termination condition\n+\t// to...
2021-07-09T17:34:07
electron/electron
10823eeeaa89f62cf00afd0ee41c3deee1928827
25ea169c72f79f10754dd6998261c912a333803e
Fix compilation errors caused by Chrome 39
[ { "path": "atom/browser/api/atom_api_content_tracing.cc", "patch": "@@ -69,14 +69,17 @@ void Initialize(v8::Handle<v8::Object> exports, v8::Handle<v8::Value> unused,\n dict.SetMethod(\"startRecording\", base::Bind(\n &TracingController::EnableRecording, base::Unretained(controller)));\n dict.SetMe...
2014-12-07T15:43:26
nodejs/node
314c1fa5839559f29507e93a3b14fa4b4d380460
f5ab9d1765dab78516b16da4ca9ef670c7022328
deps: V8: cherry-pick 64-bit hash seed commits This serves as mitigation for the so-called HashWick vulnerability. Original commit messages: commit 3833fef57368c53c6170559ffa524c8c69f16ee5 Author: Yang Guo <yangguo@chromium.org> Date: Thu Sep 20 11:43:13 2018 Refactor integer hashing function names ...
[ { "path": "common.gypi", "patch": "@@ -25,7 +25,7 @@\n 'uv_library%': 'static_library',\n \n 'clang%': 0,\n- \n+\n 'openssl_fips%': '',\n \n # Default to -O0 for debug builds.", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "deps/v8/src/builtins/bu...
2018-10-04T12:25:50
vercel/next.js
da84db847e4373e37e710f1b7e84d0d2a47e8c2c
f1e816f0c3c13074180ebdb75be41e37524d19b4
turbopackLoaders: accept basic loader options (vercel/turbo#3540) Fixes WEB-525 This allows webpack loaders defined by `experimental.turbopackLoaders` in `next.config.js` to pass serializable options to loaders. It expands `turbopackLoaders` to accept not just loader names for a given extension, but also `{loader: s...
[ { "path": "crates/next-core/js/src/entry/config/next.js", "patch": "@@ -1,5 +1,6 @@\n import loadConfig from \"next/dist/server/config\";\n import { PHASE_DEVELOPMENT_SERVER } from \"next/dist/shared/lib/constants\";\n+import assert from \"assert\";\n \n const loadNextConfig = async () => {\n const nextCo...
2023-01-31T20:44:00
huggingface/transformers
27459025b8f77d53631f7961cc967fa659d43f7e
887054c714f594b1593f17e1860776dc97b862b1
[video processors] support frame sampling within processors (#38105) * apply updates smolVLM (still needs workaround for chat template) * add other models * dump qwen omni for now, come back later * port qwen omni from their impl * wait, all qwens sample videos in same way! * clean up * make smolvlm backwards co...
[ { "path": "src/transformers/models/instructblipvideo/video_processing_instructblipvideo.py", "patch": "@@ -35,7 +35,7 @@\n )\n from ...utils.import_utils import requires\n from ...video_processing_utils import BaseVideoProcessor\n-from ...video_utils import group_videos_by_shape, reorder_videos\n+from ...vi...
2025-06-12T09:34:30
golang/go
f2ed30c31edf67bd753a10891dfeb5aeb65c95dd
69d945fc6e80475c163f96ba86fe716e77bb0104
[dev.typeparams] cmd/compile/internal/types2: recursive substitution must terminate (bug fix) When types2.Instantiate is called externally, no *Checker is provided and substitution doesn't have access to Checker.typMap; and instantiation of recursive generic types leads to an infinite recursion in subst. There was a ...
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -1846,3 +1846,26 @@ func f(x T) T { return foo.F(x) }\n \t\t}\n \t}\n }\n+\n+func TestInstantiate(t *testing.T) {\n+\t// eventually we like more tests but this is a start\n+\tconst src = genericPkg + \"p; type T[P any] *T[P]\"\n+\tpkg, er...
2021-07-09T02:57:24
electron/electron
6d32db32ef3b3baacdcbfebdbc8eb35d60fccadf
357f5f978120d0bdba4b3cd88caf4e263288a9f1
Upgrade node, fixes #843
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 0a2a45e8d3c4a5b8680a0b84e7fdf8302cd92eca\n+Subproject commit 6403ce1c2ff752e81c1145112fa73f9273b8e73a", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-12-04T20:17:36
vercel/next.js
326485c06ec8c9de54df69b2ab5f27021a1cf273
78c5be4e3271658ff7e79131e9af355f9a00468c
Export the Metadata type (#45445) This allows people to manually type their exported `metadata` field: <img width="610" alt="CleanShot 2023-01-31 at 15 43 00@2x" src="https://user-images.githubusercontent.com/3676859/215792182-8d9cf72a-dedf-4cc9-8613-d4eb49501abc.png"> ## Bug - [ ] Related issues linked usin...
[ { "path": "packages/next/src/lib/metadata/types/metadata-interface.ts", "patch": "@@ -32,7 +32,7 @@ import { ResolvedTwitterMetadata, Twitter } from './twitter-types'\n export interface Metadata {\n // origin and base path for absolute urls for various metadata links such as\n // opengraph-image\n- met...
2023-01-31T18:49:07
nodejs/node
13e6e01ce58cbd196846a9f90c0a79f2ccd758fc
1d96d7da7331619ee99066451f6bcf1b5a7f3953
test: add module require tests for certain package.json errors test for unusual error cases: verify that module require() falls back to index if package.json names a missing file and throws an error if package.json is unparseable. PR-URL: https://github.com/nodejs/node/pull/23285 Reviewed-By: Richard Lau <riclau@uk.i...
[ { "path": "test/fixtures/packages/missing-main/index.js", "patch": "@@ -0,0 +1,22 @@\n+// Copyright Joyent, Inc. and other Node contributors.\n+//\n+// Permission is hereby granted, free of charge, to any person obtaining a\n+// copy of this software and associated documentation files (the\n+// \"Software\"...
2018-10-05T22:00:16
huggingface/transformers
887054c714f594b1593f17e1860776dc97b862b1
7c5833694934c289e4297f50417d422a893c9d5d
Fix masking utils (#38783) * fix * Update masking_utils.py * Update masking_utils.py
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -684,8 +684,8 @@ def create_causal_mask(\n useful to easily overlay another mask on top of the causal one, for example for image tokens handling.\n \"\"\"\n # If we have an HybridCache structure, here we want to create the mask ...
2025-06-12T09:00:46
golang/go
69d945fc6e80475c163f96ba86fe716e77bb0104
04acb8a7b9fc0212687cc25aa2598d12f6aceb74
[dev.typeparams] cmd/compile/internal/types2: use scope numbers to identify local types Rather than using a local types' position information, use the type name's scope numbers to uniquely identify the type from others with the same name. We use scope numbers rather than indices (with number-1 == index) to preserve t...
[ { "path": "src/cmd/compile/internal/types2/instance.go", "patch": "@@ -16,7 +16,7 @@ type instance struct {\n \tbase *Named // parameterized type to be instantiated\n \ttargs []Type // type arguments\n \tposlist []syntax.Pos // position of each targ; for error reporting only\n-\tvalue Typ...
2021-07-08T04:38:49
electron/electron
a0f5544a07321a33435d04fb13d59dad5ece393a
6c9dbe190db89208e2eaf82b97b09581065515c3
Fix compilation warning on Yosemite
[ { "path": "common.gypi", "patch": "@@ -79,6 +79,7 @@\n '-Wno-unused-variable',\n '-Wno-deprecated-declarations',\n '-Wno-return-type',\n+ '-Wno-gnu-folding-constant',\n ],\n },\n 'conditions': [", "additions": 1, "deletions": 0...
2014-12-03T23:21:50
vercel/next.js
78c5be4e3271658ff7e79131e9af355f9a00468c
61a6065d04815fd9c5b45545643b42bdce814dd1
Add support for navigating to external urls (#45388) Adds support for `router.push('https://google.com')`, `router.replace('https://google.com')`, and `redirect('https://google.com')`. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -96,6 +96,10 @@ function findHeadInCache(\n return undefined\n }\n \n+function isExternalURL(url: URL) {\n+ return url.origin !== location.origin\n+}\n+\n /**\n * The global router that wraps the application components.\n */\n...
2023-01-31T18:39:36
huggingface/transformers
7c5833694934c289e4297f50417d422a893c9d5d
7c6b1707c344cbf4e0416d7c86de1471311c96cd
[Hotfix] Fix style bot (#38779) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr-style-bot.yml", "patch": "@@ -5,6 +5,9 @@ on:\n issue_comment:\n types: [created]\n \n+permissions:\n+ pull-requests: write\n+\n jobs:\n style:\n uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@main", "additions": 3, "deletions": ...
2025-06-12T08:20:36
nodejs/node
4f0971d3665e0a946d3799f0398b7a4cfd43bddf
fd6a7d4db185db6c0084b6a593d698568f0ffe9f
doc: fix minor typo in n-api.md Correct parameter name for `napi_is_error` description. PR-URL: https://github.com/nodejs/node/pull/23310 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Luigi Pinca <luigipinca@gmail.c...
[ { "path": "doc/api/n-api.md", "patch": "@@ -571,7 +571,7 @@ NAPI_EXTERN napi_status napi_is_error(napi_env env,\n bool* result);\n ```\n - `[in] env`: The environment that the API is invoked under.\n-- `[in] msg`: The `napi_value` to be checked.\n+- `[in] value`: The `n...
2018-10-07T04:36:14
rust-lang/rust
ba80d820e5b4fb975f12eabac19e2a9c264a3afb
16c1c54a2921d5ace22e4a71c0ba7d4ef4b8aec7
Return value of coroutine_layout fn changed to Result with LayoutError
[ { "path": "compiler/rustc_middle/src/ty/mod.rs", "patch": "@@ -120,6 +120,7 @@ use crate::ty;\n use crate::ty::codec::{TyDecoder, TyEncoder};\n pub use crate::ty::diagnostics::*;\n use crate::ty::fast_reject::SimplifiedType;\n+use crate::ty::layout::LayoutError;\n use crate::ty::util::Discr;\n use crate::ty...
2025-05-11T13:58:52
golang/go
04acb8a7b9fc0212687cc25aa2598d12f6aceb74
2b1d70a137481c0b9f652950f1ac3570f24f68b8
[dev.typeparams] cmd/compile: report mismatch between types because of //go:notinheap types2 currently ignores pragmas, so it does not catch a conversion error when converting a pointer to a type which is NOT marked notinheap to a pointer to a convertible type, but which is marked notinheap. So, we specifically chec...
[ { "path": "src/cmd/compile/internal/noder/irgen.go", "patch": "@@ -219,6 +219,10 @@ Outer:\n \t\t}\n \t}\n \n+\t// Check for unusual case where noder2 encounters a type error that types2\n+\t// doesn't check for (e.g. notinheap incompatibility).\n+\tbase.ExitIfErrors()\n+\n \ttypecheck.DeclareUniverse()\n \...
2021-07-08T19:07:01
electron/electron
f78f94d4f1b77a686e45d36b646e502c2e66fc37
ef8b20af65a51efee86332d3ce7909118d2df6d6
Fix building on Mac
[ { "path": "atom/browser/api/atom_api_menu_mac.mm", "patch": "@@ -58,10 +58,10 @@\n if (!web_contents)\n return;\n \n- NSView* view = web_contents->GetContentNativeView();\n- NSMenu* menu = [menu_controller menu];\n base::scoped_nsobject<AtomMenuController> menu_controller(\n [[AtomMenuContro...
2014-11-28T11:50:10
huggingface/transformers
7c6b1707c344cbf4e0416d7c86de1471311c96cd
9487765f07ef4e5500d6ec21cad99aed4a037a3d
[masking utils] check `None` instead of try/except (#38561) * fix vllm's compile backend * fix the test * apply the same changes in other masking strategies
[ { "path": "src/transformers/masking_utils.py", "patch": "@@ -684,9 +684,9 @@ def create_causal_mask(\n useful to easily overlay another mask on top of the causal one, for example for image tokens handling.\n \"\"\"\n # If we have an HybridCache structure, here we want to create the mask ...
2025-06-12T06:50:28
nodejs/node
e5170d483bdd768f8d1c98dbd9445659d4c7bc9c
bd162b6dc0f4d25239e58564a3a3228947af85b3
test: remove flaky designation for test Unreliability for test-trace-events-fs-sync is believed to have been fixed. Remove flaky designation. Ref: https://github.com/nodejs/node/pull/22812 Ref: https://github.com/nodejs/node/issues/21038#issuecomment-421199960 PR-URL: https://github.com/nodejs/node/pull/22856 Refs: ...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -5,8 +5,6 @@ prefix parallel\n # sample-test : PASS,FLAKY\n \n [true] # This section applies to all platforms\n-# https://github.com/nodejs/node/issues/22865\n-test-trace-events-fs-sync: PASS,FLAKY\n # https://github.com/nodejs/n...
2018-09-14T05:09:38
electron/electron
f6c66a737498223933d0a34c3113515cc6284f74
86cf5e00288c98f246a1d607c128432ea79819d3
Add Tray.destroy() API, fixes #871
[ { "path": "atom/browser/api/atom_api_tray.cc", "patch": "@@ -40,34 +40,60 @@ void Tray::OnDoubleClicked() {\n Emit(\"double-clicked\");\n }\n \n-void Tray::SetImage(const gfx::ImageSkia& image) {\n+void Tray::Destroy() {\n+ tray_icon_.reset();\n+}\n+\n+void Tray::SetImage(mate::Arguments* args, const gfx...
2014-11-28T10:06:51
huggingface/transformers
60d4b35b20df5e29b2ba85cb18087a7e0200e2d0
bb44d2a0f6769642a488ac1baa2ddbedb223cca1
Make style bot trigger CI after push (#38754) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/pr-style-bot.yml", "patch": "@@ -5,15 +5,11 @@ on:\n issue_comment:\n types: [created]\n \n-permissions:\n- contents: write\n- pull-requests: write\n-\n jobs:\n style:\n uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@main\n with:\n ...
2025-06-11T18:40:04
nodejs/node
bd162b6dc0f4d25239e58564a3a3228947af85b3
4c37df779cf944b5666fc72e2a27fbf2e745881f
doc: improve API Documentation text in README Clarify and implify the API Documentation download information in the README. This also fixes a spelling error. PR-URL: https://github.com/nodejs/node/pull/23268 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By:...
[ { "path": "README.md", "patch": "@@ -107,11 +107,11 @@ Listed under their version string which includes their date (in UTC time) and\n the commit SHA at the HEAD of the release.\n \n #### API Documentation\n-<https://nodejs.org/api/>\n \n-Points to the API documentation of the latest Current release.\n-Vers...
2018-10-04T20:44:03
huggingface/transformers
bb44d2a0f6769642a488ac1baa2ddbedb223cca1
b84ebb7f3cb6b0e2b24277944f30ed11e4d83c57
Update pegasus model card (#38675) * Update Pegasus model card * Fix transformers-cli command * Update code examples to use bfloat16 * Reverted code examples to use float16 * Fix typo, update checkpoints link * Update str formatting in code examples * Apply suggestions from code review Co-authored-by: Steven Li...
[ { "path": "docs/source/en/model_doc/pegasus.md", "patch": "@@ -14,95 +14,116 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# Pegasus\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">...
2025-06-11T17:56:25
electron/electron
89de5b6e9a0170f3162da720fc3d4ca76dedb490
ff26c3c16f093864528c7a3a207a0d55d80995d6
win: Remove NotifyIconHostStateChanger We don't need the ability it provided, and it is causing crashes on some machines. Fixes #850.
[ { "path": "atom.gyp", "patch": "@@ -315,8 +315,6 @@\n 'chromium_src/chrome/browser/ui/libgtk2ui/gtk2_status_icon.h',\n 'chromium_src/chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.cc',\n 'chromium_src/chrome/browser/ui/views/frame/global_menu_bar_registrar_x11.h',\n- 'chr...
2014-11-28T09:47:47
golang/go
d4f6d161e439b3c2a56a4583d4b5acebe3fdeeee
18135150b0ce945735d242eb6259ffc9b5c767d0
[dev.typeparams] cmd/compile: fix bunch of -G=3 bugs for test cases in test/typeparams/mdempsky 1.go, 12.go: similar to calculating type sizes, we delay computing instantiations during import until we get up to a top-level type, in order to make sure recursive types are complete. But we should always delay calculating...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1026,7 +1026,8 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\t\t// an error.\n \t\t\t\t_, isCallExpr := m.(*ir.CallExpr)\n \t\t\t\t_, isStructKeyExpr := m.(*ir.StructKeyExpr)\n-\t\t\t\tif !isCallExpr && !isStructKeyExpr && x.Op...
2021-07-07T18:49:57
nodejs/node
1328dfa06b4018e2684057db0dac3570df360bae
68b3e46fbf88ad81f50f68c7f0c725dc06c8beb0
doc: shorten intro of README.md There are many things I might want to know about if I'm reading the introduction of the README file for Node.js: Where to get help, what the latest release is, how to compile from source, where to report bugs, how to contribute... One thing I cannot imagine wondering about is, "I wonde...
[ { "path": "README.md", "patch": "@@ -9,13 +9,11 @@\n </p>\n \n Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. For\n-more information on using Node.js, see the\n-[Node.js Website][].\n+more information on using Node.js, see the [Node.js Website][].\n \n-The Node.js project is support...
2018-09-25T04:43:49
vercel/next.js
eccd34fc7583528840d2a01ec354162fc3f0de2e
779bb9e06ae5e9fcea3c52c1f3bad38990b3850b
css modules: use a terser selector format that requires less escaping (vercel/turbo#3437) Fixes WEB-447. Previously, generated classnames would include literal `/` characters, which need escaping when generating selectors. While users should still escape selectors, this avoids it for this case and makes generated...
[ { "path": "packages/next-swc/crates/next-dev-tests/tests/integration/next/font-google/basic/pages/index.js", "patch": "@@ -18,8 +18,7 @@ export default function Home() {\n function runTests() {\n it(\"returns structured data about the font styles from the font function\", () => {\n expect(interNoArgs)...
2023-01-31T18:13:55
huggingface/transformers
b84ebb7f3cb6b0e2b24277944f30ed11e4d83c57
9f563ada706a99454009e95c35a1d5dc7aabc4c9
fix(qwen3_moe): pass kwargs to self_attn (#38691) This is needed to avoid `.item()` calls in `_flash_attention_forward`.
[ { "path": "src/transformers/models/qwen3_moe/modeling_qwen3_moe.py", "patch": "@@ -355,6 +355,7 @@ def forward(\n use_cache=use_cache,\n cache_position=cache_position,\n position_embeddings=position_embeddings,\n+ **kwargs,\n )\n hidden_states =...
2025-06-11T17:26:08
electron/electron
ff26c3c16f093864528c7a3a207a0d55d80995d6
8a736abac7ea4dda11170cf02753d45d1f56bf89
Some coding style fixes
[ { "path": "atom/browser/api/atom_api_menu_mac.mm", "patch": "@@ -19,12 +19,16 @@\n }\n \n void MenuMac::Popup(Window* window) {\n- base::scoped_nsobject<AtomMenuController> menu_controller(\n- [[AtomMenuController alloc] initWithModel:model_.get()]);\n-\n NativeWindow* native_window = window->window...
2014-11-28T07:59:03
golang/go
296ddf2a936a30866303a64d49bc0e3e034730a8
ce76298ee7b2cc237b015f798abbfe891a6f5463
net: filter bad names from Lookup functions instead of hard failing Instead of hard failing on a single bad record, filter the bad records and return anything valid. This only applies to the methods which can return multiple records, LookupMX, LookupNS, LookupSRV, and LookupAddr. When bad results are filtered out, al...
[ { "path": "src/net/dnsclient_unix_test.go", "patch": "@@ -1846,6 +1846,17 @@ func TestCVE202133195(t *testing.T) {\n \t\t\t\t\t\t\tTarget: dnsmessage.MustNewName(\"<html>.golang.org.\"),\n \t\t\t\t\t\t},\n \t\t\t\t\t},\n+\t\t\t\t\tdnsmessage.Resource{\n+\t\t\t\t\t\tHeader: dnsmessage.ResourceHeader{\n+\t\t\...
2021-07-02T17:25:49
nodejs/node
68b3e46fbf88ad81f50f68c7f0c725dc06c8beb0
635161ae98ae0a88a354f749fecc3b62da3203b9
trace_events: destroy platform before tracing For safer shutdown, we should destroy the platform – and background threads - before the tracing infrastructure is destroyed. This change fixes the relative order of NodePlatform disposition and the tracing agent shutting down. This matches the nesting order for startup. ...
[ { "path": "src/node.cc", "patch": "@@ -292,15 +292,18 @@ static struct {\n controller->AddTraceStateObserver(new NodeTraceStateObserver(controller));\n tracing::TraceEventHelper::SetTracingController(controller);\n StartTracingAgent();\n+ // Tracing must be initialized before platform threads...
2018-09-18T21:04:45
vercel/next.js
f1e816f0c3c13074180ebdb75be41e37524d19b4
05b2bab0f8bb19846e655a8e7be9a88f68e4d818
css modules: use a terser selector format that requires less escaping (vercel/turbo#3437) Fixes WEB-447. Previously, generated classnames would include literal `/` characters, which need escaping when generating selectors. While users should still escape selectors, this avoids it for this case and makes generated...
[ { "path": "crates/next-dev-tests/tests/integration/next/font-google/basic/pages/index.js", "patch": "@@ -18,8 +18,7 @@ export default function Home() {\n function runTests() {\n it(\"returns structured data about the font styles from the font function\", () => {\n expect(interNoArgs).toEqual({\n- ...
2023-01-31T18:13:55
huggingface/transformers
11ad9be153d86df7be79026190f53a879de5b8f7
84710a4291c3ca4d4b3d65d5a011ff83af243c1d
Better typing for num_items_in_batch (#38728) * fix * style * type checking ? * maybe this ? * fix * can't be an int anymore * fix
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -187,14 +187,17 @@ from torch import nn\n from transformers import Trainer\n \n class CustomTrainer(Trainer):\n- def compute_loss(self, model, inputs, return_outputs=False, num_items_in_batch=None):\n+ def compute_losss(self, model: nn.Module, inputs...
2025-06-11T14:26:41
rust-lang/rust
dbdbde2a72ae26b9aaad8eae5d81635b36031f7b
9a7e19f2b66c472811b4bff02695c7a03f3f4151
Rename `OperandBundleOwned` to `OperandBundleBox` As with `DIBuilderBox`, the "Box" suffix does a better job of communicating that this is an owning pointer to some borrowable resource. This also renames the `raw` method to `as_ref`, which is what it would have been named originally if the `Deref` problem had been kn...
[ { "path": "compiler/rustc_codegen_llvm/src/builder.rs", "patch": "@@ -361,7 +361,7 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {\n \n // Emit KCFI operand bundle\n let kcfi_bundle = self.kcfi_operand_bundle(fn_attrs, fn_abi, instance, llfn);\n- if let So...
2025-05-11T10:48:41
golang/go
988d0248b404a82d8f5c5973610e8a56bffb38f4
0cf1e16bac137735ad7af45ac84df3b0afb312e3
[dev.fuzz] internal/fuzz: improve handling of worker termination by signal With this change, we'll no longer silently ignore terminations by SIGKILL. We use SIGKILL to terminate unresponsive workers, but it can also be delivered by the OOM killer. When a worker is terminated by a signal not apparently due to a crash ...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt", "patch": "@@ -0,0 +1,55 @@\n+# NOTE: this test is skipped on Windows, since there's no concept of signals.\n+# When a process terminates another process, it provides an exit code.\n+# TODO(jayconrod): support shared memory on more platfo...
2021-07-07T23:27:22
nodejs/node
247ea557fcd51c69b0be1d2baa4c49db7b4e0e98
65366addb29f195f53b700ba0de43381342086d7
deps: backport 958b761 from upstream V8 Original commit message: [postmortem] add postmortem metadata for symbols As discussed in https://github.com/nodejs/llnode/issues/156, we need postmortem metadata for Symbols to properly print Symbol property names in postmortem debugging tools. Patch suggested...
[ { "path": "common.gypi", "patch": "@@ -33,7 +33,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.3',\n+ 'v8_embedder_string': '-node.4',\n \n # Enable disassembler for `--print-code...
2018-09-17T19:22:59
vercel/next.js
779bb9e06ae5e9fcea3c52c1f3bad38990b3850b
7409489910ee80167869b2d5e700c91d4cca4e0f
Return a 404 status code when a data route is `.notFound` (vercel/turbo#3545) Returning a 404 status code is required for the client-side router to redirect to the error page.
[ { "path": "packages/next-swc/crates/next-core/js/src/internal/page-server-handler.tsx", "patch": "@@ -206,7 +206,9 @@ export default function startHandler({\n if (isDataReq) {\n return {\n type: \"response\",\n- statusCode,\n+ // Returning a 404 status code is requi...
2023-01-31T16:43:01
huggingface/transformers
84710a4291c3ca4d4b3d65d5a011ff83af243c1d
a6f0e2b64ac432b7e60d204caa09a0c1fdd74633
Add V-JEPA 2 (#38746) * adding model and conversion scripts * add imports to test vjepa conversion * fix imports and make conversion work * fix computation for short side * replace attention with library attention function * cleanup more attention classes * remove config overrides * add test cases, fix some of ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -905,6 +905,8 @@\n - sections:\n - local: model_doc/timesformer\n title: TimeSformer\n+ - local: model_doc/vjepa2\n+ title: V-JEPA 2\n - local: model_doc/videomae\n title: VideoMAE\n - local: model_doc/vi...
2025-06-11T14:00:08
electron/electron
c06e844ef4efaac3049f3ba5382c1dc6dc4f1365
c6a16161d91ffd77e65ff4764e685f7f06dcf7dd
fix build
[ { "path": "atom/browser/api/atom_api_menu_views.cc", "patch": "@@ -21,9 +21,10 @@ void MenuViews::Popup(Window* window) {\n }\n \n void MenuViews::PopupAt(Window* window, int x, int y) {\n- NativeWindow* nativeWindowViews = static_cast<NativeWindow*>(window->window());\n- content::RenderWidgetHostView* vi...
2014-11-26T14:28:03
rust-lang/rust
f96fb61e4b87f9b2a90df2ee58c8a99d0dc0f83a
fd6626d7b8dfb04df3b7117d8977a22a1453f1c8
checktools.sh: fix bashism
[ { "path": "src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh", "patch": "@@ -47,7 +47,7 @@ fi\n # we only ensure that all assertions still pass.\n MIRIFLAGS=\"-Zmiri-force-intrinsic-fallback --cfg force_intrinsic_fallback -O -Zmir-opt-level=4 -Cdebug-assertions=yes\" \\\n MIRI_SKIP_UI_CHECKS=1 \\\n...
2025-05-11T07:28:47
golang/go
60cb2cab97ca6a28dcb4a58776ed85f840f534d5
85267f402c3ba7ec91a3cf5e4e4a763fd1137deb
[dev.typeparams] cmd/compile: fix bug with types2.Instantiate with interface type param types2.subst has an assertion that check is non-nil, but which breaks Instantiate() with an interface type param (used when re-importing instatiated type to types2). But this check was added when Instantiate() was added, and things...
[ { "path": "src/cmd/compile/internal/types2/subst.go", "patch": "@@ -313,9 +313,6 @@ func (subst *subster) typ(typ Type) Type {\n \t\tembeddeds, ecopied := subst.typeList(t.embeddeds)\n \t\tif mcopied || ecopied {\n \t\t\tiface := &Interface{methods: methods, embeddeds: embeddeds, complete: t.complete}\n-\t\...
2021-07-07T19:03:41
nodejs/node
e273abc01be9f04511e44cacea20c4f4935b970f
6e43dfb6e3b17d26d927da40e1df8e2c1d07dc95
src: ready background workers before bootstrap Make sure background workers are ready before proceeding with the bootstrap or post-bootstrap execution of any code that may trigger `process.exit()`. Fixes: https://github.com/nodejs/node/issues/23065 PR-URL: https://github.com/nodejs/node/pull/23233 Reviewed-By: James...
[ { "path": "src/node_platform.cc", "patch": "@@ -18,10 +18,29 @@ using v8::TracingController;\n \n namespace {\n \n+struct PlatformWorkerData {\n+ TaskQueue<Task>* task_queue;\n+ Mutex* platform_workers_mutex;\n+ ConditionVariable* platform_workers_ready;\n+ int* pending_platform_workers;\n+ int id;\n+}...
2018-09-26T22:58:45
huggingface/transformers
a6f0e2b64ac432b7e60d204caa09a0c1fdd74633
6b610d89f1c1f9f4bce927c05818ef34f5d5e65b
Add z-loss to Bamba for v2 (#37842) * Remove const * Fix arg ref * Sharded save * Add z_loss flag * Add modeling zloss * Demodularize clm forward for zloss * Also demodularize init for z_loss flag * PR comments (mostly modularizing right) * Demodularize forward * Better name zloss and explain typematch * Ful...
[ { "path": "src/transformers/models/bamba/configuration_bamba.py", "patch": "@@ -100,6 +100,8 @@ class BambaConfig(PretrainedConfig):\n Flag indicating whether or not to use bias in the convolution layer of the mamba mixer block.\n mamba_proj_bias (`bool`, *optional*, defaults to `False`)...
2025-06-11T13:29:17
vercel/next.js
05b2bab0f8bb19846e655a8e7be9a88f68e4d818
86ea8d13e94ea03440126a66b517bd49161295bf
Return a 404 status code when a data route is `.notFound` (vercel/turbo#3545) Returning a 404 status code is required for the client-side router to redirect to the error page.
[ { "path": "crates/next-core/js/src/internal/page-server-handler.tsx", "patch": "@@ -206,7 +206,9 @@ export default function startHandler({\n if (isDataReq) {\n return {\n type: \"response\",\n- statusCode,\n+ // Returning a 404 status code is required for the client...
2023-01-31T16:43:01
electron/electron
bf85e61dc2d722c685ac79318c60f5fbd81f9dd5
03f19bea6b693dadc8a112081b95f9ac62ca3a3a
fix typo in variable name This is just for the looks. No errors where throws, because the variable name was misspelled in all occurences.
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -19,7 +19,7 @@ namespace {\n \n struct PrintSettings {\n bool silent;\n- bool print_backgournd;\n+ bool print_background;\n };\n \n } // namespace\n@@ -34,7 +34,7 @@ struct Converter<PrintSettings> {\n if (!ConvertFromV8(isolate, val, &d...
2014-11-25T19:57:55
huggingface/transformers
b426c2b31340364d90135ce550796052560635f8
c8c1e525ed871eabf053cd48f26cf83edb90c00b
fix: bf16 with TPU is allowed in configuration (#38670) * fix: tpu bf16 * fix: style --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1692,7 +1692,7 @@ def __post_init__(self):\n # cpu\n raise ValueError(\"Your setup doesn't support bf16/(cpu, tpu, neuroncore). You need torch>=1.10\")\n elif not self.use_cpu:\n- ...
2025-06-11T12:35:01
golang/go
5c59e11f5e1fe2e6d5b684f9a348022c07807126
b003a8b1ae26fa684ec35eb7543efa1ded1bcae7
cmd/compile: remove special-casing of blank in types.sconv{,2} I'm not sure why blank was special-cased here before, but it's wrong. Blank is a non-exported identifier, and writing it out without package-qualification can result in linker symbol collisions. Fixes #47087. Change-Id: Ie600037c8e54e3d4fdaeec21e2ca212ba...
[ { "path": "src/cmd/compile/internal/types/fmt.go", "patch": "@@ -109,10 +109,6 @@ func sconv(s *Sym, verb rune, mode fmtMode) string {\n \t\treturn \"<S>\"\n \t}\n \n-\tif s.Name == \"_\" {\n-\t\treturn \"_\"\n-\t}\n-\n \tq := pkgqual(s.Pkg, verb, mode)\n \tif q == \"\" {\n \t\treturn s.Name\n@@ -136,10 +13...
2021-07-07T20:18:42
nodejs/node
01ade5856a08b81443955b52d237b544e79017f2
3f77720b63aebcaa1cae5ca30a172b0d122ac862
deps: revert 9136dd8088a9 from upstream V8 Reverting this enables us to provide slower, but longer-lasting replacements for the deprecated APIs. Original commit message: Put back deleted V8_DEPRECATE_SOON methods This partially reverts https://chromium-review.googlesource.com/c/v8/v8/+/1177861, whic...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -1125,10 +1125,6 @@ class V8_EXPORT PrimitiveArray {\n int Length() const;\n void Set(Isolate* isolate, int index, Local<Primitive> item);\n Local<Primitive> Get(Isolate* isolate, int index);\n-\n- V8_DEPRECATED(\"Use Isolate version\",\n- ...
2018-10-04T21:38:59
vercel/next.js
eef157f9dff67ec70ff9bf609f07c33a1d1dc5ff
a5e9d032f3dddd777c87eb5da3f90f9353ac6441
@next/font change default font-display (#45430) Change default font-display from `optional` to `swap`. [slack ref](https://vercel.slack.com/archives/C03KED0D4N7/p1674949620477649) Fixes NEXT-430 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a he...
[ { "path": "docs/api-reference/next/font.md", "patch": "@@ -107,7 +107,7 @@ Examples:\n \n ### `display`\n \n-The font [`display`](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display) with possible string [values](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display#v...
2023-01-31T16:26:38
electron/electron
b2aaffa92117bb104b38003d1ded7be2efa0c6c3
438d7ada499575d8c7edad324a81e45cf18d59f7
Upgrade node, fixes #843
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit d26950326d87d711676f92b6c955744ad2c81f25\n+Subproject commit 0a2a45e8d3c4a5b8680a0b84e7fdf8302cd92eca", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-11-24T06:43:08
huggingface/transformers
c8c1e525ed871eabf053cd48f26cf83edb90c00b
56a7cf5546b2a172ec4d96ad212c188d31492696
from 1.11.0, torchao.prototype.low_bit_optim is promoted to torchao.optim (#38689) * since 1.11.0, torchao.prototype.low_bit_optim is promoted to torchao.optim Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix review comments Signed-off-by: YAO Matrix <matrix.yao@intel.com> --------- Signed-off-by: YAO Matri...
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -5368,19 +5368,19 @@ def hp_name(trial):\n )\n )\n if is_torchao_available():\n- import torchao\n+ from torchao.optim import AdamW4bit, AdamW8bit\n \n optim_test_params.append(\n (\n ...
2025-06-11T12:16:25
golang/go
991fd381d52e7cec37ab54732613d3e465916206
186a3bb4b0939837c855a4f0689d4a4401aff608
cmd/go: don't lock .mod and .sum files for read in overlay On Plan 9, locking a file requires a chmod call. In general, the go command should not modify files in the overlay, even metadata. With this change, we won't lock these files for reading. The go command already reported errors when attempting to write these f...
[ { "path": "src/cmd/go/internal/lockedfile/lockedfile_filelock.go", "patch": "@@ -11,7 +11,6 @@ import (\n \t\"io/fs\"\n \t\"os\"\n \n-\t\"cmd/go/internal/fsys\"\n \t\"cmd/go/internal/lockedfile/internal/filelock\"\n )\n \n@@ -21,7 +20,7 @@ func openFile(name string, flag int, perm fs.FileMode) (*os.File, er...
2021-07-06T17:38:18
nodejs/node
2ba19ff2b8a6253c6fb7795f35d4fb1c30ec6c30
054481633a3a6feba53213b8a5335ccfa421de0e
tty: document `WriteStream.cursorTo()` and others Adds documentation for the following `WriteStream` instance methods: - `WriteStream.clearLine()` - `WriteStream.clearScreenDown()` - `WriteStream.cursorTo()` - `WriteStream.getWindowSize()` - `WriteStream.moveCursor()` PR-URL: https://github.com/nodejs/node/pull/2289...
[ { "path": "doc/api/tty.md", "patch": "@@ -99,29 +99,46 @@ process.stdout.on('resize', () => {\n });\n ```\n \n-### writeStream.columns\n+### writeStream.clearLine(dir)\n <!-- YAML\n added: v0.7.7\n -->\n \n-A `number` specifying the number of columns the TTY currently has. This property\n-is updated wheneve...
2018-09-17T08:44:42