isaacs/npm — Issue #1613: uidNumber provides undefined uid and gid
Author: mfncooper
Created: 2011-10-27 16:25:23+00:00
State: open

The first line of the uidNumber function:

https://github.com/isaacs/npm/blob/master/lib/utils/uid-number.js#L18

may call the callback with no error but undefined values for uid and gid. Those undefined values are later passed in to unpack_ and show up in the verbose logs:

https://github.com/isaacs/npm/blob/master/lib/utils/tar.js#L163

I'm not 100% sure that this is unintended, but it doesn't "feel" right.