Socket
Socket
Sign inDemoInstall

@thi.ng/transducers

Package Overview
Dependencies
Maintainers
1
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/transducers - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

func/deep-transform.d.ts

7

api.d.ts

@@ -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)

2

index.d.ts

@@ -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"));

2

package.json
{
"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",

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