chore(deps): upgrade all dependencies (2026-08-24) - #18
Open
devin-ai-integration[bot] wants to merge 13 commits into
Open
devin-ai-integration[bot] wants to merge 13 commits into
devin-ai-integration[bot] wants to merge 13 commits into
Conversation
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
This reverts commit 7686aec.
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Phil Bedford <phil.bedford@cognition.ai>
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.
Summary
Upgrades every outdated npm dependency in this repo, batched into separate commits (patch → minor → one per major/coupled unit) so any single upgrade can be reverted independently.
npm run lint,npx tsc --noEmitandnpm run buildpass after every batch and from a cleannpm ci. There is notestscript in this repo, so lint/tsc/build are the gates.Only one non-dependency file changed:
eslint.config.js.eslint-plugin-react-hooks@7expanded its recommended set (set-state-in-effect,purity, …), which errors on existing source, so the config now names the two rules that were previously in effect instead of spreading the new recommended set:Adopting the v7 recommended rules would require source refactoring across contexts/components and is left as follow-up.
The React 19 peer
overridesblock is preserved unchanged, caret pinning is retained everywhere, andtypescriptstays tilde-pinned per existing convention.Upgrade summary
Patch —
chore(deps): upgrade patch dependencieseslint@eslint/jspostcssMinor —
chore(deps): upgrade minor dependenciesreactreact-dom@types/react@types/react-domtailwindcss@tailwindcss/postcssreact-routertailwind-mergetypescript-eslinteslint-plugin-react-refreshMajors (one commit each, coupled packages upgraded as a unit)
chore(deps): upgrade @fullcalendar packages@fullcalendar/core,daygrid,interaction,list,react,timegridchore(deps): upgrade swiperswiperchore(deps): upgrade vite and plugins+chore(deps): pin vite to 7.3.6vite/@vitejs/plugin-react/vite-plugin-svgrchore(deps): upgrade apexcharts and react-apexchartsapexcharts/react-apexchartschore(deps): upgrade eslint-plugin-react-hookseslint-plugin-react-hookschore(deps): upgrade globalsglobalschore(deps): upgrade react-dropzonereact-dropzonechore(deps): upgrade react-helmet-asyncreact-helmet-asyncNote:
@fullcalendar/coreand@fullcalendar/reacthave a stable 7.0.2, but@fullcalendar/daygrid,interaction,listandtimegridpublish no stable 7.x (highest is7.0.0-rc.0). Since these must move as a unit, all six went to the highest common stable release,6.1.21.Security fixes
npm auditwent from 1 critical / 10 high / 2 moderate / 1 low to a single transitive high. Resolved advisories include:swiper— criticalGHSA-hmx5-qpq5-p643vite—GHSA-fx2h-pf6j-xcff,GHSA-p9ff-h696-f583(high),GHSA-4w7w-66w2-5vf9,GHSA-v6wh-96g9-6wx3(moderate)react-router—GHSA-2w69-qvjg-hvjx,GHSA-49rj-9fvp-4h2h,GHSA-8646-j5j9-6r62,GHSA-8v8x-cx79-35w7,GHSA-8x6r-g9mw-2r78,GHSA-chx6-hx7r-mcp5,GHSA-rxv8-25v2-qmq8(high) plus 6 moderatepostcss—GHSA-6g55-p6wh-862q,GHSA-r28c-9q8g-f849(high),GHSA-fxqj-rqcc-2cmp,GHSA-qx2v-qp2m-jg93(moderate)rollup,nanoid,picomatch,minimatch,brace-expansion,js-yaml,ajv,yamlRemaining after the upgrades: only
flatted@3.3.2(high —GHSA-25h7-pfq9-p65f,GHSA-rf6f-7fwh-wjgh), transitive through ESLint'sflat-cachewith no fixed version available. No direct dependency has an outstanding advisory (vite@7.3.6androllup@4.62.5are both clean).npm audit fix --forcewas not used.Skipped packages
typescript~7.0.2tsc --noEmitandbuildpassed, butnpm run lintfails hard:typescript-eslint@8.67.0(latest) refuses TS 7.0 (typescript-eslint does not support TS 7.0). No publishedtypescript-eslintsupports TS 7 yet, so this needs to wait on upstream. Reverted to~5.7.2.@fullcalendar/*→ 7.x7.0.2vite(major)^8.2.2@react-jvectormap/coreships a webpack-prebundled dist with inlined css-loader runtime, which Vite 8's Rolldown dep optimizer mis-handles (..._css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default(...) is not a function), and the thrown error kills the entire React tree. Config workarounds were tried and rejected:optimizeDeps.excludebreaks resolution of the namedVectorMapexport, andoptimizeDeps.include+needsInteropbreaks on@react-jvectormap/world's named exports (core-only reproduces the original error). Settled onvite@^7.3.6+@vitejs/plugin-react@^5.2.0, which is verified working. Vite 8 must wait on a fix in (or replacement of)@react-jvectormap/core.Source impact
Actively imported in
src/:react,react-dom,react-router,apexcharts+react-apexcharts(chart widgets),@fullcalendar/*(src/pages/Calendar.tsx),swiper(CSS-only usage),react-dropzone,react-helmet-async(PageMeta),tailwind-merge,tailwindcss. No source file required changes for any of these upgrades.Dev/build-only:
eslint+ plugins/config,typescript-eslint,globals,postcss,@tailwindcss/postcss,vite,@vitejs/plugin-react,vite-plugin-svgr,@types/*. The?reactsvgr transform andvite.config.tscontinue to work on Vite 7 (unchanged config).Validation
From a clean
npm cion the final branch state:npm run lint— exit 0 (2 preexistingreact-refresh/only-export-componentswarnings inSidebarContext.tsx/ThemeContext.tsx)npx tsc --noEmit— exit 0npm run build— exit 0 (preexistingevalwarning from@react-jvectormap/core, preexisting chunk-size warning)npm ciresolves cleanly (lockfile in sync)testscript exists inpackage.json; no tests were modified.Runtime verification (the gates alone were not sufficient here)
Build success was actively misleading on this branch — the Vite 8 state passed lint/tsc/build while serving a blank page, in dev and in
vite preview. So the app was loaded in a real browser on the final commit, with the realCountryMap.tsx(no stubs):#root252,124 chars, 3 ApexCharts canvases, real jVectorMap with 176 country paths + 4 markers, Recent Orders 5 rows/,/calendar,/line-chart(6 series paths),/bar-chart(12 bars),/basic-tables,/profile,/alerts,/form-elements— all renderhtml.dark, bodyrgb(16,24,40)) and charts/map redraw; sidebar collapses 290px ↔ 90px; text input and react-dropzone 20 both workvite previewbuildVideo demo
Link to Devin session: https://app.devin.ai/sessions/17aa38d28b5c46beb4c463c25d51f8d7
Requested by: @dr-phil
Devin Review