Skip to content

chore: update serialize javascript package to ^7.0.4#2312

Closed
mi5t4n wants to merge 1 commit into
developfrom
chore/update-serialize-javascript-package
Closed

chore: update serialize javascript package to ^7.0.4#2312
mi5t4n wants to merge 1 commit into
developfrom
chore/update-serialize-javascript-package

Conversation

@mi5t4n
Copy link
Copy Markdown
Member

@mi5t4n mi5t4n commented Mar 5, 2026

This PR updates serialize-javascript package to ^7.0.4 using overrides.

Resolves: https://github.com/rtCamp/rtMedia/security/dependabot/122

@mi5t4n mi5t4n self-assigned this Mar 5, 2026
Copilot AI review requested due to automatic review settings March 5, 2026 05:28
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
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 updates the Playwright E2E test package’s dependency resolutions to use serialize-javascript@^7.0.4 via npm overrides, and also bumps @wordpress/scripts.

Changes:

  • Bump @wordpress/scripts from ^31.5.0 to ^31.6.0.
  • Add an npm overrides entry to force serialize-javascript to ^7.0.4.

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

"@octokit/core": "^7.0.6",
"@octokit/plugin-paginate-rest": "^14.0.0",
"@wordpress/scripts": "^31.5.0",
"@wordpress/scripts": "^31.6.0",
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

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

PR description says this change updates serialize-javascript via overrides, but this also bumps @wordpress/scripts to ^31.6.0. Please confirm this dependency bump is intended and either mention it in the PR description or split it into a separate PR/commit to keep the change focused.

Copilot uses AI. Check for mistakes.
"ajv": "8.18.0",
"basic-ftp": "5.2.0"
"basic-ftp": "5.2.0",
"serialize-javascript": "^7.0.4"
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

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

serialize-javascript@7.x declares engines.node >=20, but this package still advertises engines.node >=12. Installing this package on Node 12–19 will now fail or warn unexpectedly; please update the engines field to match the new minimum Node version (or use a serialize-javascript version compatible with the currently declared engine range).

Suggested change
"serialize-javascript": "^7.0.4"
"serialize-javascript": "^6.0.1"

Copilot uses AI. Check for mistakes.
"ajv": "8.18.0",
"basic-ftp": "5.2.0"
"basic-ftp": "5.2.0",
"serialize-javascript": "^7.0.4"
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

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

All other overrides in this file are pinned to exact versions, but serialize-javascript is specified as a range (^7.0.4). If the goal is a controlled security/compatibility bump, consider pinning it to an exact version (e.g. 7.0.4) to avoid unexpected upgrades the next time the lockfile is regenerated.

Suggested change
"serialize-javascript": "^7.0.4"
"serialize-javascript": "7.0.4"

Copilot uses AI. Check for mistakes.
@mi5t4n
Copy link
Copy Markdown
Member Author

mi5t4n commented Mar 5, 2026

Resolved by #2313

@mi5t4n mi5t4n closed this Mar 5, 2026
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.

2 participants