title: How to downgrade this node.js module to specific version and prevent automatic upgrade later?
body: <p>I am using node.js Nodemailer module and encountered the following error;</p>
  
  <blockquote>
    <p>[Error: Unsupported configuration, downgrade Nodemailer to v0.7.1 or
    see the migration guide
    <a href="https://github.com/andris9/Nodemailer#migration-guide]" rel="noreferrer">https://github.com/andris9/Nodemailer#migration-guide]</a></p>
  </blockquote>
  
  <p>I looked at my package.json and realize that it is <code>"nodemailer": "^1.8.0",</code> version.</p>
  
  <p>How do I downgrade to v0.7.1 and prevent automatic upgrade later when I run <code>npm update</code>? </p>