Angular 6 Auth0 - global not defined : <p>Ive upgraded my app from angular 5 to angular 6. i get the following error now.</p>

<pre><code>Uncaught ReferenceError: global is not defined
at Object../node_modules/auth0-lock/lib/utils/cdn_utils.js (cdn_utils.js:13)
</code></pre>

<blockquote>
  <p>"angular2-jwt": "^0.2.3", "auth0-js": "^9.5.1", "auth0-lock":
  "^11.6.1",</p>
</blockquote>
