Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

faas-js-runtime

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faas-js-runtime - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

lib/invoker.js

@@ -37,3 +37,3 @@ /**

// to a Message first and respond with the headers/body
if (fnReturn instanceof CloudEvent || fnReturn.constructor?.name === 'CloudEvent') {
if (fnReturn instanceof CloudEvent || fnReturn?.constructor?.name === 'CloudEvent') {
try {

@@ -125,3 +125,3 @@ const message = HTTP.binary(fnReturn);

function handleError(err, log) {
log.error('Error processing user function', err);
log.error(`Error processing user function: "${err}"`);
return {

@@ -128,0 +128,0 @@ code: err.code ? err.code : 500,

{
"name": "faas-js-runtime",
"version": "2.4.0",
"version": "2.4.1",
"repository": {

@@ -11,3 +11,3 @@ "type": "git",

"engines": {
"node": "^20 || ^18 || ^16"
"node": "^22 || ^20 || ^18 || ^16"
},

@@ -14,0 +14,0 @@ "type": "commonjs",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc