$ git status
On branch 003-edit-delete-task
Your branch is up to date with 'origin/003-edit-delete-task'.

nothing to commit, working tree clean

$ npm list
npm ERR! code ELSPROBLEMS
npm ERR! missing: @testing-library/jest-dom@^5.16.5, required by [email protected]
npm ERR! missing: @testing-library/react@^13.4.0, required by [email protected]
npm ERR! missing: @testing-library/user-event@^13.5.0, required by [email protected]
npm ERR! missing: react-dom@^18.2.0, required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: react@^18.2.0, required by [email protected]
npm ERR! missing: web-vitals@^2.1.4, required by [email protected]
[email protected] C:\\Users\\Paylabs\\Documents\\firman-paylabs\\github\\tasknote
├── UNMET DEPENDENCY @testing-library/jest-dom@^5.16.5
├── UNMET DEPENDENCY @testing-library/react@^13.4.0
├── UNMET DEPENDENCY @testing-library/user-event@^13.5.0
├── UNMET DEPENDENCY react-dom@^18.2.0
├── UNMET DEPENDENCY [email protected]
├── UNMET DEPENDENCY react@^18.2.0
└── UNMET DEPENDENCY web-vitals@^2.1.4

npm ERR! A complete log of this run can be found in: C:\\Users\\Paylabs\\AppData\\Local\\npm-cache\\_logs\\2023-04-11T06_48_25_306Z-debug-0.log

$ npm audit fix
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: [<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility>](<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility>)
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1483 packages, and audited 1484 packages in 1m

233 packages are looking for funding
run `npm fund` for details

$ npm audit report
nth-check  <2.0.1
Severity: high
Inefficient Regular Expression Complexity in nth-check - [<https://github.com/advisories/GHSA-rp65-9cf3-cjxr>](<https://github.com/advisories/GHSA-rp65-9cf3-cjxr>)
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/svgo/node_modules/nth-check
css-select  <=3.1.0
Depends on vulnerable versions of nth-check
node_modules/svgo/node_modules/css-select
svgo  1.0.0 - 1.3.2
Depends on vulnerable versions of css-select
node_modules/svgo
@svgr/plugin-svgo  <=5.5.0
Depends on vulnerable versions of svgo
node_modules/@svgr/plugin-svgo
@svgr/webpack  4.0.0 - 5.5.0
Depends on vulnerable versions of @svgr/plugin-svgo
node_modules/@svgr/webpack
react-scripts  >=2.1.4
Depends on vulnerable versions of @svgr/webpack
node_modules/react-scripts

6 high severity vulnerabilities

To address all issues (including breaking changes), run:
npm audit fix --force

$ npm list
[email protected] C:\\Users\\Paylabs\\Documents\\firman-paylabs\\github\\tasknote
├── @testing-library/[email protected]
├── @testing-library/[email protected]
├── @testing-library/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

[email protected] kena vulnerabilitiy di dalam sub-dependencies [email protected]

$ npm list nth-check
[email protected] C:\\Users\\Paylabs\\Documents\\firman-paylabs\\github\\tasknote
└─┬ [email protected]
├─┬ @svgr/[email protected]
│ └─┬ @svgr/[email protected]
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └── [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]

kita override si nth-check jadi versi 2.1.1 sebelumnya 1.0.2

Untitled

$ npm list nth-check
npm ERR! code ELSPROBLEMS
npm ERR! invalid: [email protected] C:\\Users\\Paylabs\\Documents\\firman-paylabs\\github\\tasknote\\node_modules\\svgo\\node_modules\\nth-check
[email protected] C:\\Users\\Paylabs\\Documents\\firman-paylabs\\github\\tasknote
└─┬ [email protected]
├─┬ @svgr/[email protected]
│ └─┬ @svgr/[email protected]
│   └─┬ [email protected]
│     └─┬ [email protected] overridden
│       └── [email protected] invalid: "2.1.1" from node_modules/svgo/node_modules/css-select overridden
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ [email protected] overridden
└── [email protected] overridden

npm ERR! A complete log of this run can be found in: C:\\Users\\Paylabs\\AppData\\Local\\npm-cache\\_logs\\2023-04-11T06_53_44_859Z-debug-0.log

$ npm audit fix

removed 1 package, and audited 1483 packages in 4s

233 packages are looking for funding
run `npm fund` for details