-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-b285cd8ba8 2023-07-19 04:20:09.560036 -------------------------------------------------------------------------------- Name : libuv Product : Fedora 37 Version : 1.46.0 Release : 1.fc37 URL : http://libuv.org/ Summary : Platform layer for node.js Description : libuv is a new platform layer for Node. Its purpose is to abstract IOCP on Windows and libev on Unix systems. We intend to eventually contain all platform differences in this library. -------------------------------------------------------------------------------- Update Information: ## 2023-07-05, Version 20.4.0 (Current), @RafaelGSS ### Notable Changes #### Mock Timers The new feature allows developers to write more reliable and predictable tests for time-dependent functionality. It includes `MockTimers` with the ability to mock `setTimeout`, `setInterval` from `globals`, `node:timers`, and `node:timers/promises`. The feature provides a simple API to advance time, enable specific timers, and release all timers. ```mjs import assert from 'node:assert'; import { test } from 'node:test'; test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => { const fn = context.mock.fn(); // Optionally choose what to mock context.mock.timers.enable(['setTimeout']); const nineSecs = 9000; setTimeout(fn, nineSecs); const threeSeconds = 3000; context.mock.timers.tick(threeSeconds); context.mock.timers.tick(threeSeconds); context.mock.timers.tick(threeSeconds); assert.strictEqual(fn.mock.callCount(), 1); }); ``` This feature was contributed by Erick Wendel in [#47775](https://github.com/nodejs/node/pull/47775). #### Support to the explicit resource management proposal Node is adding support to the [explicit resource management](https://github.com/tc39/proposal-explicit-resource- management) proposal to its resources allowing users of TypeScript/babel to use `using`/`await using` with V8 support for everyone else on the way. This feature was contributed by Moshe Atlow and Benjamin Gruenbaum in [#48518](https://github.com/nodejs/node/pull/48518). #### Other notable changes * \[[`fe333d2584`](https://github.com/nodejs/node/commit/fe333d2584)] - **crypto**: update root certificates to NSS 3.90 (Node.js GitHub Bot) [#48416](https://github.com/nodejs/node/pull/48416) * \[[`60c2ea4e79`](https://github.com/nodejs/node/commit/60c2ea4e79)] - **doc**: add vmoroz to collaborators (Vladimir Morozov) [#48527](https://github.com/nodejs/node/pull/48527) * \[[`5cacdf9e6b`](https://github.com/nodejs/node/commit/5cacdf9e6b)] - **doc**: add kvakil to collaborators (Keyhan Vakil) [#48449](https://github.com/nodejs/node/pull/48449) * \[[`504d1d7bdc`](https://github.com/nodejs/node/commit/504d1d7bdc)] - **(SEMVER- MINOR)** **tls**: add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) [#45190](https://github.com/nodejs/node/pull/45190) -------------------------------------------------------------------------------- ChangeLog: * Tue Jul 11 2023 Stephen Gallagher <sgallagh@xxxxxxxxxx> - 1:1.46.0-1 - Update to 1.46.0 * Thu Jun 22 2023 Stephen Gallagher <sgallagh@xxxxxxxxxx> - 1:1.45.0-2 - Bump release to rebuild with fixed hardening flags * Fri May 19 2023 Stephen Gallagher <sgallagh@xxxxxxxxxx> - 1:1.45.0-1 - Update to libuv 1.45.0 * Thu Jan 19 2023 Fedora Release Engineering <releng@xxxxxxxxxxxxxxxxx> - 1:1.44.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-b285cd8ba8' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue