Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

doc: update stage 2 regarding dynamic modules #242

Merged
merged 3 commits into from
Jan 16, 2019

Conversation

MylesBorins
Copy link
Contributor

As agreed upon in Dec 19th meeting

As agreed upon in Dec 19th meeting
@@ -68,6 +68,10 @@ These changes are implemented in https://github.com/nodejs/ecmascript-modules/pu
* Define semantics for determining when to load sources as CommonJS or ES module for both the top-level main (`node x.js`) and dependency loading.
- Proposal: [“File Specifier Resolution” proposal](https://github.com/GeoffreyBooth/node-import-file-specifier-resolution-proposal) covers `import` statements of ESM files; and CommonJS files, package entry point and package deep imports.

* Implement specification changes related to dynamic module records
- Proposal: ["Dynamic Modules Proposal"](https://github.com/nodejs/dynamic-modules/)
- We will need to reach consensus on appropriate behavior for [`export * from dynamic module`](https://github.com/nodejs/dynamic-modules/pull/11)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add another point here please to indicate that dynamic modules should not block Phase 2 from shipping?

Something like:

  • If consensus is not reached, dynamic modules will be carried over into a further phase.

@@ -68,6 +68,10 @@ These changes are implemented in https://github.com/nodejs/ecmascript-modules/pu
* Define semantics for determining when to load sources as CommonJS or ES module for both the top-level main (`node x.js`) and dependency loading.
- Proposal: [“File Specifier Resolution” proposal](https://github.com/GeoffreyBooth/node-import-file-specifier-resolution-proposal) covers `import` statements of ESM files; and CommonJS files, package entry point and package deep imports.

* Implement specification changes related to dynamic module records
- Proposal: ["Dynamic Modules Proposal"](https://github.com/nodejs/dynamic-modules/)
- We will need to reach consensus on appropriate behavior for [`export * from dynamic module`](https://github.com/nodejs/dynamic-modules/pull/11)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the added line for reaching consensus:
Would it make sense to add a blurb that throwing for export * from dynamic module isn't necessarily intended as a permanent addition and that, at a later time, the behavior could be reverted? Or is that better off in the dynamic-modules proposal?

@MylesBorins
Copy link
Contributor Author

MylesBorins commented Dec 22, 2018 via email

@MylesBorins MylesBorins added the modules-agenda To be discussed in a meeting label Jan 15, 2019
@MylesBorins MylesBorins merged commit 8551f41 into nodejs:master Jan 16, 2019
@GeoffreyBooth GeoffreyBooth removed modules-agenda To be discussed in a meeting labels May 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants