Skip to content

Bump tar, @capacitor/cli and electron-builder - #18

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-2cb4002e06
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-2cb4002e06

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 22, 2026

Copy link
Copy Markdown
Contributor

Bumps tar to 7.5.21 and updates ancestor dependencies tar, @capacitor/cli and electron-builder. These dependencies need to be updated together.

Updates tar from 6.2.1 to 7.5.21

Changelog

Sourced from tar's changelog.

Changelog

7.5

  • Added zstd compression support.
  • Consistent TOCTOU behavior in sync t.list
  • Only read from ustar block if not specified in Pax
  • Fix sync tar.list when file size reduces while reading
  • Sanitize absolute linkpaths properly
  • Prevent writing hardlink entries to the archive ahead of their file target

7.4

  • Deprecate onentry in favor of onReadEntry for clarity.

7.3

  • Add onWriteEntry option

7.2

  • DRY the command definitions into a single makeCommand method, and update the type signatures to more appropriately infer the return type from the options and arguments provided.

7.1

  • Update minipass to v7.1.0
  • Update the type definitions of write() and end() methods on Unpack and Parser classes to be compatible with the NodeJS.WritableStream type in the latest versions of @types/node.

7.0

  • Drop support for node <18
  • Rewrite in TypeScript, provide ESM and CommonJS hybrid interface
  • Add tree-shake friendly exports, like import('tar/create') and import('tar/read-entry') to get individual functions or classes.
  • Add chmod option that defaults to false, and deprecate noChmod. That is, reverse the default option regarding explicitly setting file system modes to match tar entry settings.
  • Add processUmask option to avoid having to call process.umask() when chmod: true (or noChmod: false) is set.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by isaacs, a new releaser for tar since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Updates @capacitor/cli from 6.2.1 to 8.4.2

Release notes

Sourced from @​capacitor/cli's releases.

8.4.2

8.4.2 (2026-07-14)

