Skip to content

fix: bump typescript version to 5.0.0 and uuid to 11.1.1#645

Open
phodgkinson-signiant wants to merge 2 commits into
cloudevents:mainfrom
Signiant:bump-uuid
Open

fix: bump typescript version to 5.0.0 and uuid to 11.1.1#645
phodgkinson-signiant wants to merge 2 commits into
cloudevents:mainfrom
Signiant:bump-uuid

Conversation

@phodgkinson-signiant
Copy link
Copy Markdown

Proposed Changes

package.json

  • uuid: ^8.3.2 → ^11.1.1
  • @types/uuid: removed (uuid v11 ships its own types)
  • typescript: ^4.3.5 → ^5.0.0 (required by uuid v11's bundled types)
  • @types/node: ^14.14.10 → ^20.0.0 (TS 5 + Node ≥20 engines alignment)
  • typedoc: ^0.22.11 → ^0.25.0 (peer dep on TS 5)
  • @typescript-eslint/parser + eslint-plugin: ^4.29.0 → ^6.0.0 (TS 5 API compat)

src/event/validation.ts — replaced the @ts-ignore'd reduce with a properly typed reduce. Same behavior, no suppression needed.

src/parsers.ts — added a small as string cast on the parseJSON return to keep the existing public API shape.

Verified: npm install, npm run lint, npm run build, npm test (222 passing)

Description

Bump UUID library to 11.1.1 to address GHSA-w5hq-g745-h8pq
Necessitates update to typescript 5 and cascading changes

FemiOfficial and others added 2 commits May 14, 2026 11:55
* added package.json for kafka example

Signed-off-by: Femi <alayesanmifemi@gmail.com>

* feat: added client and admin for kafka topics

Signed-off-by: Femi <alayesanmifemi@gmail.com>

* feat: added producer for kafka sample

Signed-off-by: Femi <alayesanmifemi@gmail.com>

* feat: added consumer for kafka sample

Signed-off-by: Femi <alayesanmifemi@gmail.com>

* chore: remove dotenv import in sample file for kafka client

Signed-off-by: Femi <alayesanmifemi@gmail.com>

* chore: added readme with usage and kafka installation guide for easy usage

Signed-off-by: Femi <alayesanmifemi@gmail.com>

---------

Signed-off-by: Femi <alayesanmifemi@gmail.com>
Signed-off-by: Peter Hodgkinson <phodgkinson@signiant.com>
 package.json
  - uuid: ^8.3.2 → ^11.1.1
  - @types/uuid: removed (uuid v11 ships its own types)
  - typescript: ^4.3.5 → ^5.0.0 (required by uuid v11's bundled types)
  - @types/node: ^14.14.10 → ^20.0.0 (TS 5 + Node ≥20 engines alignment)
  - typedoc: ^0.22.11 → ^0.25.0 (peer dep on TS 5)
  - @typescript-eslint/parser + eslint-plugin: ^4.29.0 → ^6.0.0 (TS 5 API compat)

  src/event/validation.ts — replaced the @ts-ignore'd reduce with a properly typed reduce<string>. Same behavior, no suppression needed.

  src/parsers.ts — added a small as string cast on the parseJSON return to keep the existing public API shape.

  Verified: npm install, npm run lint, npm run build, npm test (222 passing)

Signed-off-by: Peter Hodgkinson <phodgkinson@signiant.com>
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