You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore(example): Replaced body parser with express JSON parser (#334)
Signed-off-by: Philip Hayes <[email protected]>
Co-authored-by: Philip Hayes <[email protected]>
* fix: upgrade cloudevents from 3.0.1 to 3.1.0 (#335)
Snyk has created this PR to upgrade cloudevents from 3.0.1 to 3.1.0.
See this package in npm:
https://www.npmjs.com/package/cloudevents
See this project in Snyk:
https://app.snyk.io/org/lance/project/cb2960b0-db0c-4e77-9ab2-e78efded812e?utm_source=github&utm_medium=upgrade-pr
Co-authored-by: snyk-bot <[email protected]>
Signed-off-by: Lucas Holmquist <[email protected]>
* feat: add a constructor parameter for loose validation (#328)
* feat: add a constructor parameter for loose validation
This commit adds a second, optional boolean parameter to the `CloudEvent`
constructor. When `false` is provided, the event constructor will not
perform validation of the event properties, values and extension names.
This commit also modifies the ValidationError class so that the error message
string includes the JSON.stringified version of any schema validation
errors. It also makes the HTTP.toEvent() function create CloudEvent
objects with loose/no validation.
Incorporates comments from #328Fixes: #325
Signed-off-by: Lance Ball <[email protected]>
Co-authored-by: Philip Hayes <[email protected]>
Co-authored-by: Philip Hayes <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Lance Ball <[email protected]>
0 commit comments