If the package.json version number is "*", will the latest version be installed when install?

like this, which version of the package will be installed when npm install ?

clipboard.png

Jun.28,2022

"dependencies": {
    "bluebird": "^3.3.4",
    "body-parser": "~1.15.2",
    "querystring": "*"
  }
~1.15.2 :=  >=1.15.2 <1.16.0     

^3.3.4 := >=3.3.4 <4.0.0
querystring:

as long as the version of the dependent package is not specified, all the packages under npm install are the latest packages

Menu