Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e4bc36f
chore(deps-dev): bump @types/node in the typescript group
dependabot[bot] Feb 3, 2026
d19a7af
Merge pull request #430 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 3, 2026
a6bdb0f
chore(deps-dev): bump eslint-plugin-react-refresh in the eslint group
dependabot[bot] Feb 3, 2026
3311b8c
Merge pull request #431 from LGLabGreg/dependabot/npm_and_yarn/next/e…
github-actions[bot] Feb 3, 2026
278b7f2
chore(deps): bump @uiw/react-color from 2.9.3 to 2.9.4
dependabot[bot] Feb 3, 2026
f9a1a7a
Merge pull request #434 from LGLabGreg/dependabot/npm_and_yarn/next/u…
github-actions[bot] Feb 3, 2026
e36f514
chore(deps-dev): bump @vitejs/plugin-react in the vite-vitest group
dependabot[bot] Feb 3, 2026
7be98a3
Merge pull request #432 from LGLabGreg/dependabot/npm_and_yarn/next/v…
github-actions[bot] Feb 3, 2026
38f326c
chore(deps-dev): bump globals from 17.2.0 to 17.3.0
dependabot[bot] Feb 3, 2026
a564d1b
Merge pull request #435 from LGLabGreg/dependabot/npm_and_yarn/next/g…
github-actions[bot] Feb 3, 2026
224a7af
chore(deps-dev): bump jsdom from 27.4.0 to 28.0.0
dependabot[bot] Feb 3, 2026
a1736b4
Merge pull request #433 from LGLabGreg/dependabot/npm_and_yarn/next/j…
LGLabGreg Feb 3, 2026
7d39900
chore(deps-dev): bump @types/react in the typescript group
dependabot[bot] Feb 4, 2026
57156eb
Merge pull request #436 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 4, 2026
200bc67
chore(deps-dev): bump the typescript group with 2 updates
dependabot[bot] Feb 5, 2026
c4fc1dc
Merge pull request #437 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 5, 2026
7f27971
chore(deps-dev): bump the typescript group with 2 updates
dependabot[bot] Feb 10, 2026
c2247da
Merge pull request #440 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 10, 2026
b446cdc
chore(deps-dev): bump @types/node in the typescript group
dependabot[bot] Feb 10, 2026
eceaf7c
Merge pull request #441 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 10, 2026
9c4dbfe
chore(deps): bump @uiw/react-color from 2.9.4 to 2.9.5
dependabot[bot] Feb 10, 2026
f336704
Merge pull request #443 from LGLabGreg/dependabot/npm_and_yarn/next/u…
github-actions[bot] Feb 10, 2026
46f1c49
chore(deps-dev): bump @vitejs/plugin-react in the vite-vitest group
dependabot[bot] Feb 10, 2026
853af59
Merge pull request #442 from LGLabGreg/dependabot/npm_and_yarn/next/v…
github-actions[bot] Feb 10, 2026
285c546
chore(deps-dev): bump @types/react in the typescript group
dependabot[bot] Feb 11, 2026
7b3b555
Merge pull request #444 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 11, 2026
bfa72e3
chore(deps): bump lucide-react from 0.563.0 to 0.564.0
dependabot[bot] Feb 13, 2026
f556215
Merge pull request #445 from LGLabGreg/dependabot/npm_and_yarn/next/l…
github-actions[bot] Feb 13, 2026
631c1f2
chore(deps-dev): bump typescript-eslint in the typescript group
dependabot[bot] Feb 16, 2026
bd60595
Merge pull request #446 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 16, 2026
a58acfe
chore(deps): bump tailwind-merge in the tailwind group
dependabot[bot] Feb 16, 2026
74f77b4
Merge pull request #447 from LGLabGreg/dependabot/npm_and_yarn/next/t…
github-actions[bot] Feb 16, 2026
f3f997f
chore(deps-dev): bump jsdom from 28.0.0 to 28.1.0
dependabot[bot] Feb 16, 2026
04867dd
Merge pull request #448 from LGLabGreg/dependabot/npm_and_yarn/next/j…
github-actions[bot] Feb 16, 2026
5727842
chore: deps
LGLabGreg Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,28 @@
"@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-tooltip": "^1.2.8",
"@uiw/react-color": "^2.9.3",
"@uiw/react-color": "^2.9.5",
"@vercel/analytics": "^1.6.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"eslint-config-next": "16.1.6",
"lucide-react": "^0.563.0",
"lucide-react": "^0.564.0",
"next": "16.1.6",
"next-themes": "^0.4.6",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hook-form": "^7.71.1",
"react-icons": "^5.5.0",
"tailwind-merge": "^3.4.0",
"tailwind-merge": "^3.4.1",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.18",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/node": "^25.1.0",
"@types/react": "^19.2.10",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
Expand Down
20 changes: 10 additions & 10 deletions apps/docs/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,38 @@ export default function Page() {
title: 'Highly Customizable',
description:
'Style finder patterns, modules, and colors exactly how you want with advanced configuration.',
icon: <Sparkles className='h-5 w-5 text-primary' />,
icon: <Sparkles className='h-4 w-4 text-primary' />,
},
{
title: 'Performance Optimized',
description:
'Generates QR codes efficiently without sacrificing quality or bundle size.',
icon: <Zap className='h-5 w-5 text-primary' />,
icon: <Zap className='h-4 w-4 text-primary' />,
},
{
title: 'SVG-Based Rendering',
description: 'Crisp and scalable output for web and print, powered by SVG.',
icon: <Layers className='h-5 w-5 text-primary' />,
icon: <Layers className='h-4 w-4 text-primary' />,
},
{
title: 'Developer-Friendly',
description:
'Built with TypeScript, easy to use, and focused on a great developer experience.',
icon: <Code className='h-5 w-5 text-primary' />,
icon: <Code className='h-4 w-4 text-primary' />,
},
]

