-
Notifications
You must be signed in to change notification settings - Fork 18
WIP [Do not merge] - Irp type dynamic modules #29
WIP [Do not merge] - Irp type dynamic modules #29
Conversation
Refs: nodejs/modules#180 PR-URL: nodejs#6 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Refs: nodejs/modules#180 PR-URL: nodejs#6 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Refs: nodejs/modules#180 PR-URL: nodejs#6 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
Refs: nodejs/modules#180 PR-URL: nodejs#6 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: nodejs#6 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: nodejs#6 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
PR-URL: nodejs#6 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
4095efe
to
966f6ce
Compare
6b95256
to
66aebb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This proposal requires changes to ECMA262 and buy-in from TC39. At the January TC39 meeting there was no clear endorsement with delegates expressing a range of reservations/concerns.
Note, though, that the pushback wasn't about this approach not being feasible, it was that perhaps the parts of the spec should be removed such that it would allow node to do this on its own, without TC39 buy-in. |
There was pushback on multiple fronts.
|
Perhaps i missed some of them; it’d be great to get a summary. From what i saw, especially given the previous consensus/commitment to accommodate node, the objections were overcomeable. |
The pushback I remember combined with notes:
|
66aebb1
to
5374da9
Compare
55dcaf8
to
4228797
Compare
15daf0a
to
03fb3b1
Compare
bd5c877
to
0237465
Compare
bec588f
to
ea59221
Compare
9301a06
to
e721cd2
Compare
484d1fb
to
7efc53d
Compare
c7fa700
to
d69f765
Compare
335d584
to
9a343ce
Compare
3a00b51
to
bc101f6
Compare
fd5b55a
to
3a40599
Compare
6fe40a4
to
d9cdfd8
Compare
This branch implements the Dynamic Modules v8 implementation and then builds it into the Node.js usage as DynamicModuleWrap alongside ModuleWrap, which can be used to construct dynamic modules for CJS.
The implementation uses the approach
{ ...exports, default: exports }
as the dynamic module shell for CJS and core modules.So that this branch is effectively identical to #28, but with
import { name } from 'cjs'
support :)