Author SHA1 Message Date
dependabot[bot]andGitHub 3490b01d80 chore(deps): bump brace-expansion from 5.0.5 to 5.0.6
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.5...v5.0.6)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 18:33:54 +00:00
2 changed files with 4 additions and 24 deletions
+1 -21
View File
@@ -364,7 +364,7 @@ async function captureIntegrityHashes(executablePath) {
child.kill(); child.kill();
reject(new Error("Timed out waiting for integrity check output")); reject(new Error("Timed out waiting for integrity check output"));
} }
}, 30000); }, 20000);
const handleData = data => { const handleData = data => {
output += data.toString(); output += data.toString();
@@ -663,26 +663,6 @@ async function patchApp() {
process.exit(1); process.exit(1);
} }
// macOS: Sign the patched app
if (isMac) {
const appBundlePath = path.resolve(appPath, '..', '..');
console.log(chalk.yellowBright('[+] Signing HTTP Toolkit with ad-hoc signature...'));
try {
execSync(`codesign --deep --force --sign - "${appBundlePath}"`, {stdio: "pipe"});
console.log(chalk.greenBright('[+] HTTP Toolkit signed successfully'));
console.log(chalk.yellowBright(` Make sure to whitelist the app in privacy and security settings!`));
} catch (e) {
rm(extractPath);
console.error(chalk.redBright(`[!] Failed to sign HTTP Toolkit: ${e.message}`));
process.exit(1);
}
try {
execSync(`xattr -d com.apple.quarantine "${appBundlePath}" 2>/dev/null`, {stdio: 'pipe'});
} catch (e) {
console.log(chalk.redBright('[!] Failed to remove the quarantine attribute'));
}
}
console.log(chalk.yellowBright('[+] Launching HTTP Toolkit to read integrity hashes...')); console.log(chalk.yellowBright('[+] Launching HTTP Toolkit to read integrity hashes...'));
let hashes; let hashes;
try { try {
+3 -3
View File
@@ -86,9 +86,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/brace-expansion": { "node_modules/brace-expansion": {
"version": "5.0.5", "version": "5.0.6",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"balanced-match": "^4.0.2" "balanced-match": "^4.0.2"