diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2020-09-28 14:23:53 +0300 |
---|---|---|
committer | Danielle Adams <adamzdanielle@gmail.com> | 2020-10-06 22:10:25 +0300 |
commit | 53e27b3f67aa6672ace4017e15b259e33004d152 (patch) | |
tree | 752af5c69163c1c0e05d8f8a5fd9f19f6efd5ada /doc/api/packages.md | |
parent | fbb9dd9ac934ec8b5f4abdc67b37a73a7eb1446a (diff) |
doc,esm: add history support info
Documents which versions of Node.js support which ESM-feature.
PR-URL: https://github.com/nodejs/node/pull/35395
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/packages.md')
-rw-r--r-- | doc/api/packages.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/api/packages.md b/doc/api/packages.md index f99ab16c335..68dd30aca3d 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -1,6 +1,36 @@ # Modules: Packages <!-- type=misc --> +<!-- YAML +changes: + - version: + - v14.13.0 + pr-url: https://github.com/nodejs/node/pull/34718 + description: Add support for `"exports"` patterns. + - version: v14.6.0 + pr-url: https://github.com/nodejs/node/pull/34117 + description: Add package `"imports"` field. + - version: + - v13.7.0 + - v12.16.0 + pr-url: https://github.com/nodejs/node/pull/31001 + description: Unflag conditional exports. + - version: + - v13.6.0 + - v12.16.0 + pr-url: https://github.com/nodejs/node/pull/31002 + description: Unflag self-referencing a package using its name. + - version: v12.7.0 + pr-url: https://github.com/nodejs/node/pull/28568 + description: + Introduce `"exports"` `package.json` field as a more powerful alternative + to the classic `"main"` field. + - version: v12.0.0 + pr-url: https://github.com/nodejs/node/pull/26745 + description: + Add support for ES modules using `.js` file extension via `package.json` + `"type"` field. +--> ## Introduction |