From 62e442f9ca879ef5398f72f292045ace38493404 Mon Sep 17 00:00:00 2001 From: X Date: Fri, 10 Sep 2021 13:47:40 +0800 Subject: [PATCH] Update change log --- CHANGELOG.md | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6340c720..0aa08194 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,39 @@ # Change Log -## v48 +## v49 -- Improve **cjs-lexer** service to handle a edge case is shown below: +- Improve the build process to fix an edge case reported in [#118](https://github.com/postui/esm.sh/issues/118) + ```js + const parser = require('htmlparser').Parser; + ``` + esm (v48) output: + ```js + import htmlparser2 from '/v48/htmlparser2@5.0.0/es2021/htmlparser2.js' + const parser = htmlparser2.Parser; // Parser is undefined + ``` + the expected output was fixed in v49: ```js - // cjs + import { Parser as htmlparser2_Parser } from '/v48/htmlparser2@5.0.0/es2021/htmlparser2.js' + const parser = Parser; // Parser is a class + ``` +- Add more polyfills for Deno, huge thanks to @talentlessguy ([#117](https://github.com/postui/esm.sh/issues/117)) + - path + - querystring + - url + - timers +- Better self-hosting options improved by @imisaacs, super! ([#116](https://github.com/postui/esm.sh/issues/116), [#119](https://github.com/postui/esm.sh/issues/116), [#120](https://github.com/postui/esm.sh/issues/120), [#122](https://github.com/postui/esm.sh/issues/122)) +- Add **Unlimted(max 1PB) Storage** to store builds and cache via NFS on esm.sh back server behind Cloudflare + +## v48 +- Improve **cjs-lexer** service to handle the edge case is shown below: + ```js function debounce() {}; debounce.debounce = debounce; module.exports = debounce; ``` esm output: ```js - // esm - export { debounce } // this was missed export default debounce ```