Skip to content

chore(deps): bump @faker-js/faker from 9.9.0 to 10.4.0 - #314

Merged
CataldoMazzilli merged 2 commits into
develfrom
chore/bump-faker-js-faker-10.4.0
Jun 5, 2026
Merged

chore(deps): bump @faker-js/faker from 9.9.0 to 10.4.0#314
CataldoMazzilli merged 2 commits into
develfrom
chore/bump-faker-js-faker-10.4.0

Conversation

@CataldoMazzilli

Copy link
Copy Markdown
Member

Summary

Package Old → New Type PM
@faker-js/faker 9.9.0 → 10.4.0 major (dev) pnpm

Changelog

v10.0.0

New & Noteworthy

  • esm only (for cjs support look into migration guide, we got you covered 😉)
  • remove v9 deprecations
  • change default error strategy to 'fail' in word module
  • remove invalid credit card issuer patterns
  • see our migration guide

What's Changed

Full Changelog: faker-js/faker@v9.9.0...v10.0.0


v10.0.0-beta.0

What's Changed

Full Changelog: faker-js/faker@v9.9.0...v10.0.0-beta.0


v10.1.0

What's Changed

New Contributors

Full Changelog: faker-js/faker@v10.0.0...v10.1.0


v10.2.0

What's Changed

New Contributors

Full Changelog: faker-js/faker@v10.1.0...v10.2.0


v10.3.0

What's Changed

New Contributors

Full Changelog: faker-js/faker@v10.2.0...v10.3.0


v10.4.0

What's Changed

New Contributors

Full Changelog: faker-js/faker@v10.3.0...v10.4.0

Code changes

Nessuna modifica al codice. Il progetto usa solo faker.system.* (fileName({ extensionCount }), fileExt, mimeType, commonFileName), faker.date.past/recent, faker.string.uuid, faker.number.int, faker.helpers.arrayElement — nessuna di queste API è cambiata in v10.

Breaking change v10 verificate come non impattanti:

  • ESM-only: tutti gli import sono già import { faker } from '@faker-js/faker' e il progetto usa Vitest (non Jest).
  • Rimozione deprecation v9 (address.*location.*, name.*person.*): non usate nel repo.
  • word module error strategy → 'fail': faker.word.* non è usato.
  • Rimozione pattern carte di credito invalidi: non usate.
  • engines più stringenti (^20.19 || ^22.13 || >=24): il progetto è su Node 22 ✅.

Fonte migrazione: context7 /faker-js/faker — guida upgrading v10.

Verification

  • ✅ type-check · ✅ lint · ✅ test (103 test, suite che usa faker nelle factory) · ✅ build
  • ℹ️ verifica eseguita due volte (run parallela + pre-commit hook husky)

Note

  • Peer warning pre-esistente su date-fns@^4.1.0 (richiesto da @zextras/carbonio-design-system) non correlato a questo bump.

No code migration needed: the project only uses faker.system.*,
faker.date.past/recent, faker.string.uuid, faker.number.int and
faker.helpers.arrayElement — none of which changed in v10. The removed v9
deprecations (address.*->location.*, name.*->person.*) and the word-module
'fail' strategy change are unused here. All imports are already ESM named
imports (v10 is ESM-only) and the project runs Vitest, not Jest. Node 22
satisfies v10's engines (^22.13.0).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sonarqube-zextras

Copy link
Copy Markdown

@CataldoMazzilli
CataldoMazzilli merged commit 2581c96 into devel Jun 5, 2026
3 checks passed
@CataldoMazzilli
CataldoMazzilli deleted the chore/bump-faker-js-faker-10.4.0 branch June 5, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants