When you are prompted by Composer during an update of your Drupal site - there are a few different options.
Here's the expanded version of each:
Discard changes [y,n,v,d,s,?] y - discard changes and apply the update n - abort the update and let you manually clean things up v - view modified files d - view local modifications (diff) s - stash changes and try to reapply them after the update
donmc@cooee120 /var/www/jaxbeachtech.com.d8 $ composer update --with-dependencies Gathering patches for root package. No patches supplied. Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 0 installs, 2 updates, 6 removals - Removing drupal/coder (8.2.12) The package has modified files: D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.inc D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.inc.fixed D coder_sniffer/Drupal/Test/Array/ArrayUnitTest.php D coder_sniffer/Drupal/Test/Array/DisallowLongArraySyntaxUnitTest.php D coder_sniffer/Drupal/Test/Array/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc D coder_sniffer/Drupal/Test/Array/disallow_long_array_d7/disallow_long_array_d7.info D coder_sniffer/Drupal/Test/Array/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc D coder_sniffer/Drupal/Test/Array/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc.fixed D coder_sniffer/Drupal/Test/Array/disallow_long_array_d8/disallow_long_array_d8.info.yml D coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.inc 238 more files modified, choose "v" to view the full list Discard changes [y,n,v,d,?]? y - Removing doctrine/instantiator (1.0.5) - Removing behat/mink-selenium2-driver (dev-master) The package has modified files: D composer.json Discard changes [y,n,v,d,?]? y - Removing behat/mink-goutte-driver (v1.2.1) - Removing behat/mink-browserkit-driver (1.3.3) - Removing behat/mink (dev-master) The package has modified files: D composer.json D tests/Driver/CoreDriverTest.php D tests/Element/DocumentElementTest.php D tests/Element/ElementTest.php D tests/Element/NodeElementTest.php D tests/Exception/ElementExceptionTest.php D tests/Exception/ElementHtmlExceptionTest.php D tests/Exception/ElementNotFoundExceptionTest.php D tests/Exception/ElementTextExceptionTest.php D tests/Exception/ExpectationExceptionTest.php 12 more files modified, choose "v" to view the full list Discard changes [y,n,v,d,?]? y Gathering patches for root package. No patches supplied. Gathering patches for dependencies. This might take a minute. - Updating composer/installers (v1.5.0 => v1.6.0): Downloading (100%) - Updating drupal/bootstrap_barrio (4.21.0 => 4.22.0): Downloading (100%) Writing lock file Generating autoload files donmc@cooee120 /var/www/jaxbeachtech.com.d8 $