npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest npm WARN deprecated core-js@2.6.9: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. > postinstall > cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.mjs Firefox Nightly (nightly_126.0a1) downloaded to C:\Users\Administrator\.cache\puppeteer\firefox\win64-nightly_126.0a1 added 1387 packages, and audited 1845 packages in 56s 188 packages are looking for funding run `npm fund` for details 38 vulnerabilities (15 moderate, 23 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. >> Deploying cached PDF files >> Getting ref snapshots >> Deploying custom files >> Running tests [14:37:21] Using gulpfile C:\pdfjs\botio-files-pdfjs\private\518a08770381d35\gulpfile.mjs [14:37:21] Starting 'bottest'... [14:37:21] Starting 'setTestEnv'... [14:37:21] Finished 'setTestEnv' after 1.31 ms [14:37:21] Starting 'generic'... [14:37:21] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 421 [14:37:22] Finished 'createBuildNumber' after 210 ms [14:37:22] Starting 'locale'... ### Building localization files [14:37:22] Finished 'locale' after 402 ms [14:37:22] Starting 'scriptingGeneric'... ### Building default preferences [14:37:23] asset app_options.mjs 10.5 KiB [emitted] [javascript module] (name: main) webpack 5.91.0 compiled successfully [14:37:25] asset pdf.scripting.mjs 103 KiB [emitted] [javascript module] (name: main) webpack 5.91.0 compiled successfully [14:37:25] Finished 'scriptingGeneric' after 2.66 s [14:37:25] Starting 'prefsGeneric'... ### Parsing default preferences [14:37:25] Finished 'prefsGeneric' after 6.76 ms [14:37:25] Starting 'createGeneric'... ### Creating generic viewer [BABEL] Note: The code generator has deoptimised the styling of C:\pdfjs\botio-files-pdfjs\private\518a08770381d35\external\quickjs\quickjs-eval.js as it exceeds the max of 500KB. [14:37:32] asset pdf.sandbox.mjs 709 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [14:37:34] asset pdf.mjs 626 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [14:37:39] asset pdf.worker.mjs 2.05 MiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [14:37:39] asset viewer.mjs 509 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [14:37:39] Finished 'createGeneric' after 15 s [14:37:39] Finished 'generic' after 18 s [14:37:39] Starting 'components'... [14:37:39] Starting 'createBuildNumber'... ### Getting extension build number Extension build number: 421 [14:37:39] Finished 'createBuildNumber' after 119 ms [14:37:39] Starting 'createComponents'... ### Creating generic components [14:37:41] asset pdf_viewer.mjs 278 KiB [emitted] [javascript module] [big] (name: main) webpack 5.91.0 compiled successfully [14:37:41] Finished 'createComponents' after 1.65 s [14:37:41] Finished 'components' after 1.77 s [14:37:41] Starting 'runBotTest'... ### Running unit tests Downloading https://github.com/mozilla/pdf.js/files/13391396/example.pdf to pdfs/issue17289.pdf... Downloading https://web.archive.org/web/20240229104747/https://btohq.sgp1.cdn.digitaloceanspaces.com/bto/nov-2019-bto/plantation-village.pdf to pdfs/issue17061.pdf... Downloading https://web.archive.org/web/20230617061919/https://cdn.dealereprocess.org/cdn/servicemanuals/nissan/2023-ariya.pdf to pdfs/issue16485.pdf... Downloading https://github.com/mozilla/pdf.js/files/6083044/njp.32101064480005_page_013.2.pdf to pdfs/issue13051.pdf... Downloading https://github.com/mozilla/pdf.js/files/6600376/JPXimageprobem.pdf to pdfs/issue12213.1.pdf... Downloading https://web.archive.org/web/20210403114737/http://waltercosand.com/CosandScores/Composers%20A-D/Chopin,%20Frederic/Find_by_Category/Preludes/Preludes-Op28-edDebussy.pdf to pdfs/issue6365.pdf... Error during downloading of https://web.archive.org/web/20210403114737/http://waltercosand.com/CosandScores/Composers%20A-D/Chopin,%20Frederic/Find_by_Category/Preludes/Preludes-Op28-edDebussy.pdf: Error: HTTP 429 node:internal/errors:490 ErrorCaptureStackTrace(err); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Error at Object.writeFileSync (node:fs:2239:5) at downloadManifestFiles (file:///C:/pdfjs/botio-files-pdfjs/private/518a08770381d35/test/downloadutils.mjs:91:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ensurePDFsDownloaded (file:///C:/pdfjs/botio-files-pdfjs/private/518a08770381d35/test/test.mjs:1047:3) at async main (file:///C:/pdfjs/botio-files-pdfjs/private/518a08770381d35/test/test.mjs:1074:5) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v18.16.0 [14:37:45] 'runBotTest' errored after 4.4 s [14:37:45] Error: Running unit tests failed. at ChildProcess. (file:///C:/pdfjs/botio-files-pdfjs/private/518a08770381d35/gulpfile.mjs:731:15) at ChildProcess.emit (node:events:513:28) at ChildProcess.emit (node:domain:552:15) at maybeClose (node:internal/child_process:1091:16) at ChildProcess._handle.onexit (node:internal/child_process:302:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17) [14:37:45] 'bottest' errored after 24 s !botio_message:+ **Unit tests:** FAILED !botio_message:+ **Integration Tests:** FAILED !botio_message:+ **Regression tests:** FAILED >> Copying reftest analyzer files !botio_message: !botio_message:Image differences available at: http://54.193.163.58:8877/518a08770381d35/reftest-analyzer.html#web=eq.log >> Updating local PDF cache