Skip to content

Conversation

@imranalisyed506
Copy link
Contributor

Problem Description

Upgrading uuid beyond version 10 introduces breaking changes with node version 22.3.0. Starting with uuid@12, CommonJS (require()) is no longer supported, and the package is ESM-only. Since this project still depends on CommonJS modules, using uuid@12+ results in runtime errors (ERR_REQUIRE_ESM).

Solution Description

Pin uuid to ^10.0.0, the latest version that supports CommonJS. This ensures compatibility with our current codebase while avoiding ESM migration work for now.

@al-cibot
Copy link

CI Service Job Number 1108 Logs - SUCCESS

alps ci job-logs --organization alertlogic --repository paws-collector --job-num 1108 -g

Stages Run:

  • PR Test

@imranalisyed506
Copy link
Contributor Author

build-collector-mimecast

@al-cibot
Copy link

CI Service Job Number 1109 Logs - SUCCESS

alps ci job-logs --organization alertlogic --repository paws-collector --job-num 1109 -g

Stages Run:

  • build-collector-mimecast
  • file_packager_7e0874

@imranalisyed506 imranalisyed506 merged commit d795970 into alertlogic:master Sep 17, 2025
2 checks passed
@imranalisyed506 imranalisyed506 deleted the imchangesvun branch September 19, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants