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
Javascript
Javascript
add functions to find the instance given a node
6d20556c78df6904254b8438bb588f7722ea602f
<ide><path>src/renderers/dom/client/ReactDOMComponentTree.js <ide> var invariant = require('invariant'); <ide> var ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME; <ide> var Flags = ReactDOMComponentFlags; <ide> <add>var internalInstanceKey = <add> '__reactInternalInstance$' + Math.random().toString(36).slice(2); <add> <id...
3
Javascript
Javascript
remove author line
274503f36d26803216d2cb3c5687ed44445f033b
<ide><path>src/objects/Points.js <ide> import { BufferGeometry } from '../core/BufferGeometry.js'; <ide> <ide> /** <ide> * @author alteredq / http://alteredqualia.com/ <del> * @author Lewy Blue / https://discoverthreejs.com/ <ide> */ <ide> <ide> function Points( geometry, material ) {
1
PHP
PHP
simplify validator option
7edb71782059581369adf735288192bd34b8f968
<ide><path>src/Form/Form.php <ide> protected function _buildSchema(Schema $schema): Schema <ide> * Used to check if $data passes this form's validation. <ide> * <ide> * @param array $data The data to check. <del> * @param array $options The validate options <add> * @param string|bool $validator V...
2
Javascript
Javascript
fetch all tags in dom fixtures
6ff062e048867645d1f761e23cc8ff62139ebf08
<ide><path>fixtures/dom/src/react-loader.js <ide> export default function loadReact() { <ide> <ide> if (version !== 'local') { <ide> const {major, minor, prerelease} = semver(version); <del> const [preReleaseStage, preReleaseVersion] = prerelease; <add> const [preReleaseStage] = prerelease; <ide> // Th...
2
Javascript
Javascript
add code comment
344390e20e1133c7726f20f71fb0b7854b82f153
<ide><path>packages/ember-runtime/lib/system/string.js <ide> Ember.String = { <ide> ``` <ide> <ide> @method capitalize <del> @param {String} str <del> @return {String} <add> @param {String} str The string to capitalize. <add> @return {String} The capitalized string. <ide> */ <ide> capitalize: f...
1
Text
Text
clarify git instructions in project guide. fixes
54c9ae187f5a3544881650c09e923d67ed229771
<ide><path>docs/sources/project/find-an-issue.md <ide> To sync your repository: <ide> <ide> $ git remote add upstream https://github.com/docker/docker.git <ide> <del>5. Fetch all the changes from the `upstream/master` branch. <add>5. Fetch all the changes from the `upstream master` branch. <ide> <del> ...
2
Javascript
Javascript
remove legacy support for set via unknownproperty
f3d80406a69dd98dd4465e30de0d6b37633821e7
<ide><path>packages/ember-metal/lib/accessors.js <ide> get = function get(obj, keyName) { <ide> <ide> /** @private */ <ide> set = function set(obj, keyName, value) { <del> if (('object'===typeof obj) && !(keyName in obj)) { <del> if ('function' === typeof obj.setUnknownProperty) { <del> obj.setUnknownProperty...
2
Go
Go
fix use of unsafe ptr
9f0e268b00d782b3c1cfa99f4ebbd6a3306f0f60
<ide><path>daemon/graphdriver/graphtest/graphtest_unix.go <ide> import ( <ide> "math/rand" <ide> "os" <ide> "path" <del> "reflect" <ide> "testing" <del> "unsafe" <ide> <ide> "github.com/docker/docker/daemon/graphdriver" <ide> "github.com/docker/docker/pkg/stringid" <ide> func DriverTestChanges(t testing.TB, driv...
1
PHP
PHP
fix locked issues
e5ad7ff9461db595923fa3f733d57a30d40fd472
<ide><path>src/Controller/Component/SecurityComponent.php <ide> protected function _validToken(Controller $controller) <ide> throw new SecurityException(sprintf($message, '_Token.debug')); <ide> } <ide> <del> return $check['_Token']['fields']; <add> $token = urldecode($check['_Token']...
1
Ruby
Ruby
add cloudformation-cli to blocklist
9fb3a80e383f11e94e763cae048efecaf87a52d3
<ide><path>Library/Homebrew/utils/pypi.rb <ide> module PyPI <ide> AUTOMATIC_RESOURCE_UPDATE_BLOCKLIST = %w[ <ide> ansible <ide> ansible@2.8 <add> cloudformation-cli <ide> diffoscope <ide> dxpy <ide> molecule
1
Text
Text
improve github templates
8d9396c5f93ff0f8597e07abf88839071999eadf
<ide><path>.github/ISSUE_TEMPLATE.md <ide> Use the commands below to provide key information from your environment: <ide> You do NOT have to include this information if this is a FEATURE REQUEST <ide> --> <ide> <del>Output of `docker version`: <add>**Output of `docker version`:** <ide> <ide> ``` <ide> (paste your out...
2
Python
Python
fix formatting and remove unused imports
992559bf9aebc77951c5182cd5e3931cdcebb5cd
<ide><path>examples/training/train_ner.py <ide> from __future__ import unicode_literals, print_function <del>import json <del>import pathlib <add> <ide> import random <ide> <del>import spacy.lang.en <add>from spacy.lang.en import English <ide> from spacy.gold import GoldParse, biluo_tags_from_offsets <ide> <ide> <id...
1
Ruby
Ruby
hide some warnings on apple silicon
2395113154ebd8c68b155635cfaa80033ed1dafa
<ide><path>Library/Homebrew/diagnostic.rb <ide> def check_for_config_scripts <ide> #{HOMEBREW_PREFIX}/bin #{HOMEBREW_PREFIX}/sbin <ide> /Applications/Server.app/Contents/ServerRoot/usr/bin <ide> /Applications/Server.app/Contents/ServerRoot/usr/sbin <del> ].map(&:downcase) <add> ...
2
Text
Text
add "tasks" in vscode main features
2b6e151dfd8aa769ebb8bdcc8d2c408ced81bf63
<ide><path>guide/english/tools/source-code-editors/index.md <ide> Its main features are: <ide> * Debugging - Be able to debug using break points, call stacks and an interactive console. <ide> * Build-in Git - Review diffs, stage files, make commits, push and pull, all available in the editor. <ide> * Extensions -...
1
Javascript
Javascript
fix navigation failure (#546)
242758e3eeeccf10360042b78cff246a370b1117
<ide><path>lib/link.js <ide> export default class Link extends Component { <ide> return <ide> } <ide> <del> const { href, as } = this.props <add> const { href, as = href } = this.props <ide> <ide> if (!isLocal(href)) { <ide> // ignore click if it's outside our scope <ide> export default clas...
2
Javascript
Javascript
add returns to error handlers
7b449e7a5b8567f61c87cf8a30927e8ed044dd1b
<ide><path>controllers/resources.js <ide> module.exports = { <ide> <ide> sitemap: function sitemap(req, res, next) { <ide> var appUrl = 'http://www.freecodecamp.com'; <del> var now = moment(new Date).format('YYYY-MM-DD'); <add> var now = moment(new Date()).format('YYYY-MM-DD'); <ide> <del> ...
1
Javascript
Javascript
update validation snapshot
d6dcf0c281ca8cb45c823b635fbfe6db8cc6c1da
<ide><path>test/Validation.test.js <ide> describe("Validation", () => { <ide> msg => <ide> expect(msg).toMatchInlineSnapshot(` <ide> "Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. <del> - configuration.entry should be an non-empty ...
1
Ruby
Ruby
warn about 10.11 unsupported
778c25b4589d731e58dc4caa1f51f75c1a5e77b8
<ide><path>Library/brew.rb <ide> EOABORT <ide> end <ide> <add>if OS.mac? && MacOS.version == "10.11" <add> opoo <<-EOS.undent <add> Although Homebrew has added initial recognition of 10.11, it is unsupported. <add> You may encounter breakage or other failure and there is no guarantee <add> Homebrew can res...
1
Text
Text
improve russian translation in article (react)
7f2cdf414a1cff3d3b5c54e41b94dce71392f445
<ide><path>guide/russian/react/state-vs-props/index.md <ide> --- <ide> title: State vs Props <del>localeTitle: Государство против реквизита <del>--- <ide>## Государство против реквизита <del> <del>Когда мы начинаем работать с компонентами React, мы часто слышим два термина. Это `state` и `props` . Итак, в этой статье м...
1
Python
Python
check docker v1.23 api changes
29e82dc74cf5ec8c6ef70570ce3e670244f203b8
<ide><path>libcloud/container/drivers/docker.py <ide> def _to_container(self, data): <ide> state = ContainerState.STOPPED <ide> elif status.startswith('Up '): <ide> state = ContainerState.RUNNING <add> elif 'running' in status: <add> state = ContainerState.RUNNING <ide>...
1
Text
Text
fix broken links in maintaining.md
894b9928e77f97dba02181e1f9258a44692dc290
<ide><path>MAINTAINING.md <ide> Finally, [cdnjs](https://cdnjs.com/libraries/Chart.js) is automatically updated <ide> <ide> ### Further Reading <ide> <del>* [Travis GitHub releases](/chartjs/Chart.js/pull/2555) <del>* [Bower support and dist/* files](/chartjs/Chart.js/issues/3033) <del>* [cdnjs npm auto update](/cdnj...
1
Java
Java
add rxjava1 reactive streams adapters check
ae2306326edfbb8485e2b9a785189ab78cbc80a2
<ide><path>spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java <ide> import reactor.core.publisher.Mono; <ide> import rx.RxReactiveStreams; <ide> <add>import org.springframework.util.Assert; <ide> import org.springframework.util.ClassUtils; <ide> <ide> import static org.springframework.cor...
1
Java
Java
use existing compositebytebuf if possible
8223809455a5eabf85321ead0df483a3f29e7755
<ide><path>spring-core/src/main/java/org/springframework/core/io/buffer/NettyDataBuffer.java <ide> public NettyDataBuffer write(ByteBuffer... buffers) { <ide> public NettyDataBuffer write(ByteBuf... byteBufs) { <ide> Assert.notNull(byteBufs, "'byteBufs' must not be null"); <ide> <del> CompositeByteBuf composite = ...
1
Python
Python
convert optimizers to keras backend
33ed943ad59fc99f469c0d9d52bfd8462542bf74
<ide><path>keras/optimizers.py <ide> from __future__ import absolute_import <del>import theano <del>import theano.tensor as T <del> <del>from .utils.theano_utils import shared_zeros, shared_scalar, floatX <add>from . import backend as K <add>import numpy as np <ide> from .utils.generic_utils import get_from_module <ide...
1
Javascript
Javascript
use bitwise or to define flag masks
37cb732c59863297e48f69ac1f6e2ba1aa1886f0
<ide><path>packages/react-reconciler/src/ReactFiberFlags.js <ide> export const Hydrating = /* */ 0b0000000010000000000; <ide> export const HydratingAndUpdate = /* */ 0b0000000010000000100; <ide> export const Visibility = /* */ 0b0000000100000000000; <ide> <del>// Passive ...
1
Python
Python
add option to not use estimator.
0c0860edc56b22e5123e37049dcd174ffa69b571
<ide><path>official/recommendation/data_preprocessing.py <ide> def hash_pipeline(dataset, deterministic): <ide> tf.logging.info(" [pipeline_hash] All batches hash: {}".format(overall_hash)) <ide> <ide> <del>def make_input_fn(ncf_dataset, is_training): <del> # type: (typing.Optional[NCFDataset], bool) -> (typing.C...
5
PHP
PHP
add values method to the collection
5474989fb34fa2eb1e8665b250a69b164f47be50
<ide><path>src/Illuminate/Support/Collection.php <ide> public function filter(Closure $callback) <ide> return $this; <ide> } <ide> <add> /** <add> * Reset items index. <add> * <add> * @return Illuminate\Support\Collection <add> */ <add> public function values() <add> { <add> $this->items = array_values($this->...
1
Ruby
Ruby
remove return_false_on_aborted_enqueue again
a0030bf44fb1ac50c985344b952934d9956ede79
<ide><path>activejob/lib/active_job/callbacks.rb <ide> class << self <ide> end <ide> <ide> included do <del> class_attribute :return_false_on_aborted_enqueue, instance_accessor: false, instance_predicate: false, default: false <ide> cattr_accessor :skip_after_callbacks_if_terminated, instance_access...
1
Python
Python
improve code complexity for segmented sieve
8b8fba34594764cbd8d834337f03d6e03b108964
<ide><path>maths/segmented_sieve.py <ide> def sieve(n): <ide> if temp[start] is True: <ide> in_prime.append(start) <ide> for i in range(start * start, end + 1, start): <del> if temp[i] is True: <del> temp[i] = False <add> temp[i] = False <...
1
Mixed
Javascript
improve simple assert
f76ef504326f8a37cdb0d3dae705239d685abffc
<ide><path>doc/api/assert.md <ide> parameter is `undefined`, a default error message is assigned. If the `message` <ide> parameter is an instance of an [`Error`][] then it will be thrown instead of the <ide> `AssertionError`. <ide> <add>Be aware that in the `repl` the error message will be different to the one <add>th...
4
Javascript
Javascript
fix no data on partial decode
92212014ffc95a8bc5e56fcc2c076bac63c20c23
<ide><path>lib/_stream_readable.js <ide> function readableAddChunk(stream, state, chunk, encoding, addToFront) { <ide> const e = new Error('stream.unshift() after end event'); <ide> stream.emit('error', e); <ide> } else { <del> if (state.decoder && !addToFront && !encoding) <add> var skipAdd; ...
2
Javascript
Javascript
add (pending) placeholders for other tests
e940fa44cab47101f4f47f08fd7acf26a27d87bf
<ide><path>test/components/Connector.spec.js <add>// import { expect } from 'chai'; <add>// import { Connector } from '../../src'; <add> <add>describe('Components', () => { <add> describe('Connector', () => { <add> <add> it('should initialize'); <add> }); <add>}); <ide><path>test/components/Provider.spec.js <add>/...
7
Python
Python
add newer_than parameter to sftp sensor
a6609d5268ebe55bcb150a828d249153582aa936
<ide><path>airflow/providers/sftp/sensors/sftp.py <ide> # specific language governing permissions and limitations <ide> # under the License. <ide> """This module contains SFTP sensor.""" <add>from datetime import datetime <ide> from typing import TYPE_CHECKING, Optional, Sequence <ide> <ide> from paramiko.sftp import ...
2
Java
Java
move uimanager annotations to separate package
2daf69606495badae9cba7ea3b9c1d8f9bb99f54
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/FlatShadowNode.java <ide> import com.facebook.infer.annotation.Assertions; <ide> import com.facebook.react.uimanager.CatalystStylesDiffMap; <ide> import com.facebook.react.uimanager.LayoutShadowNode; <del>import com.facebook.react.uimanager.ReactProp; <add>i...
8
Javascript
Javascript
update deprecation warning for moment().lang()
dd2e1876ac9be9a71cfd87d6e25433d90dbd3151
<ide><path>moment.js <ide> }, <ide> <ide> lang : deprecate( <del> 'moment().lang() is deprecated. Use moment().localeData() instead.', <add> 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change langua...
1
Javascript
Javascript
get trailers working with the compat api
c1d81a71b2d03b95412d246d39ad16c893b2f4ef
<ide><path>lib/internal/http2/compat.js <ide> class Http2ServerResponse extends Stream { <ide> addTrailers(headers) { <ide> let trailers = this[kTrailers]; <ide> const keys = Object.keys(headers); <del> let key = ''; <del> if (keys.length > 0) <add> if (keys.length === 0) <ide> return; <ide> ...
2
Mixed
Text
add an example of custom component
5a8f9bff4134519b477eb7db85940597c3f8a78b
<ide><path>client/src/templates/Guide/components/example/Component/index.js <add>import React from 'react'; <add>import ReactDOM from 'react-dom'; <add>import PropTypes from 'prop-types'; <add>import { graphql } from 'gatsby'; <add> <add>import ArticleLayout from '../../ArticleLayout'; <add> <add>const propTypes = { <a...
3
PHP
PHP
move missingviewexception to view/error
29a65c8f95be60280cb72da7c67a5966153d6b54
<ide><path>src/Error/ExceptionRenderer.php <ide> use Cake\Network\Response; <ide> use Cake\Routing\Router; <ide> use Cake\Utility\Inflector; <add>use Cake\View\Error\MissingViewException; <ide> use Cake\View\View; <ide> <ide> /** <ide> protected function _outputMessage($template) { <ide> $event = new Event('Control...
8
Go
Go
fix tlsconfig clone() on different golang versions
128cefc3bdfc458ac84ae6602d6484c79f479795
<ide><path>client/transport/tlsconfig_clone.go <del>// +build !go1.7,!windows <add>// +build go1.8 <ide> <ide> package transport <ide> <ide><path>client/transport/tlsconfig_clone_go16.go <add>// +build go1.6,!go1.7 <add> <add>package transport <add> <add>import "crypto/tls" <add> <add>// TLSConfigClone returns a clon...
3
Python
Python
document the parameters of `dbapihook`
b9407066627751179b5cfeea2632ced33ffb3bb5
<ide><path>airflow/hooks/dbapi_hook.py <ide> def get_conn(self): <ide> def get_pandas_df(self, sql, parameters=None): <ide> ''' <ide> Executes the sql and returns a pandas dataframe <add> <add> :param sql: the sql statement to be executed (str) or a list of <add> sql statements to ...
1
Javascript
Javascript
refactor the maxworkercount
76f5b9606a43dee4cc1962b4f8a3ada4e90b910a
<ide><path>packager/src/Bundler/__tests__/Bundler-test.js <ide> jest <ide> .setMock('uglify-js') <ide> .mock('image-size') <ide> .mock('fs') <add> .mock('os') <ide> .mock('assert') <ide> .mock('progress') <ide> .mock('../../node-haste') <ide> var Resolver = require('../../Resolver'); <ide> var defaults = r...
6
Javascript
Javascript
cleanup the load() function
0ff379bb76170a2dab80bc73fa0902689f290b06
<ide><path>packager/src/Bundler/index.js <ide> class Bundler { <ide> this._transformer.kill(); <ide> return Promise.all([ <ide> this._cache.end(), <del> this.getResolver().getDependencyGraph().getWatcher().end(), <add> this.getResolver().getDependencyGraph().then(dependencyGraph => { <add> ...
7
Ruby
Ruby
setup the once autoloader on bootstrap
2306a8e645627a7913e161b76eeeb7ee6e6724a9
<ide><path>actionpack/test/controller/helper_test.rb <ide> def test_helpers_paths_priority <ide> class HelpersTypoControllerTest < ActiveSupport::TestCase <ide> def test_helper_typo_error_message <ide> e = assert_raise(NameError) { HelpersTypoController.helper "admin/users" } <del> # This message is better if ...
9
Java
Java
remove unnecessary semicolon in some enum classes
ede2a1d4b26ada78250389c0dda908212713dbad
<ide><path>spring-context/src/main/java/org/springframework/context/annotation/ScopedProxyMode.java <ide> /* <del> * Copyright 2002-2013 the original author or authors. <add> * Copyright 2002-2020 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * ...
5
PHP
PHP
use newer syntax
b62983efea2bdc01b7ea0ec0c102ac7ccb3b4c7f
<ide><path>src/Illuminate/Foundation/Http/Kernel.php <ide> class Kernel implements KernelContract <ide> * @var array <ide> */ <ide> protected $bootstrappers = [ <del> 'Illuminate\Foundation\Bootstrap\DetectEnvironment', <del> 'Illuminate\Foundation\Bootstrap\LoadConfiguration', <del> ...
1
Go
Go
fix usage for completly deprecated flag
089bf5e11e4284a6ed07dc165098bb269dfddf46
<ide><path>pkg/mflag/example/example.go <ide> var ( <ide> ) <ide> <ide> func init() { <add> flag.Bool([]string{"#hp", "#-halp"}, false, "display the halp") <ide> flag.BoolVar(&b, []string{"b"}, false, "a simple bool") <ide> flag.BoolVar(&b2, []string{"-bool"}, false, "a simple bool") <ide> flag.IntVar(&i, []string{...
2
Ruby
Ruby
use delete if the rhs is nil
110c044e20b0fd72f191299b89327fa1b1552c63
<ide><path>actionpack/test/template/asset_tag_helper_test.rb <ide> def test_image_tag_windows_behaviour <ide> File.stubs(:exist?).with('template/../fixtures/public/images/rails.png.').returns(true) <ide> assert_equal '<img alt="Rails" src="/images/rails.png?1" />', image_tag('rails.png') <ide> ensure <d...
1
Go
Go
compress layers on push to a v2 registry
851c64725d0b1b37e51fa0d0df744bbe82ad4c7b
<ide><path>graph/graph.go <ide> package graph <ide> <ide> import ( <add> "compress/gzip" <add> "crypto/sha256" <ide> "fmt" <ide> "io" <ide> "io/ioutil" <ide> import ( <ide> "time" <ide> <ide> "github.com/Sirupsen/logrus" <add> "github.com/docker/distribution/digest" <ide> "github.com/docker/docker/autogen/docke...
2
Javascript
Javascript
add abstract setscrubbing in tech.js
c91b510ef2e5826f450eae9852fec9d5627a05ba
<ide><path>src/js/tech/html5.js <ide> class Html5 extends Tech { <ide> }); <ide> } <ide> <add> /** <add> * Set whether we are scrubbing or not. <add> * This is used to decide whether we should use `fastSeek` or not. <add> * `fastSeek` is used to provide trick play on Safari browsers. <add> * <add> * @...
2
Javascript
Javascript
constrain the container type of createportal
024a7274fb07f154676ec6443b83a4e31f259c22
<ide><path>packages/react-dom/src/client/ReactDOM.js <ide> setBatchingImplementation( <ide> <ide> function createPortal( <ide> children: ReactNodeList, <del> container: Container, <add> container: Element | DocumentFragment, <ide> key: ?string = null, <ide> ): React$Portal { <ide> if (!isValidContainer(contain...
1
Javascript
Javascript
remove platform for ios11
6a1d7dd7dce767b78411528de318e419a16769b1
<ide><path>karma-shared.conf.js <ide> module.exports = function(config, specificOptions) { <ide> 'SL_iOS_11': { <ide> base: 'SauceLabs', <ide> browserName: 'iphone', <del> platform: 'OS X 10.12', <ide> version: '11.3' <ide> }, <ide>
1
Ruby
Ruby
add documentation for hash.from_xml [ci skip]
96f7ec4537e8618855467e7226d11182bd8a1111
<ide><path>activesupport/lib/active_support/core_ext/hash/conversions.rb <ide> def to_xml(options = {}) <ide> end <ide> <ide> class << self <add> # Returns a Hash containing a collection of pairs when the key is the node name and the value is <add> # its content <add> # <add> # xml = <<-XML <add> ...
1
Text
Text
add input type date pr as breaking change
e8c6b9bf25835685f666cbfb3022e66cf7e2308e
<ide><path>CHANGELOG.md <ide> <ide> - **build:** due to [eaa1d00b](https://github.com/angular/angular.js/commit/eaa1d00b24008f590b95ad099241b4003688cdda), <ide> As communicated before, IE8 is no longer supported. <add>- **input:** types date, time, datetime-local, month, week now always <add> require a `Date` objec...
1
Ruby
Ruby
restore `preloaders_for_one` method
47adad38166fc6cf6bd306ff0c2f20ea922dbae6
<ide><path>activerecord/lib/active_record/associations/preloader.rb <ide> def preloaders_on(association, records, scope, polymorphic_parent = false) <ide> when Hash <ide> preloaders_for_hash(association, records, scope, polymorphic_parent) <ide> when Symbol, String <del> group...
1
Javascript
Javascript
massage util.inherits for perf increase
1ba2c3213526ccacac587dd10362626cec862d36
<ide><path>lib/util.js <ide> exports.pump = function(readStream, writeStream, callback) { <ide> exports.inherits = function(ctor, superCtor) { <ide> ctor.super_ = superCtor; <ide> ctor.prototype = Object.create(superCtor.prototype, { <del> constructor: { value: ctor, enumerable: false } <add> constructor: { <...
1
Text
Text
update onboarding task
566365dd9dd86588f1b6e06b4cba27cf9b107c33
<ide><path>onboarding.md <ide> needs to be pointed out separately during the onboarding. <ide> labels. The `fast-track` label should cause the Node.js GitHub bot to post a <ide> comment in the pull request asking collaborators to approve the pull request <ide> by leaving a 👍 reaction on the comment. <del>* Run C...
1
Javascript
Javascript
fix vector2 accessors
13f13397e9b59afb9e9c920f329e52309a2d7088
<ide><path>src/math/Vector2.js <ide> function Vector2( x, y ) { <ide> <ide> } <ide> <del>Object.assign( Vector2.prototype, { <del> <del> constructor: Vector2, <del> <del> isVector2: true, <del> <del> get width() { <del> <del> return this.x; <add>Object.defineProperties( Vector2.prototype, { <ide> <add> "width" : { ...
1
Javascript
Javascript
fix backandroid subscriptions calls
b8576312ca4a950d8bf4a5f4ec3a80c4f55d88b0
<ide><path>Libraries/Utilities/BackAndroid.android.js <ide> var _backPressSubscriptions = new Set(); <ide> RCTDeviceEventEmitter.addListener(DEVICE_BACK_EVENT, function() { <ide> var backPressSubscriptions = new Set(_backPressSubscriptions); <ide> var invokeDefault = true; <del> backPressSubscriptions.forEach((sub...
1
PHP
PHP
apply fixes from styleci
dc767d2d7cecd621d4c12b9eac901c17560cecd0
<ide><path>src/Illuminate/Mail/Transport/MailgunTransport.php <ide> <ide> namespace Illuminate\Mail\Transport; <ide> <del>use Illuminate\Support\Str; <ide> use Swift_Mime_SimpleMessage; <ide> use GuzzleHttp\ClientInterface; <ide>
1
Java
Java
add test for uriutils.encode(string, charset)
f3c29fe2e6d2b1b1da4acc09d00bf2c67f10ff3e
<ide><path>spring-web/src/test/java/org/springframework/web/util/UriUtilsTests.java <ide> /* <del> * Copyright 2002-2017 the original author or authors. <add> * Copyright 2002-2018 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use ...
1
Javascript
Javascript
fix copyright on `eventemitter-test.js`
cf98495f7b1da3a67cbe87c4ba3171bc89b9ead7
<ide><path>Libraries/vendor/emitter/__tests__/EventEmitter-test.js <ide> /** <del> * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. <add> * Copyright (c) Meta Platforms, Inc. and affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in t...
1
Text
Text
add cson link to docs
7035ccdcd2b00a669c5962012f4573ee6547de9f
<ide><path>docs/customizing-atom.md <ide> currently in use. <ide> ## Advanced Configuration <ide> <ide> Atom loads configuration settings from the `config.cson` file in your _~/.atom_ <del>directory, which contains CoffeeScript-style JSON: <add>directory, which contains [CoffeeScript-style JSON][CSON] (CSON): <ide> <...
1
PHP
PHP
apply fixes from styleci
354b5799e35f8ffb4732dcdd8b7bc8d1ef79a6a4
<ide><path>tests/Routing/RouteRegistrarTest.php <ide> public function destroy() <ide> <ide> class RouteRegistrarMiddlewareStub <ide> { <del> <ide> }
1
Ruby
Ruby
fix uninitialized ivar warning
d0b47c64e2c44ef1cc0e9cfb3dc8681599d4d1f3
<ide><path>lib/arel/algebra/relations/utilities/compound.rb <ide> class Compound < Relation <ide> :to => :relation <ide> <ide> def self.requires(feature = nil) <add> @requires ||= nil <ide> @requires = feature if feature <ide> @requires <ide> end
1
Python
Python
fix issue #824
ba4bce2581f9a67caa44c3cc959a2dacb0090670
<ide><path>examples/run_bertology.py <ide> def prune_heads(args, model, eval_dataloader, head_mask): <ide> <ide> def main(): <ide> parser = argparse.ArgumentParser() <add> ## Required parameters <ide> parser.add_argument("--data_dir", default=None, type=str, required=True, <ide> help...
1
Python
Python
use local path in test_lemmatizer
20c948361b5368737fe1d4ab9855a9d64fdf8c05
<ide><path>spacy/tests/tagger/test_lemmatizer.py <ide> import os <ide> import io <ide> import pickle <add>import pathlib <ide> <ide> from spacy.lemmatizer import Lemmatizer, read_index, read_exc <ide> from spacy import util <ide> <ide> @pytest.fixture <ide> def path(): <del> return util.match_best_version('en', No...
1
Javascript
Javascript
add tests for webworkermaintemplateplugin
9b301f9569f4bbee82ec871a61b1762b0eeee69c
<ide><path>test/WebWorkerMainTemplatePlugin.test.js <add>var should = require("should"); <add>var sinon = require("sinon"); <add>var WebWorkerMainTemplatePlugin = require("../lib/webworker/WebWorkerMainTemplatePlugin"); <add>var applyPluginWithOptions = require("./helpers/applyPluginWithOptions"); <add> <add>describe("...
1
Ruby
Ruby
add test for inreplace sub!/gsub!
9f9f5bf31c19b33e2c4d780b59037ba6ff0afbeb
<ide><path>Library/Homebrew/test/test_inreplace.rb <ide> def test_change_make_var_with_tabs <ide> s.remove_make_var! "LDFLAGS" <ide> assert_equal "CFLAGS=-O3\n", s <ide> end <add> <add> def test_sub_gsub <add> s = "foo" <add> s.extend(StringInreplaceExtension) <add> <add> s.sub!("f", "b") <add> a...
1
PHP
PHP
withoutmix`
9fed2b4a323d9fb74f37d735fadd8f058b0aa37f
<ide><path>src/Illuminate/Foundation/Testing/Concerns/InteractsWithContainer.php <ide> use Closure; <ide> use Illuminate\Foundation\Mix; <ide> use Illuminate\Foundation\Vite; <add>use Illuminate\Support\HtmlString; <ide> use Mockery; <ide> <ide> trait InteractsWithContainer <ide> protected function withoutMix() <ide> ...
2
Javascript
Javascript
replace common.fixturesdir with fixtures
23b4bf88a3c214bcd5a315938bdff5254d66dd8a
<ide><path>test/parallel/test-repl-tab-complete.js <ide> <ide> const common = require('../common'); <ide> const assert = require('assert'); <add>const fixtures = require('../common/fixtures'); <ide> <ide> // We have to change the directory to ../fixtures before requiring repl <ide> // in order to make the tests for c...
1
Text
Text
fix location of obtain_auth_token view
fd383b2b5e752962242066b3587deec5820eaa2e
<ide><path>docs/api-guide/authentication.md <ide> When using `TokenAuthentication`, you may want to provide a mechanism for client <ide> REST framework provides a built-in view to provide this behavior. To use it, add the `obtain_auth_token` view to your URLconf: <ide> <ide> urlpatterns += patterns('', <del> ...
1
Ruby
Ruby
add debug parameter to curl_with_workarounds
9d92ed868b74cfbacab3a1f082bd5c56b8b4802d
<ide><path>Library/Homebrew/utils/curl.rb <ide> def curl_args(*extra_args, show_output: false, user_agent: :default) <ide> end <ide> <ide> def curl_with_workarounds( <del> *args, secrets: nil, print_stdout: nil, print_stderr: nil, verbose: nil, env: {}, **options <add> *args, secrets: nil, print_stdo...
1
Go
Go
adjust chmod bits on windows
1a22418f9f1573ca8521831d52c8e0562cb3ef8f
<ide><path>integration-cli/docker_cli_build_test.go <ide> func TestBuildSixtySteps(t *testing.T) { <ide> func TestBuildAddSingleFileToRoot(t *testing.T) { <ide> name := "testaddimg" <ide> defer deleteImages(name) <del> ctx, err := fakeContext(`FROM busybox <add> ctx, err := fakeContext(fmt.Sprintf(`FROM busybox <ide>...
8
Javascript
Javascript
fix isprimitive check
d66d840e3b4750f64ae5a957a63159de49cc38ce
<ide><path>lib/util.js <ide> function isFunction(arg) { <ide> exports.isFunction = isFunction; <ide> <ide> function isPrimitive(arg) { <del> return !(arg instanceof Object); <add> return arg === null || <add> typeof arg === 'boolean' || <add> typeof arg === 'number' || <add> typeof arg === 's...
1
Go
Go
address a few nits
d082381a93810e6c386382f24da93518880e9250
<ide><path>integration-cli/docker_cli_import_test.go <ide> func TestImportDisplay(t *testing.T) { <ide> out, _, err := runCommandWithOutput(importCmd) <ide> errorOut(err, t, fmt.Sprintf("import failed with errors: %v", err)) <ide> <del> if n := len(strings.Split(out, "\n")); n != 3 { <del> t.Fatalf("display is mess...
2
Ruby
Ruby
move the error raising to api_behavior
149d13e1f0d157a48c04c8b3944f09ce463e9416
<ide><path>actionpack/lib/action_controller/metal/responder.rb <ide> def to_html <ide> def to_format <ide> default_render <ide> rescue ActionView::MissingTemplate => e <del> raise unless resourceful? <ide> api_behavior(e) <ide> end <ide> <ide> def navigation_behavior(error) <ide> <ide> ...
1
PHP
PHP
fix phpcs problems
b0d0143b8218c1c56ffae2678ad4c69a8d03a34a
<ide><path>lib/Cake/TestSuite/Fixture/CakeTestFixture.php <ide> public function insert($db) { <ide> $merge = array_values( $mergeData ); <ide> if (count($fields) !== count($merge)) { <ide> <del> $mergeFields = array_keys( $merge_data ); <add> $mergeFields = array_keys( $mergeData ); <ide> $re...
1
PHP
PHP
fix boolean column defaults
50f90b03b2a532181f26a70843a9c8e321ad6ab0
<ide><path>tests/Fixture/BakeArticleFixture.php <ide> <?php <ide> /** <del> * BakeArticleFixture <del> * <ide> * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> <ide> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <ide> * <ide> use Cake\TestSuite\Fixture\TestFi...
2
Text
Text
add v4.7.1 to changelog
908329efd8d45829e960b38740cd95d6493bf732
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v4.7.1 (October 12, 2022) <add> <add>- [#20166](https://github.com/emberjs/ember.js/pull/20166) [BUGFIX] Fix missing `RouteInfo` entries <add> <ide> ### v4.8.0-beta.5 (October 3, 2022) <ide> <ide> - [#20212](https://github.com/emberjs/ember.js/pull/20212)...
1
Ruby
Ruby
remove regex alteration for custom routes
0011e098a14fae16fb13cfd9a50659909a645d63
<ide><path>actionpack/lib/action_dispatch/journey/nodes/node.rb <ide> def initialize(left, regexp = DEFAULT_EXP) <ide> @name = -left.tr("*:", "") <ide> end <ide> <del> def default_regexp? <del> regexp == DEFAULT_EXP <del> end <del> <ide> def type; :SYMBOL; end <ide> ...
3
Python
Python
fix failing test
fd47f8e89f55703ad1c527124d631ab8543e6213
<ide><path>spacy/tests/parser/test_preset_sbd.py <ide> def test_sents_1_3(parser): <ide> doc[1].sent_start = True <ide> doc[3].sent_start = True <ide> doc = parser(doc) <del> assert len(list(doc.sents)) == 4 <add> assert len(list(doc.sents)) >= 3 <ide> doc = Doc(parser.vocab, words=['a', 'b', 'c',...
1
Go
Go
fix integration test failures
9a38aa0279ccae5aeded854a9cbbd7e398088ab2
<ide><path>graph/pull.go <ide> func (s *TagStore) CmdPull(job *engine.Job) engine.Status { <ide> if len(repoInfo.Index.Mirrors) == 0 && (repoInfo.Index.Official || endpoint.Version == registry.APIVersion2) { <ide> j := job.Eng.Job("trust_update_base") <ide> if err = j.Run(); err != nil { <del> return job.Errorf(...
1
Python
Python
add a new bar class to display bar in curse ui
7fc4506846ca5f61d0cfbf6476b17f9a50d4d327
<ide><path>glances/outputs/glances_bars.py <add># -*- coding: utf-8 -*- <add># <add># This file is part of Glances. <add># <add># Copyright (C) 2015 Nicolargo <nicolas@nicolargo.com> <add># <add># Glances is free software; you can redistribute it and/or modify <add># it under the terms of the GNU Lesser General Public ...
1
Python
Python
attempt workaround for pylint bug on travis ci
75da6d8fd9fddf60051c1983c6ef4e3394f55faf
<ide><path>libcloud/common/dimensiondata.py <ide> """ <ide> from base64 import b64encode <ide> from time import sleep <del>from distutils.version import LooseVersion <add> <add>from distutils.version import LooseVersion # pylint: disable=import-error <ide> from libcloud.utils.py3 import httplib <ide> from libcloud.uti...
1
Text
Text
fix minor typo in contributing.md
e594a2fb5426c2a28d98ee89717be7603358528c
<ide><path>CONTRIBUTING.md <ide> Please **DO NOT** file a public issue, instead send your report privately to <ide> [security@docker.com](mailto:security@docker.com), <ide> <ide> Security reports are greatly appreciated and we will publicly thank you for it. <del>We also like to send gifts&mdash;if you're into Docker...
1
Go
Go
add tests simulating an evil server
268fa5af4768f7b1df32501d5f7ba0daba2c2da1
<ide><path>integration-cli/docker_cli_create_test.go <ide> import ( <ide> <ide> "github.com/docker/docker/pkg/nat" <ide> "github.com/go-check/check" <add> "io/ioutil" <ide> ) <ide> <ide> // Make sure we can create a simple container with some args <ide> func (s *DockerTrustSuite) TestCreateWhenCertExpired(c *check....
5
Ruby
Ruby
use pkgversion.parse instead of version.new
6fe56c33ffa51cd0a895099f5d86d691e41d4669
<ide><path>Library/Homebrew/dev-cmd/pr-upload.rb <ide> def check_bottled_formulae(json_files) <ide> hashes.each do |name, hash| <ide> formula_path = HOMEBREW_REPOSITORY/hash["formula"]["path"] <ide> formula_version = Formulary.factory(formula_path).pkg_version <del> bottle_version = Version.new has...
1
Text
Text
fix typos in ar changelog [ci skip]
aa5b627849727807829ed1b14d710bd1cdb972f6
<ide><path>activerecord/CHANGELOG.md <ide> * Remove column restrictions for `count`, let the database raise if the SQL is <del> invalid. The previos behavior was untested and surprising for the user. <add> invalid. The previous behavior was untested and surprising for the user. <ide> Fixes #5554. <ide> <id...
1
Javascript
Javascript
fix description of uselegacypromiseextensions
3050dd1b47dd34a47ff19ab39b2e23cbbf3ce308
<ide><path>src/ng/http.js <ide> function $HttpProvider() { <ide> * Configure `$http` service to return promises without the shorthand methods `success` and `error`. <ide> * This should be used to make sure that applications work without these methods. <ide> * <del> * Defaults to false. If no value is specifi...
1
Ruby
Ruby
use new ar calls in examples
3056b3379b8ca5d859e8237c46d6abe7f67a5d09
<ide><path>activesupport/lib/active_support/core_ext/array/conversions.rb <ide> def to_sentence(options = {}) <ide> # Converts a collection of elements into a formatted string by calling <ide> # <tt>to_s</tt> on all elements and joining them: <ide> # <del> # Blog.find(:all).to_formatted_s # => "First PostSecon...
1
Ruby
Ruby
add cask methods
4338f35b848ad61462fc4f73e1365e6c002201a2
<ide><path>Library/Homebrew/cmd/update-report.rb <ide> def report <ide> dst = Pathname.new paths.last <ide> <ide> next unless dst.extname == ".rb" <del> next unless paths.any? { |p| tap.formula_file?(p)} <add> next unless paths.any? { |p| tap.formula_file?(p) || tap.cask_file?(p)} <ide> <ide> ...
2
PHP
PHP
fix bug with paginate queries
0b0f90701fa49f69c67a55f8ae24b60e213ca637
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function getPaginationCount() <ide> { <ide> list($orders, $this->orders) = array($this->orders, null); <ide> <add> $columns = $this->columns; <add> <ide> // Because some database engines may throw errors if we leave the ordering <ide> // stateme...
1
Text
Text
clarify view tests [ci skip]
d5847f4cc01fc2fbea20a6fef5d45d4863476f4b
<ide><path>guides/source/testing.md <ide> For more information on routing assertions available in Rails, see the API docum <ide> Testing Views <ide> ------------- <ide> <del>Testing the response to your request by asserting the presence of key HTML elements and their content is a common way to test the views of your a...
1
Javascript
Javascript
remove zone from comments
c4b9a7161ff8cb7cac831041f265816f28c415bf
<ide><path>moment.js <ide> return locales[name]; <ide> } <ide> <del> // Return a moment from input, that is local/utc/zone equivalent to model. <add> // Return a moment from input, that is local/utc/utcOffset equivalent to <add> // model. <ide> function makeAs(input, model) { <ide> var...
1
Javascript
Javascript
remove a few wait() calls in the tests
c2e58c9dee39accb16d2edd12a1f35394b967d4c
<ide><path>test/mjsunit/test-fs-write.js <ide> fs.open(fn, 'w', 0644).addCallback(function (file) { <ide> fs.close(file).addCallback(function() { <ide> fs.readFile(fn, process.UTF8).addCallback(function(contents) { <ide> found = contents; <del> fs.unlink(fn).wait(); <add> fs.unlinkSync(f...
3
Ruby
Ruby
pull a nil check up one frame
6772d5e74aaa3d35e91a4f5b6e46831c03315093
<ide><path>activerecord/lib/active_record/associations/belongs_to_association.rb <ide> def find_target? <ide> def update_counters(record) <ide> counter_cache_name = reflection.counter_cache_column <ide> <del> if counter_cache_name && owner.persisted? && different_target?(record) <add> ...
1
Go
Go
move the dockerconn flush to its own function
c83393a541353ab34612d80cc6b9bb4e92c59597
<ide><path>commands.go <ide> func (srv *Server) CmdRun(stdin io.ReadCloser, stdout rcli.DockerConn, args ...s <ide> if config.Tty { <ide> stdout.SetOptionRawTerminal() <ide> // Flush the options to make sure the client sets the raw mode <del> stdout.Write([]byte{}) <add> stdout.Flush() <ide> } <ide> <ide> // ...
3
Javascript
Javascript
add missing update calls
75cf52cec9338bb73b7717ef24807dcbc3db4561
<ide><path>examples/js/controls/OrbitControls.js <ide> THREE.OrbitControls = function ( object, domElement ) { <ide> <ide> } <ide> <add> scope.update(); <ide> } <ide> <ide> function onKeyDown( event ) { <ide> THREE.OrbitControls = function ( object, domElement ) { <ide> <ide> var element = scope.domEle...
1
Javascript
Javascript
move process.inherits to sys
b021a845f7d3712c6b821a30ebfe69156c708a28
<ide><path>lib/assert.js <ide> // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. <ide> <ide> // UTILITY <del> <add>var inherits = require('./sys').inherits; <ide> var pSlice = Array.prototype.slice; <ide> <ide> // 1. The assert module provides functions that throw <ide> assert.AssertionError = functi...
4
Text
Text
add wikipedia link for 64 bit architecture
301ec55a386c9228052f39eaa38eb1ef92c02265
<ide><path>guide/english/computer-hardware/cpu/index.md <ide> CPU speeds are measured in **gigahertz (GHz)**. For every gigahertz of speed, a <ide> <ide> [Gigahertz](https://en.wikipedia.org/wiki/Hertz) is not the only determining factor in the actual speed of a processor, as different processors with the same gigaher...
1