chore(deps): update dependencies to latest fixed versions - #366
Draft
jimmydjabali wants to merge 1 commit into
Draft
chore(deps): update dependencies to latest fixed versions#366jimmydjabali wants to merge 1 commit into
jimmydjabali wants to merge 1 commit into
Conversation
Bump 59 dependencies to their latest patch/minor (same-major) releases, pinned to exact versions. Verified: patch-package patches still apply, web production build (webpack) compiles, and no net-new type errors beyond a few cosmetic styled-components 6.4 type-inference shifts. Notable adaptation: - @yudiel/react-qr-scanner 2.1 -> 2.6: the `audio` option was removed from the Scanner `components` prop (the scanner no longer requests an audio track). Dropped `audio: false` in QRCamera; behaviour is preserved. Major/breaking upgrades and a few others were intentionally deferred; see the PR description for the full list and rationale.
✅ Deploy Preview for swissbitcoinpayapp ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for app-swiss-bitcoin-pay-ch ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
Weekly dependency refresh. Bumps 59 dependencies to their latest patch/minor (same-major) releases, each pinned to an exact version (no
^/~ranges). Also normalizestext-encoding-polyfillfrom^0.6.7to0.6.7(same version, now pinned).Validation performed
npm installsucceeds and all 19patch-packagepatches still apply cleanly.webpack --mode=production) compiles with 0 errors.styled-components6.4 type-inference reshuffles (see notes). The repo already carries ~383 pre-existingtscerrors onmain; this branch is at ~376 (net −7).eslintcould not be run in CI:eslint.config.mjshardcodestsconfigRootDir: "/home/swiss-bitcoin-pay/sbp/app"(a pre-existing, machine-specific absolute path). Left untouched as it is out of scope for a dependency bump.react-scripts(thetestscript runner) is not installed, sonpm testis not a validation path.Code change required by an update
@yudiel/react-qr-scanner2.1 → 2.6 — theaudiooption was removed from the Scannercomponentsprop (the scanner no longer requests an audio track). Removedaudio: falseinsrc/components/QRCamera/QRCamera.tsx; behaviour is preserved (audio was already being disabled and is now simply not requested).⛔ Not updated (deferred) — with reasons
Breaks the build (kept at current version)
react-router-dom7.6.3 → 7.18.1 — although a same-major bump, react-router 7.7+ ships chunked ESM (dist/**/chunk-*.mjs) that crashes the webpack production build during scope-hoisting:TypeError: Cannot read properties of undefined (reading 'module')in webpack'sProvidedDependency(ProvidePlugin). Reverting to 7.6.3 restores a clean build. Needs a webpack config change (e.g.conditionNames/concatenation handling) before it can be adopted — out of scope here.Patched packages (bumping would break their
patch-packagepatch)These have version-specific patches under
patches/; bumping changes the patch target filename and breakspostinstall. Kept pinned:@ledgerhq/react-native-hid(6.32.10)lottie-react-native(7.3.4)react-native-ble-plx(3.4.0)react-native-web(0.21.1) — andbabel-plugin-react-native-webkept aligned at 0.21.1Major / breaking upgrades — require native or build-toolchain validation not possible in this web CI
Not adopted this round (each is a major version jump needing device/native builds or a toolchain migration that can't be verified here):
react-native0.81.4 → 0.86.0,@react-native/assets-registry·@react-native/babel-preset·@react-native/eslint-config·@react-native/metro-config·@react-native/typescript-config0.81.1 → 0.86.1@babel/core·@babel/plugin-transform-classes·@babel/plugin-transform-export-namespace-from7.x → 8.0.1,@babel/preset-env→ 8.0.2,@babel/runtime→ 8.0.0eslint9 → 10.8.0,@eslint/js9 → 10.0.1,@eslint/compat1 → 2.1.0,eslint-plugin-react-hooks5 → 7.1.1,typescript5.9 → 7.0.2,@types/node24 → 26.1.1webpack-cli6 → 7.2.1,webpack-dev-server5 → 6.0.0@sentry/react-native7 → 8.20.0 (also patched),@sentry/webpack-plugin4 → 5.4.0@react-native-async-storage/async-storage2 → 3.1.1,@react-native-community/slider4 → 5.2.0,react-native-bootsplash6 → 7.3.2,react-native-device-info14 → 15.0.2,react-native-error-boundary2 → 3.1.0,react-native-get-random-values1 → 2.0.0,react-native-screenguard1 → 2.0.2,react-native-vision-camera4 → 5.1.1,react-native-webview13 → 14.0.1 (also patched),@fortawesome/react-native-fontawesome0.3 → 1.0.0i18next25 → 26.3.6,react-i18next15 → 17.0.11bitbox-api0.9 → 0.13.0,ledger-bitcoin0.2 → 0.3.0,@ledgerhq/hw-app-btc10 → 11.3.0uuid13 → 14.0.1,web-vitals5 → 6.0.0,locale-currency0.0.4 → 1.0.0,react-refresh0.17 → 0.18.0,@lottiefiles/dotlottie-react0.17 → 0.19.12Also left as-is:
react-native-nyx-printer(intentionally pinned to a GitHub commit ref).Generated by Claude Code