Page MenuHomePhabricator

[keyserver] Update loader.mjs for new version of Node
ClosedPublic

Authored by ashoat on Oct 12 2022, 10:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 1:11 AM
Unknown Object (File)
Mon, Nov 25, 10:35 PM
Unknown Object (File)
Mon, Nov 25, 10:35 PM
Unknown Object (File)
Tue, Nov 19, 4:23 PM
Unknown Object (File)
Tue, Nov 19, 4:23 PM
Unknown Object (File)
Tue, Nov 19, 4:23 PM
Unknown Object (File)
Tue, Nov 19, 4:23 PM
Unknown Object (File)
Oct 19 2024, 6:05 AM
Subscribers

Details

Summary

Newer versions of Node replace defaultResolve with nextResolve, and make it return a Promise.

Test Plan

I tested this with both Node 16.9 (.nvmrc) and Node 16.17.1. It doesn't break backwards compatibility with the old version of Node, but it introduces compatibility with the new one

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable