CAPMO interview question

What is your decision strategy when upgrading node packages for a project?