The Wire · Showcase
NODE TEST RUNNER GAINS BOOLEAN FILTERS, CRYPTO SPEC COMPLIANCE TIGHTENS
By RepoJournal · Filed · About Node.js
Node's test runner now supports full boolean expression syntax for tag filtering, while the crypto module closes gaps between implementation and WebCrypto spec.
The test_runner landed a major upgrade to its tag filtering system [1], adding boolean operators (and/or/not), wildcards, and parenthetical grouping to the literal tag filter that shipped weeks earlier. This is the kind of capability teams with large test suites have been waiting for. Meanwhile, SubtleCrypto.supports() tightened its accuracy across four constraint areas [2], eliminating false positives for ML-KEM imports, HKDF output lengths, and RSA key generation that previously claimed support they didn't actually have. On the FFI desk, detached ArrayBuffers are now rejected in pointer conversion paths [3], preventing silent null-pointer passes to native code. The sqlite binding exposed prepared statement statistics [4], and REPL documentation now covers DEP0185 class instantiation behavior [5], filling gaps left by semver-major changes. Over at nodejs.org and citgm, maintainers fixed import alias handling [6] and bumped codecov tooling to resolve Node.js 20 deprecation warnings [7].
One email a day. Unsubscribe in one click.
Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review tag filter syntax in test_runner; boolean expressions open new test organization patterns nodejs/node [plan]
- → Test SubtleCrypto.supports() calls if your crypto code branches on its output nodejs/node [monitor]
- → Check FFI code for detached ArrayBuffer usage; rejections are now enforced nodejs/node [plan]
References
- [1] test_runner: extend tag filter with boolean expression DSL ↗ nodejs/node
- [2] crypto: improve SubtleCrypto.supports() accuracy ↗ nodejs/node
- [3] ffi: reject detached ArrayBuffers as pointers ↗ nodejs/node
- [4] sqlite: expose prepared statement statistics ↗ nodejs/node
- [5] doc: document REPL DEP0185 throws and uncaught-exception behavior nodejs/node
- [6] fix(ui): import aliases should not require preconditions ↗ nodejs/nodejs.org
- [7] chore: update codecov/codecov-action to v7.0.0 ↗ nodejs/citgm