New JavaScript Features in Safari 16.4
webkit.org
@WebKit/
JavaScript highlights:
- RegExp lookbehind
- Import maps
- Growable SharedArrayBuffers
Array.fromAsync()
array.group() and array.groupToMap()
Atomics.waitAsync()
import.meta.resolve()
Intl.DurationFormat
string.isWellFormed() and string.toWellFormed()
- Class static initialization blocks
- Symbols in
WeakMap and WeakSet
Detect and block JavaScript supply chain attacks
socket.dev
Sponsor
Quickly evaluate the security and health of any npm package. Unlike a traditional vulnerability scanner, Socket can actually detect an active supply chain attack and help you to block it. Socket detects over 70 issues in open source code, for comprehensive protection.
pnpm v8.1.0
github.com
@pnpm
A minor upgrade to v8.0.0 (released two days prior) – whose most important changes were:
- Node.js 14 support discontinued
- Configuration updates: “Most of the configuration changes are related to peer dependencies. Most of these settings were implemented long ago, and we recommended them to users encountering peer dependency issues. The recently added
dedupe-peer-dependents resolved many such problems. With these new defaults, pnpm will face significantly fewer issues during migration from other package managers.”
- Lockfile modifications
Time for a change? Emerging cybersecurity startup seeks JavaScript talent
defendify.breezy.hr
Sponsor
Defendify is an award-winning, all-in-one cybersecurity platform developer, looking for a senior full stack engineer to join full-time. This is a unique and exciting opportunity as Defendify continues to rapidly expand its groundbreaking platform, especially designed for the non-enterprise.
Announcing Rome v12
rome.tools
@ematipico,
@rome
Highlights:
- JSON file support
- TypeScript 4.7 and TypeScript 5.0 support
- Import sorting via CLI (experimental)
- Configuration enhancements
- VSCode extension: better control
- More linter goodies
Import maps
JavaScript import maps are now supported cross-browser
web.dev
@tomayac
Import maps are now available in all three major browser engines: Chrome’s Blink, Safari’s WebKit and Firefox’s Gecko.
es-module-shims: new ES modules features on top of basic modules support in browsers
github.com
@guybedford
[Quoting the project’s readme:]
With import maps now supported by all major browsers, ES Module Shims entirely bypasses processing for the 74% of users with native import maps support.
For the remaining users, the [...] CSP-compatible shim kicks in to rewrite module specifiers driven by the Web Assembly ES Module Lexer.
The following modules features are polyfilled:
- Import maps polyfill.
- Dynamic
import() shimming when necessary (e.g. in older Firefox versions).
import.meta and import.meta.url .
- JSON and CSS modules with import assertions (when enabled).
<link rel="modulepreload"> is shimmed in browsers without import maps support.
|