From 283ab20512efe2cc404666a9981cce5c9757372b Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 11 Feb 2025 12:12:01 -0800 Subject: [PATCH] refactor: resolve helper sync compat --- packages/boot/tools/authorityViz.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/boot/tools/authorityViz.js b/packages/boot/tools/authorityViz.js index 86d080255eb..af460c75a66 100755 --- a/packages/boot/tools/authorityViz.js +++ b/packages/boot/tools/authorityViz.js @@ -274,7 +274,8 @@ const run = async () => { stdout: process.stdout, fsp, meta: { - resolve: metaResolve.resolve, + resolve: async (specifier, parent) => + metaResolve.resolve(specifier, parent), url: import.meta.url, load: specifier => import(specifier), },