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

@perfective/fp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perfective/fp - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

dist/function/predicate.d.ts

1

dist/function/unary.d.ts
export declare type Unary<X, T> = (x: X) => T;
export declare type Predicate<T> = (value: T) => boolean;
export declare type TypeGuard<T, V extends T> = (value: T) => value is V;
export declare function value<T>(): Unary<T, T>;
//# sourceMappingURL=unary.d.ts.map
export { isFunction, isNotFunction, } from './function/function';
export { Fallback, Nullary, constant, empty, fallbackTo, } from './function/nullary';
export { Predicate, TypeGuard, Unary, value, } from './function/unary';
export { Predicate, all, atLeast, atMost, either, exactly, is, isNot, neither, not, } from './function/predicate';
export { Proposition, always, isFalse, isTrue, never, } from './function/proposition';
export { TypeGuard, Unary, value, } from './function/unary';
export { Binary, } from './function/binary';
export { Ternary, } from './function/ternary';
//# sourceMappingURL=index.d.ts.map

@@ -10,4 +10,19 @@ "use strict";

Object.defineProperty(exports, "fallbackTo", { enumerable: true, get: function () { return nullary_1.fallbackTo; } });
var predicate_1 = require("./function/predicate");
Object.defineProperty(exports, "all", { enumerable: true, get: function () { return predicate_1.all; } });
Object.defineProperty(exports, "atLeast", { enumerable: true, get: function () { return predicate_1.atLeast; } });
Object.defineProperty(exports, "atMost", { enumerable: true, get: function () { return predicate_1.atMost; } });
Object.defineProperty(exports, "either", { enumerable: true, get: function () { return predicate_1.either; } });
Object.defineProperty(exports, "exactly", { enumerable: true, get: function () { return predicate_1.exactly; } });
Object.defineProperty(exports, "is", { enumerable: true, get: function () { return predicate_1.is; } });
Object.defineProperty(exports, "isNot", { enumerable: true, get: function () { return predicate_1.isNot; } });
Object.defineProperty(exports, "neither", { enumerable: true, get: function () { return predicate_1.neither; } });
Object.defineProperty(exports, "not", { enumerable: true, get: function () { return predicate_1.not; } });
var proposition_1 = require("./function/proposition");
Object.defineProperty(exports, "always", { enumerable: true, get: function () { return proposition_1.always; } });
Object.defineProperty(exports, "isFalse", { enumerable: true, get: function () { return proposition_1.isFalse; } });
Object.defineProperty(exports, "isTrue", { enumerable: true, get: function () { return proposition_1.isTrue; } });
Object.defineProperty(exports, "never", { enumerable: true, get: function () { return proposition_1.never; } });
var unary_1 = require("./function/unary");
Object.defineProperty(exports, "value", { enumerable: true, get: function () { return unary_1.value; } });
//# sourceMappingURL=index.js.map
{
"name": "@perfective/fp",
"version": "0.1.3",
"version": "0.2.0",
"description": "Functions and types for functional programming",

@@ -5,0 +5,0 @@ "author": "Andrey Mikheychik <a.mikheychik@gmail.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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