On Fri, Oct 31, 2014 at 1:22 PM, Sam Roberts <[email protected]> wrote:

Indirectly, if you look at the package.json in deps, you can see an
> _npmVersion, which might be considered to map to a particular node
> version if you never change npm from that shipped. At least, from a
> quick check I think that _npmVersion is for the installing npm, not
> the publishing npm.

Unfortunately, both _npmVersion and _nodeVersion (which recent versions of
npm add to package metadata) are added at *publish* time, not *install*
time. Aside from looking at the contents of native modules, there’s no way
to tell which version of Node or npm was used to install a given
node_modules. :/

F
​

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAHG3qKr4Ayk4-g95Az9ue16Vh4DVgQybmyKLLZmAi1ZkHNr_KA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to