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
Ruby
Ruby
add contributed tap commands to path
bd8559c791e7bc37c17a0f270e9b0f98e89d7a8a
<ide><path>Library/brew.rb <ide> def require? path <ide> <ide> # Add contributed commands to PATH before checking. <ide> ENV['PATH'] += "#{File::PATH_SEPARATOR}#{HOMEBREW_CONTRIB}/cmd" <add> Dir["#{HOMEBREW_LIBRARY}/Taps/*/*/cmd"].each do |tap_cmd_dir| <add> ENV["PATH"] += "#{File::PATH_SEPARATOR}#{tap_cmd_dir...
1
PHP
PHP
fix issue with cacheregistry related to mocks
d05f1e411bf2454f53ea909c0298d90fbcd49809
<ide><path>Cake/Cache/CacheRegistry.php <ide> protected function _create($class, $alias, $config) { <ide> <ide> if (!$instance->init($config)) { <ide> throw new Error\Exception( <del> sprintf('Cache engine %s is not properly configured.', $class) <add> sprintf('Cache engine %s is not properly configured.', ...
1
Go
Go
fix minor linting issues
117bca149f77db0dc4680ffdda276cd7d9398359
<ide><path>libnetwork/resolver.go <ide> type Resolver interface { <ide> // Stop stops the name server for the container. Stopped resolver <ide> // can be reused after running the SetupFunc again. <ide> Stop() <del> // SetupFunc() provides the setup function that should be run <add> // SetupFunc provides the setup fu...
1
Javascript
Javascript
reuse existing headers array for raw values
175ed520c1db6cb5a386068643f733eb984e1205
<ide><path>lib/_http_incoming.js <ide> IncomingMessage.prototype.destroy = function destroy(error) { <ide> IncomingMessage.prototype._addHeaderLines = _addHeaderLines; <ide> function _addHeaderLines(headers, n) { <ide> if (headers && headers.length) { <del> var raw, dest; <add> var dest; <ide> if (this.comp...
1
Javascript
Javascript
add webpackerror casts
97fa7696fe0584cf3b60d5a370cd25acb6867df4
<ide><path>lib/Compilation.js <ide> class Compilation { <ide> <ide> this.hooks.optimizeTree.callAsync(this.chunks, this.modules, err => { <ide> if (err) { <del> return callback(err); <add> return callback(/** @type {WebpackError} */ (err)); <ide> } <ide> <ide> this.hooks.afterOptimizeTree.call(this.c...
1
Text
Text
update translations cta on landing
778a5fc2e8f0a25a8f5e49350832562a62bc3d9a
<ide><path>docs/_coverpage.md <ide> <ide> - <span class='cover-icon'><i class="fas fa-question-circle"></i></span> [Help by answering coding questions](https://forum.freecodecamp.org/c/help?max_posts=1) on our community forum. <ide> - <span class='cover-icon'><i class="fas fa-comments"></i></span> [Give feedback on co...
1
Text
Text
adjust link description to match target
fb51a330bb1bfb442f2e220a39a991ea0c69c69b
<ide><path>docs/sources/reference/run.md <ide> mechanism to communicate with a linked container by its alias: <ide> --volumes-from="": Mount all volumes from the given container(s) <ide> <ide> The volumes commands are complex enough to have their own documentation <del>in section [*Share Directories via <del>Volum...
1
Javascript
Javascript
detect hours above 12 with h/hh tokens
526fc6a9ac20515fff00b1cbaa3a652e5666da69
<ide><path>moment.js <ide> if (m._strict) { <ide> m._isValid = m._isValid && <ide> m._pf.charsLeftOver === 0 && <del> m._pf.unusedTokens.length === 0; <add> m._pf.unusedTokens.length === 0 && <add> m._pf.bigHour ===...
2
Javascript
Javascript
clarify "incorrect" example
f6b51fc0a226c23858bb561c7f8b815b02164259
<ide><path>src/ng/directive/attrs.js <ide> * but not on older IEs: <ide> * <ide> * ```html <add> * <!-- See below for an example of ng-disabled being used correctly --> <ide> * <div ng-init="isDisabled = false"> <ide> * <button disabled="{{isDisabled}}">Disabled</button> <ide> * </div>
1
Javascript
Javascript
save error in state
6213fcee9b5441c3e3a9f9e70680145ecb191eea
<ide><path>lib/_stream_readable.js <ide> function ReadableState(options, stream, isDuplex) { <ide> // _read calls, 'data' or 'readable' events should occur. This is needed <ide> // since when autoDestroy is disabled we need a way to tell whether the <ide> // stream has failed. <del> this.errored = false; <add> ...
6
Text
Text
add links for http_parser/libuv upgrades
8b09ae76f1d854a0db579fc0737df4809ce6087d
<ide><path>CHANGELOG.md <ide> <ide> * Windows installer fixes <ide> * Bundled node-gyp fixes for Windows <del>* http_parser v2.4.1 upgrade <del>* libuv v1.2.1 upgrade <add>* [http_parser v2.4.1 upgrade](https://github.com/joyent/http-parser/compare/v2.3...v2.4.1) <add>* [libuv v1.2.1 upgrade](https://github.com/libuv/...
1
Python
Python
note link between issues and
e9680164178c850d1cecb3f091968746f5ee9c78
<ide><path>spacy/tests/regression/test_issue2671.py <ide> def get_rule_id(nlp, matcher, doc): <ide> <ide> <ide> def test_issue2671(): <add> '''Ensure the correct entity ID is returned for matches with quantifiers. <add> See also #2675 <add> ''' <ide> nlp = English() <ide> matcher = Matcher(nlp.vocab)...
1
Javascript
Javascript
remove trailing comma
0321eef244b182381592baa6976aa153545a1c67
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> <ide> path: path || this.path || '', <ide> crossOrigin: this.crossOrigin, <del> manager: this.manager, <add> manager: this.manager <ide> <ide> } ); <ide>
1
Javascript
Javascript
add back license header to invariant
808f60f8a033967d9c53fda05d9333caeb4b0e06
<ide><path>src/vendor/core/invariant.js <ide> /** <add> * Copyright 2013 Facebook, Inc. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy of the License at <add> * <add> * http://www.apac...
1
Text
Text
add v3.3.0-beta.1 to changelog.md
573ddd1ac3a085adc0319361ca5f14b737a9f60d
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.3.0-beta.1 (May 31, 2018) <add> <add>- [#16687](https://github.com/emberjs/ember.js/pull/16687) [FEATURE] Implement optional jQuery integration (see [emberjs/rfcs#294](https://github.com/emberjs/rfcs/blob/master/text/0294-optional-jquery.md) for more de...
1
Ruby
Ruby
move aimage to boneyard
0c97642979f7f7e42bf81448af7601662ecf8c3d
<ide><path>Library/Homebrew/tap_migrations.rb <ide> 'librets' => 'homebrew/boneyard', <ide> 'drizzle' => 'homebrew/boneyard', <ide> 'boost149' => 'homebrew/versions', <add> 'aimage' => 'homebrew/boneyard', <ide> }
1
Javascript
Javascript
add getall function to formdata
d05a5d15512ab794ef80b31ef91090d5d88b3fcd
<ide><path>Libraries/Network/FormData.js <ide> class FormData { <ide> this._parts.push([key, value]); <ide> } <ide> <add> getAll(key: string): Array<FormDataValue> { <add> return this._parts <add> .filter(([name]) => name === key) <add> .map(([, value]) => value); <add> } <add> <ide> getParts():...
2
Text
Text
fix typo "ndapi" in n-api.md
df46fcb61a6f64cebffd26c8dbd4f24c8058fe25
<ide><path>doc/api/n-api.md <ide> added: v8.0.0 <ide> NODE_EXTERN napi_status napi_create_reference(napi_env env, <ide> napi_value value, <ide> int initial_refcount, <del> ndapi_ref* ...
1
Mixed
PHP
fix bugs in input class
39601e8a78ee3fe096749f316ddb21621600227e
<ide><path>laravel/documentation/changes.md <ide> - Added `Request::set_env` method. <ide> - `Schema::drop` now accepts `$connection` as second parameter. <ide> - Added `Input::merge` method. <add>- Added `Input::replace` method. <ide> <ide> <a name="upgrade-3.2"></a> <ide> ## Upgrading From 3.1 <ide><path>laravel/inp...
2
PHP
PHP
set default for "step" attribute to "1"
b12a01b1b9e94405502e55cfd20c0ca520bf6f2e
<ide><path>src/View/Widget/DateTimeWidget.php <ide> public function render(array $data, ContextInterface $context): string <ide> 'templateVars' => [], <ide> ]; <ide> <add> if ($data['type'] === 'datetime-local' || $data['type'] === 'time') { <add> $data += ['step' => '1']; <add> ...
3
Python
Python
add a test
457b78f503bbde12c4b2b2ecf25137d7244cca38
<ide><path>numpy/ma/tests/test_mrecords.py <ide> def test_addfield(self): <ide> assert_equal(mrec.f3, d) <ide> assert_equal(mrec.f3._mask, m) <ide> <add> <add>def test_record_array_with_object_field(): <add> """ <add> Trac #1839 <add> """ <add> y = ma.masked_array( <add> [(1,'2'), (3...
1
Java
Java
spr-8697 flag '*/subtype' as illegal
01cc76f8e3b3016677cad5d7be8a45ee1f6bab2c
<ide><path>org.springframework.web/src/main/java/org/springframework/http/MediaType.java <ide> public static MediaType parseMediaType(String mediaType) { <ide> } <ide> String type = fullType.substring(0, subIndex); <ide> String subtype = fullType.substring(subIndex + 1, fullType.length()); <add> if (WILDCARD_TYP...
2
Ruby
Ruby
unify access to bind values on relation
16ce2eecd3eb23034555bb37b29c12985243d908
<ide><path>activerecord/lib/active_record/relation.rb <ide> def update_all(updates) <ide> stmt.wheres = arel.constraints <ide> end <ide> <del> bvs = arel.bind_values + bind_values <del> @klass.connection.update stmt, 'SQL', bvs <add> @klass.connection.update stmt, 'SQL', bind_values <ide> ...
6
Javascript
Javascript
use async/await in atomenvironment
fed595b49f07aaa259370f95e2080b3a7dfacd73
<ide><path>src/atom-environment.js <ide> class AtomEnvironment { <ide> if (this.config.get('core.autoHideMenuBar')) this.setAutoHideMenuBar(true) <ide> } <ide> <del> reset () { <add> async reset () { <ide> this.deserializers.clear() <ide> this.registerDefaultDeserializers() <ide> <ide> class AtomEnvir...
1
Javascript
Javascript
fix keyboard mapping in viewer
caa3c3fdc46fa873637fcf134b810fe016b64693
<ide><path>web/viewer.js <ide> window.addEventListener('pagechange', function pagechange(evt) { <ide> }, true); <ide> <ide> window.addEventListener('keydown', function keydown(evt) { <del> if (evt.ctrlKey || evt.altKey || evt.shiftKey || evt.metaKey) <del> return; <ide> var curElement = document.activeElement; <...
1
Ruby
Ruby
remove unused requires
cead2dd1f4e40eb21270b4a6112645a59ce89088
<ide><path>activesupport/lib/active_support/buffered_logger.rb <del>require 'thread' <del>require 'active_support/core_ext/class/attribute_accessors' <ide> require 'active_support/deprecation' <ide> require 'active_support/logger' <del>require 'fileutils' <ide> <ide> module ActiveSupport <ide> BufferedLogger = Activ...
2
Text
Text
add note to readable stream async iterator
45c86e33e19e4597108e9c0c0d4b7cef77ad1c73
<ide><path>doc/api/stream.md <ide> print(fs.createReadStream('file')).catch(console.log); <ide> <ide> If the loop terminates with a `break` or a `throw`, the stream will be <ide> destroyed. In other terms, iterating over a stream will consume the stream <del>fully. <add>fully. The stream will be read in chunks of size...
1
PHP
PHP
fix broken schedule tests
42d5c856067368fe3fda0a43477a964866b073c5
<ide><path>tests/Console/ConsoleEventSchedulerTest.php <ide> <ide> namespace Illuminate\Tests\Console; <ide> <add>use Illuminate\Container\Container; <ide> use Mockery as m; <ide> use PHPUnit\Framework\TestCase; <ide> use Illuminate\Console\Scheduling\Schedule; <ide> public function setUp() <ide> { <ide> ...
4
Javascript
Javascript
mitigate possible xss vulnerability
b078a62013782c7424a4a61a240c23c4c0b42614
<ide><path>src/ajax.js <ide> function ajaxConvert( s, response, jqXHR, isSuccess ) { <ide> <ide> if ( current ) { <ide> <del> // There's only work to do if current dataType is non-auto <add> // There's only work to do if current dataType is non-auto <ide> if ( current === "*" ) { <ide> <ide> current = pr...
3
Javascript
Javascript
isolate native module system again
f39fdf261050f37ef6c804ec012f2d03dc55e6eb
<ide><path>src/node.js <ide> process._needTickCallback(); <ide> }; <ide> <del> // This contains the source code for the files in lib/ <del> // Like, natives.fs is the contents of lib/fs.js <del> var natives = process.binding('natives'); <del> <del> // Module System <del> var Module = (function() { <del> ...
1
Text
Text
add strict language to readme
7eabb701300bf64d285ac9a94b2d9769d8ab9767
<ide><path>README.md <ide> Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT <ide> ## Bugs & issues <ide> <ide> When reporting bugs or issues, if you could include a link to a simple [jsbin](http://jsbin.com) or similar demonstrating the issue, that'd be really helpful. <add> <add>This p...
1
Text
Text
add documentation about react.rendercomponent
43a242b67ffa819f765adf7954c00c700a37e22c
<ide><path>docs/docs/ref-01-top-level-api.md <ide> ReactComponent renderComponent( <ide> ) <ide> ``` <ide> <del>Render a React component into the DOM in the supplied `container`. <add>Render a React component into the DOM in the supplied `container` and return a reference to the component. <ide> <ide> If the React co...
2
Javascript
Javascript
add makeempty again
81e173ab2354b987e1a4c0138dd2c2b7c765fa18
<ide><path>src/math/Box3.js <ide> Box3.prototype = { <ide> <ide> setFromPoints: function ( points ) { <ide> <add> this.makeEmpty(); <add> <ide> for ( var i = 0, il = points.length; i < il; i ++ ) { <ide> <ide> this.expandByPoint( points[ i ] );
1
Javascript
Javascript
add promise support
dbd880cc0a9521bd5b9c96ca3f052450c3def336
<ide><path>lib/jasmine-jstd-adapter/JasmineAdapter.js <ide> var oldIt = window.it; <ide> window.it = function(name, fn){ <ide> fn.exclusive = 1; // run anything under ddescribe <del> jasmine.getEnv().it(name, fn); <add> oldIt(name, fn); <ide> }; <ide> try { <i...
7
Javascript
Javascript
add `hidden` attribute to dom properties
b2bbdf8cbfca0649f538bf3e0c34445e5476e4bb
<ide><path>src/dom/DefaultDOMPropertyConfig.js <ide> var DefaultDOMPropertyConfig = { <ide> draggable: null, <ide> enctype: null, <ide> height: MUST_USE_ATTRIBUTE, <add> hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, <ide> href: null, <ide> htmlFor: null, <ide> id: MUST_USE_PROPERTY,
1
Text
Text
add changelog entry for
b18a27375a62b7c9848cd2dc7b5cf152ef61b62f
<ide><path>actionview/CHANGELOG.md <add>* Fix `link_to` with block and url hashes. <add> <add> Before: <add> <add> link_to(action: 'bar', controller: 'foo') { content_tag(:span, 'Example site') } <add> # => "<a action=\"bar\" controller=\"foo\"><span>Example site</span></a>" <add> <add> After: <ad...
1
Ruby
Ruby
remove unused code
1498071b92850fa5c2d4e3f0a726b58869a11c04
<ide><path>actionpack/test/controller/flash_test.rb <ide> class FlashIntegrationTest < ActionDispatch::IntegrationTest <ide> SessionSecret = 'b3c631c314c0bbca50c1b2843150fe33' <ide> <ide> class TestController < ActionController::Base <del> def dont_set_flash <del> head :ok <del> end <del> <ide> def ...
1
Text
Text
fix minor typo in no-img-element.md
93bac0f2b710a0a5ea3d2aafb9d53e80d68df37d
<ide><path>errors/no-img-element.md <ide> <ide> ### Why This Error Occurred <ide> <del>An HTML `<img>` element was used to display an image. For better performance and automatic image optimization, use Next.js' built-in image component instead. <add>An HTML `<img>` element was used to display an image. For better per...
1
Mixed
Javascript
accept url as argument for `fs.rm` and `fs.rmsync`
e5c1fd7a2a1801fd75bdde23b260488e85453eb2
<ide><path>doc/api/fs.md <ide> with options `{ recursive: true, force: true }`. <ide> <ide> <!-- YAML <ide> added: v14.14.0 <add>changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/41132 <add> description: The `path` parameter can be a WHATWG `URL` object using `file:` <add> ...
3
PHP
PHP
add additional empty() for tableprefix
aeda986745da388975de01330cc55146c03a4721
<ide><path>lib/Cake/Model/Model.php <ide> public function __get($name) { <ide> } <ide> if ($name === 'tablePrefix') { <ide> $this->setDataSource(); <del> if (property_exists($this, 'tablePrefix')) { <add> if (property_exists($this, 'tablePrefix') && !empty($this->tablePrefix)) { <ide> return $this->table...
1
PHP
PHP
reword exception explanation
80acc06c0379bd7259efc9adbf6de75ce55b7832
<ide><path>src/Cache/SimpleCacheEngine.php <ide> public function deleteMultiple($keys) <ide> * <ide> * @param string $key The cache item key. <ide> * @return bool <del> * @throws \Psr\SimpleCache\InvalidArgumentException <del> * MUST be thrown if the $key string is not a legal value. <add> ...
1
PHP
PHP
remove redundant parens
2884049989127d7e7f901c49068000b36f1920ad
<ide><path>src/Validation/Validator.php <ide> protected function isEmpty($data, $flags) <ide> return true; <ide> } <ide> <del> $arrayTypes = (self::EMPTY_ARRAY | self::EMPTY_DATE | self::EMPTY_TIME | self::EMPTY_FILE); <add> $arrayTypes = self::EMPTY_ARRAY | self::EMPTY_DATE | self::E...
1
Go
Go
remove the dockerfile field from builder
f3e205ddc15040ec80ef047959afa7b75586a491
<ide><path>builder/dockerfile/builder.go <ide> type Builder struct { <ide> clientCtx context.Context <ide> cancel context.CancelFunc <ide> <del> dockerfile *parser.Node <ide> runConfig *container.Config // runconfig for cmd, run, entrypoint etc. <ide> flags *BFlags <ide> tmpContainers map[string...
4
Javascript
Javascript
fix output regression
adef64ce633f22b92feca3aa6a61ff7fb88bbd05
<ide><path>benchmark/common.js <ide> function formatResult(data) { <ide> } <ide> <ide> function sendResult(data) { <del> if (process.send && Object.hasOwn(process.env, 'NODE_RUN_BENCHMARK_FN')) { <add> if (process.send) { <ide> // If forked, report by process send <ide> process.send(data, () => { <del> ...
1
Java
Java
remove mention of blocking from the package-infos
0b2deb1093d7498b90f6ef3ceb7e4d6bdeed4c31
<ide><path>src/main/java/io/reactivex/flowables/package-info.java <ide> */ <ide> <ide> /** <del> * Classes supporting the Flowable base reactive class: blocking, connectable and grouped <add> * Classes supporting the Flowable base reactive class: connectable and grouped <ide> * flowables. <ide> */ <ide> package io....
2
Ruby
Ruby
fix sanitizer tests
f31a386c7ecdfe8a9173655b515470a2fbc9fcdd
<ide><path>actionview/test/template/text_helper_test.rb <ide> def test_simple_format <ide> end <ide> <ide> def test_simple_format_should_sanitize_input_when_sanitize_option_is_not_false <del> assert_equal "<p><b> test with unsafe string </b></p>", simple_format("<b> test with unsafe string </b><script>code!</sc...
1
Javascript
Javascript
convert vars to let/const
b3e27b264032100630ef818742f0f6aabd9db292
<ide><path>packages/react-call-return/src/ReactCallReturn.js <ide> export function unstable_createCall<T>( <ide> props: T, <ide> key: ?string = null, <ide> ): ReactCall { <del> var call = { <add> const call = { <ide> // This tag allow us to uniquely identify this as a React Call <ide> $$typeof: REACT_CALL...
12
Javascript
Javascript
visualize padding and margin in inspector
7be471d1fee2646e39046682acda6a542add1154
<ide><path>Libraries/ReactIOS/InspectorOverlay/BorderBox.js <add>/** <add> * Copyright (c) 2015-present, Facebook, Inc. <add> * All rights reserved. <add> * <add> * This source code is licensed under the BSD-style license found in the <add> * LICENSE file in the root directory of this source tree. An additional grant <...
4
Java
Java
use unique names when auto-registering filters
035bac025a2e8062a1894ae9651930e528511e27
<ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/support/AbstractDispatcherServletInitializer.java <ide> import org.springframework.util.ObjectUtils; <ide> import org.springframework.web.context.AbstractContextLoaderInitializer; <ide> import org.springframework.web.context.WebApplicationContext; <...
2
Text
Text
add "modulo" name in remainder section
892ec7f81be77c949cff5c745409c6ef85e39871
<ide><path>guide/english/javascript/arithmetic-operation/index.md <ide> JavaScript provides the user with five arithmetic operators: `+`, `-`, `*`, `/` <ide> 5 + "foo" // concatenates the string and the number and returns "5foo" <ide> "foo" + "bar" // concatenates the strings and returns "foobar" <ide> <...
1
PHP
PHP
add parameters to app() function
3dbb9588885b93ffde1f65015ff74a057d11329b
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function action($name, $parameters = array()) <ide> * Get the available container instance. <ide> * <ide> * @param string $make <del> * @return mixed <add> * @param array $parameters <add> * @return mixed|\Illuminate\Foundation\Application <ide> */ ...
1
Text
Text
fix image import path
6bd68bdb9f2f2bd4ba9b32c9b248356e399bb600
<ide><path>docs/api-reference/next/image.md <ide> We can serve an optimized image like so: <ide> <ide> ```jsx <ide> import Image from 'next/image' <del>import profilePic from '../me.png' <add>import profilePic from '../public/me.png' <ide> <ide> function Home() { <ide> return (
1
Python
Python
move is_package and get_model_package_path to util
e34069db9f1c17f3a78d45589e20ac76bcd5afc4
<ide><path>spacy/util.py <ide> from __future__ import unicode_literals, print_function <ide> <ide> import ujson <add>import pip <add>import importlib <ide> import regex as re <ide> from pathlib import Path <ide> import sys <ide> def read_json(location): <ide> return ujson.load(f) <ide> <ide> <add>def is_pack...
1
Python
Python
fix "trainable" argument
c1c2b330a104ceb7d641613a70cc3f2d70e547f7
<ide><path>keras/engine/training.py <ide> def collect_metrics(metrics, output_names): <ide> str(metrics)) <ide> <ide> <add>def collect_trainable_weights(layer): <add> trainable = getattr(layer, 'trainable', True) <add> if not trainable: <add> return [] <add> weights = [] <add> ...
2
Javascript
Javascript
add response type detecting to lang redirect
5d94cb369daa1992f31f3a34efd0712e64a468e5
<ide><path>server/boot/z-lang-redirect.js <ide> import supportedLanguages from '../../common/utils/supported-languages'; <ide> import passThroughs from '../utils/lang-passthrough-urls'; <add>import accepts from 'accepts'; <ide> // import debug from 'debug'; <ide> <ide> // const log = debug('fcc:controller:lang-redirec...
2
Javascript
Javascript
fix regexp to support fullhash
224586445cc3af32f22506ac44ed09a6137a9a2c
<ide><path>lib/RuntimePlugin.js <ide> class RuntimePlugin { <ide> compilation.hooks.runtimeRequirementInTree <ide> .for(RuntimeGlobals.getChunkScriptFilename) <ide> .tap("RuntimePlugin", (chunk, set) => { <del> if (/\[hash(:\d+)?\]/.test(compilation.outputOptions.chunkFilename)) <add> if ( <add> ...
1
Text
Text
hide undocumented object artifacts in async_hooks
9159fb733cfc7858ab59558db12686a5f13baaf1
<ide><path>doc/api/async_hooks.md <ide> Because printing to the console is an asynchronous operation, `console.log()` <ide> will cause the AsyncHooks callbacks to be called. Using `console.log()` or <ide> similar asynchronous operations inside an AsyncHooks callback function will thus <ide> cause an infinite recursion....
1
Python
Python
update doc of `ndarray.t`
9cfbfd88a021dca0a669bdeab4382ebb86b92c47
<ide><path>numpy/core/_add_newdocs.py <ide> <ide> add_newdoc('numpy.core.multiarray', 'ndarray', ('T', <ide> """ <del> Same as self.transpose(), except that self is returned if <del> self.ndim < 2. <add> The transposed array. <add> <add> Same as ``self.transpose()``. <ide> <ide> Examples <ide> ...
1
Javascript
Javascript
add ember.shallowset which avoids unknownproperty
beb4267bdabab179f3a360541c3b614012261bc9
<ide><path>packages/ember-metal/lib/shallow_set.js <add>require('ember-metal/property_set'); <add>require('ember-metal/properties'); <add> <add>var set = Ember.set, <add> defineProperty = Ember.defineProperty; <add> <add>/** <add> Sets the value of a property on an object avoiding the `unknownProperty` hook, <add> ...
2
Text
Text
fix requirejs doc to use umd file instead
c4c00b58342c5f46c5c54ec3caddd518c45fdf9f
<ide><path>docs/getting-started/integration.md <ide> Chart.js can be integrated with plain JavaScript or with different module loader <ide> ## ES6 Modules <ide> <ide> ```javascript <del>import Chart from 'chart.js' <del>var myChart = new Chart(ctx, {...}) <add>import Chart from 'chart.js'; <add>var myChart = new Chart...
1
Javascript
Javascript
improve check in test-os
2923ed10bb6dd1d6a203e1a89d1aa179df5cf243
<ide><path>test/parallel/test-os.js <ide> const interfaces = os.networkInterfaces(); <ide> switch (platform) { <ide> case 'linux': <ide> { <del> const filter = (e) => e.address === '127.0.0.1'; <add> const filter = <add> (e) => e.address === '127.0.0.1' && e.netmask === '255.0.0.0'; <ide> const actua...
1
Text
Text
add serial comma in cpp_style_guide.md
9472d69d1d1e7865763ad660baae80b8820978e3
<ide><path>CPP_STYLE_GUIDE.md <ide> * [4 spaces of indentation for statement continuations](#4-spaces-of-indentation-for-statement-continuations) <ide> * [Align function arguments vertically](#align-function-arguments-vertically) <ide> * [Initialization lists](#initialization-lists) <del> * [CamelCase for method...
1
Text
Text
add clearer titles for methods
cfe2b24ab35988c5788797409855789096479840
<ide><path>guide/english/java/arraylist/index.md <ide> Since ArrayList implements *List*, an ArrayList can be created using the followi <ide> <ide> An ArrayList is dynamic, meaning it will grow in size if required and similarly shrink in size if elements are deleted from it. This is what makes it better to use tha...
1
Python
Python
increase activations test coverage to 100%
630a398ea8665f7062d40e3ba3c9b11205d902db
<ide><path>tests/keras/activations_test.py <ide> from keras import backend as K <ide> from keras import activations <ide> <add>from keras.layers.core import Dense <add> <ide> <ide> def get_standard_values(): <ide> """A set of floats used for testing the activations. <ide> def test_serialization(): <ide> a...
1
Ruby
Ruby
add frozen string pragma to expected routes files
7b01ae0bc36a9e48b5b204a4839bd1c6fbfa840b
<ide><path>railties/test/generators/actions_test.rb <ide> def test_route_should_add_data_with_an_new_line <ide> File.open(route_path, "wb") { |file| file.write(content) } <ide> <ide> routes = <<-F <add># frozen_string_literal: true <ide> Rails.application.routes.draw do <ide> root 'welcome#index' <ide> end <...
1
Javascript
Javascript
fix production issue
1ab84010f631385ce0f9f7e24a920f773b5a3c2d
<ide><path>controllers/story.js <ide> exports.getStories = function(req, res, next) { <ide> } <ide> database.collection('stories').find({ <ide> '$text': { <del> '$search': req.body.data.searchValue <add> '$search': req.body.data ? req.body.data.searchValue : "" <ide> } <ide> }, { <...
1
Go
Go
parse dockerfile ast into config
7f091eca704970a5cb8a4fdab295dae543c47a89
<ide><path>builder/evaluator.go <ide> type Builder struct { <ide> ForceRemove bool <ide> Pull bool <ide> <add> // set this to true if we want the builder to not commit between steps. <add> // This is useful when we only want to use the evaluator table to generate <add> // the final configs of the Dockerfile b...
3
Javascript
Javascript
remove usage of require('util')
d6317d0a45a36b19336745e1e96e9ae9204b7633
<ide><path>lib/internal/modules/esm/create_dynamic_module.js <ide> const { ArrayPrototype } = primordials; <ide> <ide> const { ModuleWrap, callbackMap } = internalBinding('module_wrap'); <del>const debug = require('util').debuglog('esm'); <add>const debug = require('internal/util/debuglog').debuglog('esm'); <ide> <id...
1
Go
Go
remove the api container struct and use env
91757eaeb3523679b30afee61c1dede33c8664c9
<ide><path>api/client/commands.go <ide> func (cli *DockerCli) forwardAllSignals(cid string) chan os.Signal { <ide> <ide> func (cli *DockerCli) CmdStart(args ...string) error { <ide> var ( <add> cErr chan error <add> tty bool <add> <ide> cmd = cli.Subcmd("start", "CONTAINER [CONTAINER...]", "Restart a stopp...
3
Mixed
Text
add documentation for image & text preprocessing
6b3e44484ba10f2a4a3020dd223447cd66a5519f
<ide><path>docs/sources/preprocessing/image.md <add> <add>## ImageDataGenerator <add> <add>```python <add>keras.preprocessing.image.ImageDataGenerator(featurewise_center=True, <add> samplewise_center=False, <add> featurewise_std_normalization=True, <add> samplewise_std_normalization=False, <add> zca_whiteni...
3
Ruby
Ruby
use a queue rather than a list. fixes
f78c5fbb96b507fb80405c25cfce12136f9d45cd
<ide><path>activesupport/lib/active_support/notifications/fanout.rb <ide> def matches?(subscriber_or_name) <ide> <ide> class Timed < Evented <ide> def initialize(pattern, delegate) <del> @timestack = [] <add> @timestack = Queue.new <ide> super <ide> end <id...
1
Ruby
Ruby
show all installed jdk
63246fbc6c725d0bc78641a015538a6147ba4058
<ide><path>Library/Homebrew/cmd/config.rb <ide> require "hardware" <ide> require "software_spec" <add>require "rexml/document" <ide> <ide> module Homebrew <ide> def config <ide> def describe_system_ruby <ide> end <ide> <ide> def describe_java <del> if which("java").nil? <del> "N/A" <del> elsif !quiet...
1
Javascript
Javascript
delay object initialization in nodelinkfn
31ed0af74b0081906415dcefe5610e1217cc0c48
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide, $$sanitizeUriProvider) { <ide> <ide> <ide> function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { <del> var i, ii, linkFn, controller, isolateScope, elementControllers = {}, transcludeFn; <add> var...
1
Javascript
Javascript
fix weak status of harmony accept dependency
5a8e7673cbf4aa870a0d0e514978e0abe72fc745
<ide><path>lib/Compilation.js <ide> class Compilation extends Tapable { <ide> return; <ide> } <ide> // We skip weak Dependencies <del> if(d.weak) { <add> if(ref.weak) { <ide> return; <ide> } <ide> // We connect Module and Chunk when not already done <ide><path>lib/dependencies/HarmonyAcceptImpor...
6
Javascript
Javascript
use a symbol to tag every reactelement
031fc24daeae6bcdc5e5f6959b778e1c2ed5f378
<ide><path>src/isomorphic/classic/element/ReactElement.js <ide> var ReactCurrentOwner = require('ReactCurrentOwner'); <ide> <ide> var assign = require('Object.assign'); <ide> <add>// The Symbol used to tag the ReactElement type. If there is no native Symbol <add>// nor polyfill, then a plain number is used for perfor...
3
Javascript
Javascript
add airpopo to showcase
9150cc5f967598687fa21473f1fe3c1b51f8eb2f
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> link: 'https://itunes.apple.com/us/app/accio-on-demand-delivery/id1047060673?mt=8', <ide> author: 'Accio Delivery Inc.', <ide> }, <add> { <add> name: 'AirPoPo', <add> icon: 'http://a1.mzstatic.com/us/r30/Purple49/v4/47/1a/07/471a0...
1
Javascript
Javascript
add mailto protocol, to whitelist
9287ab12e76f171aba9eca90feaba8c5c5dff1bd
<ide><path>src/core.js <ide> var Page = (function PageClosure() { <ide> case 'http': <ide> case 'https': <ide> case 'ftp': <add> case 'mailto': <ide> return true; <ide> default: <ide> return false;
1
Mixed
Javascript
add diagnostics channel for process and worker
0633e9a0b5dcbc6d3c250c9086e9386c5d5261b3
<ide><path>doc/api/diagnostics_channel.md <ide> Emitted when server receives a request. <ide> <ide> Emitted when server sends a response. <ide> <add>#### NET <add> <ide> `net.client.socket` <ide> <ide> * `socket` {net.Socket} <ide> Emitted when a new TCP or pipe client socket is created. <ide> <ide> Emitted when a ...
5
Python
Python
use new mixed_float16 policy for resnet
dcd0e7addaef5f6125b04c2642545ca1ed29c460
<ide><path>official/benchmark/models/trivial_model.py <ide> from tensorflow.python.keras import models <ide> <ide> <del>def trivial_model(num_classes, dtype='float32'): <add>def trivial_model(num_classes): <ide> """Trivial model for ImageNet dataset.""" <ide> <ide> input_shape = (224, 224, 3) <del> img_input = ...
5
Java
Java
clarify behavior of websession#save()
9498da591094120c40b966a4b91d59f7d39936d0
<ide><path>spring-web/src/main/java/org/springframework/web/server/WebSession.java <ide> default <T> T getAttributeOrDefault(String name, T defaultValue) { <ide> Mono<Void> invalidate(); <ide> <ide> /** <del> * Save the session persisting attributes (e.g. if stored remotely) and also <del> * sending the session id...
3
Java
Java
add assume performance to needed htmlunit tests
e998c450e679fb2fb0ccd8c6cbe76b738e0ec196
<ide><path>spring-test/src/test/java/org/springframework/test/web/servlet/htmlunit/DelegatingWebConnectionTests.java <ide> import org.springframework.test.web.servlet.MockMvc; <ide> import org.springframework.test.web.servlet.htmlunit.DelegatingWebConnection.DelegateWebConnection; <ide> import org.springframework.test....
3
Python
Python
remove remove logsumexp and replace with logaddexp
d9315999522822b8d03be4869d5eb0a190dd2bf7
<ide><path>numpy/core/code_generators/generate_umath.py <ide> def __init__(self, nin, nout, identity, docstring, <ide> "", <ide> TD(flts, f="logaddexp") <ide> ), <del>'logsumexp' : <del> Ufunc(2, 1, None, <del> "", <del> TD(flts, f="logsumexp") <del> ), <ide> ...
1
Python
Python
remove two tokens that should not be suppressed
95754b47a6d4fbdad3440a45762531e8c471c528
<ide><path>src/transformers/models/whisper/configuration_whisper.py <ide> <ide> # fmt: off <ide> NON_SPEECH_TOKENS = [ <del> 1, 2, 6, 7, 8, 9, 10, 12, 14, 25, <add> 1, 2, 7, 8, 9, 10, 14, 25, <ide> 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, <ide> 63, 90, 91, 92, 93, 357, 366, 438, 532, 685, <ide> 705, 7...
1
Python
Python
improve model docstrings
d04a210d30850ffaa70a71bf3674f9fdd12da203
<ide><path>keras/engine/training.py <ide> def compile(self, <ide> **kwargs): <ide> """Configures the model for training. <ide> <add> Example: <add> <add> ```python <add> model.compile(optimizer=tf.keras.optimizer.Adam(learning_rate=1e-3), <add> loss=tf.keras.losses.BinaryCro...
1
Python
Python
fix compatibility of object_detection for python3
3f9382a64435fefd4d5c755e498ab66fc3662c69
<ide><path>object_detection/core/batcher.py <ide> def __init__(self, tensor_dict, batch_size, batch_queue_capacity, <ide> """ <ide> # Remember static shapes to set shapes of batched tensors. <ide> static_shapes = collections.OrderedDict( <del> {key: tensor.get_shape() for key, tensor in tensor_dict.i...
5
Python
Python
fix adadelta serialization
31cf6b16f48d1da338c7af26d64f5104534fe0ab
<ide><path>keras/optimizers.py <ide> def get_updates(self, params, constraints, loss): <ide> def get_config(self): <ide> return {"name": self.__class__.__name__, <ide> "lr": float(K.get_value(self.lr)), <del> "rho": float(K.get_value(self.rho)), <add> "rho": sel...
1
Javascript
Javascript
fix outdated scope definition in example
e1810c5cd3520338f7cf77cbb913be675d636cab
<ide><path>src/ng/directive/ngTransclude.js <ide> return { <ide> restrict: 'E', <ide> transclude: true, <del> scope: 'isolate', <del> locals: { title:'bind' }, <add> scope: { title:'@' }, <ide> template: '<div style="bor...
1
Javascript
Javascript
fix scheduler settimeout() re-entrancy check
6bf5e859860938b8cb7153ee928c01ad45656969
<ide><path>packages/scheduler/src/Scheduler.js <ide> if (globalValue && globalValue._schedMock) { <ide> var _callback = null; <ide> var _flushCallback = function(didTimeout) { <ide> if (_callback !== null) { <del> var cb = _callback; <del> _callback = null; <del> cb(didTimeout); <add> try { ...
1
PHP
PHP
fix incorrect method name in comment
f047f80dc07a5b7cbbe60c187eea62ed70a10734
<ide><path>app/Jobs/Job.php <ide> abstract class Job <ide> | <ide> | This job base class provides a central location to place any logic that <ide> | is shared across all of your jobs. The trait included with the class <del> | provides access to the "queueOn" and "delay" queue helper methods. <add> | p...
1
Ruby
Ruby
fix dependent cask handling
1d204a08934ce17cf767d3543357954b33df204b
<ide><path>Library/Homebrew/test/uninstall_spec.rb <ide> let(:dependent_cask) do <ide> Cask::CaskLoader.load(+<<-RUBY) <ide> cask "dependent_cask" do <add> version "1.0.0" <add> <ide> url "c-1" <ide> depends_on formula: "dependency" <ide> end <ide> ] <ide> tab.write <ide...
1
Javascript
Javascript
highlight track by expression position
3bce707421464c320e38fe758a6143003ce87522
<ide><path>src/ng/directive/ngRepeat.js <ide> * more than one tracking expression value resolve to the same key. (This would mean that two distinct objects are <ide> * mapped to the same DOM element, which is not possible.) <ide> * <del> * Note that the tracking expression must come last, after any filte...
1
Go
Go
fix race in container creation
ad2fa3945997905760a4c7ef0444580ffb4b939a
<ide><path>daemon/execdriver/native/driver.go <ide> func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, hooks execd <ide> if err != nil { <ide> return execdriver.ExitStatus{ExitCode: -1}, err <ide> } <add> <add> if err := cont.Start(p); err != nil { <add> return execdriver.ExitStatus{ExitCode: -1}...
1
Ruby
Ruby
use match? where we don't need matchdata
0196551e6039ca864d1eee1e01819fcae12c1dc9
<ide><path>actioncable/test/client_test.rb <ide> def with_puma_server(rack_app = ActionCable.server, port = 3099) <ide> <ide> rescue RuntimeError => ex <ide> # Work around https://bugs.ruby-lang.org/issues/13239 <del> raise unless ex.message =~ /can't modify frozen IOError/ <add> raise unle...
46
Ruby
Ruby
fix clang detection
d067b5f4344b31beef8cf0adb494c819a0e337bf
<ide><path>Library/Homebrew/rubocops/lines_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> # Avoid hard-coding compilers <ide> find_every_method_call_by_name(body_node, :system).each do |method| <ide> param = parameters(method).first <del> ...
1
Mixed
Javascript
add `autocommit` option
341312d78a8b5b4d5ef03429161242dd9d9b9206
<ide><path>doc/api/readline.md <ide> setTimeout(() => ac.abort(), 10000); <ide> added: REPLACEME <ide> --> <ide> <del>#### `new readlinePromises.Readline(stream)` <add>#### `new readlinePromises.Readline(stream[, options])` <ide> <!-- YAML <ide> added: REPLACEME <ide> --> <ide> <ide> * `stream` {stream.Writable} A [T...
2
Javascript
Javascript
change controllers to use prototype methods
9e24e774a558143b3478536911a3a4c1714564ba
<ide><path>src/ng/directive/form.js <ide> 'use strict'; <ide> <del>/* global -nullFormCtrl, -SUBMITTED_CLASS, addSetValidityMethod: true <add>/* global -nullFormCtrl, -PENDING_CLASS, -SUBMITTED_CLASS <ide> */ <ide> var nullFormCtrl = { <ide> $addControl: noop, <ide> var nullFormCtrl = { <ide> $setPristine: noop, ...
2
Text
Text
fix another internal link
88cef8118e51b2b58eab9f5e8eaef6258b9d63ef
<ide><path>docs/Manpage.md <ide> didn't include with macOS. <ide> <ide> ## ESSENTIAL COMMANDS <ide> <del>For the full command list, see the [COMMANDS][] section. <add>For the full command list, see the [COMMANDS](#commands) section. <ide> <ide> With `--verbose` or `-v`, many commands print extra debugging informatio...
1
Python
Python
resolve line-too-long in saving
b0ffc0031e9c1964e7398ca47c6666bbfc0d5086
<ide><path>keras/saving/experimental/saving_lib.py <ide> def save(model, dirpath): <ide> <ide> # TODO(rchao): Save the model's metadata (e.g. Keras version) in a separate <ide> # file in the archive. <del> # TODO(rchao): Save the model's state (e.g. layer weights/vocab) in a separate <del> # set of files...
27
Javascript
Javascript
pass tablength to suggestedindent methods for now
70cca845996ac5bb40cf409e66f3f8d238a7bc6e
<ide><path>src/selection.js <ide> class Selection { <ide> if (options.autoIndent && textIsAutoIndentable && !NonWhitespaceRegExp.test(precedingText) && (remainingLines.length > 0)) { <ide> autoIndentFirstLine = true <ide> const firstLine = precedingText + firstInsertedLine <del> desiredIndentLevel ...
3
Javascript
Javascript
name anonymous funtions in function.js
dc15019248d5fcfbf71099c77f1516d1e48ccffc
<ide><path>src/function.js <ide> <ide> 'use strict'; <ide> <del>var PDFFunction = (function() { <add>var PDFFunction = (function pdfFunction() { <ide> var CONSTRUCT_SAMPLED = 0; <ide> var CONSTRUCT_INTERPOLATED = 2; <ide> var CONSTRUCT_STICHED = 3; <ide> var CONSTRUCT_POSTSCRIPT = 4; <ide> <ide> return { <...
1