feat: add node 24 support (#614)
* feat: add node 24 support Signed-off-by: Lucas Holmquist <lholmqui@redhat.com> * squash: fixes for running tests Signed-off-by: Lucas Holmquist <lholmqui@redhat.com> --------- Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
This commit is contained in:
parent
fc760976bf
commit
beac7356a7
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x, 20.x, 22.x]
|
||||
node-version: [18.x, 20.x, 22.x, 24.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -160,6 +160,6 @@
|
|||
},
|
||||
"types": "./dist/index.d.ts",
|
||||
"engines": {
|
||||
"node": ">=18 <=22"
|
||||
"node": ">=18 <=24"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ describe("Emitter Singleton", () => {
|
|||
if (typeof body === "string") {
|
||||
body = JSON.parse(body);
|
||||
}
|
||||
assertStructured({ ...(<any>body), ...(msg as Message).headers });
|
||||
assertStructured({ ...(body as any), ...(msg as Message).headers });
|
||||
});
|
||||
|
||||
it("emit a Node.js 'cloudevent' event as an EventEmitter with ensureDelivery", async () => {
|
||||
|
|
@ -41,7 +41,7 @@ describe("Emitter Singleton", () => {
|
|||
if (typeof body === "string") {
|
||||
body = JSON.parse(body);
|
||||
}
|
||||
assertStructured({ ...(<any>body), ...(msg as Message).headers });
|
||||
assertStructured({ ...(body as any), ...(msg as Message).headers });
|
||||
});
|
||||
|
||||
it("emit a Node.js 'cloudevent' event as an EventEmitter with ensureDelivery Error", async () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue