My Drupal version is 8.5.1, and yet when I run...
composer outdated drupal/*
It says "nothing to install or update".
What to do?
This is the relevant part of my composer.json...
"require": {
"composer/installers": "^1.0.21",
"wikimedia/composer-merge-plugin": "~1.3",
"drupal/core": "^8.5"
},
Looks fine to me, but composer says no update is available.
composer clearcache
will clear the cache. Deleting composer.lock is NOT the recommended thing to do, as this can cause issues if you are working with other developers. composer.lock ensures that everyone is using the same versions of libraries.