Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc,esm: add history support info #35395

Merged
merged 1 commit into from
Oct 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

<!--introduced_in=v8.5.0-->
<!-- type=misc -->
<!-- YAML
added: v8.5.0
changes:
- version:
- v14.13.0
pr-url: https://github.com/nodejs/node/pull/35249
description: Support for detection of CommonJS named exports.
- version: v14.8.0
pr-url: https://github.com/nodejs/node/pull/34558
description: Unflag Top-Level Await.
- version:
- v13.2.0
- v12.17.0
pr-url: https://github.com/nodejs/node/pull/29866
description: Loading ECMAScript modules no longer requires a command-line flag.
- 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.
-->

> Stability: 1 - Experimental

Expand Down
30 changes: 30 additions & 0 deletions doc/api/packages.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down