Skip to content

Bump serialize-javascript, copy-webpack-plugin and css-minimizer-webpack-plugin#1118

Merged
maureenlholland merged 1 commit intomainfrom
dependabot/npm_and_yarn/multi-0825cb3cc0
Mar 24, 2026
Merged

Bump serialize-javascript, copy-webpack-plugin and css-minimizer-webpack-plugin#1118
maureenlholland merged 1 commit intomainfrom
dependabot/npm_and_yarn/multi-0825cb3cc0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 5, 2026

Bumps serialize-javascript to 7.0.4 and updates ancestor dependencies serialize-javascript, copy-webpack-plugin and css-minimizer-webpack-plugin. These dependencies need to be updated together.

Updates serialize-javascript from 6.0.2 to 7.0.4

Release notes

Sourced from serialize-javascript's releases.

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](https://www.npmjs.com/~GitHub Actions), a new releaser for serialize-javascript since your current version.


Updates copy-webpack-plugin from 13.0.1 to 14.0.0

Release notes

Sourced from copy-webpack-plugin's releases.

v14.0.0

14.0.0 (2026-03-02)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 20.9.0 (#819) (2881203)

Bug Fixes

  • update serialize-javascript to fix security problems
Changelog

Sourced from copy-webpack-plugin's changelog.

14.0.0 (2026-03-02)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 20.9.0 (#819) (2881203)

Bug Fixes

  • update serialize-javascript to fix security problems
Commits

Updates css-minimizer-webpack-plugin from 7.0.4 to 8.0.0

Release notes

Sourced from css-minimizer-webpack-plugin's releases.

v8.0.0

8.0.0 (2026-03-02)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 20.9.0 (#303) (8791cc2)
Changelog

Sourced from css-minimizer-webpack-plugin's changelog.

8.0.0 (2026-03-02)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 20.9.0 (#303) (8791cc2)
Commits

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. Label is automatically selected by dependabot Frontend HTML, CSS, JS... client side stuff labels Mar 5, 2026
@stevejalim stevejalim requested a review from Copilot March 12, 2026 10:34
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 repo’s webpack build toolchain dependencies to address upstream dependency/security updates by bumping copy-webpack-plugin and css-minimizer-webpack-plugin (and thereby pulling in serialize-javascript@7 transitively).

Changes:

  • Bump copy-webpack-plugin from ^13.0.1 to ^14.0.0.
  • Bump css-minimizer-webpack-plugin from ^7.x to ^8.0.0.
  • Update package-lock.json to reflect new transitive dependencies (including serialize-javascript@7.0.4) and updated engine requirements.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates webpack-related dependency versions to the new major releases.
package-lock.json Locks updated dependency tree, including new Node engine constraints and transitive updates (e.g., serialize-javascript@7).

Comment on lines +18 to +20
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"css-minimizer-webpack-plugin": "^8.0.0",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

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

suggestion (blocking): copy-webpack-plugin@14 and css-minimizer-webpack-plugin@8 now declare engines.node >= 20.9.0 (and serialize-javascript@7 requires Node >=20). Since this repo’s root package.json doesn’t declare an engines range, local npm install (e.g. make preflight) can fail in hard-to-diagnose ways on older Node 20.x/18.x. Consider adding an explicit engines.node (at least >=20.9.0) to make the Node requirement clear and consistently enforced.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It would "fail" equally invisibly, with just a npm warn EBADENGINE Unsupported engine somewhere in the middle of the waterfall of logs — no matter if springfield package states the constraint, or serialize-javascript reports its own.

I don't really understand Copilot's take on this — springfield should not and can't be tracking its deps' engines — these are already in the lockfile for each dep if defined correctly — the project package only defines its own compatibility constraints. Any package's engines is as good as the next one, incl. the local package i.e. springfield; the failure would look the same, and notably the field unfortunately can't really enforce anything, as it has no power to manage the runtime environment. Not sure if you can make Copilot elaborate further, but this sounds like something that's nonexistent in its npm world view, or it assumes configs/arguments/tools (like yarn) not used here. Adding details to #1180 (comment)

@maureenlholland maureenlholland self-assigned this Mar 23, 2026
@maureenlholland
Copy link
Copy Markdown
Collaborator

maureenlholland commented Mar 23, 2026

confirmed with updated npm versions the reinstatement of @parcel/watcher packages is expected, will approve & merge after successful integration tests run (in progress)

@maureenlholland
Copy link
Copy Markdown
Collaborator

decision on whether to add engines field will be made here: #1180

@janbrasna

This comment was marked as resolved.

@maureenlholland
Copy link
Copy Markdown
Collaborator

@dependabot rebase

…ack-plugin

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 7.0.4 and updates ancestor dependencies [serialize-javascript](https://github.com/yahoo/serialize-javascript), [copy-webpack-plugin](https://github.com/webpack/copy-webpack-plugin) and [css-minimizer-webpack-plugin](https://github.com/webpack/css-minimizer-webpack-plugin). These dependencies need to be updated together.


Updates `serialize-javascript` from 6.0.2 to 7.0.4
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v6.0.2...v7.0.4)

Updates `copy-webpack-plugin` from 13.0.1 to 14.0.0
- [Release notes](https://github.com/webpack/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack/copy-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](webpack/copy-webpack-plugin@v13.0.1...v14.0.0)

Updates `css-minimizer-webpack-plugin` from 7.0.4 to 8.0.0
- [Release notes](https://github.com/webpack/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack/css-minimizer-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](webpack/css-minimizer-webpack-plugin@v7.0.4...v8.0.0)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.0.4
  dependency-type: indirect
- dependency-name: copy-webpack-plugin
  dependency-version: 14.0.0
  dependency-type: direct:production
- dependency-name: css-minimizer-webpack-plugin
  dependency-version: 8.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Copy Markdown
Collaborator

@maureenlholland maureenlholland left a comment

Choose a reason for hiding this comment

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

@maureenlholland maureenlholland merged commit 141dbc0 into main Mar 24, 2026
11 checks passed
@maureenlholland maureenlholland deleted the dependabot/npm_and_yarn/multi-0825cb3cc0 branch March 24, 2026 11:17
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. Label is automatically selected by dependabot Frontend HTML, CSS, JS... client side stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants