mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Restrict read/write file paths access (#6582)
This commit is contained in:
@@ -672,6 +672,11 @@ interface JsonHelperFunctions {
|
||||
export interface FileSystemHelperFunctions {
|
||||
createReadStream(path: PathLike): Promise<Readable>;
|
||||
getStoragePath(): string;
|
||||
writeContentToFile(
|
||||
path: PathLike,
|
||||
content: string | Buffer | Readable,
|
||||
flag?: string,
|
||||
): Promise<void>;
|
||||
}
|
||||
|
||||
export interface BinaryHelperFunctions {
|
||||
|
||||
Reference in New Issue
Block a user