Skip to content

Conversation

@mho22
Copy link
Collaborator

@mho22 mho22 commented Dec 17, 2025

Motivation for the change, related issues

This pull request aims to fix security issues but I am not sure if refreshing package-locks is a good idea.
I also had to update three dependencies for wp-6.3 since it would crash when running npm install.

Maybe we should simply close these vulnerabilities ?

Related to the Security issues :

https://github.com/WordPress/wordpress-playground/security/dependabot/117
https://github.com/WordPress/wordpress-playground/security/dependabot/116
https://github.com/WordPress/wordpress-playground/security/dependabot/115
https://github.com/WordPress/wordpress-playground/security/dependabot/114

Implementation details

Refreshed some package-locks and updated a package.json

@mho22 mho22 changed the title Update package lock files in WordPress builds themes to solve current security issues Update package lock files in WordPress builds themes to fix current security issues Dec 17, 2025
@mho22 mho22 added [Type] Bug An existing feature does not function as intended dependencies Pull requests that update a dependency file labels Dec 17, 2025
@adamziel
Copy link
Collaborator

I guess this PR is fine, but I don't think it solves any issues. That package json is never used for anything and will likely be overridden when those files change on another patch version release. That being said, I don't see anything wrong with this change so let's merge it.

@adamziel adamziel merged commit 0c10bb2 into trunk Dec 17, 2025
33 checks passed
@adamziel adamziel deleted the update-package-locks-in-wordpress-builds-themes branch December 17, 2025 15:20
@adamziel
Copy link
Collaborator

It would be pretty useful to somehow exclude those package log files from dependabot alerts.

@mho22
Copy link
Collaborator Author

mho22 commented Dec 17, 2025

On it.

mho22 added a commit that referenced this pull request Jan 6, 2026
## Motivation for the change, related issues

Based on #3057

Instead of modifying the `package-lock.json` files inside the
`wordpress-builds` directory like I did in the previous pull request, I
fixed the incorrect path in `dependabot.yml`.

## Implementation details

```diff
exclude-paths:
- - packages/playground/wordpress-builds/build
+ - packages/playground/wordpress-builds/public
  - isomorphic-git
```

## Testing Instructions (or ideally a Blueprint)

If this pull request is merged, [this Security
issue](https://github.com/WordPress/wordpress-playground/security/dependabot/132)
will no longer be open.
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 [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants