diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -66,6 +66,7 @@ final class ParseMojoTest {
Assertions.assertThrows(
IllegalStateException.class,
() -> new FakeMaven(temp)
+ .withProgram("+package f", "[args] > main", " (stdout \"Hello!\").print")
.withEoForeign()
.withDefaults()
.with("timeout", 0)
| feat(#1479): add program for timeout test that increase chances to throw TimeoutException | null | cqfn/eo | MIT License | Java |
@@ -119,7 +119,7 @@ if (! function_exists('getBaseUrl')) {
$basePath = registry()->get('flextype.settings.base_path') ?? '';
if ($baseUrl != '') {
- return $baseUrl . $basePath;
+ return strings($baseUrl . '/' . $basePath)->reduceSlashes()->trimRight('/')->toString();
}
$getAuth = static function (): string {
@@ -165,9... | feat(helpers): add `getProjectUrl` and improve `getAbsoluteUrl ` and `getBaseUrl` | null | flextype/flextype | MIT License | PHP |
@@ -16,7 +16,6 @@ limitations under the License.
package main
import (
- "bytes"
"io"
"github.com/pkg/errors"
@@ -211,9 +210,7 @@ __helm_convert_bash_to_zsh() {
`
out.Write([]byte(zshInitialization))
- buf := new(bytes.Buffer)
- cmd.Root().GenBashCompletion(buf)
- out.Write(buf.Bytes())
+ runCompletionBash(out, cmd)
zs... | feat(comp): have zsh completion generation re-use bash code | null | helm/helm | Apache License 2.0 | Go |
@@ -29,8 +29,9 @@ import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
+import org.cactoos.bytes.BytesOf;
+import org.cactoos.bytes.UncheckedBytes;
import org.cactoos.io.ResourceOf;
-import org.cactoos.io.UncheckedInput;
import org.hamcrest.Matcher... | feat(#1442): use XMLDocument(bytes) | null | cqfn/eo | MIT License | Java |
@@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
+using System.Diagnostics;
namespace NSpec.Domain
{
@@ -236,9 +237,11 @@ namespace NSpec.Domain
{
if (failFast && Parent.HasAnyFailures()) return;
+ bool anyBeforeAllThrew = AnyBeforeAllThrew();
+... | feat(beforeAll): fail example when parent beforeAll throws | null | nspec/nspec | MIT License | C# |
@@ -196,8 +196,32 @@ $flextype['entries'] = static function ($container) {
return new Entries($container);
};
-$flextype['media'] = static function ($container) use ($flextype, $app) {
- return new Media($flextype, $app);
+/**
+ * Add media files service to Flextype container
+ */
+$flextype['media_files'] = static fun... | feat(media): Media API add new dependencies | null | flextype/flextype | MIT License | PHP |
@@ -183,6 +183,7 @@ void rocksdb_wrapper::clear_up_write_batch() { _write_batch->Clear(); }
int rocksdb_wrapper::ingestion_files(int64_t decree, const std::vector<std::string> &sst_file_list)
{
rocksdb::IngestExternalFileOptions ifo;
+ ifo.move_files = true;
rocksdb::Status s = _db->IngestExternalFile(sst_file_list, if... | feat(bulk_load): set move_files as true while ingest files | null | apache/incubator-pegasus | Apache License 2.0 | C++ |
@@ -38,7 +38,7 @@ class BlobManagerImpl final : public BlobManager {
std::mutex m_mtx;
CompNode::UnorderedMap<BlobSetWithMux> m_comp2blobs_map;
- bool m_enable;
+ bool m_enable = true;
void defrag(const CompNode& cn) override;
| feat(mge): enable defrag by default | null | megengine/megengine | Apache License 2.0 | C |
@@ -100,11 +100,11 @@ class CommandClient(private val commandList: Set<AbstractCommand>, private val c
for (prefix in prefixes) {
if (!message.contentRaw.startsWith(prefix, true)) continue
- val commandParts: ArrayList<String> = ArrayList(
- message.contentRaw
+ val noPrefixContent = message.contentRaw
.removeFirst(pre... | feat: support custom commands with spaces | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -269,8 +269,14 @@ export class Adapter implements DAP.Adapter {
ownProperties: true,
generatePreview: true
});
- const properties = response.result;
- return Promise.all(properties.map(p => this._createVariable(p.name, p.value)));
+ const properties = [];
+ for (const p of response.result)
+ properties.push(this._cr... | feat(preview): render map preview | null | microsoft/vscode-js-debug | MIT License | TypeScript |
declare(strict_types=1);
test('test /api/registry', function () {
- //$request = flextype()->createJsonRequest('GET', '/api/registry');
- //$response = flextype()->handle($request);
- //var_dump($response);
+ $this->assertTrue(true);
});
| feat(tests): maybe this is why you fails on Windows OS ? | null | flextype/flextype | MIT License | PHP |
@@ -25,6 +25,7 @@ type Props = {
* - `label`: optional label text
* - `accessibilityLabel`: accessibility label for the action, uses label by default if specified
* - `color`: custom icon color of the action item
+ * - `style`: pass additional styles for the fab item, for example, `backgroundColor`
* - `onPress`: callb... | feat: add style prop to FAB group action items. closes | null | callstack/react-native-paper | MIT License | JavaScript |
@@ -33,6 +33,7 @@ use Spatie\MediaLibrary\Support\UrlGenerator\UrlGeneratorFactory;
use Spatie\MediaLibraryPro\Models\TemporaryUpload;
/**
+ * @property-read string $uuid
* @property-read string $type
* @property-read string $extension
* @property-read string $humanReadableSize
| feat: add uuid phpdoc block on Media class | null | spatie/laravel-medialibrary | MIT License | PHP |
@@ -53,3 +53,19 @@ func Error(args ...interface{}) {
func Errorf(format string, args ...interface{}) {
errLog.LogOut(nil, &format, args...)
}
+
+func SetDebugLog(logger XLogger) {
+ debugLog = logger
+}
+
+func SetInfoLog(logger XLogger) {
+ infoLog = logger
+}
+
+func SetWarnLog(logger XLogger) {
+ warnLog = logger
+}... | feat: custom xlog to redirect log | null | go-pay/gopay | Apache License 2.0 | Go |
package com.github.mixinors.astromine.common.block.entity;
+import com.github.mixinors.astromine.common.block.entity.base.ExtendedBlockEntity;
+import com.github.mixinors.astromine.common.transfer.storage.SimpleItemStorage;
import com.github.mixinors.astromine.registry.common.AMBlockEntityTypes;
+import net.fabricmc.fa... | feat: CapacitorBlockEntity | null | mixinors/astromine | MIT License | Java |
@@ -18,6 +18,7 @@ import java.util.regex.Pattern;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.ObjectUtils;
+import org.apache.commons.lang3.mutable.MutableInt;
import com.google.gson.Gson;
@@ -463,7 +464,7 @@ public class ConfigHelper {
defaultConf... | feat(sdk): detect game type | null | codingame/codingame-game-engine | MIT License | Java |
@@ -92,6 +92,15 @@ os.histo.NumericBinMethod.MAGIC_NAN = 9999999998;
os.histo.NumericBinMethod.NAN_LABEL = 'Not a Number';
+/**
+ * String the separates in range based labels
+ *
+ * @type {string}
+ * @const
+ */
+os.histo.NumericBinMethod.LABEL_RANGE_SEP = ' to ';
+
+
/**
* @inheritDoc
*/
@@ -257,7 +266,7 @@ os.histo... | feat(numericbinmethod): add constant for string | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -12,23 +12,18 @@ const columns = [
{
id: 'otarCode',
label: 'Project Code',
- },
- {
- id: 'projectName',
- label: 'Project name',
- },
- { id: 'status', label: 'Status' },
- {
- id: 'reference',
- label: 'Open Targest Intranet Link',
renderCell: ({ otarCode }) => {
return (
<Link external to={`http://home.opentarge... | feat: OTP remove columns | null | opentargets/platform-app | Apache License 2.0 | JavaScript |
@@ -3,6 +3,7 @@ import { version as walletVersion } from '../../../package.json'
import amplitude from 'amplitude-js'
amplitude.getInstance().init(process.env.VUE_APP_AMPLITUDE_API_KEY)
+const useAnalytics = ['production', 'mainnet'].includes(process.env.NODE_ENV)
export const initializeAnalyticsPreferences = ({ commit... | feat: use analytics only for production env | null | liquality/wallet | MIT License | JavaScript |
@@ -15,6 +15,7 @@ using Remora.Discord.Commands.Contexts;
using Remora.Rest.Core;
using Remora.Results;
using Silk.Extensions;
+using Silk.Extensions.Remora;
using Silk.Utilities.HelpFormatter;
using CommandGroup = Remora.Commands.Groups.CommandGroup;
@@ -85,8 +86,10 @@ public class ServerInfoCommand : CommandGroup
$"P... | feat: Most recent member in serverinfo command | null | vtpdevelopment/silk | Apache License 2.0 | C# |
@@ -66,7 +66,7 @@ parsers()->shortcodes()->addHandler('fetch', static function (ShortcodeInterface
})->undot()->toArray();
// Backup current entry data
- $original = entries()->registry()['methods.fetch'];
+ $original = entries()->registry()->get('methods.fetch');
// Do fetch the data from the resource.
$result = fetch... | feat(shortcodes): update fetch shortcode | null | flextype/flextype | MIT License | PHP |
@@ -1771,7 +1771,7 @@ exports.parseLineProps = function(str) {
function resolveIgnore(ignore) {
var keys = Object.keys(ignore);
var exclude = {};
- var ignoreAll;
+ var ignoreAll, disableIgnoreAll;
ignore = {};
keys.forEach(function(name) {
if (name.indexOf('ignore.') === 0 || name.indexOf('ignore:') === 0) {
@@ -1779,... | feat: ignore://-* | null | avwo/whistle | MIT License | JavaScript |
@@ -196,13 +196,6 @@ $flextype['entries'] = static function ($container) {
return new Entries($container);
};
-/**
- * Add media files service to Flextype container
- */
-$flextype['media_files'] = static function ($container) use ($flextype, $app) {
- return new MediaFiles($flextype, $app);
-};
-
/**
* Add media folde... | feat(bootstrap): add new containers media_folders, media_files, media_folders_meta, media_files_meta | null | flextype/flextype | MIT License | PHP |
@@ -41,6 +41,14 @@ open class Player: AVPlayerViewController {
}
}
+ override open var preferredFocusEnvironments: [UIFocusEnvironment] {
+ if let button = contentOverlayView?.subviews.first?.subviews[1] as? UIButton {
+ return [button]
+ }
+
+ return super.preferredFocusEnvironments
+ }
+
public var focusEnvironments:... | feat: add preferredFocusEnvironments on Player.swift | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -65,7 +65,7 @@ class UseOpenApiRule(rulesConfig: Config) {
}
}
- private fun getSchemaValidators(ruleConfig: Config): Map<OpenApiVersion, JsonSchemaValidator> {
+ private fun getSchemaValidators(config: Config): Map<OpenApiVersion, JsonSchemaValidator> {
val defaultSchemaRedirects = mapOf(
"http://json-schema.org/dr... | feat(server): Fail fast on invalid schema | null | zalando/zally | MIT License | Kotlin |
+#include <iostream>
+
+// bayes' theorem > https://en.wikipedia.org/wiki/Bayes%27_theorem
+
+// bayes' theorem allows one to find P(A|B) given P(B|A)
+// or P(B|A) given P(A|B) and P(A) and P(B)
+
+// note P(A|B) is read 'The probability of A given that the event B has occured'
+
+// returns P(A|B)
+
+double bayes_Agi... | feat: created bayes_theorem.cpp | null | thealgorithms/c-plus-plus | MIT License | C++ |
import React from 'react'
import MoleculeButtonGroup from '../../../../../components/molecule/buttonGroup/src'
-import AtomButtom, {
- atomButtonGroupPositions
-} from '@schibstedspain/sui-atom-button'
-
-import AtomInput from '@s-ui/react-atom-input'
+import AtomButtom from '@schibstedspain/sui-atom-button'
const logo... | feat(META): added input-radio like demo for group buttons | null | sui-components/sui-components | MIT License | JavaScript |
@@ -262,7 +262,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
}, duration)
}
- private fun updateInteractionTime() {
+ fun updateInteractionTime() {
lastInteractionTime = SystemClock.elapsedRealtime()
}
| feat(tv_back_button): make updateInteractionTime() method public | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -144,7 +144,7 @@ class DashboardCard extends PureComponent<Props> {
onDeleteDashboard(id, name)
}
- private handleClickDashboard = () => {
+ private handleClickDashboard = e => {
const {
onResetViews,
router,
@@ -152,7 +152,11 @@ class DashboardCard extends PureComponent<Props> {
params: {orgID},
} = this.props
+ if... | feat: metaKey click opens dashboards in a new tab | null | influxdata/influxdb | MIT License | TypeScript |
@@ -24,6 +24,8 @@ import reactor.core.publisher.Mono;
import java.lang.reflect.Type;
import java.time.Instant;
+import java.util.HashMap;
+import java.util.Map;
@Service
public class ApplicationTemplateServiceCEImpl implements ApplicationTemplateServiceCE {
@@ -133,7 +135,9 @@ public class ApplicationTemplateServiceCEI... | feat: log template app name to analytics service when template is forked | null | appsmithorg/appsmith | Apache License 2.0 | Java |
package com.codingame.gameengine.runner;
import java.io.File;
-import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
@@ -11,7 +10,6 @@ import java.io.PrintWriter;
import java.net.JarURLConnection;
import java.net.URISyntaxException;
import java... | feat(sdk-config): add check config.ini | null | codingame/codingame-game-engine | MIT License | Java |
@@ -123,10 +123,10 @@ public final class OptimizeMojo extends SafeMojo {
final Collection<Tojo> sources = this.scopedTojos().select(
row -> row.exists(AssembleMojo.ATTR_XMIR)
);
- final Optimization common = this.common();
+ final Optimization common = this.optimization();
final List<Supplier<Integer>> tasks = sources.... | feat(#1348): apply code-style suggestions | null | cqfn/eo | MIT License | Java |
@@ -17,7 +17,7 @@ class MicrometerMetrics(private val defaults: MetricsDefaults) {
labeler: HttpTransactionLabeler = defaults.labeler,
clock: Clock = Clock.systemUTC()): Filter =
ReportHttpTransaction(clock) {
- labeler(it).labels.entries.fold(Timer.builder(name).description(description)) { memo, next ->
+ labeler(it).... | feat: Enable publishPercentileHistogram for Micrometer request timer | null | http4k/http4k | Apache License 2.0 | Kotlin |
@@ -13,6 +13,7 @@ var Buffer = require('safe-buffer').Buffer;
var parseUrl = require('../util/parse-url');
var hparser = require('hparser');
var transproto = require('../util/transproto');
+var isEmptyObject = require('../util/common').isEmptyObject;
var getEncodeTransform = transproto.getEncodeTransform;
var getDecode... | feat: add appendTrailers | null | avwo/whistle | MIT License | JavaScript |
@@ -16,6 +16,7 @@ export interface Segment {
runningOrderId: string
/** User-presentable name (Slug) for the Title */
name: string
+ number: string
metaData?: Array<IMOSExternalMetaData>
status?: IMOSObjectStatus
| feat: added Segment number | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -140,12 +140,20 @@ class Google extends OAuth2
/**
* Check if the OAuth email is verified
*
+ * @link https://www.oauth.com/oauth2-servers/signing-in-with-google/verifying-the-user-info/
+ *
* @param $accessToken
*
* @return bool
*/
public function isEmailVerified(string $accessToken): bool
{
+ $user = $this->getUse... | feat: added check for Google OAuth | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -14,7 +14,7 @@ ssh-keyscan -H ssh.ffxivteamcraft.com >> ~/.ssh/known_hosts
rsync -avz ./dist/apps/client/* dalamud@ssh.ffxivteamcraft.com:~/cdn.ffxivteamcraft.com/${PACKAGE_VERSION}
-ssh dalamud@ssh.ffxivteamcraft.com << EOF
+ssh dalamud@51.83.37.191 << EOF
rm ./cdn.ffxivteamcraft.com/latest
ln -s ./${PACKAGE_VERSIO... | chore(ci): fixed subdomain issue for deploy | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | Shell |
@@ -5,6 +5,8 @@ use std::borrow::Cow;
use std::convert::TryFrom;
use std::str::FromStr;
+type Error = Box<dyn std::error::Error>;
+
#[derive(
Debug, Copy, Clone, PartialEq, PartialOrd, Ord, Eq, BorshDeserialize, BorshSerialize, Default,
)]
@@ -48,7 +50,7 @@ impl From<&Base58CryptoHash> for String {
}
impl TryFrom<Strin... | chore: create alias for error type to easily switch in future | null | near/near-sdk-rs | Apache License 2.0 | Rust |
@@ -16,7 +16,7 @@ declare(strict_types=1);
use Glowy\Arrays\Arrays as Collection;
-// Directive: @type[)
+// Directive: @type[]
emitter()->addListener('onEntriesFetchSingleField', static function (): void {
if (! registry()->get('flextype.settings.entries.directives.types.enabled')) {
| chore(directives): upd doc for `types` directive | null | flextype/flextype | MIT License | PHP |
+/*
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
+ * under one or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information regarding copyright
+ * ownership. Camunda licenses this file to you under the Apache License,
+ * Version ... | chore(engine): add failing test case | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -334,6 +334,66 @@ describe('findAll', () => {
const wrapper = mount(MultipleRootRender)
expect(wrapper.findAll('a')).toHaveLength(3)
})
+
+ it('finds all with nested roots inside render function', () => {
+ const wrapper = mount({
+ render() {
+ return [
+ h('span', 'Text 1'),
+ [
+ h('span', 'Text 2'),
+ h('span', ... | chore(find): extend tests with deep nested multiple roots | null | vuejs/vue-test-utils-next | MIT License | TypeScript |
@@ -16,9 +16,9 @@ generate_docs() {
cd $TEMP_DIR
git checkout gh-pages
git reset --hard origin/release
- pod install
gem install -n /usr/local/bin jazzy
- jazzy && ln -s ../readme-images docs
+ jazzy --swift-build-tool spm --build-tool-arguments -Xswiftc,-swift-version,-Xswiftc,5
+ ln -s ../readme-images docs
git add d... | chore: updating doc gen script | null | aws-amplify/amplify-ios | Apache License 2.0 | Shell |
@@ -20,6 +20,7 @@ sleep 1 && while [ -f /tmp/.npm-lock ]; do echo -n "." && sleep 1; done
echo "Init script done :)"
echo
echo "Dev environment setup complete. You should be ready to code!"
+echo "Please be aware that commits can take a few seconds to complete as we use Husky pre-commit hooks to lint, format and check ... | chore(gitpod): add message about husky | null | sanofi-iadc/whispr | MIT License | Shell |
-import json
-import time
-from os import environ
-from random import randint
-from typing import Dict, Optional, Union
-
-import pandas as pd
-import pytest
-import snowflake.connector
-from snowflake.connector import DictCursor
-from snowflake.sqlalchemy import URL
-from sqlalchemy import create_engine
-
-from tests.... | chore(server): Remove legacy snowflake tests | null | toucantoco/weaverbird | BSD 3-Clause New or Revised License | Python |
@@ -29,8 +29,32 @@ import grayMatter from 'gray-matter'
import { useCMS, usePlugin } from 'tinacms'
import { InlineWysiwyg } from 'react-tinacms-editor'
import Link from 'next/link'
+import { ContentCreatorPlugin } from '@tinacms/forms'
+
+const addBlogPlugin: ContentCreatorPlugin<any> = {
+ __type: 'content-creator',
... | chore(demo-next): add dummy content creator | null | tinacms/tinacms | Apache License 2.0 | TypeScript |
@@ -39,9 +39,19 @@ OUTPUT_FILE_PATH = os.path.join(OUTPUT_DIR, 'test-comparison.csv')
# TEST_COMMAND = 'npm test -- --package %s'
TEST_COMMAND = 'npm test -- --package %s --node'
+SKIP_PACKAGES = [
+ '@webex/bin-sauce-connect', # needs Sauce started
+ '@webex/plugin-meetings', # no tests
+ '@webex/test-helper-server' #... | chore(test.py): skip tests for some packages | null | webex/webex-js-sdk | MIT License | Python |
@@ -231,12 +231,18 @@ func (d *db) SafeSet(opts *schema.SafeSetOptions) (*schema.Proof, error) {
DualProof: nil,
}
- rootTx := d.Store.NewTx()
+ var rootTx *store.Tx
+
+ if opts.RootIndex.Index == 0 {
+ rootTx = d.tx
+ } else {
+ rootTx = d.Store.NewTx()
err = d.Store.ReadTx(opts.RootIndex.Index, rootTx)
if err != nil ... | chore(database): contemplates the case not previously verified tx | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -39,6 +39,7 @@ export function createSchemaField<Components extends SchemaReactComponents>(
})
const renderMarkup = () => {
env.nonameId = 0
+ if (props.schema) return null
return render(
<SchemaMarkupContext.Provider value={schema}>
{props.children}
| chore(react): compat ReactNative with SchemaField only json-schema mode | null | alibaba/formily | MIT License | TypeScript |
@@ -60,7 +60,12 @@ const Draft = props => {
return (
<div className="my-8 w-11/12 m-auto border-2 border-dotted border-base-content shadow">
- <Svg {...patternProps} embed={gist.embed} ref={svgRef} viewBox={layout.topLeft ? `${layout.topLeft.x} ${layout.topLeft.y} ${layout.width} ${layout.height}` : false}>
+ <Svg {...... | chore: Keep SVG to max height of the screen | null | freesewing/freesewing | MIT License | JavaScript |
@@ -23,13 +23,14 @@ compiler.hooks.done.tap('done', () => {
detect(PORT).then((_port) => {
if (PORT !== _port) PORT = _port;
- new WebpackDevServer(compiler, {
+ const devServer = new WebpackDevServer(compiler, {
// contentBase: conf.output.appPublic,
publicPath: conf.output.publicPath,
hot: true,
historyApiFallback: t... | chore: Fix start command error | null | uiwjs/uiw | MIT License | JavaScript |
@@ -352,7 +352,7 @@ function _setup_supervisor
case ${SUPERVISOR_LOGLEVEL} in
critical | error | warn | info | debug )
sed -i -E \
- "s+loglevel.*+loglevel = ${SUPERVISOR_LOGLEVEL}+g" \
+ "s|loglevel.*|loglevel = ${SUPERVISOR_LOGLEVEL}|g" \
/etc/supervisor/supervisord.conf
;;
@@ -361,7 +361,7 @@ function _setup_supervi... | chore: Consistent `sed` substitution delimiter `+` | null | docker-mailserver/docker-mailserver | MIT License | Shell |
@@ -833,7 +833,7 @@ mod tests {
// update this test whenever there's a new sol
// version. that's ok! good reminder to check the
// patch notes.
- (">=0.5.0", "0.8.17"),
+ (">=0.5.0", "0.8.18"),
// range
(">=0.4.0 <0.5.0", "0.4.26"),
]
| chore: bump solc test 0.8.18 | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -53,10 +53,12 @@ extension ApplePayComponent: PKPaymentAuthorizationViewControllerDelegate {
return completion(.init(paymentSummaryItems: applePayPayment.summaryItems))
}
- let applePayPayment = applePayPayment
applePayDelegate.didUpdate(contact: contact,
- for: applePayPayment,
- completion: handlePaymentRequestUpd... | chore: refactor updateApplePayPayment | null | adyen/adyen-ios | MIT License | Swift |
@@ -78,10 +78,10 @@ export default class FormatterBase {
getNamedFormat(key) {
const formats = this.readFormatConfig();
- const numberNamedFormats = formats[this.constructor.type];
+ const namedFormatsForType = formats[this.constructor.type];
- if (numberNamedFormats && numberNamedFormats[key]) {
- return numberNamedFo... | chore: renaming variable to reflect new api | null | ember-intl/ember-intl | MIT License | JavaScript |
@@ -144,13 +144,13 @@ Model.prototype.$__handleSave = function(options, callback) {
const session = 'session' in options ? options.session : this.$session();
if (session != null) {
- safe = Object.assign({}, safe) || {};
+ safe = safe || {};
safe.session = session;
}
if (this.isNew) {
// send entire doc
- var obj = thi... | chore: some minor improvements re: | null | automattic/mongoose | MIT License | JavaScript |
@@ -19,6 +19,7 @@ build_nightly() {
./node_modules/.bin/cross-env VERSION=$VERSION npm run build:theme
./node_modules/.bin/cross-env VERSION=$VERSION npm run build:plugin
./node_modules/.bin/cross-env VERSION=$VERSION npm run build:esm
+ npm run build:plugin:types
}
build_and_commit() {
| chore(build): add plugin types build cmd for nightly | null | naver/billboard.js | MIT License | Shell |
@@ -3,7 +3,6 @@ import { build } from 'electron-builder';
build({
config: {
productName: 'LeafView',
- artifactName: '${productName}-${version}-${platform}.${ext}',
copyright: 'Copyright (C) 2020 sprout2000.',
files: ['dist/**/*'],
directories: {
@@ -60,6 +59,7 @@ build({
},
dmg: {
icon: 'assets/dmg.icns',
+ artifactNa... | chore: update artifactName for dmg | null | sprout2000/leafview | MIT License | TypeScript |
@@ -62,9 +62,6 @@ def run_subprocess(bash_command, env_vars):
with open(OUTPUT_FILE_PATH, 'wb') as csvfile:
writer = csv.writer(csvfile, quoting=csv.QUOTE_MINIMAL)
writer.writerow(['Package', 'Production exit code', 'Integration exit code'])
- # for package in packages:
- # writer.writerow([package])
-
for package in p... | chore: update integration vars | null | webex/webex-js-sdk | MIT License | Python |
@@ -418,8 +418,7 @@ public class PermissionValidationServiceTest {
Assert.assertTrue("Request path is invalid.".equals(exceptionMessage));
}
- @Test
- public void
+ private void
testDoesPrincipalHaveSdbPermissionsForActionWhenRequestAttributesWhenServletPathIsSecuredAndVerifyPathIsValid() {
PermissionValidationService ... | chore: disable misconfigured tests | null | nike-inc/cerberus | Apache License 2.0 | Java |
const _ = require('lodash');
const fs = require('fs');
-const Promise = require('bluebird');
+const Promise = require("bluebird");
// Regenerate all scaled images. Useful after changing the configured sizes
@@ -15,20 +15,12 @@ module.exports = function (self) {
await self.each({}, argv.parallel || 1, async function(fil... | chore: remove whitespace changes | null | apostrophecms/apostrophe | MIT License | JavaScript |
@@ -61,6 +61,7 @@ setup(
extras_require={
'async': ['django-celery>=3.0'],
'async_rq': ['django-rq>=0.6.0'],
+ 'async_dramatiq': ['django-dramatiq'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
| chore: Add 'async_dramatiq' extra, django-dramatiq dependency | null | matthewwithanm/django-imagekit | BSD 3-Clause New or Revised License | Python |
@@ -87,7 +87,9 @@ async def m005_add_network_column_to_wallets(db):
"ALTER TABLE watchonly.wallets ADD COLUMN network TEXT DEFAULT 'Mainnet';"
)
- ### TODO: fix statspay dependcy first
- # await db.execute(
- # "DROP TABLE watchonly.wallets;"
- # )
+
+async def m006_drop_mempool_table(db):
+ """
+ Mempool data is now p... | chore: drop `mempool` table | null | lnbits/lnbits | MIT License | Python |
@@ -33,6 +33,7 @@ namespace {
using ::google::cloud::storage::testing::CountMatchingEntities;
using ::google::cloud::testing_util::IsOk;
using ::testing::AllOf;
+using ::testing::ContainsRegex;
using ::testing::HasSubstr;
using ::testing::Not;
@@ -554,21 +555,38 @@ TEST_P(ObjectInsertIntegrationTest, InsertWithQuotaUse... | chore(storage): add more userIp tests | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -867,7 +867,7 @@ defmodule Ash.Resource.Dsl do
},
{
"`expr/1` example:",
- "calculate :full_name, expr(first_name <> \" \" <> last_name "
+ "calculate :full_name, :string, expr(first_name <> \" \" <> last_name "
}
],
target: Ash.Resource.Calculation,
| chore: fix calculate example | null | ash-project/ash | MIT License | Elixir |
@@ -163,7 +163,8 @@ module.exports = {
PluginTestUtils: absPath("src/js/plugin-bridge/PluginTestUtils"),
"#EXTERNAL_PLUGINS": externalPluginsDir,
"#PLUGINS": absPath("plugins"),
- "#SRC": absPath("src")
+ "#SRC": absPath("src"),
+ "#TESTS": absPath("tests")
},
extensions: ["", ".js", ".less", ".css"],
root: [absPath(),... | chore(webpack): adds #TESTS alias for ./tests | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -65,7 +65,7 @@ import dev.hilla.exception.EndpointException;
*/
@RestController
@Import({ EndpointControllerConfiguration.class, EndpointProperties.class })
-@NpmPackage(value = "@hilla/frontend", version = "1.0.1")
+@NpmPackage(value = "@hilla/frontend", version = "1.1.0-alpha2")
@NpmPackage(value = "@hilla/form", ... | chore: upgrade Hilla to 1.1 alpha2 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -41,7 +41,6 @@ export default VInput.extend({
type: [Number, String],
default: 100
},
- range: Boolean,
step: {
type: [Number, String],
default: 1
| chore(VSlider): remove unused prop | null | vuetifyjs/vuetify | MIT License | JavaScript |
@@ -23,11 +23,11 @@ extension ApplePayComponent {
public let merchantIdentifier: String
/// A list of fields that you need for a billing contact in order to process the transaction.
- /// Ignored on iOS 10.*.
+ /// The list is empty by default.
public var requiredBillingContactFields: Set<PKContactField> = []
/// A lis... | chore: remove obsolete docs | null | adyen/adyen-ios | MIT License | Swift |
@@ -87,7 +87,8 @@ impl FlightClient {
match response.into_inner().message().await? {
Some(response) => Ok(response.body),
None => Err(ErrorCode::EmptyDataFromServer(format!(
- "Can not receive data from flight server, action: {:?}", action_type
+ "Can not receive data from flight server, action: {:?}",
+ action_type
))... | chore(processor): make lint | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -75,7 +75,7 @@ extension SdkError {
"Received HTTP Response status code 404 NotFound",
"Make sure the key exists before trying to download it.")
} else {
- storageError = StorageError.httpStatusError(statusCode, localizedDescription)
+ storageError = StorageError.httpStatusError(statusCode, localizedDescription, sel... | chore(storage): adds error to httpStatusError to improving debugging support | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -55,15 +55,15 @@ export { FormValidators } from './src/elements/form/FormValidators';
export { FormUtils } from './src/elements/form/FormUtils';
export * from './src/elements/form/FormControls';
// Utils
-export * from './src/utils/outside-click/OutsideClick';
-export * from './src/utils/key-codes/KeyCodes';
-export... | chore(exports): Fixing a few exports | null | bullhorn/novo-elements | MIT License | TypeScript |
@@ -33,7 +33,10 @@ public class VideoDecoderPropertiesModule extends ReactContextBaseJavaModule {
public void getWidevineLevel(Promise p) {
int widevineLevel = 0;
- if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR2) {
+ if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_... | chore(android): change test logic for simplier code | null | react-native-video/react-native-video | MIT License | Java |
@@ -14,6 +14,7 @@ internal protocol BACSDirectDebitRouterProtocol {
func confirmPayment(with data: BACSDirectDebitData)
}
+/// A component that provides a form for BACS Direct Debit payments.
public final class BACSDirectDebitComponent: PaymentComponent, PresentableComponent {
// MARK: - PresentableComponent
@@ -27,15 ... | chore: Docs on BACS component | null | adyen/adyen-ios | MIT License | Swift |
@@ -652,13 +652,17 @@ func (s *ImmuServer) Restore(ctx context.Context, req *schema.RestoreRequest) (*
extractedSnapshotDir, s.Options.Dir, err)
}
- if err = s.Store.Close(); err != nil {
- s.Logger.Errorf("error closing previous store before db restore: %v", err)
- }
+ //===> NOTE: closing the stores would corrupt the... | chore(server): do not close the stores during cold Restore | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -62,8 +62,8 @@ dependencies {
// https://github.com/sedmelluq/lavaplayer
implementation("com.sedmelluq:lavaplayer:1.3.76")
- // https://jitpack.io/#ToxicMushroom/Lavalink-Klient
- implementation("me.melijn.llklient:Lavalink-Klient:2.1.7")
+ // https://nexus.melijn.com/#browse/browse:maven-public:me%2Fmelijn%2Fllklie... | chore(Deps): bump klient to fix nodes reconnecting | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -51,7 +51,7 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.never;
-import static org.mockito.Mockito.times;;
+import static org.mockito.Mockito.times;
@NotThreadSafe
public class DevModeInitializ... | chore: remove double semicolon | null | vaadin/flow | Apache License 2.0 | Java |
@@ -87,19 +87,6 @@ export function configureShapeEntityPositions(waypointsPath: Vector3[], speed: n
return entity
}
-// Moving platform
-let movingPlatformEntity = configureShapeEntityPositions(
- [new Vector3(1, 1, 1), new Vector3(1, 1, 15), new Vector3(15, 1, 15), new Vector3(15, 1, 1), new Vector3(1, 1, 1)],
- 0.1,
... | chore: added constant rotation to moving platform | null | decentraland/explorer | Apache License 2.0 | TypeScript |
-#! bash
-
-set -e # exit immediately on error
-
| chore: build cleanup | null | arnog/mathlive | MIT License | Shell |
@@ -73,14 +73,14 @@ export function createVenmoExperiment() : ?Experiment {
}
if (isIos() && isSafari()) {
- return createExperiment('enable_venmo_ios', 90);
+ return createExperiment('enable_venmo_ios', 100);
}
if (isAndroid() && isChrome()) {
- return createExperiment('enable_venmo_android', 90);
+ return createExper... | chore: ramp venmo experiment to 100 percent | null | paypal/paypal-checkout-components | Apache License 2.0 | JavaScript |
@@ -315,7 +315,7 @@ pub trait NamespaceRepo: Send + Sync {
/// Gets the namespace by its unique name.
async fn get_by_name(&mut self, name: &str) -> Result<Option<Namespace>>;
- /// Delete a namespace by namDelete a namespace by name
+ /// Delete a namespace by name
async fn delete(&mut self, name: &str) -> Result<()>;... | chore: comment typo in catalog | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -191,11 +191,16 @@ function setupTable (self, table) {
})
}
+/**
+ *
+ * @param {CoreDatepicker} self
+ * @param {HTMLSelectElement} select
+ */
function setupSelect (self, select) {
if (!select.firstElementChild) {
select._autofill = true
select.setAttribute('data-fill', 'month')
- select.innerHTML = self.months.ma... | chore: Add some JSDocs to standalone functions | null | nrkno/core-components | MIT License | JavaScript |
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
-Rails.application.config.session_store :cookie_store, key: '_coursemology2_session'
+Rails.application.config.session_store :cookie_store, key: '_coursemology2_session',
+ same_site: :strict
| chore(cookies): add strict same_site config to cookies | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -9,6 +9,7 @@ const json = require('@rollup/plugin-json')
const { terser } = require('rollup-plugin-terser')
const external = [
+ 'prop-types',
'react',
'react-dom',
'redux',
@@ -26,6 +27,7 @@ const globals = {
redux: 'Redux',
'@carbon/icons-react': 'CarbonIcons',
'styled-components': 'styled',
+ 'prop-types': 'PropT... | chore: bring back prop-types to global bundle | null | softwarebrothers/admin-bro | MIT License | JavaScript |
@@ -4,7 +4,7 @@ export FORCE_COLOR=true
CMD="npm run lerna -- run build --parallel --no-bail --include-dependencies"
for el in "$@"; do
- [[ "$el" != "pfe-sass" ]] && CMD="$CMD --scope \"*/$el\""
+ [[ "$el" != "pfe-sass" ]] || [[ "$*" == "pfe-sass" ]] && CMD="$CMD --scope \"*/$el\""
done
# If all components are being b... | chore: Allow pfe-sass to be built solo | null | patternfly/patternfly-elements | MIT License | Shell |
@@ -7,7 +7,6 @@ go run -race ./cmd/gen-executables/*.go \
--commit $(git rev-parse HEAD) \
--githubclientid "${ORBOS_GITHUBOAUTHCLIENTID}" \
--githubclientsecret "${ORBOS_GITHUBOAUTHCLIENTSECRET}" \
- --sentry-dsn-caos "${ORBOS_SENTRY_DSN_CAOS}" \
--orbctl ./artifacts \
--dev 1>&2
CGO_ENABLED=0 GOOS=linux go build -o .... | chore: remove sentry dsn from orbctl.sh arguments | null | caos/orbos | Apache License 2.0 | Shell |
#
# prepares a staging directory with the requirements
set -e
+set -x
scriptdir=$(cd $(dirname $0) && pwd)
# prepare staging directory
@@ -16,7 +17,7 @@ cp -f ${scriptdir}/src/* $PWD
cp -f ${scriptdir}/test/* $PWD
# install deps
-pip3 install -r requirements.txt -t .
+pip3 install --no-user -r requirements.txt -t .
# r... | chore(s3-deployment): also pass --no-user in tests | null | aws/aws-cdk | Apache License 2.0 | Shell |
@@ -43,14 +43,14 @@ impl<'a, 'b> LazyNodes<'a, 'b> {
let mut slot = Some(val);
Self {
- #[cfg(miri)]
- inner: Box::new(move |f| {
+ #[cfg(not(miri))]
+ inner: smallbox!(move |f| {
let val = slot.take().expect("cannot call LazyNodes twice");
val(f)
}),
- #[cfg(not(miri))]
- inner: smallbox!(move |f| {
+ #[cfg(miri)]
+ i... | chore: reorganize miri | null | dioxuslabs/dioxus | Apache License 2.0 | Rust |
@@ -564,8 +564,10 @@ def cast_fieldtype(fieldtype, value, show_warning=True):
def cast(fieldtype, value=None):
"""Cast the value to the Python native object of the Frappe fieldtype provided.
If value is None, the first/lowest value of the `fieldtype` will be returned.
+ If value can't be cast as fieldtype due to an inv... | chore: Update frappe.utils.data.cast docstring | null | frappe/frappe | MIT License | Python |
-const version = '2.2.28';
+const version = '2.2.29';
export { version };
| chore: update lint | null | antvis/l7 | MIT License | TypeScript |
@@ -87,7 +87,7 @@ const useTxInfo = (transaction: Props['transaction']) => {
const baseGas = useMemo(
() =>
isMultiSigExecutionDetails(t.current.txDetails.detailedExecutionInfo)
- ? t.current.txDetails.detailedExecutionInfo.baseGas.toString()
+ ? t.current.txDetails.detailedExecutionInfo.baseGas
: '0',
[],
)
@@ -103,7 ... | chore: remove toString from gas params | null | gnosis/safe-react | MIT License | TypeScript |
@@ -269,7 +269,17 @@ final class Activation {
</div>
</div>
<label for="opt-in">
- Help us improve the Site Kit plugin by allowing tracking of anonymous usage stats. All data are treated in accordance with <a href="https://policies.google.com/privacy" target="_blank" rel="noopener noreferrer">Google Privacy Policy</a>.... | chore: Restore translation for activation string | null | google/site-kit-wp | Apache License 2.0 | PHP |
@@ -156,6 +156,7 @@ export function withApi(WrappedComponent: any, queryConfig: ApiConfig) {
};
const BaseWrapperComponent = class extends React.Component<ApiProps, undefined> {
+ public static displayName: string;
// Ideally should be private, but see TS4094 comments in this file
/* private */ public lastSuccess: ApiL... | chore(dev): display name in React Higher Order Component (PR | null | edrlab/thorium-reader | BSD 3-Clause New or Revised License | TypeScript |
@@ -22,7 +22,7 @@ enum NodeType {
/// [Node] or [Element]s, which wrap [RenderObject]s, which provide the actual
/// rendering of the application.
abstract class RenderObjectNode {
- RenderBox? get renderer => null;
+ RenderBox? get renderer;
/// Creates an instance of the [RenderObject] class that this
/// [RenderObje... | chore: make renderer interface | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -101,7 +101,6 @@ defmodule Ash.Engine.Request do
result
end)
"""
- @spec resolve([[atom]], (map -> {:ok, term} | {:error, term} | term)) :: UnresolvedField.t()
def resolve(dependencies \\ [], func) do
UnresolvedField.new(dependencies, func)
end
| chore: remove typespec temporarily to fix dialyzer | null | ash-project/ash | MIT License | Elixir |
@@ -159,7 +159,19 @@ impl fmt::Display for TraversalFailed {
}
}
-impl std::error::Error for TraversalFailed {}
+impl std::error::Error for TraversalFailed {
+ fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
+ use TraversalFailed::*;
+
+ match self {
+ Loading(_, _) => {
+ // FIXME: anyhow::Error canno... | chore: add missing Error::source fn | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -79,18 +79,18 @@ public class DbIdentityServiceProvider extends DbReadOnlyIdentityServiceProvider
deleteAuthorizations(Resources.USER, userId);
-// Context.getCommandContext().runWithoutAuthorization(new Callable<Void>() {
-// @Override
-// public Void call() throws Exception {
-// final List<Tenant> tenants = creat... | chore(tenant/user): remove comment | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -547,8 +547,10 @@ pub(crate) fn required_relation_cannot_use_set_null(relation: InlineRelationWalk
if let Some(ReferentialAction::SetNull) = forward.explicit_on_delete() {
ctx.push_error(DatamodelError::new_attribute_validation_error(
- indoc! {r#"The `onDelete` referential action of a relation must not be set to `S... | chore: removed indoc! indentation in psl-core | null | prisma/prisma-engines | Apache License 2.0 | Rust |
@@ -685,6 +685,32 @@ describe('switch', function () {
}
);
+ yield new TestData(
+ 'slot integration - switch on CE, case on content',
+ {
+ initialStatus: Status.received,
+ template: `
+ <template as-custom-element="foo-bar">
+ <au-slot name="s1"></au-slot>
+ </template>
+
+ <foo-bar switch.bind="status">
+ <template... | chore(switch): adding failing test | null | aurelia/aurelia | MIT License | TypeScript |
@@ -3,7 +3,7 @@ PACKAGE_VERSION=$(node -p -e "require('./package.json').version")
DATE=$(date +%F)
# Append changelog
-echo "\n-------------------\n **v$PACKAGE_VERSION** ($DATE) \n\n$LOG" >> CHANGELOG.md &&
+echo "\n-------------------\n **v$PACKAGE_VERSION** ($DATE) \n\n$LOG" > CHANGELOG.md &&
# build
npm run build &... | chore: updates changelog command to append current version changelog only | null | innovaccer/design-system | MIT License | Shell |
const csv = require('csv-parser');
const path = require('path');
const fs = require('fs');
-const { map, switchMap, first } = require('rxjs/operators');
+const { map, switchMap, first, mergeMap } = require('rxjs/operators');
const { Subject, combineLatest, merge } = require('rxjs');
const { aggregateAllPages, getAllPag... | chore(data): new ventures automated extractor | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.