New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/transducers

Package Overview
Dependencies
Maintainers
1
Versions
344
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.2.17 to 9.2.18

2

CHANGELOG.md
# Change Log
- **Last updated**: 2025-01-29T16:25:48Z
- **Last updated**: 2025-02-13T16:03:11Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

@@ -9,3 +9,3 @@ import type { IRandom } from "@thi.ng/random";

* Internally uses
* [`weightedRandom()`](https://docs.thi.ng/umbrella/random/functions/weightedRandom.html).
* [`weightedRandom`](https://docs.thi.ng/umbrella/random/functions/weightedRandom.html).
*

@@ -12,0 +12,0 @@ * @example

@@ -11,6 +11,6 @@ /**

* The curvature can be controlled via the logarithmic `rate` param. Recommended
* range [0.0001 - 10000] (curved -> linear). Default: 0.1
* range `[0.0001,10000]` (curved -> linear). Default: 0.1
*
* Similar functionality (w/ more options) is availble here:
* [`curve()`](https://docs.thi.ng/umbrella/dsp/functions/curve.html).
* [`curve`](https://docs.thi.ng/umbrella/dsp/functions/curve.html).
*

@@ -17,0 +17,0 @@ * @example

@@ -15,3 +15,3 @@ import type { Fn, Predicate2 } from "@thi.ng/api";

* Returns transducer which calls
* [`fuzzyMatch()`](https://docs.thi.ng/umbrella/arrays/functions/fuzzyMatch.html)
* [`fuzzyMatch`](https://docs.thi.ng/umbrella/arrays/functions/fuzzyMatch.html)
* for each value and discards all non-matching values.

@@ -23,3 +23,3 @@ *

* item equality checking. Uses
* [`equiv()`](https://docs.thi.ng/umbrella/equiv/functions/equiv.html) by
* [`equiv`](https://docs.thi.ng/umbrella/equiv/functions/equiv.html) by
* default.

@@ -26,0 +26,0 @@ *

@@ -17,2 +17,3 @@ import type { Transducer } from "./api.js";

* See also:
*
* - {@link interpolate}

@@ -19,0 +20,0 @@ * - {@link interpolateLinear}

@@ -11,2 +11,3 @@ import type { Transducer } from "./api.js";

* See also:
*
* - {@link interpolate}

@@ -13,0 +14,0 @@ * - {@link interpolateHermite}

@@ -20,2 +20,3 @@ import type { Fn2 } from "@thi.ng/api";

* See also:
*
* - {@link interpolateHermite}

@@ -22,0 +23,0 @@ * - {@link interpolateLinear}

@@ -7,2 +7,3 @@ /**

* See also:
*
* - {@link pairs}

@@ -9,0 +10,0 @@ * - {@link vals}

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

* Similar functionality (w/ more options) is availble here:
* [`line()`](https://docs.thi.ng/umbrella/dsp/functions/line.html).
* [`line`](https://docs.thi.ng/umbrella/dsp/functions/line.html).
*

@@ -14,0 +14,0 @@ * @example

import type { MultiplexTxLike, Transducer } from "./api.js";
/**
* Yields a new transducer which applies given transducers in parallel (using
* [`juxt()`](https://docs.thi.ng/umbrella/compose/functions/juxt.html) &
* [`juxt`](https://docs.thi.ng/umbrella/compose/functions/juxt.html) &
* {@link step}) and produces tuples of results.

@@ -6,0 +6,0 @@ *

{
"name": "@thi.ng/transducers",
"version": "9.2.17",
"version": "9.2.18",
"description": "Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations",

@@ -46,15 +46,15 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.11.19",
"@thi.ng/arrays": "^2.10.14",
"@thi.ng/checks": "^3.6.22",
"@thi.ng/compare": "^2.4.11",
"@thi.ng/compose": "^3.0.22",
"@thi.ng/errors": "^2.5.25",
"@thi.ng/math": "^5.11.19",
"@thi.ng/random": "^4.1.10",
"@thi.ng/timestamp": "^1.1.4"
"@thi.ng/api": "^8.11.20",
"@thi.ng/arrays": "^2.10.15",
"@thi.ng/checks": "^3.6.23",
"@thi.ng/compare": "^2.4.12",
"@thi.ng/compose": "^3.0.23",
"@thi.ng/errors": "^2.5.26",
"@thi.ng/math": "^5.11.20",
"@thi.ng/random": "^4.1.11",
"@thi.ng/timestamp": "^1.1.5"
},
"devDependencies": {
"esbuild": "^0.24.2",
"typedoc": "^0.27.6",
"esbuild": "^0.25.0",
"typedoc": "^0.27.7",
"typescript": "^5.7.3"

@@ -607,3 +607,3 @@ },

},
"gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
}

@@ -8,2 +8,4 @@ import type { IObjectOf } from "@thi.ng/api";

* @remarks
* See also:
*
* - {@link vals}

@@ -10,0 +12,0 @@ * - {@link zip}

@@ -10,3 +10,4 @@ import type { Transducer } from "./api.js";

*
* Also see:
* See also:
*
* - [`thi.ng/transducers-async`](https://thi.ng/transducers-async).

@@ -13,0 +14,0 @@ * - [`thi.ng/rstream`](https://thi.ng/rstream)

import type { Transducer } from "./api.js";
/**
* Transducer version of
* [`peek()`](https://docs.thi.ng/umbrella/arrays/functions/peek.html), i.e.
* [`peek`](https://docs.thi.ng/umbrella/arrays/functions/peek.html), i.e.
* extracts the last item of an array.

@@ -6,0 +6,0 @@ *

@@ -6,3 +6,3 @@ import type { Comparator, Maybe } from "@thi.ng/api";

* optionally given comparator (default
* [`compare()`](https://docs.thi.ng/umbrella/compare/functions/compare.html)).
* [`compare`](https://docs.thi.ng/umbrella/compare/functions/compare.html)).
*

@@ -9,0 +9,0 @@ * @param cmp -

@@ -5,4 +5,4 @@ import type { Comparator } from "@thi.ng/api";

* (default:
* [`compare()`](https://docs.thi.ng/umbrella/compare/functions/compare.html))
* and yielding iterator of sorted keys.
* [`compare`](https://docs.thi.ng/umbrella/compare/functions/compare.html)) and
* yielding iterator of sorted keys.
*

@@ -9,0 +9,0 @@ * @param x -

@@ -9,3 +9,3 @@ import type { IRandom } from "@thi.ng/random";

/**
* Max. shuffle ops per new input (in [0..n] range)
* Max. shuffle ops per new input (in `[0,n]` range)
*

@@ -12,0 +12,0 @@ * @defaultValue same as `n`

@@ -28,3 +28,3 @@ import type { Transducer } from "./api.js";

* Also see
* [`swizzle()`](https://docs.thi.ng/umbrella/arrays/functions/swizzle.html)
* [`swizzle`](https://docs.thi.ng/umbrella/arrays/functions/swizzle.html)
*

@@ -31,0 +31,0 @@ * @param order - key order

@@ -11,2 +11,3 @@ import type { Nullable } from "@thi.ng/api";

* The following behavior is used:
*
* - 1st input: `[null,null]` => no output

@@ -13,0 +14,0 @@ * - 2nd input: `[0, null]` => no output

@@ -9,3 +9,4 @@ import type { Transducer } from "./api.js";

*
* Also see:
* See also:
*
* - [`thi.ng/rstream`](https://thi.ng/rstream)

@@ -12,0 +13,0 @@ * - [`thi.ng/csp`](https://thi.ng/csp).

@@ -51,3 +51,3 @@ import type { Fn2, FnN } from "@thi.ng/api";

* between keyframes, some keyframes MIGHT be skipped. E.g. if requesting 10
* samples within [0,1], the interval between two successive keyframes at 0.12
* samples within `[0,1]`, the interval between two successive keyframes at 0.12
* and 0.19 would be skipped entirely, since samples will only be taken at

@@ -54,0 +54,0 @@ * multiples of `1/num` (i.e. 0.0, 0.1, 0.2... in this example).

@@ -8,2 +8,3 @@ import type { IObjectOf } from "@thi.ng/api";

* See also:
*
* - {@link keys}

@@ -10,0 +11,0 @@ * - {@link pairs}

@@ -12,2 +12,3 @@ /**

* See also:
*
* - {@link extendSides}

@@ -14,0 +15,0 @@ * - {@link padSides}

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