HomePhabricator
Diffusion Comm 143681278fe6

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

Description

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

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

Reviewers: rohan, atul

Reviewed By: rohan

Subscribers: tomek, abosh

Differential Revision: https://phab.comm.dev/D5352

Details

Provenance
ashoatAuthored on Oct 12 2022, 10:26 AM
Reviewer
rohan
Differential Revision
D5352: [keyserver] Update loader.mjs for new version of Node
Parents
rCOMMd601297fca7c: [keyserver] Add descriptive error if assets.json can't be found
Branches
Unknown
Tags
Unknown