Skip to content

chore(deps): bump ccapture.js from 1.1.0 to 2.0.0 in /src/swift/public - #127

Merged
petercorke merged 1 commit into
mainfrom
dependabot/npm_and_yarn/src/swift/public/ccapture.js-2.0.0
Aug 21, 2026
Merged

chore(deps): bump ccapture.js from 1.1.0 to 2.0.0 in /src/swift/public#127
petercorke merged 1 commit into
mainfrom
dependabot/npm_and_yarn/src/swift/public/ccapture.js-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps ccapture.js from 1.1.0 to 2.0.0.

Release notes

Sourced from ccapture.js's releases.

v2.0.0

CCapture 2.0.0 — ground-up rewrite

Highlights

  • WebCodecs-first MP4 (H.264/AV1) & WebM (VP9/VP8/AV1) — hardware-accelerated, back-pressured
  • GPU (WebGL2) or CPU motion blur, auto-selected
  • Frame-accurate audio: offline analysis (renderAudioFrames) + AudioBuffer muxing (AAC/Opus)
  • Frame-stepped <video>/<audio> capture; async/await throughout
  • Modular: CCapture = TimeWarp (clock) + FrameWrap (capture/encode), each usable alone
  • Pluggable encoders (FrameEncoder / BatchEncoder, registerEncoder)
  • ESM from source, UMD global build, bundled TypeScript types

Breaking changes (see the README's "Migrating from CCapture 1.x")

  • CCapture is now a class composing FrameWrap + TimeWarp; the engine role is now FrameWrap
  • Default format is mp4 (was webm); save() downloads by default
  • Removed ffmpegserver / webm-mediarecorder; gif worker gone (uses gifenc)

Upgrade / CDN notes

  • 1.x is preserved on the 1.x branch and npm ccapture.js@1 — pinned users are unaffected
  • ⚠️ Unversioned CDN embeds of the old bundle (unpkg.com/ccapture.js/build/CCapture.all.min.js) will 404 on v2. Pin @1, or use the v2 global: https://cdn.jsdelivr.net/npm/ccapture.js@2/build/ccapture.umd.min.js
Changelog

Sourced from ccapture.js's changelog.

2.0.0 — 2026-07-27

Ground-up rewrite for modern browsers. Full notes in the GitHub release.

Added

  • Modular architecture: CCapture = TimeWarp (virtual clock) + FrameWrap (capture + encoding), each usable on its own.
  • WebCodecs encoders for MP4 (H.264/AV1) and WebM (VP9/VP8/AV1) with runtime codec negotiation and automatic even-dimension fitting; legacy webm-writer fallback when WebCodecs is unavailable.
  • GPU (WebGL2) and CPU motion blur, auto-selected.
  • Frame-accurate audio: offline analysis (renderAudioFrames) and AudioBuffer muxing (AAC/Opus).
  • Frame-stepped <video>/<audio> capture; async/await throughout.
  • Pluggable encoders (FrameEncoder / BatchEncoder) + CCapture.registerEncoder.
  • UMD/IIFE global build, bundled TypeScript declarations, ESM-from-source.
  • Example gallery + landing page; Node and headless-browser test suites.

Changed

  • CCapture is now a class composing FrameWrap + TimeWarp (was the whole library); the capture-engine role is now FrameWrap.
  • Default format is mp4 (was webm).
  • save() downloads by default; pass a callback to receive the Blob.
  • motionBlurFrames is now the exact sub-frame count (previously doubled).

Removed

  • ffmpegserver and webm-mediarecorder formats.
  • The gif worker (workersPath) — gif now uses gifenc, no worker script.

Migration

See "Migrating from CCapture 1.x" in the README. The 1.x line is preserved on the 1.x branch and on npm as ccapture.js@1.

1.x and earlier

See the git history on the 1.x branch.

Commits

Dependabot compatibility score

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)

Bumps [ccapture.js](https://github.com/spite/ccapture.js) from 1.1.0 to 2.0.0.
- [Release notes](https://github.com/spite/ccapture.js/releases)
- [Changelog](https://github.com/spite/ccapture.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spite/ccapture.js/commits/v2.0.0)

---
updated-dependencies:
- dependency-name: ccapture.js
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 18, 2026
@petercorke
petercorke merged commit 2b011e1 into main Aug 21, 2026
1 of 2 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/src/swift/public/ccapture.js-2.0.0 branch August 21, 2026 04:11
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