Skip to content

Commit b53f7c8

Browse files
author
Kopylova,Olga(okopylova)
committed
Merge pull request #1 from magento-ogre/MAGETWO-49572-composer-vulnerability
MAGETWO-49572: Vulnerable package found (composer/composer (1.0.0-alpha10))
2 parents 1be267e + a685ef3 commit b53f7c8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "magento/composer",
33
"description": "Magento composer library helps to instantiate Composer application and run composer commands.",
44
"type": "library",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"license": [
77
"OSL-3.0",
88
"AFL-3.0"
99
],
1010
"require": {
1111
"php": "~5.5.0|~5.6.0|~7.0.0",
12-
"composer/composer": "1.0.0-alpha10",
12+
"composer/composer": "1.0.0-beta1",
1313
"symfony/console": "~2.3 <2.7"
1414
},
1515
"require-dev": {

src/InfoCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ public function __construct(MagentoComposerApplication $magentoComposerApplicati
5353
*/
5454
public function run($package, $installed = false)
5555
{
56+
$showAllPackages = !$installed;
5657
$commandParameters = [
5758
'command' => 'info',
5859
'package' => $package,
59-
'-i' => $installed
60+
'-i' => $installed,
61+
'--all' => $showAllPackages,
6062
];
6163

6264
$result = [];

0 commit comments

Comments
 (0)