Skip to content

Commit 364b2eb

Browse files
committed
chore: bump faas-js-runtime and cloudevents for node & TS
The Node.js and TypeScript templates have been bumped to the latest versions of faas-js-runtime (2.2.2) and CloudEvents (7.0.1). There is an issue with the `expectType` test for TypeScript CloudEvent functions which I can't quite figure out, but the type test is not critical and does not do anything to validate other than whether the function signature is what's expected by faas-js-runtime, and in this case, I think type exported type for faas-js-runtime may actually be the issue here. Signed-off-by: Lance Ball <lball@redhat.com>
1 parent a9e5281 commit 364b2eb

File tree

10 files changed

+13875
-12268
lines changed

10 files changed

+13875
-12268
lines changed

generate/zz_filesystem_generated.go

Lines changed: 11722 additions & 11254 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/node/cloudevents/package-lock.json

Lines changed: 397 additions & 185 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/node/cloudevents/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"debug": "nodemon --inspect ./node_modules/faas-js-runtime/bin/cli.js ./index.js"
1414
},
1515
"devDependencies": {
16-
"nodemon": "^2.0.4",
16+
"nodemon": "^3.0.1",
1717
"supertest": "^6.3.1",
1818
"tape": "^4.13.0"
1919
},
2020
"dependencies": {
21-
"cloudevents": "^6.0.4",
22-
"faas-js-runtime": "^1.1.0"
21+
"cloudevents": "^7.0.1",
22+
"faas-js-runtime": "^2.2.2"
2323
}
2424
}

0 commit comments

Comments
 (0)