Skip to content

Releases: esm-dev/esm.sh

v52

18 Sep 13:28
@ije ije
Compare
Choose a tag to compare
v52

v51

14 Sep 18:18
@ije ije
Compare
Choose a tag to compare
v51 Pre-release
Pre-release
  • Fix breaking change of building in v50 (fix #131).
  • Add localLRU FS layer (#126)
  • Add a Cache Interface that is using to store temporary data like npm packages info.
  • Do not try to build /favicon.ico (#132)
  • Add lovely pixi.js, three.js and @material-ui/core testings by @jimisaacs (#134, #139).
    https://esm.sh?test

Credits

Hug thanks to @jimisaacs

v50

11 Sep 17:41
@ije ije
Compare
Choose a tag to compare
v50
  • Improve build performance to burn the server CPU cores! Before this, to build a module which has heavy deps maybe very slow since the single build task only uses one CPU core.
  • Rewrite the dts transformer to get better deno types compatibility and faster transpile speed, but still lot of types are not working in Deno. (this is why the ?no-check exists)
  • Add Deno testing CI on Github.

v49

10 Sep 05:49
@ije ije
Compare
Choose a tag to compare
v49
  • Improve the build process to fix an edge case reported in #118
     const Parser = require('htmlparser').Parser;
    esm (v48) output:
     import htmlparser2 from '/v48/[email protected]/es2021/htmlparser2.js'
     const Parser = htmlparser2.Parser; // Parser is undefined
    the expected output was fixed in v49:
     import { Parser as htmlparser2Parser } from '/v48/[email protected]/es2021/htmlparser2.js'
     const Parser = htmlparser2Parser; // Parser is a class
  • Add more polyfills for Deno, huge thanks to @talentlessguy (#117)
    • path
    • querystring
    • url
    • timers
  • Better self-hosting options improved by @jimisaacs, super! (#116, #119, #120, #122)
  • Add Unlimited(max to 1PB) Storage to store builds and cache via NFS on esm.sh back server behind Cloudflare

v48

07 Sep 14:59
@ije ije
Compare
Choose a tag to compare
v48
  • Improve cjs-lexer service to handle the edge case is shown below:
     function debounce() {};
     debounce.debounce = debounce;
     module.exports = debounce;
    esm output:
     export { debounce } // this was missed
     export default debounce
  • Ignore ?target in Deno (fix #109)
  • Add Storage Interface to store data to anywhere (currently only support postdb + local FS)

v47

04 Sep 14:05
@ije ije
Compare
Choose a tag to compare
v47
  • Improve dts transformer to use cdn domain (fix #104)
  • Update polyfills (fix #105)

v46

28 Aug 18:10
@ije ije
Compare
Choose a tag to compare
v46
  • Split modules based on exports defines (ref #78)
  • Add cache-folder config for yarn add
  • Improve resolveVersion to support format 4.x (fix #93)
  • Import initESM to support bare exports in package.json (fix #97)
  • Bundle mode should respect the extra external (fix #98)
  • Support node:path importing (fix #100)
  • Pass ?alias and ?deps to deps (fix #101)
  • Improve cjs-lexer sever (fix #103)
  • Upgrade rex to 1.4.1
  • Upgrade esbuild to 0.12.24

v45

10 Aug 19:05
@ije ije
Compare
Choose a tag to compare
v45
  • Improve build performance
  • Filter cjs-moudle-lexer server invalid exports output
  • Improve resolveVersion function to support format like 4.x (fix #93)
  • Improve dts transform (fix #95)

v44

07 Aug 21:27
@ije ije
Compare
Choose a tag to compare
v44
  • Add Alias feature (#89)
    import useSWR from 'https://esm.sh/swr?alias=react:preact/compat'
    in combination with ?deps:
    import useSWR from 'https://esm.sh/swr?alias=react:preact/compat&[email protected]'
    The origin idea was came from @lucacasonato.
  • Add node build target (#84)
  • Check exports field to get entry point in package.json
  • Run cjs-lexer as a server
  • Upgrade esbuild to 0.11.18 with es2021 build target
  • Bugfixs for #90, #85, #83, #77, #65, #48, #41.

v43

25 Jun 13:16
@ije ije
Compare
Choose a tag to compare
v43
  • Add /status.json api
  • Use previous build instead of waiting/404 (fix #74)
  • Fix deps query (#71)
  • Add __esModule reserved word
  • Align require change for esbuild 0.12
  • Fix setImmediate polyfill args (#75)
  • Upgrade esbuild to 0.11.12