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

promise-toolkit-factory

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-toolkit-factory - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "promise-toolkit-factory",
"version": "0.0.2",
"version": "0.0.3",
"description": "factory for creating promised function flows",

@@ -5,0 +5,0 @@ "main": "app.js",

@@ -23,2 +23,3 @@

```javascript
class exampleC{

@@ -33,11 +34,14 @@ func1(json_object){

}
```
The following example would have this setup:
var exC = new exampleC();
```javascript
var exC = new exampleC();
....
.appender('classes', {"objs": [{"name": "c1", "obj": exC}])
.appender('functions', {"flow": 1, "map": ["c1.func1", "c1.func2"]})
....
....
.appender('classes', {"objs": [{"name": "c1", "obj": exC}])
.appender('functions', {"flow": 1, "map": ["c1.func1", "c1.func2"]})
....
```

@@ -44,0 +48,0 @@ Values can be passed from one function, or to all functions in any particular flow, as:

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