Update some dependency versions.
Bump NPM version to 0.5.12 in preparation for publishing.