@devexperts/utils
Advanced tools
Comparing version 0.16.2 to 0.17.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.17.0"></a> | ||
# [0.17.0](https://github.com/devex-web-frontend/dx-platform/compare/v0.16.2...v0.17.0) (2018-09-25) | ||
### Features | ||
* **utils:** add defer to Reader ([14cd0fa](https://github.com/devex-web-frontend/dx-platform/commit/14cd0fa)) | ||
<a name="0.16.2"></a> | ||
@@ -8,0 +19,0 @@ ## [0.16.2](https://github.com/devex-web-frontend/dx-platform/compare/v0.16.1...v0.16.2) (2018-09-20) |
@@ -9,1 +9,2 @@ import { Reader } from 'fp-ts/lib/Reader'; | ||
export declare function combine<EA extends object, A, EB extends object, B, EC extends object, C, ED extends object, D, EF extends object, F, EG extends object, G, R>(a: Reader<EA, A>, b: Reader<EB, B>, c: Reader<EC, C>, d: Reader<ED, D>, f: Reader<EF, F>, g: Reader<EG, G>, project: (a: A, b: B, c: C, d: D, f: F, g: G, e: EA & EB & EC & ED & EF & EG) => R): Reader<EA & EB & EC & ED & EF & EG, R>; | ||
export declare const defer: <E extends object, K extends keyof E, A>(r: Reader<E, A>, ...keys: K[]) => Reader<Pick<E, Exclude<keyof E, K>>, Reader<{ [P in K]: E[P]; }, A>>; |
@@ -15,2 +15,9 @@ "use strict"; | ||
exports.combine = combine; | ||
exports.defer = function (r) { | ||
var keys = []; | ||
for (var _i = 1; _i < arguments.length; _i++) { | ||
keys[_i - 1] = arguments[_i]; | ||
} | ||
return Reader_1.asks(function (e) { return Reader_1.asks(function (e2) { return r.run(Object.assign({}, e2, e)); }); }); | ||
}; | ||
//# sourceMappingURL=reader.utils.js.map |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import Emitter from '../emitter/Emitter'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './dom'; | ||
export * from './prefix'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare type IEmitterEvents<F extends Function = Function> = { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function disposable<T extends Function>(target: T): T; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export default function identity<T>(arg: T): T; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const raf: <F extends Function>(cb: F) => F & { | ||
cancel: () => void; | ||
}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
export * from './fb'; | ||
export * from './object'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Omit } from 'typelevel-ts'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import Emitter from '../emitter/Emitter'; |
@@ -0,0 +0,0 @@ "use strict"; |
export * from './string'; | ||
export * from './split'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@devexperts/utils", | ||
"version": "0.16.2", | ||
"version": "0.17.0", | ||
"description": "", | ||
@@ -36,5 +36,5 @@ "main": "dist", | ||
"devDependencies": { | ||
"@devexperts/tools": "^0.16.2", | ||
"@devexperts/tools": "^0.17.0", | ||
"fp-ts": "^1.2.0" | ||
} | ||
} |
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
1649
80094