Skip to content

Commit 9e1385d

Browse files
authored
Merge pull request #525 from matomo-org/PG-3461-update-dependency
Update grpc/grpc dependency to avoid vulnerability
2 parents 129574f + b77709c commit 9e1385d

File tree

11 files changed

+61
-61
lines changed

11 files changed

+61
-61
lines changed

composer.lock

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

vendor/autoload_original.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
require_once __DIR__ . '/composer/autoload_real.php';
1111

12-
return ComposerAutoloaderInitc08e4cdc30bf907d6daec986e582bb21::getLoader();
12+
return ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b::getLoader();

vendor/composer/autoload_real.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInitc08e4cdc30bf907d6daec986e582bb21
5+
class ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b
66
{
77
private static $loader;
88

@@ -22,18 +22,18 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25-
spl_autoload_register(array('ComposerAutoloaderInitc08e4cdc30bf907d6daec986e582bb21', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27-
spl_autoload_unregister(array('ComposerAutoloaderInitc08e4cdc30bf907d6daec986e582bb21', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInit4772b4f8b1accc7fd3f3497a28a4653b', 'loadClassLoader'));
2828

2929
require __DIR__ . '/autoload_static.php';
30-
call_user_func(\Composer\Autoload\ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::getInitializer($loader));
3131

3232
$loader->register(true);
3333

34-
$includeFiles = \Composer\Autoload\ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21::$files;
34+
$includeFiles = \Composer\Autoload\ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$files;
3535
foreach ($includeFiles as $fileIdentifier => $file) {
36-
composerRequirec08e4cdc30bf907d6daec986e582bb21($fileIdentifier, $file);
36+
composerRequire4772b4f8b1accc7fd3f3497a28a4653b($fileIdentifier, $file);
3737
}
3838

3939
return $loader;
@@ -45,7 +45,7 @@ public static function getLoader()
4545
* @param string $file
4646
* @return void
4747
*/
48-
function composerRequirec08e4cdc30bf907d6daec986e582bb21($fileIdentifier, $file)
48+
function composerRequire4772b4f8b1accc7fd3f3497a28a4653b($fileIdentifier, $file)
4949
{
5050
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
5151
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

vendor/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21
7+
class ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b
88
{
99
public static $files = array(
1010
);
@@ -175,9 +175,9 @@ class ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21
175175
public static function getInitializer(ClassLoader $loader)
176176
{
177177
return \Closure::bind(function () use ($loader) {
178-
$loader->prefixLengthsPsr4 = ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21::$prefixLengthsPsr4;
179-
$loader->prefixDirsPsr4 = ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21::$prefixDirsPsr4;
180-
$loader->classMap = ComposerStaticInitc08e4cdc30bf907d6daec986e582bb21::$classMap;
178+
$loader->prefixLengthsPsr4 = ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$prefixLengthsPsr4;
179+
$loader->prefixDirsPsr4 = ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$prefixDirsPsr4;
180+
$loader->classMap = ComposerStaticInit4772b4f8b1accc7fd3f3497a28a4653b::$classMap;
181181

182182
}, null, ClassLoader::class);
183183
}

vendor/composer/installed.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -599,17 +599,17 @@
599599
},
600600
{
601601
"name": "grpc/grpc",
602-
"version": "1.42.0",
603-
"version_normalized": "1.42.0.0",
602+
"version": "1.57.0",
603+
"version_normalized": "1.57.0.0",
604604
"source": {
605605
"type": "git",
606606
"url": "https://github.com/grpc/grpc-php.git",
607-
"reference": "9fa44f104cb92e924d4da547323a97f3d8aca6d4"
607+
"reference": "b610c42022ed3a22f831439cb93802f2a4502fdf"
608608
},
609609
"dist": {
610610
"type": "zip",
611-
"url": "https://api.github.com/repos/grpc/grpc-php/zipball/9fa44f104cb92e924d4da547323a97f3d8aca6d4",
612-
"reference": "9fa44f104cb92e924d4da547323a97f3d8aca6d4",
611+
"url": "https://api.github.com/repos/grpc/grpc-php/zipball/b610c42022ed3a22f831439cb93802f2a4502fdf",
612+
"reference": "b610c42022ed3a22f831439cb93802f2a4502fdf",
613613
"shasum": ""
614614
},
615615
"require": {
@@ -622,7 +622,7 @@
622622
"ext-protobuf": "For better performance, install the protobuf C extension.",
623623
"google/protobuf": "To get started using grpc quickly, install the native protobuf library."
624624
},
625-
"time": "2021-11-19T08:13:51+00:00",
625+
"time": "2023-08-14T23:57:54+00:00",
626626
"type": "library",
627627
"installation-source": "dist",
628628
"autoload": {
@@ -640,7 +640,7 @@
640640
"rpc"
641641
],
642642
"support": {
643-
"source": "https://github.com/grpc/grpc-php/tree/v1.42.0"
643+
"source": "https://github.com/grpc/grpc-php/tree/v1.57.0"
644644
},
645645
"install-path": "../grpc/grpc"
646646
},

vendor/composer/installed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => '__root__',
44
'pretty_version' => 'dev-5.x-dev',
55
'version' => 'dev-5.x-dev',
6-
'reference' => '03f5ed59057cfc2b8688b1e31118e3715b89824a',
6+
'reference' => '129574f4684b701a1cd7a273bcad12249161c47e',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,7 +13,7 @@
1313
'__root__' => array(
1414
'pretty_version' => 'dev-5.x-dev',
1515
'version' => 'dev-5.x-dev',
16-
'reference' => '03f5ed59057cfc2b8688b1e31118e3715b89824a',
16+
'reference' => '129574f4684b701a1cd7a273bcad12249161c47e',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
@@ -119,9 +119,9 @@
119119
'dev_requirement' => false,
120120
),
121121
'grpc/grpc' => array(
122-
'pretty_version' => '1.42.0',
123-
'version' => '1.42.0.0',
124-
'reference' => '9fa44f104cb92e924d4da547323a97f3d8aca6d4',
122+
'pretty_version' => '1.57.0',
123+
'version' => '1.57.0.0',
124+
'reference' => 'b610c42022ed3a22f831439cb93802f2a4502fdf',
125125
'type' => 'library',
126126
'install_path' => __DIR__ . '/../grpc/grpc',
127127
'aliases' => array(),

vendor/prefixed/grpc/grpc/src/lib/BaseStub.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class BaseStub
4141
*/
4242
public function __construct($hostname, $opts, $channel = null)
4343
{
44-
if (!method_exists('ChannelCredentials', 'isDefaultRootsPemSet') || !ChannelCredentials::isDefaultRootsPemSet()) {
44+
if (!method_exists('Matomo\\Dependencies\\GoogleAnalyticsImporter\\Grpc\\ChannelCredentials', 'isDefaultRootsPemSet') || !ChannelCredentials::isDefaultRootsPemSet()) {
4545
$ssl_roots = file_get_contents(dirname(__FILE__) . '/../../etc/roots.pem');
4646
ChannelCredentials::setDefaultRootsPem($ssl_roots);
4747
}
@@ -107,7 +107,7 @@ private static function updateOpts($opts)
107107
public static function getDefaultChannel($hostname, array $opts)
108108
{
109109
$channel_opts = self::updateOpts($opts);
110-
return new Channel($hostname, $opts);
110+
return new Channel($hostname, $channel_opts);
111111
}
112112
/**
113113
* @return string The URI of the endpoint
@@ -129,7 +129,7 @@ public function getConnectivityState($try_to_connect = \false)
129129
* @param int $timeout in microseconds
130130
*
131131
* @return bool true if channel is ready
132-
* @throw Exception if channel is in FATAL_ERROR state
132+
* @throws Exception if channel is in FATAL_ERROR state
133133
*/
134134
public function waitForReady($timeout)
135135
{
@@ -162,7 +162,7 @@ public function close()
162162
* @param $new_state Connect state
163163
*
164164
* @return bool true if state is CHANNEL_READY
165-
* @throw Exception if state is CHANNEL_FATAL_FAILURE
165+
* @throws Exception if state is CHANNEL_FATAL_FAILURE
166166
*/
167167
private function _checkConnectivityState($new_state)
168168
{
@@ -213,7 +213,7 @@ private function _get_jwt_aud_uri($method)
213213
* @param array $metadata The metadata map
214214
*
215215
* @return array $metadata Validated and key-normalized metadata map
216-
* @throw InvalidArgumentException if key contains invalid characters
216+
* @throws InvalidArgumentException if key contains invalid characters
217217
*/
218218
private function _validate_and_normalize_metadata($metadata)
219219
{

vendor/prefixed/vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
require_once __DIR__ . '/composer/autoload_real.php';
1111

12-
return ComposerAutoloaderInit6eee63908e021fe7b88de30f34493f4a::getLoader();
12+
return ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b::getLoader();

vendor/prefixed/vendor/composer/autoload_classmap.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Iam\\V1\\Policy' => $baseDir . '/google/common-protos/metadata/Iam/V1/Policy.php',
8282
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Logging\\Type\\HttpRequest' => $baseDir . '/google/common-protos/metadata/Logging/Type/HttpRequest.php',
8383
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Logging\\Type\\LogSeverity' => $baseDir . '/google/common-protos/metadata/Logging/Type/LogSeverity.php',
84-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Longrunning\\Operations' => $baseDir . '/google/common-protos/metadata/Longrunning/Operations.php',
84+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Longrunning\\Operations' => $baseDir . '/google/longrunning/metadata/Longrunning/Operations.php',
8585
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Any' => $baseDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Any.php',
8686
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Api' => $baseDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Api.php',
8787
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\GPBMetadata\\Google\\Protobuf\\Duration' => $baseDir . '/google/protobuf/src/GPBMetadata/Google/Protobuf/Duration.php',
@@ -957,13 +957,13 @@
957957
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Http\\MediaFileUpload' => $baseDir . '/google/apiclient/src/Http/MediaFileUpload.php',
958958
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Http\\REST' => $baseDir . '/google/apiclient/src/Http/REST.php',
959959
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Iam\\V1\\Logging\\AuditData' => $baseDir . '/google/common-protos/src/Iam/V1/Logging/AuditData.php',
960-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\CancelOperationRequest' => $baseDir . '/google/common-protos/src/LongRunning/CancelOperationRequest.php',
961-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\DeleteOperationRequest' => $baseDir . '/google/common-protos/src/LongRunning/DeleteOperationRequest.php',
962-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\GetOperationRequest' => $baseDir . '/google/common-protos/src/LongRunning/GetOperationRequest.php',
963-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsRequest' => $baseDir . '/google/common-protos/src/LongRunning/ListOperationsRequest.php',
964-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsResponse' => $baseDir . '/google/common-protos/src/LongRunning/ListOperationsResponse.php',
965-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation' => $baseDir . '/google/common-protos/src/LongRunning/Operation.php',
966-
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationInfo' => $baseDir . '/google/common-protos/src/LongRunning/OperationInfo.php',
960+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\CancelOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/CancelOperationRequest.php',
961+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\DeleteOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/DeleteOperationRequest.php',
962+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\GetOperationRequest' => $baseDir . '/google/longrunning/src/LongRunning/GetOperationRequest.php',
963+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsRequest' => $baseDir . '/google/longrunning/src/LongRunning/ListOperationsRequest.php',
964+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\ListOperationsResponse' => $baseDir . '/google/longrunning/src/LongRunning/ListOperationsResponse.php',
965+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\Operation' => $baseDir . '/google/longrunning/src/LongRunning/Operation.php',
966+
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\LongRunning\\OperationInfo' => $baseDir . '/google/longrunning/src/LongRunning/OperationInfo.php',
967967
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Model' => $baseDir . '/google/apiclient/src/Model.php',
968968
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Any' => $baseDir . '/google/protobuf/src/Google/Protobuf/Any.php',
969969
'Matomo\\Dependencies\\GoogleAnalyticsImporter\\Google\\Protobuf\\Api' => $baseDir . '/google/protobuf/src/Google/Protobuf/Api.php',

vendor/prefixed/vendor/composer/autoload_real.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit6eee63908e021fe7b88de30f34493f4a
5+
class ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b
66
{
77
private static $loader;
88

@@ -22,18 +22,18 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25-
spl_autoload_register(array('ComposerAutoloaderInit6eee63908e021fe7b88de30f34493f4a', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27-
spl_autoload_unregister(array('ComposerAutoloaderInit6eee63908e021fe7b88de30f34493f4a', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInitefbbfbccb77cf1d72296999539684a3b', 'loadClassLoader'));
2828

2929
require __DIR__ . '/autoload_static.php';
30-
call_user_func(\Composer\Autoload\ComposerStaticInit6eee63908e021fe7b88de30f34493f4a::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInitefbbfbccb77cf1d72296999539684a3b::getInitializer($loader));
3131

3232
$loader->register(true);
3333

34-
$includeFiles = \Composer\Autoload\ComposerStaticInit6eee63908e021fe7b88de30f34493f4a::$files;
34+
$includeFiles = \Composer\Autoload\ComposerStaticInitefbbfbccb77cf1d72296999539684a3b::$files;
3535
foreach ($includeFiles as $fileIdentifier => $file) {
36-
composerRequire6eee63908e021fe7b88de30f34493f4a($fileIdentifier, $file);
36+
composerRequireefbbfbccb77cf1d72296999539684a3b($fileIdentifier, $file);
3737
}
3838

3939
return $loader;
@@ -45,7 +45,7 @@ public static function getLoader()
4545
* @param string $file
4646
* @return void
4747
*/
48-
function composerRequire6eee63908e021fe7b88de30f34493f4a($fileIdentifier, $file)
48+
function composerRequireefbbfbccb77cf1d72296999539684a3b($fileIdentifier, $file)
4949
{
5050
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
5151
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

0 commit comments

Comments
 (0)