Verified Commit a2c5f7bb authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3118741 by dww, lauriii, alexpott, xjm, nod_, longwave, tedbow, catch:...

Issue #3118741 by dww, lauriii, alexpott, xjm, nod_, longwave, tedbow, catch: [Security] Update yarn dependencies to fix security issues
parent c8a87616
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -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
        !(
          // 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)
+3 −1
Original line number Diff line number Diff line
@@ -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.');
    }
+2 −6
Original line number Diff line number Diff line
@@ -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(),
        );
+1 −1
Original line number Diff line number Diff line
@@ -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();
+2 −1
Original line number Diff line number Diff line
@@ -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 });
Loading