Skip to content

chore(deps): bump image-size from 1.1.1 to 1.2.1 - #12

Merged
thinkclay merged 1 commit into
mainfrom
dependabot/npm_and_yarn/image-size-1.2.1
Sep 22, 2025
Merged

thinkclay merged 1 commit into
mainfrom
dependabot/npm_and_yarn/image-size-1.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 22, 2025

Copy link
Copy Markdown
Contributor

Bumps image-size from 1.1.1 to 1.2.1.

Release notes

Sourced from image-size's releases.

v1.2.1

Fixes

Full Changelog: image-size/image-size@v1.2.0...v1.2.1

v1.2.0

This release adds support for JPEG-XL ( #409 )

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [image-size](https://github.com/image-size/image-size) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](image-size/image-size@v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: image-size
  dependency-version: 1.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript labels Sep 22, 2025
@thinkclay
thinkclay merged commit 500c063 into main Sep 22, 2025
@thinkclay
thinkclay deleted the dependabot/npm_and_yarn/image-size-1.2.1 branch September 22, 2025 22:36
thinkclay added a commit that referenced this pull request Oct 13, 2025
…e-1.2.1

chore(deps): bump image-size from 1.1.1 to 1.2.1
thinkclay added a commit that referenced this pull request Aug 5, 2026
This branch pinned packages/sdk and packages/ui at the tips of
Scaffald/sdk#12 and Scaffald/ui#17. Both were squash-merged, which creates a
new commit and leaves the branch tips unreachable from their mains — so the
pointers here referenced commits that no longer exist on any branch. Merging
in that state would have pinned SaaS main to orphaned submodule commits.

  packages/sdk  f96f4180 -> e4a47e5 (sdk main, #12 squashed)
  packages/ui   39f950d1 -> fdaa0d4 (ui main, #17 squashed)

Verified the squashed commits carry what this branch needs — sdk has
resources/legal.ts and prerequisites' needsLegalAcceptance, ui's Checkbox
forwards testID — and that scf-core typechecks clean against them.
thinkclay added a commit that referenced this pull request Aug 5, 2026
…ce, web PKCE (#519)

* fix(auth): keep the auth Stack mounted during the session check so OAuth callback tokens survive

The (auth)/auth layout returned a Loading view *instead of* its <Stack>
while useProtectedRoute was pending — which is always the case on first
render. With the navigator unmounted during hydration, react-navigation
resolved the focused route back to the group's initial route and
expo-router's history sync rewrote the URL to /auth, destroying the
#access_token fragment on /auth/callback ~5ms before supabase-js
initialized and read the URL. Result: every web OAuth login (Google/
Apple) on prod silently bounced back to the login screen.

Render the Stack unconditionally and overlay the loading state instead.
Verified end-to-end against a local dev server: minted a real GoTrue
session, loaded /auth/callback#access_token=... — supabase-js now issues
the /auth/v1/user validation call, stores the session, and lands on
/dashboard signed in. Before the fix the same URL produced zero auth
requests and a silent bounce (reproduced on prod with an instrumented
iframe probe).

Also add the apex + www domains to the local config.toml redirect
allow-list and fix its stale production comment (prod's hosted
uri_allow_list already had them).

Co-Authored-By: Claude Fable 5 <[email protected]>

* feat(auth): versioned legal acceptance, passive login notice, layout hydration fix, web PKCE

Four related auth changes.

1. Versioned legal acceptance (migration 342)

core.legal_documents holds one is_current row per document type and is the
single source of truth for which version users must accept. It replaces
five drifting hardcoded version constants (login screen, cookie provider
x2, both prerequisites routers, the document page subtitles). Publishing
new terms is now an UPDATE+INSERT documented in the migration header — no
code deploy.

GET /v1/prerequisites/check reads it and reports which gate, if any, is
unresolved: needsOnboarding (profile fields missing -> full onboarding
form) or needsLegalAcceptance (profile complete, legal stale -> the new
lightweight /legal-update screen). Acceptance now only counts at the
current version, so a version bump forces re-acceptance; the seeded
current version is 'v1.0', which every existing preferences row already
carries, so nobody is re-prompted at cutover and no data migration is
needed.

POST /v1/prerequisites/accept-legal backs the re-acceptance screen. Both
it and /complete stamp versions read from the table and write
consent_records audit rows server-side, with first-class
'terms_of_service'/'privacy_policy' consent_type values (CHECK extended)
instead of the previous metadata.type shoehorn.

2. Login screen: passive notice replaces the consent checkbox

The checkbox was theater: a SIGNED_IN listener wrote two consent_records
rows unconditionally, without consulting it, on web and native alike. That
client-side write is deleted. The notice is browsewrap; the real
versioned, audited clickwrap now happens in onboarding and /legal-update.
Adds i18n keys in en/es/fr (the old copy was hardcoded English).

3. (protected) and (admin) layouts: same hydration bug as the OAuth callback

Both rendered <Slot /> only once ready, so during web hydration the
navigator was unmounted and expo-router rewrote the URL to the group's
initial route — the mechanism that ate the OAuth callback hash in the
previous commit, here eating deep-link paths. Both now keep the navigator
mounted behind an opaque overlay, which also closes a one-frame flash of
protected content before a redirect. Redirect refs became target-aware so
a user can move between gates without getting stuck.

4. Web OAuth switched to PKCE

flowType is pkce on web (native keeps implicit; it signs in via
signInWithIdToken and never parses URLs). A pkce client rejects
implicit-style #access_token callbacks AND calls _removeSession on the way
out, which is what GoTrue's {{ .ConfirmationURL }} email links produce —
so the email templates now link to a new flow-agnostic /auth/confirm
route that verifies a token_hash. See the deploy-order constraint in
client.ts: hosted templates must be updated and old links allowed to
expire before a build with this flag ships.

Also removes dead code: PrerequisiteWidget (rendered nowhere, validated
legal fields it never rendered) and the SDK's six phantom prerequisites
endpoints; fixes extensionless edge-function imports that broke
`supabase functions serve` for the whole stack; and reconciles the
three-way testID drift between the onboarding form, the Playwright
helpers, and tests/TEST_IDS.md.

Verified against a live local stack: 8 new Deno route tests cover the
check/complete/accept-legal contract including the stale-version round
trip and its audit rows. Manually exercised a real version publish — an
onboarded user flipped to needsLegalAcceptance with needsOnboarding still
false, then accept-legal restored isComplete with the new version
stamped. Unit suites (scf-core 304, SDK 764, root-route 23, schemas 53)
and the SDK/route contract test pass; typecheck clean.

Co-Authored-By: Claude Fable 5 <[email protected]>

* chore(auth): hold the web PKCE flag for a follow-up deploy

The flowType flip and the /auth/confirm route were in one commit, which
made every web deploy of this branch order-dependent: shipping the flag
before the hosted email templates are updated (and before links issued
under the old templates expire) breaks magic-link sign-in AND signs the
clicking user out, because a pkce client rejects the implicit-style
#access_token callback and _initialize() then calls _removeSession().

Dropping just the flag makes this branch safe to deploy in any order. The
/auth/confirm token_hash lander and the template changes still ship here —
they are flow-agnostic and are the prerequisite for the flag. The flip
follows once templates are live and old links have expired.

Co-Authored-By: Claude Fable 5 <[email protected]>

* fix(legal): format effective dates in UTC

effective_at is stored as midnight UTC, so formatting it in the viewer's
local timezone shifted it a day backwards for anyone west of UTC: the
terms page rendered "Last updated: February 2025" for a document that took
effect 2025-03-01. Caught on the dev deploy.

Adds a shared formatEffectiveDate() so the document pages and the
re-acceptance screen cannot drift on this again. The effective date is a
legal fact, not a local timestamp.

Co-Authored-By: Claude Fable 5 <[email protected]>

* chore(submodules): repoint at the squashed sdk/ui mains

This branch pinned packages/sdk and packages/ui at the tips of
Scaffald/sdk#12 and Scaffald/ui#17. Both were squash-merged, which creates a
new commit and leaves the branch tips unreachable from their mains — so the
pointers here referenced commits that no longer exist on any branch. Merging
in that state would have pinned SaaS main to orphaned submodule commits.

  packages/sdk  f96f4180 -> e4a47e5 (sdk main, #12 squashed)
  packages/ui   39f950d1 -> fdaa0d4 (ui main, #17 squashed)

Verified the squashed commits carry what this branch needs — sdk has
resources/legal.ts and prerequisites' needsLegalAcceptance, ui's Checkbox
forwards testID — and that scf-core typechecks clean against them.

* fix(work-logs): select team_id, which WorkLogRow requires

`pnpm build` failed on this branch with TS2741 at work-logs.router.ts:900 —
fetchWorkLog declares Promise<WorkLogRow> but WORK_LOG_SELECT never asked for
team_id, so the returned row was missing a field the regenerated DB types make
required.

Pre-existed the submodule repoint in the previous commit; verified by checking
out HEAD~1 and reproducing the same error. Blocking the push, so fixed here.

* style(api): satisfy `deno fmt --check` on the prerequisites/legal routes

The "Lint REST API Code" job runs `deno fmt --check`, which this branch's three
new/changed files did not satisfy: routes/prerequisites.ts and the legal and
prerequisites route tests. Mechanical; no behavioural change.

---------

Co-authored-by: Claude Fable 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 22, 2026
…that close (#627)

Phase 3, final §12 items (#622). Closes #12 and #13 from #539 — all 18 done.

ROOT CAUSE, SHARED BY BOTH. The stage-transition table lived inside a
useCallback inside useApplicationStatusChange, so nothing outside that hook
could ask "what is legal from here?". The board could not close illegal drop
targets during a drag, and no alternative input could offer a list of legal
moves. Hoisting it to module scope and exporting ALLOWED_TRANSITIONS,
isValidStatusTransition and allowedTargetsFor is most of the fix.

#12 THE BOARD WAS POINTER-ONLY.

  Keyboard: PointerSensor was the only sensor registered. dnd-kit ships a
  KeyboardSensor that gives Space to lift, arrows to move between droppables
  and Space to drop — so the fix is registering it, not building a parallel
  interaction.

  Mobile: a keyboard sensor does not help a phone. One stage renders at a time
  behind a Tabs control, so there is no second column on screen to drag a card
  to — cross-stage moves were impossible, not merely awkward. Each card now
  carries explicit move buttons for its legal targets, which works by touch,
  by keyboard and by mouse. They route through the same `changeStatus` the
  drag path uses, so the confirm modal for critical moves and the transition
  guard apply identically: a second INPUT, not a second code path.

  Targets are computed from the CARD's status, not the column's — `withdrawn`
  cards live in the rejected column and must not inherit its moves.

#13 ILLEGAL DROPS FAILED SILENTLY AFTER THE DROP. A column accepted any card,
then rejected the move and surfaced an error the user could not have
predicted. Columns that cannot legally receive the dragged card now register
as `disabled` droppables — the card will not land there — and dim to 0.35 with
aria-disabled, so the constraint is visible during the drag rather than
explained afterwards. Nothing dims at rest; a column is only closed while
something is actually in the air.

12 tests on the table, including one invariant worth keeping: the candidate
header's advance button and the board read from two different sources
(NEXT_STAGE and ALLOWED_TRANSITIONS), and if they drift the header offers a
button the guard silently refuses — which is exactly the class of bug §12 #1
was. The test asserts they agree for every stage.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 12 new
tests; /office/applications renders through the authenticated harness with no
new console errors.

NOT verified visually: the seeded org has zero applications, so the board has
no cards and neither the move buttons nor the dimmed columns could be seen
rendering. The behaviour is covered by tests, not by eye.

Co-authored-by: Claude Opus 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 22, 2026
* feat(ats): a keyboard and touch path for the board, and drop targets that close

Phase 3, final §12 items (#622). Closes #12 and #13 from #539 — all 18 done.

ROOT CAUSE, SHARED BY BOTH. The stage-transition table lived inside a
useCallback inside useApplicationStatusChange, so nothing outside that hook
could ask "what is legal from here?". The board could not close illegal drop
targets during a drag, and no alternative input could offer a list of legal
moves. Hoisting it to module scope and exporting ALLOWED_TRANSITIONS,
isValidStatusTransition and allowedTargetsFor is most of the fix.

#12 THE BOARD WAS POINTER-ONLY.

  Keyboard: PointerSensor was the only sensor registered. dnd-kit ships a
  KeyboardSensor that gives Space to lift, arrows to move between droppables
  and Space to drop — so the fix is registering it, not building a parallel
  interaction.

  Mobile: a keyboard sensor does not help a phone. One stage renders at a time
  behind a Tabs control, so there is no second column on screen to drag a card
  to — cross-stage moves were impossible, not merely awkward. Each card now
  carries explicit move buttons for its legal targets, which works by touch,
  by keyboard and by mouse. They route through the same `changeStatus` the
  drag path uses, so the confirm modal for critical moves and the transition
  guard apply identically: a second INPUT, not a second code path.

  Targets are computed from the CARD's status, not the column's — `withdrawn`
  cards live in the rejected column and must not inherit its moves.

#13 ILLEGAL DROPS FAILED SILENTLY AFTER THE DROP. A column accepted any card,
then rejected the move and surfaced an error the user could not have
predicted. Columns that cannot legally receive the dragged card now register
as `disabled` droppables — the card will not land there — and dim to 0.35 with
aria-disabled, so the constraint is visible during the drag rather than
explained afterwards. Nothing dims at rest; a column is only closed while
something is actually in the air.

12 tests on the table, including one invariant worth keeping: the candidate
header's advance button and the board read from two different sources
(NEXT_STAGE and ALLOWED_TRANSITIONS), and if they drift the header offers a
button the guard silently refuses — which is exactly the class of bug §12 #1
was. The test asserts they agree for every stage.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 12 new
tests; /office/applications renders through the authenticated harness with no
new console errors.

NOT verified visually: the seeded org has zero applications, so the board has
no cards and neither the move buttons nor the dimmed columns could be seen
rendering. The behaviour is covered by tests, not by eye.

Co-Authored-By: Claude Opus 5 <[email protected]>

* test(smoke): capture the Board and Metrics views, not just routes

The pipeline's Board and Metrics views are client state behind a segmented
control, not routes, so a route-only sweep never saw either. The board in
particular carries the keyboard/touch move controls and the closed drop
targets added in #627 — the exact code that had no other way of being looked
at, and which shipped verified by tests alone.

The harness now clicks through to both and screenshots them.

WHAT THIS IMMEDIATELY SETTLED. #627 shipped with "not verified visually: the
seeded org has zero applications". That turned out to be wrong about the
cause, in a way worth recording:

  - the database has 16 applications across all 8 statuses; Unicorn owns 12
  - [email protected] holds an org-scoped `admin` assignment on Unicorn, and
    the access lookup resolves it correctly even under RLS
  - the endpoint still returned `{"data":[],"total":0}` for him while
    returning 12 for the org OWNER

That is precisely the bug the comment in employer-applications.ts says was
fixed — org admin sees 0, owner sees 12. It was not a live bug. The local edge
runtime was serving the MAIN checkout, whose working tree is behind
origin/main and predates that fix. Restarting `supa functions serve` from a
current tree returned all 12 immediately.

Worth knowing, because a stale edge runtime reproduces a fixed authz bug
faithfully enough to be filed again. `grep` the served checkout before
believing an API result that looks like a known issue.

With real data the pipeline verifies end to end: days-in-stage leads every row
(14d, 12d, 9d…), overdue reasons are per-stage ("no first response yet",
"screening decision", "awaiting inquiry reply"), and every card offers exactly
its legal targets — New → Screening/Closed, Screening → Inquired/Interview/
Closed, Inquired → Interview/Offer/Closed.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 22, 2026
Follows #627/#628. Swaps the board's per-card move controls from one button
per legal target to a single compact menu, matching the prototype.

WHY. Three buttons under every card put thirty-six controls on a twelve-card
board. Visible buttons are more discoverable and cost fewer interactions —
that is a real trade, not a regression — but the board is the screen where
density matters most, and the comp uses a menu for exactly that reason.

WHAT HAD TO SURVIVE. §12 #12 was "the board is pointer-only". A menu that
cannot be operated by keyboard would move that barrier rather than remove it,
so the swap is only correct if the menu is genuinely operable.

`@scaffald/ui`'s Dropdown was the obvious component and is deliberately NOT
used: it has no key handling of any kind — no Escape, no arrow keys, no roles
— so adopting it would have put the board back behind a nicer-looking trigger.
MoveMenu is built on Popover instead, which already closes on Escape, with
every item a real Pressable carrying `role="menuitem"` so it lands in the tab
order and Enter/Space activates it. Worth fixing Dropdown eventually; not
worth blocking this on.

VERIFIED, NOT ASSUMED. The smoke harness now opens the first menu and counts
what it finds, so this cannot quietly rot:

  9 triggers, 2 menuitem(s) after opening   ← New's legal targets exactly
  0 menuitem(s) after Escape                ← the keyboard contract holds

A menu that rendered but did not open, or opened but would not close, now
fails visibly in the harness output rather than in production.

Co-authored-by: Claude Opus 5 <[email protected]>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant