feat(core): Upgrade chokidar, braces, and micromatch to address CVE-2024-4067 & CVE-2024-4068 (no-changelog) (#11182)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-10-09 16:23:11 +02:00
committed by GitHub
parent c2adfc8545
commit 939c0dfc4c
6 changed files with 54 additions and 89 deletions

View File

@@ -221,7 +221,7 @@ export class LocalFileTrigger implements INodeType {
}
const watcher = watch(path, {
ignored: options.ignored === '' ? undefined : options.ignored,
ignored: options.ignored === '' ? undefined : (options.ignored as string),
persistent: true,
ignoreInitial:
options.ignoreInitial === undefined ? true : (options.ignoreInitial as boolean),