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

@typed/lambda

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typed/lambda - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

1

cjs/always.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.always = void 0;
/**

@@ -4,0 +5,0 @@ * Create a function that always returns a given value

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.apply = void 0;
const curry_1 = require("./curry");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.curry = void 0;
/**

@@ -4,0 +5,0 @@ * Allow a fixed length function to be partially applied.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.curryObj = void 0;
const ALL_PROPERTIES_NOT_FOUND = new Error('All Properties Not Found');

@@ -4,0 +5,0 @@ const defaultObject = Object.freeze(Object.create(null));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.flip = void 0;
const apply_1 = require("./apply");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.id = void 0;
/**

@@ -4,0 +5,0 @@ * Identity function

@@ -16,2 +16,3 @@ "use strict";

tslib_1.__exportStar(require("./uncurry"), exports);
tslib_1.__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.memoize = void 0;
const common_1 = require("@typed/common");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.noOp = void 0;
/**

@@ -4,0 +5,0 @@ * Function that does nothing

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pipe = exports.pipe2 = void 0;
/** Left-to-right composition for exactly two function */

@@ -4,0 +5,0 @@ exports.pipe2 = (f, g) => (x) => g(f(x));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pipeline = void 0;
function pipeline(...valueAndFunctions) {

@@ -4,0 +5,0 @@ const [value, ...fns] = valueAndFunctions;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tap = void 0;
const curry_1 = require("./curry");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.uncurry = void 0;
/**

@@ -4,0 +5,0 @@ * Convert a function like (a -> b -> c -> d) into ((a, b, c) -> d)

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withPrevious = void 0;
const curry_1 = require("./curry");

@@ -4,0 +5,0 @@ const NOTHING = Symbol('nothing');

@@ -13,2 +13,3 @@ export * from './always';

export * from './uncurry';
export * from './types';
//# sourceMappingURL=index.js.map

8

package.json
{
"name": "@typed/lambda",
"version": "3.2.1",
"version": "3.3.0",
"description": "Helpful functions for working in a functional style",

@@ -29,3 +29,3 @@ "main": "./cjs/index.js",

"dependencies": {
"@typed/common": "^3.3.0"
"@typed/common": "^3.4.0"
},

@@ -36,7 +36,7 @@ "publishConfig": {

"peerDependencies": {
"tslib": "^1.10.0"
"tslib": "^2.0.0"
},
"sideEffects": false,
"gitHead": "1aa9db7dae71fb3c8ab1e548304aaebe1f5e8cc1",
"gitHead": "482d3bf82be06e27ddd79cb7593d4eefeb2f37f3",
"unpkg": "./umd/index.js"
}

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

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

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