Hi

This is a "best practices" question, motivated by the need to test against 
many versions of node.

For any given version of node, what's the best, most appropriate, and least 
likely to be problematic version of npm to use?

Node ships with npm, so I'm inclined to just use the version of npm which 
ships with the version of node that I'm testing against. But there are 
inevitably occasional breakages or security issues, so that means that if I 
use this approach, I probably need to keep track of those issues and tweak 
the npm version accordingly.

Another approach is to take the minor version which ships with a given 
node, and upgrade it to the highest patch release. That's probably going to 
take care of the instances I mentioned above, where there are bugs in 
particular versions of npm I would think.

Yet another approach is to just upgrade to the most recent version of npm. 
That seems a bit fraught, given that there are breaking changes in version 
2.x.

My apologies if this is a FAQ. I will accept admonishment with appropriate 
humility; also gratitude, if it's accompanied by a reference, ideally in 
the form of a URL.

TIA
cheers, J

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/b2a0d607-7e1a-4b20-80b7-cc1570d31a1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to