Versioning logic for node-pre-gyp packaged Node.js native modules