Node.mjs retweeted
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
🧵
Node.mjs retweeted
o0o0o0o
.mjs is on iana!!!
iana.org/assignments/media-t…
Node.mjs retweeted
It's official iana.org/assignments/media-t…
Node.mjs retweeted
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…
Node 13.2 is released with unflagged support for ES Modules.
link.medium.com/OPnI3UX7N1
nodejs.org/en/blog/release/v…
Node.mjs retweeted
We just unflagged ESM in @nodejs
Amazing work everyone!
github.com/nodejs/node/commi…
Node.mjs retweeted
Playing with @nodejs 12 today and wondering what changed in the ESM implementation?
We got a blog post for you.
medium.com/@nodejs/announcin…
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/…
Node.mjs retweeted
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/…
Node.mjs retweeted
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/…
Node.mjs retweeted
Gecko: Intent to ship: Dynamic module imports (JS 'import()' syntax) groups.google.com/d/msg/mozi…
Node.mjs retweeted
JavaScript Dynamic Imports are now activated by default in Nightly (bugzilla.mozilla.org/show_bu…) developer.mozilla.org/en-US/…
Node.mjs retweeted
ES Module debugging just landed in @FirefoxDevTools.
Thanks @jaffathecake for the test case and jonco for the fix 🦊
bugzilla.mozilla.org/show_bu…
Node.mjs retweeted
We support ES6 modules since Firefox 60. Since today we also support the import.meta proposal in @FirefoxNightly. github.com/tc39/proposal-imp…
Node.mjs retweeted
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…
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
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…
Details on how Babel's transpilation of ES modules differs from Node's specification-compliant loading semantics. xitter.cf/bradleymeck/status/916…
Node.mjs retweeted
JavaScript's dynamic import() is shipping in Chrome! Lazy-load ES modules when a user needs them 🔥
groups.google.com/a/chromium…






















