Skip to content

History section of ECMAScript modules documentation is confusing #42447

@jmm

Description

@jmm

Affected URL(s)

https://nodejs.org/docs/latest-v14.x/api/esm.html https://nodejs.org/docs/latest-v16.x/api/esm.html

Description of the problem

Hello, the top-level history section of this documentation in the following versions include the following entries:

12.x LTS documentation (v12.22.11):

v12.22.0 Stabilize modules implementation.
v12.20.0 Remove experimental modules warning.

14.x LTS documentation (v14.19.1):

v14.17.0 Stabilize modules implementation.
v14.0.0, v13.14.0 Remove experimental modules warning.

16.x LTS documentation (v16.14.2):

v15.3.0, v12.22.0 Stabilize modules implementation.
v14.0.0, v13.14.0, v12.20.0 Remove experimental modules warning.

When reading the v14 documentation it makes it sound like stabilizing the implementation first happened in v14.17.0 (and not in any 12.x version).

When reading the v16 documentation it makes it sound like stabilizing the implementation first happened in v12.22.0, and either would have been in v14.0.0 or not in any 14.x version.

I'd expect the history in each version to include the entries for lower versions. So in this case I'd expect the 14.x history to include the 12.x entries, and the 16.x history to include the 14.x and 12.x entries. But 14.x omits some of the 12.x stuff and 16.x omits some of the 14.x stuff (but includes the 12.x stuff).

The implementation was stabilized in v12.22.0, v14.17.0, and v16.0.0, right?

Also, how would you clearly be able to tell when something like "Stabilize modules implementation" was the case in an X.0.0 version? Like in the 16.x documentation, should it say ">= v15.3.0"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.esmIssues and PRs related to the ECMAScript Modules implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions