This release adds experimental support for the import assertions stage 3 proposal.
To keep Node.js ESM implementation as compatible as possible with the HTML spec, import assertions are now required to import JSON modules (still behind the --experimental-json-modules
CLI flag):
import info from './package.json' assert { type: 'json' };
Or use dynamic import:
const info = await import('./package.json', { assert: { type: 'json' } });
Contributed by Antoine du Hamel and Geoffrey Booth #40250
cp.fork
(Antoine du Hamel) #41225fs.rm
and fs.rmSync
(Antoine du Hamel) #41132getActiveResourcesInfo()
(Darshan Sen) #40813Please login to add feedback.
This update has been submitted for testing by sgallagh.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.