Skip to content

Commit

Permalink
v68
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Mar 9, 2022
1 parent 90c9355 commit a27e162
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Change Log

## v68

- Fix `bundle` mode (close [#271](https://github.com/esm-dev/esm.sh/issues/271))
- Support `jsnext:main` in package.json (close [#272](https://github.com/esm-dev/esm.sh/issues/272))
- Improve `cjs-esm-exports` to support `UMD` format
```
// exports: ['foo']
const { exports } = parse('index.cjs', `
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.MMDParser = global.MMDParser || {})));
}(this, function (exports) {
exports.foo = "bar";
}))
`);
```
- Upgrade deno node polyfill to **0.128.0**

## v67

- Force `react/jsx-dev-runtime` and `react-refresh` into **dev** mode
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ import unescape from "https://esm.sh/lodash/unescape?no-check"
Since we update esm.sh server frequently, sometime we may break packages that work fine previously by mistake, the server will rebuild all modules when the patch pushed. To avoid this, you can **pin** the build version by the `?pin=BUILD_VERSON` query. This will give you an **immutable** cached module.

```javascript
import React from "https://esm.sh/[email protected]?pin=v67"
import React from "https://esm.sh/[email protected]?pin=v68"
```

## Global CDN
Expand Down
2 changes: 1 addition & 1 deletion server/consts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package server

// ems.sh version
const VERSION = 67
const VERSION = 68

const (
pkgCacheTimeout = 10 * 60 // 10 minutes
Expand Down

0 comments on commit a27e162

Please sign in to comment.