From 2ba413f6de2b3493d1f0bd2c932e53244d2f1e03 Mon Sep 17 00:00:00 2001 From: X Date: Mon, 7 Feb 2022 22:21:18 +0800 Subject: [PATCH] v66 --- CHANGELOG.md | 4 ++++ README.md | 2 +- server/consts.go | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc9852b3..6e79d6768 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## v66 + +- Improve `exports` resloving of `package.json` (close [#179](https://github.com/esm-dev/esm.sh/issues/179)) + ## v65 - **Feature**: Support `?path` query to specify the `submodule`, this is friendly for **import maps** with options (close [#260](https://github.com/esm-dev/esm.sh/issues/260)) diff --git a/README.md b/README.md index 20a7eeaa9..784072a47 100644 --- a/README.md +++ b/README.md @@ -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/react@17.0.2?pin=v65" +import React from "https://esm.sh/react@17.0.2?pin=v66" ``` ## Global CDN diff --git a/server/consts.go b/server/consts.go index 38ad2cf42..edc930d12 100644 --- a/server/consts.go +++ b/server/consts.go @@ -1,7 +1,7 @@ package server // ems.sh version -const VERSION = 65 +const VERSION = 66 const ( pkgCacheTimeout = 10 * 60 // 10 minutes