@thi.ng/transducers-binary 2.1.151 → 2.1.153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-23T13:39:11Z
3
+ - **Last updated**: 2025-02-13T16:03:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 200 standalone projects, maintained as part
10
+ > This is one of 201 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/hex-dump.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { HexDumpOpts } from "./api.js";
3
3
  /**
4
4
  * Transforms bytes into a sequence of hexdump lines with configurable number of
5
5
  * `columns` and `address` offset. Uses
6
- * [`partition()`](https://docs.thi.ng/umbrella/transducers/functions/partition.html)
6
+ * [`partition`](https://docs.thi.ng/umbrella/transducers/functions/partition.html)
7
7
  * internally, so new lines are only produced once filled. If the input hasn't
8
8
  * an exact multiple of `cols` bytes, the last line will be padded with zeroes.
9
9
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers-binary",
3
- "version": "2.1.151",
3
+ "version": "2.1.153",
4
4
  "description": "Binary data related transducers & reducers",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -33,24 +33,23 @@
33
33
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
34
  "clean": "bun ../../tools/src/clean-package.ts",
35
35
  "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
37
36
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
37
  "pub": "yarn npm publish --access public",
39
38
  "test": "bun test",
40
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
40
  },
42
41
  "dependencies": {
43
- "@thi.ng/binary": "^3.4.41",
44
- "@thi.ng/compose": "^3.0.21",
45
- "@thi.ng/errors": "^2.5.24",
46
- "@thi.ng/hex": "^2.3.62",
47
- "@thi.ng/random": "^4.1.9",
48
- "@thi.ng/strings": "^3.9.3",
49
- "@thi.ng/transducers": "^9.2.16"
42
+ "@thi.ng/binary": "^3.4.43",
43
+ "@thi.ng/compose": "^3.0.23",
44
+ "@thi.ng/errors": "^2.5.26",
45
+ "@thi.ng/hex": "^2.3.64",
46
+ "@thi.ng/random": "^4.1.11",
47
+ "@thi.ng/strings": "^3.9.5",
48
+ "@thi.ng/transducers": "^9.2.18"
50
49
  },
51
50
  "devDependencies": {
52
- "esbuild": "^0.24.2",
53
- "typedoc": "^0.27.6",
51
+ "esbuild": "^0.25.0",
52
+ "typedoc": "^0.27.7",
54
53
  "typescript": "^5.7.3"
55
54
  },
56
55
  "keywords": [
@@ -117,5 +116,5 @@
117
116
  ],
118
117
  "year": 2018
119
118
  },
120
- "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
119
+ "gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
121
120
  }
package/random-bits.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { IRandom } from "@thi.ng/random";
2
2
  /**
3
3
  * Returns an iterator of random bits, with 1's occurring w/ given probability
4
- * `prob` (in the [0,1] interval). If `num` is given, only that many bits will
4
+ * `prob` (in the `[0,1]` interval). If `num` is given, only that many bits will
5
5
  * be produced.
6
6
  *
7
7
  * By default, uses system PRNG, but a custom
package/utf8.d.ts CHANGED
@@ -30,7 +30,8 @@ export declare function utf8Decode(src: Iterable<number>): string;
30
30
  export declare function utf8Encode(): Transducer<string, number>;
31
31
  export declare function utf8Encode(src: string): Uint8Array;
32
32
  /**
33
- * Re-export of [utf8Length()](https://docs.thi.ng/umbrella/strings/functions/utf8Length.html).
33
+ * Re-export of
34
+ * [`utf8Length`](https://docs.thi.ng/umbrella/strings/functions/utf8Length.html).
34
35
  *
35
36
  * @deprecated migrated to thi.ng/strings pkg
36
37
  */