Skip to content

Commit 0a51567

Browse files
chore(deps): bump minimatch from 3.1.2 to 10.0.1 (#244)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 10.0.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/isaacs/minimatch/blob/main/changelog.md">minimatch's changelog</a>.</em></p> <blockquote> <h1>change log</h1> <h2>10.0</h2> <ul> <li>Require node 20 or 22 and higher</li> </ul> <h2>9.0</h2> <ul> <li>No default export, only named exports.</li> </ul> <h2>8.0</h2> <ul> <li>Recursive descent parser for extglob, allowing correct support for arbitrarily nested extglob expressions</li> <li>Bump required Node.js version</li> </ul> <h2>7.4</h2> <ul> <li>Add <code>escape()</code> method</li> <li>Add <code>unescape()</code> method</li> <li>Add <code>Minimatch.hasMagic()</code> method</li> </ul> <h2>7.3</h2> <ul> <li>Add support for posix character classes in a unicode-aware way.</li> </ul> <h2>7.2</h2> <ul> <li>Add <code>windowsNoMagicRoot</code> option</li> </ul> <h2>7.1</h2> <ul> <li>Add <code>optimizationLevel</code> configuration option, and revert the default back to the 6.2 style minimal optimizations, making the advanced transforms introduced in 7.0 opt-in. Also, process provided file paths in the same way in optimizationLevel:2 mode, so <em>most</em> things that matched with optimizationLevel 1 or 0 <em>should</em> match with level 2 as well. However, level 1 is the default, out of an abundance of caution.</li> </ul> <h2>7.0</h2> <ul> <li>Preprocess patterns to simplify complicated patterns and reduce out <code>..</code> pattern portions where possible. Note that this means a pattern like <code>a/b/../*</code> will be equivalent to <code>a/*</code>, and will <em>not</em> match the string <code>a/b/../c</code>. If this causes problems, it can be addressed in a patch release by resolving <code>..</code> portions in the test string.</li> </ul> <h2>6.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/isaacs/minimatch/commit/0569cd3373408f9d701d3aab187b3f43a24a0db7"><code>0569cd3</code></a> 10.0.1</li> <li><a href="https://github.com/isaacs/minimatch/commit/17d31c75ee4a6c4e516b6610647274285dc493c7"><code>17d31c7</code></a> rollback to brace-expansion 2, for cjs support</li> <li><a href="https://github.com/isaacs/minimatch/commit/346685ced5203464bb10fd3d4dfa6964f6102ede"><code>346685c</code></a> 10.0.0</li> <li><a href="https://github.com/isaacs/minimatch/commit/632e0da294b644ce2b537df4d64d4316fd84e0f1"><code>632e0da</code></a> modernize, drop old node versions</li> <li><a href="https://github.com/isaacs/minimatch/commit/0de7f45232cad5e3e49e4eb7cd9b6e124ed04b84"><code>0de7f45</code></a> 9.0.5</li> <li><a href="https://github.com/isaacs/minimatch/commit/d16b95c92eb20da549597242fb74beba4be63bf7"><code>d16b95c</code></a> whitespace formatting</li> <li><a href="https://github.com/isaacs/minimatch/commit/f09ab6731ef71f24565025f8c207437a2f459807"><code>f09ab67</code></a> fix: duplicated patterns in second phase preprocess loop</li> <li><a href="https://github.com/isaacs/minimatch/commit/d5ef89f0c9f479f1b82ea66b39a20273e4cda6fc"><code>d5ef89f</code></a> docs: Fix typo</li> <li><a href="https://github.com/isaacs/minimatch/commit/cb4be48a55d64b3a40a745d4a8eb4d1b06507277"><code>cb4be48</code></a> 9.0.4</li> <li><a href="https://github.com/isaacs/minimatch/commit/c091ce261182fd3f3145725f519575d143530d06"><code>c091ce2</code></a> build with tshy, update tap</li> <li>Additional commits viewable in <a href="https://github.com/isaacs/minimatch/compare/v3.1.2...v10.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=minimatch&package-manager=npm_and_yarn&previous-version=3.1.2&new-version=10.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Perez Alvarez <danielpza@protonmail.com>
1 parent b9ad604 commit 0a51567

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"typescript": ">=3.6.5"
8282
},
8383
"dependencies": {
84-
"minimatch": "^3.1.2"
84+
"minimatch": "^10.0.1"
8585
},
8686
"packageManager": "yarn@4.4.0+sha512.91d93b445d9284e7ed52931369bc89a663414e5582d00eea45c67ddc459a2582919eece27c412d6ffd1bd0793ff35399381cb229326b961798ce4f4cc60ddfdb"
8787
}

