function-tree
Advanced tools
Comparing version 3.3.0-1533748944448 to 3.3.0-1536860800024
@@ -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-1533748944448"; | ||
_this.version = "3.3.0-1536860800024"; | ||
_this.init(); | ||
@@ -30,0 +30,0 @@ return _this; |
import Provider from '../Provider'; | ||
import { ResolveValue } from '../ResolveValue'; | ||
import { Tag } from '../Tag'; | ||
import { ResolveValue } from '../ResolveValue'; | ||
@@ -5,0 +5,0 @@ export default new Provider({ |
@@ -45,2 +45,3 @@ import { EventEmitter } from 'eventemitter3' | ||
export interface IBaseContext { | ||
path: any | ||
resolve: IResolve | ||
@@ -81,9 +82,25 @@ } | ||
export function sequence(items: Function | TSequenceArray): () => void | ||
export function sequence<Props>(items: Function | TSequenceArray): (props: Props) => void | ||
export function sequence(name: string, items: Function | TSequenceArray): () => void | ||
export function sequence<Props>(name: string, items: Function | TSequenceArray): (props: Props) => void | ||
export function sequence<Props>( | ||
items: Function | TSequenceArray | ||
): (props: Props) => void | ||
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 | ||
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 | ||
@@ -96,2 +113,3 @@ export class ResolveValue<T = any> {} | ||
getValue(getters: any): T | ||
type: string | ||
} | ||
@@ -104,5 +122,5 @@ | ||
value<T>(value: Tag<T>, overrideContext?: any): T | ||
value<T>(value: ResolveValue<T>, overrideContext?: any): T | ||
value<T>(value: Tag<T> | T, overrideContext?: any): T | ||
value<T>(value: ResolveValue<T>, overrideContext?: any): T | ||
value<T = any>(value: ResolveValue<T> | T, overrideContext?: any): T | ||
} |
@@ -48,3 +48,3 @@ 'use strict'; | ||
_this.latestExecutionId = null; | ||
_this.version = "3.3.0-1533748944448"; | ||
_this.version = "3.3.0-1536860800024"; | ||
_this.init(); | ||
@@ -51,0 +51,0 @@ return _this; |
@@ -11,6 +11,6 @@ 'use strict'; | ||
var _ResolveValue = require('../ResolveValue'); | ||
var _Tag = require('../Tag'); | ||
var _ResolveValue = require('../ResolveValue'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -17,0 +17,0 @@ |
{ | ||
"name": "function-tree", | ||
"version": "3.3.0-1533748944448", | ||
"version": "3.3.0-1536860800024", | ||
"description": "When a function is not enough", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
365898
3861