Skip to content

build(deps): bump @formkit/auto-animate from 0.10.0 to 0.10.2 (fix onboarding Stack types) - #3258

Open
jonathanKingston wants to merge 1 commit into
mainfrom
claude/bold-thompson-c1dogf
Open

jonathanKingston wants to merge 1 commit into
mainfrom
claude/bold-thompson-c1dogf

Conversation

@jonathanKingston

Copy link
Copy Markdown
Contributor

Asana Task/Github Issue: N/A (follow-up to Dependabot PR #3224)

Description

Supersedes #3224, which fails tsc in unit and integration.

  • Bumps @formkit/auto-animate 0.10.0 → 0.10.2 (same lockfile change as build(deps): bump @formkit/auto-animate from 0.10.0 to 0.10.2 #3224). Both versions were published more than 7 days ago by the same publisher (GitHub Actions trusted publishing).
  • 0.10.1 changed the preact hook to return RefObject<T extends Element>, so Stack.js failed with TS2322 (RefObject<Element> not assignable to Ref<HTMLDivElement>). The fix casts the hook result to an HTMLDivElement ref. There is no runtime change in our code.

Upstream changes that affect behaviour, so this needs a human look at onboarding animations:

  • 0.10.1: measures positioned ancestors when table rows are removed, stops re-observing detached elements after destroy(), and stops creating a second MutationObserver when autoAnimate is called twice.
  • 0.10.2: re-measures after a parent's CSS transition ends.

Testing Steps

  • npm ci && npm run build && npm run lint: passes, with 6 existing warnings in the generated surrogates-generated.js.
  • npm run test-unit -w special-pages: passes.
  • Manual: open the onboarding page from the Build Branch links and check that the Stack animations look the same as on main.

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged

🤖 Generated with Claude Code

https://claude.ai/code/session_018Jw5UTQeCMgb8Xjt4FtcMn

Supersedes #3224. auto-animate 0.10.1 tightened the preact hook typing to
RefObject<T extends Element>, which fails tsc in the onboarding Stack
component. Cast the hook result to an HTMLDivElement ref.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Jw5UTQeCMgb8Xjt4FtcMn
@jonathanKingston
jonathanKingston requested review from a team and daxtheduck as code owners November 27, 2026 08:56

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@github-actions github-actions Bot added the semver-patch Bug fix / internal — no release needed label Nov 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Build Branch

Branch pr-releases/claude/bold-thompson-c1dogf
Commit c2ec15208c
Updated November 27, 2026 at 8:59:03 AM UTC

Static preview entry points

QR codes (mobile preview)
Entry point QR code
Docs QR for docs preview
Static pages QR for static pages preview
Integration pages QR for integration pages preview

Integration commands

npm (Android / Extension):

npm i github:duckduckgo/content-scope-scripts#pr-releases/claude/bold-thompson-c1dogf

Swift Package Manager (Apple):

.package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/claude/bold-thompson-c1dogf")

git submodule (Windows):

git -C submodules/content-scope-scripts fetch origin pr-releases/claude/bold-thompson-c1dogf
git -C submodules/content-scope-scripts checkout origin/pr-releases/claude/bold-thompson-c1dogf
Pin to exact commit

npm (Android / Extension):

npm i github:duckduckgo/content-scope-scripts#c2ec15208c2686cbc4d99a9988d80da54950f172

Swift Package Manager (Apple):

.package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "c2ec15208c2686cbc4d99a9988d80da54950f172")

git submodule (Windows):

git -C submodules/content-scope-scripts fetch origin pr-releases/claude/bold-thompson-c1dogf
git -C submodules/content-scope-scripts checkout c2ec15208c2686cbc4d99a9988d80da54950f172

@github-actions

Copy link
Copy Markdown
Contributor

[Beta] Generated file diff

Time updated: Fri, 27 Nov 2026 08:59:13 GMT

Apple
    - apple/pages/onboarding/dist/index.js

File has changed

Integration
    - integration/pages/onboarding/dist/index.js

File has changed

Windows
    - windows/pages/onboarding/dist/index.js

File has changed

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Bug fix / internal — no release needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant