No, they do not share C, they will use their own version of C, which is
whatever is specified in the package.json file for that module.


Rick


On Mon, Jan 14, 2013 at 2:45 PM, Thiago Souza <[email protected]> wrote:

> Hello all,
>
>      I've got a basic dependency question. Consider the following
> dependencies:
>
>           (module A) --> (module B)
>           (module A) --> (module C)
>           (module B) --> (module C)
>
>      So, C is a shared dependency between A and B, but A also depends on B.
>      My question is, will A and B share the same C module instance? If so,
> what code base will be used?
>
> Cheers,
> Thiago Souza
>
>
>
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to