Revert "Bump glob to v13 and rollup to v4.59+ to fix security vulnerabilities"

This reverts commit 91b359ee5f.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-03-30 23:05:11 +02:00
parent 91b359ee5f
commit d06ba3a58e
11 changed files with 155 additions and 147 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
"@backstage/errors": "workspace:^",
"cleye": "^2.3.0",
"fs-extra": "^11.2.0",
"glob": "^13.0.0",
"glob": "^7.1.7",
"inquirer": "^8.2.0",
"proper-lockfile": "^4.1.2",
"yaml": "^2.0.0",
@@ -31,7 +31,7 @@ import { getSecretStore, getAuthInstanceService } from '@internal/cli';
import crypto from 'node:crypto';
import fs from 'fs-extra';
import path from 'node:path';
import { globSync } from 'glob';
import glob from 'glob';
import YAML from 'yaml';
import inquirer from 'inquirer';
@@ -178,7 +178,7 @@ async function pickBaseUrl() {
'packages/*/app-config.yaml',
'packages/*/app-config.*.yaml',
];
const files = patterns.flatMap(p => globSync(p, { cwd, nodir: true }));
const files = patterns.flatMap(p => glob.sync(p, { cwd, nodir: true }));
for (const file of files) {
try {
const content = await fs.readFile(path.resolve(cwd, file), 'utf8');