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

action-chain

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

action-chain - npm Package Compare versions

Comparing version 1.0.0-1532013016694 to 1.0.0-1532015160372

4

es/index.test.d.ts
import { ActionBase, NoValueActionBase } from './';
interface Operators<Context, InitialValue, Value> {
test(cb: (value: Value, context: Context) => void): InitialValue extends undefined ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
testFork(action: Action<Context, Value>): InitialValue extends undefined ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
test(cb: (value: Value, context: Context) => void): [InitialValue] extends [void] ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
testFork(action: Action<Context, Value>): [InitialValue] extends [void] ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
}

@@ -6,0 +6,0 @@ export interface Action<Context, InitialValue, Value = InitialValue> extends Operators<Context, InitialValue, Value>, ActionBase<Context, InitialValue, Value> {

import { ActionBase, NoValueActionBase } from './';
interface Operators<Context, InitialValue, Value> {
test(cb: (value: Value, context: Context) => void): InitialValue extends undefined ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
testFork(action: Action<Context, Value>): InitialValue extends undefined ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
test(cb: (value: Value, context: Context) => void): [InitialValue] extends [void] ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
testFork(action: Action<Context, Value>): [InitialValue] extends [void] ? NoValueAction<Context, InitialValue, Value> : Action<Context, InitialValue, Value>;
}

@@ -6,0 +6,0 @@ export interface Action<Context, InitialValue, Value = InitialValue> extends Operators<Context, InitialValue, Value>, ActionBase<Context, InitialValue, Value> {

{
"name": "action-chain",
"version": "1.0.0-1532013016694",
"version": "1.0.0-1532015160372",
"description": "Functional actions",

@@ -5,0 +5,0 @@ "author": "Christian Alfoni <christianalfoni@gmail.com>",

Sorry, the diff of this file is not supported yet

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