Skip to content

chore(deps): bump uuid to ^11.1.1 - #1671

Merged
lucasmcdonald3 merged 2 commits into
masterfrom
bump-uuid-patched-line
Jul 21, 2026
Merged

chore(deps): bump uuid to ^11.1.1#1671
lucasmcdonald3 merged 2 commits into
masterfrom
bump-uuid-patched-line

Conversation

@lucasmcdonald3

@lucasmcdonald3 lucasmcdonald3 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Bump uuid to ^11.1.1

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@lucasmcdonald3
lucasmcdonald3 requested a review from a team as a code owner July 21, 2026 17:45
@lucasmcdonald3 lucasmcdonald3 changed the title chore(deps): bump uuid to patched ^11.1.1 line (CVE-2026-41907) chore(deps): bump uuid to ^11.1.1 Jul 21, 2026
uuid ^10 (material-management, serialize) and ^9 (branch-keystore-node)
cannot resolve to a CVE-patched uuid; the fix ships only in 11.x+. Bump
all three to ^11.1.1 (patched, still ships CommonJS; 12+ are ESM-only).
ESDK-JS only uses v4/validate/version, so this is API-compatible.

uuid >=11 bundles .d.ts using TS 5.0 'export type *' syntax, which the
repo's pinned TypeScript 4.x cannot parse; add skipLibCheck so the build
tolerates the bundled declarations while still type-checking our usage.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the uuid dependency across the monorepo packages to ^11.1.1, refreshing the lockfile accordingly, and adjusts the shared TypeScript compiler settings used by all modules.

Changes:

  • Bump uuid dependency ranges to ^11.1.1 in affected module package.json files.
  • Update package-lock.json to resolve uuid@11.1.1 (and related lockfile metadata changes).
  • Enable skipLibCheck in modules/tsconfig.settings.json (shared across module builds).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package-lock.json Updates locked uuid version/resolution to 11.1.1 and removes older per-module lock entries.
modules/tsconfig.settings.json Enables skipLibCheck for all module TypeScript builds via the shared settings file.
modules/serialize/package.json Bumps uuid dependency range to ^11.1.1.
modules/material-management/package.json Bumps uuid dependency range to ^11.1.1.
modules/branch-keystore-node/package.json Bumps uuid dependency range to ^11.1.1.
Comments suppressed due to low confidence (2)

modules/serialize/package.json:28

  • uuid was bumped to ^11.1.1, but @types/uuid is still pinned to ^10.0.0. Keeping the DefinitelyTyped package on a different major can lead to incorrect/incompatible typings being used (or duplicate module declarations) during compilation, especially since the shared tsconfig does not restrict auto-included @types/* packages.
    "uuid": "^11.1.1"
  },
  "devDependencies": {
    "@types/uuid": "^10.0.0"
  },

modules/material-management/package.json:28

  • uuid was bumped to ^11.1.1, but @types/uuid remains ^10.0.0. A mismatched major version between runtime package and its type package can introduce subtle compile-time inconsistencies (or type declaration duplication).
    "uuid": "^11.1.1"
  },
  "devDependencies": {
    "@types/uuid": "^10.0.0"
  },

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 9 to 13
"esModuleInterop": true,

"skipLibCheck": true,

"strict": true,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested fix was hallucinated -- the unparseable declarations live in uuid's own bundled type files so restricting the included packages does nothing

This is the easiest way to keep uuid's correct types. The (real, non-hallucinated) alternative is to bump to typescript 5.x which is definitely out of scope

"inlineSourceMap": true,
"esModuleInterop": true,

"skipLibCheck": true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know the implication of this? Are we going to miss any safety nets?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out copilot's comment and my response -- #1671 (comment)

@lucasmcdonald3
lucasmcdonald3 merged commit d5a0b68 into master Jul 21, 2026
24 checks passed
@lucasmcdonald3
lucasmcdonald3 deleted the bump-uuid-patched-line branch July 21, 2026 18:40
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.

3 participants