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
PHP
PHP
enable colors for windows conemu user
bfa1cd0a69a9ae3fe8941f718d226f55d0952ecf
<ide><path>src/Console/ConsoleOutput.php <ide> class ConsoleOutput <ide> /** <ide> * Construct the output object. <ide> * <del> * Checks for a pretty console environment. Ansicon allows pretty consoles <del> * on windows, and is supported. <add> * Checks for a pretty console environment. Ansic...
3
Javascript
Javascript
add test for td append
acb206a4886f53c3eb9628e17d699dbb1b96ef25
<ide><path>test/unit/manipulation.js <ide> var testAppendForObject = function( valueObj, isFragment ) { <ide> <ide> var testAppend = function( valueObj ) { <ide> <del> expect( 67 ); <add> expect( 68 ); <ide> <ide> testAppendForObject( valueObj, false ); <ide> testAppendForObject( valueObj, true ); <ide> var testAp...
1
Python
Python
clean the code, go back try / except
f2aca6be2036ddc95fa6480d39796f1b95e9e03a
<ide><path>glances/glances.py <ide> def __get_process_stats__(self, proc): <ide> procstat['pid'] = proc.pid <ide> procstat['username'] = proc.username <ide> <del> try: <add> if hasattr(proc, 'nice'): <ide> # Deprecated in PsUtil 0.5.0 <ide> procstat['nice'] = proc....
1
PHP
PHP
update exception namespaces for api
fe06e153fe589422a1a676a7cdfdc79f85c7211b
<ide><path>src/Datasource/RepositoryInterface.php <ide> public function find($type = 'all', $options = []); <ide> * <ide> * @param mixed $primaryKey primary key value to find <ide> * @param array|\ArrayAccess $options options accepted by `Table::find()` <del> * @throws \Cake\ORM\Exception\RecordNotFo...
3
Ruby
Ruby
add unnecessary whitespace check
73194b460d047bec3a4d6fb31cf969a2b9e7aa77
<ide><path>Library/Homebrew/rubocops/formula_desc_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> module FormulaAuditStrict <ide> # This cop audits `desc` in Formulae <ide> # <add> # - Checks for leading/trailing whitespace in `desc` <ide> # - Checks if...
1
Text
Text
update 1.2.26 release name
8da08a1ebd92468cb999b4842b53a4fb187e2403
<ide><path>CHANGELOG.md <ide> as those errors are shown to the user, but the erroneous state was <ide> caused by incorrect application logic and not by the user. <ide> <ide> <a name="1.2.26"></a> <del># 1.2.26 zucchini-expansion (2014-10-01) <add># 1.2.26 captivating-disinterest (2014-10-01) <ide> <ide> ## Bug Fixes ...
1
Javascript
Javascript
get test-http-response-no-headers.js to pass
6e1e9e2fcb8dd79eada404581c2cc3eb2cd245f8
<ide><path>test/simple/test-http-response-no-headers.js <ide> var assert = require('assert'); <ide> var http = require('http'); <ide> var net = require('net'); <ide> <del>var expected = 'I AM THE WALRUS'; <add>var expected = { <add> '0.9': 'I AM THE WALRUS', <add> '1.0': 'I AM THE WALRUS', <add> '1.1': '', <add>} <...
1
Python
Python
use better type signatures in the array api module
74478e2d943f4d61917d4d9122a042214eed94fd
<ide><path>numpy/_array_api/_array_object.py <ide> def __le__(self: Array, other: Union[int, float, Array], /) -> Array: <ide> res = self._array.__le__(other._array) <ide> return self.__class__._new(res) <ide> <del> def __len__(self, /): <add> # Note: __len__ may end up being removed from the arr...
4
Javascript
Javascript
make use of destructuring possibilities
2740fda412ca23d4d632ab226fd75adae3809c69
<ide><path>lib/DelegatedModuleFactoryPlugin.js <ide> class DelegatedModuleFactoryPlugin { <ide> normalModuleFactory.hooks.factorize.tapAsync( <ide> "DelegatedModuleFactoryPlugin", <ide> (data, callback) => { <del> const dependency = data.dependencies[0]; <del> const request = dependency.request; <add...
1
Ruby
Ruby
fix sequence name with abstract classes
82ae5c40ea29eecc2c0d017ffc7c2f2a23a7e21f
<ide><path>activerecord/lib/active_record/base.rb <ide> def set_inheritance_column(value = nil, &block) #:nodoc: <ide> end <ide> <ide> def sequence_name <del> if superclass == Base <add> if base_class == self <ide> @sequence_name ||= reset_sequence_name <ide> else <del> ...
2
PHP
PHP
remove code that is in 8.x
ac5ee4f4cacba0e79849c9d0de922f6e18b0725f
<ide><path>src/Illuminate/Mail/MailManager.php <ide> public function setDefaultDriver(string $name) <ide> $this->app['config']['mail.default'] = $name; <ide> } <ide> <del> /** <del> * Forget a mailer instance by name. <del> * <del> * @param array|string|null $name <del> * @return void ...
2
PHP
PHP
implement array access on models
9e9f32a4f371fdb8c18ddb21c7eabb51a8a63a78
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> <ide> use Closure; <ide> use DateTime; <add>use ArrayAccess; <ide> use Illuminate\Events\Dispatcher; <ide> use Illuminate\Database\Connection; <ide> use Illuminate\Database\Eloquent\Relations\HasOne; <ide> use Illuminate\Database\Eloquent\Relations\BelongsToM...
1
Python
Python
fix comparison to 0 in scalarmath test
004082f81f89021deb931f8da1b4db1aaed87806
<ide><path>numpy/core/tests/test_scalarmath.py <ide> def check_float_repr(self): <ide> # through a Python float, which will lose <ide> # precision <ide> continue <del> assert_equal( val, val2 ) <add> if not (val == 0 and val2 < 1e...
1
Javascript
Javascript
exclude elclob test in edge 17
3cf4eed6b58c4b09a44d59cba68f3d6a7283a2a4
<ide><path>test/ngSanitize/sanitizeSpec.js <ide> describe('HTML', function() { <ide> }); <ide> }); <ide> <del> if (!/Edge\/16/.test(window.navigator.userAgent)) { <add> if (!/Edge\/(16|17)/.test(window.navigator.userAgent)) { <ide> // Skip test on Edge 16 due to browser bug. <ide> it('shoul...
1
Go
Go
replace strings.replace with strings.replaceall
7873c27cfbd812dca60d90367d375bbae5a27014
<ide><path>builder/dockerfile/dispatchers_windows.go <ide> func normalizeWorkdirUnix(current string, requested string) (string, error) { <ide> if requested == "" { <ide> return "", errors.New("cannot normalize nothing") <ide> } <del> current = strings.Replace(current, string(os.PathSeparator), "/", -1) <del> reques...
18
Javascript
Javascript
guarantee stable sort
762580ff347e733397c70cb192ca023e7d06f581
<ide><path>src/ng/filter/orderBy.js <ide> * dummy predicate that returns the item's index as `value`. <ide> * (If you are using a custom comparator, make sure it can handle this predicate as well.) <ide> * <add> * If a custom comparator still can't distinguish between two items, then they will be sorted based <add> ...
2
Text
Text
update translation timsort
14260bb4b34a2b40491a4873db2a283bf2731036
<ide><path>guide/portuguese/algorithms/sorting-algorithms/timsort/index.md <ide> O Timsort é um algoritmo de classificação rápida que trabalha na complexidad <ide> Timsort é uma mistura em Insertion Sort e Mergesort. Esse algoritmo é implementado no Arrays.sort () do Java, bem como no class () e no sort () do Python. A...
1
Go
Go
add comments to api/common constants, closes
c136591f40c34de51bbb0691ae69f393ff8b2f0e
<ide><path>api/common.go <ide> import ( <ide> "github.com/docker/libtrust" <ide> ) <ide> <add>// Common constants for daemon and client. <ide> const ( <del> APIVERSION version.Version = "1.18" <del> DEFAULTHTTPHOST = "127.0.0.1" <del> DEFAULTUNIXSOCKET = "/var/run/...
1
Javascript
Javascript
add missing createmockwindow()
670ca75c8ab3072af289ad6b136208c6ac2e0aa7
<ide><path>docs/component-spec/annotationsSpec.js <ide> describe('Docs Annotations', function() { <ide> var $scope, parent, element, url, window; <ide> beforeEach(function() { <ide> module(function($provide, $animateProvider) { <del> $provide.value('$window', window = angular.mock.createMockWindow(...
3
PHP
PHP
remove addhidden method
a284f906193c22e0e0a5d827da9fc5f8916e081b
<ide><path>src/Illuminate/Database/Eloquent/Concerns/HidesAttributes.php <ide> public function setHidden(array $hidden) <ide> return $this; <ide> } <ide> <del> /** <del> * Add hidden attributes for the model. <del> * <del> * @param array|string|null $attributes <del> * @return void <de...
1
Javascript
Javascript
fix benchmark script
36ab982b813db42ed1aef3ba43eefeb5334dc594
<ide><path>benchmark/createFixtures.js <ide> var fs = require("fs"); <ide> <ide> var fixtures = path.join(__dirname, "fixtures"); <ide> <add>try { fs.mkdirSync(fixtures); } catch(e) {} <add> <ide> <ide> for(var i = 0; i < 1000; i++) { <ide> var source = [];
1
Text
Text
fix example from to avoid double rendering
f5a9a26a43474ed902a6a2fa10e6a3b457c7333e
<ide><path>docs/tips/12-initial-ajax.md <ide> var UserGist = React.createClass({ <ide> }, <ide> <ide> componentDidMount: function() { <del> this.setState({ <del> serverRequest: $.get(this.props.source, function(result) { <del> var lastGist = result[0]; <del> this.setState({ <del> use...
1
Python
Python
fix equality check in test
41744771611305363484f046b0271b5f0ea071aa
<ide><path>spacy/tests/parser/test_parse_navigate.py <ide> def test_parser_parse_navigate_consistency(en_tokenizer, text, heads): <ide> doc = get_doc(tokens.vocab, [t.text for t in tokens], heads=heads) <ide> for head in doc: <ide> for child in head.lefts: <del> assert child.head is head <add...
1
Text
Text
remove space before parens in anon-func
35edaf26cbc6edafc7bbef063db01c17cac5a3e2
<ide><path>STYLEGUIDE.md <ide> if (foo === 'bara') { <ide> } <ide> <ide> // parameters <del>function (test, foo) { <add>function(test, foo) { <ide> } <ide> ``` <ide>
1
Javascript
Javascript
use weakmap for dom data
8610f9967340b9ae7fc73d41ff0e9d17a54b0604
<ide><path>src/js/component.js <ide> import window from 'global/window'; <ide> import evented from './mixins/evented'; <ide> import stateful from './mixins/stateful'; <ide> import * as Dom from './utils/dom.js'; <del>import * as DomData from './utils/dom-data'; <add>import DomData from './utils/dom-data'; <ide> import ...
7
Javascript
Javascript
fix vertical alignment of legend labels
a9308301e34d3fb39462a8ed24e0fd09c7f388ef
<ide><path>src/plugins/plugin.legend.js <ide> module.exports = function(Chart) { <ide> <ide> // Canvas setup <ide> ctx.textAlign = 'left'; <del> ctx.textBaseline = 'top'; <add> ctx.textBaseline = 'middle'; <ide> ctx.lineWidth = 0.5; <ide> ctx.strokeStyle = fontColor; // for strikethrough effect <...
1
Javascript
Javascript
remove redundant common.mustcall
e96e3f9eb0610168b0b06977664c0e713571b066
<ide><path>test/parallel/test-fs-readfile-error.js <ide> function test(env, cb) { <ide> const filename = fixtures.path('test-fs-readfile-error.js'); <ide> const execPath = `"${process.execPath}" "${filename}"`; <ide> const options = { env: Object.assign({}, process.env, env) }; <del> exec(execPath, options, comm...
1
Javascript
Javascript
add common.mustcall function
d0e6c3f5a644e4f84e80e9081d28570bf7477391
<ide><path>test/common.js <ide> process.on('exit', function() { <ide> }); <ide> <ide> <del>// This function allows one two run an HTTP test agaist both HTTPS and <del>// normal HTTP modules. This ensures they fit the same API. <del>exports.httpTest = function httpTest(cb) { <del>}; <add>var mustCallChecks = []; <add>...
1
Javascript
Javascript
fix typo in component lookup assert
82843abdb5820378fec5501dee280b4d4d0554ea
<ide><path>packages/ember-htmlbars/tests/integration/component_lookup_test.js <ide> QUnit.test('dashless components should not be found', function() { <ide> <ide> expectAssertion(function() { <ide> runAppend(view); <del> }, /You canot use 'dashless' as a component name. Component names must contain a hyphen./);...
2
Python
Python
add the default none when pop actions
6434b5770877d75fba3c0c49fd808d6413367ab4
<ide><path>airflow/www/fab_security/views.py <ide> def class_permission_name(self, name): <ide> def show(self, pk): <ide> pk = self._deserialize_pk_if_composite(pk) <ide> widgets = self._show(pk) <del> widgets['show'].template_args['actions'].pop('userinfoedit') <add> widgets['show'].t...
1
PHP
PHP
prevent infinite loop caused when argv not set
d62e5e1b00bea33df3240d40a06143018724cf22
<ide><path>lib/Cake/Console/ShellDispatcher.php <ide> public function parseParams($args) { <ide> protected function _parsePaths($args) { <ide> $parsed = array(); <ide> $keys = array('-working', '--working', '-app', '--app', '-root', '--root'); <add> $args = (array)$args; <ide> foreach ($keys as $key) { <ide> ...
1
Ruby
Ruby
improve matching of sparkle strategy
605c33c70ce5e57d6a7762afc0c52faf70d4a692
<ide><path>Library/Homebrew/livecheck/strategy.rb <ide> def from_url(url, livecheck_strategy: nil, url_provided: nil, regex_provided: ni <ide> # Only treat the `PageMatch` strategy as usable if a regex is <ide> # present in the `livecheck` block <ide> next unless regex_provided || bl...
1
PHP
PHP
convert frame guard to middleware
4492b52ca5b8d2e5220b82de0630a147e9ad1357
<ide><path>src/Illuminate/Http/FrameGuard.php <del><?php namespace Illuminate\Http; <add><?php namespace Illuminate\Http\Middleware; <ide> <del>use Symfony\Component\HttpKernel\HttpKernelInterface; <del>use Symfony\Component\HttpFoundation\Request as SymfonyRequest; <add>use Closure; <add>use Illuminate\Contracts\Rout...
1
PHP
PHP
fix problem with bundle assets
9e690c8af6ad14617f81850a898cfc21c590a30f
<ide><path>laravel/bundle.php <ide> public static function path($bundle) <ide> */ <ide> public static function assets($bundle) <ide> { <del> return ($bundle != DEFAULT_BUNDLE) ? URL::base()."/bundles/{$bundle}/" : PUBLIC_PATH; <add> return ($bundle != DEFAULT_BUNDLE) ? URL::base()."/bundles/{$bundle}/" : URL::bas...
1
PHP
PHP
fix url generation bug
cedc9d443c66f467a44edf7dbd291ae36cc5a4f9
<ide><path>src/Illuminate/Routing/RouteCollection.php <ide> protected function addLookups($route) <ide> // is used by the route. This will let us reverse route to controllers while <ide> // processing a request and easily generate URLs to the given controllers. <ide> if (isset($action['controller'])) <add> { <ad...
1
Python
Python
address comments on
4b1d5cbf24174b1ed96824e706f74c84841633bc
<ide><path>numpy/lib/tests/test_type_check.py <ide> def test_generic(self): <ide> assert_(vals[1] == 0) <ide> assert_all(vals[2] > 1e10) and assert_all(np.isfinite(vals[2])) <ide> assert_equal(type(vals), np.ndarray) <add> <add> # perform the same tests but with nan, posinf and ne...
2
Text
Text
prepare changelog for 0.69.0
d27c8cf02d57110d2f45ccd9ab74ea6d774b69b5
<ide><path>CHANGELOG.md <ide> # Changelog <ide> <add>## v0.69.0 <add> <add>### Breaking <add> <add>- Support for `console.disableYellowBox` [has been dropped](https://github.com/facebook/react-native/commit/b633cc130533f0731b2577123282c4530e4f0abe) <add>- Already deprecated prop types have been removed ([cdfddb4dad](h...
1
PHP
PHP
remove separator element
ec360c88de943d486a7d537481ef606f6b5c97e6
<ide><path>Cake/Test/TestCase/View/Helper/PaginatorHelperTest.php <ide> public function testPassedArgsMergingWithUrlOptions() { <ide> $result = $this->Paginator->numbers(); <ide> $expected = array( <ide> array('li' => array('class' => 'active')), '<span', '1', '/span', '/li', <del> ' | ', <ide> array('li' =...
2
Javascript
Javascript
remove a flag for style collision warning
31734540dc1b507982cae839536f757de964dcd5
<ide><path>packages/react-dom/src/shared/CSSPropertyOperations.js <ide> import dangerousStyleValue from './dangerousStyleValue'; <ide> import hyphenateStyleName from './hyphenateStyleName'; <ide> import warnValidStyle from './warnValidStyle'; <ide> <del>import {warnAboutShorthandPropertyCollision} from 'shared/ReactFe...
10
Python
Python
wrap long lines in cyg2win32 docstring
c804775b973b7de803eb279c1dcf5c15f1b74ad3
<ide><path>numpy/distutils/misc_util.py <ide> def blue_text(s): <ide> def cyg2win32(path: str) -> str: <ide> """Convert a path from Cygwin-native to Windows-native. <ide> <del> Uses the cygpath utility (part of the Base install) to do the actual <del> conversion. Falls back to returning the original path if...
1
Javascript
Javascript
change abstract equal to strict equal
0f841208d2d89d91395536a3227c4b11e1bf2425
<ide><path>lib/console.js <ide> Console.prototype.table = function(tabularData, properties) { <ide> if (properties !== undefined && !ArrayIsArray(properties)) <ide> throw new ERR_INVALID_ARG_TYPE('properties', 'Array', properties); <ide> <del> if (tabularData == null || typeof tabularData !== 'object') <add> i...
1
Javascript
Javascript
fix linter violations
cab8824aaedee5ab54333633b05b389402490d32
<ide><path>src/project.js <ide> * DS207: Consider shorter variations of null checks <ide> * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md <ide> */ <del>let Project <ide> const path = require('path') <ide> <ide> let _ = require('underscore-plus') <ide> const GitRepositoryPro...
1
Javascript
Javascript
remove controlid inclusion from mustache
d45ad5a3dd5cce1b6bdcf9cca863f95bbed17c4e
<ide><path>packages/ember-handlebars-compiler/lib/main.js <ide> Ember.Handlebars.JavaScriptCompiler.prototype.ambiguousBlockValue = function() { <ide> stringifyBlockHelperMissing(this.source); <ide> }; <ide> <del>var prefix = "ember" + (+new Date()), incr = 1; <del> <ide> /** <ide> Rewrite simple mustaches from `{...
1
Javascript
Javascript
remove unused movedtopluginwarningplugin
6051cb146ed1856d13e2e996d5f5cc6796f3b9d1
<ide><path>lib/MovedToPluginWarningPlugin.js <del>/* <del> MIT License http://www.opensource.org/licenses/mit-license.php <del> Author Tobias Koppers @sokra <del>*/ <del>"use strict"; <del>module.exports = class MovedToPluginWarningPlugin { <del> constructor(optionName, pluginName) { <del> this.optionName = optionName...
1
Javascript
Javascript
remove polymorphic types from stylesheettypes
b98bf1e09739860d82e37225f1635bba3bc817b3
<ide><path>Libraries/StyleSheet/StyleSheetTypes.js <ide> export opaque type StyleSheetStyle: number = number; <ide> export type ColorValue = null | string; <ide> export type DimensionValue = null | number | string | AnimatedNode; <ide> <del>export type LayoutStyle<+Dimension = DimensionValue> = { <add>export type Layo...
2
PHP
PHP
apply fixes from styleci
1e4b8a50d5075eb6693b908c57e75d87aadb3537
<ide><path>tests/View/fixtures/section-exception-layout.php <del><?php echo $__env->yieldContent('content'); <add><?php <add> <add>echo $__env->yieldContent('content');
1
Text
Text
add v3.18.0 to changelog
85f2e8c314e619eab64013cab753974974260bcd
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <del>### v3.18.0-beta.5 (April 7, 2020) <del> <del>- [#18857](https://github.com/emberjs/ember.js/pull/18857) [BUGFIX] Pass value through to `PROPERTY_DID_CHANGE` to avoid calling `get` when setting values for computed props <del>- [#18861](https://github.com/ember...
1
Text
Text
fix typo in docs
d53364c44b2fb75b59e2c98090b253c103d63c75
<ide><path>docs/recipes/CodeSplitting.md <ide> that to the store instance. <ide> ```js <ide> import { createStore } from 'redux' <ide> <del>// Define the Reducers that will always be present in the appication <add>// Define the Reducers that will always be present in the application <ide> const staticReducers = { <ide...
1
PHP
PHP
add missing tests
9c652e65731484b478056e283d3f9b86dca1b2e7
<ide><path>lib/Cake/Test/Case/AllDatabaseTest.php <ide> public static function suite() { <ide> 'Datasource' . DS . 'Database' . DS . 'Mysql', <ide> 'Datasource' . DS . 'Database' . DS . 'Postgres', <ide> 'Datasource' . DS . 'Database' . DS . 'Sqlite', <del> 'Datasource' . DS . 'Database' . DS . 'Sqlserver' <...
3
Python
Python
fix syntax error
f555f7e48d63fb37a1d1ecaab0fed6ba3ea7c7c3
<ide><path>celery/contrib/coroutine.py <ide> class CoroutineTask(Task): <ide> def body(self): <ide> while True: <ide> args, kwargs = (yield) <del> yield self.run(*args, *kwargs) <add> yield self.run(*args, **kwargs) <ide> <ide> def run(self, *args, **kwargs): <ide> ...
1
Javascript
Javascript
replace concatenation with template literals
d112f5982c9bdb03c4e94262d7d64f67f58d87b2
<ide><path>test/parallel/test-http-extra-response.js <ide> const net = require('net'); <ide> const body = 'hello world\r\n'; <ide> const fullResponse = <ide> 'HTTP/1.1 500 Internal Server Error\r\n' + <del> 'Content-Length: ' + body.length + '\r\n' + <add> `Content-Length: ${body.length}\r\n` + <ide> 'Con...
1
Javascript
Javascript
fix calls to jasmine fail()
0985a37376314616ac2b777bddd8bc07e1be7af7
<ide><path>test/ng/browserSpecs.js <ide> describe('browser', function() { <ide> browser.cookies('x', longVal + longVal + longVal); //should be too long for all browsers <ide> <ide> if (document.cookie !== cookieStr) { <del> fail("browser didn't drop long cookie when it was expected. make the c...
2
Javascript
Javascript
add renderer id to react-devtools injection
ec77740ac3332024fcee71e2885cf8114a3ec457
<ide><path>src/renderers/dom/ReactDOMStackEntry.js <ide> if ( <ide> }, <ide> Mount: ReactMount, <ide> Reconciler: ReactReconciler, <add> rendererPackageName: 'react-dom', <ide> }); <ide> } <ide> <ide><path>src/renderers/dom/fiber/ReactDOMFiberEntry.js <ide> const foundDevTools = injectInternals({ <ide...
4
Javascript
Javascript
change callbacks to arrow function
0f18a403741ff4cca80d7b6b5937e06fd50c3900
<ide><path>lib/internal/bootstrap/node.js <ide> // To allow people to extend Node in different ways, this hook allows <ide> // one to drop a file lib/_third_party_main.js into the build <ide> // directory which will be executed instead of Node's normal loading. <del> process.nextTick(function() {...
1
Python
Python
fix device in longformer onnx path
993a187c6ff03cd971c71ad234d1ddfb3beb020a
<ide><path>src/transformers/models/led/modeling_led.py <ide> def _chunk(hidden_states, window_overlap, onnx_export: bool = False): <ide> hidden_states.size(2), <ide> ] <ide> <del> overlapping_chunks = torch.empty(chunk_size) <add> overlapping_chunks = torch.empty(chunk_size, device=hi...
2
Mixed
Ruby
generate secret_key_base for all new credentials
915776ad04427044526ae9a2f9d12611d01d3675
<ide><path>railties/CHANGELOG.md <add>* Newly generated per-environment credentials files (e.g. <add> `config/credentials/production.yml.enc`) now include a `secret_key_base` for <add> convenience, just as `config/credentials.yml.enc` does. <add> <add> *Jonathan Hefner* <add> <ide> * `--no-*` options now w...
5
Mixed
Javascript
add perf_hooks detail for http request and client
d96a2ea615b4090bb8cd53a9bc7fcba231479e12
<ide><path>doc/api/perf_hooks.md <ide> property will be an {Object} with two properties: <ide> * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY` <ide> * `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE` <ide> <add>### HTTP ('http') Details <add> <add>When `performanceEntry.type` i...
5
Python
Python
add authentication for stable api
422e3f1d5d66b9094e5a1c5412e66dd8c2202712
<ide><path>airflow/api_connexion/endpoints/config_endpoint.py <ide> <ide> from flask import Response, request <ide> <add>from airflow.api_connexion import security <ide> from airflow.api_connexion.schemas.config_schema import Config, ConfigOption, ConfigSection, config_schema <ide> from airflow.configuration import c...
33
PHP
PHP
fix testapp parma typehints
60a0b2fd62e6c71347d76972be181b3c4f0ec57c
<ide><path>tests/TestCase/Routing/RouteBuilderTest.php <ide> public static function httpMethodProvider() <ide> * @dataProvider httpMethodProvider <ide> * @return void <ide> */ <del> public function testHttpMethods($method) <add> public function testHttpMethods(string $method) <ide> { <ide> ...
22
PHP
PHP
extract a trait for generating id values
d4e69440468d5e3fed8e600e802730a11889f03a
<ide><path>src/View/Widget/IdGeneratorTrait.php <add><?php <add>/** <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * For full copyright and license information, p...
2
Ruby
Ruby
remove deprecation comment
c7f8ce83d44f6f4b0133c35a1b7a64a91e133900
<ide><path>Library/Homebrew/cmd/tap.rb <ide> def tap_args <ide> assumptions, so taps can be cloned from places other than GitHub and <ide> using protocols other than HTTPS, e.g. SSH, git, HTTP, FTP(S), rsync. <ide> EOS <del> # odeprecated "brew tap --full" <ide> switch "--full", <ide> ...
1
Go
Go
remove unused imports
e7ee2f443ad93803e8312bc224da618d555aebdc
<ide><path>term/term.go <ide> package term <ide> <ide> import ( <del> "fmt" <del> "io" <ide> "os" <ide> "os/signal" <ide> "syscall"
1
Java
Java
fix typo in javadoc
0705454ce012b6390ba50744f59a98223c0464a6
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java <ide> public PathMatchConfigurer addPathPrefix(String prefix, Predicate<Class<?>> pred <ide> /** <ide> * Whether to use suffix pattern match (".*") when matching patterns to <ide> * requests. If enable...
1
Python
Python
fix mixture weights in fine_tune
62594903478a5be5b8c9c0a77624cd83ef8efc2d
<ide><path>spacy/_ml.py <ide> def fine_tune_fwd(docs_tokvecs, drop=0.): <ide> vecs, bp_vecs = embedding.begin_update(docs, drop=drop) <ide> flat_tokvecs = embedding.ops.flatten(tokvecs) <ide> flat_vecs = embedding.ops.flatten(vecs) <add> alpha = model.mix <add> minus = 1-model.mix ...
1
Javascript
Javascript
add ordinal test
b60d42bd1c1fdbe84a456d644c9e82440f23b8af
<ide><path>test/lang/km.js <ide> exports["lang:km"] = { <ide> test.done(); <ide> }, <ide> <add> "format ordinal": function (test) { <add> test.expect(31); <add> test.equal(moment([2011, 0, 1]).format('DDDo'), '1', '1st'); <add> test.equal(moment([2011, 0, 2]).format('DDDo'), '2', '2...
1
Javascript
Javascript
remove unused local variable 'child' in bone.js
c8cfa5d6344aa0e097ad45e1fffe2bba8ebe3c2e
<ide><path>src/objects/Bone.js <ide> THREE.Bone.prototype.update = function ( parentSkinMatrix, forceUpdate ) { <ide> <ide> // update children <ide> <del> var child, i, l = this.children.length; <add> var i, l = this.children.length; <ide> <ide> for ( i = 0; i < l; i ++ ) { <ide>
1
Ruby
Ruby
remove tags_only_debian logic
64a7c1f8213558f9aeaaa751492297e75463f656
<ide><path>Library/Homebrew/livecheck/strategy/git.rb <ide> def self.versions_from_tags(tags, regex = nil, &block) <ide> return Strategy.handle_block_return(block_return_value) <ide> end <ide> <del> tags_only_debian = tags.all? { |tag| tag.start_with?("debian/") } <del> <ide> t...
1
Java
Java
use try-with-resource in scriptutils
b4cf88499c36c5120da9596e2785895a3d2a512d
<ide><path>spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/ScriptUtils.java <ide> static String readScript(EncodedResource resource) throws IOException { <ide> private static String readScript(EncodedResource resource, @Nullable String[] commentPrefixes, <ide> @Nullable String separator, @Nullabl...
1
Text
Text
fix grammatical errors in readme.md
23716d448757254fc6c9c4451ea189b17e0ac17e
<ide><path>readme.md <ide> The second `as` parameter for `push` and `replace` is an optional _decoration_ o <ide> _Note: in order to programmatically change the route without triggering navigation and component-fetching, use `props.url.push` and `props.url.replace` within a component_ <ide> <ide> ##### With URL object...
1
Ruby
Ruby
change function name
7be216fcbec3021df87fb37b17bbbd91202af6f5
<ide><path>Library/Homebrew/cli/args.rb <ide> def context <ide> Context::ContextStruct.new(debug: debug?, quiet: quiet?, verbose: verbose?) <ide> end <ide> <del> def only_path_formula_or_cask <add> def only_formula_or_cask <ide> return :formula if formula? && !cask? <ide> return...
10
Go
Go
add docker import test with a tag. fixes
7e72ed70f9cac871b845bebef0f96178c0f1a25c
<ide><path>integration-cli/docker_cli_export_import_test.go <ide> func TestExportContainerAndImportImage(t *testing.T) { <ide> out, _, err = runCommandWithOutput(exportCmd) <ide> errorOut(err, t, fmt.Sprintf("failed to export container: %v %v", out, err)) <ide> <del> importCmdFinal := `cat /tmp/testexp.tar | docker ...
1
Javascript
Javascript
add stub for the last piece of the puzzle
315071ca28ab1bdba6f1a27558f507f41a48d962
<ide><path>src/core.js <ide> function getPdf(arg, callback) { <ide> params = { url: arg }; <ide> <ide> var xhr = new XMLHttpRequest(); <add> <add> if(params.headers){ <add> //TODO: Code this, use xhr.setRequestHeader(key, value); <add> } <add> <ide> xhr.open('GET', params.url); <ide> xhr.mozResponse...
1
PHP
PHP
fix bug in ioc
9d1d48fb4fd87d48b4da7905a152b12a7e5af05b
<ide><path>laravel/ioc.php <ide> class IoC { <ide> * @param bool $singleton <ide> * @return void <ide> */ <del> public static function register($name, $resolver, $singleton = false) <add> public static function register($name, $resolver = null, $singleton = false) <ide> { <add> if (is_null($resolver)) $res...
1
Text
Text
add branding to style guide
7b09f5b14f11d4e362e8e84560e483d6b29d73d2
<ide><path>doc/STYLE_GUIDE.md <ide> <!--lint disable prohibited-strings remark-lint--> <ide> * NOT OK: Javascript, Google's v8 <ide> <!-- lint enable prohibited-strings remark-lint--> <add>* Use _Node.js_ and not _Node_, _NodeJS_, or similar variants. <add> * When referring to the executable, _`node`_ is accepta...
1
Javascript
Javascript
add new&old val to the infinite $digest log
b00da987a9e0e4378d8252add8e15ad2e508901d
<ide><path>src/service/scope.js <ide> function $RootScopeProvider(){ <ide> length, <ide> dirty, ttl = 100, <ide> next, current, target = this, <del> watchLog = []; <add> watchLog = [], <add> logIdx, logMsg; <ide> <ide> if (target.$$phase) { <...
2
Python
Python
add checkpoint links in a few config classes
803475fb69097e802985eb4f85b52199c66a52de
<ide><path>src/transformers/models/clip/configuration_clip.py <ide> def from_pretrained(cls, pretrained_model_name_or_path: Union[str, os.PathLike], <ide> class CLIPConfig(PretrainedConfig): <ide> r""" <ide> [`CLIPConfig`] is the configuration class to store the configuration of a [`CLIPModel`]. It is used to i...
5
Python
Python
update serving_output for some tf models
258480864d3b5771ab07800912515bc1e859b7a3
<ide><path>src/transformers/models/led/modeling_tf_led.py <ide> def serving_output(self, output): <ide> pkv = tf.tuple(output.past_key_values)[1] if self.config.use_cache else None <ide> dec_hs = tf.convert_to_tensor(output.decoder_hidden_states) if self.config.output_hidden_states else None <ide> ...
3
Javascript
Javascript
fix typo in player.js
9ca2e8764a2cced1efdad730b8c66c4b42a33f7f
<ide><path>src/js/player.js <ide> class Player extends Component { <ide> /** <ide> * The player's language code. <ide> * <del> * Changing the langauge will trigger <add> * Changing the language will trigger <ide> * [languagechange]{@link Player#event:languagechange} <ide> * which Components can use to...
1
Ruby
Ruby
fix syntax error on ruby 2.0
9a43816928f07c4ed988fb47545d219eff55e28a
<ide><path>activesupport/lib/active_support/json/encoding.rb <add>#encoding: us-ascii <add> <ide> require 'active_support/core_ext/object/to_json' <ide> require 'active_support/core_ext/module/delegation' <ide> require 'active_support/json/variable' <ide> class << self <ide> def escape_html_entities_in_json=(va...
1
PHP
PHP
fix use order
b6b0f15da52d3075b2c873bc3a38f102c2541fca
<ide><path>Cake/Test/TestCase/View/Helper/StringTemplateTraitTest.php <ide> */ <ide> namespace Cake\Test\TestCase\View\Helper; <ide> <del>use Cake\View\Helper\StringTemplateTrait; <ide> use Cake\View\Helper\StringTemplate; <add>use Cake\View\Helper\StringTemplateTrait; <ide> use Cake\TestSuite\TestCase; <ide> <ide> ...
1
PHP
PHP
add stringable support for isuuid
bc1188d74d434ea2b8e9e7f60642cbc67f85956a
<ide><path>src/Illuminate/Support/Stringable.php <ide> public function isAscii() <ide> return Str::isAscii($this->value); <ide> } <ide> <add> /** <add> * Determine if a given string is a valid UUID. <add> * <add> * @return bool <add> */ <add> public function isUuid() <add> { <add> ...
2
Text
Text
add tip to detect wrong hook imports with eslint
4335097c22bf741af0b5826253499765ba77cb79
<ide><path>docs/usage/UsageWithTypescript.md <ide> export function Counter() { <ide> } <ide> ``` <ide> <add>:::tip Warn about wrong imports <add> <add>ESLint can help your team import the right hooks easily. The [typescript-eslint/no-restricted-imports](https://github.com/typescript-eslint/typescript-eslint/blob/main/...
1
Javascript
Javascript
hoist the deprecate function
ba90a1d20e0567ed1e956a334a6c5f3b397fa973
<ide><path>lib/ExternalModuleFactoryPlugin.js <ide> const util = require("util"); <ide> const ExternalModule = require("./ExternalModule"); <ide> const UNSPECIFIED_EXTERNAL_TYPE_REGEXP = /^[a-z0-9]+ /; <ide> <add>// TODO webpack 6 remove this <add>const callDeprecatedExternals = util.deprecate( <add> (externalsFunctio...
1
Javascript
Javascript
add tests for namespacing and property removal
2fb6d98ef158d8942c7df4683a927e2a3069731c
<ide><path>test/core/selection-attr-test.js <ide> suite.addBatch({ <ide> body.attr("bgcolor", function(d, i) { return "orange-" + i; }); <ide> assert.equal(document.body.getAttribute("bgcolor"), "orange-0"); <ide> }, <add> "sets a namespaced attribute as a string": function(body) { <add> body.at...
3
Go
Go
remove errant "runtime.goarch" from debug message
3d71555a4785cfe28f621caf5edf6e729300bc40
<ide><path>distribution/pull_v2.go <ide> func (p *puller) pullManifestList(ctx context.Context, ref reference.Named, mfst <ide> if pp != nil { <ide> platform = *pp <ide> } <del> logrus.Debugf("%s resolved to a manifestList object with %d entries; looking for a %s/%s match", ref, len(mfstList.Manifests), platforms.F...
1
Ruby
Ruby
ignore false rubocop positive
71a79e7e040202c543e54198bc91539c0b7abc01
<ide><path>Library/Homebrew/utils/formatter.rb <ide> def pluralize(count, singular, plural = nil, show_count: true) <ide> end <ide> <ide> def comma_and(*items) <del> *items, last = items.map(&:to_s) <add> *items, last = items.map(&:to_s) # rubocop:disable Lint/ShadowedArgument, TODO: Remove when RuboCop 0.57...
1
PHP
PHP
fix psalm errors
285e0ebb941a224f0fdd95af3eb2b9120a925c04
<ide><path>src/Http/Uri.php <ide> public function getFragment() <ide> } <ide> <ide> /** <del> * {@inheritDoc} <del> * <del> * @param string $scheme Scheme value. <del> * @return \Psr\Http\Message\UriInterface <add> * @inheritDoc <ide> */ <ide> public function withScheme($scheme) <i...
2
PHP
PHP
fix return errors
276f4f2992cdae6a67fab70a0922d5c1411ae917
<ide><path>src/Event/Event.php <ide> public function subject() { <ide> * @return void <ide> */ <ide> public function stopPropagation() { <del> return $this->_stopped = true; <add> $this->_stopped = true; <ide> } <ide> <ide> /**
1
Python
Python
fix crash in mixed precision stateful rnns
f8add5472995229aaf2f21f8aa1644e72b6a0bda
<ide><path>keras/layers/recurrent.py <ide> def step(inputs, states): <ide> <ide> if self.stateful: <ide> updates = [ <del> tf.compat.v1.assign(self_state, state) for self_state, state in zip( <add> tf.compat.v1.assign(self_state, tf.cast(state, self_state.dtype)) <add> for self_sta...
3
Text
Text
update my email address
91272bce7a5c98829f4a2736def1d684c8f8eb1b
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> * [mcollina](https://github.com/mcollina) - <ide> **Matteo Collina** &lt;matteo.collina@gmail.com&gt; (he/him) <ide> * [mhdawson](https://github.com/mhdawson) - <del>**Michael Dawson** &lt;michael_dawson@ca.ibm.com&gt; (he...
1
Text
Text
add readme files 2/8
6314195bb1e6001ddd0a11a59c41f1d0b9eeb722
<ide><path>cellular_automata/README.md <ide> # Cellular Automata <ide> <del>* https://en.wikipedia.org/wiki/Cellular_automaton <del>* https://mathworld.wolfram.com/ElementaryCellularAutomaton.html <add>Cellular automata are a way to simulate the behavior of "life", no matter if it is a robot or cell. <add>They usually...
5
PHP
PHP
fix improper use of mb_substr()
810311e3309ab0c1672af94a3ead1aab9200f330
<ide><path>src/Illuminate/Routing/UrlGenerator.php <ide> public function to($path, $extra = [], $secure = null) <ide> $root = $this->getRootUrl($scheme); <ide> <ide> if (($queryPosition = strpos($path, '?')) !== false) { <del> $query = mb_substr($path, $queryPosition); <del> $path...
1
Mixed
Ruby
add has_secure_token to active record
5a58ba3366ec6092fcd0e69340acd93f347d2576
<ide><path>activerecord/CHANGELOG.md <add>* Added ActiveRecord::SecureToken in order to encapsulate generation of <add> unique tokens for attributes in a model using SecureRandom <add> <add> *Roberto Miranda* <add> <ide> * Change the behavior of boolean columns to be closer to Ruby's semantics. <ide> <ide> ...
7
Ruby
Ruby
remove should_pop variable
d94cd869c82bc52388b670553ee08ad34679fc42
<ide><path>actionpack/lib/action_dispatch/routing/polymorphic_routes.rb <ide> def polymorphic_url(record_or_hash_or_array, options = {}) <ide> end <ide> <ide> inflection = lambda { |name| name.singular_route_key } <del> should_pop = true <ide> <ide> if options[:action] == 'new' <ide> ...
1
Javascript
Javascript
add hascrypto check to async-wrap-gh13045
485be99e684f5e296c2aba28a401d5ef42fc3cb4
<ide><path>test/parallel/test-async-wrap-GH13045.js <ide> 'use strict'; <ide> const common = require('../common'); <add>if (!common.hasCrypto) { <add> common.skip('missing crypto'); <add> return; <add>} <ide> <ide> // Refs: https://github.com/nodejs/node/issues/13045 <ide> // An HTTP Agent reuses a TLSSocket, and ma...
1
Python
Python
fix repetition penalty error in modeling_utils.py
18e5bdbec5b12ad395bfb2a30223c78d74a9c158
<ide><path>src/transformers/modeling_utils.py <ide> def _generate_no_beam_search( <ide> if repetition_penalty != 1.0: <ide> for i in range(batch_size): <ide> for previous_tokens in set(input_ids[i].tolist()): <del> next_token_logits[i, previous_toke...
1
Python
Python
remove unnecessary space
76406dd0c286da809b63f628c38cd37ecaae20eb
<ide><path>keras/backend/tensorflow_backend.py <ide> def shape(x): <ide> def int_shape(x): <ide> '''Returns the shape of a tensor as a tuple of <ide> integers or None entries. <del> Note that this function only works with TensorFlow. <add> Note that this function only works with TensorFlow. <ide> '''...
1
Java
Java
remove javadoc warnings
ffbfb6713df6c9c2731038963c01590e182f026f
<ide><path>rxjava-core/src/main/java/rx/observables/BlockingObservable.java <ide> public Subscription call(Observer<T> observer) { <ide> /** <ide> * Returns an iterator that iterates all values of the observable. <ide> * <del> * @param that <add> * @param source <ide> * an observa...
1
PHP
PHP
fix a few bugs
242f52f83567ae0d3351744cc98e5a2fbab68592
<ide><path>src/Illuminate/Database/Eloquent/Factory.php <ide> public function define($class, callable $attributes, $name = 'default') <ide> */ <ide> public function state($class, $state, callable $attributes) <ide> { <del> $this->modifiers[$class][$state] = $attributes; <add> $this->states[$c...
1
Text
Text
add ali ijaz sheikh to the ctc
97dc810d46d647186911555808d29d016a62085f
<ide><path>README.md <ide> information about the governance of the Node.js project, see <ide> * [jasnell](https://github.com/jasnell) - **James M Snell** &lt;jasnell@gmail.com&gt; <ide> * [misterdjules](https://github.com/misterdjules) - **Julien Gilli** &lt;jgilli@nodejs.org&gt; <ide> * [mscdex](https://github.com/msc...
1