cancel
Showing results for 
Search instead for 
Did you mean: 

2.4.1: "composer outdated" says many modules need updates but "composer update" says there are none

2.4.1: "composer outdated" says many modules need updates but "composer update" says there are none

What am I missing here please? Here's the log:

 

root@prime:/staging/public_html# bin/magento --version
Magento CLI 2.4.1

root@prime:/staging/public_html# php --version
PHP 7.4.13 (cli) (built: Nov 28 2020 06:24:43) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.13, Copyright (c), by Zend Technologies

root@prime:/staging/public_html# composer --version
Composer version 1.10.17 2020-10-30 22:31:58

root@prime:/staging/public_html# composer outdated
braintree/braintree_php                5.2.0    5.4.0     Braintree PHP Client Library
colinmollenhour/cache-backend-redis    1.11.0   1.14.1    Zend_Cache backend using Redis with full support for tags.
colinmollenhour/credis                 1.11.1   v1.12.1   Credis is a lightweight interface to the Redis key-value store which wraps the phpredis library when available for better performance.
composer/composer                      1.10.19  2.0.8     Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.
composer/semver                        1.7.2    3.2.4     Semver library that offers utilities, version constraint parsing and validation.
container-interop/container-interop    1.2.0    1.2.0     Promoting the interoperability of container objects (DIC, SL, etc.)
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
donatj/phpuseragentparser              v0.17.0  v1.1.0    Lightning fast, minimalist PHP UserAgent string parser.
dotmailer/dotmailer-magento2-extension 4.8.0    4.9.2     dotmailer integration for magento 2
elasticsearch/elasticsearch            v7.7.0   v7.10.0   PHP Client for Elasticsearch
guzzlehttp/guzzle                      6.5.5    7.2.0     Guzzle is a PHP HTTP client library
laminas/laminas-code                   3.4.1    3.5.1     Extensions to the PHP Reflection API, static code scanning, and code generation
laminas/laminas-config                 2.6.0    3.4.0     provides a nested object property based user interface for accessing this configuration data within application code
laminas/laminas-crypt                  2.6.0    3.3.1
laminas/laminas-dependency-plugin      1.0.4    2.1.0     Replace zendframework and zfcampus packages with their Laminas Project equivalents.
laminas/laminas-di                     2.6.1    3.2.0
laminas/laminas-diactoros              1.8.7p2  2.5.0     PSR HTTP Message implementations
laminas/laminas-feed                   2.12.3   2.13.0    provides functionality for consuming RSS and Atom feeds
laminas/laminas-hydrator               2.4.2    4.0.1     Serialize objects to arrays, and vice versa
laminas/laminas-inputfilter            2.10.1   2.11.0    Normalize and validate input sets from the web, APIs, the CLI, and more, including files
laminas/laminas-json                   2.6.1    3.1.2     provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP
laminas/laminas-log                    2.12.0   2.13.0    Robust, composite logger with filtering, formatting, and PSR-3 support
laminas/laminas-math                   2.7.1    3.2.0
laminas/laminas-modulemanager          2.9.0    2.10.1    Modular application system for laminas-mvc applications
laminas/laminas-mvc                    2.7.15   3.2.0
laminas/laminas-psr7bridge             0.2.2    1.2.2     PSR-7 <-> Laminas\Http bridge
laminas/laminas-servicemanager         2.7.11   3.5.1
laminas/laminas-text                   2.7.1    2.8.0     Create FIGlets and text-based tables
league/iso3166                         2.1.5    3.0.0     ISO 3166-1 PHP Library
monolog/monolog                        1.26.0   2.2.0     Sends your logs to files, sockets, inboxes, databases and various web services
paragonie/random_compat                v9.99.99 v9.99.100 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
pelago/emogrifier                      v3.1.0   v5.0.0    Converts CSS styles into inline style attributes in your HTML code
phar-io/manifest                       1.0.1    2.0.1     Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                        1.0.1    3.0.4     Library for handling version information and constraints
php-amqplib/php-amqplib                v2.10.1  v2.12.1   Formerly videlalvaro/php-amqplib.  This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.
php-cs-fixer/diff                      v1.3.1   v2.0.2    sebastian/diff v2 backport support for PHP5.6
phpseclib/mcrypt_compat                1.0.8    1.0.11    PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0
phpspec/prophecy                       v1.10.3  1.12.1    Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage              5.3.2    9.2.5     Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator              1.4.5    3.0.5     FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template              1.2.1    2.0.4     Simple template engine.
phpunit/php-timer                      1.0.9    5.0.3     Utility class for timing
phpunit/php-token-stream               2.0.2    4.0.4     Wrapper around PHP's tokenizer extension.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
phpunit/phpunit                        6.5.14   9.5.0     The PHP Unit Testing framework.
phpunit/phpunit-mock-objects           5.0.10   6.1.2     Mock Object library for PHPUnit
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
ramsey/uuid                            3.8.0    4.1.1     Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
sebastian/code-unit-reverse-lookup     1.0.2    2.0.3     Looks up which function or method a line of code belongs to
sebastian/comparator                   2.1.3    4.0.6     Provides the functionality to compare PHP values for equality
sebastian/diff                         2.0.1    4.0.4     Diff implementation
sebastian/environment                  3.1.0    5.1.3     Provides functionality to handle HHVM/PHP environments
sebastian/exporter                     3.1.3    4.0.3     Provides the functionality to export PHP variables for visualization
sebastian/finder-facade                1.2.3    2.0.0     FinderFacade is a convenience wrapper for Symfony's Finder component.
Package sebastian/finder-facade is abandoned, you should avoid using it. No replacement was suggested.
sebastian/global-state                 2.0.0    5.0.2     Snapshotting of global state
sebastian/object-enumerator            3.0.4    4.0.4     Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector             1.1.2    2.0.4     Allows reflection of object attributes, including inherited and non-public ones
sebastian/phpcpd                       3.0.1    6.0.3     Copy/Paste Detector (CPD) for PHP code.
sebastian/recursion-context            3.0.1    4.0.4     Provides functionality to recursively process PHP variables
sebastian/resource-operations          1.0.0    3.0.3     Provides a list of PHP built-in functions that operate on resources
sebastian/version                      2.0.1    3.0.2     Library that helps with managing the version number of Git-hosted PHP projects
symfony/console                        v4.4.17  v5.2.0    Symfony Console Component
symfony/event-dispatcher               v4.4.17  v5.2.0    Symfony EventDispatcher Component
symfony/event-dispatcher-contracts     v1.1.9   v2.2.0    Generic abstractions related to dispatching event
symfony/process                        v4.4.17  v5.2.0    Symfony Process Component
webonyx/graphql-php                    v0.13.9  v14.4.0   A PHP port of GraphQL reference implementation
wikimedia/less.php                     1.8.2    v3.1.0    PHP port of the Javascript version of LESS http://lesscss.org (Originally maintained by Josh Schmidt)

root@prime:/staging/public_html# composer update

Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Package sebastian/finder-facade is abandoned, you should avoid using it. No replacement was suggested.

2 REPLIES 2

Re: 2.4.1: "composer outdated" says many modules need updates but "composer update&qu

@bdamageComposer update command will update the repositories on the basis of composer.json. This is why composer update is not doing anything for you as you have the required version as per composer.json.

 

Composer outdated is telling you that there are newer version available for those modules/repositories. It does not mean that your application/Magento is using the latest version. So you good here.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: 2.4.1: "composer outdated" says many modules need updates but "composer update&am

Hmm. Thanks for your reply, but I'm still not getting it.
Does it mean to get the outdated report to show none, i.e. everything is up to date, I need to manually edit composer.json based on what the outdated command shows? Is there an automatic way to do this?