src/types.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import ts, { CompilerOptions, EmitHost, Pattern, SourceFile } from "typescript";
22
import { PluginConfig } from "ts-patch";
3+
import { Minimatch } from "minimatch";
4+
35
import { HarmonyFactory } from "./harmony";
4-
import { IMinimatch } from "minimatch";
56

67
/* ****************************************************************************************************************** */
78
// region: TS Types
@@ -43,7 +44,7 @@ export interface TsTransformPathsContext {
4344
readonly elisionMap: Map<ts.SourceFile, Map<ImportOrExportDeclaration, ImportOrExportDeclaration>>;
4445
readonly transformationContext: ts.TransformationContext;
4546
readonly rootDirs?: string[];
46-
readonly excludeMatchers: IMinimatch[] | undefined;
47+
readonly excludeMatchers: Minimatch[] | undefined;
4748
readonly outputFileNamesCache: Map<SourceFile, string>;
4849
readonly pathsPatterns: readonly (string | Pattern)[] | undefined;
4950
readonly emitHost: EmitHost;

test/yarn.lock

+10-1
Original file line numberDiff line numberDiff line change
@@ -6592,6 +6592,15 @@ __metadata:
65926592
languageName: node
65936593
linkType: hard
65946594

6595+
"minimatch@npm:^10.0.1":
6596+
version: 10.0.1
6597+
resolution: "minimatch@npm:10.0.1"
6598+
dependencies:
6599+
brace-expansion: "npm:^2.0.1"
6600+
checksum: 10c0/e6c29a81fe83e1877ad51348306be2e8aeca18c88fdee7a99df44322314279e15799e41d7cb274e4e8bb0b451a3bc622d6182e157dfa1717d6cda75e9cd8cd5d
6601+
languageName: node
6602+
linkType: hard
6603+
65956604
"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
65966605
version: 3.1.2
65976606
resolution: "minimatch@npm:3.1.2"
@@ -9255,7 +9264,7 @@ __metadata:
92559264
version: 0.0.0-use.local
92569265
resolution: "typescript-transform-paths@portal:../::locator=root-workspace-0b6124%40workspace%3A."
92579266
dependencies:
9258-
minimatch: "npm:^3.1.2"
9267+
minimatch: "npm:^10.0.1"
92599268
peerDependencies:
92609269
typescript: ">=3.6.5"
92619270
languageName: node

yarn.lock

+10-1
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,15 @@ __metadata:
18241824
languageName: node
18251825
linkType: hard
18261826

1827+
"minimatch@npm:^10.0.1":
1828+
version: 10.0.1
1829+
resolution: "minimatch@npm:10.0.1"
1830+
dependencies:
1831+
brace-expansion: "npm:^2.0.1"
1832+
checksum: 10c0/e6c29a81fe83e1877ad51348306be2e8aeca18c88fdee7a99df44322314279e15799e41d7cb274e4e8bb0b451a3bc622d6182e157dfa1717d6cda75e9cd8cd5d
1833+
languageName: node
1834+
linkType: hard
1835+
18271836
"minimatch@npm:^3.1.2":
18281837
version: 3.1.2
18291838
resolution: "minimatch@npm:3.1.2"
@@ -2664,7 +2673,7 @@ __metadata:
26642673
changelogen: "npm:^0.5.5"
26652674
eslint: "npm:9.x"
26662675
globals: "npm:^15.9.0"
2667-
minimatch: "npm:^3.1.2"
2676+
minimatch: "npm:^10.0.1"
26682677
prettier: "npm:^3.3.3"
26692678
ts-patch: "npm:^3.2.1"
26702679
typescript: "npm:^5.5.4"

0 commit comments

Comments
 (0)