From 07150fca81667064b5bbedcdfddbd9f53629b168 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Apr 2023 13:03:15 +0100 Subject: [PATCH] deps: bump minimatch from 5.1.6 to 9.0.0 (#1232) * 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] * fix: update to new minimatch exports --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain --- package.json | 2 +- src/utils.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2d832d0a3..32532c481 100644 --- a/package.json +++ b/package.json @@ -283,7 +283,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", diff --git a/src/utils.js b/src/utils.js index 5362df799..710435236 100644 --- a/src/utils.js +++ b/src/utils.js @@ -16,7 +16,7 @@ import { execa } from 'execa' import extract from 'extract-zip' import fs from 'fs-extra' import Listr from 'listr' -import minimatch from 'minimatch' +import { minimatch } from 'minimatch' import lockfile from 'proper-lockfile' import { readPackageUpSync } from 'read-pkg-up' import stripBom from 'strip-bom' @@ -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 = {}) { @@ -488,7 +488,7 @@ export async function * glob (dir, pattern, options = {}) { * @param {string} base * @param {string} dir * @param {string} pattern - * @param {GlobOptions & import('minimatch').IOptions} options + * @param {GlobOptions & import('minimatch').MinimatchOptions} options * @returns {AsyncGenerator} */ async function * _glob (base, dir, pattern, options) {