Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

ES Module Loader 2.2.0

Compare
Choose a tag to compare
@guybedford guybedford released this 26 May 13:48
· 34 commits to master since this release

Features

  • New default interop to allow import {default} from 'cjs' to work out even when the CJS module contains exports.__esModule = true; exports.default = 'x', which previously would have returned exports 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)