fix(deps): update dependency @faker-js/faker to version 10.x 🌟 (major)#1481
fix(deps): update dependency @faker-js/faker to version 10.x 🌟 (major)#1481renovate[bot] wants to merge 1 commit intodevelopfrom
Conversation
|
See the guidelines for reviewing dependency updates for info on how to review dependency update PRs. |
922e1e9 to
4c30740
Compare
4c30740 to
5758dd7
Compare
5758dd7 to
b6b562e
Compare
b6b562e to
14dcff0
Compare
14dcff0 to
c6950f3
Compare
c6950f3 to
f5e844f
Compare
f5e844f to
795a939
Compare
795a939 to
a9c86be
Compare
a9c86be to
4da2b39
Compare
4da2b39 to
bba7489
Compare
bba7489 to
7e55d49
Compare
7e55d49 to
c9369e2
Compare
c9369e2 to
74c232c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| "jwks-rsa": "2.0.5", | ||
| "lowdb": "1.0.0", | ||
| "jwks-rsa": "4.0.1", | ||
| "lowdb": "7.0.1", |
There was a problem hiding this comment.
lowdb v7 completely breaks backend database layer
High Severity
Upgrading lowdb from 1.0.0 to 7.0.1 without updating backend/database.ts will completely break the application. The code imports low from "lowdb" and FileSync from "lowdb/adapters/FileSync", then uses a lodash-chain API (db.get().push().write(), db.setState(), etc.). lowdb v2+ is pure ESM with a completely different API — no low() function, no FileSync adapter, and no chaining. Every database operation in the backend will fail at import time.
| "@cypress/instrument-cra": "1.4.0", | ||
| "@eslint/js": "^10.0.1", | ||
| "@faker-js/faker": "6.1.2", | ||
| "@faker-js/faker": "10.4.0", |
There was a problem hiding this comment.
Faker v10 removes all APIs used in seed generation
High Severity
Upgrading @faker-js/faker from 6.1.2 to 10.4.0 without updating source code breaks seed data generation and tests. The code calls many APIs removed in v8: faker.random.uuid(), faker.name.firstName(), faker.name.lastName(), faker.helpers.randomize(), faker.random.number(), faker.company.companyName(), faker.phone.phoneNumberFormat(), faker.finance.account(), and faker.finance.amount(min, max) with positional args (now requires an options object).
| "json": "11.0.0", | ||
| "jwks-rsa": "2.0.5", | ||
| "lowdb": "1.0.0", | ||
| "jwks-rsa": "4.0.1", |
There was a problem hiding this comment.
jwks-rsa v4 incompatible with express-jwt v6
High Severity
Upgrading jwks-rsa from 2.0.5 to 4.0.1 while keeping express-jwt at 6.1.2 creates an incompatibility. backend/helpers.ts uses jwksRsa.expressJwtSecret() with express-jwt v6's callback-based secret provider pattern. jwks-rsa v3+ changed expressJwtSecret to return a Promise-based function designed for express-jwt v7+, which uses a different (req, token) signature instead of the old (req, header, payload, cb) callback pattern.


This PR contains the following updates:
6.1.2→10.4.016.0.0→17.3.16.5.3→7.1.07.0.4→9.1.72.0.5→4.0.11.0.0→7.0.11.14.0→3.0.08.3.2→13.0.00.32.11→1.7.1Release Notes
faker-js/faker (@faker-js/faker)
v10.4.0Compare Source
New Locales
Features
Changed Locales
Bug Fixes
v10.3.0Compare Source
New Locales
Features
sexTypecan return'generic'(#3259) (0e099a1)Changed Locales
Bug Fixes
v10.2.0Compare Source
New Locales
Features
Bug Fixes
v10.1.0Compare Source
New Locales
Bug Fixes
v10.0.0Compare Source
New Locales
Features
Changed Locales
v9.9.0Compare Source
New Locales
Features
v9.8.0Compare Source
New Locales
Changed Locales
Bug Fixes
v9.7.0Compare Source
New Locales
Bug Fixes
v9.6.0Compare Source
Features
v9.5.1Compare Source
Bug Fixes
v9.5.0Compare Source
Features
v9.4.0Compare Source
Features
Changed Locales
Bug Fixes
v9.3.0Compare Source
Features
Changed Locales
Bug Fixes
v9.2.0Compare Source
Features
Changed Locales
v9.1.0Compare Source
New Locales
Features
continentmethod (#3162) (4056ab0)Changed Locales
Bug Fixes
v9.0.3Compare Source
Changed Locales
Bug Fixes
v9.0.2Compare Source
Bug Fixes
v9.0.1Compare Source
Bug Fixes
v9.0.0Compare Source
No noteworthy changes to 9.0.0-rc.1
For those upgrading from earlier versions, please refer to our Migration Guide for detailed instructions.
v8.4.1Compare Source
v8.4.0Compare Source
Features
fractionDigitsin float (#1855) (41d8778)Bug Fixes
8.3.1 (2023-11-14)
Bug Fixes
[@internal](https://redirect.github.com/internal)from module parent classes (#2548) (77f54ad)v8.3.1Compare Source
v8.3.0Compare Source
Features
Bug Fixes
Changed Locales
New Locales
v8.2.0Compare Source
Features
Bug Fixes
New Locales
en_US,en_GBanden(#2371) (491d319)v8.1.0Compare Source
Features
Bug Fixes
jalocale (#2189) (785a38a)Changed Locales
New Locales
8.0.2 (2023-05-27)
Bug Fixes
v8.0.2Compare Source
v8.0.1Compare Source
v8.0.0Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.
Note
Medium Risk
This is a dependency-only PR, but it includes several major upgrades (notably
jwks-rsa,lowdb,yup,uuid,@faker-js/faker) that can introduce runtime or authentication-breaking changes despite no app code updates.Overview
Upgrades multiple runtime and dev dependencies, including major bumps for
@faker-js/faker(6→10),uuid(8→13),yup(0.32→1.7),lowdb(1→7),jwks-rsa(2→4), plus updates todotenv,fuse.js,husky, andstart-server-and-test.Regenerates
yarn.lockaccordingly, pulling in new/updated transitive packages (e.g.,jose6,lru-memoizer3,wait-on9 and its neweraxios/joistack).Written by Cursor Bugbot for commit 74c232c. This will update automatically on new commits. Configure here.