fix(deps): update dependency archiver to v8 - #125
renovate[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
20aef88 to
701abac
Compare
701abac to
4b8892f
Compare
jinhongliang991013
left a comment
There was a problem hiding this comment.
Archiver 8 changes the module export shape, so the current CommonJS packaging script can no longer create the extension archive.
| }, | ||
| "dependencies": { | ||
| "archiver": "^7.0.1" | ||
| "archiver": "^8.0.0" |
There was a problem hiding this comment.
This major upgrade breaks the repository's npm run zip path. I tested the exact commits after a successful build: the base (7822e235, locked archiver@7.0.1) prints Extension zip created and exits 0, while this PR (4b8892fc, locked archiver@8.0.0) fails at const archive = archiver(...) with TypeError: archiver is not a function, exits 1, and leaves a 0-byte extension.zip. Archiver 8 exposes the ESM/default export differently, but create-extension-zip.js still uses const archiver = require('archiver'). Please migrate the packaging script to the v8 export/API (and avoid leaving the empty output on failure), or keep v7.
4b8892f to
78a5098
Compare
78a5098 to
4e43334
Compare
4e43334 to
5549b4c
Compare
There was a problem hiding this comment.
Stale comment
Risk: medium. Cursor Bugbot was not present on this PR. The archiver v8 major bump is ESM-only and may break the CommonJS
create-extension-zip.jspackaging path, so human review is required before merge. Reviewers are already assigned.Sent by Cursor Approval Agent: Pull Request Approver External
9554b05 to
642ce63
Compare
642ce63 to
7eeed05
Compare
805b804 to
2376ff8
Compare
2376ff8 to
c31a019
Compare
c31a019 to
505d9f7
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |


This PR contains the following updates:
^7.0.1→^8.0.0Release Notes
archiverjs/node-archiver (archiver)
v8.0.0Compare Source
What’s changed
Breaking changes
Maintenance
Documentation
Dependency updates
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.