update for compatibility with node 17.8
node 17.8 returns a promise from node's default resolver
- const resolved = defaultResolve(specifier, context, defaultResolve);
+ const resolved = await defaultResolve(specifier, context, defaultResolve);
node 17.8 returns a promise from node's default resolver
- const resolved = defaultResolve(specifier, context, defaultResolve);
+ const resolved = await defaultResolve(specifier, context, defaultResolve);