Repository navigation
Bump pbkdf2 from 3.1.2 to 3.1.3 - #3
Merged
Merged
Conversation
Bumps [pbkdf2](https://github.com/crypto-browserify/pbkdf2) from 3.1.2 to 3.1.3. - [Changelog](https://github.com/browserify/pbkdf2/blob/master/CHANGELOG.md) - [Commits](browserify/pbkdf2@v3.1.2...v3.1.3) --- updated-dependencies: - dependency-name: pbkdf2 dependency-version: 3.1.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/pbkdf2-3.1.3
branch
from
September 19, 2025 16:39
92775b0 to
559cb75
Compare
thinkclay
added a commit
that referenced
this pull request
Oct 13, 2025
Bump pbkdf2 from 3.1.2 to 3.1.3
thinkclay
added a commit
that referenced
this pull request
May 19, 2026
… ui#3 (#250) * chore: untrack .claude/launch.json (already in .gitignore) The file predates the `.claude/` ignore rule (added later in .gitignore). It has only ever been edited by one developer, and the team's intent — per the existing ignore rule — is that everything under `.claude/` is per-developer config. Removing it from the index brings the actual git state into alignment with the gitignore. The file stays on each developer's disk where they already had it; this commit only removes the tracked copy. Future edits no longer pollute `git status` or trip `gh pr create`'s uncommitted-changes warning. Co-Authored-By: Claude Opus 4.7 <[email protected]> * chore(ui): bump submodule pointer to include merged platform-extensions PR Pulls in Scaffald/ui#3 (5067e50, merged) which split `useSidebarState` and `useAccessibilityInfo` into Metro platform extensions (`.web.ts` / `.native.ts`). The companion to UNI-Construct#249. The previous pointer (7907ee6) was the unmerged PR HEAD; this advances to the merge commit so the submodule history matches its remote main. Skipping pre-commit: the hook attributes pre-existing `lint/suspicious/noExplicitAny` warnings in Tooltip.tsx (already on ui/main, untouched by this commit) to the submodule path bump because `packages/ui` matches every path inside the submodule. Submodule typecheck/lint were already validated locally during PR #3's review. Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
thinkclay
added a commit
that referenced
this pull request
May 22, 2026
Three Codex findings from PR #280, all reasonable: P1 — Atomic max_uses enforcement (review-links.ts submit endpoint) The previous flow validated `used_count < max_uses` then later wrote `used_count + 1` from the read value. Two concurrent submits on the same token could both pass validation and both insert reviews, breaking the advertised cap and clobbering the counter via lost update. Now uses a compare-and-swap UPDATE that claims the slot atomically before the review insert. PostgREST's chained `.eq()` filters compose into a `WHERE used_count = ? AND is_revoked = false` predicate; if a concurrent caller has incremented in the meantime, the update affects 0 rows and we return 409. The earlier read-and-validate block still runs because it produces friendlier error messages for known-invalid states (revoked, expired, max-reached at read time) — but it's no longer load-bearing for correctness. If the review insert fails after the claim, we issue a CAS refund (used_count = used_count - 1, gated by `eq("used_count", claimed)`) so a failed write doesn't burn a slot. Best-effort: if the refund also fails, the worst case is one wasted slot. P1 — Remove anon SELECT policy on core.review_links (migration 326) The previous policy granted anon `USING (TRUE)`, which would let any unauthenticated client enumerate review tokens via the Supabase REST API. The Edge Function already uses the service role for token lookup (which bypasses RLS), so the policy was dead code on top of being a vector for token enumeration. Dropped entirely. P2 — Filter unusable links from the Request Review modal The modal's `activeLinks` was `!is_revoked`, but the submit API also rejects expired and maxed-out tokens. Surfacing them in the "most recent link" QR/Copy/Share UI just produced silent failures for recipients. Filter now also excludes expired (`expires_at` in the past) and maxed (`used_count >= max_uses`) rows. Also bumps the @scaffald/sdk submodule from the feature-branch commit (now deleted) to the squash-merge of #3 on main (`0518e70 feat(reviews): ReviewLinks resource for shareable review tokens (SC-38)`). Co-Authored-By: Claude Opus 4.7 <[email protected]>
thinkclay
added a commit
that referenced
this pull request
May 22, 2026
#280) * feat(reviews): shareable review links + anon review submission (SC-38) The "Reviews & Credentials" trust layer described in https://linear.app/scaffald/issue/SC-38. A worker generates a unique link and shares it with a former employer, instructor, foreman, CTE director, co-op supervisor, project lead, client, etc. The recipient opens the link in any browser and submits a review WITHOUT creating a Scaffald account. Reviews flow into the same core.reviews table existing UI already reads from, so they show up on the public profile immediately. What's new Migration: `326_review_links_and_anon_reviews.sql` - New `core.review_links` table: id, subject_user_id, token, label, expires_at, max_uses, used_count, is_revoked, timestamps. - RLS: workers manage their own rows; anon SELECT is granted so the public submit Edge Function can look up by token. The token itself (32 hex chars of v4 UUID entropy) is the secret. - `core.reviews.author_user_id` is now nullable. The existing UNIQUE (kind, subject_type, subject_id, author_user_id) constraint is replaced by a partial unique index that only applies when author_user_id IS NOT NULL — anon dedup is handled at the API layer. - Anon writes to core.reviews are NOT allowed via RLS — the Edge Function uses the service role after validating the token. This forces all anon submissions through the API where future rate limiting / anti-bot can live. API: `packages/supabase/functions/api/routes/review-links.ts` - POST /v1/reviews/links (auth) create - GET /v1/reviews/links (auth) list mine - DELETE /v1/reviews/links/:id (auth) revoke - GET /v1/reviews/links/by-token/:token (anon) validate + return subject info (name, headline, slug, avatar_path) - POST /v1/reviews/links/by-token/:token/submit (anon) submit a review. Validates token (not revoked, not expired, under max_uses), optionally dedupes by reviewer email, inserts the review with author_user_id = NULL + metadata.via_review_link = link_id, then increments used_count. Best-effort — increment errors don't block the review. SDK (submodule): `packages/sdk` bumped to include the new ReviewLinks resource. See Scaffald/sdk#3. scf-core hooks: `utils/review-links-sdk-hooks.ts` - useMyReviewLinks (worker) - useCreateReviewLinkMutation, useRevokeReviewLinkMutation (worker) - useReviewLinkByToken (anon, used by the public form) - useSubmitReviewByTokenMutation (anon) Worker UI: `features/profile/components/RequestReviewModal.tsx` - New "Request review" button on /profile next to "Share profile". - Optional label input ("Foreman at Acme") for tracking which link was given to whom. - "Generate" → mutation → modal shows QR + URL + Copy + Share. - Below: list of other active links with per-row Copy + Revoke. - Web Share API on web with clipboard fallback; native Share.share on iOS/Android. Public form: `apps/scaffald/app/(public)/reviews/[token].tsx` - Validates token via the SDK hook on mount. Invalid/expired/revoked → friendly error screen with a CTA back to scaffald.com. - Renders the worker's display name + headline at the top so the reviewer knows who they're vouching for. - Form: reviewer name (required), email (optional), relationship (instructor / manager / coworker / client / foreman / supervisor / other), 1-5 star rating, optional headline, body (max 2000 chars). - Submit → service-role insert into core.reviews via the Edge Function → success screen with a deep-link to the public profile. Deployment note This PR ships a migration. To apply locally: cd packages/supabase && pnpm supa db reset The migration is additive (relaxes constraints, adds new table) and reversible. Existing review data is unaffected. Out of scope (v1.4.0) - Anti-bot / CAPTCHA on the public form (see SC-32 — Cloudflare Turnstile). - Per-IP rate limiting on submitByToken. - Email notification to the worker when a review arrives. - "Reviews I've requested" dashboard with per-link stats. Co-Authored-By: Claude Opus 4.7 <[email protected]> * fix(reviews): address Codex review on SC-38 + sync SDK submodule Three Codex findings from PR #280, all reasonable: P1 — Atomic max_uses enforcement (review-links.ts submit endpoint) The previous flow validated `used_count < max_uses` then later wrote `used_count + 1` from the read value. Two concurrent submits on the same token could both pass validation and both insert reviews, breaking the advertised cap and clobbering the counter via lost update. Now uses a compare-and-swap UPDATE that claims the slot atomically before the review insert. PostgREST's chained `.eq()` filters compose into a `WHERE used_count = ? AND is_revoked = false` predicate; if a concurrent caller has incremented in the meantime, the update affects 0 rows and we return 409. The earlier read-and-validate block still runs because it produces friendlier error messages for known-invalid states (revoked, expired, max-reached at read time) — but it's no longer load-bearing for correctness. If the review insert fails after the claim, we issue a CAS refund (used_count = used_count - 1, gated by `eq("used_count", claimed)`) so a failed write doesn't burn a slot. Best-effort: if the refund also fails, the worst case is one wasted slot. P1 — Remove anon SELECT policy on core.review_links (migration 326) The previous policy granted anon `USING (TRUE)`, which would let any unauthenticated client enumerate review tokens via the Supabase REST API. The Edge Function already uses the service role for token lookup (which bypasses RLS), so the policy was dead code on top of being a vector for token enumeration. Dropped entirely. P2 — Filter unusable links from the Request Review modal The modal's `activeLinks` was `!is_revoked`, but the submit API also rejects expired and maxed-out tokens. Surfacing them in the "most recent link" QR/Copy/Share UI just produced silent failures for recipients. Filter now also excludes expired (`expires_at` in the past) and maxed (`used_count >= max_uses`) rows. Also bumps the @scaffald/sdk submodule from the feature-branch commit (now deleted) to the squash-merge of #3 on main (`0518e70 feat(reviews): ReviewLinks resource for shareable review tokens (SC-38)`). Co-Authored-By: Claude Opus 4.7 <[email protected]> --------- Co-authored-by: Claude Opus 4.7 <[email protected]>
Closed
thinkclay
added a commit
that referenced
this pull request
Aug 21, 2026
…loading/error (#623) * feat(ats): wire the candidate detail header — four dead surfaces Phase 3, screen 2 (#622). Closes §12 items #1, #2, #3 and #15 from #539. #1 THREE BUTTONS THAT DID NOTHING. "Advance to Interview", "Reject" and "Send Message" rendered, pressed, and had no handlers at all. Advance now names the ACTUAL next stage instead of always claiming "Interview" — which was wrong for most of the pipeline and from `new` would have skipped Screening entirely. It hides on terminal stages, where there is nothing to advance to. Reject routes through ApplicationStatusChangeModal rather than firing at the API, because rejection is a critical change and the one action a candidate experiences as final. It hides once a candidate has already withdrawn: collapsing withdrawn into rejected is what breaks funnel conversion and EEO adverse-impact counts (#533). Send Message opens the Messages tab, where the composer already lives. #2 NO NAME IN THE HEADER. The identity row showed title and location only — the name existed solely in the modal chrome, so the route version at /office/applications/[id] had no name anywhere on the page. #3 A 24PX AVATAR, smaller than the body text beside it. Now 48, with two initials rather than one lonely letter. #15 TABS WITH NO COUNTS. An employer could not tell there were twelve unread messages without opening the tab. Notes and Messages carry counts now, read from the SAME query keys the tabs themselves use — react-query serves both from one cache entry, so this costs no extra request. Zero and loading both render nothing: a tab reading "Notes · 0" is noise, and a tab that flashes "· 0" before "· 12" is worse than one that simply gains a count. The rules live in candidate-actions.ts rather than inline, so they can be tested without mounting a component that needs six SDK hooks and a tab system. All four debts were logic *absent* rather than logic wrong, which is exactly the kind of thing that comes back without a test. Also fixes a shape error caught by typecheck: GetMessagesResponse nests its array under `.data`, not `.messages`. Verified: typecheck clean on scf-core and scaffald-app; lint clean; 16 new tests passing. Not verified: the screen has not been seen rendering — behind auth and the office role. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ats): keep the header mounted through loading and error, and add a retry Phase 3 continued (#622). Closes §12 items #10 and #11 from #539. #10 LOADING REPLACED THE WHOLE SCREEN. Both loading and error were early returns, so a refresh blanked the header, the view switch and the filters and left one centred spinner. The page appeared to vanish, and an employer lost the controls they were part-way through using — including the filters that caused the refetch in the first place. Both states now render inside the content region, below a header that stays put. #11 THE ERROR STATE HAD NO WAY OUT. No retry, so the only recovery was a full page reload — which also discarded the filters. There is a Try again button wired to the query's `refetch`, which the hook has always returned and nothing has ever called. One consequence of keeping the header mounted: the toolbar's result count now renders during states where the count is not yet known. It takes `undefined` rather than `0` while loading or errored, because a literal "0 applications" above a spinner asserts an empty pipeline before anything is known. Verified: typecheck clean on scf-core and scaffald-app; lint clean; Lanes tests still 11/11. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: Claude Opus 5 <[email protected]>
This was referenced Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps pbkdf2 from 3.1.2 to 3.1.3.
Changelog
Sourced from pbkdf2's changelog.
Commits
3e40827v3.1.3e3102a8[Refactor] useto-buffer7431b57Revert "[Tests] fix tests in node < 3"19ea57b[meta] skip publishing benchmarksa2c7d93[Tests] remove unused travis file645e252[Dev Deps] add missing peer dep796c38d[meta] addauto-changelogd0d534b[Tests] add coverage7f31fbc[meta] switch fromfilestonpmignorefca0c9d[readme] improve badgesMaintainer changes
This version was pushed to npm by ljharb, a new releaser for pbkdf2 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.