title: EINTEGRITY: npm 5.0 integrity check and modernizr.com dependency
body: <p>I've encountered this error when installing deps of my package: </p>
  
  <pre><code>$ npm i
  npm ERR! code EINTEGRITY
  npm ERR! sha1-tU7jWojzuU8MIY2VLAx+BwluNo0= integrity checksum failed when using sha1: wanted sha1-tU7jWojzuU8MIY2VLAx+BwluNo0= but got sha1-oXYP0kzpbhku0KU+phy353lbBhQ=. (26624 bytes)
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /home/tlenex/.npm/_logs/2017-06-22T10_18_19_773Z-debug.log
  </code></pre>
  
  <p>the problem is with my <code>Modernizr</code> dependency:</p>
  
  <pre><code>"dependencies": {
    "Modernizr": "https://modernizr.com/download?setclasses-flash"
  }
  </code></pre>
  
  <p>is there any way to solve this or ignore this integrity check?</p>
  
  <p>Currently I have to run</p>
  
  <pre><code>npm i https://modernizr.com/download?setclasses-flash
  </code></pre>
  
  <p>again to get things working, which overrides the <code>"integrity"</code> field for <code>"Modernizr"</code> in my <code>package-lock.json</code>. 
  This may happen every time there is a change in <code>Modernizr</code> package fetched from this link and my package dependencies need to be reinstalled (for example, each time on CI build)</p>
  
  <p>If there is no other way of solving this? I hope I wont have to place <code>package-lock.json</code> in my <code>.gitignore</code> file :(</p>
  
  <p>More data about my enviroment:</p>
  
  <pre><code>$ npm -v
  5.0.3
  $ node -v
  v6.11.0
  </code></pre>