Bug Fixes

  • android: explicitly grant URI permissions for image capture intent (#8526) (6f2d328)

8.4.1

8.4.1 (2026-06-19)

Bug Fixes

  • cli: make SPM dependency patch work on prereleases (#8508) (6048e90)
  • cli: patch Capacitor SPM dependency version in plugins (#8492) (28bb2c6)

8.4.0

8.4.0 (2026-06-02)

Bug Fixes

  • android: show only the requested system bar (#8480) (4c6c321)
  • cli: revert live reload config on failure (#8485) (1d031a4)
  • SystemBars: make safe-area-inset-x available on API <= 34 (#8424) (e456de0)
  • SystemBars: respect insetsHandling disable (#8481) (d4ad7ff)

Features

8.3.4

8.3.4 (2026-05-12)

Note: Version bump only for package capacitor

8.3.3

8.3.3 (2026-05-08)

... (truncated)

Changelog

Sourced from @​capacitor/cli's changelog.

8.4.2 (2026-07-14)

Bug Fixes

  • android: explicitly grant URI permissions for image capture intent (#8526) (6f2d328)

8.4.1 (2026-06-19)

Bug Fixes

  • cli: make SPM dependency patch work on prereleases (#8508) (6048e90)
  • cli: patch Capacitor SPM dependency version in plugins (#8492) (28bb2c6)

8.4.0 (2026-06-02)

Bug Fixes

  • android: show only the requested system bar (#8480) (4c6c321)
  • cli: revert live reload config on failure (#8485) (1d031a4)
  • SystemBars: make safe-area-inset-x available on API <= 34 (#8424) (e456de0)
  • SystemBars: respect insetsHandling disable (#8481) (d4ad7ff)

Features

8.3.4 (2026-05-12)

Note: Version bump only for package capacitor

8.3.3 (2026-05-08)

Bug Fixes

  • cli: copy plugin files in CocoaPods projects (#8467) (b2d7719)

8.3.2 (2026-05-07)

Bug Fixes

  • cli: add cSettings support for compiler flags in generated Package.swift (#8448) (0bd0676)
  • cli: add system framework and weak framework support in SPM Package.swift (#8447) (3232f0f)
  • cli: correct Capacitor plugin SPM compat check (#8440) (e5ccc45)
  • cli: generate binaryTarget entries for custom xcframeworks in Package.swift (#8445) (1f7e33f)
  • cli: generate resource entries in Package.swift (#8455) (790bd27)
  • cli: handle Cordova plugins without iOS source files (#8443) (0da130e)
  • cli: link plugin dependencies in Package.swift (#8457) (b3c769e)
  • ios: support Cordova plugins with Package.swift (#8438) (139943b)

... (truncated)

Commits
  • 1834b97 Release 8.4.2
  • 6f2d328 fix(android): explicitly grant URI permissions for image capture intent (#8526)
  • b789b68 chore: run npm run fmt to fix lint errors (#8516)
  • 7217b52 Release 8.4.1
  • 6048e90 fix(cli): make SPM dependency patch work on prereleases (#8508)
  • 28bb2c6 fix(cli): patch Capacitor SPM dependency version in plugins (#8492)
  • 41fd9de Release 8.4.0
  • 36b729d chore: Decrease timeout for CI jobs from 60 to 30 minutes (#8476)
  • 4c6c321 fix(android): show only the requested system bar (#8480)
  • d4ad7ff fix(SystemBars): respect insetsHandling disable (#8481)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by capacitor-plugin-bot, a new releaser for @​capacitor/cli since your current version.


Updates electron-builder from 24.13.3 to 26.15.3

Release notes

Sourced from electron-builder's releases.

[email protected]

What's Changed

Full Changelog: https://github.com/electron-userland/electron-builder/compare/[email protected]@26.15.3

[email protected]

What's Changed

Full Changelog: https://github.com/electron-userland/electron-builder/compare/[email protected]@26.15.2

[email protected]

What's Changed

Full Changelog: https://github.com/electron-userland/electron-builder/compare/[email protected]@26.15.1

[email protected]

What's Changed

Full Changelog: https://github.com/electron-userland/electron-builder/compare/[email protected]@26.15.0

... (truncated)

Changelog

Sourced from electron-builder's changelog.

26.15.3

Patch Changes

35bfdeb 9097daf

26.15.2

Patch Changes

e25f967 f5ae163 3951024

26.15.1

Patch Changes

588ff48 db5d2f4

... (truncated)

Commits
Maintainer changes

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


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.

Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.21 and updates ancestor dependencies [tar](https://github.com/isaacs/node-tar), [@capacitor/cli](https://github.com/ionic-team/capacitor) and [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `tar` from 6.2.1 to 7.5.21
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.2.1...v7.5.21)

Updates `@capacitor/cli` from 6.2.1 to 8.4.2
- [Release notes](https://github.com/ionic-team/capacitor/releases)
- [Changelog](https://github.com/ionic-team/capacitor/blob/main/CHANGELOG.md)
- [Commits](ionic-team/capacitor@6.2.1...8.4.2)

Updates `electron-builder` from 24.13.3 to 26.15.3
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/[email protected]/packages/electron-builder)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.21
  dependency-type: indirect
- dependency-name: "@capacitor/cli"
  dependency-version: 8.4.2
  dependency-type: direct:development
- dependency-name: electron-builder
  dependency-version: 26.15.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 22, 2026
@dependabot
dependabot Bot requested a review from Amateur-God as a code owner July 22, 2026 04:55
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 22, 2026
@atlas-commons-bot

atlas-commons-bot Bot commented Jul 22, 2026 •

Copy link
Copy Markdown

Atlas Commons PR review

Requirement Status
DCO sign-off pass
Required checks fail
Summary filled fail
Checklist pass
Linked issue warn

Overall: fail

  • All commits include DCO sign-off.
  • Required checks failed.
  • Summary section is empty or still has placeholder text.
  • All checklist items ticked or none present.
  • No linked issue (advisory).

View PR #18 · Atlas-Commons/StreamBooru

@atlas-commons-bot

atlas-commons-bot Bot commented Jul 22, 2026 •

Copy link
Copy Markdown

Atlas Commons code review (LLM)

Summary

Dependabot PR #18 bumps @capacitor/cli (6.2.1 → 8.4.2), electron-builder (24.13.3 → 26.15.3), and transitively tar (6.2.1 → 7.5.21) via package.json and a large package-lock.json refresh. The tar upgrade addresses known archive extraction vulnerabilities (path traversal, decompression bombs, link sanitization). CI smoke tests (npm ci, test:server, test:tags) pass on this branch, and a local electron-builder --dir pack succeeds. However, only dev-tooling versions change; runtime Capacitor packages remain on v6, and release workflows still force electron-builder@^24, which partially undermines the stated goal.

Potential issues

  1. Capacitor CLI/runtime major-version mismatch The PR upgrades @capacitor/cli to 8.4.2 while @capacitor/core, @capacitor/android, and all first-party plugins stay on 6.x. Capacitor expects matching major versions across CLI and runtime; npx cap doctor reports CLI 8.4.2 vs core/android 6.2.1. Basic cap sync may succeed, but this is an unsupported configuration and risks subtle Android/iOS sync or plugin breakage.
Installed:  @capacitor/cli 8.4.2, @capacitor/core 6.2.1, @capacitor/android 6.2.1
Expected:   all packages on the same major (8.x)
  1. Release CI downgrades electron-builder after merge .github/workflows/release.github.yml and .forgejo/workflows/release.yml run npm i -D electron-builder@^24 after npm ci. That reverts the lockfile’s 26.x pin and reintroduces [email protected] on the electron-builder dependency path, leaving mixed tar versions and reducing the security benefit in release builds.
# release.github.yml (lines 57-58, 90-91)
- run: npm ci
- run: npm i -D electron-builder@^24
  1. @capacitor/cli 8 raises minimum Node to 22 @capacitor/[email protected] declares "node": ">=22.0.0" in package-lock.json. GitHub CI uses Node 22/24, but ANDROID.md still recommends Node 18+. Developers on Node 18–21 will hit install or runtime failures after merging only the CLI bump.

  2. Large major jumps without build-path validation in CI electron-builder 24 → 26 replaces the Go-based app-builder-bin with a TypeScript implementation and changes packaging behavior (macOS zip, icon generation, signing defaults). PR CI does not run electron-builder or Android Gradle builds, so regressions in .deb/.exe/Flatpak release artifacts would only surface at tag time.

  3. tar 7.x adds a prepare script on install Dependabot flagged that [email protected] runs a prepare script during npm ci. This is low risk from a maintainer-trusted package, but it expands the install-time execution surface compared to [email protected] and is worth a quick lockfile/package inspection in security-sensitive environments.

Suggestions

  • Do not merge the Capacitor CLI bump in isolation. Either revert @capacitor/cli to ^6.2.1 and land only the electron-builder/tar changes, or plan a coordinated Capacitor 8 migration updating @capacitor/core, @capacitor/android, all @capacitor/* plugins, and @capacitor-community/http compatibility together.
  • If the primary goal is the tar CVE fix with minimal churn, a narrower approach works: keep current devDependency majors and add an npm overrides entry forcing [email protected] (verified locally with Capacitor 6 + electron-builder 24).
  • Update release workflows Remove or change npm i -D electron-builder@^24 in release.github.yml and .forgejo/workflows/release.yml to match package.json, then run at least one full release-target build (--linux deb tar.gz and optionally --win nsis) before tagging.
  • Extend CI coverage Add a non-blocking job that runs npx electron-builder --dir and/or ./gradlew assembleDebug so dependency bumps like this get exercised before release.
  • Refresh docs If Capacitor 8 is adopted, update ANDROID.md to require Node 22+ and note any Cap 8 migration steps (SPM/CocoaPods changes, deprecated config keys like bundledWebRuntime).

Overall assessment

The underlying motivation—patching tar and refreshing build tooling—is sound, and the lockfile coherently resolves [email protected] when installed as-is. I would not merge this PR as written: bumping @capacitor/cli to v8 without upgrading runtime Capacitor packages creates a correctness risk, and release pipelines would immediately downgrade electron-builder, partially undoing the security fix. A split or follow-up PR that (a) lands electron-builder@26 plus workflow pin removal, or (b) uses a tar override while staying on Capacitor 6, is lower risk than accepting the full Dependabot grouping unchanged.


Advisory review only — not a merge approval.

View PR #18 · Atlas-Commons/StreamBooru

@dependabot @github

dependabot Bot commented on behalf of github Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/multi-2cb4002e06 branch August 11, 2026 06:58
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.

1 participant