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

@thi.ng/transducers

Package Overview
Dependencies
Maintainers
1
Versions
331
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 9.0.1 to 9.0.2

8

CHANGELOG.md
# Change Log
- **Last updated**: 2024-04-11T12:32:44Z
- **Last updated**: 2024-04-20T14:42:45Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

### [9.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@9.0.2) (2024-04-20)
#### ♻️ Refactoring
- update type usage ([b0e87ab](https://github.com/thi-ng/umbrella/commit/b0e87ab))
# [9.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@9.0.0) (2024-04-08)

@@ -14,0 +20,0 @@

8

mapcat-indexed.d.ts

@@ -1,2 +0,2 @@

import type { Fn2 } from "@thi.ng/api";
import type { Fn2, Nullable } from "@thi.ng/api";
import type { Transducer } from "./api.js";

@@ -14,5 +14,5 @@ /**

*/
export declare function mapcatIndexed<A, B>(fn: Fn2<number, A, Iterable<B> | null | undefined>, offset?: number): Transducer<A, B>;
export declare function mapcatIndexed<A, B>(fn: Fn2<number, A, Iterable<B> | null | undefined>, src: Iterable<A>): IterableIterator<B>;
export declare function mapcatIndexed<A, B>(fn: Fn2<number, A, Iterable<B> | null | undefined>, offset: number, src: Iterable<A>): IterableIterator<B>;
export declare function mapcatIndexed<A, B>(fn: Fn2<number, A, Nullable<Iterable<B>>>, offset?: number): Transducer<A, B>;
export declare function mapcatIndexed<A, B>(fn: Fn2<number, A, Nullable<Iterable<B>>>, src: Iterable<A>): IterableIterator<B>;
export declare function mapcatIndexed<A, B>(fn: Fn2<number, A, Nullable<Iterable<B>>>, offset: number, src: Iterable<A>): IterableIterator<B>;
//# sourceMappingURL=mapcat-indexed.d.ts.map

@@ -1,2 +0,2 @@

import type { Predicate } from "@thi.ng/api";
import type { Maybe, Predicate } from "@thi.ng/api";
import type { Transducer } from "./api.js";

@@ -39,3 +39,3 @@ /**

export declare function matchFirst<T>(pred: Predicate<T>): Transducer<T, T>;
export declare function matchFirst<T>(pred: Predicate<T>, src: Iterable<T>): T | undefined;
export declare function matchFirst<T>(pred: Predicate<T>, src: Iterable<T>): Maybe<T>;
//# sourceMappingURL=match-first.d.ts.map

@@ -1,2 +0,2 @@

import type { Predicate } from "@thi.ng/api";
import type { Maybe, Predicate } from "@thi.ng/api";
import type { Transducer } from "./api.js";

@@ -29,3 +29,3 @@ /**

export declare function matchLast<T>(pred: Predicate<T>): Transducer<T, T>;
export declare function matchLast<T>(pred: Predicate<T>, src: Iterable<T>): T | undefined;
export declare function matchLast<T>(pred: Predicate<T>, src: Iterable<T>): Maybe<T>;
//# sourceMappingURL=match-last.d.ts.map
{
"name": "@thi.ng/transducers",
"version": "9.0.1",
"version": "9.0.2",
"description": "Lightweight transducer implementations for ES6 / TypeScript",

@@ -43,10 +43,10 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.10.1",
"@thi.ng/arrays": "^2.9.3",
"@thi.ng/checks": "^3.6.1",
"@thi.ng/compare": "^2.3.2",
"@thi.ng/compose": "^3.0.1",
"@thi.ng/errors": "^2.5.4",
"@thi.ng/math": "^5.10.10",
"@thi.ng/random": "^3.7.3"
"@thi.ng/api": "^8.11.0",
"@thi.ng/arrays": "^2.9.4",
"@thi.ng/checks": "^3.6.2",
"@thi.ng/compare": "^2.3.3",
"@thi.ng/compose": "^3.0.2",
"@thi.ng/errors": "^2.5.5",
"@thi.ng/math": "^5.10.11",
"@thi.ng/random": "^3.7.4"
},

@@ -594,3 +594,3 @@ "devDependencies": {

},
"gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
}

@@ -1,2 +0,2 @@

import type { Comparator } from "@thi.ng/api";
import type { Comparator, Maybe } from "@thi.ng/api";
import type { Reducer } from "./api.js";

@@ -11,3 +11,3 @@ /**

export declare function pushSort<T>(cmp?: Comparator<T>): Reducer<T, T[]>;
export declare function pushSort<T>(cmp: Comparator<T> | undefined, xs: Iterable<T>): T[];
export declare function pushSort<T>(cmp: Maybe<Comparator<T>>, xs: Iterable<T>): T[];
//# sourceMappingURL=push-sort.d.ts.map

@@ -1,2 +0,2 @@

import type { Fn } from "@thi.ng/api";
import type { Fn, Maybe } from "@thi.ng/api";
import type { TxLike } from "./api.js";

@@ -54,3 +54,3 @@ /**

*/
export declare const step: <A, B>(tx: TxLike<A, B>, unwrap?: boolean) => Fn<A, B | B[] | undefined>;
export declare const step: <A, B>(tx: TxLike<A, B>, unwrap?: boolean) => Fn<A, Maybe<B | B[]>>;
//# sourceMappingURL=step.d.ts.map

Sorry, the diff of this file is too big to display

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