The following changes were made by the replace_file_content tool to: /root/aadharbot/index.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -4212,7 +4212,7 @@ let extractedText = ""; try { - const pdfjsLib = await import('file://' + require('path').resolve('node_modules/pdfjs-dist/legacy/build/pdf.mjs').replace(/\\/g, '/')); + const pdfjsLib = require('pdfjs-dist/build/pdf.js'); const doc = await pdfjsLib.getDocument({ data: new Uint8Array(rawPdfBuffer) }).promise; [diff_block_end] Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.