content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Mixed
Javascript
emit error on invalid address family
7c73cd4c70513dd4fa1f7ea13e3bb3270696eabe
<ide><path>doc/api/errors.md <ide> The `inspector` module is not available for use. <ide> While using the `inspector` module, an attempt was made to use the inspector <ide> before it was connected. <ide> <add><a id="ERR_INVALID_ADDRESS_FAMILY"></a> <add>### ERR_INVALID_ADDRESS_FAMILY <add> <add>The provided address fa...
4
Ruby
Ruby
remove unused require
1006382655487bf4afaa237920e03c1dfc8c5016
<ide><path>railties/test/application/middleware_test.rb <ide> require 'isolation/abstract_unit' <del>require 'stringio' <del>require 'rack/test' <ide> <ide> module ApplicationTests <ide> class MiddlewareTest < ActiveSupport::TestCase <ide><path>railties/test/application/queue_test.rb <ide> require 'isolation/abstrac...
2
Javascript
Javascript
add reserved words to avoid syntax errors
b77a52b43af0e29cd944358d2894bdbc41cdff25
<ide><path>lib/optimize/ConcatenatedModule.js <ide> class ConcatenatedModule extends Module { <ide> }); <ide> <ide> // List of all used names to avoid conflicts <del> const allUsedNames = new Set(["__WEBPACK_MODULE_DEFAULT_EXPORT__", "Object"]); <add> const allUsedNames = new Set([ <add> "abstract", "arguments...
1
PHP
PHP
move domain() and geturi() out of foreach loop
10a0c61cc47bfa97f8b440b6266b8a47d51239b1
<ide><path>src/Illuminate/Routing/RouteCollection.php <ide> public function add(Route $route) <ide> */ <ide> protected function addToCollections($route) <ide> { <add> $domainAndUri = $route->domain().$route->getUri(); <add> <ide> foreach ($route->methods() as $method) <ide> { <del> $domainAndUri = $route->do...
1
Python
Python
remove the staticmethod used to load the config
81ee29ee8d64c292c3fd5fc7e13b387acd1bfc39
<ide><path>transformers/modeling_bert.py <ide> class BertDecoderModel(BertPreTrainedModel): <ide> <ide> """ <ide> def __init__(self, config): <del> super(BertModel, self).__init__(config) <add> super(BertDecoderModel, self).__init__(config) <ide> <ide> self.embeddings = BertEmbeddings(co...
1
PHP
PHP
use user resolver
8327416018d07568b39aeddc8a594eb7f430090b
<ide><path>src/Illuminate/Auth/Access/Gate.php <ide> class Gate implements GateContract <ide> protected $container; <ide> <ide> /** <del> * The user instance. <add> * The user resolver callable. <ide> * <del> * @var \Illuminate\Contracts\Auth\Authenticatable <add> * @var callable <ide> ...
3
PHP
PHP
fix custom id problem in multicheckbox()
56033f0ff3f928a9be46eba4ec4706cef11f7620
<ide><path>src/View/Helper/FormHelper.php <ide> public function multiCheckbox(string $fieldName, iterable $options, array $attri <ide> 'secure' => true, <ide> ]; <ide> <add> $generatedHiddenId = false; <ide> if (!isset($attributes['id'])) { <ide> $attributes['id'] = true;...
2
Python
Python
remove old links to cdn
b5492582d05be76e19098fcbd2400bc9518afc40
<ide><path>src/transformers/models/herbert/tokenization_herbert.py <ide> } <ide> <ide> PRETRAINED_VOCAB_FILES_MAP = { <del> "vocab_file": {"allegro/herbert-base-cased": "https://cdn.huggingface.co/allegro/herbert-base-cased/vocab.json"}, <del> "merges_file": {"allegro/herbert-base-cased": "https://cdn.huggingfac...
4
Text
Text
add efficientnet to community
127c9d809dc009d6c44985455ee0f6ce1b82285e
<ide><path>community/README.md <ide> This repository provides a curated list of the GitHub repositories with machine <ide> | [ResNet 101](https://github.com/IntelAI/models/tree/master/benchmarks/image_recognition/tensorflow/resnet101) | [Deep Residual Learning for Image Recognition](https://arxiv.org/pdf/1512.03385) | ...
1
Python
Python
add example to histogram2d docstring
7eab53a8ba51089c3debc6a18523587a8ce1ba0a
<ide><path>numpy/lib/twodim_base.py <ide> def histogram2d(x, y, bins=10, range=None, normed=None, weights=None, <ide> >>> ax.images.append(im) <ide> >>> plt.show() <ide> <add> It is also possible to construct a 2-D histogram without specifying bin <add> edges: <add> <add> >>> # Generate non-symmetric ...
1
Text
Text
add referecnes for translations
e8403d4ef8e08d21db1e96a761e4ec35b70b3bd7
<ide><path>threejs/lessons/threejs-custom-buffergeometry.md <ide> I hope these were useful examples of how to use `BufferGeometry` directly to <ide> make your own geometry and how to dynamically update the contents of a <ide> `BufferAttribute`. <ide> <add><!-- needed to prevent warning from outdated translation --> <a...
1
Java
Java
fix dispatchdraw crash
dd9fd2acac35fd7a257c1c6f80c6670b2a03e039
<ide><path>ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java <ide> public class ReactFeatureFlags { <ide> <ide> /** Disable customDrawOrder in ReactViewGroup under Fabric only. */ <ide> public static boolean disableCustomDrawOrderFabric = false; <add> <add> /** Potential bugfix for crash...
3
Text
Text
revise changelog.md text
34f164f1c29f5f51520b6f68bdc107effecb1c8a
<ide><path>CHANGELOG.md <ide> # Node.js Changelog <ide> <del><!--lint disable maximum-line-length--> <del> <del>To make the changelog easier to both use and manage, it has been split into <del>multiple files organized according to significant major and minor Node.js <del>release lines. <del> <ide> Select a Node.js ver...
1
Text
Text
update wrong output of the example of code
9e5b352a862de1f1030b5ed622d559d1639371fd
<ide><path>guide/english/c/for/index.md <ide> int main () { <ide> > Item on index 1 is 2 <ide> > Item on index 2 is 3 <ide> > Item on index 3 is 4 <add>> Item on index 4 is 5 <ide> ``` <ide> ## Example for printing star pattern for pyramid <ide> ```c
1
PHP
PHP
fix more phpstan errors
7b2163012b0a63883139b03d7625809026cda2a9
<ide><path>src/Error/BaseErrorHandler.php <ide> namespace Cake\Error; <ide> <ide> use Cake\Core\Configure; <add>use Cake\Core\Exception\Exception as CoreException; <ide> use Cake\Log\Log; <ide> use Cake\Routing\Router; <ide> use Error; <ide> protected function _logException(Throwable $exception): bool <ide> <ide> ...
2
Python
Python
add some catch. should correct the issue #223
0a789bb9a1c0b7f511640c8ff3dcb9e6dc966070
<ide><path>glances/glances.py <ide> def __init__(self): <ide> """ <ide> <ide> self._init_host() <add> <add> # Init the grab error tags <add> # for managing error during stats grab <add> # By default, we *hope* that there is no error <add> self.network_error_tag = Fal...
1
Javascript
Javascript
use mustnotcall in test-http-eof-on-connect
77d575d0057692413f0c26ad90425077c40f339f
<ide><path>test/parallel/test-http-eof-on-connect.js <ide> const http = require('http'); <ide> // It is separate from test-http-malformed-request.js because it is only <ide> // reproduceable on the first packet on the first connection to a server. <ide> <del>const server = http.createServer(common.noop); <add>const se...
1
Go
Go
fix flaky test testsuccessfuldownload
0757a52737b283e56c9a8f5597e8b52c365ce1f6
<ide><path>distribution/xfer/download_test.go <ide> func TestSuccessfulDownload(t *testing.T) { <ide> <ide> progressChan := make(chan progress.Progress) <ide> progressDone := make(chan struct{}) <del> receivedProgress := make(map[string]int64) <add> receivedProgress := make(map[string]progress.Progress) <ide> <ide>...
1
Ruby
Ruby
fix wrong timezone mapping for switzerland [22233]
7de7f21e1528a9d299ae22089a371da2505a6c0c
<ide><path>activesupport/lib/active_support/values/time_zone.rb <ide> class TimeZone <ide> "Paris" => "Europe/Paris", <ide> "Amsterdam" => "Europe/Amsterdam", <ide> "Berlin" => "Europe/Berlin", <del> "Bern" =>...
1
Text
Text
add note to docs for i18n and next export
13f8732f86ad449366f29a843af32379be72cacc
<ide><path>docs/advanced-features/i18n-routing.md <ide> export const getStaticPaths = ({ locales }) => { <ide> } <ide> } <ide> ``` <add> <add>Note: i18n routing does not currently support [`next export`](https://nextjs.org/docs/advanced-features/i18n-routing) mode as you are no longer leveraging Next.js' server-side ...
1
Python
Python
fix typo in test_array_object test description
7c8e1134ae86f8a8c002e1068337bec63ddf7f0d
<ide><path>numpy/array_api/tests/test_array_object.py <ide> def test_array_keys_use_private_array(): <ide> in __getitem__(). This is achieved by passing array_api arrays with 0-sized <ide> dimensions, which NumPy-proper treats erroneously - not sure why! <ide> <del> TODO: Find and use appropiate __setitem__...
1
Javascript
Javascript
improve callback performance
656bb71867ffb7a0ce9edf5b60cb9303ec915576
<ide><path>benchmark/dns/lookup.js <add>'use strict'; <add> <add>const common = require('../common.js'); <add>const lookup = require('dns').lookup; <add> <add>const bench = common.createBenchmark(main, { <add> name: ['', '127.0.0.1', '::1'], <add> all: [true, false], <add> n: [5e6] <add>}); <add> <add>function main(...
2
Text
Text
improve react strict mode documentation.
d5dc968134db912e9ae5e8bf9659c0af461c58dc
<ide><path>docs/api-reference/next.config.js/react-strict-mode.md <ide> description: The complete Next.js runtime is now Strict Mode-compliant, learn ho <ide> <ide> > **Suggested**: We strongly suggest you enable Strict Mode in your Next.js application to better prepare your application for the future of React. <ide> ...
1
Go
Go
add marshaljson for future proofing
85733620ebea3da75abe7d732043354aa0883f8a
<ide><path>api/types/filters/parse.go <ide> func NewArgs(initialArgs ...KeyValuePair) Args { <ide> return args <ide> } <ide> <add>func (args Args) Keys() []string { <add> keys := make([]string, 0, len(args.fields)) <add> for k := range args.fields { <add> keys = append(keys, k) <add> } <add> return keys <add>} <add>...
2
PHP
PHP
remove unnecessary else
30ef35a830e279c302a00cbc22ec008873f06390
<ide><path>src/Database/Expression/WindowExpression.php <ide> public function range(?int $start, ?int $end = 0) <ide> { <ide> if (func_num_args() === 1) { <ide> return $this->frame(self::RANGE, $start, self::PRECEDING); <del> } else { <del> return $this->frame(self::RANGE, $sta...
1
Ruby
Ruby
move generic logic from linux. (#454)
11624b9a7da00448e660f1454121a63b3d401729
<ide><path>Library/Homebrew/extend/os/linux/hardware/cpu.rb <ide> module Hardware <ide> class CPU <ide> class << self <del> <del> OPTIMIZATION_FLAGS = { <del> :penryn => "-march=core2 -msse4.1", <del> :core2 => "-march=core2", <del> :core => "-march=prescott" <del> }.freeze <del> ...
3
Javascript
Javascript
add cache typings
3432c906dc8477f42820aca151fc8d1cfa96bf49
<ide><path>lib/Cache.js <ide> <ide> const { AsyncParallelHook, AsyncSeriesBailHook, SyncHook } = require("tapable"); <ide> <del>/** @typedef {(result: any, callback: (err?: Error) => void) => void} GotHandler */ <add>/** @typedef {import("./WebpackError")} WebpackError */ <add> <add>/** <add> * @template T <add> * @c...
1
Ruby
Ruby
remove unnecessary test from route_inspect_test
44591250189fd2dadc8303d094b72552d7d06543
<ide><path>railties/test/application/route_inspect_test.rb <ide> def test_redirect <ide> assert_equal " bar GET /bar(.:format) redirect(307, path: /foo/bar)", output[1] <ide> assert_equal "foobar GET /foobar(.:format) redirect(301)", output[2] <ide> end <del> <del> def test_presenter <del> ...
1
PHP
PHP
remove blank line
7f356976b6b4295a2030d4567552ec5845074974
<ide><path>src/ORM/Association/BelongsToMany.php <ide> protected function _buildQuery($options) <ide> ->where($this->junctionConditions()) <ide> ->select($query->aliasFields((array)$assoc->foreignKey(), $name)); <ide> <del> <ide> $assoc->attachTo($query); <ide> return $query; <i...
1
Javascript
Javascript
use nullish coalencing operator
6e6663b8a4f97400dee61ab961960b43caa9e962
<ide><path>benchmark/events/ee-add-remove.js <ide> 'use strict'; <ide> const common = require('../common.js'); <del>const events = require('events'); <add>const { EventEmitter } = require('events'); <ide> <del>const bench = common.createBenchmark(main, { n: [1e6] }); <add>const bench = common.createBenchmark(main, { <...
2
Text
Text
update directions on guide files location
d7e6838aa39b2727f3c8d1085ef36c38d794b464
<ide><path>docs/how-to-work-on-guide-articles.md <ide> There are two ways you can propose a change to the repository, after you edit or <ide> <ide> Watch the video demonstration or follow the steps below it: <ide> <del>**[TODO]** Update the GIF recording. <add>![GIF showing the GitHub interface steps](https://cdn-ima...
1
Ruby
Ruby
remove autotools check
f5f41f2079039699c0157b602391d7744fc7222b
<ide><path>Library/Homebrew/diagnostic.rb <ide> def check_git_origin <ide> end <ide> end <ide> <del> def check_for_autoconf <del> return unless MacOS::Xcode.installed? <del> return unless MacOS::Xcode.provides_autotools? <del> <del> autoconf = which("autoconf") <del> safe...
2
Javascript
Javascript
apply changes suggested by linter
cf6539b0963c741830e39489ac7791b22c1ab340
<ide><path>src/path-watcher.js <ide> class NSFWNativeWatcher extends NativeWatcher { <ide> } else { <ide> payload.oldPath = path.join( <ide> event.directory, <del> (typeof event.oldFile === 'undefined') ? '' : event.oldFile <add> typeof event.oldFile === 'un...
1
Javascript
Javascript
update spark.js and tween.js libraries
228ddebb885247f2ae7755869e63e534370776c9
<ide><path>examples/js/Sparks.js <ide> var SPARKS = {}; <ide> * Creates and Manages Particles <ide> *********************************/ <ide> <del> <ide> SPARKS.Emitter = function (counter) { <ide> <ide> this._counter = counter ? counter : new SPARKS.SteadyCounter(10); // provides number of particles to prod...
2
Javascript
Javascript
ensure correct syntax err for await parsing
8189dcc52abd97f30b5c8aab09d44322ea532035
<ide><path>lib/internal/repl/await.js <ide> const { <ide> ArrayPrototypePush, <ide> FunctionPrototype, <ide> ObjectKeys, <add> RegExpPrototypeSymbolReplace, <add> StringPrototypeEndsWith, <add> StringPrototypeIncludes, <add> StringPrototypeIndexOf, <add> StringPrototypeRepeat, <add> StringPrototypeSplit, <a...
3
PHP
PHP
fix trailing whitespace
0e17ccee406f7b661aea6a84d704c97528d72df4
<ide><path>src/Collection/Iterator/NoChildrenIterator.php <ide> <ide> /** <ide> * An iterator that can be used as an argument for other iterators that require <del> * a RecursiveIterator but do not want children. This iterator will <add> * a RecursiveIterator but do not want children. This iterator will <ide> * alw...
1
Text
Text
use https url
cae706d7b76f8e13e47854df54c0cf5161f8dc86
<ide><path>examples/basic-css/README.md <ide> cd basic-css <ide> or clone the repo: <ide> <ide> ```bash <del>git clone git@github.com:zeit/next.js.git --depth=1 <add>git clone https://github.com/zeit/next.js.git --depth=1 <ide> cd next.js/examples/basic-css <ide> ``` <ide> <ide><path>examples/custom-server-express/RE...
12
PHP
PHP
improve code style, doc
bb9f8c01e1cdb693b38f79e4c477d266b2a7f8ed
<ide><path>src/Validation/Validation.php <ide> public static function time($check) <ide> * <ide> * @param string|\DateTime $check a date string or object (will always pass) <ide> * @param string $type Parser type, one out of 'date', 'time', and 'datetime' <del> * @param string|int $format any format ...
1
Python
Python
remove unused module docstrings
f2f027d1fbc12f3ff24f3e471e11ac56e1a5d869
<ide><path>src/flask/__init__.py <del>""" <del> flask <del> ~~~~~ <del> <del> A microframework based on Werkzeug. It's extensively documented <del> and follows best practice patterns. <del> <del> :copyright: 2010 Pallets <del> :license: BSD-3-Clause <del>""" <del># utilities we import from Werkzeug a...
37
Javascript
Javascript
add missing super() calls
2d1a24e8dfb18359a1b0d9b626b10855fb8d8897
<ide><path>src/modern/class/__tests__/ReactES6Class-test.js <ide> describe('ReactES6Class', function() { <ide> it('renders based on state using props in the constructor', function() { <ide> class Foo extends React.Component { <ide> constructor(props) { <add> super(props); <ide> this.state = {...
1
Python
Python
add regression tesst for #947
1ace4444065fe39b01739b85189e7fc5cd9fecdd
<ide><path>numpy/core/tests/test_regression.py <ide> def test_for_zero_length_in_choose(self, level=rlevel): <ide> a = np.array(1) <ide> self.failUnlessRaises(ValueError, lambda x: x.choose([]), a) <ide> <add> @dec.knownfailureif(True, "Overflowing ndmin arg of array ctor segfaults.") <add> def t...
1
Python
Python
make 2 gpu tests num_gpu=2 (was wrong before)
25b10ebe78eaefe801278992555fbc8e31c39064
<ide><path>official/resnet/estimator_cifar_benchmark.py <ide> def resnet56_fp16_1_gpu(self): <ide> def resnet56_2_gpu(self): <ide> """Test layers model with Estimator and dist_strat. 2 GPUs.""" <ide> self._setup() <del> flags.FLAGS.num_gpus = 1 <add> flags.FLAGS.num_gpus = 2 <ide> flags.FLAGS.data_d...
1
Go
Go
change restart delay for windows service to 15s
624daf8d9e4bd164eb7cf5ce6640098277fad712
<ide><path>cmd/dockerd/service_windows.go <ide> func registerService() error { <ide> <ide> err = s.SetRecoveryActions( <ide> []mgr.RecoveryAction{ <del> {Type: mgr.ServiceRestart, Delay: 60 * time.Second}, <del> {Type: mgr.ServiceRestart, Delay: 60 * time.Second}, <add> {Type: mgr.ServiceRestart, Delay: 15 * ...
1
Javascript
Javascript
return correct label for value type axis
7bbf3cab5bb8f2c561d0a81f6408e017d815e54e
<ide><path>src/controllers/controller.bar.js <ide> module.exports = DatasetController.extend({ <ide> _updateElementGeometry: function(rectangle, index, reset) { <ide> var me = this; <ide> var model = rectangle._model; <del> var vscale = me.getValueScale(); <add> var vscale = me._getValueScale(); <ide> var base...
5
PHP
PHP
add strict typing to i18n/middleware classes
1528ec161668302119b3930f98d603d8d153bb45
<ide><path>src/I18n/Middleware/LocaleSelectorMiddleware.php <ide> <?php <add>declare(strict_types=1); <ide> /** <ide> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <ide> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <ide> public function __construct(array $locales = [...
2
Ruby
Ruby
use describe correctly
eb9a31b52b0643b3b88f75ce509145fe45fdd18d
<ide><path>Library/Homebrew/test/requirement_spec.rb <ide> end <ide> <ide> describe "#fatal?" do <del> context "#fatal true is specified" do <add> describe "#fatal true is specified" do <ide> let(:klass) do <ide> Class.new(described_class) do <ide> fatal true <ide> it { is_expec...
1
Text
Text
remove repeated info onboarding.md
8951d3e0e551308a217351e1b5c0337c8b026724
<ide><path>COLLABORATOR_GUIDE.md <ide> Collaborators or additional evidence that the issue has relevance, the <ide> issue may be closed. Remember that issues can always be re-opened if <ide> necessary. <ide> <add>[**See "Who to CC in issues"**](./onboarding-extras.md#who-to-cc-in-issues) <add> <ide> ## Accepting Modif...
2
Text
Text
add v2.17.1 to changelog.md
5112d7a4443670dbf965432540a468dc59b4e850
<ide><path>CHANGELOG.md <ide> - [#14590](https://github.com/emberjs/ember.js/pull/14590) [DEPRECATION] Deprecate using `targetObject`. <ide> - [#15754](https://github.com/emberjs/ember.js/pull/15754) [CLEANUP] Remove `router.router` deprecation. <ide> <add>### 2.17.1 (February 13, 2018) <add> <add>- [#16174](https://g...
1
Text
Text
add browserstack mention to readme and website
529ebedc906d33af9fba44d8b642c6491fa7c852
<ide><path>README.md <ide> For support using Chart.js, please post questions with the [`chartjs` tag on Sta <ide> ## Building and Testing <ide> `gulp build`, `gulp test` <ide> <add>Thanks to [BrowserStack](https://browserstack.com) for allowing our team to test on thousands of browsers. <add> <ide> ## License <ide> <...
2
Go
Go
check isterminal() for both stdin and stdout
d742c57f534352b6cad596d0c9fe8cf84044e92a
<ide><path>api/client/cli.go <ide> type DockerCli struct { <ide> in io.ReadCloser <ide> out io.Writer <ide> err io.Writer <del> isTerminal bool <del> terminalFd uintptr <ide> tlsConfig *tls.Config <ide> scheme string <add> // inFd holds file descriptor of the client's STDIN, if it's a va...
4
Javascript
Javascript
use json.stringify replacer function for nan
e1a1ed5c12dc8b9878c2deea87681906ad6f3e31
<ide><path>client/src/client/workers/test-evaluator.js <ide> const __utils = (() => { <ide> } <ide> } <ide> <add> function replacer(key, value) { <add> if (Number.isNaN(value)) { <add> return 'NaN'; <add> } <add> return value; <add> } <add> <ide> const oldLog = self.console.log.bind(self.consol...
1
Python
Python
check input to poly for zero-dimensional arrays
88c05e836e527f0780a6a1430f3dc459a215badf
<ide><path>numpy/lib/polynomial.py <ide> def poly(seq_of_zeros): <ide> """ <ide> seq_of_zeros = atleast_1d(seq_of_zeros) <ide> sh = seq_of_zeros.shape <del> if len(sh) == 2 and sh[0] == sh[1]: <add> if len(sh) == 2 and sh[0] == sh[1] and sh[0] != 0: <ide> seq_of_zeros = eigvals(seq_of_zeros) <...
2
Javascript
Javascript
use font loading api if available
d0845df971b1462c361c9a3dd8cfd42d1b03a632
<ide><path>src/display/font_loader.js <ide> * limitations under the License. <ide> */ <ide> /* globals PDFJS, shadow, isWorker, assert, warn, bytesToString, string32, <del> globalScope */ <add> globalScope, FontFace, Promise */ <ide> <ide> 'use strict'; <ide> <ide> var FontLoader = { <ide> ...
2
Ruby
Ruby
allow linkage to libnss_files.so.2 on linux
4e68a7b5bc11c26d92f15bca1bb1cd301d04dcb2
<ide><path>Library/Homebrew/extend/os/linux/linkage_checker.rb <ide> class LinkageChecker <ide> libm.so.6 <ide> libmvec.so.1 <ide> libnsl.so.1 <add> libnss_files.so.2 <ide> libpthread.so.0 <ide> libresolv.so.2 <ide> librt.so.1
1
Ruby
Ruby
add some sanity checks to the gem push script
dab1d8dcc6030a5c1f5e88744d3c40d771be23a3
<ide><path>tasks/release.rb <ide> <ide> root = File.expand_path('../../', __FILE__) <ide> version = File.read("#{root}/RAILS_VERSION").strip <add>tag = "v#{version}" <ide> <ide> directory "dist" <ide> <ide> sh "gem install #{gem}" <ide> end <ide> <add> task :prep_release => [:ensure_clean_state,...
1
Ruby
Ruby
clarify use of params in `direct`
630e709ea6cb535b45a9cbd89c08c572646f5608
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> module CustomUrls <ide> # [ :products, options.merge(params.permit(:page, :size)) ] <ide> # end <ide> # <add> # In this instance the `params` object comes from the context in which the the <add> # block is exec...
2
Text
Text
remove weird stuff
25b641125d80e77e8f7cf761df4c912c35619587
<ide><path>docs/build-instructions/windows.md <ide> fix this, you probably need to fiddle with your system PATH. <ide> * `script/build` outputs only the Node and Python versions before returning <ide> <ide> * Try moving the repository to `C:\atom`. Most likely, the path is too long. <del> This causes Weird Stuff(tm...
1
Python
Python
fix staticvectors after floret+mypy merge
bb26550e22af3e1cfc7f66dd54a607cf50822e84
<ide><path>spacy/ml/staticvectors.py <ide> def backprop(d_output: Ragged) -> List[Doc]: <ide> model.inc_grad( <ide> "W", <ide> model.ops.gemm( <del> cast(Floats2d, d_output.data), model.ops.as_contig(V[rows]), trans1=True <add> cast(Floats2d, d_output.data),...
1
Go
Go
improve error when connecting service to network
70acb89fa2e889393d33664bc780cf116795f3e4
<ide><path>daemon/cluster/cluster.go <ide> func (c *Cluster) populateNetworkID(ctx context.Context, client swarmapi.Control <ide> apiNetwork, err := getNetwork(ctx, client, n.Target) <ide> if err != nil { <ide> if ln, _ := c.config.Backend.FindNetwork(n.Target); ln != nil && !ln.Info().Dynamic() { <del> err =...
1
PHP
PHP
remove docblock duplication
ceda4940aa046b0dfb069bd7abbce6e89af0d3b0
<ide><path>src/Database/Driver/Mysql.php <ide> class Mysql extends Driver <ide> use MysqlDialectTrait; <ide> <ide> /** <del> * @var int|null Maximum alias length or null if no limit <add> * @inheritDoc <ide> */ <ide> protected const MAX_ALIAS_LENGTH = 256; <ide> <ide><path>src/Database/Driver...
3
Python
Python
fix false warnings re non-json extra params
9efcd64041e2e4439ec875cea8256c8bd72609e1
<ide><path>airflow/models/connection.py <ide> def get_extra(self) -> Dict: <ide> def set_extra(self, value: str): <ide> """Encrypt extra-data and save in object attribute to object.""" <ide> if value: <add> self._validate_extra(value, self.conn_id) <ide> fernet = get_fernet() ...
1
Javascript
Javascript
move a comment line in animationaction
f99ce24e8212a1ff6fd2883e80140df325a15746
<ide><path>src/animation/AnimationAction.js <ide> Object.assign( AnimationAction.prototype, { <ide> <ide> _update: function( time, deltaTime, timeDirection, accuIndex ) { <ide> <add> // called by the mixer <add> <ide> if ( ! this.enabled ) { <ide> <ide> // call ._updateWeight() to update ._effectiveWeight <id...
1
Ruby
Ruby
show replacement command in `odeprecated`
ae788550f9b5599e308b7f3b7ff8bef96c4387e6
<ide><path>Library/Homebrew/dev-cmd/pr-automerge.rb <ide> def pr_automerge_args <ide> def pr_automerge <ide> args = pr_automerge_args.parse <ide> <del> odeprecated "`brew pr-automerge --autosquash`" if args.autosquash? <add> odeprecated "`brew pr-automerge --autosquash`", "`brew pr-automerge`" if args.auto...
2
Javascript
Javascript
add test for stats string
9103c89838005bc076f448c33582a3786bd7ce4e
<ide><path>test/Defaults.unittest.js <ide> describe("Defaults", () => { <ide> + }, <ide> `) <ide> ); <add> <add> test("stats string", { stats: "minimal" }, e => <add> e.toMatchInlineSnapshot(` <add> - Expected <add> + Received <add> <add> <add> - "stats": Object {}, <add> + "stats": Object { <add> + ...
1
Ruby
Ruby
avoid object creation if there is no rc file
b0645ea04c7f75769b106d96a4fbb4e8cc2a258c
<ide><path>railties/lib/rails/generators/rails/app/app_generator.rb <ide> def railsrc(argv) <ide> end <ide> <ide> def read_rc_file(railsrc) <del> return [] unless File.exists?(railsrc) <ide> extra_args_string = File.read(railsrc) <ide> extra_args = extra_args_string.split(/...
1
Javascript
Javascript
remove invalid line of code
b488bbf4bfd6c73f2c0c22acda51322d0e69cc37
<ide><path>docs/app/src/docs.js <ide> angular.module('docsApp', [ <ide> $scope.offlineEnabled = ($cookies[OFFLINE_COOKIE_NAME] == angular.version.full); <ide> $scope.futurePartialTitle = null; <ide> $scope.loading = 0; <del> $scope.URL = URL; <ide> $scope.$cookies = $cookies; <ide> <ide> $cookies.platformPr...
1
Javascript
Javascript
animate #testsuite to focus user on errors
ce46d1906b4943afebce38794f2e38f26dff2405
<ide><path>client/commonFramework/display-test-results.js <ide> window.common = (function({ $, common = { init: [] }}) { <ide> <ide> common.displayTestResults = function displayTestResults(data = []) { <ide> $('#testSuite').children().remove(); <add> $('#testSuite').fadeIn('slow'); <ide> data.forEach(({ e...
2
Javascript
Javascript
move .bind() and .delegate() to deprecated
ee0854f85bd686b55757e8854a10480f23c928da
<ide><path>src/deprecated.js <ide> define( function() { <add> <add>jQuery.fn.extend( { <add> <add> bind: function( types, data, fn ) { <add> return this.on( types, null, data, fn ); <add> }, <add> unbind: function( types, fn ) { <add> return this.off( types, null, fn ); <add> }, <add> <add> delegate: function( select...
4
Javascript
Javascript
fix xss logic that matched some valid urls
841466416b6851666955113a60ae46830a27003f
<ide><path>lib/helpers/isValidXss.js <ide> 'use strict'; <ide> <ide> module.exports = function isValidXss(requestURL) { <del> var xssRegex = /(\b)(on\S+)(\s*)=|javascript|(<\s*)(\/*)script/gi; <add> var xssRegex = /(\b)(on\w+)=|javascript|(<\s*)(\/*)script/gi; <ide> return xssRegex.test(requestURL); <ide> }; <add>...
2
Text
Text
fix text to follow portuguese language syntax
bff834d8cbf0a56bbd27eede472339ed168bed08
<ide><path>curriculum/challenges/portuguese/01-responsive-web-design/css-flexbox/use-the-flex-basis-property-to-set-the-initial-size-of-an-item.portuguese.md <ide> localeTitle: Use a propriedade de base flexível para definir o tamanho inicial <ide> --- <ide> <ide> ## Description <del><section id="description"> A propr...
1
Python
Python
improve error-checking of axis argument
78084ee261eae43e3b6cb12abee7d7880c62bc0c
<ide><path>numpy/lib/shape_base.py <ide> def apply_along_axis(func1d, axis, arr, *args, **kwargs): <ide> # handle negative axes <ide> arr = asanyarray(arr) <ide> nd = arr.ndim <add> if not (-nd <= axis < nd): <add> raise IndexError('axis {0} out of bounds [-{1}, {1})'.format(axis, nd)) <ide> i...
1
Ruby
Ruby
fix broken tests
b30294b54ab019b0e53402c6927981f8c306e976
<ide><path>activesupport/lib/active_support/notifications.rb <ide> require 'thread' <ide> require 'active_support/core_ext/module/delegation' <ide> require 'active_support/core_ext/module/attribute_accessors' <add>require 'active_support/secure_random' <ide> <ide> module ActiveSupport <ide> # Notifications provides ...
2
Ruby
Ruby
pull option duping up
0c3f8e3f0248c033119c81d4590c8de2ac46f174
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> def match(path, *rest) <ide> <ide> path_types = paths.group_by(&:class) <ide> path_types.fetch(String, []).each do |_path| <del> process_path(options, controller, _path, option_path || _path) <add> route_options...
1
PHP
PHP
apply patch from 'biesbjerg' to apcengine
e6836163298c49bd8430f6f2a93200099afed6ea
<ide><path>lib/Cake/Cache/Engine/ApcEngine.php <ide> public function clear($check) { <ide> if ($check) { <ide> return true; <ide> } <del> $info = apc_cache_info('user'); <del> $cacheKeys = $info['cache_list']; <del> unset($info); <del> foreach ($cacheKeys as $key) { <del> if (strpos($key['info'], $this->se...
1
Ruby
Ruby
upload job fixes
b1331e62b1cc6ae7ed71ad70bfc3d5e18efccdf2
<ide><path>Library/Contributions/cmd/brew-test-bot.rb <ide> def single_commit? start_revision, end_revision <ide> <ide> def setup <ide> @category = __method__ <del> <add> return if ARGV.include? "--skip-setup" <ide> test "brew doctor" <ide> test "brew --env" <ide> test "brew --config" <ide> def ch...
1
Go
Go
reduce the timeout for restart/stop
34353e782e1cdbd6aae078b3e660875e703d35ff
<ide><path>integration/server_test.go <ide> func TestCreateStartRestartStopStartKillRm(t *testing.T) { <ide> t.Fatal(err) <ide> } <ide> <del> if err := srv.ContainerRestart(id, 150); err != nil { <add> if err := srv.ContainerRestart(id, 15); err != nil { <ide> t.Fatal(err) <ide> } <ide> <del> if err := srv.Cont...
2
Javascript
Javascript
make remaining empty lanes transition lanes
114ab52953bea3d78785e25300e70cce56f307e9
<ide><path>packages/react-reconciler/src/ReactFiberLane.new.js <ide> export const SyncBatchedLane: Lane = /* */ 0b0000000000000000000 <ide> export const InputDiscreteHydrationLane: Lane = /* */ 0b0000000000000000000000000000100; <ide> const InputDiscreteLane: Lanes = /* */ 0b000...
4
Python
Python
use default view in triggerdagrunlink
289c9b5a994a3e26951ca23b6edd30b2329b3089
<ide><path>airflow/operators/dagrun_operator.py <ide> <ide> import datetime <ide> from typing import Dict, Optional, Union <del>from urllib.parse import quote <ide> <ide> from airflow.api.common.experimental.trigger_dag import trigger_dag <ide> from airflow.exceptions import DagNotFound, DagRunAlreadyExists <ide> fro...
4
Text
Text
fix typo in usagewithreactrouter.md
7286d06ed5d4899312c2fc4c6dd9c1ca7e3896b7
<ide><path>docs/advanced/UsageWithReactRouter.md <ide> # Usage with React Router <ide> <del>So you want to do routing with your Redux app. You can use it with [React Router](https://github.com/reactjs/react-router). Redux will be the source of truth for your data and React Router will be the source of truth for your U...
1
Text
Text
add history entry for breaking destroy() change
7fcbeb4e7e63a11bf9de91ccf54a7d745b73c9d1
<ide><path>doc/api/stream.md <ide> See also: [`writable.uncork()`][], [`writable._writev()`][stream-_writev]. <ide> ##### `writable.destroy([error])` <ide> <!-- YAML <ide> added: v8.0.0 <add>changes: <add> - version: v14.0.0 <add> pr-url: https://github.com/nodejs/node/pull/29197 <add> description: Work as noop ...
1
Text
Text
add some interesting information about crypto..
24a58a712dbe7133981ec72fb8452f4e00558d7d
<ide><path>guide/russian/blockchain/cryptocurrency/index.md <ide> Cryptocurrency - это подмножество цифровой валюты, <ide> <ide> В отличие от обычной валюты, криптовалюту можно обменять как фракции. Например, транзакции могут составлять 0,00007 Btc (биткоинов) или даже ниже. <ide> <add> <ide> Если вы хотите зарабатыв...
1
PHP
PHP
remove deprecated file from symfony/finder
1361c23a1be302e0bed34add6c07adacfe8b5aa2
<ide><path>src/Illuminate/Foundation/Console/Optimize/config.php <ide> $basePath.'/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php', <ide> $basePath.'/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php', <ide> $basePath.'/vendor/symfony/finder/Iterator/FilenameFilterIterator.php', <del>...
1
Java
Java
eliminate the need for encoder#getcontentlength
010352163ba4d7f754c019912dc67cb31ef5702a
<ide><path>spring-core/src/main/java/org/springframework/core/codec/ByteArrayEncoder.java <ide> public Flux<DataBuffer> encode(Publisher<? extends byte[]> inputStream, <ide> return Flux.from(inputStream).map(bufferFactory::wrap); <ide> } <ide> <del> @Override <del> public Long getContentLength(byte[] bytes, @Nullab...
9
Python
Python
fix yaml rendering
d905d1cbd3a20191835be1a5bddee0aabf136ec6
<ide><path>rest_framework/renderers.py <ide> from rest_framework.utils.breadcrumbs import get_breadcrumbs <ide> from rest_framework.utils.mediatypes import get_media_type_params <ide> from rest_framework import VERSION <del>from rest_framework import serializers <add>from rest_framework import serializers, parsers <ide...
2
Text
Text
update all reddit.com api request links
c8567dc8bc352087e5e04da25e5eaf21be6a4653
<ide><path>docs/advanced/AsyncActions.md <ide> function receivePosts(subreddit, json) { <ide> function fetchPosts(subreddit) { <ide> return dispatch => { <ide> dispatch(requestPosts(subreddit)) <del> return fetch(`http://www.reddit.com/r/${subreddit}.json`) <add> return fetch(`https://www.reddit.com/r/${sub...
2
Javascript
Javascript
imitate public interface
4cc1afbb68c9e48c3391910c73f9d4ff29fff4d4
<ide><path>src/tree-sitter-grammar.js <ide> module.exports = class TreeSitterGrammar { <ide> } <ide> } <ide> } <add> <add> /* <add> Section - Backward compatibility shims <add> */ <add> <add> onDidUpdate(callback) { <add> // do nothing <add> } <add> <add> tokenizeLines(text, compatibilityMode = tru...
1
PHP
PHP
fix coding standards in event/
15e6e9d9817fa016e6cef4947c52b4fa9b64f7b6
<ide><path>lib/Cake/Event/CakeEvent.php <ide> public function name() { <ide> return $this->_name; <ide> } <ide> <del> <ide> /** <ide> * Returns the subject of this event <ide> * <ide> public function isStopped() { <ide> return $this->_stopped; <ide> } <ide> <del>} <ide>\ No newline at end of file <add>} <ide>...
3
PHP
PHP
remove setmeta function
0143f32d5eacfe0b985588502fd94849289d8298
<ide><path>src/Illuminate/Queue/Queue.php <ide> protected function createPlainPayload($job, $data) <ide> return ['job' => $job, 'data' => $data]; <ide> } <ide> <del> /** <del> * Set additional meta on a payload string. <del> * <del> * @param string $payload <del> * @param string $key...
1
Mixed
Ruby
fix to_param to maximize content
3b49d792231f8051a82cee37c46ac5b23de844db
<ide><path>activerecord/CHANGELOG.md <add>* Fix the generated `#to_param` method to use `omission:''` so that <add> the resulting output is actually up to 20 characters, not <add> effectively 17 to leave room for the default "...". <add> Also call `#parameterize` before `#truncate` and make the <add> `sep...
3
Text
Text
add guide to releasing rwd for an i18n client
efa788ab26eeba30b013b499298cc4be3f0c51f6
<ide><path>docs/how-to-test-translations-locally.md <ide> CLIENT_LOCALE="dothraki" <ide> CURRICULUM_LOCALE="dothraki" <ide> ``` <ide> <add>### Releasing a Superblock <add> <add>After a superblock has been fully translated into a language, there are two steps to release it. First add the superblock enum to that languag...
1
PHP
PHP
fix possible errors on docblocks
29923153f049bd1006953a74388511eda729318d
<ide><path>src/Illuminate/Contracts/Cookie/QueueingFactory.php <ide> interface QueueingFactory extends Factory <ide> /** <ide> * Queue a cookie to send with the next response. <ide> * <del> * @param mixed <ide> * @return void <ide> */ <ide> public function queue(); <ide><path>src/Illumi...
10
Javascript
Javascript
increase stats action install timeout
f21cba4929d582ad164d7a7476c4205c5d091e5c
<ide><path>.github/actions/next-stats-action/src/index.js <ide> if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) { <ide> logger(`Running initial build for ${dir}`) <ide> if (!actionInfo.skipClone) { <ide> let buildCommand = `cd ${dir}${ <del> !statsConfig.skipInitial...
1
Python
Python
use a simpler invocation of cython
df32fcdd4d225baa1628de35b718ed059fc1902b
<ide><path>tools/cythonize.py <ide> def process_pyx(fromfile, tofile): <ide> except OSError: <ide> # There are ways of installing Cython that don't result in a cython <ide> # executable on the path, see scipy/scipy#2397. <del> r = subprocess.call([sys.executable, '-c', <del> ...
1
Python
Python
fix capitalization on morphological features
ec44bee32102187e44ff5ce649ea8bf357bd1442
<ide><path>spacy/en/language_data.py <ide> <ide> <ide> TAG_MAP = { <del> ".": {POS: PUNCT, "puncttype": "peri"}, <del> ",": {POS: PUNCT, "puncttype": "comm"}, <del> "-LRB-": {POS: PUNCT, "puncttype": "brck", "punctside": "ini"}, <del> "-RRB-": {POS: PUNCT, "puncttype": "brck", "punctsi...
1
Javascript
Javascript
update console messages regarding devtools
a4bd998edcc2f161610955f7c677a60f4347ac32
<ide><path>src/renderers/dom/ReactDOM.js <ide> if (__DEV__) { <ide> var ExecutionEnvironment = require('ExecutionEnvironment'); <ide> if (ExecutionEnvironment.canUseDOM && window.top === window.self) { <ide> <del> // If we're in Chrome, look for the devtools marker and provide a download <del> // link if not...
1
PHP
PHP
reduce calls to config()
e3fa02b6d20cd6c1603e022f22e73955e16c4590
<ide><path>src/Controller/Component/AuthComponent.php <ide> public function startup(Event $event) { <ide> return $this->_unauthenticated($controller); <ide> } <ide> <del> $authorize = $this->config('authorize'); <ide> if ($this->_isLoginAction($controller) || <del> empty($authorize) || <add> empty($this->_...
2
Text
Text
correct a typo in pairwise.english.md
0a330e65f902dcbf750d0f0666c737dd9335f76d
<ide><path>curriculum/challenges/english/08-coding-interview-prep/algorithms/pairwise.english.md <ide> challengeType: 5 <ide> ## Description <ide> <section id='description'> <ide> Given an array <code>arr</code>, find element pairs whose sum equal the second argument <code>arg</code> and return the sum of their indices...
1
PHP
PHP
try lc_all instead
6a1e9e80b2ece33a86a9607ba70b17a140993dac
<ide><path>lib/Cake/Test/Case/Utility/CakeNumberTest.php <ide> public function testToReadableSize() { <ide> * @return void <ide> */ <ide> public function testReadableSizeLocalized() { <del> $restore = setlocale(LC_NUMERIC, 0); <del> setlocale(LC_NUMERIC, 'de_DE'); <add> $restore = setlocale(LC_ALL, 0); <add> set...
1
Javascript
Javascript
make copy of options arg
68f63fe9ec2b8a7308cefa4a1ae1261cd6d1675f
<ide><path>lib/child_process.js <ide> exports.fork = function(modulePath /*, args, options*/) { <ide> var options, args, execArgv; <ide> if (Array.isArray(arguments[1])) { <ide> args = arguments[1]; <del> options = arguments[2] || {}; <add> options = util._extend({}, arguments[2]); <ide> } else { <ide> ...
1
Text
Text
add changelog for 2.16.2
d90545005d1cae84705bb0f2635ab0c10b106e8a
<ide><path>CHANGELOG.md <ide> - [#15265](https://github.com/emberjs/ember.js/pull/15265) [BUGFIX] fixed issue when passing `false` to `activeClass` for `{{link-to}}` <ide> - [#15672](https://github.com/emberjs/ember.js/pull/15672) Update router_js to 2.0.0. <ide> <add>### 2.16.2 (November 1, 2017) <add> <add>- [#15797...
1