fix: update glob version to 11.1.0 (#15884)

Some Glob CLI related alerts were generated last night. I believe
they're safe to dismiss since I do not expect us to use the Glob CLI in
production environment, and those alerts do not impact the API, but
still updating the dependency version just in case.

Not sure if this would resolve all/any of the alerts since glob is a
dependency for many other dependencies, so a good number of dependency
variants are pulled in.

The alert that confirms it's just a CLI related vulnerability:
[Dependabot Alert
307](https://github.com/twentyhq/twenty/security/dependabot/307)
This commit is contained in:
Abdullah.
2025-11-18 21:12:53 +05:00
committed by GitHub
parent cbb5bce500
commit 222feb90b4
6 changed files with 29 additions and 38 deletions
@@ -1,6 +1,6 @@
import prettier from '@prettier/sync';
import * as fs from 'fs';
import glob from 'glob';
import { globSync } from 'glob';
import * as path from 'path';
import ts from 'typescript';
const prettierConfigFile = prettier.resolveConfigFile();
@@ -82,7 +82,7 @@ function getTypeScriptFiles(
includeIndex: boolean = false,
): string[] {
const pattern = path.join(directoryPath, '**/*.{ts,tsx}');
const files = glob.sync(pattern);
const files = globSync(pattern);
return files.filter(
(file) =>