Skip to content

chore(deps): refresh dev dependencies and clear npm audit findings - #661

Merged
duglin merged 1 commit into
cloudevents:mainfrom
shiva:chore/dev-deps-refresh
Oct 25, 2026
Merged

duglin merged 1 commit into
cloudevents:mainfrom
shiva:chore/dev-deps-refresh

Conversation

@shiva

@shiva shiva commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Bring the test and build tooling that the open Snyk PRs targeted up to date in one change against current main, and fix everything npm audit reports: 33 findings, 18 high, all in dev dependencies except ajv and uuid.

  • axios 1.x, superagent 10, mocha 12, @cucumber/cucumber 13, nyc 18
  • TypeScript 5.9 with typedoc 0.28 and @types/node 22.20; uuid 11 ships type declarations that need TypeScript 5
  • ajv ^8.18 and uuid ^11.1.1 at runtime; both are non-breaking, the SDK only calls uuid v4()
  • override fast-json-patch for ajv-cli, which has no fixed release
  • drop @types/uuid and @types/cucumber; both packages ship their own types
  • JSONParser.parse is typed as returning unknown, which is what it already returned; the class is not exported
  • the axios test helper serializes the object-valued extension header, since axios 1.x coerces every header value to a string
  • examples/typescript-ex: cloudevents ^10, gts 7 with an eslint flat config in place of tslint, TypeScript 5.9

Supersedes #612, #613, #617, #618, #619, #622, #629, #632, #633, #637,

#638, #640, #642 and the dependency bumps in #645.

@duglin I consolidated the version bumps and changes to eliminate the Snyk errors into this one PR. Can you have a look and approve. This doesn't change the SDK surface, and only fixes versions + minor changes that was caught in a couple of the files.

Once we do this, we will be left with the other PRs that require more considered thought

Bring the test and build tooling that the open Snyk PRs targeted up to
date in one change against current main, and fix everything npm audit
reports: 33 findings, 18 high, all in dev dependencies except ajv and
uuid.

- axios 1.x, superagent 10, mocha 12, @cucumber/cucumber 13, nyc 18
- TypeScript 5.9 with typedoc 0.28 and @types/node 22.20; uuid 11 ships
  type declarations that need TypeScript 5
- ajv ^8.18 and uuid ^11.1.1 at runtime; both are non-breaking, the SDK
  only calls uuid v4()
- override fast-json-patch for ajv-cli, which has no fixed release
- drop @types/uuid and @types/cucumber; both packages ship their own types
- JSONParser.parse is typed as returning unknown, which is what it
  already returned; the class is not exported
- the axios test helper serializes the object-valued extension header,
  since axios 1.x coerces every header value to a string
- examples/typescript-ex: cloudevents ^10, gts 7 with an eslint flat
  config in place of tslint, TypeScript 5.9

Supersedes cloudevents#612, cloudevents#613, cloudevents#617, cloudevents#618, cloudevents#619, cloudevents#622, cloudevents#629, cloudevents#632, cloudevents#633, cloudevents#637,

Signed-off-by: Shiva <[email protected]>
cloudevents#638, cloudevents#640, cloudevents#642 and the dependency bumps in cloudevents#645.
@duglin
duglin merged commit c80252e into cloudevents:main Oct 25, 2026
9 checks passed
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