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.4.0-alpha to 0.4.0

2

dist/cjs/function/unary.d.ts
export declare type Unary<X, V> = (x: X) => V;
export declare function value<T>(): Unary<T, T>;
export declare function same<T>(): Unary<T, T>;
//# sourceMappingURL=unary.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.value = void 0;
function value() {
exports.same = void 0;
function same() {
return (value) => value;
}
exports.value = value;
exports.same = same;
//# sourceMappingURL=unary.js.map

@@ -7,5 +7,5 @@ export { isFunction, isNotFunction, } from './function/function';

export { TypeGuard, } from './function/type-guard';
export { Unary, value, } from './function/unary';
export { Unary, same, } from './function/unary';
export { Binary, } from './function/binary';
export { Ternary, } from './function/ternary';
//# sourceMappingURL=index.d.ts.map

@@ -29,3 +29,3 @@ "use strict";

var unary_1 = require("./function/unary");
Object.defineProperty(exports, "value", { enumerable: true, get: function () { return unary_1.value; } });
Object.defineProperty(exports, "same", { enumerable: true, get: function () { return unary_1.same; } });
//# sourceMappingURL=index.js.map
export declare type Unary<X, V> = (x: X) => V;
export declare function value<T>(): Unary<T, T>;
export declare function same<T>(): Unary<T, T>;
//# sourceMappingURL=unary.d.ts.map

@@ -1,4 +0,4 @@

export function value() {
export function same() {
return (value) => value;
}
//# sourceMappingURL=unary.js.map

@@ -7,5 +7,5 @@ export { isFunction, isNotFunction, } from './function/function';

export { TypeGuard, } from './function/type-guard';
export { Unary, value, } from './function/unary';
export { Unary, same, } from './function/unary';
export { Binary, } from './function/binary';
export { Ternary, } from './function/ternary';
//# sourceMappingURL=index.d.ts.map

@@ -6,3 +6,3 @@ export { isFunction, isNotFunction, } from './function/function';

export { isInstanceOf, isNotInstanceOf, } from './function/type';
export { value, } from './function/unary';
export { same, } from './function/unary';
//# sourceMappingURL=index.js.map
{
"name": "@perfective/fp",
"version": "0.4.0-alpha",
"version": "0.4.0",
"description": "Functions and types for functional programming",

@@ -5,0 +5,0 @@ "keywords": [

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

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