title: Composer RuntimeException - Could not load package mews/purifier
body: <p>I have previously installed mews/purifier package and it was working fine. Now I want to update packages using <code>composer update</code>, this is where I get this error:</p>
  <pre><code> [RuntimeException]                                                                             
    Could not load package mews/purifier in http://repo.packagist.org: [UnexpectedValueException]  
     Could not parse version constraint ~4.*: Invalid version string &quot;~4.*&quot;
  </code></pre>
  <p>I already checked the package list and it has this package <a href="https://packagist.org/packages/mews/purifier" rel="noreferrer">https://packagist.org/packages/mews/purifier</a></p>
  <p>I tried to remove it from <code>composer.json</code> by removing this line:</p>
  <pre><code>&quot;mews/purifier&quot;: &quot;^3.2&quot;,
  </code></pre>
  <p>But the error persists. I also removed associated lines in the <code>app.php</code> file.</p>
  <pre><code>'providers' =&gt; [
  Mews\Purifier\PurifierServiceProvider::class
  ],
  'aliases' =&gt; [
  'Purifier' =&gt; Mews\Purifier\Facades\Purifier::class
  ]
  
  </code></pre>
  <p>I really don't know what the problem is here. It all began when I wanted to install a package and I realized this issue.</p>