Skip to content

Updating the minimatch version #3920

@neyasanand

Description

@neyasanand

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch karma@6.4.4 for the project I'm working on.

Here is the diff that solved my problem:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions