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.6.0 to 0.6.1

10

composer.js

@@ -350,2 +350,8 @@ /*

constructor(composition) {
if (!isObject(composition) || composer.util.combinators[composition.type] === undefined) throw new ComposerError('Invalid argument', composition)
const combinator = composer.util.combinators[composition.type]
if (combinator.components && composition.components === undefined)throw new ComposerError('Invalid argument', composition)
for (let arg of combinator.args || []) {
if (!arg.optional && composition[arg._] === undefined) throw new ComposerError('Invalid argument', composition)
}
return Object.assign(this, composition)

@@ -375,3 +381,3 @@ }

composer[type] = composer[type] || function () {
const composition = new Composition({ type })
const composition = { type }
const skip = combinator.args && combinator.args.length || 0

@@ -403,3 +409,3 @@ if (!combinator.components && (arguments.length > skip)) {

}
return composition
return new Composition(composition)
}

@@ -406,0 +412,0 @@ }

2

package.json
{
"name": "@ibm-functions/composer",
"version": "0.6.0",
"version": "0.6.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",

Sorry, the diff of this file is not supported yet

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