Skip to content

chore(deps): bump serialize-javascript from 6.0.2 to 7.0.5 (via audit fix) in /packages/codemod - #12534

Merged
smith-xyz merged 2 commits into
masterfrom
dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5
Jul 2, 2026
Merged

smith-xyz merged 2 commits into
masterfrom
dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 22, 2026

Copy link
Copy Markdown
Contributor

Bumps serialize-javascript from 6.0.2 to 7.0.5.

Release notes

Sourced from serialize-javascript's releases.

v7.0.5

Fixes

  • Improve robustness and validation for array-like object serialization.
  • Fix an issue where certain object structures could lead to excessive CPU usage.

For more details, please see GHSA-qj8w-gfj5-8c6v.

v7.0.4

What's Changed

Full Changelog: yahoo/serialize-javascript@v7.0.3...v7.0.4

v7.0.3

  • fix(CVE-2020-7660): fix for RegExp.flags and Date.prototype.toISOString (#207) 2e609d0
  • build(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#206) 42b7cdb

yahoo/serialize-javascript@v7.0.2...v7.0.3

v7.0.2

What's Changed

Full Changelog: yahoo/serialize-javascript@v7.0.1...v7.0.2

v7.0.1

What's Changed

New Contributors

Full Changelog: yahoo/serialize-javascript@v7.0.0...v7.0.1

v7.0.0

Breaking Changes

  • requires Node.js v20+

What's Changed

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for serialize-javascript since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 22, 2026
@smith-xyz
smith-xyz force-pushed the dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5 branch from 2737c18 to e0b6cd7 Compare May 28, 2026 12:56
@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented May 28, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (3) 📘 Rule violations (0) 📎 Requirement gaps (0) 📜 Skill insights (0)

Context used

Grey Divider


Remediation recommended

1. Overrides only in lockfile 🐞 Bug ⚙ Maintainability
Description
packages/codemod/pnpm-lock.yaml adds pnpm override rules, but packages/codemod/package.json does not
declare any corresponding pnpm override configuration. This makes the security/resolution policy
easy to lose when the lockfile is regenerated from package.json and obscures the intent for
maintainers.
Code

packages/codemod/pnpm-lock.yaml[R7-11]

Evidence
The lockfile introduces a top-level overrides: policy, but the package manifest for
@typeorm/codemod does not define any pnpm.overrides (or any pnpm block at all), so the policy
exists only in the lockfile.

packages/codemod/pnpm-lock.yaml[1-15]
packages/codemod/package.json[1-52]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`packages/codemod/pnpm-lock.yaml` contains an `overrides:` block, but `packages/codemod/package.json` does not declare these overrides, so the override policy is not expressed in project configuration.
## Issue Context
This repo’s CI installs `packages/codemod` with `pnpm install --frozen-lockfile`, and the override policy is security-relevant. Keeping the overrides in `package.json` makes the intent explicit and keeps the policy from being dropped when the lockfile is regenerated.
## Fix Focus Areas
- packages/codemod/package.json[1-52]
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned override replacements 🐞 Bug ☼ Reliability
Description
The new override replacement values use open-ended ranges (e.g. '>=7.0.5') instead of pinned or
bounded semver targets. This can allow future lockfile refreshes to select newer versions than
expected without an explicit change to the override policy.
Code

packages/codemod/pnpm-lock.yaml[R8-11]

Evidence
The overrides block explicitly uses >= replacement specs for multiple packages, which are not
pinned to the specific patched versions currently resolved in the lockfile.

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Override replacement values are specified as open-ended `>=` ranges (e.g. `'>=8.0.3'`, `'>=7.0.5'`) rather than pinned versions or bounded ranges.
## Issue Context
Using pinned (or at least bounded, e.g. caret within a major) replacement specs keeps dependency resolution more predictable on future lockfile updates and reduces the chance of pulling in unexpected changes.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Informational

3. Redundant serialize overrides 🐞 Bug ⚙ Maintainability
Description
Two serialize-javascript override entries have overlapping match ranges (versions 5.0.0 through
7.0.2 satisfy both). This redundancy makes the override policy harder to interpret and maintain.
Code

packages/codemod/pnpm-lock.yaml[R10-11]

Evidence
Both override keys are for serialize-javascript and their version ranges overlap for >=5.0.0 and
<=7.0.2 (which is also <7.0.5).

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`serialize-javascript` is overridden by two rules with overlapping match ranges, making the override policy redundant.
## Issue Context
Simplifying to a single rule (for example, one that covers all vulnerable versions below the chosen fixed version) makes the intent clearer and reduces maintenance burden.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[10-11]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

  • Author self-review: I have reviewed the code review findings, and addressed the relevant ones.

Previous review results

Review updated until commit 447be47

Results up to commit 8c357e9


🐞 Bugs (3) 📘 Rule violations (0) 📎 Requirement gaps (0)

Context used

Remediation recommended
1. Overrides only in lockfile 🐞 Bug ⚙ Maintainability
Description
packages/codemod/pnpm-lock.yaml adds pnpm override rules, but packages/codemod/package.json does not
declare any corresponding pnpm override configuration. This makes the security/resolution policy
easy to lose when the lockfile is regenerated from package.json and obscures the intent for
maintainers.
Code

packages/codemod/pnpm-lock.yaml[R7-11]

Evidence
The lockfile introduces a top-level overrides: policy, but the package manifest for
@typeorm/codemod does not define any pnpm.overrides (or any pnpm block at all), so the policy
exists only in the lockfile.

packages/codemod/pnpm-lock.yaml[1-15]
packages/codemod/package.json[1-52]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`packages/codemod/pnpm-lock.yaml` contains an `overrides:` block, but `packages/codemod/package.json` does not declare these overrides, so the override policy is not expressed in project configuration.
## Issue Context
This repo’s CI installs `packages/codemod` with `pnpm install --frozen-lockfile`, and the override policy is security-relevant. Keeping the overrides in `package.json` makes the intent explicit and keeps the policy from being dropped when the lockfile is regenerated.
## Fix Focus Areas
- packages/codemod/package.json[1-52]
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned override replacements 🐞 Bug ☼ Reliability
Description
The new override replacement values use open-ended ranges (e.g. '>=7.0.5') instead of pinned or
bounded semver targets. This can allow future lockfile refreshes to select newer versions than
expected without an explicit change to the override policy.
Code

packages/codemod/pnpm-lock.yaml[R8-11]

Evidence
The overrides block explicitly uses >= replacement specs for multiple packages, which are not
pinned to the specific patched versions currently resolved in the lockfile.

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Override replacement values are specified as open-ended `>=` ranges (e.g. `'>=8.0.3'`, `'>=7.0.5'`) rather than pinned versions or bounded ranges.
## Issue Context
Using pinned (or at least bounded, e.g. caret within a major) replacement specs keeps dependency resolution more predictable on future lockfile updates and reduces the chance of pulling in unexpected changes.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Informational
3. Redundant serialize overrides 🐞 Bug ⚙ Maintainability
Description
Two serialize-javascript override entries have overlapping match ranges (versions 5.0.0 through
7.0.2 satisfy both). This redundancy makes the override policy harder to interpret and maintain.
Code

packages/codemod/pnpm-lock.yaml[R10-11]

Evidence
Both override keys are for serialize-javascript and their version ranges overlap for >=5.0.0 and
<=7.0.2 (which is also <7.0.5).

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`serialize-javascript` is overridden by two rules with overlapping match ranges, making the override policy redundant.
## Issue Context
Simplifying to a single rule (for example, one that covers all vulnerable versions below the chosen fixed version) makes the intent clearer and reduces maintenance burden.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[10-11]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Results up to commit 3af294c


🐞 Bugs (3) 📘 Rule violations (0) 📎 Requirement gaps (0)

Context used

Remediation recommended
1. Overrides only in lockfile 🐞 Bug ⚙ Maintainability
Description
packages/codemod/pnpm-lock.yaml adds pnpm override rules, but packages/codemod/package.json does not
declare any corresponding pnpm override configuration. This makes the security/resolution policy
easy to lose when the lockfile is regenerated from package.json and obscures the intent for
maintainers.
Code

packages/codemod/pnpm-lock.yaml[R7-11]

Evidence
The lockfile introduces a top-level overrides: policy, but the package manifest for
@typeorm/codemod does not define any pnpm.overrides (or any pnpm block at all), so the policy
exists only in the lockfile.

packages/codemod/pnpm-lock.yaml[1-15]
packages/codemod/package.json[1-52]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`packages/codemod/pnpm-lock.yaml` contains an `overrides:` block, but `packages/codemod/package.json` does not declare these overrides, so the override policy is not expressed in project configuration.
## Issue Context
This repo’s CI installs `packages/codemod` with `pnpm install --frozen-lockfile`, and the override policy is security-relevant. Keeping the overrides in `package.json` makes the intent explicit and keeps the policy from being dropped when the lockfile is regenerated.
## Fix Focus Areas
- packages/codemod/package.json[1-52]
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned override replacements 🐞 Bug ☼ Reliability
Description
The new override replacement values use open-ended ranges (e.g. '>=7.0.5') instead of pinned or
bounded semver targets. This can allow future lockfile refreshes to select newer versions than
expected without an explicit change to the override policy.
Code

packages/codemod/pnpm-lock.yaml[R8-11]

Evidence
The overrides block explicitly uses >= replacement specs for multiple packages, which are not
pinned to the specific patched versions currently resolved in the lockfile.

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Override replacement values are specified as open-ended `>=` ranges (e.g. `'>=8.0.3'`, `'>=7.0.5'`) rather than pinned versions or bounded ranges.
## Issue Context
Using pinned (or at least bounded, e.g. caret within a major) replacement specs keeps dependency resolution more predictable on future lockfile updates and reduces the chance of pulling in unexpected changes.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments
3. Redundant serialize overrides 🐞 Bug ⚙ Maintainability
Description
Two serialize-javascript override entries have overlapping match ranges (versions 5.0.0 through
7.0.2 satisfy both). This redundancy makes the override policy harder to interpret and maintain.
Code

packages/codemod/pnpm-lock.yaml[R10-11]

Evidence
Both override keys are for serialize-javascript and their version ranges overlap for >=5.0.0 and
<=7.0.2 (which is also <7.0.5).

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`serialize-javascript` is overridden by two rules with overlapping match ranges, making the override policy redundant.
## Issue Context
Simplifying to a single rule (for example, one that covers all vulnerable versions below the chosen fixed version) makes the intent clearer and reduces maintenance burden.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[10-11]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Results up to commit 5237333


🐞 Bugs (3) 📘 Rule violations (0) 📎 Requirement gaps (0)

Context used

Remediation recommended
1. Overrides only in lockfile 🐞 Bug ⚙ Maintainability
Description
packages/codemod/pnpm-lock.yaml adds pnpm override rules, but packages/codemod/package.json does not
declare any corresponding pnpm override configuration. This makes the security/resolution policy
easy to lose when the lockfile is regenerated from package.json and obscures the intent for
maintainers.
Code

packages/codemod/pnpm-lock.yaml[R7-11]

Evidence
The lockfile introduces a top-level overrides: policy, but the package manifest for
@typeorm/codemod does not define any pnpm.overrides (or any pnpm block at all), so the policy
exists only in the lockfile.

packages/codemod/pnpm-lock.yaml[1-15]
packages/codemod/package.json[1-52]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`packages/codemod/pnpm-lock.yaml` contains an `overrides:` block, but `packages/codemod/package.json` does not declare these overrides, so the override policy is not expressed in project configuration.
## Issue Context
This repo’s CI installs `packages/codemod` with `pnpm install --frozen-lockfile`, and the override policy is security-relevant. Keeping the overrides in `package.json` makes the intent explicit and keeps the policy from being dropped when the lockfile is regenerated.
## Fix Focus Areas
- packages/codemod/package.json[1-52]
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned override replacements 🐞 Bug ☼ Reliability
Description
The new override replacement values use open-ended ranges (e.g. '>=7.0.5') instead of pinned or
bounded semver targets. This can allow future lockfile refreshes to select newer versions than
expected without an explicit change to the override policy.
Code

packages/codemod/pnpm-lock.yaml[R8-11]

Evidence
The overrides block explicitly uses >= replacement specs for multiple packages, which are not
pinned to the specific patched versions currently resolved in the lockfile.

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Override replacement values are specified as open-ended `>=` ranges (e.g. `'>=8.0.3'`, `'>=7.0.5'`) rather than pinned versions or bounded ranges.
## Issue Context
Using pinned (or at least bounded, e.g. caret within a major) replacement specs keeps dependency resolution more predictable on future lockfile updates and reduces the chance of pulling in unexpected changes.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments
3. Redundant serialize overrides 🐞 Bug ⚙ Maintainability
Description
Two serialize-javascript override entries have overlapping match ranges (versions 5.0.0 through
7.0.2 satisfy both). This redundancy makes the override policy harder to interpret and maintain.
Code

packages/codemod/pnpm-lock.yaml[R10-11]

Evidence
Both override keys are for serialize-javascript and their version ranges overlap for >=5.0.0 and
<=7.0.2 (which is also <7.0.5).

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`serialize-javascript` is overridden by two rules with overlapping match ranges, making the override policy redundant.
## Issue Context
Simplifying to a single rule (for example, one that covers all vulnerable versions below the chosen fixed version) makes the intent clearer and reduces maintenance burden.
## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[10-11]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Results up to commit e0b6cd7


🐞 Bugs (3) 📘 Rule violations (0) 📎 Requirement gaps (0)

Context used

Remediation recommended
1. Overrides only in lockfile 🐞 Bug ⚙ Maintainability
Description
packages/codemod/pnpm-lock.yaml adds pnpm override rules, but packages/codemod/package.json does not
declare any corresponding pnpm override configuration. This makes the security/resolution policy
easy to lose when the lockfile is regenerated from package.json and obscures the intent for
maintainers.
Code

packages/codemod/pnpm-lock.yaml[R7-11]

Evidence
The lockfile introduces a top-level overrides: policy, but the package manifest for
@typeorm/codemod does not define any pnpm.overrides (or any pnpm block at all), so the policy
exists only in the lockfile.

packages/codemod/pnpm-lock.yaml[1-15]
packages/codemod/package.json[1-52]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`packages/codemod/pnpm-lock.yaml` contains an `overrides:` block, but `packages/codemod/package.json` does not declare these overrides, so the override policy is not expressed in project configuration.

## Issue Context
This repo’s CI installs `packages/codemod` with `pnpm install --frozen-lockfile`, and the override policy is security-relevant. Keeping the overrides in `package.json` makes the intent explicit and keeps the policy from being dropped when the lockfile is regenerated.

## Fix Focus Areas
- packages/codemod/package.json[1-52]
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Unpinned override replacements 🐞 Bug ☼ Reliability
Description
The new override replacement values use open-ended ranges (e.g. '>=7.0.5') instead of pinned or
bounded semver targets. This can allow future lockfile refreshes to select newer versions than
expected without an explicit change to the override policy.
Code

packages/codemod/pnpm-lock.yaml[R8-11]

Evidence
The overrides block explicitly uses >= replacement specs for multiple packages, which are not
pinned to the specific patched versions currently resolved in the lockfile.

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Override replacement values are specified as open-ended `>=` ranges (e.g. `'>=8.0.3'`, `'>=7.0.5'`) rather than pinned versions or bounded ranges.

## Issue Context
Using pinned (or at least bounded, e.g. caret within a major) replacement specs keeps dependency resolution more predictable on future lockfile updates and reduces the chance of pulling in unexpected changes.

## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[7-12]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Advisory comments
3. Redundant serialize overrides 🐞 Bug ⚙ Maintainability
Description
Two serialize-javascript override entries have overlapping match ranges (versions 5.0.0 through
7.0.2 satisfy both). This redundancy makes the override policy harder to interpret and maintain.
Code

packages/codemod/pnpm-lock.yaml[R10-11]

Evidence
Both override keys are for serialize-javascript and their version ranges overlap for >=5.0.0 and
<=7.0.2 (which is also <7.0.5).

packages/codemod/pnpm-lock.yaml[7-12]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`serialize-javascript` is overridden by two rules with overlapping match ranges, making the override policy redundant.

## Issue Context
Simplifying to a single rule (for example, one that covers all vulnerable versions below the chosen fixed version) makes the intent clearer and reduces maintenance burden.

## Fix Focus Areas
- packages/codemod/pnpm-lock.yaml[10-11]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Qodo Logo

@smith-xyz

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@smith-xyz
smith-xyz force-pushed the dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5 branch from e0b6cd7 to 5237333 Compare June 4, 2026 17:41
@pkg-pr-new

pkg-pr-new Bot commented Jun 4, 2026 •

Copy link
Copy Markdown
  • typeorm-sql-js-example

    npm i https://pkg.pr.new/@typeorm/codemod@12534
    

commit: 447be47

@smith-xyz
smith-xyz force-pushed the dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5 branch from 3af294c to 8c357e9 Compare June 8, 2026 18:42
@smith-xyz
smith-xyz enabled auto-merge (squash) June 24, 2026 20:24
@smith-xyz
smith-xyz force-pushed the dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5 branch from 8c357e9 to 447be47 Compare July 2, 2026 13:26
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

@smith-xyz
smith-xyz merged commit 91e1319 into master Jul 2, 2026
18 checks passed
@smith-xyz
smith-xyz deleted the dependabot/npm_and_yarn/packages/codemod/serialize-javascript-7.0.5 branch July 2, 2026 13:28
@github-actions github-actions Bot added this to the 1.0 milestone Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Development

Successfully merging this pull request may close these issues.

1 participant