Updates from TC39 meeting in March 2022
dev.to
@GNUmanth
Stage changes for ECMAScript proposals:
- Stage 1: type annotations;
Function.prototype.once
- Stage 2: decorator metadata
- Stage 3: Unicode sequence properties for RegExps; character class set operations (union, subtraction, etc.) for RegExps; non-destructive Array methods (
.toReversed() , .toSorted() , .toSpliced() , .with() ); decorators (excluding metadata)
What’s new in Node.js core? March 2022 edition
simonplend.com
@simonplend
Features that were added to Node.js in the last 6 months:
- Deeply copying values via
structuredClone()
- Various
AbortSignal features
- Built-in
fetch()
- Importing JSON files
- More Promise-based APIs
The funniest web dev newsletter on the internet.
bytes.dev
Bytes is probably the funniest newsletter you'll ever read (trust me). If you like ES.next News, I've got a feeling you'll love Bytes too. Check it out.
Sponsor
Locale-aware sorting in JavaScript
elijahmanor.com
@elijahmanor
Explains how to use string.localeCompare and Intl.Collator for locale-aware sorting of Arrays of strings – so that accents, umlauts, capitalization, etc. are handled correctly.
A built-in test runner is coming to Node.js and why you should care
fusebit.io
@shehzadakbar,
@fusebitio
This is what tests for the new Node.js test runner look like:
import test from 'node:test';
import * as assert from 'assert/strict';
test('synchronous test', (t) => {
assert.equal(1, 1);
});
test('asynchronous test', async (t) => {
assert.equal(1, 1);
});
Making moves on supply chain security – with Feross & Socket team [64-min. audio]
changelog.com
@bcomnes,
@MikolaLysenko,
@nicknisi,
@b0neskull,
@feross,
@JSPartyFM
Feross has been working on something big. He joins Chris and Nick, along with guests Bret Comnes and Mik Lysenko to discuss Socket, what it is, and its focus on the security of the JavaScript supply chain.
|