From 8007ad0328075bdda52dceb8591ff8b2b60f60f1 Mon Sep 17 00:00:00 2001 From: Steven Prybylynskyi Date: Mon, 14 Oct 2024 13:08:33 +0200 Subject: [PATCH] fix: update import statement for mkdirp --- src/compileTypes/rewritePathsWithExposedFederatedModules.ts | 2 +- src/downloadTypes/helpers/downloadRemoteEntryTypes.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compileTypes/rewritePathsWithExposedFederatedModules.ts b/src/compileTypes/rewritePathsWithExposedFederatedModules.ts index 8a9f2fe..4f57760 100644 --- a/src/compileTypes/rewritePathsWithExposedFederatedModules.ts +++ b/src/compileTypes/rewritePathsWithExposedFederatedModules.ts @@ -1,7 +1,7 @@ import fs from 'node:fs'; import path from 'node:path'; -import mkdirp from 'mkdirp'; +import { mkdirp }from 'mkdirp'; import { PREFIX_NOT_FOR_IMPORT } from '../constants'; import type { CommonLogger, FederationConfig } from '../models'; diff --git a/src/downloadTypes/helpers/downloadRemoteEntryTypes.ts b/src/downloadTypes/helpers/downloadRemoteEntryTypes.ts index 55084d4..fd0f7cc 100644 --- a/src/downloadTypes/helpers/downloadRemoteEntryTypes.ts +++ b/src/downloadTypes/helpers/downloadRemoteEntryTypes.ts @@ -2,7 +2,7 @@ import fs from 'node:fs'; import path from 'node:path'; import download from 'download'; -import mkdirp from 'mkdirp'; +import { mkdirp } from 'mkdirp'; import { getLogger } from '../../helpers';