Skip to content

Commit 21b56f6

Browse files
chore(deps): update dependency minimatch to v8 (#330)
* chore(deps): update dependency minimatch to v8 * fix(deps): update for minimatch --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alexandre Germain <[email protected]>
1 parent f60902f commit 21b56f6

File tree

4 files changed

+57
-38
lines changed

4 files changed

+57
-38
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"markdownlint-cli": "^0.33.0",
115115
"marked": "^4.0.12",
116116
"memfs": "^3.4.1",
117-
"minimatch": "^5.1.0",
117+
"minimatch": "^8.0.0",
118118
"nyc": "^15.1.0",
119119
"pkg-up": "^3.1.0",
120120
"rimraf": "^4.0.0",

packages/plugin-code-blocks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"peerDependencies": {
4444
"typedoc": "^0.23.0",
45-
"minimatch": "^5.1.0"
45+
"minimatch": "^5.1.0 || ^8.0.0"
4646
},
4747
"devDependencies": {
4848
"@knodes/eslint-config": "^1.6.5",

packages/plugin-code-blocks/src/output/markdown-code-blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const comments = Object.entries( {
2121
'.?([cm])[tj]s?(x)': '// ...',
2222
} ).map( ( [ k, v ] ) => {
2323
const filter = filterGlob( `**/*${k}` );
24-
return { check: ( file: string ) => filter( file, 1, [ file ] ), comment: v };
24+
return { check: ( file: string ) => filter( file ), comment: v };
2525
} );
2626
const getFirstLineIndent = ( lines?: string[] ) => ( lines?.filter( l => l.trim() )[0]?.match( /^\s*/ ) ?? [ '' ] )[0];
2727
const CODEBLOCK_KIND = reflectionKindUtils.addReflectionKind( name, 'CodeBlock' ) as ReflectionKind;

0 commit comments

Comments
 (0)