@thi.ng/transducers
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -0,1 +1,2 @@ | ||
import { IObjectOf } from "@thi.ng/api/api"; | ||
import { Reduced } from "./reduced"; | ||
@@ -17,2 +18,8 @@ export declare type Fn<A, B> = (x: A) => B; | ||
export declare type ConvolutionKernel3D = [number, [number, number, number]][]; | ||
export declare type TransformFn = (x: any) => any; | ||
export declare type TransformSubSpec = IObjectOf<TransformSpec | TransformFn>; | ||
export interface TransformSpec extends Array<any> { | ||
[0]: TransformFn; | ||
[1]?: TransformSubSpec; | ||
} | ||
export declare const SEMAPHORE: unique symbol; |
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.4.0"></a> | ||
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@1.3.0...@thi.ng/transducers@1.4.0) (2018-02-23) | ||
### Features | ||
* **transducers:** add deepTransform & mapDeep xform ([f0fdfa1](https://github.com/thi-ng/umbrella/commit/f0fdfa1)) | ||
<a name="1.3.0"></a> | ||
@@ -8,0 +19,0 @@ # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@1.2.0...@thi.ng/transducers@1.3.0) (2018-02-19) |
@@ -56,2 +56,3 @@ export * from "./api"; | ||
export * from "./xform/mapcat"; | ||
export * from "./xform/map-deep"; | ||
export * from "./xform/moving-average"; | ||
@@ -88,2 +89,3 @@ export * from "./xform/moving-median"; | ||
export * from "./func/constantly"; | ||
export * from "./func/deep-transform"; | ||
export * from "./func/delay"; | ||
@@ -90,0 +92,0 @@ export * from "./func/ensure-iterable"; |
@@ -61,2 +61,3 @@ "use strict"; | ||
__export(require("./xform/mapcat")); | ||
__export(require("./xform/map-deep")); | ||
__export(require("./xform/moving-average")); | ||
@@ -93,2 +94,3 @@ __export(require("./xform/moving-median")); | ||
__export(require("./func/constantly")); | ||
__export(require("./func/deep-transform")); | ||
__export(require("./func/delay")); | ||
@@ -95,0 +97,0 @@ __export(require("./func/ensure-iterable")); |
{ | ||
"name": "@thi.ng/transducers", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Lightweight transducer implementations for ES6 / TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
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
156209
232
3371