Skip to content

Commit

Permalink
Update change log
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Sep 10, 2021
1 parent 0e7cf2b commit 62e442f
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/[email protected]/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/[email protected]/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
```
Expand Down

0 comments on commit 62e442f

Please sign in to comment.