Fix NPM Vulnerabilities with NPM Overrides - Secure NOW!

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 18

  • @swamidhyananurag85
    @swamidhyananurag85 Год назад

    Thank you for such short and effective solution!

  • @houcinehannoun6578
    @houcinehannoun6578 9 месяцев назад +2

    You are a life saver, thank you bro

    • @PixemWeb
      @PixemWeb  9 месяцев назад

      Happy to help.

  • @mr_don_key
    @mr_don_key 6 месяцев назад +3

    but what about, when you keep these overrides? you fall behind eventually and it's quite labor intensive changing these overrides over and over...
    What is a package stops in development? (maintainer quits, no ownership transfer.. abandoned lib in essence) If you remove it, it can lead to breakage of other things.. Yet, it's vulnerable.. using an alternative package, can also lead to breaks, since it might not support the needed elements or communicates differently (function names, class names etc, which would mean rewriting you logic code.)
    Also, who audits this? and on what level? (security, stability, features, etc)

    • @VideoWow7184
      @VideoWow7184 5 месяцев назад

      We use a tool called renovate to help automatically keep npm packages upto date. If you haven't used Renovate before, it will watch for new versions of packages you are using and create a PR for them. You can even configure it on a package by package bases to automatically merge the PRs immediately or after a stabilization period. It is silver bullet as there are package incompatibilities as you have mentioned above that break tests, lint, etc that you need to fix manually but it does cut down the amount of effort overall when managing many npm packages. It also means that your always up to date so upgrading packages becomes easier since the gap between your current version and the target version will be much smaller.

  • @vivekiyer9273
    @vivekiyer9273 4 месяца назад +1

    literally saved 5 days of work. Thank you soo much!!

    • @PixemWeb
      @PixemWeb  4 месяца назад

      Glad it helped!

  • @aadeeshjain1
    @aadeeshjain1 6 месяцев назад

    Thanks You Saved My life
    and earned a subscriber

  • @rioeleven1
    @rioeleven1 8 месяцев назад

    thank you, it worked.

  • @sazeebulbashar5686
    @sazeebulbashar5686 Год назад

    Thank You Bro. God bless you.......

  • @jorgeloyola3317
    @jorgeloyola3317 5 месяцев назад

    man, i love u

  • @RajeshFullstack
    @RajeshFullstack Год назад

    Without npm update can we fix vulnerabilities

  • @PhilDiasPJD
    @PhilDiasPJD Год назад

    Does overrides with npm packages work the same way with yarn?

    • @PixemWeb
      @PixemWeb  Год назад +1

      I believe you would use resolutions. I’d have to look into it to see if things have changed since yarn classic versus modern.

  • @mumk
    @mumk 6 месяцев назад

    Thanks so much

  • @PunkSage
    @PunkSage Год назад

    How to use overrides in monorepo?