Skip to content

fix: update form-data lockfile resolution#1573

Merged
superdav42 merged 1 commit into
mainfrom
feature/auto-20260627-001756-gh1548
Jun 27, 2026
Merged

fix: update form-data lockfile resolution#1573
superdav42 merged 1 commit into
mainfrom
feature/auto-20260627-001756-gh1548

Conversation

@superdav42

Copy link
Copy Markdown
Collaborator

Summary

  • Updated package-lock.json so the transitive form-data package resolves to 4.0.6.
  • Refreshed the nested hasown metadata required by the updated form-data lockfile entry.
  • Kept the dependency remediation scoped to the npm lockfile.

Testing

  • node -e "const fs=require('fs'); const lock=JSON.parse(fs.readFileSync('package-lock.json','utf8')); const fd=lock.packages['node_modules/form-data']; console.log(JSON.stringify({version: fd && fd.version}, null, 2)); process.exit(fd && fd.version === '4.0.6' ? 0 : 1);"
  • npm audit --json parsed with form-data=null (remaining audit findings are unrelated existing dependencies)
  • git diff --check
  • npm run lint:js (fails on existing unrelated asset lint errors)
  • npm run lint:css (fails on existing unrelated assets/css/admin.css disabled-rule error)

Resolves #1548

@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 345257ab-d20e-4901-b774-6d759bef6d8c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/auto-20260627-001756-gh1548

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@superdav42

Copy link
Copy Markdown
Collaborator Author

MERGE_SUMMARY

Implemented dependency alert remediation for #1548.

Summary:

  • Updated package-lock.json so transitive form-data resolves to 4.0.6.
  • Refreshed lockfile metadata for hasown required by the updated form-data dependency.

Verification:

  • node -e ... confirmed lock.packages['node_modules/form-data'].version === '4.0.6'.
  • npm audit --json parsed with form-data=null; remaining vulnerabilities are unrelated existing dependencies.
  • git diff --check passed.
  • npm run lint:js attempted; failed on unrelated existing asset lint issues.
  • npm run lint:css attempted; failed on unrelated existing assets/css/admin.css disabled-rule error.

@superdav42 superdav42 force-pushed the feature/auto-20260627-001756-gh1548 branch from 06d629a to 766428a Compare June 27, 2026 06:25
@superdav42 superdav42 merged commit 2f41c22 into main Jun 27, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

🔨 Build Complete - Ready for Testing!

📦 Download Build Artifact (Recommended)

Download the zip build, upload to WordPress and test:

🌐 Test in WordPress Playground (Very Experimental)

Click the link below to instantly test this PR in your browser - no installation needed!
Playground support for multisite is very limitied, hopefully it will get better in the future.

🚀 Launch in Playground

Login credentials: admin / password

@github-actions

Copy link
Copy Markdown

🔨 Build Complete - Ready for Testing!

📦 Download Build Artifact (Recommended)

Download the zip build, upload to WordPress and test:

🌐 Test in WordPress Playground (Very Experimental)

Click the link below to instantly test this PR in your browser - no installation needed!
Playground support for multisite is very limitied, hopefully it will get better in the future.

🚀 Launch in Playground

Login credentials: admin / password

@superdav42 superdav42 added the review-feedback-scanned Merged PR already scanned for quality feedback label Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-feedback-scanned Merged PR already scanned for quality feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remediate dependency alert: form-data (npm)

1 participant