composer outdated "drupal/*" ※ηΩϡϦςΟΞοϓσʔτDrushͰ֬ೝՄೳ
$ drush pm:security 1. ରϞδϡʔϧͷΞοϓσʔτΛߦ͏
$ composer update drupal/modulename --with- dependencies ※ϝδϟʔΞοϓσʔτ(ྫɿ1.x ͔Β 2.x)ͷ߹requireίϚϯυ͕ඞཁ
$ composer require drupal/modulename:^2.0 1. σʔλϕʔεΛΞοϓσʔτ͢Δ
$ drush updatedb 2. ΩϟογϡΛΫϦΞ͢Δ
$ drush cache:rebuild Drupal CoreͷΞοϓσʔτखॱ 1. DBͱιʔείʔυͷόοΫΞοϓΛऔಘ͢ΔɻDBDrushίϚϯυͷ drush sql:dumpͰόοΫΞοϓΛ࡞Մೳɻ 2. αΠτΛϝϯςφϯεϞʔυʹ͢ΔʢߦΘͳ͍͜ͱ͋Δʣ 3. ϞδϡʔϧͷΞοϓσʔτΛߦ͏ʢӈهʣ 4. CoreͷΞοϓσʔτΛߦ͏
$ composer update "drupal/core-*" --with-all- dependencies 5. σʔλϕʔεΛΞοϓσʔτ͢Δ
$ drush updatedb 6. ΩϟογϡΛΫϦΞ͢Δ
$ drush cache:rebuild 7. αΠτͷϝϯςφϯεϞʔυΛղআ͢Δ https://www.drupal.org/docs/updating-drupal/updating- modules-and-themes-using-composer https://www.drupal.org/docs/updating-drupal/updating- drupal-core-via-composer