karma-runner / karma-runner/karma
Updating the minimatch version
- Dominant language
- JavaScript
- Stars
- 12k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used [patch-package](https://github.com/ds300/patch-package) to patch `karma@6.4.4` for the project I'm working on.
Here is the diff that solved my problem:
```diff
diff --git a/node_modules/karma/lib/file-list.js b/node_modules/karma/lib/file-list.js
index b4ec01d..b2a4a9b 100644
--- a/node_modules/karma/lib/file-list.js
+++ b/node_modules/karma/lib/file-list.js
@@ -1,7 +1,7 @@
'use strict'
const { promisify } = require('util')
-const mm = require('minimatch')
+const mm = require('minimatch').minimatch
const Glob = require('glob').Glob
const fs = require('graceful-fs')
const statAsync = promisify(fs.stat.bind(fs))
```
This issue body was [partially generated by patch-package](https://github.com/ds300/patch-package/issues/296).
Contributor guide
Assessment
This issue has not been assessed yet.