Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update dependency minimatch to v9 #21923

Merged
merged 3 commits into from May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion jest.config.ts
Expand Up @@ -40,14 +40,14 @@ function jestGithubRunnerSpecs(): JestConfig {
const config: JestConfig = {
cacheDirectory: '.cache/jest',
clearMocks: true,
coverageDirectory: './coverage',
collectCoverage: true,
collectCoverageFrom: [
'lib/**/*.{js,ts}',
'!lib/**/*.{d,spec}.ts',
'!lib/**/{__fixtures__,__mocks__,__testutil__,test}/**/*.{js,ts}',
'!lib/**/types.ts',
],
coverageDirectory: './coverage',
coverageReporters: ci
? ['html', 'json', 'text-summary']
: ['html', 'text-summary'],
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/hermit/default-config.spec.ts
@@ -1,4 +1,4 @@
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import { regexMatches } from '../../../../test/util';
import { defaultConfig } from './default-config';

Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/hermit/extract.ts
@@ -1,4 +1,4 @@
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import upath from 'upath';
import { logger } from '../../../logger';
import { readLocalDirectory } from '../../../util/fs';
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/npm/extract/utils.ts
@@ -1,4 +1,4 @@
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import { logger } from '../../../../logger';

export function matchesAnyPattern(val: string, patterns: string[]): boolean {
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/npm/post-update/npm.ts
@@ -1,6 +1,6 @@
// TODO: types (#7154)
import is from '@sindresorhus/is';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import upath from 'upath';
import { GlobalConfig } from '../../../../config/global';
import {
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/manager/nuget/package-tree.ts
@@ -1,6 +1,6 @@
import is from '@sindresorhus/is';
import { Graph } from 'graph-data-structure';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import upath from 'upath';
import { logger } from '../../../logger';
import { getFileList } from '../../../util/git';
Expand Down
2 changes: 1 addition & 1 deletion lib/util/package-rules/paths.ts
@@ -1,5 +1,5 @@
import is from '@sindresorhus/is';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import type { PackageRule, PackageRuleInputConfig } from '../../config/types';
import { logger } from '../../logger';
import { Matcher } from './base';
Expand Down
2 changes: 1 addition & 1 deletion lib/workers/global/autodiscover.ts
@@ -1,5 +1,5 @@
import is from '@sindresorhus/is';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import type { AllConfig } from '../../config/types';
import { logger } from '../../logger';
import { platform } from '../../modules/platform';
Expand Down
2 changes: 1 addition & 1 deletion lib/workers/repository/extract/file-match.ts
@@ -1,4 +1,4 @@
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import type { RenovateConfig } from '../../../config/types';
import { logger } from '../../../logger';
import { regEx } from '../../../util/regex';
Expand Down
2 changes: 1 addition & 1 deletion lib/workers/repository/update/branch/commit.ts
@@ -1,6 +1,6 @@
// TODO #7154
import is from '@sindresorhus/is';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import { GlobalConfig } from '../../../../config/global';
import { CONFIG_SECRETS_EXPOSED } from '../../../../constants/error-messages';
import { logger } from '../../../../logger';
Expand Down
@@ -1,6 +1,6 @@
// TODO #7154
import is from '@sindresorhus/is';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import { mergeChildConfig } from '../../../../config';
import { GlobalConfig } from '../../../../config/global';
import { addMeta, logger } from '../../../../logger';
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -208,7 +208,7 @@
"luxon": "3.3.0",
"markdown-it": "13.0.1",
"markdown-table": "2.0.0",
"minimatch": "5.1.6",
"minimatch": "9.0.0",
"moo": "0.5.2",
"ms": "2.1.3",
"nanoid": "3.3.6",
Expand Down Expand Up @@ -276,7 +276,6 @@
"@types/markdown-it": "12.2.3",
"@types/markdown-table": "2.0.0",
"@types/marshal": "0.5.1",
"@types/minimatch": "5.1.2",
"@types/moo": "0.5.5",
"@types/nock": "10.0.3",
"@types/node": "18.16.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/check-re2.mjs
@@ -1,5 +1,5 @@
await (async () => {
console.log('-n', 'Checking re2 ... ');
console.log('Checking re2 ... ');
try {
const { default: RE2 } = await import('re2');
new RE2('.*').exec('test');
Expand Down
2 changes: 1 addition & 1 deletion tools/generate-imports.mjs
@@ -1,7 +1,7 @@
import fs from 'fs-extra';
import { glob } from 'glob';
import hasha from 'hasha';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import upath from 'upath';

console.log('generating imports');
Expand Down
33 changes: 14 additions & 19 deletions yarn.lock
Expand Up @@ -3043,11 +3043,6 @@
resolved "https://registry.yarnpkg.com/@types/mdurl/-/mdurl-1.0.2.tgz#e2ce9d83a613bacf284c7be7d491945e39e1f8e9"
integrity sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==

"@types/minimatch@5.1.2":
version "5.1.2"
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca"
integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==

"@types/minimist@^1.2.0":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
Expand Down Expand Up @@ -7616,20 +7611,27 @@ minimalistic-assert@^1.0.0:
dependencies:
brace-expansion "^1.1.7"

minimatch@5.1.6, minimatch@^5.0.1:
version "5.1.6"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96"
integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==
dependencies:
brace-expansion "^2.0.1"

minimatch@6.1.6:
version "6.1.6"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-6.1.6.tgz#5384bb324be5b5dae12a567c03d22908febd0ddd"
integrity sha512-6bR3UIeh/DF8+p6A9Spyuy67ShOq42rOkHWi7eUe3Ua99Zo5lZfGC6lJJWkeoK4k9jQFT3Pl7czhTXimG2XheA==
dependencies:
brace-expansion "^2.0.1"

minimatch@9.0.0, minimatch@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.0.tgz#bfc8e88a1c40ffd40c172ddac3decb8451503b56"
integrity sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==
dependencies:
brace-expansion "^2.0.1"

minimatch@^5.0.1:
version "5.1.6"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96"
integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==
dependencies:
brace-expansion "^2.0.1"

minimatch@^7.4.2, minimatch@^7.4.6:
version "7.4.6"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.6.tgz#845d6f254d8f4a5e4fd6baf44d5f10c8448365fb"
Expand All @@ -7644,13 +7646,6 @@ minimatch@^8.0.2:
dependencies:
brace-expansion "^2.0.1"

minimatch@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.0.tgz#bfc8e88a1c40ffd40c172ddac3decb8451503b56"
integrity sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==
dependencies:
brace-expansion "^2.0.1"

minimist-options@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619"
Expand Down