Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 985b96a

Browse filesBrowse files
aduh95MylesBorins
authored andcommitted
doc,esm: add history support info
Documents which versions of Node.js support which ESM-feature. Backport-PR-URL: #35757 PR-URL: #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>
1 parent 66f8730 commit 985b96a
Copy full SHA for 985b96a

File tree

Expand file treeCollapse file tree

2 files changed

+44
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+44
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/esm.md‎

Copy file name to clipboardExpand all lines: doc/api/esm.md
+17Lines changed: 17 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
<!--introduced_in=v8.5.0-->
44
<!-- type=misc -->
5+
<!-- YAML
6+
added: v8.5.0
7+
changes:
8+
- version:
9+
- REPLACEME
10+
pr-url: https://github.com/nodejs/node/pull/35249
11+
description: Support for detection of CommonJS named exports.
12+
- version:
13+
- v12.17.0
14+
pr-url: https://github.com/nodejs/node/pull/29866
15+
description: Loading ECMAScript modules no longer requires a command-line flag.
16+
- version: v12.0.0
17+
pr-url: https://github.com/nodejs/node/pull/26745
18+
description:
19+
Add support for ES modules using `.js` file extension via `package.json`
20+
`"type"` field.
21+
-->
522

623
> Stability: 1 - Experimental
724
Collapse file

‎doc/api/packages.md‎

Copy file name to clipboardExpand all lines: doc/api/packages.md
+27Lines changed: 27 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
# Modules: Packages
22

33
<!-- type=misc -->
4+
<!-- YAML
5+
changes:
6+
- version: REPLACEME
7+
pr-url: https://github.com/nodejs/node/pull/34718
8+
description: Add support for `"exports"` patterns.
9+
- version: v12.19.0
10+
pr-url: https://github.com/nodejs/node/pull/34117
11+
description: Add package `"imports"` field.
12+
- version:
13+
- v12.16.0
14+
pr-url: https://github.com/nodejs/node/pull/31001
15+
description: Unflag conditional exports.
16+
- version:
17+
- v12.16.0
18+
pr-url: https://github.com/nodejs/node/pull/31002
19+
description: Unflag self-referencing a package using its name.
20+
- version: v12.7.0
21+
pr-url: https://github.com/nodejs/node/pull/28568
22+
description:
23+
Introduce `"exports"` `package.json` field as a more powerful alternative
24+
to the classic `"main"` field.
25+
- version: v12.0.0
26+
pr-url: https://github.com/nodejs/node/pull/26745
27+
description:
28+
Add support for ES modules using `.js` file extension via `package.json`
29+
`"type"` field.
30+
-->
431

532
## Introduction
633

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.