Opened 3 years ago
Closed 3 years ago
#16070 closed enhancement (fixed)
node.js-16.14.0
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 11.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New minor version.
Change History (3)
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 3 years ago
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commit ac451b94f86acf6a167e94e25ce9b040fda9b4ee
Package updates. Update to pango-1.50.4. Update to nano-6.1. Update to gjs-1.70.1. Update to node.js-16.14.0. Update to libarchive-3.6.0.
Note:
See TracTickets
for help on using tickets.
## 2022-02-08, Version 16.14.0 'Gallium' (LTS)
### Notable changes
#### Importing JSON modules now requires experimental import assertions syntax
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):`mjs import info from './package.json' assert { type: 'json' };
`
Or use dynamic import:
`mjs const info = await import('./package.json', { assert: { type: 'json' } });
`
#### Other notable changes
cp.fork
(https://github.com/nodejs/node/pull/41225)fs.rm
andfs.rmSync
(https://github.com/nodejs/node/pull/41132)getActiveResourcesInfo()
(https://github.com/nodejs/node/pull/40813)