cypress-io / cypress-docker-images

Docker images with Cypress dependencies and browsers
https://on.cypress.io/continuous-integration
MIT License
1.02k stars 380 forks source link

Support node >= 18.19 for --import support on nodejs #1050

Closed dodtsair closed 4 months ago

dodtsair commented 4 months ago

With node 18.19 nodejs modified the deprecated --loader support and changed it to --import. This is often used as a way for security scanning software to scan the runtime for vulnerable software see contrast: https://www.npmjs.com/package/@contrast/agent

The old --loader mechanism breaks the nextjs framework. It can't handle files without extensions next vs next.js.

Upgrading to the lastest node v18 will bring in support for import which does not have this limitation

MikeMcC399 commented 4 months ago
MikeMcC399 commented 4 months ago

The following Cypress Docker images based on Node.js 18.20.3 have been released and are available on Cypress at Docker Hub:

Repository Tag
cypress/base cypress/base:18.20.3
cypress/browsers cypress/browsers:node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1
cypress/included cypress/included:cypress-13.11.0-node-18.20.3-chrome-125.0.6422.141-1-ff-126.0.1-edge-125.0.2535.85-1

Closing this request as resolved.