1.npm updateの結果
・npm outdated では、全てLatestのversionにはならない
・Wanted のversion までupdate
2.古いversionのpakageを確認
# npm outdated Package Current Wanted Latest Location Depended by axios 0.26.1 0.26.1 0.27.2 node_modules/axios 327s body-parser 1.19.0 1.20.0 1.20.0 node_modules/body-parser 327s connect-redis 4.0.4 4.0.4 6.1.3 node_modules/connect-redis 327s currency.js 1.2.2 1.2.2 2.0.4 node_modules/currency.js 327s dotenv 16.0.0 16.0.1 16.0.1 node_modules/dotenv 327s express 4.17.1 4.18.1 4.18.1 node_modules/express 327s express-session 1.17.2 1.17.3 1.17.3 node_modules/express-session 327s finalhandler 1.1.2 1.2.0 1.2.0 node_modules/finalhandler 327s redis 3.1.2 3.1.2 4.1.0 node_modules/redis 327s serve-static 1.14.1 1.15.0 1.15.0 node_modules/serve-static 327s sqlite3 4.2.0 4.2.0 5.0.8 node_modules/sqlite3 327s tslib 2.2.0 2.4.0 2.4.0 node_modules/tslib 327s uniqid 5.3.0 5.4.0 5.4.0 node_modules/uniqid 327s uuid 7.0.3 7.0.3 8.3.2 node_modules/uuid 327s
3.update
# npm update npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future added 74 packages, removed 54 packages, changed 92 packages, and audited 739 packages in 1m 91 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
4.再度、古いversionのpakageを確認
# npm outdated Package Current Wanted Latest Location Depended by axios 0.26.1 0.26.1 0.27.2 node_modules/axios 327s connect-redis 4.0.4 4.0.4 6.1.3 node_modules/connect-redis 327s currency.js 1.2.2 1.2.2 2.0.4 node_modules/currency.js 327s redis 3.1.2 3.1.2 4.1.0 node_modules/redis 327s sqlite3 4.2.0 4.2.0 5.0.8 node_modules/sqlite3 327s uuid 7.0.3 7.0.3 8.3.2 node_modules/uuid 327s #