-1

I have many version of my appliction in nexus with versions 1.52.0-xxxxx the xxxx is different dates I have also version of 1.53 and 1.54 How I can get the latest 1.52.0-with the latest date without get the 1.53 version and later this is my package.json

 "name": "client-tests",
  "version": "0.0.1",
  "devDependencies": {
    "myApp":>="1.52.0".
}
user1365697
  • 5,819
  • 15
  • 60
  • 96

1 Answers1

1

Update answer

After getting more information in the comments and after the question got edited, I now see that you need to update the version of a Node package, not a version of Node itself as was asked originally.

To get the latest version of 1.52.x but not 1.53.x use:

"myApp": "1.52.x"

in package.json. You could also do:

"myApp": ">=1.52.0 <1.53.0"

or:

"myApp": "~1.52.0"

See the documentation for more info:

and the the documentation of the semver module for even more details:

Original answer

The latest version of Node is not 1.52 but 7.x and soon 8.0 will be released.

To see you re node version run:

node -v

in the commend line, or test process.versions.node on the Node program.

To upgrade see those answers:

rsp
  • 107,747
  • 29
  • 201
  • 177