Fix security vulnerabilities in your dependencies

Опубликовано: 24 Октябрь 2024
на канале: TypeScript TV with Benny
8,925
137

Learn how to resolve potential security vulnerabilities in your web application that are inherited from unsafe npm dependencies.

Fixes GitHub issue: "We found potential security vulnerabilities in your dependencies."

My FREE programming apps:
https://apps.apple.com/app/id659282498
https://play.google.com/store/apps/de...

My FREE TypeScript Course:
https://typescript.tv/

Timeline:
00:00 Potential security vulnerabilities
01:07 yarn why & npm explain
01:48 Transitive dependency
02:49 Dependency resolution
04:10 Major, minor & patch versions
05:04 yarn why example
06:50 Fixing all outdated dependencies with "resolutions"
07:51 Fixing nested dependency resolutions
08:48 Update lockfiles
10:12 Alternative dependency syntax
10:33 Scan your code for security vulnerabilities

Resources:
➜ https://typescript.tv/errors/

Skeleton icons created by Freepik - Flaticon: https://www.flaticon.com/free-icons/s...

Follow TypeScript TV:
🌐 https://typescript.tv
🐦   / typescripttv  
📺    / typescripttv​  

Hashtags:
#TypeScript #JavaScript #CodeNewbie #Programming