title: Node engine 8.x or 10.x in package.json
body: <p>I tried to specify the node engine in a package.json to accept both <code>8</code> and <code>10</code> version.</p>
  
  <p>I tried to type this:</p>
  
  <pre><code>"engines": {
    "node": "8.x|10.x"
  },
  </code></pre>
  
  <p>But running <code>yarn</code> results in:</p>
  
  <blockquote>
    <p>The engine "node" is incompatible with this module. Expected version "8.x|10.x"</p>
  </blockquote>
  
  <p>If I replace with:</p>
  
  <pre><code>"engines": {
    "node": "10.x"
  },
  </code></pre>
  
  <p>... it works (i.e no error).</p>
  
  <p>Is there a way to accept two versions of node engine in a <code>package.json</code>?</p>