Skip to content

Commit

Permalink
chore(deps): bump minimatch from 3.1.2 to 10.0.1 (#244)
Browse files Browse the repository at this point in the history
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Perez Alvarez <[email protected]>
  • Loading branch information
dependabot[bot] and danielpza authored Aug 18, 2024
1 parent b9ad604 commit 0a51567
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"typescript": ">=3.6.5"
},
"dependencies": {
"minimatch": "^3.1.2"
"minimatch": "^10.0.1"
},
"packageManager": "[email protected]+sha512.91d93b445d9284e7ed52931369bc89a663414e5582d00eea45c67ddc459a2582919eece27c412d6ffd1bd0793ff35399381cb229326b961798ce4f4cc60ddfdb"
}
5 changes: 3 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import ts, { CompilerOptions, EmitHost, Pattern, SourceFile } from "typescript";
import { PluginConfig } from "ts-patch";
import { Minimatch } from "minimatch";

import { HarmonyFactory } from "./harmony";
import { IMinimatch } from "minimatch";

/* ****************************************************************************************************************** */
// region: TS Types
Expand Down Expand Up @@ -43,7 +44,7 @@ export interface TsTransformPathsContext {
readonly elisionMap: Map<ts.SourceFile, Map<ImportOrExportDeclaration, ImportOrExportDeclaration>>;
readonly transformationContext: ts.TransformationContext;
readonly rootDirs?: string[];
readonly excludeMatchers: IMinimatch[] | undefined;
readonly excludeMatchers: Minimatch[] | undefined;
readonly outputFileNamesCache: Map<SourceFile, string>;
readonly pathsPatterns: readonly (string | Pattern)[] | undefined;
readonly emitHost: EmitHost;
Expand Down
11 changes: 10 additions & 1 deletion test/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6592,6 +6592,15 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^10.0.1":
version: 10.0.1
resolution: "minimatch@npm:10.0.1"
dependencies:
brace-expansion: "npm:^2.0.1"
checksum: 10c0/e6c29a81fe83e1877ad51348306be2e8aeca18c88fdee7a99df44322314279e15799e41d7cb274e4e8bb0b451a3bc622d6182e157dfa1717d6cda75e9cd8cd5d
languageName: node
linkType: hard

"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
Expand Down Expand Up @@ -9255,7 +9264,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "typescript-transform-paths@portal:../::locator=root-workspace-0b6124%40workspace%3A."
dependencies:
minimatch: "npm:^3.1.2"
minimatch: "npm:^10.0.1"
peerDependencies:
typescript: ">=3.6.5"
languageName: node
Expand Down
11 changes: 10 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1824,6 +1824,15 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^10.0.1":
version: 10.0.1
resolution: "minimatch@npm:10.0.1"
dependencies:
brace-expansion: "npm:^2.0.1"
checksum: 10c0/e6c29a81fe83e1877ad51348306be2e8aeca18c88fdee7a99df44322314279e15799e41d7cb274e4e8bb0b451a3bc622d6182e157dfa1717d6cda75e9cd8cd5d
languageName: node
linkType: hard

"minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
Expand Down Expand Up @@ -2664,7 +2673,7 @@ __metadata:
changelogen: "npm:^0.5.5"
eslint: "npm:9.x"
globals: "npm:^15.9.0"
minimatch: "npm:^3.1.2"
minimatch: "npm:^10.0.1"
prettier: "npm:^3.3.3"
ts-patch: "npm:^3.2.1"
typescript: "npm:^5.5.4"
Expand Down

0 comments on commit 0a51567

Please sign in to comment.