Skip to content

Conversation

@ajamadar-mdsol
Copy link
Contributor

  • Add js-yaml ^4.1.1 to package.json overrides
  • Fixes prototype pollution vulnerability (GHSA-mh29-5h37-fv8m) in js-yaml <4.1.1
  • Forces all transitive dependencies to use the patched version
  • Resolves conflict between js-yaml 3.x (via @codeceptjs/detox-helper) and 4.x
  • All tests passing (unit and runner tests verified)

Motivation/Description of the PR

  • Description of this PR, which problem it solves
  • Resolves #issueId (if applicable).

Applicable helpers:

  • Playwright
  • Puppeteer
  • WebDriver
  • REST
  • FileHelper
  • Appium
  • TestCafe

Applicable plugins:

  • allure
  • autoDelay
  • autoLogin
  • customLocator
  • pauseOnFail
  • coverage
  • retryFailedStep
  • screenshotOnFail
  • selenoid
  • stepByStepReport
  • stepTimeout
  • wdio
  • subtitles

Type of change

  • 🔥 Breaking changes
  • 🚀 New functionality
  • 🐛 Bug fix
  • 🧹 Chore
  • 📋 Documentation changes/updates
  • ♨️ Hot fix
  • 🔨 Markdown files fix - not related to source code
  • 💅 Polish code

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

- Add js-yaml ^4.1.1 to package.json overrides
- Fixes prototype pollution vulnerability (GHSA-mh29-5h37-fv8m) in js-yaml <4.1.1
- Forces all transitive dependencies to use the patched version
- Resolves conflict between js-yaml 3.x (via @codeceptjs/detox-helper) and 4.x
- All tests passing (unit and runner tests verified)
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a security fix for the js-yaml library by leveraging npm's overrides feature to force all transitive dependencies to use version ^4.1.1 or higher, which patches a prototype pollution vulnerability (GHSA-mh29-5h37-fv8m). The change follows the existing pattern in the codebase for managing security issues in indirect dependencies.

Key Changes

  • Added js-yaml ^4.1.1 to the overrides section in package.json
  • Resolves conflict between js-yaml 3.x (from @codeceptjs/detox-helper) and the patched 4.x version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kobenguyent kobenguyent merged commit f12dee4 into codeceptjs:3.x Dec 3, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants