Skip to content

chore(deps-dev): bump faker to 10.5.0 and fix dev dependency audit findings - #69

Merged
EastSun5566 merged 3 commits into
developfrom
dependabot/npm_and_yarn/nodejs/faker-js/faker-10.5.0
Dec 3, 2026
Merged

EastSun5566 merged 3 commits into
developfrom
dependabot/npm_and_yarn/nodejs/faker-js/faker-10.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes the open security alerts on nodejs/ dev dependencies. Nothing here ships in the published package.

faker 7 → 10 (Dependabot's bump, high: GHSA-qxc2-j82w-r537)

  • faker 10 renamed three functions the test mocks use (string.uuid, person.fullName, internet.username).
  • faker 10 is ESM-only, so the Jest config now lets ts-jest transform it, as faker's upgrade guide describes.

Other audit findings

  • rimraf 4 → 6, which drops the old glob 9 (moderate).
  • cross-spawn 7.0 → 7.1 via override (critical, Windows only), pulled in by the codegen tool.
  • minimatch 8/9 → 11 via override (2 moderate). This replaces the old 9.0.3 → 9.0.9 pin.

Still open: typedoc's minimatch 10 (2 moderate). typedoc's latest version needs a function that minimatch 11 removed, and there is no patched 10.x. typedoc only matches our own doc entry point globs, so the risk is low. It goes away when typedoc moves to minimatch 11.

pnpm audit: 8 findings (1 critical, 7 moderate) → 2 moderate.

Note on #63

#63 moves the lockfile from nodejs/ to the repository root. Whichever PR merges second needs to redo these overrides in its lockfile.

Testing

Ran every CI step locally: install with --frozen-lockfile, check:generated, typecheck, lint, build, docs:build, and test (122 passed).

🤖 Generated with Claude Code

Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 7.6.0 to 10.5.0.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](faker-js/faker@v7.6.0...v10.5.0)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  dependency-version: 10.5.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2026
EastSun5566 and others added 2 commits December 3, 2026 20:11
faker 10 renamed datatype.uuid, name.fullName and internet.userName to
string.uuid, person.fullName and internet.username. It is also ESM-only,
so the unit test config now lets ts-jest transform @faker-js (the pnpm
pattern from faker's upgrade guide). The e2e config does not use faker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- rimraf 4 -> 6, which drops glob 9 (GHSA-3g3m-2fjr-6pw4) and its
  minimatch 8.
- Override cross-spawn 7.0.x -> 7.1 (GHSA-ghv9-86vm-4v8m), pulled in by
  @hey-api/openapi-ts.
- Override minimatch 7-9 -> 11.0.8+ (GHSA-g3hv-75wg-m249,
  GHSA-c859-jr93-m5j4), replacing the 9.0.3 -> 9.0.9 pin. Only 11.x is
  patched.

typedoc 0.28.20 (latest) still needs minimatch 10: it calls matchOne,
which 11 removed. Its two moderate findings stay until typedoc moves to
minimatch 11. It only matches our own entry point globs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EastSun5566 EastSun5566 changed the title chore(deps-dev): bump @faker-js/faker from 7.6.0 to 10.5.0 in /nodejs chore(deps-dev): bump faker to 10.5.0 and fix dev dependency audit findings Dec 3, 2026
@EastSun5566
EastSun5566 merged commit ba4c150 into develop Dec 3, 2026
2 checks passed
@EastSun5566
EastSun5566 deleted the dependabot/npm_and_yarn/nodejs/faker-js/faker-10.5.0 branch December 3, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant