Upgrade the package.json

package update

Updated date: 2024-08-16


Here is the message

$ npm run dev
...
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
$ npm ls --all
...
├─┬ eslint-config-next@13.3.1
│ ├─┬ @next/eslint-plugin-next@13.3.1
│ │ └─┬ glob@7.1.7
│ │   ├── fs.realpath@1.0.0
│ │   ├─┬ inflight@1.0.6
│ │   │ ├── once@1.4.0 deduped
│ │   │ └── wrappy@1.0.2
│ │   ├── inherits@2.0.4
│ │   ├── minimatch@3.1.2 deduped
│ │   ├─┬ once@1.4.0
│ │   │ └── wrappy@1.0.2 deduped
│ │   └── path-is-absolute@1.0.1

Upgrading eslint-config-next will not impact the site, so I will update the package to the latest.

$ npm install eslint-config-next@latest --save-dev

Note: --save-dev and --save

$ npm cache clean --force
npm WARN using --force Recommended protections disabled.
$ npm install -i