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
9cd932f4359daf4d9add982cda70dfa5215f3f8a
42be4c3befbb619b335816eecbe459faa4194531
test: fix faulty relpath test PR-URL: https://github.com/nodejs/node/pull/20954 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-fs-realpath-native.js", "patch": "@@ -3,11 +3,17 @@ const common = require('../common');\n const assert = require('assert');\n const fs = require('fs');\n \n-if (!common.isOSX) common.skip('MacOS-only test.');\n+const filename = __filename.toLowerCase();\n \n-assert.strictEqual...
2018-05-25T00:32:50
huggingface/transformers
ecaeee66bc663a66c8b5de0a050477a4c3263c1f
6f7ea1cf006414231610906e7710a84281960c24
Llama4: remove redundant transpose of router_logits (#37468) * Llama4: remove redundant transpose of router_logits * Fix formatting
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -159,14 +159,12 @@ def __init__(self, config):\n def forward(self, hidden_states):\n batch, seq_len, hidden_dim = hidden_states.shape\n hidden_states = hidden_states.view(-1, self.hidden_dim)\n- router_log...
2025-04-15T11:29:26
golang/go
cf73f1a8e40f44c0d3c69d63a5815861d685a845
15557af207f67e30a90977c5882e83103df54d49
go/parser: don't parse a nil IndexExpr.Index When parsing type parameters, an empty type instantiation was parsed as an IndexExpr with nil Index. This should be considered a breaking change to parsing: ast.Walk previously assumed that Index was non-nil. Back out the nil check in ast.Walk, and for now pack an empty ar...
[ { "path": "src/go/ast/walk.go", "patch": "@@ -112,11 +112,7 @@ func Walk(v Visitor, node Node) {\n \n \tcase *IndexExpr:\n \t\tWalk(v, n.X)\n-\t\t// n.Index may be nil for invalid type instantiation expressions, e.g.\n-\t\t// var x T[].\n-\t\tif n.Index != nil {\n-\t\t\tWalk(v, n.Index)\n-\t\t}\n+\t\tWalk(v...
2021-04-30T20:58:56
electron/electron
afd927f749621f0c6aebdd784672e9868b08b29d
cfeb00e629c90604d62665b28d40cd42d72bd56b
Use system's setting for font renderering, fixes #301.
[ { "path": "atom/browser/native_window_gtk.cc", "patch": "@@ -21,6 +21,7 @@\n #include \"ui/base/models/simple_menu_model.h\"\n #include \"ui/base/x/active_window_watcher_x.h\"\n #include \"ui/base/x/x11_util.h\"\n+#include \"ui/gfx/font_render_params_linux.h\"\n #include \"ui/gfx/gtk_util.h\"\n #include \"u...
2014-05-14T08:45:45
vercel/next.js
98cb2547cd0b6e160a220424396d04e408848c8b
c341c7648eeb58346d2d53427568e6bd9de70d71
Unhandled errors and rejections opens as minimized in app dir error overlay (#43844) Updated version of the reverted https://github.com/vercel/next.js/pull/43511 Unhandled errors that did not occur during React rendering (those errors are caught in `getDerivedStateFromError` in the Error Overlay) should be opened in ...
[ { "path": "packages/next/client/components/react-dev-overlay/internal/ReactDevOverlay.tsx", "patch": "@@ -76,9 +76,9 @@ class ReactDevOverlay extends React.PureComponent<\n ) : hasBuildError ? (\n <BuildError message={state.buildError!} />\n ) : hasRuntimeErrors ? (\n- ...
2022-12-08T11:30:27
nodejs/node
42be4c3befbb619b335816eecbe459faa4194531
39902e288ea0debe32b8868049b779d843cad1e4
doc: fix worker example to receive message `require('worker_threads')` is not an instance of `EventEmitter`. So `on` method would not be in it. The correct way to receive the message would be to attach a listener to the `message` event on the `parentPort`. PR-URL: https://github.com/nodejs/node/pull/21486 Reviewed-By...
[ { "path": "doc/api/worker_threads.md", "patch": "@@ -377,7 +377,7 @@ added: v10.5.0\n * `transferList` {Object[]}\n \n Send a message to the worker that will be received via\n-[`require('worker_threads').on('message')`][].\n+[`require('worker_threads').parentPort.on('message')`][].\n See [`port.postMessage(...
2018-06-23T11:40:10
electron/electron
cfeb00e629c90604d62665b28d40cd42d72bd56b
e415c66f680a09f34c8e47998c7e80fc522de06f
Only report "app invalid" error when app could not be loaded, fixes #294.
[ { "path": "atom/browser/default_app/main.js", "patch": "@@ -17,15 +17,20 @@ if (argv._.length > 0) {\n try {\n require(path.resolve(argv._[0]));\n } catch(e) {\n- app.focus();\n- dialog.showMessageBox({\n- type: 'warning',\n- buttons: ['OK'],\n- title: 'Error opening app',\n- ...
2014-05-14T08:27:40
huggingface/transformers
6f7ea1cf006414231610906e7710a84281960c24
d6ac923ad958307268c46c7cf84a5c7f40da60a6
Add MLCD model (#36182) * Add MLCD model * Update codes for auto-mapping * Add test scripts for MLCD * Update doc for MLCD model * Fix import error * Fix import error * Fix CI error for attention_outputs * Fix code style for CI * Fix code style for CI * Fix code style for CI * Fix code style for CI * Fix co...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -737,6 +737,8 @@\n title: Mask2Former\n - local: model_doc/maskformer\n title: MaskFormer\n+ - local: model_doc/mlcd\n+ title: MLCD\n - local: model_doc/mobilenet_v1\n title: MobileNetV1\n - local: mo...
2025-04-15T10:33:09
nodejs/node
81bc23fe61994784de270d5fc01bc5315dfa62f3
caf2335a47db089a1e1b2c5a90d85cf644f6c355
util: improve display of iterators and weak entries This adds the number of not visible elements when inspecting iterators while exceeding `maxArrayLength`. It also fixes a edge case with `maxArrayLength` and the map.entries() iterator. Now the whole entry will be visible instead of only the key but not the value of t...
[ { "path": "lib/console.js", "patch": "@@ -367,8 +367,11 @@ Console.prototype.table = function(tabularData, properties) {\n const mapIter = isMapIterator(tabularData);\n let isKeyValue = false;\n let i = 0;\n- if (mapIter)\n- [ tabularData, isKeyValue ] = previewEntries(tabularData);\n+ if (mapIte...
2018-05-25T10:05:39
vercel/next.js
062eb6bda7d9bf4bc1d3882a152d779717b4aeee
984b37c34b8b5c766a5c93af8340975216ee7ce3
do not allocate TaskState until needed (vercel/turbo#2801) Fixes WEB-209
[ { "path": "crates/auto-hash-map/src/map.rs", "patch": "@@ -52,10 +52,12 @@ impl<K, V> AutoMap<K, V, RandomState> {\n }\n \n impl<K, V, H: BuildHasher> AutoMap<K, V, H> {\n+ /// see [HashMap::with_hasher](https://doc.rust-lang.org/std/collections/hash_map/struct.HashMap.html#method.with_hasher)\n pub ...
2022-12-08T06:57:22
huggingface/transformers
d6ac923ad958307268c46c7cf84a5c7f40da60a6
c8e0e603de9b3d49161a15fe6e8ea84badfb5d02
Change default value of `attn_temperature_tuning` (#37501) fix: change default value of `attn_temperature_tuning`
[ { "path": "src/transformers/models/llama4/configuration_llama4.py", "patch": "@@ -228,7 +228,9 @@ class Llama4TextConfig(PretrainedConfig):\n no_rope_layer_interval (`int`, *optional*, defaults to 4): TODO\n attention_chunk_size (`int`, *optional*, defaults to 8192):\n <TODO>\n- ...
2025-04-15T10:10:38
electron/electron
e415c66f680a09f34c8e47998c7e80fc522de06f
0798896936fb632ffdf2828cf2c4d55b640f03c0
Upgrade node: Enable ArrayBufferAllocator, fix #308.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit a926cced2d72776303cc07a6aa7510950c77595f\n+Subproject commit 82fa7375af135444b37d8c21fade33ee3d905c42", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-05-14T08:11:55
golang/go
b0c49ae9f59d233526f8934262c5bbbe14d4358d
543e0983204d401c012ed4693f0e69956d357886
crypto/ed25519: replace internal/edwards25519 with filippo.io/edwards25519 This change replaces the crypto/ed25519/internal/edwards25519 package with code from filippo.io/edwards25519, a significantly faster, safer, well tested (over 1600 lines of new tests, 99% test coverage), and better documented (600 lines of new ...
[ { "path": "src/cmd/compile/internal/types2/stdlib_test.go", "patch": "@@ -301,6 +301,13 @@ func (w *walker) walk(dir string) {\n \t\treturn\n \t}\n \n+\t// skip submodules, which might not be vendored\n+\tfor _, f := range files {\n+\t\tif f.Name() == \"go.mod\" {\n+\t\t\treturn\n+\t\t}\n+\t}\n+\n \t// appl...
2021-04-05T19:45:16
rust-lang/rust
aa69e3a0cb8f1b2e086709a038baad6f39249150
3ef98a55ef95b058e55897f1b213dd965839e3ed
Fix bad handling of macros if there is already a `main` function
[ { "path": "src/librustdoc/doctest/make.rs", "patch": "@@ -424,7 +424,10 @@ fn parse_source(source: &str, crate_name: &Option<&str>) -> Result<ParseSourceIn\n // We assume that the macro calls will expand to item(s) even though they could\n // expand to statements and ...
2025-04-26T22:12:32
nodejs/node
cfe0c024fca5e12688de1c95af257092d03417cb
b3f459e6cf0076915cfd0e9ea130e3ceaa4448d1
test: remove 3rd arg from to assert.strictEqual() prevents AssertionError from reporting string literal, instead displays values of first 2 args passed to assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/21828 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Revi...
[ { "path": "test/parallel/test-stream-transform-final-sync.js", "patch": "@@ -59,42 +59,52 @@ The order things are called\n const t = new stream.Transform({\n objectMode: true,\n transform: common.mustCall(function(chunk, _, next) {\n- assert.strictEqual(++state, chunk, 'transformCallback part 1');\n+...
2018-07-16T01:14:37
vercel/next.js
8da43b1e7eea66183d7bec5e0c7b54d42016e8e7
579979d5d6af99ecff591821b9755092b3075b05
Refactor code (#43828) Didn't modify any test, just merging HMR related ones together. ## 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 ...
[ { "path": "packages/next/server/dev/hot-reloader.ts", "patch": "@@ -766,7 +766,7 @@ export default class HotReloader {\n (\n pageHashMap: Map<string, string>,\n changedItems: Set<string>,\n- serverComponentChangeCallback?: (key: string) => void\n+ serverComponentChangedIt...
2022-12-08T01:19:58
huggingface/transformers
cb39f7dd5ba874ee1859b47283b08cd3a6ab5a0d
d228f50acc9dcc19e4c8e9b9427e9f309ac66dd5
[qwen-omni] fix processor (#37493) * fix * delete print * accept kwargs in overriden models as well * remove duplicate
[ { "path": "src/transformers/models/qwen2_5_omni/processing_qwen2_5_omni.py", "patch": "@@ -244,11 +244,13 @@ def replace_multimodal_special_tokens(\n curr_video_grid_thw = next(video_grid_thw)\n height = curr_video_grid_thw[1] // self.image_processor.merge_siz...
2025-04-14T15:30:31
rust-lang/rust
9fed91fde0c72ef60c3c7931d34a9e841e0b00e7
10fa3c449f6b1613b352a6cbf78d3d91fd9a1d81
docs: fix incorrect stability markers on `std::{todo, matches}` This regression appeared in 916cfbcd3ed95a737b5a62103bbc4118ffe1eb2b. The change is behaving as expected (a non-glob re-export uses the stability marker on the `use` item, not the original one), but this part of the standard library didn't follow it.
[ { "path": "library/std/src/lib.rs", "patch": "@@ -704,8 +704,14 @@ pub use core::cfg_match;\n reason = \"`concat_bytes` is not stable enough for use and is subject to change\"\n )]\n pub use core::concat_bytes;\n+#[stable(feature = \"matches_macro\", since = \"1.42.0\")]\n+#[allow(deprecated, deprecated...
2025-04-26T21:56:17
golang/go
543e0983204d401c012ed4693f0e69956d357886
40d5e6d4e28eba538ec124d0e437dead63b0206e
go/types: fix potential bugs in santitizer pass This is a port of CL 317329 to go/types. Change-Id: I1ba65284c91044f0ceed536da4149ef25e1f9502 Reviewed-on: https://go-review.googlesource.com/c/go/+/317291 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Robert G...
[ { "path": "src/go/types/sanitize.go", "patch": "@@ -67,13 +67,17 @@ func sanitizeInfo(info *Info) {\n type sanitizer map[Type]Type\n \n func (s sanitizer) typ(typ Type) Type {\n+\tif typ == nil {\n+\t\treturn nil\n+\t}\n+\n \tif t, found := s[typ]; found {\n \t\treturn t\n \t}\n \ts[typ] = typ\n \n \tswitch...
2021-05-05T19:01:37
nodejs/node
b75bde3bc55efe263f65b7990177bd05be822a48
43cc6bc9f313abc014271f75e8fdfd16dfd6c108
test: add support for NODE_TEST_DIR on a separate mount point Linux permits a filesystem to be mounted at multiple points, but `fs.renameSync` does not work across different mount points, even if the same filesystem is mounted on both. This fixes failing tests when NODE_TEST_DIR mount point is different from the one o...
[ { "path": "test/parallel/test-fs-copyfile.js", "patch": "@@ -64,7 +64,7 @@ try {\n } catch (err) {\n assert.strictEqual(err.syscall, 'copyfile');\n assert(err.code === 'ENOTSUP' || err.code === 'ENOTTY' ||\n- err.code === 'ENOSYS');\n+ err.code === 'ENOSYS' || err.code === 'EXDEV');\n assert.str...
2018-06-26T22:51:21
huggingface/transformers
d228f50acc9dcc19e4c8e9b9427e9f309ac66dd5
a5dfb98977960d3fdc0916146239133ab1d9057e
Fixing gated repo issues (#37463) using unsloth model
[ { "path": "tests/quantization/quark_integration/test_quark.py", "patch": "@@ -19,7 +19,6 @@\n is_torch_available,\n require_accelerate,\n require_quark,\n- require_read_token,\n require_torch_gpu,\n require_torch_multi_gpu,\n slow,\n@@ -44,7 +43,7 @@ def test_commmon_args(self):\n...
2025-04-14T15:19:10
vercel/next.js
1930a950a1a1d4d58159b623830f28faf40e8ecb
57515a767a1638d69a69d6478516e52a66bfbfb0
Provide error hints for invalid layout props via the TS plugin (#43835) This PR adds named slot detection in the TS plugin, so we can hint layout props too. Note that `test` is valid but `invalid` shows an inline error here: ![CleanShot 2022-12-08 at 00 30 22@2x](https://user-images.githubusercontent.com/3676859...
[ { "path": "packages/next/server/next-typescript.ts", "patch": "@@ -9,6 +9,7 @@\n */\n \n import path from 'path'\n+import fs from 'fs'\n \n const DISALLOWED_SERVER_REACT_APIS: string[] = [\n 'useState',\n@@ -30,6 +31,7 @@ const DISALLOWED_SERVER_REACT_APIS: string[] = [\n const ALLOWED_EXPORTS = ['config...
2022-12-08T00:18:39
rust-lang/rust
8608a3f637871c157b030f5661231f8261ca9797
5ae50d3b2182f81eea4e4d90e8da3653547215b5
lint-docs: Don't hard-code the valid editions This removes the hard-coded list of edition support in the lint-docs tool, and instead just assumes the edition attribute is something valid. There isn't a real reason to have this, as rustc will error if given a wrong number. This should be easier to maintain going forwar...
[ { "path": "src/tools/lint-docs/src/lib.rs", "patch": "@@ -444,21 +444,15 @@ impl<'a> LintExtractor<'a> {\n fs::write(&tempfile, source)\n .map_err(|e| format!(\"failed to write {}: {}\", tempfile.display(), e))?;\n let mut cmd = Command::new(self.rustc_path);\n- if options...
2025-04-26T21:08:36
golang/go
40d5e6d4e28eba538ec124d0e437dead63b0206e
784ef4c53135644d70f3476a4bd90010b9acff66
cmd/compile/internal/types2: fix potential bugs in santitizer pass Change-Id: I88c5e1f620d0f3546ac9ac7b6a4b881772a38449 Reviewed-on: https://go-review.googlesource.com/c/go/+/317329 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> ...
[ { "path": "src/cmd/compile/internal/types2/sanitize.go", "patch": "@@ -67,13 +67,17 @@ func sanitizeInfo(info *Info) {\n type sanitizer map[Type]Type\n \n func (s sanitizer) typ(typ Type) Type {\n+\tif typ == nil {\n+\t\treturn nil\n+\t}\n+\n \tif t, found := s[typ]; found {\n \t\treturn t\n \t}\n \ts[typ] ...
2021-05-05T18:54:51
nodejs/node
43cc6bc9f313abc014271f75e8fdfd16dfd6c108
3504850a00d3d9e47ade7011ce6ec2cb047a853d
crypto: prevent Sign::SignFinal from crashing The validation logic could be tricked into assuming an option was valid using malicious getters, leading to an invalid value being passed to the C++ layer, thus crashing the process. PR-URL: https://github.com/nodejs/node/pull/21815 Reviewed-By: Anna Henningsen <anna@adda...
[ { "path": "lib/internal/crypto/sig.js", "patch": "@@ -57,10 +57,11 @@ function getSaltLength(options) {\n \n function getIntOption(name, defaultValue, options) {\n if (options.hasOwnProperty(name)) {\n- if (options[name] === options[name] >> 0) {\n- return options[name];\n+ const value = option...
2018-07-14T16:59:39
huggingface/transformers
a5dfb98977960d3fdc0916146239133ab1d9057e
a53a63c9c2dba832891ba34f8b39286ad7869fb1
Fix wrong argparse type in modular checker script (#37472) fix(util): wrong argparse type in modular checker script
[ { "path": "utils/check_modular_conversion.py", "patch": "@@ -115,7 +115,7 @@ def guaranteed_no_diff(modular_file_path, dependencies, models_in_diff):\n if __name__ == \"__main__\":\n parser = argparse.ArgumentParser(description=\"Compare modular_xxx.py files with modeling_xxx.py files.\")\n parser.a...
2025-04-14T15:11:29
vercel/next.js
a752f4dac776a4243defc15faaafb5c044d9b2d0
2332272ae1d14ba204b05157b8599b96c3d095c4
ci(actions): pin prod-test action image (#43748) ## Bug Test(Production) CI fails with error ``` Package libicu66 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'ttf-unifont' has no install...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -617,7 +617,7 @@ jobs:\n \n testFirefox:\n name: Test Firefox (production)\n- runs-on: ubuntu-latest\n+ runs-on: ubuntu-20.04\n needs: [build, build-native-test]\n timeout-minutes: 10\n env:\n@@ -642,7 +642,7 @@ jobs:\...
2022-12-07T22:00:33
rust-lang/rust
9a00c99ba21ccccbd2d9f430aa6483f97f52829c
1925c25a517e0e6b9a6e0b9adc7be368e41d1b0f
feat: adds an assist to remove underscores from used variables adds an assist that suggests removing any underscore prefixes from used variables.
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/remove_underscore.rs", "patch": "@@ -0,0 +1,191 @@\n+use ide_db::{\n+ assists::AssistId,\n+ defs::{Definition, NameClass, NameRefClass},\n+};\n+use syntax::{AstNode, ast};\n+\n+use crate::{AssistContext, Assists};\n+\n+// Assist: remov...
2025-04-25T19:09:08
electron/electron
75fcafa013702329d365cda3fdafac5bd264aed7
05216630765a52b8f3115cf288530b6729ba5323
The source_root was wrong computed Using 'SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))' leads to an empty string if the path is relative.
[ { "path": "script/build.py", "patch": "@@ -7,7 +7,7 @@\n \n \n CONFIGURATIONS = ['Release', 'Debug']\n-SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))\n+SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n \n \n def main():", "additions": 1, "deletions": 1, "langu...
2014-05-13T23:07:26
golang/go
784ef4c53135644d70f3476a4bd90010b9acff66
95dde3f0290b0df797770afc899ae977ed89833e
net/http: ignore directory path when parsing multipart forms Fixes #45789 Change-Id: Id588f5dbbecf5fbfb54e957c53903aaa900171f2 Reviewed-on: https://go-review.googlesource.com/c/go/+/313809 Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Rev...
[ { "path": "src/mime/multipart/multipart.go", "patch": "@@ -20,6 +20,7 @@ import (\n \t\"mime\"\n \t\"mime/quotedprintable\"\n \t\"net/textproto\"\n+\t\"path/filepath\"\n \t\"strings\"\n )\n \n@@ -67,13 +68,20 @@ func (p *Part) FormName() string {\n \treturn p.dispositionParams[\"name\"]\n }\n \n-// FileName...
2021-04-26T22:46:22
nodejs/node
cf37945b121d23c044cd04ac79cd5ab312a34cbe
4107bb463e857eba3ae05f1be7a5afc1050e1555
src: include cwd in chdir error message Include the current working directory in the error message for a failing `process.chdir()` since that is usually information relevant for debugging. This is semver-major because it moves properties of the error message object. Inspired by https://github.com/nodejs/help/issues/...
[ { "path": "src/node_process.cc", "patch": "@@ -47,6 +47,13 @@ using v8::Value;\n // used in Hrtime() below\n #define NANOS_PER_SEC 1000000000\n \n+#ifdef _WIN32\n+/* MAX_PATH is in characters, not bytes. Make sure we have enough headroom. */\n+#define CHDIR_BUFSIZE (MAX_PATH * 4)\n+#else\n+#define CHDIR_BUF...
2018-06-25T16:13:37
huggingface/transformers
1efcfa9ca48e014e2261db1f93ca95d801e8a342
86064035f04349c7e17a531382341023a8eecf54
Fix mask handling for flex attention in llama/gemma2/mistral/qwen2 (#37381) * fix BlockMask handling when using flex_attention for llama/mistral/gemma2 * fix attention_mask types * revert type hints and fixup * remove unnecessary assertion
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -781,12 +781,15 @@ def forward(self, x, position_ids):\n [`PreTrainedTokenizer.__call__`] for details.\n \n [What are input IDs?](../glossary#input-ids)\n- attention_mask (`torch.Tensor` of shape `(batch_s...
2025-04-14T14:53:27
vercel/next.js
2332272ae1d14ba204b05157b8599b96c3d095c4
cd0ebd8e8cf922360a6d3150b29c90013cd92d48
Do not attach CSS checksum for production build (#43827) The flight CSS dev loader only does one thing: adding a checksum string to the module exports to make sure the content hash updates during development (so we can trigger HMR properly). This loader is not needed for production builds. This PR makes sure that the...
[ { "path": "packages/next/build/webpack/loaders/next-flight-css-dev-loader.ts", "patch": "@@ -5,25 +5,32 @@\n */\n \n export function pitch(this: any) {\n- const content = this.fs.readFileSync(this.resourcePath)\n- this.data.__checksum = (\n- typeof content === 'string' ? Buffer.from(content) : content...
2022-12-07T20:28:10
electron/electron
64bc157d1ae56d171a7798f12e490d09d89ef291
cf887379e18de3565f2748ba8ee5ea8f58826057
Only open url in browser for GET request, fixes #299.
[ { "path": "atom/renderer/atom_renderer_client.cc", "patch": "@@ -150,7 +150,10 @@ bool AtomRendererClient::ShouldFork(WebKit::WebFrame* frame,\n bool is_server_redirect,\n bool* send_referrer) {\n // Handle all the navigations and rel...
2014-05-13T06:45:30
golang/go
95dde3f0290b0df797770afc899ae977ed89833e
d0583b131a1c4c99249aa1b158492cd99d7ee904
cmd/compile: do not substitute OGOTO inside a closure when inlining The inlsubst already does the same thing for OLABEL, so we must do the same thing for OGOTO. Otherwise, new inlined OGOTO node will be associated with non-existed label. Fixes #45947 Change-Id: I40eef095f57fd3438c38a0b5d9751d5d7ebf759e Reviewed-on: ...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -1394,6 +1394,10 @@ func (subst *inlsubst) node(n ir.Node) ir.Node {\n \t\treturn ir.NewBlockStmt(base.Pos, init)\n \n \tcase ir.OGOTO:\n+\t\tif subst.newclofn != nil {\n+\t\t\t// Don't do special substitutions if inside a closure\n+\t\t\tbrea...
2021-05-05T02:23:52
huggingface/transformers
86064035f04349c7e17a531382341023a8eecf54
7cc9e61a3a58df2faebee20a8da102e8176e3813
[bug] deprecated deta load_cuda_kernel, MultiScaleDeformableAttention (#37443) * Update modeling_deta.py * variable initialization
[ { "path": "src/transformers/models/deprecated/deta/modeling_deta.py", "patch": "@@ -67,7 +67,7 @@ def load_cuda_kernels():\n ]\n ]\n \n- load(\n+ MultiScaleDeformableAttention = load(\n \"MultiScaleDeformableAttention\",\n src_files,\n with_cuda=True,", "additio...
2025-04-14T14:44:30
nodejs/node
210fea51f40e62da07b18bef57e0dbb0184c5b4b
9a34c5b8d57117ede5deb87c9798dbadbc030050
test: fix build warnings in bigint N-API test PR-URL: https://github.com/nodejs/node/pull/21796 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Kyle Farnung <kfarnung@microsoft.com> Reviewed-By: Gus Caplan <me@gus.ho...
[ { "path": "test/addons-napi/test_bigint/test_bigint.c", "patch": "@@ -8,7 +8,7 @@\n static napi_value IsLossless(napi_env env, napi_callback_info info) {\n size_t argc = 2;\n napi_value args[2];\n- NAPI_CALL(env, napi_get_cb_info(env, info, &argc, &args, NULL, NULL));\n+ NAPI_CALL(env, napi_get_cb_inf...
2018-07-13T18:03:17
vercel/next.js
cd0ebd8e8cf922360a6d3150b29c90013cd92d48
a704b71cbacb8b3c5d10bd6fb2eaacee8cecc086
Implement loadable with lazy and suspense for next dynamic (#42589) ### Summary Migrate `next/dynamic` to implementation based on `React.lazy` and `Suspense`. Then it becomes easier to migrate the existing code in pages to layouts. Then we can support both `ssr` and `loading` option for `next/dynamic`. For `l...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -185,7 +185,6 @@ where\n next_dynamic::next_dynamic(\n opts.is_development,\n opts.is_server,\n- opts.server_components.is_some(),\n file.name.clone(),\n opts.pages_dir.clone...
2022-12-07T18:42:10
electron/electron
90477321fe252fa65f1407b1fe01cf2ee6053092
47cbcd5278154e0deb5167d6d55a600ce22d29fa
gtk: Show the menu after it has been added to window, fixes #292.
[ { "path": "atom/browser/native_window_gtk.cc", "patch": "@@ -321,6 +321,7 @@ void NativeWindowGtk::SetMenu(ui::MenuModel* menu_model) {\n menu_.reset(new ::MenuGtk(this, menu_model, true));\n gtk_box_pack_start(GTK_BOX(vbox_), menu_->widget(), FALSE, FALSE, 0);\n gtk_box_reorder_child(GTK_BOX(vbox_), ...
2014-05-12T13:31:46
huggingface/transformers
7cc9e61a3a58df2faebee20a8da102e8176e3813
4e538409203402058d1ee75c57e03dd908eac508
Add Fast Image Processor for Donut (#37081) * add donut fast image processor support * run make style * Update src/transformers/models/donut/image_processing_donut_fast.py Co-authored-by: Parteek <parteekkamboj112@gmail.com> * update test, remove none default values * add do_align_axis = True test, fix bug in slo...
[ { "path": "docs/source/en/model_doc/donut.md", "patch": "@@ -208,6 +208,11 @@ print(answer)\n [[autodoc]] DonutImageProcessor\n - preprocess\n \n+## DonutImageProcessorFast\n+\n+[[autodoc]] DonutImageProcessorFast\n+ - preprocess\n+\n ## DonutFeatureExtractor\n \n [[autodoc]] DonutFeatureExtractor", ...
2025-04-14T14:24:01
nodejs/node
d94950e960e41a90c4dd5030795ecfb733ff1e8e
31ecf630d05ba3a849d7b5cc1bd11ba1e5eb0785
http2: fix issues with aborted `respondWithFile()`s PR-URL: https://github.com/nodejs/node/pull/21561 Fixes: https://github.com/nodejs/node/issues/20824 Fixes: https://github.com/nodejs/node/issues/21560 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-B...
[ { "path": "src/node_http2.cc", "patch": "@@ -2060,10 +2060,9 @@ int Http2Stream::DoWrite(WriteWrap* req_wrap,\n uv_buf_t* bufs,\n size_t nbufs,\n uv_stream_t* send_handle) {\n- CHECK(!this->IsDestroyed());\n CHECK_NULL(send_handle...
2018-06-27T10:55:33
golang/go
f34fe8e370f8bd910640fa49bb4d93e910145193
4c9791299d418c7434bebe59a9a481b7a246e33b
all: update vendored dependencies for Go 1.17 The Go 1.17 freeze has begun. This is a time to update all golang.org/x/... module versions that contribute packages to the std and cmd modules in the standard library to latest master versions. updatestd --branch master --goroot=$HOME/development/goroot > go version ...
[ { "path": "src/cmd/go.mod", "patch": "@@ -8,8 +8,8 @@ require (\n \tgolang.org/x/arch v0.0.0-20210502124803-cbf565b21d1e\n \tgolang.org/x/crypto v0.0.0-20210503195802-e9a32991a82e // indirect\n \tgolang.org/x/mod v0.4.3-0.20210504181020-67f1c1edc27a\n-\tgolang.org/x/sys v0.0.0-20210423082822-04245dca01da //...
2021-05-05T14:48:13
vercel/next.js
d798df838f9c2253d49af0afd43121517d86de34
476bb09b090c444e7aea3cdaf759a8b68272e378
Fix test binary generation and update test config (#43790) Leverages the playwright container more to avoid the flaky setup step for the necessary dependencies. Also fixes the dev binary generating from https://github.com/vercel/next.js/pull/43745 x-ref: https://github.com/vercel/next.js/actions/runs/3633110048/...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -624,30 +624,20 @@ jobs:\n BROWSER_NAME: 'firefox'\n NEXT_TELEMETRY_DISABLED: 1\n steps:\n- - name: Setup node\n- uses: actions/setup-node@v3\n- if: ${{needs.build.outputs.docsChange == 'nope'}}\n- wi...
2022-12-07T16:43:19
nodejs/node
b70367e8cf0f4eae8a4f0c92b1a8a1fa59fec288
9c5019995c59f81f54719cefcc19c330fdf02635
doc: add documentation for buffer.byteOffset Also document a common issue when casting a Buffer object to a TypedArray object. Fixes: https://github.com/nodejs/node/issues/19301 PR-URL: https://github.com/nodejs/node/pull/21718 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca...
[ { "path": "doc/api/buffer.md", "patch": "@@ -992,6 +992,31 @@ console.log(buffer.buffer === arrayBuffer);\n // Prints: true\n ```\n \n+### buf.byteOffset\n+\n+* {integer} The `byteOffset` on the underlying `ArrayBuffer` object based on\n+ which this `Buffer` object is created.\n+\n+When setting `byteOffset...
2018-07-09T13:31:18
golang/go
caf4c9434b0c9b3f27e1c5e620b2acb0e46a74bb
66ce8aa88d144338868b0d3ab8c895608a460750
cmd/compile: debug trace output for -N variable location gen Add some rudimentary debug trace output for -N location list generation if "-d=ssa/locationlists" is set. Updates #45948. Change-Id: If1a95730538a6e7def7ebe1ece1a71da8e5f0975 Reviewed-on: https://go-review.googlesource.com/c/go/+/317089 Trust: Than McIntos...
[ { "path": "src/cmd/compile/internal/ssa/debug.go", "patch": "@@ -1356,6 +1356,12 @@ func BuildFuncDebugNoOptimized(ctxt *obj.Link, f *Func, loggingEnabled bool, sta\n \t\treturn &fd\n \t}\n \n+\tstate := debugState{f: f}\n+\n+\tif loggingEnabled {\n+\t\tstate.logf(\"generating -N reg param loc lists for fun...
2021-05-05T00:38:24
huggingface/transformers
4e538409203402058d1ee75c57e03dd908eac508
1897a02d83dd7d3cae62b1a4882df61dcc15f3b8
Detect and fix most `_init_weights()` issues - make it work for composite models (#37070) * Update test_modeling_common.py * Fix Llama and its modular children * Update test_modeling_common.py * qwen3 * first try at prioritizing models * Update test_modeling_common.py * Update test_modeling_common.py * Update t...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2449,6 +2449,37 @@ def _initialize_weights(self, module):\n self._init_weights(module)\n module._is_hf_initialized = True\n \n+ @torch.no_grad()\n+ def initialize_weights(self):\n+ \"\"\"\n+ This is equivalent ...
2025-04-14T14:19:04
vercel/next.js
476bb09b090c444e7aea3cdaf759a8b68272e378
56ea306167d5c203e63360caac94e19b8587c2af
Fix HMR issue after patching the client module (#43819) Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
[ { "path": "packages/next/client/app-index.tsx", "patch": "@@ -29,7 +29,10 @@ __webpack_require__.u = (chunkId: any) => {\n // Ignore the module ID transform in client.\n // eslint-disable-next-line no-undef\n // @ts-expect-error TODO: fix type\n-self.__next_require__ = __webpack_require__\n+self.__next_requ...
2022-12-07T16:34:56
electron/electron
7c77ab060a26dadc4b4aab18c5ba1f222fd3bbe2
ff9450305e97d3e09aecd3d5a41404a159c69bc7
Fixed typo in BrowserWindow API Documentation
[ { "path": "docs/api/browser-window.md", "patch": "@@ -295,7 +295,7 @@ Returns the title of the native window.\n **Note:** The title of web page can be different from the title of the native\n **window.\n \n-### BrowserWindow.flashFlame()\n+### BrowserWindow.flashFrame()\n \n Flashes the window to attract us...
2014-05-10T18:18:40
huggingface/transformers
7bff4bdcf661eb0595110acf536e83c53b99deb6
e16775d103e4d0c04e72ba92586b808524c86f2d
Fixed broken links (#37466) * Update broken link * Update broken link
[ { "path": "docs/source/ar/gguf.md", "patch": "@@ -77,7 +77,7 @@ model = AutoModelForCausalLM.from_pretrained(model_id, gguf_file=filename)\n \n الآن لديك إمكانية الوصول إلى النسخة الكامل غير المكممة للنموذج في بيئة PyTorch، حيث يمكنك دمجه مع مجموعة كبيرة من الأدوات الأخرى.\n \n-لإعادة التحويل إلى ملف `gguf`...
2025-04-14T13:16:07
nodejs/node
43ee4d692afb7bae224e529c6088d3890b4ea31f
7eeb7948b3a9f29334612a79f349178888df5f7e
assert: improve simple assert 1) If simple assert is called in the very first line of a file and it causes an error, it used to report the wrong code. The reason is that the column that is reported is faulty. This is fixed by subtracting the offset from now on in such cases. 2) The actual code read is now limited to ...
[ { "path": "lib/assert.js", "patch": "@@ -35,6 +35,10 @@ const { NativeModule } = require('internal/bootstrap/loaders');\n \n let isDeepEqual;\n let isDeepStrictEqual;\n+let parseExpressionAt;\n+let findNodeAround;\n+let columnOffset = 0;\n+let decoder;\n \n function lazyLoadComparison() {\n const comparis...
2018-07-02T18:29:57
golang/go
66ce8aa88d144338868b0d3ab8c895608a460750
4df662fb373480b5055e645120558bb536fae42c
cmd/compile: handle degenerate entry blocks in -N debug gen The code that created DWARF debug var locations for input parameters in the non-optimized case for regabi was not doing the right thing for degenerate functions with infinite loops. Detect these cases and don't try to emit the normal location data. Fixes #45...
[ { "path": "src/cmd/compile/internal/ssa/debug.go", "patch": "@@ -1362,9 +1362,6 @@ func BuildFuncDebugNoOptimized(ctxt *obj.Link, f *Func, loggingEnabled bool, sta\n \t// Locate the value corresponding to the last spill of\n \t// an input register.\n \tafterPrologVal := locatePrologEnd(f)\n-\tif afterProlog...
2021-05-04T20:18:56
vercel/next.js
56ea306167d5c203e63360caac94e19b8587c2af
2022fa6d45044b75be6c83b8b3829311eef746c3
Display error digest if presented (#43742) Co-authored-by: Shu Ding <g@shud.in> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "packages/next/client/components/error-boundary.tsx", "patch": "@@ -70,7 +70,7 @@ export function ErrorBoundary({\n return <>{children}</>\n }\n \n-const styles: { [k: string]: React.CSSProperties } = {\n+const styles = {\n error: {\n fontFamily:\n '-apple-system, BlinkMacSystemFont,...
2022-12-07T16:34:25
huggingface/transformers
a5079a2c84e9ca5c88a1ca124823e4a89626bd7b
e7f5724efd6d607805632234fda6a07d5d3f1791
[ci] fix doc builder (#37489) happy doc ci
[ { "path": "src/transformers/models/qwen2_5_omni/configuration_qwen2_5_omni.py", "patch": "@@ -933,6 +933,7 @@ class Qwen2_5OmniToken2WavConfig(PretrainedConfig):\n \n >>> # Accessing the model configuration\n >>> configuration = model.config\n+ ```\n \"\"\"\n \n model_type = \"qwen2_5_omn...
2025-04-14T11:49:31
nodejs/node
7eeb7948b3a9f29334612a79f349178888df5f7e
db495896249b29a93d8013b5ee2067ecf87ed081
console: fix timeEnd() not coercing the input The input of console.timeEnd() was not coerced to a string. That way labels were not found and the entry was not removed anymore. PR-URL: https://github.com/nodejs/node/pull/21779 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail...
[ { "path": "lib/console.js", "patch": "@@ -236,20 +236,22 @@ Console.prototype.time = function time(label = 'default') {\n };\n \n Console.prototype.timeEnd = function timeEnd(label = 'default') {\n+ // Coerces everything other than Symbol to a string\n+ label = `${label}`;\n const hasWarned = timeLogImp...
2018-07-12T14:56:15
golang/go
4df662fb373480b5055e645120558bb536fae42c
bb5e45219af69135c389c6b68f9a67207bb32e05
cmd/go: don't crash when running "go version" in deleted directory If the go command is executed on Linux in a deleted directory, it fails. This behavior is reasonable for commands which depend on the CWD, but it's unexpected for commands like `go version`. This change delays initialization of a global CWD variable. ...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2832,3 +2832,25 @@ func TestCoverpkgTestOnly(t *testing.T) {\n \ttg.grepStderrNot(\"no packages being tested depend on matches\", \"bad match message\")\n \ttg.grepStdout(\"coverage: 100\", \"no coverage\")\n }\n+\n+// Regression test for golang.org/issue/344...
2020-11-08T21:12:38
vercel/next.js
2a230397c03fa2ee5557d33cac73092b4248e884
dbc833440c7ce7a0ffbd5c48535083ece458ff3d
Assign layer to app client entries (#43197) This is one of the required changes to refactor bundling strategy for pages and app. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implem...
[ { "path": "packages/next/build/entries.ts", "patch": "@@ -19,7 +19,7 @@ import {\n SERVER_RUNTIME,\n WEBPACK_LAYERS,\n } from '../lib/constants'\n-import { RSC_MODULE_TYPES } from '../shared/lib/constants'\n+import { APP_CLIENT_INTERNALS, RSC_MODULE_TYPES } from '../shared/lib/constants'\n import {\n ...
2022-12-07T14:20:50
huggingface/transformers
4b8c6d4cf8c779bf0895deb980669f5b2cb5d182
ac1df5fccd15b99887ca136a64f47d5b8c2f152b
Add Qwen2.5-Omni (#36752) * Add qwen2.5-omni * Remove einops dependency * Add torchdiffeq dependency * Sort init * Add torchdiffeq to extras['diffeq'] * Fix repo consistency * use cached_file * del odeint * renew pytest * format * Remove torchdiffeq * format * fixed batch infer bug * Change positional_emb...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -993,6 +993,8 @@\n title: Pix2Struct\n - local: model_doc/pixtral\n title: Pixtral\n+ - local: model_doc/qwen2_5_omni\n+ title: Qwen2.5-Omni\n - local: model_doc/qwen2_5_vl\n title: Qwen2.5-VL\n - loc...
2025-04-14T10:36:41
golang/go
137be7712f479dc820ef56c818913a98fa24b80e
cb0658e624e33ca3e96036dbdd48b1282acb189d
embed/internal/embedtest: add test for embedded path starting with dash Fixes #45447 Change-Id: I1b1a0a844ee4345ced1a007bbe53db035183175f Reviewed-on: https://go-review.googlesource.com/c/go/+/311529 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@...
[ { "path": "src/embed/internal/embedtest/embed_test.go", "patch": "@@ -102,12 +102,12 @@ func TestHidden(t *testing.T) {\n \tt.Logf(\"//go:embed testdata\")\n \n \ttestDir(t, dir, \"testdata\",\n-\t\t\"ascii.txt\", \"glass.txt\", \"hello.txt\", \"i/\", \"ken.txt\")\n+\t\t\"-not-hidden/\", \"ascii.txt\", \"gl...
2021-04-19T19:20:18
nodejs/node
db495896249b29a93d8013b5ee2067ecf87ed081
df97126173918ad589c5ceb234204f66d0c5afac
console,util: avoid pair array generation in C++ Use a plain `[key, value, key, value]`-style list instead of an array of pairs for inspecting collections. This also fixes a bug with `console.table()` where inspecting a non-key-value `MapIterator` would have led to odd results. PR-URL: https://github.com/nodejs/node...
[ { "path": "lib/console.js", "patch": "@@ -363,17 +363,27 @@ Console.prototype.table = function(tabularData, properties) {\n const getIndexArray = (length) => ArrayFrom({ length }, (_, i) => inspect(i));\n \n const mapIter = isMapIterator(tabularData);\n+ let isKeyValue = false;\n+ let i = 0;\n if (m...
2018-05-18T22:55:54
vercel/next.js
b168c37cb537d0a467bf83d05add783abc289f77
08d270cdeb7808891105f928dd2b8a91ebebc905
Fix chunk hash logic in hot-reloader for server components (#43778) Previously we were assuming that `serverOnlyChanges` is the same as "server component changes". However that's not always true, as one can change a component from server component to client component, or vice versa, where the change affects both se...
[ { "path": "packages/next/server/dev/hot-reloader.ts", "patch": "@@ -18,7 +18,7 @@ import {\n import { watchCompilers } from '../../build/output'\n import * as Log from '../../build/output/log'\n import getBaseWebpackConfig from '../../build/webpack-config'\n-import { APP_DIR_ALIAS } from '../../lib/constant...
2022-12-07T12:13:31
huggingface/transformers
ac1df5fccd15b99887ca136a64f47d5b8c2f152b
1ef64710d23d61f4c2df0c9faf66bdb12effafdc
Fix tests failed with gated repos. (#37484) * fix * slow --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -34,6 +34,7 @@\n require_accelerate,\n require_flash_attn,\n require_optimum_quanto,\n+ require_read_token,\n require_torch,\n require_torch_accelerator,\n require_torch_gpu,\n@@ -4283,6 +4284,8 @@ def test_generate_compile_...
2025-04-14T10:08:13
golang/go
62a87f64b97d27e79d53a84e9006425aa234d7e6
6a6aa3278356e850f7530e75e857f539bf8cb51e
cmd/go/internal/modload: only check root-promotion during tidy for lazy modules In a lazy module, it is important that tidyRoots does not add any new roots because the dependencies of non-roots are pruned out. In an eager module, that property is not important (and does not hold in general) because no dependencies ar...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -1065,13 +1065,17 @@ func loadFromRoots(ctx context.Context, params loaderParams) *loader {\n \t\t\tld.errorf(\"go: %v\\n\", err)\n \t\t}\n \n-\t\t// We continuously add tidy roots to ld.requirements during loading, so at\n-\t\t// this point the ...
2021-05-04T20:41:13
nodejs/node
df97126173918ad589c5ceb234204f66d0c5afac
a8ec288884cf2e40e4ff5350ff321e59c9be7088
test: fix flaky test-debug-prompt Be sure to send `.exit` only once to avoid spurious EPIPE and possibly other errors. Fixes: https://github.com/nodejs/node/issues/21724 PR-URL: https://github.com/nodejs/node/pull/21826 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anatoli Papirovski <apapirovski@mac...
[ { "path": "test/sequential/test-debug-prompt.js", "patch": "@@ -7,9 +7,12 @@ const spawn = require('child_process').spawn;\n const proc = spawn(process.execPath, ['inspect', 'foo']);\n proc.stdout.setEncoding('utf8');\n \n+let needToSendExit = true;\n let output = '';\n proc.stdout.on('data', (data) => {\n ...
2018-07-15T17:52:36
vercel/next.js
738de0164f18e3bad95106a400fa43ca863fb540
ba19ce3782f94d8803bd0fe91e95c23c07f80293
Remove `__webpack_exports__` from error overlay (#43715)
[ { "path": "packages/react-dev-overlay/src/middleware.ts", "patch": "@@ -216,7 +216,9 @@ export async function createOriginalStackFrame({\n sourcePosition.name ||\n // default is not a valid identifier in JS so webpack uses a custom variable when it's an unnamed default export\n // Resolve ...
2022-12-07T10:50:39
huggingface/transformers
78cea3e22c71d820d0bb6fae46a0ee793084baca
953196a43dae6a3c474165fba7d215fcbc7b7730
fix: (llama4) fix no_split_modules to be picked up for fsdpv1 and v2 sharding (#37462) fix: fix no_split_modules to be picked up for fsdpv1 and v2 sharding Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com>
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -476,6 +476,7 @@ class Llama4PreTrainedModel(PreTrainedModel):\n _supports_quantized_cache = True\n _supports_static_cache = True\n _supports_attention_backend = True\n+ _no_split_modules = [\"Llama4TextDecoderLayer\"...
2025-04-14T08:44:32
golang/go
6a6aa3278356e850f7530e75e857f539bf8cb51e
cd28ca3a4e130c88dd8f2d198050620b11d22ce4
cmd/go: add a test that reproduces the internal error in #45952 For #45952 Change-Id: I90e895e2fd10bccd947f9ee5133f942fea218a07 Reviewed-on: https://go-review.googlesource.com/c/go/+/316753 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.o...
[ { "path": "src/cmd/go/testdata/script/mod_tidy_newroot.txt", "patch": "@@ -0,0 +1,66 @@\n+# https://golang.org/issue/45952: 'go mod tidy' in an eager module failed due\n+# to an erroneous check on root completeness.\n+#\n+# Per the issue report:\n+# > It may have to do with:\n+# >\n+# > package A imports pa...
2021-05-04T20:37:29
nodejs/node
a8ec288884cf2e40e4ff5350ff321e59c9be7088
c596eb2673180d7ffbc75a4835eb1be40aa689c9
test: fix comment of fs.promises write PR-URL: https://github.com/nodejs/node/pull/21708 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M S...
[ { "path": "test/parallel/test-fs-promises-file-handle-write.js", "patch": "@@ -3,7 +3,7 @@\n const common = require('../common');\n \n // The following tests validate base functionality for the fs.promises\n-// FileHandle.read method.\n+// FileHandle.write method.\n \n const fs = require('fs');\n const { op...
2018-07-08T10:10:12
huggingface/transformers
953196a43dae6a3c474165fba7d215fcbc7b7730
aaf129cdaed0f339e1e3ef12bfe89f1e3ba4139b
Fix typing issues with SigLip2 (#37356) * Fix issues * Fix comment --------- Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
[ { "path": "src/transformers/image_processing_utils_fast.py", "patch": "@@ -691,8 +691,12 @@ def preprocess(self, images: ImageInput, **kwargs: Unpack[DefaultFastImageProces\n \n # torch resize uses interpolation instead of resample\n resample = kwargs.pop(\"resample\")\n+\n+ # Check i...
2025-04-11T21:24:23
vercel/next.js
ba19ce3782f94d8803bd0fe91e95c23c07f80293
bd9148d498c7d2ad56539c0af1d4f1595b215bc1
Force reflow when setting scrollBehavior (#43673) fixes https://github.com/vercel/next.js/issues/40719
[ { "path": "packages/next/client/components/layout-router.tsx", "patch": "@@ -127,6 +127,10 @@ class ScrollAndFocusHandler extends React.Component<{\n const htmlElement = document.documentElement\n const existing = htmlElement.style.scrollBehavior\n htmlElement.style.scrollBehavior = ...
2022-12-07T10:45:42
electron/electron
ecbb46344ca428a76e3cda82710188598ebe15eb
d9e1861aff327bbda78477eed44ac6392f6c03ad
Fix a typo
[ { "path": "docs/api/ipc-browser.md", "patch": "@@ -22,7 +22,7 @@ ipc.on('asynchronous-message', function(event, arg) {\n \n ipc.on('synchronous-message', function(event, arg) {\n console.log(arg); // prints \"ping\"\n- event.returnValue = 'pong'.\n+ event.returnValue = 'pong';\n });\n ```\n ", "add...
2014-05-10T09:47:54
golang/go
10a082aa70fb58d92fc85769983d42110d61fad1
f62739b8611a0f1c96e59eb6574422562bb46233
cmd/go: update x/mod to fix "//indirect" comment editing Fixes #45932 Change-Id: I043aecb6224348faf54c1d41fdbc00aa566089c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/316751 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google....
[ { "path": "src/cmd/go.mod", "patch": "@@ -7,7 +7,7 @@ require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639 // indirect\n \tgolang.org/x/arch v0.0.0-20210502124803-cbf565b21d1e\n \tgolang.org/x/crypto v0.0.0-20210503195802-e9a32991a82e // indirect\n-\tgolang.org/x/mod v0.4.3-0....
2021-05-04T19:57:45
nodejs/node
8babbc5e457a7cfcf7205dd574b4b93919fbf996
fb87d8aa12c8e891857c46e632d37970533f4e92
http2: remove `waitTrailers` listener after closing a stream When `writeHeader` of `Http2ServerResponse` instance are called with 204, 205 and 304 status codes an underlying stream closes. If call `end` method after sending any of these status codes it will cause an error `TypeError: Cannot read property 'Symbol(trail...
[ { "path": "lib/internal/http2/compat.js", "patch": "@@ -391,6 +391,8 @@ function onStreamCloseResponse() {\n state.closed = true;\n \n this[kProxySocket] = null;\n+\n+ this.removeListener('wantTrailers', onStreamTrailersReady);\n this[kResponse] = undefined;\n \n res.emit('finish');", "addition...
2018-07-11T14:29:42
vercel/next.js
18d41a90a48e9d181c76fada7f80458e9e4fc67c
fe0315ab8e179c3e12b3af80ebdc124cc7a5cc99
Add tests for server component HMR (#43779) Something we haven't covered in our tests. NEX-35 ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing....
[ { "path": "test/e2e/app-dir/index.test.ts", "patch": "@@ -378,6 +378,27 @@ describe('app dir', () => {\n }\n )\n ;(isDev ? describe : describe.skip)('HMR', () => {\n+ it('should HMR correctly for server component', async () => {\n+ const filePath = 'app/dashboard/index/page.js'\n+ ...
2022-12-06T23:22:46
electron/electron
74c517d186df4568acce653df226d721d32d417a
d9e1861aff327bbda78477eed44ac6392f6c03ad
Doc: grammar/content fixes in the remote module Mostly minor grammatical issues, but also some content that seems to be incorrect based on the surrounding descriptions and example code.
[ { "path": "docs/api/remote.md", "patch": "@@ -1,14 +1,14 @@\n # remote\n \n The `remote` module provides a simple way to do inter-process communication\n-between renderer process and browser process.\n-\n-In atom-shell, all GUI related modules are only available in the browser\n-process, if users want to ca...
2014-05-10T03:51:25
huggingface/transformers
623d395affc9099d0ad0223754097c1ad9b9f817
435f88f1dbc675a5484839ab9c70f48b702f5200
Add Granite Speech Support (#36801) * First pass at speech granite Add encoder / projector, rename things * Combine into one model file with causal lm outputs for forward * Add loss calc * Fix config loading Signed-off-by: Alex-Brooks <Alex.brooks@ibm.com> * Split new / old loading logic * Use transformers inte...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -823,6 +823,8 @@\n title: EnCodec\n - local: model_doc/fastspeech2_conformer\n title: FastSpeech2Conformer\n+ - local: model_doc/granite_speech\n+ title: GraniteSpeech\n - local: model_doc/hubert\n title: H...
2025-04-11T16:52:00
nodejs/node
fb87d8aa12c8e891857c46e632d37970533f4e92
d279a8fceea91a0a27158867570d8f203cb372a3
src: fix async hooks crashing when there is no node context PR-URL: https://github.com/nodejs/node/pull/19134 Fixes: https://github.com/nodejs/node/issues/19104 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
[ { "path": "src/env-inl.h", "patch": "@@ -282,6 +282,9 @@ inline void Environment::AssignToContext(v8::Local<v8::Context> context,\n const ContextInfo& info) {\n context->SetAlignedPointerInEmbedderData(\n ContextEmbedderIndex::kEnvironment, this);\n+ // Used...
2018-03-04T18:28:38
huggingface/transformers
954f31cd818c431312f452c4e10bcbc0bdde42a2
28eae8b4bdc66c0e841ce817f7faab5ef203ea68
Add XPU case to is_torch_bf16_gpu_available (#37132) * Add xpu case to is_torch_bf16_gpu_available Signed-off-by: cyy <cyyever@outlook.com> * Refine error messages Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.g...
[ { "path": "src/transformers/training_args.py", "patch": "@@ -45,6 +45,7 @@\n is_sagemaker_mp_enabled,\n is_torch_available,\n is_torch_bf16_gpu_available,\n+ is_torch_cuda_available,\n is_torch_hpu_available,\n is_torch_mlu_available,\n is_torch_mps_available,\n@@ -1683,11 +1684,1...
2025-04-11T16:28:47
electron/electron
257964d13e74e1fb401db33580b0f375077d8d52
d9e1861aff327bbda78477eed44ac6392f6c03ad
Doc: grammatical fixes in Windows build docs Minor documentation changes to fix typos and clarify some phrasing
[ { "path": "docs/development/build-instructions-windows.md", "patch": "@@ -18,14 +18,14 @@ softwares:\n * [Windows 7 SDK](http://www.microsoft.com/en-us/download/details.aspx?id=8279)\n * `Windows Headers` and `Visual C++ Compilers` are required.\n \n-The instructions bellow are executed under [cygwin](htt...
2014-05-10T02:11:17
golang/go
f62739b8611a0f1c96e59eb6574422562bb46233
8c3d217d89e718a5d9b7d8f4b1336907f15ea50c
cmd/compile: establish regabi name/value mapping for small in-params When the expand_calls phase in the SSA backend lowers prolog OpArg values into OpArgIntReg/OpArgFloatReg values, we don't always record the assocation between the new lowered value and the parameter name. This patch handles the simple case where a g...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -1714,6 +1714,21 @@ func (x *expandState) newArgToMemOrRegs(baseArg, toReplace *Value, offset int64,\n \t} else {\n \t\tw = baseArg.Block.NewValue0IA(pos, op, t, auxInt, aux)\n \t}\n+\t// If we are creating an OpArgIntReg/OpArgFloatReg t...
2021-05-04T17:24:11
huggingface/transformers
bf46e44878bd86aebcfa1eceb4a93a6e5b20e863
897874748bf49b27d5423bab4285b001229388a9
:rotating_light: :rotating_light: Allow saving and loading multiple "raw" chat template files (#36588) * Add saving in the new format (but no loading yet!) * Add saving in the new format (but no loading yet!) * A new approach to template files! * make fixup * make fixup, set correct dir * Some progress but need t...
[ { "path": "src/transformers/models/llava_onevision/processing_llava_onevision.py", "patch": "@@ -298,13 +298,14 @@ def save_pretrained(self, save_directory, **kwargs):\n self.video_processor.save_pretrained(video_processor_path)\n \n video_processor_present = \"video_processor\" in self.attr...
2025-04-11T15:37:23
nodejs/node
d279a8fceea91a0a27158867570d8f203cb372a3
6a99e3e21c5ce13eb079c5d29db4d4fe616802fc
doc: fix vm.runInNewContext signature The `options` parameter cannot be passed without `sandbox`. PR-URL: https://github.com/nodejs/node/pull/21824 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-...
[ { "path": "doc/api/vm.md", "patch": "@@ -758,7 +758,7 @@ console.log(util.inspect(sandbox));\n // { globalVar: 1024 }\n ```\n \n-## vm.runInNewContext(code[, sandbox][, options])\n+## vm.runInNewContext(code[, sandbox[, options]])\n <!-- YAML\n added: v0.3.1\n -->", "additions": 1, "deletions": 1, ...
2018-07-15T15:27:07
electron/electron
9e0b1b864b493086f3eb05d59223e502c1c08c73
d9e1861aff327bbda78477eed44ac6392f6c03ad
Doc: Grammatical fixes to synopsys.md
[ { "path": "docs/api/synopsis.md", "patch": "@@ -4,15 +4,15 @@ All [node.js's built-in modules](http://nodejs.org/api/) are available in\n atom-shell, and third-party node modules are fully supported too (including the\n [native modules](../tutorial/use-native-node-modules.md)).\n \n-And atom-shell also prov...
2014-05-10T01:17:10
golang/go
af3237eaf9cf46e6a02a3b53447e49c55abd4f00
fe8c0e9467d8628138d54951ebb8e166c086c80b
[dev.fuzz] internal/fuzz: don't panic if types change There was a bug where if the types to fuzz were different from the types in a file in the on-disk corpus, then the code would panic. We thought this case was handled, but the final `continue` in the nested loop still allowed the invalid entry to be added to the cor...
[ { "path": "src/cmd/go/testdata/script/test_fuzz.txt", "patch": "@@ -154,6 +154,11 @@ stdout ok\n ! stdout FAIL\n ! stdout 'fatal here'\n \n+# Test fails with file containing wrong type\n+! go test -run FuzzWrongType corpustesting/fuzz_testdata_corpus_test.go\n+! stdout ^ok\n+stdout FAIL\n+\n -- noop_fuzz_te...
2021-04-27T18:34:17
vercel/next.js
fe0315ab8e179c3e12b3af80ebdc124cc7a5cc99
a19f04c5a1bbb27a9c7cbbc77a137e4a288abe1a
fix ci pnpm lock error (#43767) x-ref: https://github.com/vercel/next.js/actions/runs/3630104729/jobs/6123068544 Co-authored-by: huozhi <huozhi@users.noreply.github.com> Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "pnpm-lock.yaml", "patch": "@@ -437,26 +437,22 @@ importers:\n '@next/eslint-plugin-next': 13.0.7-canary.2\n '@rushstack/eslint-patch': ^1.1.3\n '@typescript-eslint/parser': ^5.42.0\n- eslint: ^7.23.0 || ^8.0.0\n eslint-import-resolver-node: ^0.3.6\n eslint-impor...
2022-12-06T20:13:51
huggingface/transformers
897874748bf49b27d5423bab4285b001229388a9
6a75528cbc0c3985a5ba0a436cf8974b1dac8c01
Disable kernels for quantization (#37446) fix
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -12,6 +12,8 @@ SHELL [\"sh\", \"-lc\"]\n ARG PYTORCH='2.6.0'\n # Example: `cu102`, `cu113`, etc.\n ARG CUDA='cu121'\n+# Disable kernel mapping for quantization tests\n+ENV DISABLE_KERNEL_MAPPING=1\n \n RUN apt update\n RUN apt ...
2025-04-11T14:35:38
nodejs/node
45ad8df318390b54ea6cb54b4b4b320875f9c88f
266a7e62585b975f2ea2d25473b21395f5ca5a3f
src: make heap snapshot & embedder graph accessible for tests Add methods that allow inspection of heap snapshots and a JS version of our own embedder graph. These can be used in tests and might also prove useful for ad-hoc debugging. Usage requires `--expose-internals` and prints a warning similar to our other modul...
[ { "path": "lib/internal/test/heap.js", "patch": "@@ -0,0 +1,87 @@\n+'use strict';\n+\n+process.emitWarning(\n+ 'These APIs are exposed only for testing and are not ' +\n+ 'tracked by any versioning system or deprecation process.',\n+ 'internal/test/heap');\n+\n+const { internalBinding } = require('intern...
2018-06-30T23:27:09
rust-lang/rust
ad6934791280f521ca4176b5a2d7ee5609ec4b80
91ed6060bb25d6bbab4ecf97152af265d44bf968
fix: `equatable_if_let` suggests wrongly when involving reference
[ { "path": "clippy_lints/src/equatable_if_let.rs", "patch": "@@ -68,6 +68,38 @@ fn is_structural_partial_eq<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>, other: T\n }\n }\n \n+/// Check if the pattern has any type mismatch that would prevent it from being used in an equality\n+/// check. This can happen if...
2025-03-30T07:05:59
golang/go
8c3d217d89e718a5d9b7d8f4b1336907f15ea50c
e15d1f4e641641363b8791c2caecc06a43c1c615
os: skip TestExecutableDeleted on plan9 This test deletes the running executable file, which is not safe on Plan 9. The test was working by accident prior to commit 02ab8d1, which must have changed the page reference ordering just enough to cause a new demand page-in after deletion of the file. Fixes #45941 Change-I...
[ { "path": "src/os/executable_test.go", "patch": "@@ -90,8 +90,8 @@ func init() {\n func TestExecutableDeleted(t *testing.T) {\n \ttestenv.MustHaveExec(t)\n \tswitch runtime.GOOS {\n-\tcase \"windows\":\n-\t\tt.Skip(\"windows does not support deleting running binary\")\n+\tcase \"windows\", \"plan9\":\n+\t\t...
2021-05-04T16:43:26
huggingface/transformers
6cef03ba660a0fe35d8cbcf00195410ae4c7557b
a563999a024306c6f6abec71012d0b462da3d6b2
[Regression] Fix Quark quantized model loading after refactorization (#37407)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -649,7 +649,10 @@ def _infer_parameter_dtype(\n try:\n old_param = model.get_parameter_or_buffer(param_name)\n except Exception as e:\n- if hf_quantizer is not None and hf_quantizer.quantization_config.quant_method == Quanti...
2025-04-11T11:43:36
vercel/next.js
efe1742668171f3fb4eddd5f168a9e753ac12952
ea21c662315b3f843ceec6b7c5e9d273be27330f
Update bug report template to make it clear we require repro (#43735) Co-authored-by: Steven <steven@ceriously.com>
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -48,7 +48,7 @@ body:\n - 'TypeScript'\n - type: input\n attributes:\n- label: Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster\n+ label: Link to the code th...
2022-12-06T14:07:35
nodejs/node
266a7e62585b975f2ea2d25473b21395f5ca5a3f
d2a1408f119181675d9d3f20982ccd863443baad
src: use V8 graph heap snapshot API Transition to a newer, more flexible API for heap snapshot creation. This addresses a currently pending deprecation in the V8 API. PR-URL: https://github.com/nodejs/node/pull/21741 Fixes: https://github.com/nodejs/node/issues/21633 Reviewed-By: James M Snell <jasnell@gmail.com> Re...
[ { "path": "src/async_wrap.cc", "patch": "@@ -32,7 +32,6 @@ using v8::Function;\n using v8::FunctionCallbackInfo;\n using v8::FunctionTemplate;\n using v8::HandleScope;\n-using v8::HeapProfiler;\n using v8::Integer;\n using v8::Isolate;\n using v8::Local;\n@@ -43,7 +42,6 @@ using v8::ObjectTemplate;\n using ...
2018-07-10T22:59:53
rust-lang/rust
3f72ffa80e93e22e3834eed50e3c7158e12281e3
aeb6ac9a0b259f2667240e1e59611a3ca2e056a2
fix: `unnecessary_cast` suggests extra brackets when in macro
[ { "path": "clippy_lints/src/casts/unnecessary_cast.rs", "patch": "@@ -8,7 +8,9 @@ use rustc_errors::Applicability;\n use rustc_hir::def::{DefKind, Res};\n use rustc_hir::{Expr, ExprKind, Lit, Node, Path, QPath, TyKind, UnOp};\n use rustc_lint::{LateContext, LintContext};\n+use rustc_middle::ty::adjustment::...
2025-04-17T12:30:34
golang/go
e15d1f4e641641363b8791c2caecc06a43c1c615
da7496d84128be85a4db5b6fdf9029c48c867211
internal/buildcfg: set Error instead of panicking All build environment validation sets Error except for the GOEXPERIMENT parser, which panics. Change it to also set Error so that a bad GOEXPERIMENT doesn't cause everything that imports internal/buildcfg to panic on init. Change-Id: Ie9a506ef0978ecb410f2dcd784638f216...
[ { "path": "src/internal/buildcfg/exp.go", "patch": "@@ -108,10 +108,10 @@ func parseExperiments() goexperiment.Flags {\n \t}\n \t// Check regabi dependencies.\n \tif flags.RegabiG && !flags.RegabiWrappers {\n-\t\tpanic(\"GOEXPERIMENT regabig requires regabiwrappers\")\n+\t\tError = fmt.Errorf(\"GOEXPERIMENT...
2021-04-17T01:50:46
electron/electron
d10292d95c4184dd5391e2c956007f6c1cb7bfb7
676b1e0bc7f5782183ff9aba0fc4ab2b3caa0f78
Do not receive notifications after window is closed, fixes #265.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -357,6 +357,10 @@ void NativeWindow::NotifyWindowClosed() {\n is_closed_ = true;\n FOR_EACH_OBSERVER(NativeWindowObserver, observers_, OnWindowClosed());\n \n+ // Do not receive any notification after window has been closed, there is a\n+ // cras...
2014-05-09T01:47:11
huggingface/transformers
a563999a024306c6f6abec71012d0b462da3d6b2
3c39c0793992e6183e67f064d5bcbcedfc62d8d3
[processor] clean up mulitmodal tests (#37362) * clkea up mulitmodal processor tests * fixup * fix tests * fix one last test * forgot
[ { "path": "src/transformers/models/aria/image_processing_aria.py", "patch": "@@ -31,12 +31,16 @@\n PILImageResampling,\n get_image_size,\n infer_channel_dimension_format,\n+ is_scaled_image,\n make_flat_list_of_images,\n to_numpy_array,\n valid_images,\n validate_preprocess_ar...
2025-04-11T11:32:19
vercel/next.js
cbf87e1ebfbc39db5068efdac91e1296c65beb8a
fa42c3461fdc8f02b6abf9037bfa658ad523f5a1
Build test binary in Docker image (#43745) <!-- 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 - [ ] Rela...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -923,13 +923,6 @@ jobs:\n node-version: 16\n check-latest: true\n \n- - name: Install\n- uses: actions-rs/toolchain@v1\n- if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}\n- with:\n- ...
2022-12-06T05:17:03
rust-lang/rust
148c9a198170f79de992ba6d56a859c99c64685c
6e64338a49eea12ed257805ce299cfd45b082d04
Fix error message for static references or mutable references
[ { "path": "tests/ui/checked_unwrap/simple_conditionals.stderr", "patch": "@@ -236,7 +236,7 @@ LL | if result.is_ok() {\n LL | result.as_mut().unwrap();\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n \n-error: creating a shared reference to mutable static is discouraged\n+error: creating a shared refe...
2025-04-20T01:51:19
nodejs/node
2faab111eff885ccb867bb4254cd74298aeb7379
42bded83e8b71dda885c173d33b0190cdee3d0da
src: remove defunct timer_wrap file Unused since the excellent refactoring in 2930bd, which also removed `src/timer_wrap.cc` from `node.gyp`. If you try and get at the binding on a v11.0-pre build, you'll get an error, since the file is no longer in the GYP build. ``` Jonathans-MBP:node jon$ ./node -v v11.0.0-pre Jon...
[ { "path": "src/timer_wrap.cc", "patch": "@@ -1,152 +0,0 @@\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\"), to deal in the Software...
2018-07-12T13:41:43
huggingface/transformers
f797e3d98a9f0276b691331f63b39ebbe8d4eba9
442d356aa5a32bc90ac78132e0dd95207409ed1e
Fix the test fetcher (#37452) Test fetcher
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -2378,6 +2378,7 @@ def flatten_dict(_dict, previous_key=None):\n return flattened_import_structure\n \n \n+@lru_cache()\n def define_import_structure(module_path: str, prefix: str = None) -> IMPORT_STRUCTURE_T:\n \"\"\"\n This meth...
2025-04-11T10:19:27
electron/electron
676b1e0bc7f5782183ff9aba0fc4ab2b3caa0f78
6483cd0b4337b123f43ffe06ea7ac2d076f8de09
Fix closing a crashed window, closes #269.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -307,6 +307,10 @@ void NativeWindow::CloseWebContents() {\n }\n \n content::WebContents* web_contents(GetWebContents());\n+ if (!web_contents) {\n+ CloseImmediately();\n+ return;\n+ }\n \n // Assume the window is not responding if it does...
2014-05-09T01:26:46