Skip to content

[Snyk] Security upgrade cloudevents from 4.0.3 to 6.0.0 - #642

Closed
lance wants to merge 1 commit into
mainfrom
snyk-fix-2a5fac3ce4f02fe8ea882c2dfedb91e8
Closed

lance wants to merge 1 commit into
mainfrom
snyk-fix-2a5fac3ce4f02fe8ea882c2dfedb91e8

Conversation

@lance

@lance lance commented Feb 16, 2026

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • examples/typescript-ex/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-AJV-15274295
  803  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

@github-actions

Copy link
Copy Markdown
Contributor

This pull request is stale because it has been open 30 days with no activity.

duglin pushed a commit that referenced this pull request Oct 25, 2026
)

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.

Signed-off-by: Shiva <shiv@shiv.me>
@duglin

duglin commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

closed by #661

@duglin duglin closed this Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants