Skip to content

Commit 208f28d

Browse files
committed
Force isEvalSupported to false
Fixes [GHSA-wgrm-67xf-hhpq](GHSA-wgrm-67xf-hhpq)
1 parent 8ca4d07 commit 208f28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-pdf/src/Document.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ const Document = forwardRef(function Document(
518518
return;
519519
}
520520

521-
const optionsWithModifiedIsEvalSupported: Options = { ...options, isEvalSupported: true };
521+
const optionsWithModifiedIsEvalSupported: Options = { ...options, isEvalSupported: false };
522522

523523
const documentInitParams: Source = {
524524
...source,

0 commit comments

Comments
 (0)