From e24b89669931b36530219b9f49965d07da25a7e6 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 7 Dec 2022 12:46:27 +0100 Subject: [PATCH] Update install note --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 78181e997..4dcccdd18 100644 --- a/readme.md +++ b/readme.md @@ -88,7 +88,7 @@ For browser usage, we recommend [Ky](https://github.com/sindresorhus/ky) by the npm install got ``` -**Warning:** This package is native [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) and no longer provides a CommonJS export. If your project uses CommonJS, you'll have to [convert to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) or use the [dynamic `import()`](https://v8.dev/features/dynamic-import) function. Please don't open issues for questions regarding CommonJS / ESM. You can also use [Got v11](https://github.com/sindresorhus/got/tree/v11.8.3) instead which is pretty stable. We will backport security fixes to v11 for the foreseeable future. +**Warning:** This package is native [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) and no longer provides a CommonJS export. If your project uses CommonJS, you'll have to [convert to ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) or use the [dynamic `import()`](https://v8.dev/features/dynamic-import) function. Please don't open issues for questions regarding CommonJS / ESM. We will only backport critical security issues to Got v11, not features or bug fixes. ## Take a peek