Issue #3118741 by dww, lauriii, xjm, nod_, tedbow, longwave, catch: [Security] Update yarn dependencies to fix security issues
parent
2a5cd8c8ad
commit
0aea9b99f8
|
@ -102,7 +102,9 @@
|
|||
if (xmlhttp.status) {
|
||||
statusCode = `\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t(
|
||||
'HTTP Result Code: !status',
|
||||
{ '!status': xmlhttp.status },
|
||||
{
|
||||
'!status': xmlhttp.status,
|
||||
},
|
||||
)}`;
|
||||
} else {
|
||||
statusCode = `\n${Drupal.t(
|
||||
|
@ -1131,12 +1133,14 @@
|
|||
(response.effect || ajax.effect) !== 'none' &&
|
||||
$newContent.filter(
|
||||
i =>
|
||||
!// We can not consider HTML comments or whitespace text as separate
|
||||
// roots, since they do not cause visual regression with effect.
|
||||
(
|
||||
$newContent[i].nodeName === '#comment' ||
|
||||
($newContent[i].nodeName === '#text' &&
|
||||
/^(\s|\n|\r)*$/.test($newContent[i].textContent))
|
||||
!(
|
||||
// We can not consider HTML comments or whitespace text as separate
|
||||
// roots, since they do not cause visual regression with effect.
|
||||
(
|
||||
$newContent[i].nodeName === '#comment' ||
|
||||
($newContent[i].nodeName === '#text' &&
|
||||
/^(\s|\n|\r)*$/.test($newContent[i].textContent))
|
||||
)
|
||||
),
|
||||
).length > 1
|
||||
? Drupal.theme('ajaxWrapperMultipleRootElements', $newContent)
|
||||
|
|
|
@ -57,7 +57,9 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
|
|||
var statusText = void 0;
|
||||
var responseText = void 0;
|
||||
if (xmlhttp.status) {
|
||||
statusCode = '\n' + Drupal.t('An AJAX HTTP error occurred.') + '\n' + Drupal.t('HTTP Result Code: !status', { '!status': xmlhttp.status });
|
||||
statusCode = '\n' + Drupal.t('An AJAX HTTP error occurred.') + '\n' + Drupal.t('HTTP Result Code: !status', {
|
||||
'!status': xmlhttp.status
|
||||
});
|
||||
} else {
|
||||
statusCode = '\n' + Drupal.t('An AJAX HTTP request terminated abnormally.');
|
||||
}
|
||||
|
|
|
@ -65,18 +65,14 @@
|
|||
colorStart = farb.unpack(
|
||||
form
|
||||
.find(
|
||||
`.color-palette input[name="palette[${
|
||||
settings.gradients[i].colors[0]
|
||||
}]"]`,
|
||||
`.color-palette input[name="palette[${settings.gradients[i].colors[0]}]"]`,
|
||||
)
|
||||
.val(),
|
||||
);
|
||||
colorEnd = farb.unpack(
|
||||
form
|
||||
.find(
|
||||
`.color-palette input[name="palette[${
|
||||
settings.gradients[i].colors[1]
|
||||
}]"]`,
|
||||
`.color-palette input[name="palette[${settings.gradients[i].colors[1]}]"]`,
|
||||
)
|
||||
.val(),
|
||||
);
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
// Open/close the description details by toggling a tr class.
|
||||
$tbodies.on('click keydown', '.description', function(e) {
|
||||
if (e.keyCode && (e.keyCode !== 13 && e.keyCode !== 32)) {
|
||||
if (e.keyCode && e.keyCode !== 13 && e.keyCode !== 32) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
|
|
|
@ -243,7 +243,8 @@
|
|||
// proceed to set the fields to candidate state.
|
||||
if (
|
||||
(changedFields.length || this.get('fieldsInTempStore').length) &&
|
||||
(!options.saved && !options.confirmed)
|
||||
!options.saved &&
|
||||
!options.confirmed
|
||||
) {
|
||||
// Cancel deactivation until the user confirms save or discard.
|
||||
this.set('state', 'opened', { confirming: true });
|
||||
|
|
|
@ -58,10 +58,6 @@
|
|||
color: #8e929c;
|
||||
}
|
||||
|
||||
::-ms-input-placeholder {
|
||||
color: #8e929c;
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
color: #8e929c;
|
||||
}
|
||||
|
|
2245
core/yarn.lock
2245
core/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue