Skip to content

update for compatibility with node 17.8

Compare
Choose a tag to compare
@iambumblehead iambumblehead released this 27 Mar 17:03
9c7876a

node 17.8 returns a promise from node's default resolver

-  const resolved = defaultResolve(specifier, context, defaultResolve);
+  const resolved = await defaultResolve(specifier, context, defaultResolve);