code
stringlengths
122
4.99k
label
int64
0
14
diff --git a/index.d.ts b/index.d.ts @@ -1303,7 +1303,7 @@ declare module "mongoose" { alias?: string; /** Function or object describing how to validate this schematype. See [validation docs](https://mongoosejs.com/docs/validation.html). */ - validate?: RegExp | [RegExp, string] | Function | [Function , string] | Valid...
11
diff --git a/docs/clustering.rst b/docs/clustering.rst @@ -20,6 +20,8 @@ In this example, we include the classes that are specific to clustering. For a For some of the clustering components, like ConfigSync and failoverAddress, you can use JSON pointers to reference objects/properties in declarations. +.. NOTE:: The De...
5
diff --git a/edit.js b/edit.js @@ -78,14 +78,6 @@ function mod(a, b) { roomName: 'lol', }); } - if (q.b) { // base - const mesh = await runtime.loadFile({ - name: q.b, - url: q.b, - }); - mesh.run && mesh.run(); - scene.add(mesh); - } if (q.o) { // object world.addObject(q.o); }
2
diff --git a/js/index.js b/js/index.js @@ -244,7 +244,7 @@ function refreshLibrary() { tab.setAttribute("data-badge", appJSON.length); //github icon onClick htmlToArray(panelbody.getElementsByClassName("link-github")).forEach(link => { - link.addEventListener("click",event => { + var username = window.location.href; va...
12
diff --git a/packages/insomnia/src/ui/hooks/use-vcs.ts b/packages/insomnia/src/ui/hooks/use-vcs.ts @@ -7,12 +7,14 @@ import { type MergeConflict } from '../../sync/types'; import { VCS } from '../../sync/vcs/vcs'; import { showModal } from '../components/modals/index'; import { SyncMergeModal } from '../components/moda...
3
diff --git a/src/DevChatter.Bot.Web/wwwroot/js/wasteful-game/wasteful.js b/src/DevChatter.Bot.Web/wwwroot/js/wasteful-game/wasteful.js @@ -106,9 +106,10 @@ export class Wasteful { /** * @public - * @param {string} direction + * @param {string} direction direction to move player + * @param {number} moveNumber number of ...
1
diff --git a/docs/src/pages/vue-components/time.md b/docs/src/pages/vue-components/time.md @@ -53,7 +53,7 @@ Clicking on the "Now" button sets time to current user time: ### Using with QInput <doc-example title="Input" file="QTime/Input" /> -More info: [QInput](/vue-components/input), [QInput](/vue-components/input). +...
3
diff --git a/src/selectize.js b/src/selectize.js @@ -2055,7 +2055,7 @@ Object.assign(Selectize.prototype, { if (option_select) { let option = self.getOption(option_select); if( option ){ - self.setActiveOption(option_select); + self.setActiveOption(option); } }
12
diff --git a/src/components/views/Viewscreen/manager.js b/src/components/views/Viewscreen/manager.js @@ -152,9 +152,9 @@ class ViewscreenCore extends Component { configData } = this.state; const LayoutComponent = - Layouts[this.props.simulator.layout + "Viewscreen"] || - Layouts[this.props.simulator.layout] || - (({ ch...
2
diff --git a/tools/markdown/equation-element/lib/render.js b/tools/markdown/equation-element/lib/render.js @@ -21,6 +21,7 @@ var escapeHTML = require( './escape_html.js' ); * </div> * ``` * +* @private * @param {Options} opts - render options * @param {string} opts.className - element class name * @param {string} opts....
12
diff --git a/src/components/draftListItem/view/draftListItemView.js b/src/components/draftListItem/view/draftListItemView.js import React, { useRef, useState, useEffect, Fragment } from 'react'; -import ActionSheet from 'react-native-actionsheet'; import { View, Text, TouchableOpacity, Dimensions } from 'react-native';...
14
diff --git a/package.json b/package.json "hamljs": "^0.6.2", "handlebars": "^4.1.1", "javascript-stringify": "^2.0.0", - "liquidjs": "^6.2.0", + "liquidjs": "^6.4.3", "lodash": "^4.17.11", "luxon": "^1.12.0", "markdown-it": "^8.4.2",
3
diff --git a/src/extras/module-types.js b/src/extras/module-types.js +import { resolveUrl } from '../common.js'; + /* * Loads JSON, CSS, Wasm module types based on file extension * filters and content type verifications if (cssContentType.test(contentType)) return res.text() .then(function (source) { + source = source....
1
diff --git a/test/unit/config/config.test.js b/test/unit/config/config.test.js @@ -1350,25 +1350,27 @@ describe('the agent configuration', function() { const createSampleConfig = (filename) => { CONFIG_PATH = path.join(DESTDIR, filename) - var config = fs.readFileSync( - path.join(__dirname, '../../../lib/config/defaul...
7
diff --git a/token-metadata/0x26E43759551333e57F073bb0772F50329A957b30/metadata.json b/token-metadata/0x26E43759551333e57F073bb0772F50329A957b30/metadata.json "symbol": "DGVC", "address": "0x26E43759551333e57F073bb0772F50329A957b30", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/src/screens/transfer/screen/addressScreen.js b/src/screens/transfer/screen/addressScreen.js -import React, { Fragment, Component } from 'react'; -import { Text, View, ScrollView, TouchableOpacity } from 'react-native'; -import { WebView } from 'react-native-webview'; -import ActionSheet from 'react-native-...
14
diff --git a/lib/monitor.js b/lib/monitor.js @@ -29,13 +29,13 @@ CommandHistory.prototype.getNextCommand = function(cmd) { }; function Dashboard(options) { - var title = options && options.title || "Embark 2.0"; + var title = (options && options.title) || "Embark 2.3.0"; this.env = options.env; this.console = options.c...
2
diff --git a/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-number/input-number-content-view.js b/lib/assets/core/javascripts/cartodb3/components/form-components/editors/fill/input-number/input-number-content-view.js @@ -11,6 +11,7 @@ module.exports = CoreView.extend({ render: functi...
2
diff --git a/app/assets/src/components/views/samples/constants.js b/app/assets/src/components/views/samples/constants.js @@ -33,7 +33,7 @@ export const SAMPLE_TABLE_COLUMNS_V2 = { }, duplicateCompressionRatio: { tooltip: `Duplicate Compression Ratio is the ratio of the total number of - sequences present prior to runni...
10
diff --git a/layouts/partials/helpers/text-color.html b/layouts/partials/helpers/text-color.html {{- $bg := .self.Scratch.Get "bg" }} +{{ printf "-- logging -- overwrite %s -- bg %s -- light %s -- dark %s -- end of logging --" .overwrite $bg .light .dark }} {{- $text_muted := cond (.muted | default false) "text-muted "...
1
diff --git a/web/components/pages/OrganisationSettingsPage.js b/web/components/pages/OrganisationSettingsPage.js @@ -151,7 +151,9 @@ const OrganisationSettingsPage = class extends Component { />); }; - drawChart = data => ( + drawChart = (data) => { + if (data && data.hasOwnProperty && data.hasOwnProperty('length')) { ...
9
diff --git a/runtime.js b/runtime.js @@ -47,7 +47,7 @@ const startMonetization = (instanceId, monetizationPointer, ownerAddress) => { let monetization = document[`monetization${instanceId}`]; if (!monetization) { - document[`monetization${instanceId}`] = document.createElement('eventTarget'); + document[`monetization${...
4
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml @@ -52,6 +52,9 @@ jobs: git config --global user.name 'semrush-ci-whale' git config --global user.email 'semrush-ci-whale@users.noreply.github.com' git remote set-url origin https://x-access-token:${{ secrets.BOT_ACCOUNT_GITHUB_TOKEN }}@github.c...
0
diff --git a/cypress/support/commands.js b/cypress/support/commands.js @@ -36,6 +36,7 @@ function getCenter(el) { Cypress.Commands.add("dragBetween", (dragSelector, dropSelector) => { const getOrWrap = isString(dragSelector) ? cy.get : cy.wrap; + cy.clock(); getOrWrap(dragSelector).then(el => { let dragSelectDomEl = el...
13
diff --git a/src/pages/ProjectLoader/ProjectLoader.jsx b/src/pages/ProjectLoader/ProjectLoader.jsx @@ -5,9 +5,6 @@ import OpenFolder from '../../components/OpenFolder/OpenFolderButton'; import { Button, TextField } from '@material-ui/core'; import LoginGithub from 'react-login-github'; - -require('dotenv').config(); - ...
10
diff --git a/desktop/sources/scripts/commander.js b/desktop/sources/scripts/commander.js @@ -25,7 +25,7 @@ function Commander (terminal) { this.write = function (key) { if (key.length !== 1) { return } - this.query += key.toLowerCase() + this.query += key this.preview() }
11
diff --git a/docs/articles/documentation/test-api/actions/take-screenshot.md b/docs/articles/documentation/test-api/actions/take-screenshot.md @@ -16,7 +16,7 @@ t.takeScreenshot( [path] ) Parameter | Type | Description | Default ------------------- | ------ | ------------------------------------------------------------...
1
diff --git a/src/index.js.flow b/src/index.js.flow @@ -37,35 +37,35 @@ import type { IsSubmittingInterface } from './selectors/isSubmitting.types' import type { Config as ValuesConfig } from './values.types' import type { ActionTypes } from './actionTypes.types' import type { - ArrayInsertAction, - ArrayMoveAction, - A...
1
diff --git a/CHANGELOG.md b/CHANGELOG.md # Changelog -## Unreleased +## 1.62.0 - Extend API: Offer various getters to inquire about details of the currently actice span (trace ID, span ID and other attributes). - Improve generated IDs (span ID, trace ID). +- Fix: Make sure timeouts created by instana-nodejs-sensor do n...
6
diff --git a/src/sdk/conference/conference.js b/src/sdk/conference/conference.js } else if (typeof options !== 'object' || options === null) { options = {}; } + if (options.recorderId && (options.audioCodec || options.videoCodec)) { + safeCall(onFailure, + 'Cannot set codec when updating existing recorder.'); + return;...
12
diff --git a/src/lib/wallet/GoodWallet.js b/src/lib/wallet/GoodWallet.js @@ -441,7 +441,7 @@ export class GoodWallet { //https://github.com/trufflesuite/ganache-core/issues/417 const gas: number = 200000 //Math.floor((await transferAndCall.estimateGas().catch(this.handleError)) * 2) - log.debug('generateLiknk:', { amou...
0
diff --git a/src/components/core/loop/loopFix.js b/src/components/core/loop/loopFix.js export default function () { const swiper = this; + + swiper.emit('beforeLoopFix'); + const { activeIndex, slides, loopedSlides, allowSlidePrev, allowSlideNext, snapGrid, rtlTranslate: rtl, } = swiper; @@ -10,7 +13,6 @@ export defaul...
0
diff --git a/deployment-scripts/docker-compose.yml b/deployment-scripts/docker-compose.yml @@ -326,10 +326,11 @@ services: image: ${IMAGE_REPOSITORY:-deepfenceio}/deepfence_vulnerability_mapper_ce:${DF_IMG_TAG:-1.2.0} ulimits: core: 0 - restart: "no" + restart: always networks: - deepfence_net - entrypoint: /bin/true +...
12
diff --git a/desktop/src/main.js b/desktop/src/main.js @@ -63,13 +63,14 @@ function createWindow() { mainWindow.on('closed', () => { win = null; + mainWindow = null; }); // if main window is ready to show, then destroy the splash window and show up the main window mainWindow.once('ready-to-show', () => { splash.destroy...
11
diff --git a/lib/jsdom/living/xmlhttprequest.js b/lib/jsdom/living/xmlhttprequest.js @@ -87,8 +87,6 @@ const XMLHttpRequestResponseType = new Set([ const simpleHeaders = xhrUtils.simpleHeaders; -const redirectStatuses = new Set([301, 302, 303, 307, 308]); - module.exports = function createXMLHttpRequest(window) { const...
11
diff --git a/localization/strings.pot b/localization/strings.pot @@ -2045,33 +2045,6 @@ msgstr "" msgid "Layout type" msgstr "" -msgid "ar" -msgstr "" - -msgid "bg_BG" -msgstr "" - -msgid "hr" -msgstr "" - -msgid "hu_HU" -msgstr "" - -msgid "id" -msgstr "" - -msgid "lv" -msgstr "" - -msgid "ro_RO" -msgstr "" - -msgid "...
2
diff --git a/source/color/Color.js b/source/color/Color.js @@ -402,6 +402,47 @@ const cssColorNames = { whitesmoke: 0xf5f5f5, yellow: 0xffff00, yellowgreen: 0x9acd32, + // System colors + // https://developer.mozilla.org/en-US/docs/Web/CSS/color_value + // Values taken from Chrome on macOS, but probably pretty standard...
0
diff --git a/lxc/execute b/lxc/execute @@ -27,7 +27,7 @@ exec 200>&- # prevent users from spying on each other lxc-attach --clear-env -n piston -- \ - /bin/bash -l -c " + /bin/bash -c " chown runner$runner: -R /tmp/$id chmod 700 /tmp/$id " > /dev/null 2>&1 @@ -35,12 +35,12 @@ lxc-attach --clear-env -n piston -- \ # run...
14
diff --git a/src/components/LMarker.vue b/src/components/LMarker.vue @@ -5,6 +5,7 @@ import debounce from '../utils/debounce.js'; import { optionsMerger } from '../utils/optionsUtils.js'; import Layer from '../mixins/Layer.js'; import Options from '../mixins/Options.js'; +import { latLng } from 'leaflet'; export defaul...
1
diff --git a/templates/workflow/add_project_modal.html b/templates/workflow/add_project_modal.html theme: 'bootstrap', dropdownParent: $('#addProjectModal'), }); + + + // show the modal if project modal is set to true + const url = new URL(window.location.href); + if (url.searchParams.get('project-modal')) { + $('#addP...
0
diff --git a/src/components/nodes/manualTask/index.js b/src/components/nodes/manualTask/index.js @@ -20,6 +20,7 @@ export default { definition(moddle, $t) { return moddle.create('bpmn:ManualTask', { name: $t(defaultNames[id]), + assignment: 'requester', loopCharacteristics: null, ioSpecification: null, });
12
diff --git a/js/base/store.es6.js b/js/base/store.es6.js // TODO: README at js/base directory level, point to it from main README // TODO: create a state injector for test mocks -const minidux = require('minidux'); +// const minidux = require('minidux'); const deepFreeze = require('deep-freeze'); const reducers = requi...
2
diff --git a/lib/global-admin/addon/mixins/authentication.js b/lib/global-admin/addon/mixins/authentication.js @@ -70,9 +70,7 @@ export default Mixin.create({ }); model.doAction('disable').then(() => { - model.save().then( () => { this.send('waitAndRefresh'); - }); }).catch((err) => { this.send('gotError', err); }).fin...
2
diff --git a/docs/concepts/index.html b/docs/concepts/index.html @@ -1826,7 +1826,7 @@ sparta.Main(stackName, <h2 id="lambda-function">Lambda Function</h2> -<p>A Sparta-compatible lambda is a standard <a href="https://docs.aws.amazon.com/lambda/latest/dg/go-programming-model-handler-types.html/">AWS Lambda Go</a> funct...
1
diff --git a/src/plot_api/plot_api.js b/src/plot_api/plot_api.js @@ -1386,8 +1386,7 @@ function _restyle(gd, aobj, traces) { // for the undo / redo queue var redoit = {}, undoit = {}, - axlist, - flagAxForDelete = {}; + axlist; // make a new empty vals array for undoit function a0() { return traces.map(function() { ret...
2
diff --git a/src/components/appNavigation/TabsView.js b/src/components/appNavigation/TabsView.js @@ -13,7 +13,7 @@ import logger from '../../lib/logger/pino-logger' import Icon from '../../components/common/view/Icon' import useSideMenu from '../../lib/hooks/useSideMenu' -const { isEToro, market, marketUrl, showInvite,...
1
diff --git a/spec/e2e/text-editing.spec.js b/spec/e2e/text-editing.spec.js @@ -397,7 +397,15 @@ describe('Text block', function() { .then(function() { return getBlockData(1); }) .then(function(data) { expect(data.data.listItems[0].content).toBe("T<b>w</b>o"); - expect(data.data.listItems[1].content).toBe("T<b>hre</b>e"...
7
diff --git a/Bundle/WidgetBundle/Controller/WidgetController.php b/Bundle/WidgetBundle/Controller/WidgetController.php @@ -90,14 +90,14 @@ class WidgetController extends Controller * @param string $type The type of the widget we edit * @param int $viewReference The view reference where attach the widget * @param string...
12
diff --git a/app/styles/components/_button.scss b/app/styles/components/_button.scss @@ -87,12 +87,6 @@ button, vertical-align: middle; } } -//dropdown button -button + .dropdown-menu { - left: -210px; - position: absolute; - border-radius: 0; -} .dropdown-menu { max-width: 200px;
2
diff --git a/src/lambda/routes/invoke-async/invokeAsyncRoute.js b/src/lambda/routes/invoke-async/invokeAsyncRoute.js @@ -27,6 +27,6 @@ export default function invokeRoute(lambda) { }, tags: ['api'], }, - path: '/{apiVersion}/functions/{functionName}/invoke-async/', + path: '/2014-11-13/functions/{functionName}/invoke-a...
0
diff --git a/contribs/gmf/src/controllers/desktop.scss b/contribs/gmf/src/controllers/desktop.scss @@ -257,6 +257,15 @@ gmf-search { z-index: 3; } +.ui-resizable-helper { + border: 2px; + border-color: $brand-secondary-dark; + border-color: var(--brand-secondary); + background-color: $brand-secondary; + background-colo...
12
diff --git a/src/plugins/StatusBar/index.js b/src/plugins/StatusBar/index.js @@ -47,7 +47,7 @@ module.exports = class StatusBar extends Plugin { hideUploadButton: false, showProgressDetails: false, locale: defaultLocale, - hideAfterFinish: false + hideAfterFinish: true } // merge default options with the ones set by us...
12
diff --git a/.travis.yml b/.travis.yml @@ -79,7 +79,6 @@ script: --browser-arg tunnel-identifier "$TRAVIS_JOB_NUMBER" \ --browser-arg-int build "$TRAVIS_BUILD_NUMBER" \ --browser-arg-int idleTimeout 300 \ - --browser-arg chromedriverVersion "2.33" \ --browser-arg name "$TRAVIS_REPO_SLUG $TRAVIS_BRANCH $TRAVIS_COMMIT" \...
2
diff --git a/accessibility-checker-engine/help/Valerie_Frame_SrcHtml.mdx b/accessibility-checker-engine/help/Valerie_Frame_SrcHtml.mdx @@ -17,7 +17,7 @@ import { Tag } from "carbon-components-react"; ## Why is this important? -If the content of a `<frame>` is not HTML, it may not be accessible. For example, if the sour...
2
diff --git a/shared/scss/popup.scss b/shared/scss/popup.scss @@ -188,21 +188,6 @@ body { margin-left: 12px; } - .site-info__tosdr-status { - padding: 15px 20px 0px 20px - } - - .site-info__tosdr-msg { - color: $color--grey; - font-size: 13px; - padding: 7.5px 20px 15px 20px; - - a { - padding: 0px; - color: $color--gre...
2
diff --git a/source/views/menu/MenuFilterView.js b/source/views/menu/MenuFilterView.js @@ -26,6 +26,7 @@ const MenuFilterView = Class({ const controller = this.get( 'controller' ); const searchTextView = this._input = new SearchTextView({ shortcut: this.get( 'shortcut' ), + placeholder: this.get( 'placeholder' ), tabIn...
0
diff --git a/js/igv-utils.js b/js/igv-utils.js @@ -578,7 +578,7 @@ var igv = (function (igv) { oauth: config.oauth }; - return _.extend(defaultOptions, options); + return options ? Object.assign(defaultOptions, options): defaultOptions; }; return igv;
11
diff --git a/src/components/common/modal/ModalPaymentStatus.js b/src/components/common/modal/ModalPaymentStatus.js import React from 'react' -import { View } from 'react-native' +import { StyleSheet, View } from 'react-native' import Text from '../view/Text' const statusLabel = { @@ -10,11 +10,20 @@ const statusLabel =...
0
diff --git a/src/pages/hideout/index.js b/src/pages/hideout/index.js @@ -40,7 +40,7 @@ const stations = [ ]; function Hideout() { - const [selectedStation, setSelectedStation] = useStateWithLocalStorage('selectedStation', 'all'); + const [selectedStation, setSelectedStation] = useStateWithLocalStorage('selectedHideoutS...
1
diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js @@ -58,7 +58,7 @@ class ReportActionCompose extends React.Component { super(props); // The horizontal and vertical position (relative to the screen) where the popover will display. - this.popoverAnchorPosition = { +...
10
diff --git a/src/main/resources/public/js/src/launches/logLevel/LogItemInfoView.js b/src/main/resources/public/js/src/launches/logLevel/LogItemInfoView.js @@ -63,8 +63,8 @@ define(function (require) { computeds: { isDisabledSendIssue: { get: function () { - return !(this.viewModel.collection.length > 1) || !(this.viewM...
7
diff --git a/assets/js/components/dashboard-sharing/DashboardSharingSettings/Module.js b/assets/js/components/dashboard-sharing/DashboardSharingSettings/Module.js @@ -34,6 +34,7 @@ import { Icon, info } from '@wordpress/icons'; import { createInterpolateElement, useCallback, + useEffect, useState, } from '@wordpress/el...
12
diff --git a/avatars/avatars.js b/avatars/avatars.js @@ -1660,10 +1660,15 @@ class Avatar { this.jumpTime = NaN; this.flyState = false; this.flyTime = NaN; + this.useTime = NaN; this.useAnimation = null; this.useAnimationCombo = []; this.useAnimationEnvelope = []; + this.unuseAnimation = null; + this.unuseTime = -1; + ...
0
diff --git a/apps.json b/apps.json "version":"0.01", "description": "This is the classic game for masterminds", "type": "game", - "tags": "mastermind, game, classic", + "tags": "game,app", "readme":"README.md", "supports": ["BANGLEJS2"], "allow_emulator": true,
3
diff --git a/lib/assets/core/javascripts/cartodb/organization/organization_notification/organization_notification_view.js b/lib/assets/core/javascripts/cartodb/organization/organization_notification/organization_notification_view.js @@ -71,11 +71,5 @@ module.exports = cdb.core.View.extend({ }); this.remove_notification...
2
diff --git a/src/components/dashboard/FaceRecognition/FaceRecognition.web.js b/src/components/dashboard/FaceRecognition/FaceRecognition.web.js @@ -148,10 +148,10 @@ class FaceRecognition extends React.Component<FaceRecognitionProps, State> { try { if (res.enrollResult.enrollmentIdentifier) await userStorage.setProfileF...
0
diff --git a/src/viewer.js b/src/viewer.js @@ -44,10 +44,10 @@ class gltfViewer this.hideSpinner(); } - this.defaultCamera = new UserCamera(); + this.userCamera = new UserCamera(); this.currentlyRendering = false; - this.renderer = new gltfRenderer(canvas, this.defaultCamera, this.renderingParameters); + this.renderer ...
10
diff --git a/viewer/js/config/identify.js b/viewer/js/config/identify.js define([ 'dojo/i18n!./nls/main', - 'dojo/_base/lang' -], function (i18n, lang) { + 'dojo/_base/lang', + 'dojo/number' +], function (i18n, lang, number) { var linkTemplate = '<a href="{url}" target="_blank">{text}</a>'; function directionsFormatter...
14
diff --git a/package.json b/package.json "dev": "cross-env concurrently --kill-others \"npm run start-server\" \"npm run start\"", "electron-dev": "cross-env concurrently \"BROWSER=none npm run start-server\" & electron .", "electron": "cross-env electron .", - "electron-debug": "cross-env electron --inspect=9229 --rem...
3
diff --git a/source/components/NumericInput.js b/source/components/NumericInput.js @@ -180,7 +180,7 @@ class NumericInputBase extends Component<Props, State> { return { value: null, caretPosition: 1, - fallbackInputValue: valueToProcess, // render standalone minus sign + fallbackInputValue: '-', minimumFractionDigits: ...
9
diff --git a/composer.json b/composer.json "require": { "php": ">=5.4", "google/apiclient": "^2.0", - "guzzlehttp/guzzle": "~5.3.3", - "johnpbloch/wordpress-core": "^5.1" + "guzzlehttp/guzzle": "~5.3.3" }, "autoload": { "psr-4": {
2
diff --git a/metaversefile-api.js b/metaversefile-api.js @@ -810,9 +810,9 @@ export default () => { iframeContainer, }; }, - useRigManagerInternal() { + /* useRigManagerInternal() { return rigManager; - }, + }, */ useAvatarInternal() { return Avatar; },
2
diff --git a/source/views/collections/ToolbarView.js b/source/views/collections/ToolbarView.js @@ -338,7 +338,7 @@ const ToolbarView = Class({ parent.removeView( view ); } this.insertView( view, container ); - } else { + } else if ( view ) { container.appendChild( view ); } }
8
diff --git a/token-metadata/0xB2279B6769CFBa691416F00609b16244c0cF4b20/metadata.json b/token-metadata/0xB2279B6769CFBa691416F00609b16244c0cF4b20/metadata.json "symbol": "WAIF", "address": "0xB2279B6769CFBa691416F00609b16244c0cF4b20", "decimals": 18, - "dharmaVerificationStatus": { "dharmaVerificationStatus": "VERIFIED"...
3
diff --git a/plugins/auth/public/auth-oauth2/callback.html b/plugins/auth/public/auth-oauth2/callback.html <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> <script type="text/javascript"> - var tokenLifetimeDays = 7; + const tokenLifetimeDays = 7; /** * get query parameter from url * var baz ...
7
diff --git a/src/immer.d.ts b/src/immer.d.ts @@ -58,8 +58,8 @@ type FromNothing<T> = Nothing extends T ? Exclude<T, Nothing> | undefined : T /** The inferred return type of `produce` */ type Produced<T, Return> = 1 extends HasVoidLike<Return> ? 1 extends IsVoidLike<Return> - ? Immutable<T> - : Immutable<T> | FromNothin...
13
diff --git a/client/src/utils/ajax.js b/client/src/utils/ajax.js @@ -9,7 +9,7 @@ const tokens = new Tokens(); // TODO: test on staging. Do we need 'include' everywhere? const defaultOptions = { - credentials: environment === 'development' ? 'include' : 'same-origin' + credentials: environment === 'development' ? 'inclu...
13
diff --git a/layouts/partials/content.html b/layouts/partials/content.html {{ $in = "<img ([^>]*) ?src=\"./([^\"]+)\" ?([^/>]*) */?>" }} {{ $out = "<img $1 src=\"../$2\" $3 />" }} {{ $content = $content | replaceRE $in $out | safeHTML }} + + {{ $in = "<a ([^>]*) ?href=\"../([^\"]+)\" ?([^/>]*) *>" }} + {{ $out = "<a $1...
7
diff --git a/test/safe/typescript-typings.test.ts b/test/safe/typescript-typings.test.ts @@ -11,6 +11,12 @@ class Cat { } } +class AsyncCat { + async mewConcurrently (): Promise<string> { + return 'meow! meow!' + } +} + function sum (first: number, second: number): number { return first + second } @@ -83,6 +89,9 @@ exp...
3
diff --git a/src/components/ProductList.js b/src/components/ProductList.js @@ -3,6 +3,7 @@ import styled from "styled-components" import Img from "gatsby-image" import ButtonLink from "./ButtonLink" +import Translation from "./Translation" const Product = styled.div` width: 100%; @@ -91,7 +92,7 @@ const ProductList = (...
12
diff --git a/packages/frontend/src/redux/slices/transactions/index.js b/packages/frontend/src/redux/slices/transactions/index.js import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'; +import set from 'lodash-es/set'; import { createSelector } from 'reselect'; +import { getTransactions, transactionExtraInfo ...
9
diff --git a/lti_launch.php b/lti_launch.php @@ -31,6 +31,7 @@ use \Tsugi\Util\Net; use \Tsugi\Grades\GradeUtil; global $tsugi_enabled; +global $xapi_enabled; global $lti_enabled; global $xerte_toolkits_site; @@ -121,16 +122,16 @@ if(is_numeric($id) || $id == null) { die("template_id not found"); } - if ($row['tsugi_xa...
11
diff --git a/config/bis_gulputils.js b/config/bis_gulputils.js @@ -257,8 +257,6 @@ var getWebpackCommand=function(source,internal,external,out,indir,minify,outdir, if (tmpout==='bislib.js') cmd+=' --bisinternal '+internal+' --bisexternal '+external; - else - if (watch!==0) cmd+=" --watch";
1
diff --git a/src/components/forms/validation-message.scss b/src/components/forms/validation-message.scss .validation-info { background-color: $ui-blue; + box-shadow: 0 0 4px 2px rgba(0, 0, 0, .15); + font-weight: 500; &:before { background-color: $ui-blue;
12
diff --git a/articles/libraries/auth0js/v7/index.md b/articles/libraries/auth0js/v7/index.md @@ -5,7 +5,7 @@ description: How to install, initialize and use auth0.js v7 url: /libraries/auth0js/v7 --- -# Auth0.js Reference +# Auth0.js v7 Reference Auth0.js is a client-side library for [Auth0](http://auth0.com), for use ...
0
diff --git a/src/components/DataCollector/index.js b/src/components/DataCollector/index.js @@ -13,6 +13,8 @@ governing permissions and limitations under the License. import createRequest from "../../core/createRequest"; import createEvent from "../../core/createEvent"; +const VIEW_START_EVENT = "viewstart"; + const cre...
2
diff --git a/js/ui/views/top-blocked-truncated.es6.js b/js/ui/views/top-blocked-truncated.es6.js const Parent = window.DDG.base.View -const animateGraphBars = require('./mixins/animate-graph-bars.es6.js') const TopBlockedFullView = require('./top-blocked.es6.js') const topBlockedFullTemplate = require('./../templates/t...
2
diff --git a/package.json b/package.json "resize-observer-polyfill": "^1.5.0" }, "peerDependencies": { - "react": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0", - "react-dom": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0" + "react": "^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^0.14.0 || ^15.0.1 || ...
0
diff --git a/packages/field/src/FormControlMixin.js b/packages/field/src/FormControlMixin.js -import { html, css, nothing, dedupeMixin } from '@lion/core'; +import { html, css, nothing, dedupeMixin, SlotMixin } from '@lion/core'; import { ObserverMixin } from '@lion/core/src/ObserverMixin.js'; /** @@ -14,7 +14,7 @@ imp...
1
diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js @@ -1005,19 +1005,14 @@ module.exports = function(RED) { node.on('close', function(done) { node.disconnect(function() { - if(node.client) { - node._clientRemoveListeners(); - } done...
2
diff --git a/generators/client/templates/react/package.json.ejs b/generators/client/templates/react/package.json.ejs @@ -47,9 +47,9 @@ limitations under the License. "react-redux": "7.2.0", "react-redux-loading-bar": "4.6.0", "react-router-dom": "5.1.2", - "react-toastify": "4.5.2", - "react-transition-group": "2.7.0",...
3
diff --git a/app/features/selectable.js b/app/features/selectable.js @@ -467,7 +467,7 @@ export function Selectable(visbug) { hover_state.target = el hover_state.element = no_hover - ? createCorners(el) + ? null : createHover(el) hover_state.label = no_label
13
diff --git a/inventory.js b/inventory.js @@ -2,6 +2,7 @@ import * as THREE from './three.module.js'; import Avatar from './avatars/avatars.js'; import {RigAux} from './rig-aux.js'; import runtime from './runtime.js'; +import {addDefaultLights} from './util.js'; const inventorySpecs = [ { @@ -178,6 +179,7 @@ const inven...
0
diff --git a/src/lib/login/LoginService.js b/src/lib/login/LoginService.js @@ -139,18 +139,19 @@ class LoginService { const decoded = jsonwebtoken.decode(jwt, { json: true }) const token = { jwt, decoded } + const { exp, aud } = decoded || {} log.debug('JWT found, validating', token) // new format of jwt should contain...
0
diff --git a/src/resources/frames.json b/src/resources/frames.json "location": "Mutalist Alad V", "color": 13344533 }, { - "regex": "mirage", - "name": "Mirage", + "regex": "mirage(\\sprime)?", + "name": "Mirage (Prime)", "url": "https://youtu.be/3U8mcBd6yE0", "mr": "0", "health": "80/240", "info": "http://warframe.wik...
3
diff --git a/README.md b/README.md [![Maintainability](https://api.codeclimate.com/v1/badges/05ef990fe1ccb3e56067/maintainability)](https://codeclimate.com/github/moleculerjs/moleculer/maintainability) [![David](https://img.shields.io/david/moleculerjs/moleculer.svg)](https://david-dm.org/moleculerjs/moleculer) [![Know...
3
diff --git a/lib/transaction/trace/aggregator.js b/lib/transaction/trace/aggregator.js @@ -126,7 +126,7 @@ TraceAggregator.prototype.isBetter = function isBetter(name, duration, apdexT) { var isOverThreshold if (config && - config.transaction_threshold && + config.transaction_threshold != null && config.transaction_thr...
11
diff --git a/apps/pokeclk/app.js b/apps/pokeclk/app.js @@ -42,7 +42,7 @@ function time() { var day = d.getDate(); var time = require("locale").time(d,1); var date = require("locale").date(d); - var mo = require("date_utils").month(d.getMonth()+1,0); + var mo = require("date_utils").month(d.getMonth()+1,1); require("Fon...
3
diff --git a/js/igv-color.js b/js/igv-color.js @@ -226,7 +226,8 @@ const IGVColor = { var isHex = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(color); if (color.startsWith("rgba")) { - return color; // TODO -- should replace current alpha with new one + const idx = color.lastIndexOf(","); + return color.substring(0, idx+1...
14
diff --git a/docs/index.md b/docs/index.md @@ -344,12 +344,7 @@ For more information, see the Mozilla Developer Network [xhr.responseType docs]( ### Response text - The `res.text` property contains the unparsed response body string. This - property is always present for the client API, and only when the mime type - mat...
2