Skip to content

Commit 579a89c

Browse files
renovate[bot]FRSgitclaude
authored
chore(deps): update dependency @rollup/pluginutils@4.2.1>picomatch to v2.3.2 [security] (#373)
* chore(deps): update dependency @rollup/pluginutils@4.2.1>picomatch to v2.3.2 [security] * fix: patch rpt2 to fix picomatch v2.3.2 extglob regression picomatch v2.3.2 (security fix) broke the extglob pattern *.ts+(|x) used by rollup-plugin-typescript2@0.32.1 as its default TypeScript file filter. Without the fix, TypeScript files are not processed by rpt2, causing babel to fail on TypeScript syntax. Apply a pnpm patch to rpt2 to replace *.ts+(|x) with *.{ts,tsx}, which is equivalent and works correctly in picomatch v2.3.2+. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jakub Freisler <jakub@frsource.org> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c6cb51a commit 579a89c

3 files changed

Lines changed: 36 additions & 11 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/dist/rollup-plugin-typescript2.cjs.js b/dist/rollup-plugin-typescript2.cjs.js
2+
index 0eaef9359a030df7b3043ebb9075340420252cf3..7fb5e64616f0495b740406636c5994502fc036e5 100644
3+
--- a/dist/rollup-plugin-typescript2.cjs.js
4+
+++ b/dist/rollup-plugin-typescript2.cjs.js
5+
@@ -29672,7 +29672,7 @@ const typescript = (options) => {
6+
verbosity: VerbosityLevel.Warning,
7+
clean: false,
8+
cacheRoot: findCacheDir({ name: "rollup-plugin-typescript2" }),
9+
- include: ["*.ts+(|x)", "**/*.ts+(|x)"],
10+
+ include: ["*.{ts,tsx}", "**/*.{ts,tsx}"],
11+
exclude: ["*.d.ts", "**/*.d.ts"],
12+
abortOnError: true,
13+
rollupCommonJSResolveHack: false,
14+
diff --git a/dist/rollup-plugin-typescript2.es.js b/dist/rollup-plugin-typescript2.es.js
15+
index 3a9bd62290fb8f541bbade75950ef229b268b53e..735d0740297fab9c8fbf0872a6b1483e3f87daa0 100644
16+
--- a/dist/rollup-plugin-typescript2.es.js
17+
+++ b/dist/rollup-plugin-typescript2.es.js
18+
@@ -29643,7 +29643,7 @@ const typescript = (options) => {
19+
verbosity: VerbosityLevel.Warning,
20+
clean: false,
21+
cacheRoot: findCacheDir({ name: "rollup-plugin-typescript2" }),
22+
- include: ["*.ts+(|x)", "**/*.ts+(|x)"],
23+
+ include: ["*.{ts,tsx}", "**/*.{ts,tsx}"],
24+
exclude: ["*.d.ts", "**/*.d.ts"],
25+
abortOnError: true,
26+
rollupCommonJSResolveHack: false,

pnpm-lock.yaml

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ allowBuilds:
66
minimumReleaseAgeExclude:
77
- prettier@3.9.0
88
overrides:
9-
"@rollup/pluginutils@4.2.1>picomatch": "2.3.1"
9+
"@rollup/pluginutils@4.2.1>picomatch": "2.3.2"
10+
patchedDependencies:
11+
rollup-plugin-typescript2@0.32.1: patches/rollup-plugin-typescript2@0.32.1.patch

0 commit comments

Comments
 (0)