return (
<>
<Hero />
<div className='mb-12 grid grid-cols-1 gap-4 md:grid-cols-2'>
<div className='mb-4 grid grid-cols-1 gap-4 lg:grid-cols-2 max-w-full md:max-w-4xl mx-auto'>
{features.map((feature) => (
<Card key={feature.title}>
<Card key={feature.title} className='shadow-xs'>
<CardHeader className='flex-row items-start gap-4 space-y-0'>
<div className='mb-2 inline-flex h-9 w-9 items-center justify-center rounded-lg bg-background shadow-sm'>
<div className='mb-2 inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-background shadow-sm'>
{feature.icon}
</div>
<div>
<div className='space-y-1'>
<CardTitle className='text-lg'>{feature.title}</CardTitle>
<CardDescription className='text-sm leading-relaxed'>
{feature.description}
Expand All @@ -59,10 +59,10 @@ export default function Page() {
))}
</div>

<Card>
<Card className='max-w-full md:max-w-4xl mx-auto shadow-xs'>
<CardHeader className='flex-row items-start gap-4 space-y-0'>
<div className='mt-1 shrink-0 rounded-lg bg-background p-2 shadow-sm'>
<Sparkles className='h-6 w-6 text-primary' />
<Sparkles className='h-4 w-4 text-primary' />
</div>
<div>
<CardTitle className='mb-1 text-xl'>Optimized for AI</CardTitle>
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/LGLabGreg/react-qr-code.git"
},
"packageManager": "pnpm@10.26.1",
"packageManager": "pnpm@10.29.3",
"type": "module",
"scripts": {
"dev": "pnpm concurrently --names packages,apps \"pnpm watch:packages\" \"pnpm watch:docs\"",
Expand Down Expand Up @@ -38,23 +38,23 @@
"@testing-library/react": "^16.3.2",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/jsdom": "^27.0.0",
"@types/node": "^25.1.0",
"@vitejs/plugin-react": "^5.1.2",
"@types/node": "^25.2.3",
"@vitejs/plugin-react": "^5.1.4",
"@vitest/coverage-v8": "4.0.18",
"concurrently": "^9.2.1",
"eslint": "^9.39.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^17.2.0",
"eslint-plugin-react-refresh": "^0.5.0",
"globals": "^17.3.0",
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"jsdom": "^28.1.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for jsdom-specific configurations or usages
rg -n 'jsdom' --type-not json -C3

Repository: LGLabGreg/react-qr-code

Length of output: 5718


🏁 Script executed:

#!/bin/bash
# Check package.json for test configuration and scripts
cat package.json | head -60

Repository: LGLabGreg/react-qr-code

Length of output: 1995


🌐 Web query:

jsdom 28 breaking changes changelog major version upgrade 27 to 28

💡 Result:

jsdom v28 (upgrade from v27): breaking changes / migration notes

  • Resource loading customization API was overhauled (breaking) — if you customize how jsdom fetches subresources (scripts, iframes, XHR/WebSocket interception, proxies, UA, etc.), you’ll need to update to the new API described in the README. The new approach is configured via the resources option (now an object) with concepts like dispatcher and ordered interceptors (including requestInterceptor() that can short-circuit with a Response). Note: this customization is ignored for synchronous XMLHttpRequest due to a technical limitation. [1] [2]

Notable v28 release notes (may affect behavior)

  • Added MIME-type sniffing to <iframe>/<frame> loads. [1]
  • Known regression: WebSockets are no longer correctly throttled to one connection per origin (due to an upstream undici bug). [1]
  • Various fetch/referrer, ArrayBuffer snapshotting, load/error-event, and XMLHttpRequest fixes. [1]

Sources: GitHub release notes for 28.0.0 [1] and the updated README documenting the new resource-loading API [2].

[1] https://github.com/jsdom/jsdom/releases/tag/28.0.0
[2] https://raw.githubusercontent.com/jsdom/jsdom/2b65c6a80af2c899e32933c5e0cb842164852149/README.md


Update @types/jsdom to match jsdom v28 and verify resource loading API compatibility.

The jsdom major version bump (27 → 28) includes a breaking change to the resource loading customization API. The main concern is that @types/jsdom remains at ^27.0.0 while the runtime is at ^28.1.0, creating a type safety gap.

Breaking changes in jsdom 28:

  • Resource loading API overhaul: Custom resource interception now requires the new resources option with dispatcher and interceptors. No custom resource loading was detected in the codebase, so direct impact is minimal.
  • MIME-type sniffing added for iframe/frame loads
  • WebSocket throttling regression in upstream undici

Update @types/jsdom to ^28.x to align with the runtime version and ensure type safety. Run the test suite to verify behavior with the new jsdom release.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 51, Update the `@types/jsdom` dev dependency to a ^28.x
version to match the runtime jsdom ^28.1.0 in package.json, then run the test
suite to catch any typing or runtime incompatibilities; specifically check any
code paths that might rely on jsdom's resource-loading customization (search for
uses of "resources", custom resource loader code, or any code importing types
from "@types/jsdom") and adjust code to the new resources option
(dispatcher/interceptors) if tests or type errors surface.

"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"typescript": "~5.9.3",
"typescript-eslint": "^8.54.0",
"typescript-eslint": "^8.56.0",
"vite": "^7.3.1",
"vitest": "^4.0.18"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/react-qr-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@
"react": "^18 || ^19"
},
"devDependencies": {
"@types/node": "^25.1.0",
"@types/react": "^19.2.10",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"globals": "^17.2.0",
"@vitejs/plugin-react": "^5.1.4",
"globals": "^17.3.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"typescript": "~5.9.3",
"typescript-eslint": "^8.54.0",
"typescript-eslint": "^8.56.0",
"vite": "^7.3.1",
"vite-plugin-dts": "^4.5.4"
}
Expand Down
Loading