Strictly modular. Unofficial tracker of ES module developments. Not affiliated with Node.js. ❤️ Node ❤️ Modules

Joined April 2016
RFC 9239 updates JavaScript MIME type registrations to align with reality. ➡️ The JavaScript MIME type is now unambiguously `text/javascript`. ➡️ `.mjs` is now a registered extension, specifically for JavaScript modules. rfc-editor.org/rfc/rfc9239 🧵
3
36
3
147
Excited to finally ship the graph implementation that @lettertwo and team worked on! Some serious engineering went into this. It's a custom data structure backed by SharedArrayBuffer with similar perf to native v8 hash maps but with no serialization cost to send between threads!
Parcel v2.1.0 is out! 🐠 Transpile node_modules for your browser targets. 🚀 New graph implementation using SharedArrayBuffer. Up to 50% faster rebuilds and 40% less memory usage. ☮️ Deferred compilation of unused exports 🔥 Fixed many HMR bugs And more! github.com/parcel-bundler/pa…
6
15
3
141
Node 13.2 is released with unflagged support for ES Modules. link.medium.com/OPnI3UX7N1 nodejs.org/en/blog/release/v…
A new implementation of ES Modules landed on Node master, behind a flag. It allows using ESM with the traditional .js file extension.
The new ESM implementation just landed in @nodejs core Still behind a flag, still work to be done... but an amazing accomplishment. Thank you so much everyone who has helped with getting this over the finish line. github.com/nodejs/node/pull/…
1
After over a year of work, a PR to update the ESM implementation in @nodejs has been opened Some important bits * you can now use .js for esm by setting `"type": module` in `package.json` * node's specifier resolution is not on by default * .cjs 🎉 github.com/nodejs/node/pull/…
22
195
18
473
Replying to @thekitze
A new iteration of our loader... [🎵 guitar riff 🎵] Has been opened against node core [🎵 guitar riff 🎵] It lets you use .js for esm [🎵 guitar riff 🎵] By setting a specific mode [🎵 guitar riff 🎵] Hey critics, leave .mjs alone 😇 github.com/nodejs/node/pull/…
3
5
1
21
Gecko: Intent to ship: Dynamic module imports (JS 'import()' syntax) groups.google.com/d/msg/mozi…
2
25
5
67
ES Module debugging just landed in @FirefoxDevTools. Thanks @jaffathecake for the test case and jonco for the fix 🦊 bugzilla.mozilla.org/show_bu…
1
16
60
Huge news! Firefox 60 stable with ECMAScript modules (aka JavaScript modules, ESM) enabled by default is rolled out. From today Native JavaScript modules available in all the major browsers out of the box! hospodarets.com/native-ecmas…
4
150
13
293
Node.mjs retweeted
A letter from the #Nodejs Technical Steering Committee on the current state of implementation and planning for ESModules. Forward from @MylesBorins bit.ly/2z4IZgZ
1
61
2
90
Hot take: ESM hot takes are hot.
1
3
10
A thread discussing Node's interop of ESM & CommonJS. xitter.cf/awbjs/status/921072567…
Replying to @WebReflection
@WebReflection quoted this tweet in his post (codeburst.io/the-javascript-…) about the ongoing pains of integrating ES2015 modules (ESM) into node.js. To me, that position shared by @ljharb and many others is one of the root causes of those pains. 1/ xitter.cf/ljharb/status/91710924…
1
Details on how Babel's transpilation of ES modules differs from Node's specification-compliant loading semantics. xitter.cf/bradleymeck/status/916…
Also, it doesn't do TDZ properly / fires getters on variable access / isn't an idempotent cache for dynamic import / ...
1
2
JavaScript's dynamic import() is shipping in Chrome! Lazy-load ES modules when a user needs them 🔥 groups.google.com/a/chromium…
36
1,260
77
2,482