chore(deps): bump the npm_and_yarn group across 3 directories with 2 updates
Type: Pull Request
State: Open
Association: Unknown
Comments: 3
(16 days ago)
(16 days ago)
dependencies javascript
Bumps the npm_and_yarn group with 2 updates in the / directory: turbo and better-auth.
Bumps the npm_and_yarn group with 1 update in the /apps/sim directory: better-auth.
Bumps the npm_and_yarn group with 1 update in the /packages/auth directory: better-auth.
Updates turbo from 2.9.12 to 2.9.14
Release notes
Sourced from turbo's releases.
Turborepo v2.9.14
[!NOTE] This release contains important security fixes.
High:
Low:
- GHSA-hcf7-66rw-9f5r: Login callback CSRF/session fixation
- GHSA-3qcw-2rhx-2726: Unexpected local code execution during Yarn Berry detection
What's Changed
Changelog
- release(turborepo): 2.9.12 by
@github-actions[bot] in vercel/turborepo#12774- fix: Restore docs mobile menu by
@anthonyshewin vercel/turborepo#12782- ci: Use
pull_requestfor PR title linting by@anthonyshewin vercel/turborepo#12787- ci: Scope GitHub Actions caches by branch by
@anthonyshewin vercel/turborepo#12788- test: Validate lockfiles without dependency downloads by
@anthonyshewin vercel/turborepo#12789- Removed unneeded import form hash creation script in docs by
@dancrumbin vercel/turborepo#12799- fix: Validate auth callback state by
@anthonyshewin vercel/turborepo#12802- fix: Harden VS Code extension command execution by
@anthonyshewin vercel/turborepo#12800- fix: Avoid project-local Yarn during detection by
@anthonyshewin vercel/turborepo#12801- chore: Release 2.9.13 by
@anthonyshewin vercel/turborepo#12803New Contributors
@dancrumbmade their first contribution in vercel/turborepo#12799Full Changelog: https://github.com/vercel/turborepo/compare/v2.9.12...v2.9.14
Turborepo v2.9.13-canary.1
What's Changed
Changelog
- release(turborepo): 2.9.11-canary.7 by
@github-actions[bot] in vercel/turborepo#12768- fix: Allow
$TURBO_EXTENDS$in LSP diagnostics by@anthonyshewin vercel/turborepo#12770- release(turborepo): 2.9.11 by
@github-actions[bot] in vercel/turborepo#12771- fix: Allow transit nodes in LSP diagnostics by
@anthonyshewin vercel/turborepo#12773- release(turborepo): 2.9.12 by
@github-actions[bot] in vercel/turborepo#12774- fix: Restore docs mobile menu by
@anthonyshewin vercel/turborepo#12782- ci: Use
pull_requestfor PR title linting by@anthonyshewin vercel/turborepo#12787- ci: Scope GitHub Actions caches by branch by
@anthonyshewin vercel/turborepo#12788- test: Validate lockfiles without dependency downloads by
@anthonyshewin vercel/turborepo#12789- Removed unneeded import form hash creation script in docs by
@dancrumbin vercel/turborepo#12799- fix: Validate auth callback state by
@anthonyshewin vercel/turborepo#12802- fix: Harden VS Code extension command execution by
@anthonyshewin vercel/turborepo#12800- fix: Avoid project-local Yarn during detection by
@anthonyshewin vercel/turborepo#12801
... (truncated)
Commits
fc62fe0publish 2.9.14 to registryfb8c9aechore: Release 2.9.13 (#12803)e8e629dfix: Avoid project-local Yarn during detection (#12801)91c90cbfix: Harden VS Code extension command execution (#12800)84f4508fix: Validate auth callback state (#12802)1779ad7Removed unneeded import form hash creation script in docs (#12799)71f8c90test: Validate lockfiles without dependency downloads (#12789)5fcb960ci: Scope GitHub Actions caches by branch (#12788)4cf9fabci: Usepull_requestfor PR title linting (#12787)859c629fix: Restore docs mobile menu (#12782)- Additional commits viewable in compare view
Updates better-auth from 1.3.12 to 1.6.2
Release notes
Sourced from better-auth's releases.
v1.6.2
better-auth❗ Breaking Changes
- Prevented unverified TOTP enrollment from blocking sign-in (#8711)
Migration: Schema migration required.
Add the
verifiedcolumn to thetwoFactortable, then regenerate/apply your ORM migration.
- Prisma: run
npx auth@latest generate, thennpx prisma migrate dev(ornpx prisma db push) andnpx prisma generate.- Drizzle: run
npx auth@latest generate, thennpx drizzle-kit generateandnpx drizzle-kit migrate.Existing rows do not need a backfill because the column defaults to
true.Features
- Included enabled 2FA methods in sign-in redirect response (#8772)
Bug Fixes
- Fixed OAuth state verification against cookie-stored nonce to prevent CSRF (#8949)
- Fixed infinite router refresh loops in
nextCookies()by replacing cookie probe with header-based RSC detection (#9059)- Fixed cross-provider account collision in link-social callback (#8983)
- Included
RelayStatein signed SAML AuthnRequests (#9058)For detailed changes, see
CHANGELOG
@better-auth/oauth-providerBug Fixes
- Fixed multi-valued query params collapsing through prompt redirects (#9060)
- Rejected
skip_consentat schema level in dynamic client registration (#8998)For detailed changes, see
CHANGELOG
@better-auth/ssoBug Fixes
- Fixed SAMLResponse decoding failures caused by line-wrapped base64 (#8968)
For detailed changes, see
CHANGELOGContributors
Thanks to everyone who contributed to this release:
@aarmful,@cyphercodes,@dvanmali,@gustavovalverde,@jaydeep-pipaliya,@ping-maxwell
... (truncated)
Changelog
Sourced from better-auth's changelog.
1.6.2
Patch Changes
#8949
9deb793Thanks@ping-maxwell! - security: verify OAuth state parameter against cookie-stored nonce to prevent CSRF on cookie-backed flows#8983
2cbcb9bThanks@jaydeep-pipaliya! - fix(oauth2): prevent cross-provider account collision in link-social callbackThe link-social callback used
findAccount(accountId)which matched by account ID across all providers. When two providers return the same numeric ID (e.g. both Google and GitHub assign99999), the lookup could match the wrong provider's account, causing a spuriousaccount_already_linked_to_different_usererror or silently updating the wrong account's tokens.Replaced with
findAccountByProviderId(accountId, providerId)to scope the lookup to the correct provider, matching the pattern already used in the generic OAuth plugin.#9059
b20fa42Thanks@gustavovalverde! - fix(next-js): replace cookie probe with header-based RSC detection innextCookies()to prevent infinite router refresh loops and eliminate leaked__better-auth-cookie-storecookie. Also fix two-factor enrollment flows to set the new session cookie before deleting the old session.#9058
608d8c3Thanks@gustavovalverde! - fix(sso): include RelayState in signed SAML AuthnRequests per SAML 2.0 Bindings §3.4.4.1
- RelayState is now passed to samlify's ServiceProvider constructor so it is included in the redirect binding signature. Previously it was appended after the signature, causing spec-compliant IdPs to reject signed AuthnRequests.
authnRequestsSigned: truewithout a private key now throws instead of silently sending unsigned requests.#8772
8409843Thanks@aarmful! - feat(two-factor): include enabled 2fa methods in sign-in redirect responseThe 2FA sign-in redirect now returns
twoFactorMethods(e.g.["totp", "otp"]) so frontends can render the correct verification UI without guessing. TheonTwoFactorRedirectclient callback receivestwoFactorMethodsas a context parameter.
- TOTP is included only when the user has a verified TOTP secret and TOTP is not disabled in config.
- OTP is included when
otpOptions.sendOTPis configured.- Unverified TOTP enrollments are excluded from the methods list.
#8711
e78a7b1Thanks@aarmful! - fix(two-factor): prevent unverified TOTP enrollment from gating sign-inAdds a
verifiedboolean column to thetwoFactortable that tracks whether a TOTP secret has been confirmed by the user.
- First-time enrollment:
enableTwoFactorcreates the row withverified: false. The row is promoted toverified: trueonly afterverifyTOTPsucceeds with a valid code.- Re-enrollment (calling
enableTwoFactorwhen TOTP is already verified): the new row preservesverified: true, so the user is never locked out of sign-in while rotating their TOTP secret.- Sign-in:
verifyTOTPrejects rows whereverified === false, preventing abandoned enrollments from blocking authentication. Backup codes and OTP are unaffected and work as fallbacks during unfinished enrollment.Migration: The new column defaults to
true, so existingtwoFactorrows are treated as verified. No data migration is required.skipVerificationOnEnable: trueis also unaffected — the row is created asverified: truein that mode.Updated dependencies []:
1.6.1
Patch Changes
#9023
2e537dfThanks@jonathansamines! - Update endpoint instrumentation to always use endpoint routes#8902
f61ad1cThanks@ping-maxwell! - useINVALID_PASSWORDfor allcheckPasswordfailures
... (truncated)
Commits
700d298chore: version packages (#9052)b20fa42fix(next-js): replace cookie probe with header-based RSC detection in nextCoo...2cbcb9bfix(oauth2): prevent cross-provider account collision in link-social callback...9deb793fix: cookie store strategy should verify oauth state (#8949)8409843feat(two-factor): include enabled 2fa methods in sign-in redirect response (#...e78a7b1fix(two-factor): prevent unverified TOTP enrollment from gating sign-in (#8711)85bb710chore: version packages (#9018)7495830fix(api): restore getSession accessibility in generic Auth<O> context (#9017)2e537dffix: endpoint instrumentation to always use route template (#9023)f61ad1cfix: useINVALID_PASSWORDfor allcheckPasswordfailures (#8902)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for better-auth since your current version.
Updates better-auth from 1.3.12 to 1.6.2
Release notes
Sourced from better-auth's releases.
v1.6.2
better-auth❗ Breaking Changes
- Prevented unverified TOTP enrollment from blocking sign-in (#8711)
Migration: Schema migration required.
Add the
verifiedcolumn to thetwoFactortable, then regenerate/apply your ORM migration.
- Prisma: run
npx auth@latest generate, thennpx prisma migrate dev(ornpx prisma db push) andnpx prisma generate.- Drizzle: run
npx auth@latest generate, thennpx drizzle-kit generateandnpx drizzle-kit migrate.Existing rows do not need a backfill because the column defaults to
true.Features
- Included enabled 2FA methods in sign-in redirect response (#8772)
Bug Fixes
- Fixed OAuth state verification against cookie-stored nonce to prevent CSRF (#8949)
- Fixed infinite router refresh loops in
nextCookies()by replacing cookie probe with header-based RSC detection (#9059)- Fixed cross-provider account collision in link-social callback (#8983)
- Included
RelayStatein signed SAML AuthnRequests (#9058)For detailed changes, see
CHANGELOG
@better-auth/oauth-providerBug Fixes
- Fixed multi-valued query params collapsing through prompt redirects (#9060)
- Rejected
skip_consentat schema level in dynamic client registration (#8998)For detailed changes, see
CHANGELOG
@better-auth/ssoBug Fixes
- Fixed SAMLResponse decoding failures caused by line-wrapped base64 (#8968)
For detailed changes, see
CHANGELOGContributors
Thanks to everyone who contributed to this release:
@aarmful,@cyphercodes,@dvanmali,@gustavovalverde,@jaydeep-pipaliya,@ping-maxwell
... (truncated)
Changelog
Sourced from better-auth's changelog.
1.6.2
Patch Changes
#8949
9deb793Thanks@ping-maxwell! - security: verify OAuth state parameter against cookie-stored nonce to prevent CSRF on cookie-backed flows#8983
2cbcb9bThanks@jaydeep-pipaliya! - fix(oauth2): prevent cross-provider account collision in link-social callbackThe link-social callback used
findAccount(accountId)which matched by account ID across all providers. When two providers return the same numeric ID (e.g. both Google and GitHub assign99999), the lookup could match the wrong provider's account, causing a spuriousaccount_already_linked_to_different_usererror or silently updating the wrong account's tokens.Replaced with
findAccountByProviderId(accountId, providerId)to scope the lookup to the correct provider, matching the pattern already used in the generic OAuth plugin.#9059
b20fa42Thanks@gustavovalverde! - fix(next-js): replace cookie probe with header-based RSC detection innextCookies()to prevent infinite router refresh loops and eliminate leaked__better-auth-cookie-storecookie. Also fix two-factor enrollment flows to set the new session cookie before deleting the old session.#9058
608d8c3Thanks@gustavovalverde! - fix(sso): include RelayState in signed SAML AuthnRequests per SAML 2.0 Bindings §3.4.4.1
- RelayState is now passed to samlify's ServiceProvider constructor so it is included in the redirect binding signature. Previously it was appended after the signature, causing spec-compliant IdPs to reject signed AuthnRequests.
authnRequestsSigned: truewithout a private key now throws instead of silently sending unsigned requests.#8772
8409843Thanks@aarmful! - feat(two-factor): include enabled 2fa methods in sign-in redirect responseThe 2FA sign-in redirect now returns
twoFactorMethods(e.g.["totp", "otp"]) so frontends can render the correct verification UI without guessing. TheonTwoFactorRedirectclient callback receivestwoFactorMethodsas a context parameter.
- TOTP is included only when the user has a verified TOTP secret and TOTP is not disabled in config.
- OTP is included when
otpOptions.sendOTPis configured.- Unverified TOTP enrollments are excluded from the methods list.
#8711
e78a7b1Thanks@aarmful! - fix(two-factor): prevent unverified TOTP enrollment from gating sign-inAdds a
verifiedboolean column to thetwoFactortable that tracks whether a TOTP secret has been confirmed by the user.
- First-time enrollment:
enableTwoFactorcreates the row withverified: false. The row is promoted toverified: trueonly afterverifyTOTPsucceeds with a valid code.- Re-enrollment (calling
enableTwoFactorwhen TOTP is already verified): the new row preservesverified: true, so the user is never locked out of sign-in while rotating their TOTP secret.- Sign-in:
verifyTOTPrejects rows whereverified === false, preventing abandoned enrollments from blocking authentication. Backup codes and OTP are unaffected and work as fallbacks during unfinished enrollment.Migration: The new column defaults to
true, so existingtwoFactorrows are treated as verified. No data migration is required.skipVerificationOnEnable: trueis also unaffected — the row is created asverified: truein that mode.Updated dependencies []:
1.6.1
Patch Changes
#9023
2e537dfThanks@jonathansamines! - Update endpoint instrumentation to always use endpoint routes#8902
f61ad1cThanks@ping-maxwell! - useINVALID_PASSWORDfor allcheckPasswordfailures
... (truncated)
Commits
700d298chore: version packages (#9052)b20fa42fix(next-js): replace cookie probe with header-based RSC detection in nextCoo...2cbcb9bfix(oauth2): prevent cross-provider account collision in link-social callback...9deb793fix: cookie store strategy should verify oauth state (#8949)8409843feat(two-factor): include enabled 2fa methods in sign-in redirect response (#...e78a7b1fix(two-factor): prevent unverified TOTP enrollment from gating sign-in (#8711)85bb710chore: version packages (#9018)7495830fix(api): restore getSession accessibility in generic Auth<O> context (#9017)2e537dffix: endpoint instrumentation to always use route template (#9023)f61ad1cfix: useINVALID_PASSWORDfor allcheckPasswordfailures (#8902)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for better-auth since your current version.
Updates better-auth from 1.3.12 to 1.6.2
Release notes
Sourced from better-auth's releases.
v1.6.2
better-auth❗ Breaking Changes
- Prevented unverified TOTP enrollment from blocking sign-in (#8711)
Migration: Schema migration required.
Add the
verifiedcolumn to thetwoFactortable, then regenerate/apply your ORM migration.
- Prisma: run
npx auth@latest generate, thennpx prisma migrate dev(ornpx prisma db push) andnpx prisma generate.- Drizzle: run
npx auth@latest generate, thennpx drizzle-kit generateandnpx drizzle-kit migrate.Existing rows do not need a backfill because the column defaults to
true.Features
- Included enabled 2FA methods in sign-in redirect response (#8772)
Bug Fixes
- Fixed OAuth state verification against cookie-stored nonce to prevent CSRF (#8949)
- Fixed infinite router refresh loops in
nextCookies()by replacing cookie probe with header-based RSC detection (#9059)- Fixed cross-provider account collision in link-social callback (#8983)
- Included
RelayStatein signed SAML AuthnRequests (#9058)For detailed changes, see
CHANGELOG
@better-auth/oauth-providerBug Fixes
- Fixed multi-valued query params collapsing through prompt redirects (#9060)
- Rejected
skip_consentat schema level in dynamic client registration (#8998)For detailed changes, see
CHANGELOG
@better-auth/ssoBug Fixes
- Fixed SAMLResponse decoding failures caused by line-wrapped base64 (#8968)
For detailed changes, see
CHANGELOGContributors
Thanks to everyone who contributed to this release:
@aarmful,@cyphercodes,@dvanmali,@gustavovalverde,@jaydeep-pipaliya,@ping-maxwell
... (truncated)
Changelog
Sourced from better-auth's changelog.
1.6.2
Patch Changes
#8949
9deb793Thanks@ping-maxwell! - security: verify OAuth state parameter against cookie-stored nonce to prevent CSRF on cookie-backed flows#8983
2cbcb9bThanks@jaydeep-pipaliya! - fix(oauth2): prevent cross-provider account collision in link-social callbackThe link-social callback used
findAccount(accountId)which matched by account ID across all providers. When two providers return the same numeric ID (e.g. both Google and GitHub assign99999), the lookup could match the wrong provider's account, causing a spuriousaccount_already_linked_to_different_usererror or silently updating the wrong account's tokens.Replaced with
findAccountByProviderId(accountId, providerId)to scope the lookup to the correct provider, matching the pattern already used in the generic OAuth plugin.#9059
b20fa42Thanks@gustavovalverde! - fix(next-js): replace cookie probe with header-based RSC detection innextCookies()to prevent infinite router refresh loops and eliminate leaked__better-auth-cookie-storecookie. Also fix two-factor enrollment flows to set the new session cookie before deleting the old session.#9058
608d8c3Thanks@gustavovalverde! - fix(sso): include RelayState in signed SAML AuthnRequests per SAML 2.0 Bindings §3.4.4.1
- RelayState is now passed to samlify's ServiceProvider constructor so it is included in the redirect binding signature. Previously it was appended after the signature, causing spec-compliant IdPs to reject signed AuthnRequests.
authnRequestsSigned: truewithout a private key now throws instead of silently sending unsigned requests.#8772
8409843Thanks@aarmful! - feat(two-factor): include enabled 2fa methods in sign-in redirect responseThe 2FA sign-in redirect now returns
twoFactorMethods(e.g.["totp", "otp"]) so frontends can render the correct verification UI without guessing. TheonTwoFactorRedirectclient callback receivestwoFactorMethodsas a context parameter.
- TOTP is included only when the user has a verified TOTP secret and TOTP is not disabled in config.
- OTP is included when
otpOptions.sendOTPis configured.- Unverified TOTP enrollments are excluded from the methods list.
#8711
e78a7b1Thanks@aarmful! - fix(two-factor): prevent unverified TOTP enrollment from gating sign-inAdds a
verifiedboolean column to thetwoFactortable that tracks whether a TOTP secret has been confirmed by the user.
- First-time enrollment:
enableTwoFactorcreates the row withverified: false. The row is promoted toverified: trueonly afterverifyTOTPsucceeds with a valid code.- Re-enrollment (calling
enableTwoFactorwhen TOTP is already verified): the new row preservesverified: true, so the user is never locked out of sign-in while rotating their TOTP secret.- Sign-in:
verifyTOTPrejects rows whereverified === false, preventing abandoned enrollments from blocking authentication. Backup codes and OTP are unaffected and work as fallbacks during unfinished enrollment.Migration: The new column defaults to
true, so existingtwoFactorrows are treated as verified. No data migration is required.skipVerificationOnEnable: trueis also unaffected — the row is created asverified: truein that mode.Updated dependencies []:
1.6.1
Patch Changes
#9023
2e537dfThanks@jonathansamines! - Update endpoint instrumentation to always use endpoint routes#8902
f61ad1cThanks@ping-maxwell! - useINVALID_PASSWORDfor allcheckPasswordfailures
... (truncated)
Commits
700d298chore: version packages (#9052)b20fa42fix(next-js): replace cookie probe with header-based RSC detection in nextCoo...2cbcb9bfix(oauth2): prevent cross-provider account collision in link-social callback...9deb793fix: cookie store strategy should verify oauth state (#8949)8409843feat(two-factor): include enabled 2fa methods in sign-in redirect response (#...e78a7b1fix(two-factor): prevent unverified TOTP enrollment from gating sign-in (#8711)85bb710chore: version packages (#9018)7495830fix(api): restore getSession accessibility in generic Auth<O> context (#9017)2e537dffix: endpoint instrumentation to always use route template (#9023)f61ad1cfix: useINVALID_PASSWORDfor allcheckPasswordfailures (#8902)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for better-auth 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the Security Alerts page.
Package Dependencies
Security Advisories
Trubo: Login callback CSRF/session fixation
Turbo: Unexpected local code execution during Yarn Berry detection
Technical Details
| ID: | 15886334 |
| UUID: | 4506365951 |
| Node ID: | PR_kwDONmSNmM7eiFXL |
| Host: | GitHub |
| Repository: | simstudioai/sim |