This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
ES Module Loader 2.2.0
Features
- New default interop to allow
import {default} from 'cjs'
to work out even when the CJS module containsexports.__esModule = true; exports.default = 'x'
, which previously would have returnedexports
instead of'x'
(ad8ca7d) - Upgrades to the new WhatWG spec error algorithm of caching fetch and evaluation errors. Support for
Loader.prototype.delete
is provided to ensure this can clear that state. (#533)
Bug Fixes
- Fixes the URL resolution algorithm to ensure that
./x/some:path
is not detected as an absolute URL (d3a2e33)