mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Read PDF Node): Replace pdf-parse with pdfjs, and add support for streaming and encrypted PDFs (#6640)
This commit is contained in:
committed by
GitHub
parent
acda7f269f
commit
0a31b8e2b4
@@ -861,6 +861,10 @@ async function httpRequest(
|
||||
return result.data;
|
||||
}
|
||||
|
||||
export function getBinaryPath(binaryDataId: string): string {
|
||||
return BinaryDataManager.getInstance().getBinaryPath(binaryDataId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns binary file metadata
|
||||
*/
|
||||
@@ -2262,6 +2266,7 @@ const getNodeHelperFunctions = ({
|
||||
const getBinaryHelperFunctions = ({
|
||||
executionId,
|
||||
}: IWorkflowExecuteAdditionalData): BinaryHelperFunctions => ({
|
||||
getBinaryPath,
|
||||
getBinaryStream,
|
||||
getBinaryMetadata,
|
||||
binaryToBuffer,
|
||||
|
||||
Reference in New Issue
Block a user