New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ibm-functions/composer

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ibm-functions/composer - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

7

composer.js

@@ -339,6 +339,7 @@ /*

const arg = combinator.args[i]
const argument = arg.optional ? arguments[i] || null : arguments[i]
const argument = arguments[i]
if (argument === undefined && arg.optional && arg.type !== undefined) continue
switch (arg.type) {
case undefined:
composition[arg._] = composer.task(argument)
composition[arg._] = this.task(arg.optional ? argument || null : argument)
continue

@@ -350,3 +351,3 @@ case 'value':

case 'object':
if (!isObject(argument)) throw new ComposerError('Invalid argument', argument)
if (argument === null || Array.isArray(argument)) throw new ComposerError('Invalid argument', argument)
default:

@@ -353,0 +354,0 @@ if (typeof argument !== arg.type) throw new ComposerError('Invalid argument', argument)

{
"name": "@ibm-functions/composer",
"version": "0.5.0",
"version": "0.5.1",
"description": "Composer is an IBM Cloud Functions programming model for composing individual functions into larger applications.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ibm-functions/composer",

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