NPM global package not updating

Recently I was told by a repo manager that my library was (very) old and I needed to update it.



Can anyone tell me why the library below is not updating? I have tried npm update and also npm uninstall && npm install:

owner@G700:~/PhpstormProjects/aws_amplify$ amplify --version
0.1.38
owner@G700:~/PhpstormProjects/aws_amplify$ npm update -g @aws-amplify/cli
owner@G700:~/PhpstormProjects/aws_amplify$ amplify --version
0.1.38
owner@G700:~/PhpstormProjects/aws_amplify$ npm uninstall -g @aws-amplify/cli
removed 1037 packages in 26.382s
owner@G700:~/PhpstormProjects/aws_amplify$ npm install -g @aws-amplify/cli
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
/home/owner/.nvm/versions/node/v12.4.0/bin/amplify -> /home/owner/.nvm/versions/node/v12.4.0/lib/node_modules/@aws-amplify/cli/bin/amplify

> core-js@3.6.4 postinstall /home/owner/.nvm/versions/node/v12.4.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-graphql-types-generator/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> core-js@2.6.11 postinstall /home/owner/.nvm/versions/node/v12.4.0/lib/node_modules/@aws-amplify/cli/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> ejs@3.0.2 postinstall /home/owner/.nvm/versions/node/v12.4.0/lib/node_modules/@aws-amplify/cli/node_modules/ejs
> node --harmony ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> @aws-amplify/cli@4.17.2 postinstall /home/owner/.nvm/versions/node/v12.4.0/lib/node_modules/@aws-amplify/cli
> node scripts/post-install.js



----------------------------------------
Successfully installed the Amplify CLI
----------------------------------------


JavaScript Getting Started - https://aws-amplify.github.io/docs/js/start


Android Getting Started - https://aws-amplify.github.io/docs/android/start


iOS Getting Started - https://aws-amplify.github.io/docs/ios/start


npm WARN inquirer-autocomplete-prompt@1.0.2 requires a peer of inquirer@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-compat@3.5.1 requires a peer of eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/@aws-amplify/cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ @aws-amplify/cli@4.17.2
added 1035 packages from 711 contributors and updated 2 packages in 233.643s
owner@G700:~/PhpstormProjects/aws_amplify$ amplify --version
0.1.38
owner@G700:~/PhpstormProjects/aws_amplify$ npm update -g @aws-amplify/cli
owner@G700:~/PhpstormProjects/aws_amplify$ amplify --version
0.1.38