how to safely update dependencies with yarn code example Example: yarn update all dependencies to latest yarn upgrade --latest