From 5c25dad6665eed1bf1a21ebc0958ea8e9f4ac493 Mon Sep 17 00:00:00 2001 From: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com> Date: Mon, 29 Jul 2024 08:10:09 +0000 Subject: [PATCH] Glob import should not be used --- src/_loadurl.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_loadurl.mjs b/src/_loadurl.mjs index c2fd3353d86..ffa362a3fd0 100644 --- a/src/_loadurl.mjs +++ b/src/_loadurl.mjs @@ -5,7 +5,7 @@ // ctors). so we utilize `spawnSync` to spawn this program as a child process. // alternatively we could have use `curl` but this is more portable. -import * as followRedirects from 'follow-redirects'; +import followRedirects from 'follow-redirects'; import { parse } from 'node:url'; import { lstatSync, createReadStream } from 'node:fs'; import process from 'node:process'