From 55ced6abe0c60dbbfcc240e711b2fd551ec9812e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 16 Apr 2023 10:56:28 +0000 Subject: [PATCH 1/2] [DEPENDENCY] Bump minimatch from 8.0.4 to 9.0.0 Bumps [minimatch](https://github.com/isaacs/minimatch) from 8.0.4 to 9.0.0. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v8.0.4...v9.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 23 +++++++++++++++++++---- package.json | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index cf1d6947..d7db4a98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "globby": "^13.1.4", "graceful-fs": "^4.2.11", "micromatch": "^4.0.5", - "minimatch": "^8.0.4", + "minimatch": "^9.0.0", "pretty-hrtime": "^1.0.3", "random-int": "^3.0.0" }, @@ -4778,9 +4778,9 @@ } }, "node_modules/minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz", + "integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -6373,6 +6373,21 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/run-applescript": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz", diff --git a/package.json b/package.json index acbc69ed..0e15dcad 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "globby": "^13.1.4", "graceful-fs": "^4.2.11", "micromatch": "^4.0.5", - "minimatch": "^8.0.4", + "minimatch": "^9.0.0", "pretty-hrtime": "^1.0.3", "random-int": "^3.0.0" }, From 684b0fe754fc521e28e7b832c19f5b6fda8789e6 Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Mon, 17 Apr 2023 11:53:37 +0200 Subject: [PATCH 2/2] [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";