code stringlengths 122 4.99k | label int64 0 14 |
|---|---|
diff --git a/assets/js/googlesitekit/modules/create-module-store.js b/assets/js/googlesitekit/modules/create-module-store.js @@ -68,18 +68,26 @@ export const createModuleStore = ( slug, {
storeName,
} );
- const settingsStore = ( 'undefined' !== typeof settingSlugs )
- ? createSettingsStore( 'modules', slug, 'settings'... | 3 |
diff --git a/src/views/Swap/Swap.vue b/src/views/Swap/Swap.vue />
</InfoNotification>
<InfoNotification v-else-if="cannotCoverMinimum && !insufficientFundsError">
- <CannotCoverMinimumMessage :asset="asset" :account-id="getAccountId()" />
+ <CannotCoverMinimumMessage :asset="asset" :account-id="account.id" />
</InfoNot... | 1 |
diff --git a/src/translations/en.global.json b/src/translations/en.global.json "GET_LEDGER_PUBLIC_KEY": "You will need to confirm public key access on your Ledger.",
"CREATE_NEW_ACCOUNT": "You will need to confirm add a key for new account on your Ledger.",
"SIGN_AND_SEND_TRANSACTIONS": "You will need to confirm deposi... | 3 |
diff --git a/player/js/utils/shapes/TrimModifier.js b/player/js/utils/shapes/TrimModifier.js @@ -112,9 +112,9 @@ TrimModifier.prototype.processShapes = function(firstFrame){
}
totalModifierLength += totalShapeLength;
- }
shapeData.shape.mdf = true;
}
+ }
for(i=0;i<len;i+=1){
newShapes = [];
shapeData = this.shapes[i];
| 12 |
diff --git a/source/dashboard/overview/projects-dashboard.md b/source/dashboard/overview/projects-dashboard.md @@ -3,19 +3,17 @@ title: Projects
comments: false
---
-A Cypress project represents the directory of files and folders that make up your tests. This is often the same repository as your code, but can also be a... | 7 |
diff --git a/app/controllers/admin/organization_users_controller.rb b/app/controllers/admin/organization_users_controller.rb @@ -127,7 +127,7 @@ class Admin::OrganizationUsersController < Admin::AdminController
attributes = params[:user]
@user.set_fields(attributes, [:email]) if attributes[:email].present? && !@user.go... | 11 |
diff --git a/src/plugins/drag_drop/plugin.js b/src/plugins/drag_drop/plugin.js @@ -22,7 +22,7 @@ Selectize.define('drag_drop', function(options) {
self.lock = (function() {
var original = self.lock;
return function() {
- var sortable = self.$control.data('sortable');
+ var sortable = self.control.dataset.sortable;
if (... | 14 |
diff --git a/.github/actions/composite/announceFailedWorkflowInSlack/action.yml b/.github/actions/composite/announceFailedWorkflowInSlack/action.yml @@ -9,7 +9,7 @@ inputs:
runs:
using: composite
steps:
- - uses: 8398a7/action-slack@7dc038dcfbfff230b5f4d0e756653f822038fef5
+ - uses: 8398a7/action-slack@v3
name: Job fai... | 4 |
diff --git a/src/helpers/helpers.core.js b/src/helpers/helpers.core.js @@ -275,14 +275,12 @@ var helpers = {
* @param {object} argN - Additional objects containing properties to merge in target.
* @returns {object} The `target` object.
*/
- extend: function(target) {
- var setFn = function(value, key) {
- target[key] =... | 14 |
diff --git a/userscript.user.js b/userscript.user.js @@ -11462,9 +11462,17 @@ var $$IMU_EXPORT$$;
return retobj;
};
- var cache_key = "imgur:" + baseobj.extra.page;
-
+ var cache_key = "imgur:" + idhash;
api_cache.fetch(cache_key, options.cb, function(done) {
+ var imageinfo = api_cache.get("imgur_imageinfo:" + idhash)... | 7 |
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/BitmapUtils.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/BitmapUtils.java @@ -49,6 +49,7 @@ public class BitmapUtils {
addImage(url, bitmap);
} catch (Exception e) {
Log.w(LOG_TAG, e.getLocalizedMessage());
+ bitmap = Bitmap.createBitmap(1... | 9 |
diff --git a/new-client/src/plugins/search/search.js b/new-client/src/plugins/search/search.js @@ -121,8 +121,6 @@ class Search extends React.PureComponent {
ds: s && window.decodeURI(s)
};
- console.log("dv, ds: ", dv, ds);
-
// Put decoded search phrase into the search box
document.getElementById("searchbox").value =... | 6 |
diff --git a/docs/style.css b/docs/style.css @@ -168,13 +168,16 @@ input:focus {
/* Filters */
.filters {
- display: inline-block;
- background: #f6f6f6;
- border: 1px solid #ccc;
+ display: flex;
+ margin: 2em 0;
+ padding: 0.4em 0.8em;
+ flex-direction: column;
+ max-width: auto;
border-radius: 4px;
- margin-top: 20p... | 7 |
diff --git a/lib/ui/components/new/QuickEdit.js b/lib/ui/components/new/QuickEdit.js @@ -32,40 +32,41 @@ const Container = styled.div`
position: fixed;
bottom: 0;
width: 100%;
- zIndex: 999999999999;
- backgroundColor: white;
- borderTop: 1px solid #e7e7e7;
- fontSize: 14px;
+ z-index: 999999999999;
+ background-color:... | 7 |
diff --git a/articles/connections/social/google.md b/articles/connections/social/google.md @@ -102,7 +102,7 @@ If you have configured everything correctly, you will see the **It works!!!** pa

-## 4. Obtaining the Access Token and Refresh Token
+## 4. Obt... | 2 |
diff --git a/docs/HAproxy.md b/docs/HAproxy.md @@ -64,13 +64,17 @@ OR
### Server config
-mm/configs/server/config.js
-
-``` js
-redisOptions : { host: '192.0.2.4'},
-listeningPort: 80,
-httpOnly: true,
-trustProxy : ['192.0.2.5'],
+config.yaml
+``` yaml
+turnAPIKey : "<key>"
+turnAPIURI : "<turn url>"
+listeningPort : ... | 3 |
diff --git a/.eslintrc b/.eslintrc "react/no-direct-mutation-state": ["error"],
"react/no-unknown-property": ["error"],
"react/prefer-es6-class": ["error", "always"],
- "react/prop-types": ["error"],
+ "react/prop-types": ["error", { ignore: ["children"] }],
"react/react-in-jsx-scope": ["error"],
"react/require-render-... | 3 |
diff --git a/packages/bitcore-lib/lib/transaction/input/multisigscripthash.js b/packages/bitcore-lib/lib/transaction/input/multisigscripthash.js @@ -29,11 +29,11 @@ function MultiSigScriptHashInput(input, pubkeys, threshold, signatures, nestedWi
signatures = signatures || input.signatures;
this.nestedWitness = nestedWi... | 1 |
diff --git a/articles/libraries/overview.md b/articles/libraries/overview.md @@ -10,7 +10,7 @@ url: /libraries
<div data-name="example" class="topic-page-badge"></div>
<h1>Auth0 Libraries</h1>
<p>
- There are several libraries and widgets available for developers to provide a frictionless, simple experience when using ... | 3 |
diff --git a/addon/route-handler.js b/addon/route-handler.js @@ -16,11 +16,11 @@ const DEFAULT_CODES = { get: 200, put: 204, post: 201, 'delete': 204 };
function createHandler({ verb, schema, serializerOrRegistry, path, rawHandler, options }) {
let handler;
let args = [schema, serializerOrRegistry, rawHandler, path, op... | 11 |
diff --git a/articles/api-auth/tutorials/implicit-flow.md b/articles/api-auth/tutorials/implicit-flow.md ---
description: How to use multiple APIs and represent them as a single Resource Server in Auth0.
---
+
+# Use Multiple APIs as a Single Resource Server
+
+This article shows you how to use and represent multiple A... | 0 |
diff --git a/controllers/SystemController.php b/controllers/SystemController.php @@ -8,14 +8,14 @@ use \Grocy\Services\DemoDataGeneratorService;
class SystemController extends BaseController
{
+ protected $ApplicationService;
+
public function __construct(\Slim\Container $container)
{
parent::__construct($container);
$... | 7 |
diff --git a/shared/scss/views/_status-list.scss b/shared/scss/views/_status-list.scss height: 50%;
max-height: 30px;
}
-
- &.is-highlighted {
- color: $color--green;
- }
}
-$statuses: ("good", "bad", "mixed", "a", "b", "c", "d", "f");
+$statuses: ("good", "bad", "mixed");
@each $status in $statuses {
.status-list__ite... | 4 |
diff --git a/assets/js/googlesitekit/modules/datastore/modules.js b/assets/js/googlesitekit/modules/datastore/modules.js @@ -175,7 +175,6 @@ const baseActions = {
* @param {string} [settings.icon] Optional. Module icon. Default empty string.
* @param {number} [settings.order] Optional. Numeric indicator for module orde... | 2 |
diff --git a/src/crawlers/cheerio_crawler.js b/src/crawlers/cheerio_crawler.js @@ -143,16 +143,18 @@ const DEFAULT_OPTIONS = {
* Represents the options passed to
* <a href="https://www.npmjs.com/package/request" target="_blank">request</a> to make the HTTP call.
* Provided `requestOptions` are added to internal default... | 7 |
diff --git a/lib/plugins/graphite/cli.js b/lib/plugins/graphite/cli.js @@ -77,7 +77,7 @@ module.exports = {
group: 'Graphite'
},
addSlugToKey: {
- default: false,
+ default: true,
type: 'boolean',
describe:
'Add the slug (name of the test) as an extra key in the namespace.',
| 12 |
diff --git a/assets/js/components/DateRangeSelector.js b/assets/js/components/DateRangeSelector.js @@ -67,7 +67,7 @@ export default function DateRangeSelector() {
const newDateRange = Object.values( ranges )[ index ].slug;
if ( dateRange !== newDateRange ) {
- await trackEvent(
+ trackEvent(
`${ viewContext }_headerbar... | 2 |
diff --git a/mixins/OverlayMixin.js b/mixins/OverlayMixin.js @@ -79,7 +79,7 @@ export default function OverlayMixin(Base) {
const element = this;
const isElementInBody = deepContains(document.body, element);
if (isElementInBody) {
- if (this.forceAppendToBody) {
+ if (this.teleportToBodyOnOpen) {
// Swap a placeholder ... | 10 |
diff --git a/Specs/Scene/ShadowMapSpec.js b/Specs/Scene/ShadowMapSpec.js @@ -960,26 +960,20 @@ describe(
lightCamera: lightCamera,
});
- renderAndCall(function (rgba) {
- expect(scene.shadowMap.effectiveDarkness).toBe(
- scene.shadowMap.darkness
- );
- });
+ // Render with light looking straight down
+ var shadowedColo... | 3 |
diff --git a/src/kiri/init.js b/src/kiri/init.js let code = devices[API.mode.get_lower()][devicename];
setDeviceCode(code, devicename);
}
- // $('selected-device').innerHTML = devicename;
}
// only for local filters
current.filter[mode] = devicename;
current.cdev[mode] = dev;
+ if (dproc) {
// restore last process asso... | 1 |
diff --git a/packages/app/test/cypress/integration/2-basic-features/access-to-page.spec.ts b/packages/app/test/cypress/integration/2-basic-features/access-to-page.spec.ts @@ -31,7 +31,7 @@ context('Access to page', () => {
});
- it('/Draft page is successfully shown', () => {
+ it('Draft page is successfully shown', ()... | 10 |
diff --git a/accessibility-checker-engine/help/Valerie_Table_DataCellRelationships.mdx b/accessibility-checker-engine/help/Valerie_Table_DataCellRelationships.mdx @@ -15,15 +15,15 @@ import { Tag } from "carbon-components-react";
## Why is this important?
-Navigating cell by cell through a complex data table is especia... | 2 |
diff --git a/packages/pg/lib/client.js b/packages/pg/lib/client.js @@ -95,9 +95,9 @@ class Client extends EventEmitter {
}
this._connecting = true
- var connectionTimeoutHandle
+ this.connectionTimeoutHandle
if (this._connectionTimeoutMillis > 0) {
- connectionTimeoutHandle = setTimeout(() => {
+ this.connectionTimeout... | 5 |
diff --git a/books/serializers.py b/books/serializers.py @@ -39,6 +39,7 @@ class BookCopySerializer(serializers.ModelSerializer):
class BookSerializer(serializers.ModelSerializer):
id = serializers.ReadOnlyField()
copies = serializers.SerializerMethodField()
+ waitlist_users = serializers.SerializerMethodField()
class ... | 0 |
diff --git a/articles/cross-origin-authentication/index.md b/articles/cross-origin-authentication/index.md @@ -60,11 +60,11 @@ Provide a page in your application which instantiates `WebAuth` from [auth0.js](
<head>
<script src="${auth0js_url}"></script>
<script type="text/javascript">
- var auth0 = new auth0.WebAuth({
... | 3 |
diff --git a/runtime/opensbp/opensbp.js b/runtime/opensbp/opensbp.js @@ -1525,6 +1525,10 @@ SBPRuntime.prototype.pause = function() {
}
SBPRuntime.prototype.quit = function() {
+ if(this.ok_to_disconnect) {
+ return this._end();
+ }
+
if(this.machine.status.state == 'stopped' || this.machine.status.state == 'paused') {... | 1 |
diff --git a/src/util/util.js b/src/util/util.js @@ -27,7 +27,7 @@ var extractAttrs = function(node) {
if(!node.attributes) return attrs;
var rawAttrs = node.attributes;
for(var i = 0; i < rawAttrs.length; i++) {
- attrs[rawAttrs[i].name] = rawAttrs[i].value
+ attrs[rawAttrs[i].name] = compileTemplate(rawAttrs[i].value... | 12 |
diff --git a/src/DevChatter.Bot.Core/Automation/CurrencyUpdate.cs b/src/DevChatter.Bot.Core/Automation/CurrencyUpdate.cs @@ -6,11 +6,12 @@ namespace DevChatter.Bot.Core.Automation
{
public class CurrencyUpdate : IIntervalAction
{
- public readonly int IntervalInMinutes;
private readonly ICurrencyGenerator _currencyGene... | 5 |
diff --git a/bin/authentication-cli.php b/bin/authentication-cli.php @@ -48,7 +48,6 @@ class Authentication_CLI_Command extends WP_CLI_Command {
);
$authentication->disconnect();
- /* translators: %d: User ID */
WP_CLI::success( sprintf( 'Site Kit revoke token from user ID: %d success', $user_id ) );
}
}
| 2 |
diff --git a/src/UserConfig.js b/src/UserConfig.js @@ -652,10 +652,6 @@ class UserConfig {
}
addExtension(fileExtension, options = {}) {
- if (!process.env.ELEVENTY_EXPERIMENTAL) {
- return;
- }
-
this.extensionMap.add(
Object.assign(
{
| 2 |
diff --git a/token-metadata/0x6b785a0322126826d8226d77e173d75DAfb84d11/metadata.json b/token-metadata/0x6b785a0322126826d8226d77e173d75DAfb84d11/metadata.json "symbol": "VLT",
"address": "0x6b785a0322126826d8226d77e173d75DAfb84d11",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/routes/web.php b/routes/web.php Route::get('/', 'HomeController@index')->name('home');
-Route::group(['prefix' => 'laravel-backup'], function () {
+Route::prefix('laravel-backup')->group(function () {
Route::get('/', function () {
return redirect('laravel-backup/v4/introduction');
@@ -17,7 +17,7 @@ Route::... | 7 |
diff --git a/.circleci/config.yml b/.circleci/config.yml @@ -298,7 +298,6 @@ jobs:
APK_PATH: "./app/build/outputs/apk/production/release/app-production-release.apk"
steps:
- <<: *checkout-docker
- - <<: *release-api-keys
- <<: *workspace-docker
- <<: *android-release-secrets
- <<: *fabric-secrets-android
@@ -308,6 +307... | 12 |
diff --git a/package.json b/package.json "bin": "bin/peggy",
"scripts": {
"pretest": "npm run parser",
- "test": "mocha --recursive test --exclude test/vendor",
+ "test": "mocha --recursive test --exclude test/vendor --exclude test/browser.stub.js --reporter min",
"lint": "eslint . --ext .js",
"benchmark": "./benchmark... | 8 |
diff --git a/lambda/fulfillment/package-lock.json b/lambda/fulfillment/package-lock.json }
},
"node_modules/axios": {
- "version": "0.21.1",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz",
- "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA=... | 3 |
diff --git a/src/main/webapp/org/cboard/controller/config/widgetCtrl.js b/src/main/webapp/org/cboard/controller/config/widgetCtrl.js @@ -12,9 +12,9 @@ cBoard.controller('widgetCtrl', function ($scope, $state, $stateParams, $http, $
$scope.chart_types = [
{
name: translate('CONFIG.WIDGET.TABLE'), value: 'table', class: ... | 3 |
diff --git a/cypress/platform/gitgraph.html b/cypress/platform/gitgraph.html commit
</div>
- <div class="mermaid" style="width: 100%; height: 20%;">
+ <div class="mermaid2" style="width: 100%; height: 20%;">
gitGraph:
commit
branch hotfix
merge release
</div>
- <div class="mermaid2" style="width: 100%; height: 20%;">
+... | 1 |
diff --git a/tools/super-publisher/tasks/check-release.js b/tools/super-publisher/tasks/check-release.js @@ -13,7 +13,7 @@ module.exports = task('RELEASE check', async (opt) => {
return opt;
}
- const releaseChangelogPath = path.resolve(__dirname, '../../../release/CHANGELOG.md');
+ const releaseChangelogPath = path.re... | 3 |
diff --git a/CSharp/intelligence-Newsie/Newsie.csproj b/CSharp/intelligence-Newsie/Newsie.csproj <ItemGroup>
<Content Include="packages.config" />
<Content Include="azuredeploy.json" />
- <None Include="Properties\PublishProfiles\newsieherobot.pubxml" />
- <None Include="Properties\PublishProfiles\newsietutorial - Web ... | 2 |
diff --git a/articles/api-auth/tutorials/silent-authentication.md b/articles/api-auth/tutorials/silent-authentication.md @@ -102,5 +102,3 @@ Implementation of token renewal will depend on the type of application and frame
* [jQuery](/quickstart/spa/jquery/05-token-renewal)
* [React](/quickstart/spa/react/05-token-renew... | 2 |
diff --git a/assets/js/modules/analytics/datastore/settings.test.js b/assets/js/modules/analytics/datastore/settings.test.js @@ -395,7 +395,8 @@ describe( 'modules/analytics settings', () => {
expect( registry.select( STORE_NAME ).haveSettingsChanged() ).toBe( false );
expect( registry.select( MODULES_ANALYTICS_4 ).hav... | 1 |
diff --git a/assets/js/googlesitekit/widgets/register-defaults.js b/assets/js/googlesitekit/widgets/register-defaults.js @@ -27,18 +27,6 @@ import { __ } from '@wordpress/i18n';
import * as WIDGET_CONTEXTS from './default-contexts';
import * as WIDGET_AREAS from './default-areas';
import { WIDGET_AREA_STYLES } from './... | 2 |
diff --git a/token-metadata/0xfF20817765cB7f73d4bde2e66e067E58D11095C2/metadata.json b/token-metadata/0xfF20817765cB7f73d4bde2e66e067E58D11095C2/metadata.json "symbol": "AMP",
"address": "0xfF20817765cB7f73d4bde2e66e067E58D11095C2",
"decimals": 18,
- "dharmaVerificationStatus": {
"dharmaVerificationStatus": "VERIFIED"
... | 3 |
diff --git a/tests/playground.html b/tests/playground.html @@ -146,7 +146,6 @@ function start() {
});
workspace.configureContextMenu = configureContextMenu;
addToolboxButtonCallbacks();
- populateTestThemes();
// Restore previously displayed text.
if (sessionStorage) {
var text = sessionStorage.getItem('textarea');
| 2 |
diff --git a/src/components/listItems/index.js b/src/components/listItems/index.js @@ -111,9 +111,10 @@ export const ChannelListItemLi = (props: CardProps): React$Element<any> => {
);
};
-export const UserListItem = ({ user, children }: Object): React$Element<
- any
-> => {
+export const UserListItem = ({
+ user,
+ chi... | 9 |
diff --git a/js/digifinex.js b/js/digifinex.js @@ -19,9 +19,9 @@ module.exports = class digifinex extends Exchange {
'has': {
'CORS': undefined,
'spot': true,
- 'margin': undefined, // has but unimplemented
+ 'margin': true,
'swap': undefined, // has but unimplemented
- 'future': undefined, // has but unimplemented
+ '... | 12 |
diff --git a/src/pages/TargetPage/ClassicAssociationsDAG.js b/src/pages/TargetPage/ClassicAssociationsDAG.js @@ -2,6 +2,7 @@ import React, { Fragment, useState } from 'react';
import * as d3Base from 'd3';
import * as d3Dag from 'd3-dag';
import { withContentRect } from 'react-measure';
+import { Typography } from '@ma... | 9 |
diff --git a/docs/environment.yml b/docs/environment.yml @@ -18,7 +18,5 @@ dependencies:
- pip:
- ..
- # Until jupyterlite-sphinx>0.4.9 is released, install from a commit hash to get the jupyterlite_contents config option
- # - jupyterlite-sphinx
- - https://github.com/jupyterlite/jupyterlite-sphinx/archive/944ccf4ee97... | 4 |
diff --git a/extension/options.css b/extension/options.css @@ -436,6 +436,8 @@ input:checked + label, button, .button {
#options .subcat > h3 {
font-size: 1.2em;
font-weight: 100;
+
+ margin-top: 0.5em;
margin-bottom: 0.5em;
}
@@ -443,6 +445,12 @@ input:checked + label, button, .button {
#options .category > h2 {
text-... | 7 |
diff --git a/core/flyout_vertical.js b/core/flyout_vertical.js @@ -333,30 +333,6 @@ Blockly.VerticalFlyout.prototype.getClientRect = function() {
var width = flyoutRect.width;
return new Blockly.utils.Rect(-BIG_NUM, BIG_NUM, -BIG_NUM, left + width);
} else { // Right
- // Firefox sometimes reports the wrong value for t... | 2 |
diff --git a/src/svg.js b/src/svg.js @@ -6,14 +6,17 @@ export function convertToPathData(originalData) {
newData.tag = 'path';
var originalAttributes = originalData.attributes;
var newAttributes = shallowCopyObject(originalAttributes);
+ if (originalAttributes.points != null) {
newAttributes['d'] = 'M' + originalAttrib... | 9 |
diff --git a/public/app/style.scss b/public/app/style.scss @@ -9,6 +9,8 @@ $font-main: BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantare
$font-main-condensed: ".SFNSDisplay-Bold", "Segoe UI", "Roboto Condensed", Oxygen-Sans, "Ubuntu Condensed", Cantarell, "Helvetica Neue Condensed", $font-main;
$play... | 11 |
diff --git a/web/public/js/txadmin/players.js b/web/public/js/txadmin/players.js //================================================================
//Vars and elements
let cachedPlayers = [];
+let biggestPlayerID = 0;
let playerlistElement = document.getElementById('playerlist');
let plistMsgElement = document.getEleme... | 14 |
diff --git a/generators/entity/templates/server/src/test/java/package/web/rest/_EntityResourceIntTest.java b/generators/entity/templates/server/src/test/java/package/web/rest/_EntityResourceIntTest.java @@ -139,34 +139,15 @@ _%>
}
// Generate Strings, using pattern
try {
- var sampleTextHigherLength = 100;
- var sample... | 12 |
diff --git a/test/jasmine/tests/scatter_test.js b/test/jasmine/tests/scatter_test.js @@ -383,6 +383,60 @@ describe('end-to-end scatter tests', function() {
expect(Plotly.d3.selectAll('.textpoint').size()).toBe(3);
}).catch(fail).then(done);
});
+
+ it('should remove all point and text nodes on blank data', function(don... | 0 |
diff --git a/app/scripts/configs/tracks-info.js b/app/scripts/configs/tracks-info.js @@ -171,47 +171,6 @@ export const TRACKS_INFO = [
heatmapValueScaling: 'log',
},
},
- // {
- // type: 'horizontal-stacked-bar',
- // datatype: ['multivec'],
- // local: false,
- // orientation: '1d-horizontal',
- // thumbnail: null,
- ... | 2 |
diff --git a/app.js b/app.js @@ -41,7 +41,7 @@ app.use((req, res, next) => {
app.use((req, res, next) => {
req.cookies = {}
//;(req.headers.cookie || '').split(/\s*;\s*/).forEach((pair) => { // Polynomial regular expression //
- ;(req.headers.cookie || '').split(/^\s+|(?<!\s)\s+$/g).forEach((pair) => {
+ (req.headers.c... | 1 |
diff --git a/sqlite_pool.js b/sqlite_pool.js @@ -89,7 +89,7 @@ module.exports = function(db_name, MAX_CONNECTIONS, bReadOnly){
var sql = arguments[0];
//console.log("======= query: "+sql);
- var bSelect = !!sql.match(/^SELECT/i);
+ var bSelect = !!sql.match(/^\s*SELECT/i);
var count_arguments_without_callback = bHasCal... | 11 |
diff --git a/src/proxy_configuration.js b/src/proxy_configuration.js @@ -310,7 +310,8 @@ export class ProxyConfiguration {
}
}
if (!this.password) {
- throw new Error(`Apify Proxy password must be provided using options.password or the "${ENV_VARS.PROXY_PASSWORD}" environment variable!`);
+ throw new Error(`Apify Proxy... | 7 |
diff --git a/articles/libraries/auth0js/migration-guide.md b/articles/libraries/auth0js/migration-guide.md @@ -25,6 +25,28 @@ Initialization of auth0.js in your application will now use `auth0.WebAuth` inst
</script>
```
+## The parseHash Method
+
+The `parseHash` method now validates the id_token to avoid CRFS (along ... | 0 |
diff --git a/phpunit.xml b/phpunit.xml </testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">./tests/Unit/</directory>
+ <directory suffix=".php">./src/PanelTraits/</directory>
+ <file>./src/CrudPanel.php</file>
+ <exclude>
+ <file>./src/PanelTraits/AutoFocus.php</file>... | 3 |
diff --git a/src/client/js/components/LoginForm.jsx b/src/client/js/components/LoginForm.jsx @@ -44,7 +44,7 @@ class LoginForm extends React.Component {
return (
<form role="form" action="/login" method="post">
- <div className="input-group mb-3">
+ <div className="input-group">
<div className="input-group-prepend">
<s... | 7 |
diff --git a/client/src/components/views/JrEngineering/powerRouting.js b/client/src/components/views/JrEngineering/powerRouting.js @@ -3,9 +3,8 @@ import React, { Component } from "react";
export default class PowerRouting extends Component {
constructor(props) {
super(props);
- this.state = { connections: [] };
+ this... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -10,6 +10,21 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.
+## [1.52.3] -- 2020-03-02
+
+## Fixed
+- Make identical bundles on different nodes [#4601]
+- Fix (regression introduced in 1.52.1) and imp... | 3 |
diff --git a/example/adapters/mongodb.js b/example/adapters/mongodb.js @@ -32,13 +32,20 @@ class MongoAdapter {
return DB.collection(name);
}
- async destroy(id) {
- const found = await this.coll().findOneAndDelete({ _id: id });
+ destroy(id) {
+ return this.coll().findOneAndDelete({ _id: id })
+ .then((found) => {
if ... | 13 |
diff --git a/lib/routes/page.js b/lib/routes/page.js @@ -670,13 +670,6 @@ module.exports = function(crowi, app) {
}
}
- return res.redirect(redirectPath);
- }).catch(function(err) {
- debug('Page create or edit error.', err);
- if (pageData && !req.form.isValid) {
- return renderPage(pageData, req, res);
- }
-
return r... | 7 |
diff --git a/dom-renderer.jsx b/dom-renderer.jsx @@ -9,6 +9,8 @@ class DomItem extends THREE.Object3D {
constructor(position, quaternion, scale, width, height, worldWidth, render) {
super();
+ this.name = 'domNode';
+
this.position.copy(position);
this.quaternion.copy(quaternion);
this.scale.copy(scale);
@@ -26,6 +28,7... | 0 |
diff --git a/bin/enforcers/Schema.js b/bin/enforcers/Schema.js @@ -139,7 +139,7 @@ const prototype = {
*/
random: function(value, options) {
const exception = Exception('Unable to generate random value');
- const result = runRandom(exception, schema, value, options, 0);
+ const result = runRandom(exception, this, value... | 1 |
diff --git a/src/encoded/schemas/biosample.json b/src/encoded/schemas/biosample.json "S1",
"S2",
"S3",
- "S4"
+ "S4",
+ "early S",
+ "late S"
]
},
"transfection_type": {
| 0 |
diff --git a/webpack.config.js b/webpack.config.js module.exports = (env, args) => {
- const nodeEnv = args.mode || 'development';
+ const nodeEnv = args.mode || 'production';
process.env['NODE_ENV'] = nodeEnv;
const webpackMerge = require('webpack-merge');
| 4 |
diff --git a/src/simplebar.js b/src/simplebar.js @@ -45,7 +45,8 @@ export default class SimpleBar {
scrollContent: 'simplebar-scroll-content',
scrollbar: 'simplebar-scrollbar',
track: 'simplebar-track'
- }
+ },
+ scrollbarMinSize: 10
}
}
@@ -295,14 +296,16 @@ export default class SimpleBar {
scrollbar = this.scrollbarY... | 1 |
diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -110,6 +110,18 @@ PRs are welcome! Please do open an issue to discuss first if it's a big feature,
- [ ] providers: Get Facebook integration on its feet (@ife)
- [ ] companion: what happens if access token expires during/between an download & upload (@ife)
+## 1.9.5
+
+Releas... | 0 |
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml @@ -12,6 +12,47 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
+ test:
+ name: Detox Tests
+ runs-on: macos-latest
+ steps:
+ - name: fix max_user_watches
+ run: echo fs.inotify.max_user_wat... | 0 |
diff --git a/src/controllers/controller.bar.js b/src/controllers/controller.bar.js import DatasetController from '../core/core.datasetController';
import {
clipArea, unclipArea, _arrayUnique, isArray, isNullOrUndef,
- valueOrDefault, resolveObjectKey, sign
+ valueOrDefault, resolveObjectKey, sign, defined
} from '../he... | 8 |
diff --git a/README.md b/README.md @@ -152,7 +152,9 @@ Type: `String`
_Required_
The public path that the middleware is bound to. _Best Practice: use the same
-`publicPath` defined in your webpack config._
+`publicPath` defined in your webpack config. For more information about
+`publicPath`, please see
+[the webpack d... | 3 |
diff --git a/lib/package/config.coffee b/lib/package/config.coffee @@ -223,7 +223,7 @@ config =
cellDelimiter:
title: 'Cell Delimiter'
type: 'array'
- default: ['##\\s', '#---', '#\\s?%%']
+ default: ['##(?!#)', '#---', '#\\s?%%']
description: 'Regular expressions for determining cell delimiters.'
order: 11
highlightCe... | 7 |
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog
+### 0.19.2 (Jan 20, 2020)
+
+- Remove unnecessary XSS check ([#2679](https://github.com/axios/axios/pull/2679)) (see ([#2646](https://github.com/axios/axios/issues/2646)) for discussion)
+
### 0.19.1 (Jan 7, 2020)
Fixes and Functionality:
| 3 |
diff --git a/src/components/Leaderboard.js b/src/components/Leaderboard.js @@ -68,8 +68,7 @@ const Leaderboard = ({ content, limit = 100 }) => (
.filter((_, idx) => idx < limit)
.map((item, idx) => {
const { name, username, score } = item
- /* Temporary fix to keep users on page if no GitHub profile */
- const hasGitHu... | 14 |
diff --git a/webpack.config.development.js b/webpack.config.development.js @@ -86,11 +86,11 @@ var webpackConfig = Object.assign({}, baseConfig, {
]
});
-Object.keys(webpackConfig.entry, (name) => {
- // necessary for hot reloading with IE:
- webpackConfig[name].push('eventsource-polyfill');
- // listen to code updates... | 1 |
diff --git a/js/plugin/NogoAreas.js b/js/plugin/NogoAreas.js @@ -114,7 +114,9 @@ BR.NogoAreas = L.Control.extend({
getOptions: function() {
return {
- nogos: this.drawnItems.getLayers()
+ nogos: this.drawnItems.getLayers().filter(function (e) { return e instanceof L.Circle; }),
+ polygons: this.drawnItems.getLayers().f... | 1 |
diff --git a/articles/extensions/sumologic.md b/articles/extensions/sumologic.md @@ -91,7 +91,7 @@ To help us (and our customers) visualize these logs, we spent some time creating
If you're a Sumo Logic customer and are interested in trying out this dashboard, you can find details on installing the Auth0 App for the Su... | 1 |
diff --git a/articles/libraries/lock-ios/_includes/_roadmap.md b/articles/libraries/lock-ios/_includes/_roadmap.md ## Future roadmap of Lock v2 for iOS
- Native Authentication with third party SDKs (Facebook, Google, Twitter)
-- 1Password support
- Secure Token storage and automatic token refresh
- Remember me like fea... | 2 |
diff --git a/packages/@uppy/core/types/index.d.ts b/packages/@uppy/core/types/index.d.ts @@ -216,6 +216,8 @@ export type UploadCompleteCallback<TMeta> = (result: UploadResult<TMeta>) => voi
export type ErrorCallback = (error: Error) => void;
export type UploadErrorCallback<TMeta> = (file: UppyFile<TMeta>, error: Error,... | 0 |
diff --git a/source/Overture/datastore/store/Store.js b/source/Overture/datastore/store/Store.js @@ -1061,7 +1061,7 @@ const Store = Class({
// ---
/**
- Method: O.Store#sourceStateDidChange
+ Method: O.Store#setRemoteQueriesObsolete
Call this method to notify the store of a change in the state of a
particular record t... | 0 |
diff --git a/metaverse_modules/barrier/index.js b/metaverse_modules/barrier/index.js @@ -507,7 +507,7 @@ export default () => {
const localPlayer = useLocalPlayer();
const lastPosition = localPlayer.position.clone();
- let animationSpec = null;
+ let animationSpec = null; // XXX make this per-mesh
const cooldownTime = ... | 0 |
diff --git a/lib/makePathOptionAbsolute.js b/lib/makePathOptionAbsolute.js const BbPromise = require('bluebird');
const path = require('path');
+const _ = require('lodash');
module.exports = {
makePathOptionAbsolute() {
@@ -9,7 +10,15 @@ module.exports = {
if (originalPath) {
const absolutePath = path.resolve(originalP... | 12 |
diff --git a/src/web/widgets/Visualizer/WatchDirectory.jsx b/src/web/widgets/Visualizer/WatchDirectory.jsx @@ -19,7 +19,6 @@ class WatchDirectory extends Component {
treeNode = null;
componentDidMount() {
- this.addColumnGroup();
this.addResizeEventListener();
api.watch.getFiles({ path: '' })
@@ -61,6 +60,10 @@ class W... | 1 |
diff --git a/articles/libraries/lock/v11/migration-guide.md b/articles/libraries/lock/v11/migration-guide.md @@ -31,16 +31,21 @@ If you decide to keep using embedded Lock you will need to migrate to [Lock v11]
The documents below describe all the changes that you should be aware of when migrating from different version... | 3 |
diff --git a/buildout.cfg b/buildout.cfg @@ -119,7 +119,7 @@ recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
- curl -o ontology.json https://s3-us-west-1.amazonaws.com/encoded-build/ontology/ontology-2016-11-29.json
+ curl -o ontology.json https://s3-us-west-1.amazonaws.com/encoded-build/ontolo... | 3 |
diff --git a/Source/Scene/WebMapTileServiceImageryProvider.js b/Source/Scene/WebMapTileServiceImageryProvider.js @@ -228,13 +228,21 @@ function WebMapTileServiceImageryProvider(options) {
var style = options.style;
var tileMatrixSetID = options.tileMatrixSetID;
var url = resource.url;
- if (url.indexOf("{") >= 0) {
var... | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.