Closed jmm closed 6 years ago
cc @bmeck
after tc39 meeting there will be rather drastic changes, will review after a meeting on Wednesday about things
Thanks for the pull request! Modules work is now happening elsewhere (in the nodejs/modules and nodejs/node repositories) and this repository seems likely to be archived soon. I'm going to close this, but if you want these changes to land, by all means, comment and rebase.
Separate commits to make it easier to consider the changes individually.
56faad9f182df68e8c25ee86196100e7b414e155 Some of the changes are subjective style suggestions, but I think the named export language here could be confusing in terms of ability to reassign the value of a binding inside the module that exports it:
Properties of namespace objects are live bindings, right?
f753479ec1856e347b7ff9dbcbe110ef37b9f139 Style nit. The formatting ModuleNamespace or ModuleNamespaceObject doesn't seem to appear in the spec. It seems to always be Module Namespace [Exotic] Object (though sometimes it's lowercase and sometimes title case).
If you don't like the style changes, ¯_(ツ)_/¯, but hopefully you find the other stuff worthwhile.