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
Python
Python
add remaining tests for simpleratethrottle
dd11bd42a2bfec3d5799509f22405f04eee07e85
<ide><path>tests/test_throttling.py <ide> def test_allow_request_returns_true_if_key_is_none(self): <ide> throttle.rate = 'some rate' <ide> throttle.get_cache_key = lambda *args: None <ide> assert throttle.allow_request(request={}, view={}) is True <add> <add> def test_wait_returns_correct_wa...
1
Javascript
Javascript
fix some indenting within operatorlist
42d175efd43898709dc829c13609b75463cb5c34
<ide><path>src/core/evaluator.js <ide> var OperatorList = (function OperatorListClosure() { <ide> var CHUNK_SIZE = 1000; <ide> var CHUNK_SIZE_ABOUT = CHUNK_SIZE - 5; // close to chunk size <ide> <del> function getTransfers(queue) { <del> var transfers = []; <del> var fnArray = queue.fnArray, argsArray...
1
PHP
PHP
remove tests for purged method
9809c829f6354b5784ed48254dc175f55c671337
<ide><path>tests/TestCase/Utility/Crypto/OpenSslTest.php <ide> public function setUp() <ide> $this->crypt = new OpenSsl(); <ide> } <ide> <del> /** <del> * testRijndael method <del> * <del> * @return void <del> */ <del> public function testRijndael() <del> { <del> $this->expe...
2
Text
Text
remove a couple of .html suffixes in docs
ca2bd616d989f78d00641231e645198a6c95caa0
<ide><path>docs/index.md <ide> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <ide> [0.4]: https://github.com/tomchristie/django-rest-framework/tree/0.4.X <ide> [image]: img/quickstart.png <ide> [index]: . <del>[oauth1-section]: api-guide/authentication.html#oauthauthentication <del>[oauth2-sectio...
2
Javascript
Javascript
fix failing test for new return value
5dc4616ca0fdbf2a80890bd9b236e796b84db8c1
<ide><path>src/attributes/attr.js <ide> jQuery.extend({ <ide> <ide> // don't get/set attributes on text, comment and attribute nodes <ide> if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { <del> return; <add> return null; <ide> } <ide> <ide> // Fallback to prop when attributes are not supported ...
2
Javascript
Javascript
improve semver range detection
2a0620a7f1b5634576b8b8e22710448f4ec8eff3
<ide><path>lib/sharing/utils.js <ide> const { join, dirname, readJson } = require("../util/fs"); <ide> * @returns {boolean} true, if it looks like a version <ide> */ <ide> exports.isRequiredVersion = str => { <del> if (str === "*") return true; <del> return /^[\d^=v<>~]/.test(str); <add> return /^([\d^=v<>~]|[*xX]$)/...
1
Ruby
Ruby
consolidate duplicated elsif branch
37221c6e0cf9336eed867e80765efa43b3ba10db
<ide><path>activerecord/test/cases/schema_dumper_test.rb <ide> def test_schema_dump_includes_limit_constraint_for_integer_columns <ide> assert_match %r{c_int_4.*limit: 4}, output <ide> end <ide> <del> if current_adapter?(:SQLite3Adapter) <del> assert_match %r{c_int_5.*limit: 5}, output <del> ass...
1
PHP
PHP
add tests for hasany and hasall
9074b557305da710435fe377df6e8c55919bf7ea
<ide><path>tests/Support/SupportMessageBagTest.php <ide> public function testHasIndicatesExistence() <ide> $this->assertFalse($container->has('bar')); <ide> } <ide> <add> public function testHasAnyIndicatesExistence() <add> { <add> $container = new MessageBag; <add> $container->setForma...
1
Text
Text
remove dead link for javascript and immutability
d460447c55902561a20fdfad94957ef8b3aa3cc7
<ide><path>docs/faq/ImmutableData.md <ide> In contrast, immutable libraries such as Immer can employ structural sharing, wh <ide> **Articles** <ide> <ide> - [A deep dive into Clojure’s data structures](https://www.slideshare.net/mohitthatte/a-deep-dive-into-clojures-data-structures-euroclojure-2015) <del>- [JavaScript...
1
Text
Text
fix the order of lint and prettier
03db57aa718d23dcca69ffce26e9806f7ab1bcb4
<ide><path>docs/contributing/how-to-contribute.md <ide> The core team is monitoring for pull requests. We will review your pull request <ide> 2. If you've added code that should be tested, add tests! <ide> 3. If you've changed APIs, update the documentation. <ide> 4. Ensure the test suite passes (`npm test`). <del>5. M...
1
Javascript
Javascript
remove deprecated function (prepare 1.0)
ba554752ffb83fc21bc8ecb66ac593fcdf6f7a43
<ide><path>packages/ember-runtime/lib/mixins/evented.js <ide> Ember.Evented = Ember.Mixin.create({ <ide> Ember.sendEvent(this, name, args); <ide> }, <ide> <del> fire: function(name) { <del> Ember.deprecate("Ember.Evented#fire() has been deprecated in favor of trigger() for compatibility with jQuery. It will ...
1
Text
Text
upgrade the maintainance policy
1c3c4f053f5b00dce5ed53570b2938977b830289
<ide><path>guides/source/maintenance_policy.md <ide> from. <ide> In special situations, where someone from the Core Team agrees to support more series, <ide> they are included in the list of supported series. <ide> <del>**Currently included series:** `5.2.Z`. <add>**Currently included series:** `6.0.Z`. <ide> <ide> S...
1
Python
Python
use lib2to3 for the conversions
9f9098f6f77f82eddb2471991d08ec0a37ead6f9
<ide><path>tools/py3tool.py <ide> BASE = os.path.normpath(os.path.join(os.path.dirname(__file__), '..')) <ide> TEMP = os.path.normpath(os.path.join(BASE, '_py3k')) <ide> <add>SCRIPT_2TO3 = os.path.join(BASE, 'tools', '2to3.py') <add> <ide> EXTRA_2TO3_FLAGS = { <ide> '*/setup.py': '-x import', <ide> 'numpy/core...
1
PHP
PHP
remove return since this is a void method
efafba186a2787ad0642d4ff27cf618dc2191e10
<ide><path>src/Illuminate/Database/Schema/Blueprint.php <ide> public function timestampTz($column) <ide> */ <ide> public function nullableTimestamps() <ide> { <del> return $this->timestamps(); <add> $this->timestamps(); <ide> } <ide> <ide> /**
1
Ruby
Ruby
remove unused require
a865f621ee934e8741001bbed1b487698e44d914
<ide><path>railties/lib/rails/commands/server/server_command.rb <ide> # frozen_string_literal: true <ide> <ide> require "fileutils" <del>require "optparse" <ide> require "action_dispatch" <ide> require "rails" <ide> require "active_support/deprecation"
1
Javascript
Javascript
remove unused variables
7f0e35c50d694245f1bc2ad8506fb0f89a6cf8bf
<ide><path>src/core.js <ide> var Page = (function pagePage() { <ide> var self = this; <ide> this.IRQueue = IRQueue; <ide> var gfx = new CanvasGraphics(this.ctx, this.objs); <del> var startTime = Date.now(); <ide> <ide> var displayContinuation = function pageDisplayContinuation() { <ide> ...
1
Text
Text
fix wrong grammar on upgrade guide
fa09e3c6787d8dd5f3eff30e07deb67b249af6b6
<ide><path>guides/source/upgrading_ruby_on_rails.md <ide> If you configured this setting after the environments configuration has been pro <ide> <ide> [`config.autoload_once_paths`]: configuring.html#config-autoload-once-paths <ide> <del>### `ActionDispatch::Request#content_type` now returned Content-Type header as i...
1
Python
Python
fix typo in comment
bf6139bf651b20bc04b895a5f6eb8d50320bc252
<ide><path>celery/app/task.py <ide> from celery.utils.imports import instantiate <ide> from celery.utils.nodenames import gethostname <ide> from celery.utils.serialization import raise_with_context <del> <ide> from .annotations import resolve_all as resolve_all_annotations <ide> from .registry import _unpickle_task_v2 ...
1
Text
Text
fix example of `index_with`
1ae1099ed4c47d82b18a2ba8a9028ab06aff1f29
<ide><path>guides/source/active_support_core_extensions.md <ide> The method `index_with` generates a hash with the elements of an enumerable as k <ide> is either a passed default or returned in a block. <ide> <ide> ```ruby <del>%i( title body created_at ).index_with { |attr_name| public_send(attr_name) } <add>%i( titl...
1
Python
Python
update cpplint to check for inline headers
fc81e801913de3e3f3c0c8e26c105f983a74e539
<ide><path>tools/cpplint.py <ide> def CheckForBadCharacters(filename, lines, error): <ide> error(filename, linenum, 'readability/nul', 5, 'Line contains NUL byte.') <ide> <ide> <add>def CheckInlineHeader(filename, include_state, error): <add> """Logs an error if both a header and its inline variant are include...
1
Ruby
Ruby
add documentation to benchmark#ms [ci skip]
e946c5853b99607cc5fe92225c473a51ecc44e99
<ide><path>activesupport/lib/active_support/core_ext/benchmark.rb <ide> require 'benchmark' <ide> <ide> class << Benchmark <add> # Benchmark realtime in milliseconds. <add> # <add> # Benchmark.realtime { User.all } <add> # # => 8.0e-05 <add> # <add> # Benchmark.ms { User.all } <add> # # => 0.074 <ide> ...
1
PHP
PHP
add tests for selecting multiple values at a time
ba54a4789f1f9e6bde0f4de5b7f746e9a43a6444
<ide><path>Test/TestCase/View/Input/SelectBoxTest.php <ide> class SelectBoxTest extends TestCase { <ide> public function setUp() { <ide> parent::setUp(); <ide> $templates = [ <del> 'select' => '<select name="{{name}}" {{attrs}}>{{content}}</select>', <del> 'selectMultiple' => '<select name="{{name}}" multiple=...
1
Python
Python
fix small mistake `optimizer` to `optimizers`
6638ce76b1d414b33393f00cdde13b78c3774a43
<ide><path>keras/engine/training.py <ide> def compile(self, <ide> Example: <ide> <ide> ```python <del> model.compile(optimizer=tf.keras.optimizer.Adam(learning_rate=1e-3), <add> model.compile(optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3), <ide> loss=tf.keras.losses.BinaryCrosse...
1
Text
Text
fix metadata of dep0114
3d4db3a7bf16a788e59ab76ca8c4a37069b59e80
<ide><path>doc/api/deprecations.md <ide> release. <ide> <!-- YAML <ide> changes: <ide> - version: REPLACEME <del> pr-url: https://github.com/nodejs/node/pull/??? <add> pr-url: https://github.com/nodejs/node/pull/25338 <ide> description: End-of-Life. <ide> - version: v11.0.0 <ide> pr-url: https://githu...
1
Javascript
Javascript
keep deprecated module in slim
0588d0ce35458eccaa6a19f6350988d34496a31d
<ide><path>build/release.js <ide> module.exports = function( Release ) { <ide> generateArtifacts: function( callback ) { <ide> Release.exec( "grunt", "Grunt command failed" ); <ide> Release.exec( <del> "grunt custom:-ajax,-effects,-deprecated --filename=jquery.slim.js && " + <add> "grunt custom:-ajax,-eff...
1
Java
Java
apply destinationresolver to listener container
444b9032be7fa73d12103cbf351f82751b08a95b
<ide><path>spring-jms/src/main/java/org/springframework/jms/config/MethodJmsListenerEndpoint.java <ide> import org.springframework.jms.listener.MessageListenerContainer; <ide> import org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter; <ide> import org.springframework.jms.support.converter.MessageC...
8
Javascript
Javascript
fix the build id on browser stack
04d5a5072fe45d5aa8ec9c027bae9d29ee56c2d1
<ide><path>karma-shared.conf.js <ide> module.exports = function(config, specificOptions) { <ide> <ide> if (process.env.TRAVIS) { <ide> config.transports = ['websocket', 'xhr-polling']; <del> config.browserStack.build = 'TRAVIS ' + process.env.TRAVIS_BUILD; <add> config.browserStack.build = 'TRAVIS ' + proc...
1
Go
Go
add docker interfaces to firewalld docker zone
23d1ca4426986fb4a62c864c12291dac653e22d4
<ide><path>libnetwork/iptables/firewalld.go <ide> const ( <ide> // Ebtables point to bridge table <ide> Ebtables IPV = "eb" <ide> ) <add> <ide> const ( <del> dbusInterface = "org.fedoraproject.FirewallD1" <del> dbusPath = "/org/fedoraproject/FirewallD1" <add> dbusInterface = "org.fedoraproject.FirewallD1" <add>...
2
Javascript
Javascript
throw if protocol too long
cdba3c1de0de37576426421128982a4022480381
<ide><path>lib/internal/errors.js <ide> E('ERR_NO_ICU', <ide> '%s is not supported on Node.js compiled without ICU', TypeError); <ide> E('ERR_NO_LONGER_SUPPORTED', '%s is no longer supported', Error); <ide> E('ERR_OUT_OF_RANGE', <del> (name, range, value) => { <del> let msg = `The value of "${name}" is out of ran...
3
Text
Text
update fallback docs
b9791bf99940e15eda60e863fe8e052d356e0b7c
<ide><path>docs/api-reference/next.config.js/rewrites.md <ide> The order Next.js routes are checked is: <ide> 3. `beforeFiles` rewrites are checked/applied <ide> 4. static files from the [public directory](/docs/basic-features/static-file-serving), `_next/static` files, and non-dynamic pages are checked/served <ide> 5....
2
Go
Go
fix race in firewalldinit
a05bcd12c44b4daada51267d89fd9ac53812be02
<ide><path>pkg/iptables/firewalld.go <ide> package iptables <ide> <ide> import ( <ide> "fmt" <add> "strings" <add> <ide> "github.com/Sirupsen/logrus" <ide> "github.com/godbus/dbus" <del> "strings" <ide> ) <ide> <ide> type IPV string <ide> func FirewalldInit() { <ide> if err != nil { <ide> logrus.Errorf("Failed ...
1
Ruby
Ruby
prevent error on transliterate with frozen strings
fc6ec7bfc7d1cc13380ac91eac3caeaa5e37df02
<ide><path>activesupport/lib/active_support/inflector/transliterate.rb <ide> module Inflector <ide> # Transliteration is restricted to UTF-8, US-ASCII and GB18030 strings <ide> # Other encodings will raise an ArgumentError. <ide> def transliterate(string, replacement = "?", locale: nil) <add> string = ...
2
Javascript
Javascript
set stderr._destroy to dummydestroy
71f4d5abfa4dcc9b0aa2d17a80213eecfc4a911b
<ide><path>lib/internal/process/stdio.js <ide> function getMainThreadStdio() { <ide> stderr = createWritableStdioStream(2); <ide> stderr.destroySoon = stderr.destroy; <ide> // Override _destroy so that the fd is never actually closed. <del> stdout._destroy = dummyDestroy; <add> stderr._destroy = dummy...
1
Mixed
Ruby
return proper format on exceptions
bd8c0b8a7ad680aae909c6453758d86b9fc66559
<ide><path>actionpack/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Return proper format on exceptions. *Santiago Pastorino* <add> <ide> * Allow to use mounted_helpers (helpers for accessing mounted engines) in ActionView::TestCase. *Piotr Sarnacki* <ide> <ide> * Include mounted_helpers (helper...
3
Python
Python
remove manual error message
cd01f01e9238bf3d4d42613d804e06d35b94b48f
<ide><path>numpy/ma/core.py <ide> def count(self, axis=None, keepdims=np._NoValue): <ide> <ide> if self.shape is (): <ide> if axis not in (None, 0): <del> raise np.AxisError("'axis' entry is out of bounds") <add> raise np.AxisError(axis=axis, ndim=self....
1
Ruby
Ruby
add brew tap-info
787934ed6fcf1f0b7a6240f8daf6d8908cf09650
<ide><path>Library/Homebrew/cmd/tap-info.rb <add>require "cmd/tap" <add> <add>module Homebrew <add> def tap_info <add> if ARGV.include? "--installed" <add> taps = Tap <add> else <add> taps = ARGV.named.map do |name| <add> Tap.new(*tap_args(name)) <add> end <add> end <add> <add> if ARG...
1
Python
Python
remove accidental pdb call
4881364a86a9d7452798ea690c7bd2339f0d6b42
<ide><path>libcloud/httplib_ssl.py <ide> def __init__(self, host, port, **kwargs): <ide> self.session.timeout = kwargs.get('timeout', 60) <ide> <ide> def request(self, method, url, body=None, headers=None, raw=False): <del> import pdb; pdb.set_trace() <ide> self.response = self.session.reque...
1
Javascript
Javascript
replace string concetation with templates
94fb298819d9f4b3a575f64c71963e600d353067
<ide><path>tools/doc/html.js <ide> function buildToc(lexed, filename, cb) { <ide> <ide> depth = tok.depth; <ide> const realFilename = path.basename(realFilenames[0], '.md'); <del> const id = getId(realFilename + '_' + tok.text.trim()); <add> const id = getId(`${realFilename}_${tok.text.trim()}`); <ide> ...
1
Python
Python
fix .merge tests to not use deprecated api
5914faafbb6ed4703f85e7f4a9a23e7ad7da383b
<ide><path>spacy/tests/doc/test_doc_api.py <ide> def test_doc_api_merge(en_tokenizer): <ide> # merge 'The Beach Boys' <ide> doc = en_tokenizer(text) <ide> assert len(doc) == 9 <del> doc.merge(doc[4].idx, doc[6].idx + len(doc[6]), 'NAMED', 'LEMMA', 'TYPE') <add> doc.merge(doc[4].idx, doc[6].idx + len(d...
2
PHP
PHP
add assertnoredirect method
4e409d6a9d582a087f28e38e1eb79cf2018cff9c
<ide><path>src/TestSuite/IntegrationTestCase.php <ide> public function assertRedirect($url, $message = '') { <ide> $this->assertEquals(Router::url($url, ['_full' => true]), $result['Location'], $message); <ide> } <ide> <add>/** <add> * Asserts that the Location header is not set. <add> * <add> * @param string $mess...
1
Javascript
Javascript
improve compare output
809af1fe8a0a096be4f0a3020f8e60ee1c827cbc
<ide><path>benchmark/compare.js <ide> 'use strict'; <ide> <del>const fork = require('child_process').fork; <add>const { fork } = require('child_process'); <add>const { inspect } = require('util'); <ide> const path = require('path'); <ide> const CLI = require('./_cli.js'); <ide> const BenchmarkProgress = require('./_be...
1
Python
Python
fix whitespace issue
ff98b041da4b992a87d8b6258b30e47310ec8430
<ide><path>transformers/__init__.py <ide> from .modeling_tf_distilbert import (TFDistilBertPreTrainedModel, TFDistilBertMainLayer, <ide> TFDistilBertModel, TFDistilBertForMaskedLM, <ide> TFDistilBertForSequenceClassification, <del> ...
1
Mixed
Python
add vocab kwarg back to spacy.load
124304b14672cb3d82c495b0fd45f60ecca90ea8
<ide><path>spacy/__init__.py <ide> def load( <ide> name: Union[str, Path], <ide> *, <add> vocab: Union[Vocab, bool] = True, <ide> disable: Iterable[str] = util.SimpleFrozenList(), <ide> exclude: Iterable[str] = util.SimpleFrozenList(), <ide> config: Union[Dict[str, Any], Config] = util.SimpleFroz...
2
Javascript
Javascript
fix escape issue
3a0fe4349c911e49f78c0fb9a424ce3fe4717e94
<ide><path>examples/with-material-ui-next/pages/_document.js <ide> export default class MyDocument extends Document { <ide> const styleContext = getDefaultContext() <ide> return { <ide> ...page, <del> styles: ( <del> <style id='jss-server-side' type='text/css'> <del> {styleContext.sty...
1
Mixed
Ruby
ensure suppressor runs before validations
73f8c16601e51480d007dca5a33f2035293bdd23
<ide><path>activerecord/CHANGELOG.md <add>* Ensure that the Suppressor runs before validations. <add> <add> This moves the suppressor up to be run before validations rather than after <add> validations. There's no reason to validate a record you aren't planning on saving. <add> <add> *Eileen M. Uchitelle* <a...
4
Javascript
Javascript
add test case for watch-options-poll
026efa8b1ad60e3dbacb42446303d49e2e88dd16
<ide><path>test/Cli.test.js <ide> describe("Cli", () => { <ide> "numbers", <ide> { <ide> "watch-options-aggregate-timeout": 100, <add> "watch-options-poll": "100", <ide> "output-ecma-version": "2015" <ide> }, <ide> {}, <ide> describe("Cli", () => { <ide> }, <ide> "watchOptions": Object { <ide>...
1
Javascript
Javascript
fix accessibility issues
c6c1e347d0fcf6a7d34e57fa402da1b2735395fc
<ide><path>packages/learn/src/templates/Challenges/components/Test-Suite.js <ide> const propTypes = { <ide> <ide> function getAccessibleText(err, pass, text) { <ide> let accessibleText = 'Waiting'; <add> const cleanText = text.replace(/<\/?code>/g, ''); <ide> <ide> // Determine test status (i.e. icon) <ide> if...
3
PHP
PHP
add errors to validator interface.
5a649288b9be7ff12256c3042dce0982900137b2
<ide><path>src/Illuminate/Contracts/Validation/Validator.php <ide> public function sometimes($attribute, $rules, callable $callback); <ide> * @return $this <ide> */ <ide> public function after($callback); <add> <add> /** <add> * Get all of the validation error messages. <add> * <add> * @ret...
1
Javascript
Javascript
fix remaining issues and edge cases
795f6fcbbab6ba3dd9afa6b3ab7a8a9b4d7df75c
<ide><path>lib/optimize/ConcatenatedModule.js <ide> function getFinalName(info, exportName, moduleToInfoMap, requestShortener, asCal <ide> return getExternalImport(importedModule, importedVar, exportName, asCall); <ide> } <ide> } <del> throw new Error(`Cannot get final name for export "${exportName}" ...
2
PHP
PHP
fix driver specific failures
50d5416b2a6c680bbcc0fa1e6153fbf9f431b2d2
<ide><path>tests/TestCase/Database/Driver/MysqlTest.php <ide> public function testRollbackTransactionAutoConnect() <ide> $connection = ConnectionManager::get('test'); <ide> $connection->disconnect(); <ide> <del> $driver = $connection->driver(); <add> $driver = $connection->getDriver(); <i...
2
Javascript
Javascript
modify run loop behavior
d6ef3990289357f26132418cf25b1ec4898814e7
<ide><path>packages/ember-metal/lib/run_loop.js <ide> RunLoop.prototype = { <ide> }, <ide> <ide> flush: function(queueName) { <del> var queues = this._queues, queueNames, idx, len, queue, log; <add> var queueNames, idx, len, queue, log; <ide> <del> if (!queues) { return this; } // nothing to do <add> ...
2
Ruby
Ruby
fix #post documentation [ci skip]
c8bf6da46590bcf6bb4253bc4ba069a442c6b776
<ide><path>actionpack/lib/action_controller/test_case.rb <ide> def load! <ide> # <ide> # def test_create <ide> # json = {book: { title: "Love Hina" }}.to_json <del> # post :create, json <add> # post :create, body: json <ide> # end <ide> # <ide> # == Special instance variables
1
Mixed
Python
add push_to_hub to no_trainer examples
b7d264be0d70d5309dbf24a6c7ebba1e073bdda5
<ide><path>examples/pytorch/README.md <ide> line, 🤗 Trainer supports resuming from a checkpoint via `trainer.train(resume <ide> 2. If `resume_from_checkpoint` is a path to a specific checkpoint it will use that saved checkpoint folder to resume the training from. <ide> <ide> <add>### Upload the trained/fine-tuned mo...
10
Go
Go
fix race condition between swarm and libnetwork
e2ec006797fa14f59bcf7b9c23505ccdf1d3ded3
<ide><path>cmd/dockerd/daemon.go <ide> func (cli *DaemonCli) start(opts daemonOptions) (err error) { <ide> if err != nil { <ide> logrus.Fatalf("Error creating cluster component: %v", err) <ide> } <add> d.SetCluster(c) <add> err = c.Start() <add> if err != nil { <add> logrus.Fatalf("Error starting cluster component...
7
Javascript
Javascript
fix edgecase without any hash used
b13fe9780104aa24f640b666b0de663a8affa82b
<ide><path>lib/optimize/RealContentHashPlugin.js <ide> class RealContentHashPlugin { <ide> } <ide> } <ide> } <add> if (hashToAssets.size === 0) return; <ide> const hashRegExp = new RegExp( <ide> Array.from(hashToAssets.keys(), quoteMeta).join("|"), <ide> "g"
1
Go
Go
catch sigquit for cleanup
db7c55ba7f97358f3a6de2b83c8e3d1827667446
<ide><path>server.go <ide> func init() { <ide> <ide> // jobInitApi runs the remote api server `srv` as a daemon, <ide> // Only one api server can run at the same time - this is enforced by a pidfile. <del>// The signals SIGINT and SIGTERM are intercepted for cleanup. <add>// The signals SIGINT, SIGQUIT and SIGTERM are...
1
Text
Text
fix duplicate "this" and "the" on http2.md
7c3c70cc48a2a23fbc3a1f3c9e01d02f2ecf2dc1
<ide><path>doc/api/http2.md <ide> Every `Http2Session` instance is associated with exactly one [`net.Socket`][] or <ide> [`tls.TLSSocket`][] when it is created. When either the `Socket` or the <ide> `Http2Session` are destroyed, both will be destroyed. <ide> <del>Because the of the specific serialization and processin...
1
Go
Go
use transactions during device deletion
17b75a21a667a27a9a27565ab282cd615dbdb66e
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) deleteDevice(info *DevInfo) error { <ide> } <ide> } <ide> <add> if err := devices.openTransaction(info.Hash, info.DeviceId); err != nil { <add> log.Debugf("Error opening transaction hash = %s deviceId = %d", "", info.DeviceId) <ad...
1
Text
Text
update working directory in builder stage
e5bc0cdae0f17c09f89ab609b6187b9178ef3204
<ide><path>docs/deployment.md <ide> RUN yarn install --frozen-lockfile <ide> <ide> # Rebuild the source code only when needed <ide> FROM node:alpine AS builder <add>WORKDIR /app <ide> COPY . . <ide> COPY --from=deps /app/node_modules ./node_modules <ide> RUN yarn build
1
Ruby
Ruby
remove vestigial code
1f80f3a3738a57be6e36901ef60645fabb6576a9
<ide><path>actionpack/lib/action_controller/middleware.rb <del>module ActionController <del> class Middleware < Metal <del> class ActionMiddleware <del> def initialize(controller, app) <del> @controller, @app = controller, app <del> end <del> <del> def call(env) <del> request = ActionDi...
2
PHP
PHP
use false instead of null
d7f04ce1b40fc4bf5e0aff32a78410d10b999533
<ide><path>src/ORM/Behavior/CounterCacheBehavior.php <ide> protected function _processAssociation(Event $event, EntityInterface $entity, As <ide> } else { <ide> $count = $this->_getCount($config, $countConditions); <ide> } <del> if (!is_null($count)) { <add> ...
1
Python
Python
fix unit tests for merge
dc3c1488bb5a75af798cee7a81a46e454e17d85d
<ide><path>keras/backend/theano_backend.py <ide> def dot(x, y): <ide> def batch_dot(x, y, axes=None): <ide> if axes is None: <ide> # behaves like tf.batch_matmul as default <del> axes = [(x.ndim-1,), (y.ndim-2,)] <add> axes = [(x.ndim - 1,), (y.ndim - 2,)] <ide> return T.batched_tensordot(...
3
Text
Text
fix typo for docs reference
0f0b0db842e53c81191385395d6d040574eeb0d9
<ide><path>docs/reference/commandline/info.md <ide> meta data regarding those images are stored. When run for the first time Docker <ide> allocates a certain amount of data space and meta data space from the space <ide> available on the volume where `/var/lib/docker` is mounted. <ide> <del># EXAMPLES <add># Examples <...
3
Python
Python
add skipping batch
1771dae94e6a8c12e78219dc489e616539c2b00c
<ide><path>keras/preprocessing/timeseries.py <ide> def timeseries_dataset_from_array( <ide> `data[i], data[i + r], ... data[i + sequence_length]` <ide> are used for create a sample sequence. <ide> batch_size: Number of timeseries samples in each batch <del> (except maybe the last one). <add> (...
1
Python
Python
fix project urls
3fd7abec3c8c4a32da9579d0824b10d5ba0add83
<ide><path>setup.py <ide> url='https://www.palletsprojects.com/p/flask/', <ide> project_urls=OrderedDict(( <ide> ('Documentation', 'http://flask.pocoo.org/docs/'), <del> ('Code', 'https://github.com/pallets/pallets-sphinx-themes'), <del> ('Issue tracker', 'https://github.com/pallets/pallet...
1
PHP
PHP
add group to router contract
986f9d6026b6712b1411558288d73f2af7d8e1f9
<ide><path>src/Illuminate/Contracts/Routing/Registrar.php <ide> <?php namespace Illuminate\Contracts\Routing; <ide> <add>use Closure; <add> <ide> interface Registrar { <ide> <ide> /** <ide> public function match($methods, $uri, $action); <ide> */ <ide> public function resource($name, $controller, array $options =...
1
Javascript
Javascript
remove unneeded escaping in generate.js
fe1dcb587300a9fd41db0de895b5e78ffaedeff0
<ide><path>tools/doc/generate.js <ide> let inputFile = null; <ide> let nodeVersion = null; <ide> <ide> args.forEach(function(arg) { <del> if (!arg.match(/^\-\-/)) { <add> if (!arg.match(/^--/)) { <ide> inputFile = arg; <del> } else if (arg.match(/^\-\-format=/)) { <del> format = arg.replace(/^\-\-format=/, '...
1
PHP
PHP
remove spaces around declare statement
94b191e48f5c6776d506d8886eecee6084b42784
<ide><path>src/Auth/AbstractPasswordHasher.php <ide> <?php <del>declare(strict_types = 1); <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><path>src/Auth/BaseAuthentic...
25
Python
Python
fix np.average with object array weights
1588ae39ffb51ea916f03510671aab711fdfb568
<ide><path>numpy/lib/function_base.py <ide> def average(a, axis=None, weights=None, returned=False): <ide> wgt = wgt.swapaxes(-1, axis) <ide> <ide> scl = wgt.sum(axis=axis, dtype=result_dtype) <del> if (scl == 0.0).any(): <add> if np.any(scl == 0.0): <ide> raise ZeroDivisi...
2
Text
Text
add the text "### background..." to article
f08734d2d2b14104f805b0cd0eb32f355fc34964
<ide><path>guide/english/blockchain/cryptocurrency/index.md <ide> Some people invest in cryptocurrency on exchanges such as Binance, Bitrex, or Co <ide> [Cryptocurrency](https://en.wikipedia.org/wiki/Cryptocurrency) <ide> [Ultimate Guide to Cryptocurrency](https://blockgeeks.com/guides/what-is-cryptocurrency) <ide>...
1
Ruby
Ruby
fix eager association test. closes [alexey]
52fe604da3b72ebbe4d7789917cdcb2ef68b2e6d
<ide><path>activerecord/test/associations/eager_test.rb <ide> def test_with_two_tables_in_from_without_getting_double_quoted <ide> :select => "posts.*", <ide> :from => "authors, posts", <ide> :include => :comments, <del> :conditions => "posts.author_id = authors.id" <add> :condi...
1
Text
Text
fix typo in example section of dynamic-import.md
3bf0fcf35db9e4b03b1fe99486bdb3e65e86c295
<ide><path>docs/advanced-features/dynamic-import.md <ide> Next.js supports lazy loading external libraries with `import()` and React compo <ide> <ide> ## Example <ide> <del>By using `next/dynamic`, the header component will not be included in page's the initial JavaScript bundle. The page will render the Suspense `fa...
1
Text
Text
update generic view documentation
1ceca69e5fa64344f1a039526fb653bf6bbd8a9d
<ide><path>docs/api-guide/generic-views.md <ide> For very simple cases you might want to pass through any class attributes using <ide> <ide> The following classes are the concrete generic views. If you're using generic views this is normally the level you'll be working at unless you need heavily customized behavior. ...
1
Javascript
Javascript
add wasm extensions as default
ccbc07c239a54b312189f76b0d62f5038c20fe46
<ide><path>lib/WebpackOptionsDefaulter.js <ide> class WebpackOptionsDefaulter extends OptionsDefaulter { <ide> this.set("resolve", "call", value => Object.assign({}, value)); <ide> this.set("resolve.unsafeCache", true); <ide> this.set("resolve.modules", ["node_modules"]); <del> this.set("resolve.extensions", ["....
1
Ruby
Ruby
use `builderror#formula` instead of `args`
a895f398edae9da096950bcd68eefa2d233fa137
<ide><path>Library/Homebrew/brew.rb <ide> def output_unsupported_error <ide> Utils::Analytics.report_build_error(e) <ide> e.dump <ide> <del> output_unsupported_error if Homebrew.args.HEAD? || e.formula.deprecated? || e.formula.disabled? <add> output_unsupported_error if e.formula.head? || e.formula.deprecated? |...
1
Text
Text
remove extraneous colon in legacy subject
5d838d3f34b2367351ba16e2be82b3860988aa99
<ide><path>doc/api/tls.md <ide> certificate. <ide> <ide> * `raw` {Buffer} The DER encoded X.509 certificate data. <ide> * `subject` {Object} The certificate subject, described in terms of <del> Country (`C:`), StateOrProvince (`ST`), Locality (`L`), Organization (`O`), <add> Country (`C`), StateOrProvince (`ST`), Lo...
1
Javascript
Javascript
add test for cluster benchmarks
0c5ea126dccaa431b8ebe26a690dc1447369c72d
<ide><path>test/parallel/test-benchmark-cluster.js <add>'use strict'; <add> <add>require('../common'); <add> <add>// Minimal test for cluster benchmarks. This makes sure the benchmarks aren't <add>// horribly broken but nothing more than that. <add> <add>const assert = require('assert'); <add>const fork = require('chil...
1
Text
Text
add 1.3.3 changes
d5968c785389d0d516075979f953d855398eb301
<ide><path>CHANGELOG.md <add><a name="1.3.3"></a> <add># 1.3.3 undersea-arithmetic (2014-11-17) <add> <add> <add>## Bug Fixes <add> <add>- **$http:** don't parse single space responses as JSON <add> ([6f19a6fd](https://github.com/angular/angular.js/commit/6f19a6fd33ab72d3908e3418fba47ee8e1598fa6), <add> [#9907](http...
1
PHP
PHP
use tab characters instead of spaces
a427a4d8f093e016f7f73200b8b31542843fd059
<ide><path>src/Illuminate/View/Factory.php <ide> public function startSection($section, $content = '') <ide> { <ide> if ($content === '') <ide> { <del> if (ob_start()) <del> { <del> $this->sectionStack[] = $section; <del> } <add> if (ob_start()) <add> { <add> ...
1
Go
Go
add logs when docker enabled selinux
1bf529a45674dc07de6efba806b854f63f3dc0bf
<ide><path>daemon/daemon.go <ide> func NewDaemonFromDirectory(config *Config, eng *engine.Engine) (*Daemon, error) <ide> return nil, fmt.Errorf("Unable to get the full path to the TempDir (%s): %s", tmp, err) <ide> } <ide> os.Setenv("TMPDIR", realTmp) <del> if !config.EnableSelinuxSupport { <del> selinuxSetDisable...
1
Javascript
Javascript
remove redundant registrations
6fe5504e2fd50e4e70756e7c035d2b60160efd46
<ide><path>packages/ember-glimmer/tests/integration/helpers/input-test.js <ide> import { assign } from 'ember-utils'; <ide> import { set } from 'ember-metal'; <del>import { TextField, Checkbox, Component } from '../../utils/helpers'; <add>import { Component } from '../../utils/helpers'; <ide> import { RenderingTest, mo...
3
PHP
PHP
add doc block for withfile()
361fb2430d3092a45fdbe4091ccc9a67e942a844
<ide><path>src/Network/Response.php <ide> public function cors(Request $request, $allowedDomains = [], $allowedMethods = [ <ide> * @param array $options Options See above. <ide> * @return void <ide> * @throws \Cake\Network\Exception\NotFoundException <add> * @deprecated 3.4.0 Use withFile() instead. ...
1
Python
Python
update ignored directories
411048b16bc09793aa6b0f3953c2fa4cc4b71456
<ide><path>scripts/check_asf_license_headers.py <ide> 'build', <ide> 'dist', <ide> 'docs', <add> 'venv/', <ide> <ide> 'libcloud/utils/iso8601.py' <ide> ]
1
PHP
PHP
update links to the book
bcab99540a4e938dfcb51510eb456a8d5104ca01
<ide><path>src/Core/App.php <ide> * Plugins can be located with App as well. Using Plugin::path('DebugKit') for example, will <ide> * give you the full path to the DebugKit plugin. <ide> * <del> * @link http://book.cakephp.org/3.0/en/core-utility-libraries/app.html <add> * @link http://book.cakephp.org/3.0/en/core-l...
4
Text
Text
update stability of report features
a022d387ea89a3bc5e7435faf2ae7030e0646af1
<ide><path>doc/api/cli.md <ide> warning will be written to stderr instead. <ide> <!-- YAML <ide> added: v11.8.0 <ide> changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/32242 <add> description: This option is no longer considered experimental. <ide> - version: v12.0.0 <ide> ...
3
PHP
PHP
tweak some bootstrapping logic
95d4f703f6a0b2c5e3f9d24412dd0049dae9c20b
<ide><path>src/Illuminate/Foundation/Application.php <ide> class Application extends Container implements ApplicationContract { <ide> */ <ide> protected $basePath; <ide> <add> /** <add> * Indicates if the application has been bootstrapped before. <add> * <add> * @var bool <add> */ <add> protected $hasBeenBootst...
3
Javascript
Javascript
add mock "tostring" method to tzdate
0fbaa2f12ab96328fe2e7b4b9f3ec0c8d7f30e37
<ide><path>src/angular-mocks.js <ide> function MockLogFactory() { <ide> * </pre> <ide> * <ide> */ <del>function TzDate(offset, timestamp) { <add>function TzDate(offset, timestamp, toStringVal) { <ide> if (angular.isString(timestamp)) { <ide> var tsStr = timestamp; <ide> <ide> function TzDate(offset, timestamp...
2
Text
Text
update rfc based on feedback
6ca40a6521b9a2a46f632f16c01d02ed85a4cab3
<ide><path>docs/rfcs/001-updateable-bundled-packages.md <ide> Proposed <ide> <ide> ## Summary <ide> <del>> One paragraph explanation of the feature. <del> <ide> This feature will enable an opt-in subset of bundled Atom packages to be updated with `apm` outside of the Atom release cycle. This will enable users to rec...
1
Text
Text
replace an unpleasant grammatical construct
f83dae831f03969c44e80b1d874b0fd00ddeef8a
<ide><path>guides/source/rails_on_rack.md <ide> use Rack::ETag <ide> run MyApp::Application.routes <ide> ``` <ide> <del>Purpose of each of this middlewares is explained in the [Internal Middlewares](#internal-middleware-stack) section. <add>The default middlewares shown here (and some others) are each summarized in th...
1
Go
Go
fix builder inconsistent error on buggy platform
399695305c67aae1010e6754f90f9078aa39e742
<ide><path>daemon/images/image_builder.go <ide> import ( <ide> "io" <ide> "runtime" <ide> <add> "github.com/containerd/containerd/platforms" <ide> "github.com/docker/distribution/reference" <ide> "github.com/docker/docker/api/types" <ide> "github.com/docker/docker/api/types/backend" <ide> "github.com/docker/dock...
1
Ruby
Ruby
allow underscore in github version numbers
f0b6870de76a3cbb328c55de677a21c123f0b35a
<ide><path>Library/Homebrew/extend/pathname.rb <ide> def version <ide> stem=self.stem <ide> end <ide> <del> # github tarballs are special <del> # we only support numbered tagged downloads <add> # github tarballs, like v1.2.3 <ide> %r[github.com/.*/tarball/v?((\d\.)+\d+)$].match to_s <ide> re...
1
PHP
PHP
use repository interfaces instead of alias
4e44ae56d1a4a22b78d1d6fb7f82f06bb3678bbe
<ide><path>src/Illuminate/Queue/Console/RestartCommand.php <ide> <ide> use Illuminate\Console\Command; <ide> use Illuminate\Support\InteractsWithTime; <add>use Illuminate\Contracts\Cache\Repository as Cache; <ide> <ide> class RestartCommand extends Command <ide> { <ide> class RestartCommand extends Command <ide> ...
2
Ruby
Ruby
remove duplicated `columns` definition
fdc3e789b5dada526f530969308e24874b9b1986
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb <ide> def index_exists?(table_name, column_name, options = {}) <ide> indexes(table_name).any? { |i| checks.all? { |check| check[i] } } <ide> end <ide> <del> # Returns an array of Column objects for the table ...
2
Go
Go
fix a comment typo
0050efcd8f82144ea7f6c74f9bc9af357743370d
<ide><path>api/client/commands.go <ide> func (cli *DockerCli) CmdLogin(args ...string) error { <ide> } else { <ide> // However, if they don't override the username use the <ide> // password or email from the cmd line if specified. IOW, allow <del> // then to change/overide them. And if not specified, just <add> ...
1
Javascript
Javascript
add statistics report to resolvercacheplugin
0750da4dc37bd870c50d73d344b89802cbfa8491
<ide><path>lib/cache/ResolverCachePlugin.js <ide> class ResolverCachePlugin { <ide> const cache = compiler.cache; <ide> /** @type {FileSystemInfo} */ <ide> let fileSystemInfo; <add> let realResolves = 0; <add> let cachedResolves = 0; <add> let cacheInvalidResolves = 0; <ide> compiler.hooks.thisCompilation.ta...
1
Javascript
Javascript
display infinity symbol when number is infinity
51d6774286202b55ade402ca097e417e70fd546b
<ide><path>src/ng/filter/filters.js <ide> function currencyFilter($locale) { <ide> * <ide> * If the input is not a number an empty string is returned. <ide> * <add> * If the input is an infinite (Infinity/-Infinity) the Infinity symbol '∞' is returned. <add> * <ide> * @param {number|string} number Number to format....
2
Java
Java
add concurrent test and fix potential npe
0b43e4e4f2ae8d59bcfb16b8d88c6a0c3a7b7ace
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/broker/DefaultSubscriptionRegistry.java <ide> <ide> package org.springframework.messaging.simp.broker; <ide> <del>import static org.springframework.messaging.support.MessageHeaderAccessor.getAccessor; <del> <ide> import java.util.Collection;...
2
Python
Python
add validation per epoch
e17e64bb03b49754b5f843adc1e6aa82419418b3
<ide><path>official/resnet/keras/keras_cifar_main.py <ide> def run_cifar_with_keras(flags_obj): <ide> lr_callback, <ide> tesorboard_callback <ide> ], <add> validation_steps=num_eval_steps, <add> validation_data=eval_input_dataset, <ide> verbose=1...
1
Javascript
Javascript
add transformproptypes to docs
b8ca4e450b2fdff5eed68dbb3e1b4ca00b7d4a9c
<ide><path>website/layout/AutodocsLayout.js <ide> var ComponentDoc = React.createClass({ <ide> <div className="compactProps"> <ide> {(style.composes || []).map((name) => { <ide> var link; <del> if (name !== 'LayoutPropTypes') { <del> name = name.replace('StylePropTypes', '');...
2
Javascript
Javascript
fix linter error in whatwg-url-parsing
5acfbb0f252fdf70d8ac3d94f11d534c46772929
<ide><path>test/parallel/test-whatwg-url-parsing.js <ide> for (const test of tests) { <ide> } <ide> <ide> for (const test of allTests) { <del> const url = test.url <del> ? new URL(test.url) <del> : new URL(test.input, test.base); <add> const url = test.url ? new URL(test.url) : new URL(test.input, test.base); ...
1