@typed/lambda
Advanced tools
Comparing version 3.2.1 to 3.3.0
"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 |
{ | ||
"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
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
377444
1296
- Removedtslib@1.14.1(transitive)
Updated@typed/common@^3.4.0