diff --git a/backend/package.json b/backend/package.json index 72a61b9fb..cac2edd65 100644 --- a/backend/package.json +++ b/backend/package.json @@ -76,7 +76,7 @@ "metascraper-youtube": "^5.33.5", "migrate": "^2.0.1", "mime-types": "^2.1.26", - "minimatch": "^3.0.4", + "minimatch": "^9.0.3", "mustache": "^4.2.0", "neo4j-driver": "^4.0.2", "neo4j-graphql-js": "^2.11.5", diff --git a/backend/src/schema/resolvers/embeds/findProvider.ts b/backend/src/schema/resolvers/embeds/findProvider.ts index 344cfed51..1b875b180 100644 --- a/backend/src/schema/resolvers/embeds/findProvider.ts +++ b/backend/src/schema/resolvers/embeds/findProvider.ts @@ -1,6 +1,6 @@ import fs from 'fs' import path from 'path' -import minimatch from 'minimatch' +import { minimatch } from 'minimatch' let oEmbedProvidersFile = fs.readFileSync( path.join(__dirname, '../../../../public/providers.json'), diff --git a/backend/yarn.lock b/backend/yarn.lock index c74734678..971ab96e7 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -8419,10 +8419,10 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.1.tgz#8a555f541cf976c622daf078bb28f29fb927c253" - integrity sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w== +minimatch@^9.0.1, minimatch@^9.0.3: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== dependencies: brace-expansion "^2.0.1"