Releases: esm-dev/esm.sh
Releases · esm-dev/esm.sh
v52
- Fix types build (#149)
- Use
stream
andevents
from deno std/node (#136) @talentlessguy - Fix
localLRU
and allow formemoryLRU
(#148) @jimisaacs
v51
- 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
- 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
- Improve the build process to fix an edge case reported in #118
esm (v48) output:
const Parser = require('htmlparser').Parser;
the expected output was fixed in v49:import htmlparser2 from '/v48/[email protected]/es2021/htmlparser2.js' const Parser = htmlparser2.Parser; // Parser is undefined
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
- Improve cjs-lexer service to handle the edge case is shown below:
esm output:
function debounce() {}; debounce.debounce = debounce; module.exports = debounce;
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
v46
- Split modules based on exports defines (ref #78)
- Add
cache-folder
config foryarn 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
v44
- Add
Alias
feature (#89)in combination withimport useSWR from 'https://esm.sh/swr?alias=react:preact/compat'
?deps
:The origin idea was came from @lucacasonato.import useSWR from 'https://esm.sh/swr?alias=react:preact/compat&[email protected]'
- Add
node
build target (#84) - Check
exports
field to get entry point inpackage.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.