From 684b0fe754fc521e28e7b832c19f5b6fda8789e6 Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Mon, 17 Apr 2023 11:53:37 +0200 Subject: [PATCH] [INTERNAL] minimatch: Migrate to named import --- lib/adapters/AbstractAdapter.js | 2 +- lib/resourceFactory.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/adapters/AbstractAdapter.js b/lib/adapters/AbstractAdapter.js index fc92ef25..96cf4154 100644 --- a/lib/adapters/AbstractAdapter.js +++ b/lib/adapters/AbstractAdapter.js @@ -1,7 +1,7 @@ import path from "node:path/posix"; import {getLogger} from "@ui5/logger"; const log = getLogger("resources:adapters:AbstractAdapter"); -import minimatch from "minimatch"; +import {minimatch} from "minimatch"; import micromatch from "micromatch"; import AbstractReaderWriter from "../AbstractReaderWriter.js"; import Resource from "../Resource.js"; diff --git a/lib/resourceFactory.js b/lib/resourceFactory.js index 4c201c32..2479edf6 100644 --- a/lib/resourceFactory.js +++ b/lib/resourceFactory.js @@ -1,5 +1,5 @@ import path from "node:path"; -import minimatch from "minimatch"; +import {minimatch} from "minimatch"; import DuplexCollection from "./DuplexCollection.js"; import FsAdapter from "./adapters/FileSystem.js"; import MemAdapter from "./adapters/Memory.js";