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

function-tree

Package Overview
Dependencies
Maintainers
5
Versions
487
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

function-tree - npm Package Compare versions

Comparing version 3.3.0-1527787935820 to 3.3.0-1527840012018

2

es/devtools/index.js

@@ -27,3 +27,3 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

_this.latestExecutionId = null;
_this.version = "3.3.0-1527787935820";
_this.version = "3.3.0-1527840012018";
_this.init();

@@ -30,0 +30,0 @@ return _this;

@@ -13,8 +13,2 @@ import { EventEmitter } from 'eventemitter3'

type TPath = {
[key: string]: TFunctionTreeExecutable
}
type TSequenceArray = Array<Primitive | Function | TPath>
export type TFunctionTreeExecutable =

@@ -26,2 +20,8 @@ | Primitive

type TPath = {
[key: string]: TSequenceArray | Function
}
type TSequenceArray = Array<Function | TPath>
interface IPayload {

@@ -43,3 +43,3 @@ [key: string]: any

constructor(contextProviders?: TContextProviders)
run(sequence: TFunctionTreeExecutable, payload?: IPayload): Promise<any>
run(sequence: TSequenceArray, payload?: IPayload): Promise<any>
}

@@ -84,5 +84,8 @@

export function sequence<Props>(items: Function | TSequenceArray): (props: Props) => void
export function sequence(name: string, items: Function | TSequenceArray): Primitive
export function parallel(items: TSequenceArray): Primitive
export function parallel(name: string, items: TSequenceArray): Primitive
export function sequence(name: string, items: Function | TSequenceArray): () => void
export function sequence<Props>(name: string, items: Function | TSequenceArray): (props: Props) => void
export function parallel(items: Array<Function | TSequenceArray>): () => void
export function parallel<Props>(items: Array<Function | TSequenceArray>): (props: Props) => void
export function parallel(name: string, items: Array<Function | TSequenceArray>): () => void
export function parallel<Props>(name: string, items: Array<Function | TSequenceArray>): (props: Props) => void

@@ -89,0 +92,0 @@ export class ResolveValue<T = any> {}

@@ -48,3 +48,3 @@ 'use strict';

_this.latestExecutionId = null;
_this.version = "3.3.0-1527787935820";
_this.version = "3.3.0-1527840012018";
_this.init();

@@ -51,0 +51,0 @@ return _this;

{
"name": "function-tree",
"version": "3.3.0-1527787935820",
"version": "3.3.0-1527840012018",
"description": "When a function is not enough",

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

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