Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Commit d6de383

Browse files
BrocksiNetctatevercel[bot]blurrah
authored
feat: caching and upstream sync (#34)
* chore: upgrade Next.js to 15.6.0-canary.58 (CVE-2025-55182) (vercel#1507) * chore: upgrade Next.js to 15.6.0-canary.58 (CVE-2025-55182) * chore: upgrade Next.js to 15.6.0-canary.58 (CVE-2025-55182) * Fix React Server Components CVE vulnerabilities (vercel#1510) Updated dependencies to fix Next.js and React CVE vulnerabilities. The fix-react2shell-next tool automatically updated the following packages to their secure versions: - next - react-server-dom-webpack - react-server-dom-parcel - react-server-dom-turbopack All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory. Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com> * Fix React Server Components CVE vulnerabilities (vercel#1511) Updated dependencies to fix Next.js and React CVE vulnerabilities. The fix-react2shell-next tool automatically updated the following packages to their secure versions: - next - react-server-dom-webpack - react-server-dom-parcel - react-server-dom-turbopack All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory. Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com> * fix: suspense and revalidate issues from updating next.js (vercel#1514) * fix: product provider without suspense ProductProvider was using useSearchParams without a Suspense. But since it wraps the complete page it'd break the fallback shell, so I got rid of it and just access the search params directly within each component. That way you keep individual suspenses. I had to run prettier so changes are huge. * fix: also remove useProduct from add-to-cart * fix: try adding use cache: private to getCart() * fix: router refresh * fix: use updateTag instead of router.refresh() * chore: update lint configuration to oxlint and oxfmt Replace eslint with oxlint and add oxfmt formatter configuration. Update pre-commit hook and apply formatting across the codebase. * test: update e2e tests and dependencies Update Playwright to v1.58, update test dependencies, add tsconfig. Improve add-to-cart test reliability with retry logic. * chore: update template dependencies and configuration Update Next.js, React, and other dependencies. Update tsconfig and next.config settings. * refactor: sync upstream changes Sync component, lib, and API type changes from upstream. Includes cart improvements, variant selector updates, API retry enhancements, and gallery/opengraph updates. * fix: address PR review feedback - Add fallback to use handle as direct ID when seoUrl lookup fails - Use find() instead of filter() for cart item lookup - Add missing await in requestContext --------- Co-authored-by: Chris Tate <chris@ctate.dev> Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com> Co-authored-by: Boris Besemer <borisbesemer@gmail.com>
1 parent 2225f50 commit d6de383

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3569
-7901
lines changed

.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- uses: actions/setup-node@v3
2424
with:
2525
node-version: 22
26-
cache: 'pnpm'
27-
cache-dependency-path: '**/pnpm-lock.yaml'
26+
cache: "pnpm"
27+
cache-dependency-path: "**/pnpm-lock.yaml"
2828

2929
- name: Install e2e-tests dependencies
3030
run: cd e2e-tests && pnpm install --no-frozen-lockfile --prefer-offline

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pnpm run lint
2-
npx lint-staged
1+
npx pnpm lint
2+
npx pnpm format:check

.oxfmtrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 100,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": false,
7+
"trailingComma": "all"
8+
}

.oxlintrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
3+
"rules": {
4+
"no-unused-vars": "warn",
5+
"no-console": "off"
6+
},
7+
"ignorePatterns": ["node_modules", ".next", "e2e-tests"]
8+
}

0 commit comments

Comments
 (0)