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) {