You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ljharb well done! I'm subscribed and have my eyes peeled. Seems like as I predicted last year there will be more eyeballs looking in the require.extensions direction.
This is a great synopsis but even myself remember you had made a couple suggestions. I wonder what they are currently (especially with the new .mjs extension add we've been working on with IETF. This way I can see where I can help and take some concerns off your plate.
As it relates to .mjs, resolve will absolutely add it to the default extension list the instant node ships it unflagged - but not before (that will also be when it's present in require.extensions in node).
@ljharb sounds like a plan! Any ref we can use to stick in the description / comment to watchdog?
Seems like you know better than me. I've merely been judging off PTSD of the community and in the classrooms. :-|
FWIW I'm totally against .mjs and believe it creates some unnecessary social fractures within the ecosystem but that's just my opinion not the community at large's.
A file extension is strictly necessary, since Module and Script have distinct (and ambiguous) parsing goals, and a file extension is the proper and sole way to disambiguate textual parsing goals - so this result was inevitable once the choice of two parse goals was made in TC39 back in 2013 or so.
Activity
snuggs commentedon Jul 11, 2018
@ljharb well done! I'm subscribed and have my eyes peeled. Seems like as I predicted last year there will be more eyeballs looking in the
require.extensionsdirection.This is a great synopsis but even myself remember you had made a couple suggestions. I wonder what they are currently (especially with the new
.mjsextension add we've been working on with IETF. This way I can see where I can help and take some concerns off your plate.Thoughts?
ljharb commentedon Jul 11, 2018
As it relates to
.mjs, resolve will absolutely add it to the default extension list the instant node ships it unflagged - but not before (that will also be when it's present inrequire.extensionsin node).snuggs commentedon Jul 11, 2018
@ljharb sounds like a plan! Any ref we can use to stick in the description / comment to watchdog?
Seems like you know better than me. I've merely been judging off PTSD of the community and in the classrooms. :-|
FWIW I'm totally against
.mjsand believe it creates some unnecessary social fractures within the ecosystem but that's just my opinion not the community at large's.ljharb commentedon Jul 11, 2018
A file extension is strictly necessary, since Module and Script have distinct (and ambiguous) parsing goals, and a file extension is the proper and sole way to disambiguate textual parsing goals - so this result was inevitable once the choice of two parse goals was made in TC39 back in 2013 or so.
snuggs commentedon Jul 11, 2018
ljharb commentedon Jul 12, 2018
snuggs commentedon Jul 12, 2018
ljharb commentedon Jul 12, 2018
snuggs commentedon Jul 12, 2018
ljharb commentedon Jul 12, 2018
snuggs commentedon Jul 12, 2018
ljharb commentedon Jul 12, 2018