@thi.ng/transducers 8.8.7 → 8.8.9

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**: 2023-10-30T14:31:56Z
3
+ - **Last updated**: 2023-11-09T10:02:12Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [8.8.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.8.9) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages T-Z) ([020ef6c](https://github.com/thi-ng/umbrella/commit/020ef6c))
17
+
12
18
  ### [8.8.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.8.7) (2023-10-30)
13
19
 
14
20
  #### 🩹 Bug fixes
package/README.md CHANGED
@@ -175,7 +175,7 @@ For Node.js REPL:
175
175
  const transducers = await import("@thi.ng/transducers");
176
176
  ```
177
177
 
178
- Package sizes (brotli'd, pre-treeshake): ESM: 8.78 KB
178
+ Package sizes (brotli'd, pre-treeshake): ESM: 8.89 KB
179
179
 
180
180
  ## Dependencies
181
181
 
@@ -227,6 +227,7 @@ directory are using this package:
227
227
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/parse-playground.png" width="240"/> | Parser grammar livecoding editor/playground & codegen | [Demo](https://demo.thi.ng/umbrella/parse-playground/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/parse-playground) |
228
228
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/poly-spline.png" width="240"/> | Polygon to cubic curve conversion & visualization | [Demo](https://demo.thi.ng/umbrella/poly-spline/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/poly-spline) |
229
229
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/poly-subdiv.jpg" width="240"/> | Animated, iterative polygon subdivisions & visualization | [Demo](https://demo.thi.ng/umbrella/poly-subdiv/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/poly-subdiv) |
230
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/procedural-text.jpg" width="240"/> | Procedural stochastic text generation via custom DSL, parse grammar & AST transformation | [Demo](https://demo.thi.ng/umbrella/procedural-text/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/procedural-text) |
230
231
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/ramp-synth.png" width="240"/> | Unison wavetable synth with waveform editor | [Demo](https://demo.thi.ng/umbrella/ramp-synth/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/ramp-synth) |
231
232
  | | Demonstates various rdom usage patterns | [Demo](https://demo.thi.ng/umbrella/rdom-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-basics) |
232
233
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-canvas-basics.jpg" width="240"/> | Minimal rdom-canvas animation | [Demo](https://demo.thi.ng/umbrella/rdom-canvas-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-canvas-basics) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers",
3
- "version": "8.8.7",
3
+ "version": "8.8.9",
4
4
  "description": "Lightweight transducer implementations for ES6 / TypeScript",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -32,27 +32,26 @@
32
32
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc internal",
33
33
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
34
34
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
35
- "doc:readme": "yarn doc:stats && tools:readme",
36
- "doc:stats": "tools:module-stats",
35
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
36
  "pub": "yarn npm publish --access public",
38
- "test": "testament test"
37
+ "test": "bun test"
39
38
  },
40
39
  "dependencies": {
41
- "@thi.ng/api": "^8.9.6",
42
- "@thi.ng/arrays": "^2.7.1",
43
- "@thi.ng/checks": "^3.4.6",
44
- "@thi.ng/compare": "^2.2.2",
45
- "@thi.ng/compose": "^2.1.45",
46
- "@thi.ng/errors": "^2.4.0",
47
- "@thi.ng/math": "^5.7.1",
48
- "@thi.ng/random": "^3.6.11"
40
+ "@thi.ng/api": "^8.9.7",
41
+ "@thi.ng/arrays": "^2.7.3",
42
+ "@thi.ng/checks": "^3.4.7",
43
+ "@thi.ng/compare": "^2.2.3",
44
+ "@thi.ng/compose": "^2.1.46",
45
+ "@thi.ng/errors": "^2.4.1",
46
+ "@thi.ng/math": "^5.7.2",
47
+ "@thi.ng/random": "^3.6.13"
49
48
  },
50
49
  "devDependencies": {
51
- "@microsoft/api-extractor": "^7.38.0",
52
- "@thi.ng/testament": "^0.3.24",
50
+ "@microsoft/api-extractor": "^7.38.2",
51
+ "@thi.ng/testament": "^0.4.0",
53
52
  "rimraf": "^5.0.5",
54
53
  "tools": "^0.0.1",
55
- "typedoc": "^0.25.2",
54
+ "typedoc": "^0.25.3",
56
55
  "typescript": "^5.2.2"
57
56
  },
58
57
  "keywords": [
@@ -588,5 +587,5 @@
588
587
  ],
589
588
  "year": 2016
590
589
  },
591
- "gitHead": "bfa16829786146bd24df3cdbd44649a45a603e44\n"
590
+ "gitHead": "9f4d8ad79bca1d68214fbc9bbc5fb55f5a445f7e\n"
592
591
  }
package/range.js CHANGED
@@ -8,6 +8,9 @@ export function range(from, to, step) {
8
8
  * {@link reduce}.
9
9
  */
10
10
  export class Range {
11
+ from;
12
+ to;
13
+ step;
11
14
  constructor(from, to, step) {
12
15
  if (from === undefined) {
13
16
  from = 0;
package/reduced.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export class Reduced {
2
+ value;
2
3
  constructor(val) {
3
4
  this.value = val;
4
5
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"drain.d.ts","sourceRoot":"","sources":["../src/internal/drain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,0BACK,GAAG,GAAG,EAAE,GAAG,CAAC,mDAMnC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"group-opts.d.ts","sourceRoot":"","sources":["../src/internal/group-opts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAG7C;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,qHAOxB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mathop.d.ts","sourceRoot":"","sources":["../src/internal/mathop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGtD;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,QACf,MAAM,QAAQ,MAAM,EAAE,MAAM,CAAC,CAAC,MAC/B,YAAY,MAAM,EAAE,MAAM,CAAC,eAClB,MAAM,QACb,GAAG,EAAE,QAQX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sort-opts.d.ts","sourceRoot":"","sources":["../src/internal/sort-opts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,sEAKrB,CAAC"}