Skip to content

Commit c27c577

Browse files
authored
Updated dependencies for security releases. (#1451)
1 parent 9a76940 commit c27c577

File tree

8 files changed

+1676
-1223
lines changed

8 files changed

+1676
-1223
lines changed

composer.lock

Lines changed: 1598 additions & 1142 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<exclude-pattern>\.components-civictheme/*</exclude-pattern>
4242
<exclude-pattern>components_combined/*</exclude-pattern>
4343

44+
<!-- Exclude settings.php file. -->
45+
<exclude-pattern>web\/sites\/default\/settings\.php</exclude-pattern>
46+
4447
<!-- Exclude array-heavy files without any logic. -->
4548
<exclude-pattern>web\/modules\/custom\/cs_generated_content\/generated_content\/node\/civictheme_page_variations\/.*</exclude-pattern>
4649

tests/behat/bootstrap/BlockTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ protected function blockConfigureBlockInstance(Block $block, TableNode $fields):
116116
break;
117117

118118
case 'region':
119-
$block->setRegion($value);
119+
$value = is_array($value) ? reset($value) : $value;
120+
$block->setRegion((string) $value);
120121
break;
121122

122123
case 'status':

web/sites/default/default.services.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ parameters:
238238
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
239239
supportsCredentials: false
240240

241+
# The maximum number of entities stored in memory. Lowering this number can
242+
# reduce the amount of memory used in long-running processes like migrations,
243+
# however will also increase requests to the database or entity cache backend.
244+
entity.memory_cache.slots: 1000
245+
241246
queue.config:
242247
# The maximum number of seconds to wait if a queue is temporarily suspended.
243248
# This is not applicable when a queue is suspended but does not specify

web/sites/default/default.settings.php

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767
* during the same request.
6868
*
6969
* One example of the simplest connection array is shown below. To use the
70-
* sample settings, copy and uncomment the code below between the @code and
71-
* @endcode lines and paste it after the $databases declaration. You will need
72-
* to replace the database username and password and possibly the host and port
73-
* with the appropriate credentials for your database system.
70+
* sample settings, copy and uncomment the code below and paste it after the
71+
* $databases declaration. You will need to replace the database username and
72+
* password and possibly the host and port with the appropriate credentials for
73+
* your database system.
7474
*
7575
* The next section describes how to customize the $databases array for more
7676
* specific needs.
@@ -312,7 +312,7 @@
312312
$settings['update_free_access'] = FALSE;
313313

314314
/**
315-
* Fallback to HTTP for Update Manager and for fetching security advisories.
315+
* Fallback to HTTP for Update Status and for fetching security advisories.
316316
*
317317
* If your site fails to connect to updates.drupal.org over HTTPS (either when
318318
* fetching data on available updates, or when fetching the feed of critical
@@ -475,30 +475,6 @@
475475
*/
476476
# $settings['class_loader_auto_detect'] = FALSE;
477477

478-
/**
479-
* Authorized file system operations:
480-
*
481-
* The Update Manager module included with Drupal provides a mechanism for
482-
* site administrators to securely install missing updates for the site
483-
* directly through the web user interface. On securely-configured servers,
484-
* the Update manager will require the administrator to provide SSH or FTP
485-
* credentials before allowing the installation to proceed; this allows the
486-
* site to update the new files as the user who owns all the Drupal files,
487-
* instead of as the user the webserver is running as. On servers where the
488-
* webserver user is itself the owner of the Drupal files, the administrator
489-
* will not be prompted for SSH or FTP credentials (note that these server
490-
* setups are common on shared hosting, but are inherently insecure).
491-
*
492-
* Some sites might wish to disable the above functionality, and only update
493-
* the code directly via SSH or FTP themselves. This setting completely
494-
* disables all functionality related to these authorized file operations.
495-
*
496-
* @see https://www.drupal.org/node/244924
497-
*
498-
* Remove the leading hash signs to disable.
499-
*/
500-
# $settings['allow_authorize_operations'] = FALSE;
501-
502478
/**
503479
* Default mode for directories and files written by Drupal.
504480
*

web/themes/contrib/civictheme/civictheme_starter_kit/package-lock.json

Lines changed: 62 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/themes/contrib/civictheme/includes/menu.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
declare(strict_types=1);
99

1010
use Drupal\civictheme\CivicthemeConstants;
11-
use Drupal\Component\Utility\Xss;
1211
use Drupal\Core\Url;
1312

1413
/**

web/themes/contrib/civictheme/src/CivicthemeStylesheetGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected function getAllStylesheetFiles(): array {
126126
}
127127

128128
/**
129-
* Generate stylesheet using provided variables..
129+
* Generate stylesheet using provided variables.
130130
*
131131
* @param array $variables
132132
* Array of variables to use for the generation.

0 commit comments

Comments
 (0)