sdk-javascript/examples
Lance Ball 1af3d43341 fix: Emitter should not extend EventEmitter
This change modifies Emitter so that it does not directly extend the Node.js
EventEmitter class. Instead, it holds a singleton instance of an EventEmitter
but is not an instance of EventEmitter itself.

This commit also updates the typescript example to use a modern version of
@types/node and typescript.

Finally there are a few minor formatting changes picked up by eslint.

Fixes: https://github.com/cloudevents/sdk-javascript/issues/385

Signed-off-by: Lance Ball <lball@redhat.com>
2021-02-27 19:27:20 -05:00
..
express-ex fix: cloudevents from 3.2.0 to 4.0.0 (#376) 2021-01-06 13:46:21 -05:00
payload chore: Update examples to use latest sdk changes (#282) 2020-07-30 09:24:02 -04:00
typescript-ex fix: Emitter should not extend EventEmitter 2021-02-27 19:27:20 -05:00
websocket fix: examples/websocket/package.json to reduce vulnerabilities (#375) 2021-01-06 09:44:31 -05:00