Skip to content

build(deps): bump serialize-javascript and @wordpress/scripts - #1569

Merged
mukeshpanchal27 merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/multi-b498778e61
Dec 5, 2026
Merged

mukeshpanchal27 merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/multi-b498778e61

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Bumps serialize-javascript to 7.1.5 and updates ancestor dependency @wordpress/scripts. These dependencies need to be updated together.

Updates serialize-javascript from 6.0.2 to 7.1.5

Release notes

Sourced from serialize-javascript's releases.

v7.1.5

Notes

  • Options supplied solely through a custom prototype chain (e.g. serialize(obj, Object.create({unsafe: true}))) are no longer picked up. Pass options as own properties instead. Explicit options such as {unsafe: true}, a null-prototype options object, or space given as a number/string behave as before.

What's Changed

New Contributors

Full Changelog: yahoo/serialize-javascript@v7.1.4...v7.1.5

v7.1.4

What's Changed

Note on method serialization

Concise methods ({ m() {} }), including async, generator and computed-key methods, are now serialized correctly when their bodies contain a nested arrow function or function declaration. Previously these were emitted unchanged, producing invalid output that failed to deserialize (#118). Class expressions continue to be emitted as-is.

Reporting security issues

This repo now has a security policy. Please report vulnerabilities privately through GitHub's private vulnerability reporting rather than public issues.

Full Changelog: yahoo/serialize-javascript@v7.1.3...v7.1.4

v7.1.3

See: GHSA-m5mm-p8h7-m29v

What's Changed

Note on ignoreFunction

With ignoreFunction: true, function values are now omitted the same way JSON.stringify omits them, without deleting them from the input object. Functions inside arrays are emitted as null (previously this produced Array.prototype.slice.call(...) output).

New Contributors

Full Changelog: yahoo/serialize-javascript@v7.1.2...v7.1.3

v7.1.2

... (truncated)

Commits
  • d972a4f release: v7.1.5
  • 9b36e8a fix: ignore options inherited from Object.prototype
  • 4d0d8a6 Add regression coverage for script close variants (#219)
  • 05c5ceb release: v7.1.4 (#238)
  • fdb853d Fix methods containing nested functions and arrows (#231)
  • f7dfeae docs: add SECURITY.md pointing to private vulnerability reporting (#237)
  • 4d36b82 release: v7.1.3 (#236)
  • 45e5397 fix: ignore functions without mutating input objects (#233)
  • e978a1b fix: serialize Dates with expanded ISO years (#232)
  • 2864b3c fix: escape </script at the end of a serialized function body (#235)
  • Additional commits viewable in compare view
Maintainer changes

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


Updates @wordpress/scripts from 37.2.0 to 37.3.0

Changelog

Sourced from @​wordpress/scripts's changelog.

37.3.0 (2026-12-02)

Bug Fixes

  • check-licenses: Accept the PSF-2.0 license outside GPL-2.0-only mode, as Python-2.0 already is. argparse 3, which Stylelint 18 depends on through cosmiconfig 10 and js-yaml 5, uses it (#87151).

Internal

  • Update vitest development dependency to 5.1.1 (#87254).
  • Update copy-webpack-plugin to ^14.0.0 to pull in a patched serialize-javascript release (#87479).
Commits
  • 7f19202 chore(release): publish
  • 2c303d5 Update changelog files
  • 117e6d6 Merge changes published in the Gutenberg plugin "release/24.6" branch
  • See full diff in compare view

Open WordPress Playground Preview

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 3, 2026
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ernilambar <nilambar@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@mukeshpanchal27

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) to 7.1.5 and updates ancestor dependency [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts). These dependencies need to be updated together.


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

Updates `@wordpress/scripts` from 37.2.0 to 37.3.0
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/scripts@37.3.0/packages/scripts)

---
updated-dependencies:
- dependency-name: "@wordpress/scripts"
  dependency-version: 37.3.0
  dependency-type: direct:development
- dependency-name: serialize-javascript
  dependency-version: 7.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b498778e61 branch from 0c7efc3 to e3e3a4b Compare December 5, 2026 05:42
@mukeshpanchal27
mukeshpanchal27 merged commit 9395548 into trunk Dec 5, 2026
21 checks passed
@mukeshpanchal27
mukeshpanchal27 deleted the dependabot/npm_and_yarn/multi-b498778e61 branch December 5, 2026 05:47
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants