---
title: "Discussion on \"Easily Update npm Packages Without the Fear of Breaking the Application\" | Hashnode"
description: "Discussion on \"Easily Update npm Packages Without the Fear of Breaking the Application\". Learn how to easily update npm Packages Without the Fear of Breaking the Application."
url: "https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Easily Update npm Packages Without the Fear of Breaking the Application](https://blog.yogeshchavan.dev/easily-update-npm-packages-without-the-fear-of-breaking-the-application?utm_source=hashnode&utm_medium=feed)

Learn how to easily update npm Packages Without the Fear of Breaking the Application.

Jun 23, 2021 · 5 min read · blog.yogeshchavan.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)

## Written by

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

@myogeshchavan97 · India

  
[View profile](https://hashnode.com/@myogeshchavan97)

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. https://yogeshchavan.dev/. Book 1:1 @ hiretheauthor.com/myogeshchavan97

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. Loves sharing knowledge through technical articles. Dev.to: https://dev.to/myogeshchavan97 https://linktr.ee/myogeshchavan97

## Responses 7

Markdown supported · ⌘↵ to post

[Abheeshta P](https://hashnode.com/@abheeshta)

[Jul 3, 2025](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/686627d361daa1db91395fe7)

This is a great article!! Thanks [Yogesh Chavan](https://hashnode.com/@myogeshchavan97). I have two questions

1.  Is it necessary to run audit can't we skip vulnerabilities? what will be the worst case scenario if we skip it.
2.  Will updating the node itself cause any issues in existing projects? given that it is a major update. Context : I have v20.13.1 and I want to update but not sure if doing so will break my existing projects. Could you please guide me on this?

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jul 3, 2025](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/686627d361daa1db91395fe7#reply-686632fda09875e39b216da6)

1.  You should always try to fix all the vulnerabilities when you want to keep your application secure.

Vulnerable dependencies can lead to real-world exploits such as:

-   Remote code execution
-   Data leaks
-   Denial of service (DoS)

By running audits, you're proactively reducing the risk of these issues in your application.

You should at-least fix the high severity vulnerabilities.

2.  You should always check your current project node version, and each of the above nodejs version changelog if there is any breaking change before updating to the latest.

So If your current Node.js version is 17, you should read all the changelog of version 18, 10 and 20 If you want to update to 20 to see if there is any breaking change, and gradually update your project version to 18 first, then 19 and then 20 to see if anything breaks.

You can use [https://github.com/nvm-sh/nvm](https://github.com/nvm-sh/nvm) to update node.js version without manual uninstall and install.

[Abheeshta P](https://hashnode.com/@abheeshta)

[Jul 3, 2025](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/686627d361daa1db91395fe7#reply-68666ca0ae77ed58b87eef90)

Thank you!! I will try using nvm for managing different versions of node. [Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Pavithra](https://hashnode.com/@Pavithra144)

[Nov 1, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/61801b1ee0cb9449fc48d494)

Awesome

[Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Jun 24, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d480345ed303057ace94ba)

Great advice here [Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jun 24, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d480345ed303057ace94ba#reply-60d4be0912f77505a833c65c)

Thank you so much [Andrew Baisden](https://hashnode.com/@andrewbaisden)

[Hanu](https://hashnode.com/@hanu)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d37ed3f16d577cbe60cbb6)

Good one, very informative. Thanks, Yogesh !!

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jun 24, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d37ed3f16d577cbe60cbb6#reply-60d4bdf55ed303057ace9bcb)

Thank you so much [Hanu](https://hashnode.com/@hanu)

[Rajat Gupta](https://hashnode.com/@rajatetc)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d34e105f4b9079cf3d93b4)

Very useful - just like all of your articles! Thank you for writing.

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d34e105f4b9079cf3d93b4#reply-60d36b2e99fab47c98b62d24)

Thank you so much [Rajat Gupta](https://hashnode.com/@rajatetc)

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d33d8bdb108a78b120dcad)

Very useful article [Yogesh Chavan](https://hashnode.com/@myogeshchavan97).

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d33d8bdb108a78b120dcad#reply-60d33ea9db108a78b120dcf0)

Glad you found it useful. Thank you [Tapas Adhikary](https://hashnode.com/@atapas)

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d2fcae4e084d6e649c565f)

Super useful, thank you!

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jun 23, 2021](https://hashnode.com/posts/easily-update-npm-packages-without-the-fear-of-breaking-the-application/60d2fc654e084d6e649c563b/comment/60d2fcae4e084d6e649c565f#reply-60d2fd2bd81d4d6e9919bf28)

Glad to hear that. Thank you [Catalin Pit](https://hashnode.com/@Catalinpit).
