Sorry, but was there actually a lawsuit in this case? It sounds more like KIK emailed some people at NPM and NPM just said, "OK", then replaced a known module with some other thing.
It's only a matter of time until NPM is socially engineered into replacing a module with something more malicious, if it hasn't already happened.
How do you know what they thought? It seems just as likely to me that they didn't see much merit in the complaint, but didn't think it was worth fighting since IP law is such a mess in the US that even clearly baseless complaints can drag on and become expensive.
It's only a matter of time until NPM is socially engineered into replacing a module with something more malicious, if it hasn't already happened.