Repository navigation
chore: 2026 Q4 stack upgrade - #2550
lionellbriones wants to merge 10 commits into
Conversation
Product review stays on package source, tests, and demos, and Dependabot waits three days before opening npm and Actions updates. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Auth and the controller packages stay on their current releases until those stack upgrades publish. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- ci.yml: validate on Node 24.22.0 and 26 (harden, lint, build, typecheck, tests, pack dry run), changeset status on pull requests, and a master-only deploy job that needs validate. Deploy actions are pinned to commit SHAs. - release-pr.yml: workflow_dispatch changesets release pull request on master. It does not publish. - security-code-scanner.yml: MetaMask security code scanner at v2.1.1. Co-authored-by: Cursor <cursoragent@cursor.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
- Raise direct ranges in the root and both packages to the newest same-major release older than the 3-day window, including peer floors. - Hold @x402/evm, @x402/fetch, and @x402/svm at 2.28, the last line that accepts @solana/kit 6. - Refresh package-lock.json on npm 12. Apply in-range audit fixes to transitive packages. Remaining alerts are recorded in the PR. - Annotate defaultWagmiConfig as Config in the React and Vue wagmi constants so the declaration build passes with the newer wagmi types. Co-authored-by: Cursor <cursoragent@cursor.com>
- Drop root devDependencies no source or script uses: @solana/kit, cross-env, dotenv, ox, vite, and vitest. vite-plus already pins the vite and vitest versions. - Drop the Linux optionalDependencies block. The packages that need those binaries still declare them. - Drop modal dependencies the Vite+ build no longer loads: copy-to-clipboard, the Rollup, Babel, and webpack loaders, live-server, and the duplicate vite and vitest entries. - Drop the @babel/runtime peer from both packages and note it in the changeset. - Delete the Rollup configs and packages/modal/babel.config.js. - Remove the react and react-dom overrides. The lockfile resolves 19.3.1 without them. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Raise @web3auth/auth to ^12.0.0, @toruslabs/base-controllers and @toruslabs/ethereum-controllers to ^10.0.0, and @toruslabs/http-helpers to ^10.1.0 in both workspace packages. Refresh the lockfile with npm 12 and record the majors in the changeset. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove ESLint and Prettier configs from the root, packages, and demos. Lint and format through vp check and vp fmt with shared Oxlint and torus-scripts presets. Turn off strictNullChecks and sortImports to keep the diff on the stack migration. Format the files flagged by Oxfmt. Bump only @Web3Auth and @TorusLabs ranges in the demos. Co-authored-by: Cursor <cursoragent@cursor.com>
Pin the five installed packages with lifecycle scripts to false, so install scripts stay off by default. This matches the allowScripts config in completed sibling repos and lets harden check pass at the baseline and moderate levels. Co-authored-by: Cursor <cursoragent@cursor.com>
Motivation and Context
Apply the 2026 Q4 stack policy to
@web3auth/modaland@web3auth/no-modal. Engines are Node>=24.22.0and npm>=12. Both packages publish the Vite+ build fromdist/lib.esmanddist/lib.cjs, with types atdist/lib.cjs/index.d.ts.This stays a draft.
@web3auth/authand the controllers stack releases are not published yet, and lint, typecheck, and the browser tests do not pass on this branch.Jira Link
Description
Majors taken:
@toruslabs/http-helpers10,eccrypto8,loglevel-sentry10,metadata-helpers9,session-manager6,secure-pub-sub5,@toruslabs/torus-scripts9.0.1,@toruslabs/config5, TypeScript 7.0.2,@types/node26,vite-plus1.5.0.Majors not taken:
@web3auth/authstays^11.8.1until EMBED-595 publishes a stack release.@toruslabs/base-controllersand@toruslabs/ethereum-controllersstay on 9 until EMBED-596.fetch-node-detailsis not a direct dependency.@x402/evm,@x402/fetch, and@x402/svmstay on 2.28 because 2.29 requires@solana/kit8.The packages no longer declare an
@babel/runtimepeer.Scanners:
.github/workflows/security-code-scanner.ymlruns the MetaMask scanner atbecb242930b3cc271c26da0280050db9c157e291(v2.1.1). CodeQL stays on the default setup. KICS and Trivy are not added. The Wiz sensor stays. The Vue demo deploy still uses AWS access keys, not a role.npm auditafter the dependency cleanup: 45 issues, 0 critical, 8 high, 20 moderate, 17 low. The 8 high issues are@x402/*(held at 2.28) and@base-org/accountwith@coinbase/cdp-sdk,zod, andabitype. Demo lockfile alerts were left open on purpose.release-pr.ymlcan open a pull request only after the repository setting that lets GitHub Actions create pull requests is turned on. This token cannot change that setting. Publish stays manual frommasterafter that release pull request merges.release-packagesis not run.How has this been tested?
Checked on Node 24.22.1 (npm 12.2.0) and Node 26.13.0 (npm 12.2.0), each from
npm ci.vue-demi,protobufjs,tiny-secp256k1, andfseventsare blocked. NoallowScriptsfield was added.harden check: exit 1 on both. Onlyn_scriptsfails. Moderate is 3 of 3.npm run lint: previously exit 2. The brokendemo/vue-app-new/eslint.config.mjsis deleted in this update. A latervp checkexits 1 and reports formatting in 46 files. Those files were not rewritten.npm run build: exit 0 on both.packages/no-modaland 125 inpackages/modalon both Node versions.npm run typecheckstops at no-modal. The fixes are on draft pull request 2551 and are not merged here.npm run test: exit 1 on both.@web3auth/modalfails to loadtest/loginModal.ui.test.tsxandtest/modalManager.test.tsin Chrome, Firefox, and Safari becauseBufferis undefined (bufferis externalized for the browser).vp runreports 0 of 2 packages successful. The no-modal suite does not print a finished summary.strictNullChecks,noUncheckedIndexedAccess, andsortImportsare off in this PR. That keeps the diff on the stack migration.noUncheckedIndexedAccesswas already off in both package tsconfigs.strictNullChecksis set false over the@toruslabs/config@5default.sortImportsis set false overformatPreset(). The strict type fixes stay in draft PR #2551.Packed tarballs from
npm pack --workspaces --dry-runincludedist/lib.cjsanddist/lib.esmfor both packages, includingdist/lib.cjs/index.js,dist/lib.esm/index.js, anddist/lib.cjs/index.d.ts.requireof the CommonJS entry andimportof the ESM entry succeed for.,./react, and./vueon both packages. Loading the ESM file by path prints Node'sMODULE_TYPELESS_PACKAGE_JSONwarning because these packages do not set"type": "module". The modal ESM bundle has.w3a-parent-container, no@layer, the injected style element, and"use client".demo/vue-app-new:npm ciexits 0.npm run buildexits 2 duringvue-tsc(28 errors, includingRefvalues used as plain values andbaseAccountConnectorused as a value). Vite did not run.demo/nextjs-ssr-app:npm cifails becausepackage-lock.jsonis out of sync (viem@2.57.19and related packages are missing).next builddid not run.The demos now lint with
vp check. They were not rebuilt.Screenshots (if appropriate)
None. This change does not touch UI.
Types of changes
Checklist