From e3e9526c18cebbb7504d260b5f0d3197190c7858 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 11:26:54 +0000 Subject: [PATCH 1/2] deps: bump minimatch from 5.1.6 to 9.0.0 Bumps [minimatch](https://github.com/isaacs/minimatch) from 5.1.6 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/v5.1.6...v9.0.0) --- updated-dependencies: - dependency-name: minimatch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ad0b0efe7..48d6ff360 100644 --- a/package.json +++ b/package.json @@ -284,7 +284,7 @@ "micromark-extension-gfm-strikethrough": "^1.0.4", "micromark-extension-gfm-table": "^1.0.5", "micromark-extension-gfm-task-list-item": "^1.0.3", - "minimatch": "^5.1.0", + "minimatch": "^9.0.0", "mocha": "^10.0.0", "npm-package-json-lint": "^6.3.0", "nyc": "^15.1.0", From a79e6713713a1f6f6a8fcdcd4e73f96b42c1506d Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 27 Apr 2023 12:12:07 +0100 Subject: [PATCH 2/2] fix: update to new minimatch exports --- src/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.js b/src/utils.js index fb9dab8df..04ca6b939 100644 --- a/src/utils.js +++ b/src/utils.js @@ -20,7 +20,7 @@ import envPaths from 'env-paths' import lockfile from 'proper-lockfile' import { fileURLToPath } from 'url' import Listr from 'listr' -import minimatch from 'minimatch' +import { minimatch } from 'minimatch' const __dirname = path.dirname(fileURLToPath(import.meta.url)) const EnvPaths = envPaths('aegir', { suffix: '' }) @@ -462,7 +462,7 @@ function checkForCircularDependencies (projects) { * * @param {string} dir * @param {string} pattern - * @param {GlobOptions & import('minimatch').IOptions} [options] + * @param {GlobOptions & import('minimatch').MinimatchOptions} [options] * @returns {AsyncGenerator} */ export async function * glob (dir, pattern, options = {}) {